Class: Aws::Amplify::Types::CreateDeploymentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Amplify::Types::CreateDeploymentRequest
- Defined in:
- gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb
Overview
Note:
When making an API call, you may pass CreateDeploymentRequest data as a hash:
{
app_id: "AppId", # required
branch_name: "BranchName", # required
file_map: {
"FileName" => "MD5Hash",
},
}
The request structure for the create a new deployment request.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The unique ID for an Amplify app.
-
#branch_name ⇒ String
The name for the branch, for the job.
-
#file_map ⇒ Hash<String,String>
An optional file map that contains the file name as the key and the file content md5 hash as the value.
Instance Attribute Details
#app_id ⇒ String
The unique ID for an Amplify app.
921 922 923 924 925 926 927 |
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 921 class CreateDeploymentRequest < Struct.new( :app_id, :branch_name, :file_map) SENSITIVE = [] include Aws::Structure end |
#branch_name ⇒ String
The name for the branch, for the job.
921 922 923 924 925 926 927 |
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 921 class CreateDeploymentRequest < Struct.new( :app_id, :branch_name, :file_map) SENSITIVE = [] include Aws::Structure end |
#file_map ⇒ Hash<String,String>
An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.
921 922 923 924 925 926 927 |
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 921 class CreateDeploymentRequest < Struct.new( :app_id, :branch_name, :file_map) SENSITIVE = [] include Aws::Structure end |