You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Mobile::Types::CreateProjectRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb

Overview

Note:

When making an API call, you may pass CreateProjectRequest data as a hash:

{
  name: "ProjectName",
  region: "ProjectRegion",
  contents: "data",
  snapshot_id: "SnapshotId",
}

Request structure used to request a project be created.

Instance Attribute Summary collapse

Instance Attribute Details

#contentsString

ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.

Returns:

  • (String)


83
84
85
86
87
88
89
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 83

class CreateProjectRequest < Struct.new(
  :name,
  :region,
  :contents,
  :snapshot_id)
  include Aws::Structure
end

#nameString

Name of the project.

Returns:

  • (String)


83
84
85
86
87
88
89
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 83

class CreateProjectRequest < Struct.new(
  :name,
  :region,
  :contents,
  :snapshot_id)
  include Aws::Structure
end

#regionString

Default region where project resources should be created.

Returns:

  • (String)


83
84
85
86
87
88
89
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 83

class CreateProjectRequest < Struct.new(
  :name,
  :region,
  :contents,
  :snapshot_id)
  include Aws::Structure
end

#snapshot_idString

Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.

Returns:

  • (String)


83
84
85
86
87
88
89
# File 'gems/aws-sdk-mobile/lib/aws-sdk-mobile/types.rb', line 83

class CreateProjectRequest < Struct.new(
  :name,
  :region,
  :contents,
  :snapshot_id)
  include Aws::Structure
end