aws-sdk-cloud9 1.31.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe71d24a164587b80fa0d27be14be9be6862c9fd5e4e9715827869c6eb5946ac
4
- data.tar.gz: 0c630c99d748bb94c1ae3d3d016b3c055e4154944bbf8e5da99e10a7da7a4b9d
3
+ metadata.gz: 81cb16b809da41b1719a0d15043635a69707754231a59a76c9670bdb5ef714a9
4
+ data.tar.gz: 05e0442497345ce91fa9f37701b9e1b3c2d83740277a17025f7927818ae23ee0
5
5
  SHA512:
6
- metadata.gz: a69695d63f43347dfac2faa639d3a796f426c6ced8b7722a17c3679cb2f0293e37d1cdb0bf1ca36fc9e0c4081066a8df785d0fc4d3c9f01f6ce492b5a1a579fd
7
- data.tar.gz: 78bcae1287af975d70d714eaac478215bd6a625bf9c4b4c2890ae20f1c7d5f38cc1fce38a383796ee0ab0c816597c4de9fef1768953614ec4ebe5fdf167f271d
6
+ metadata.gz: 1278ab5977b096a92ed257d6795d783a8a88ae2f34e9968cd8a7aacca0a8ab5f35d098295405d09049dad152cdab8bc71976df740daaa2b225ac3c1fc30f5830
7
+ data.tar.gz: 7f99c8ea2fa25ab1a0412c005bce9ac663f13a0b76f295f851f0d20a8a4a9abee0ad8ccc10968bfdce49d0cbfad00e2225950e988a0419d7dad05e32f39f506f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2021-03-31)
5
+ ------------------
6
+
7
+ * Feature - Add ImageId input parameter to CreateEnvironmentEC2 endpoint. New parameter enables creation of environments with different AMIs.
8
+
4
9
  1.31.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.32.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloud9/customizations'
48
48
  # @!group service
49
49
  module Aws::Cloud9
50
50
 
51
- GEM_VERSION = '1.31.0'
51
+ GEM_VERSION = '1.32.0'
52
52
 
53
53
  end
@@ -368,6 +368,32 @@ module Aws::Cloud9
368
368
  # The ID of the subnet in Amazon VPC that AWS Cloud9 will use to
369
369
  # communicate with the Amazon EC2 instance.
370
370
  #
371
+ # @option params [String] :image_id
372
+ # The identifier for the Amazon Machine Image (AMI) that's used to
373
+ # create the EC2 instance. You can specify the AMI for the instance
374
+ # using an AMI alias or an AWS Systems Manager (SSM) path. The default
375
+ # AMI is used if the parameter isn't explicitly assigned a value in the
376
+ # request.
377
+ #
378
+ # <b>AMI aliases </b>
379
+ #
380
+ # * Amazon Linux 2: `amazonlinux-2-x86_64`
381
+ #
382
+ # * Ubuntu 18.04: `ubuntu-18.04-x86_64`
383
+ #
384
+ # * Amazon Linux (default): `amazonlinux-1-x86_64`
385
+ #
386
+ # **SSM paths**
387
+ #
388
+ # * Amazon Linux 2:
389
+ # `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64`
390
+ #
391
+ # * Ubuntu 18.04:
392
+ # `resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64`
393
+ #
394
+ # * Amazon Linux (default):
395
+ # `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64`
396
+ #
371
397
  # @option params [Integer] :automatic_stop_time_minutes
372
398
  # The number of minutes until the running instance is shut down after
373
399
  # the environment has last been used.
@@ -383,6 +409,15 @@ module Aws::Cloud9
383
409
  #
384
410
  # @option params [String] :connection_type
385
411
  # The connection type used for connecting to an Amazon EC2 environment.
412
+ # Valid values are `CONNECT_SSH` (default) and `CONNECT_SSM` (connected
413
+ # through AWS Systems Manager).
414
+ #
415
+ # For more information, see [Accessing no-ingress EC2 instances with AWS
416
+ # Systems Manager][1] in the *AWS Cloud9 User Guide*.
417
+ #
418
+ #
419
+ #
420
+ # [1]: https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html
386
421
  #
387
422
  # @return [Types::CreateEnvironmentEC2Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
388
423
  #
@@ -397,7 +432,7 @@ module Aws::Cloud9
397
432
  # description: "This is my demonstration environment.",
398
433
  # instance_type: "t2.micro",
399
434
  # owner_arn: "arn:aws:iam::123456789012:user/MyDemoUser",
400
- # subnet_id: "subnet-1fab8aEX",
435
+ # subnet_id: "subnet-6300cd1b",
401
436
  # })
402
437
  #
403
438
  # resp.to_h outputs the following:
@@ -413,6 +448,7 @@ module Aws::Cloud9
413
448
  # client_request_token: "ClientRequestToken",
414
449
  # instance_type: "InstanceType", # required
415
450
  # subnet_id: "SubnetId",
451
+ # image_id: "ImageId",
416
452
  # automatic_stop_time_minutes: 1,
417
453
  # owner_arn: "UserArn",
418
454
  # tags: [
@@ -838,6 +874,7 @@ module Aws::Cloud9
838
874
  # resp.environments[0].lifecycle.status #=> String, one of "CREATING", "CREATED", "CREATE_FAILED", "DELETING", "DELETE_FAILED"
839
875
  # resp.environments[0].lifecycle.reason #=> String
840
876
  # resp.environments[0].lifecycle.failure_resource #=> String
877
+ # resp.environments[0].managed_credentials_status #=> String, one of "ENABLED_ON_CREATE", "ENABLED_BY_OWNER", "DISABLED_BY_DEFAULT", "DISABLED_BY_OWNER", "DISABLED_BY_COLLABORATOR", "PENDING_REMOVAL_BY_COLLABORATOR", "PENDING_START_REMOVAL_BY_COLLABORATOR", "PENDING_REMOVAL_BY_OWNER", "PENDING_START_REMOVAL_BY_OWNER", "FAILED_REMOVAL_BY_COLLABORATOR", "FAILED_REMOVAL_BY_OWNER"
841
878
  #
842
879
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironments AWS API Documentation
843
880
  #
@@ -1125,7 +1162,7 @@ module Aws::Cloud9
1125
1162
  params: params,
1126
1163
  config: config)
1127
1164
  context[:gem_name] = 'aws-sdk-cloud9'
1128
- context[:gem_version] = '1.31.0'
1165
+ context[:gem_version] = '1.32.0'
1129
1166
  Seahorse::Client::Request.new(handlers, context)
1130
1167
  end
1131
1168
 
@@ -48,6 +48,7 @@ module Aws::Cloud9
48
48
  EnvironmentStatus = Shapes::StringShape.new(name: 'EnvironmentStatus')
49
49
  EnvironmentType = Shapes::StringShape.new(name: 'EnvironmentType')
50
50
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
51
+ ImageId = Shapes::StringShape.new(name: 'ImageId')
51
52
  InstanceType = Shapes::StringShape.new(name: 'InstanceType')
52
53
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
53
54
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -55,6 +56,7 @@ module Aws::Cloud9
55
56
  ListEnvironmentsResult = Shapes::StructureShape.new(name: 'ListEnvironmentsResult')
56
57
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
57
58
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
59
+ ManagedCredentialsStatus = Shapes::StringShape.new(name: 'ManagedCredentialsStatus')
58
60
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
59
61
  MemberPermissions = Shapes::StringShape.new(name: 'MemberPermissions')
60
62
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
@@ -92,6 +94,7 @@ module Aws::Cloud9
92
94
  CreateEnvironmentEC2Request.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
93
95
  CreateEnvironmentEC2Request.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
94
96
  CreateEnvironmentEC2Request.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
97
+ CreateEnvironmentEC2Request.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
95
98
  CreateEnvironmentEC2Request.add_member(:automatic_stop_time_minutes, Shapes::ShapeRef.new(shape: AutomaticStopTimeMinutes, location_name: "automaticStopTimeMinutes"))
96
99
  CreateEnvironmentEC2Request.add_member(:owner_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "ownerArn"))
97
100
  CreateEnvironmentEC2Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -106,7 +109,7 @@ module Aws::Cloud9
106
109
  CreateEnvironmentMembershipRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: MemberPermissions, required: true, location_name: "permissions"))
107
110
  CreateEnvironmentMembershipRequest.struct_class = Types::CreateEnvironmentMembershipRequest
108
111
 
109
- CreateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, location_name: "membership"))
112
+ CreateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, required: true, location_name: "membership"))
110
113
  CreateEnvironmentMembershipResult.struct_class = Types::CreateEnvironmentMembershipResult
111
114
 
112
115
  DeleteEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
@@ -134,8 +137,8 @@ module Aws::Cloud9
134
137
  DescribeEnvironmentStatusRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
135
138
  DescribeEnvironmentStatusRequest.struct_class = Types::DescribeEnvironmentStatusRequest
136
139
 
137
- DescribeEnvironmentStatusResult.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, location_name: "status"))
138
- DescribeEnvironmentStatusResult.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
140
+ DescribeEnvironmentStatusResult.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, required: true, location_name: "status"))
141
+ DescribeEnvironmentStatusResult.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
139
142
  DescribeEnvironmentStatusResult.struct_class = Types::DescribeEnvironmentStatusResult
140
143
 
141
144
  DescribeEnvironmentsRequest.add_member(:environment_ids, Shapes::ShapeRef.new(shape: BoundedEnvironmentIdList, required: true, location_name: "environmentIds"))
@@ -147,11 +150,12 @@ module Aws::Cloud9
147
150
  Environment.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "id"))
148
151
  Environment.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
149
152
  Environment.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
150
- Environment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "type"))
153
+ Environment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type"))
151
154
  Environment.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "connectionType"))
152
- Environment.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
153
- Environment.add_member(:owner_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownerArn"))
155
+ Environment.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
156
+ Environment.add_member(:owner_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ownerArn"))
154
157
  Environment.add_member(:lifecycle, Shapes::ShapeRef.new(shape: EnvironmentLifecycle, location_name: "lifecycle"))
158
+ Environment.add_member(:managed_credentials_status, Shapes::ShapeRef.new(shape: ManagedCredentialsStatus, location_name: "managedCredentialsStatus"))
155
159
  Environment.struct_class = Types::Environment
156
160
 
157
161
  EnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId)
@@ -163,10 +167,10 @@ module Aws::Cloud9
163
167
 
164
168
  EnvironmentList.member = Shapes::ShapeRef.new(shape: Environment)
165
169
 
166
- EnvironmentMember.add_member(:permissions, Shapes::ShapeRef.new(shape: Permissions, location_name: "permissions"))
167
- EnvironmentMember.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
168
- EnvironmentMember.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn"))
169
- EnvironmentMember.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
170
+ EnvironmentMember.add_member(:permissions, Shapes::ShapeRef.new(shape: Permissions, required: true, location_name: "permissions"))
171
+ EnvironmentMember.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userId"))
172
+ EnvironmentMember.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn"))
173
+ EnvironmentMember.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
170
174
  EnvironmentMember.add_member(:last_access, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastAccess"))
171
175
  EnvironmentMember.struct_class = Types::EnvironmentMember
172
176
 
@@ -37,6 +37,7 @@ module Aws::Cloud9
37
37
  # client_request_token: "ClientRequestToken",
38
38
  # instance_type: "InstanceType", # required
39
39
  # subnet_id: "SubnetId",
40
+ # image_id: "ImageId",
40
41
  # automatic_stop_time_minutes: 1,
41
42
  # owner_arn: "UserArn",
42
43
  # tags: [
@@ -80,6 +81,33 @@ module Aws::Cloud9
80
81
  # communicate with the Amazon EC2 instance.
81
82
  # @return [String]
82
83
  #
84
+ # @!attribute [rw] image_id
85
+ # The identifier for the Amazon Machine Image (AMI) that's used to
86
+ # create the EC2 instance. You can specify the AMI for the instance
87
+ # using an AMI alias or an AWS Systems Manager (SSM) path. The default
88
+ # AMI is used if the parameter isn't explicitly assigned a value in
89
+ # the request.
90
+ #
91
+ # <b>AMI aliases </b>
92
+ #
93
+ # * Amazon Linux 2: `amazonlinux-2-x86_64`
94
+ #
95
+ # * Ubuntu 18.04: `ubuntu-18.04-x86_64`
96
+ #
97
+ # * Amazon Linux (default): `amazonlinux-1-x86_64`
98
+ #
99
+ # **SSM paths**
100
+ #
101
+ # * Amazon Linux 2:
102
+ # `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64`
103
+ #
104
+ # * Ubuntu 18.04:
105
+ # `resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64`
106
+ #
107
+ # * Amazon Linux (default):
108
+ # `resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64`
109
+ # @return [String]
110
+ #
83
111
  # @!attribute [rw] automatic_stop_time_minutes
84
112
  # The number of minutes until the running instance is shut down after
85
113
  # the environment has last been used.
@@ -98,7 +126,15 @@ module Aws::Cloud9
98
126
  #
99
127
  # @!attribute [rw] connection_type
100
128
  # The connection type used for connecting to an Amazon EC2
101
- # environment.
129
+ # environment. Valid values are `CONNECT_SSH` (default) and
130
+ # `CONNECT_SSM` (connected through AWS Systems Manager).
131
+ #
132
+ # For more information, see [Accessing no-ingress EC2 instances with
133
+ # AWS Systems Manager][1] in the *AWS Cloud9 User Guide*.
134
+ #
135
+ #
136
+ #
137
+ # [1]: https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html
102
138
  # @return [String]
103
139
  #
104
140
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2Request AWS API Documentation
@@ -109,11 +145,12 @@ module Aws::Cloud9
109
145
  :client_request_token,
110
146
  :instance_type,
111
147
  :subnet_id,
148
+ :image_id,
112
149
  :automatic_stop_time_minutes,
113
150
  :owner_arn,
114
151
  :tags,
115
152
  :connection_type)
116
- SENSITIVE = [:description]
153
+ SENSITIVE = [:description, :tags]
117
154
  include Aws::Structure
118
155
  end
119
156
 
@@ -420,7 +457,7 @@ module Aws::Cloud9
420
457
  #
421
458
  # @!attribute [rw] connection_type
422
459
  # The connection type used for connecting to an Amazon EC2
423
- # environment.
460
+ # environment. `CONNECT_SSH` is selected by default.
424
461
  # @return [String]
425
462
  #
426
463
  # @!attribute [rw] arn
@@ -435,6 +472,31 @@ module Aws::Cloud9
435
472
  # The state of the environment in its creation or deletion lifecycle.
436
473
  # @return [Types::EnvironmentLifecycle]
437
474
  #
475
+ # @!attribute [rw] managed_credentials_status
476
+ # Describes the status of AWS managed temporary credentials for the
477
+ # AWS Cloud9 environment. Available values are:
478
+ #
479
+ # * `ENABLED_ON_CREATE`
480
+ #
481
+ # * `ENABLED_BY_OWNER`
482
+ #
483
+ # * `DISABLED_BY_DEFAULT`
484
+ #
485
+ # * `DISABLED_BY_OWNER`
486
+ #
487
+ # * `DISABLED_BY_COLLABORATOR`
488
+ #
489
+ # * `PENDING_REMOVAL_BY_COLLABORATOR`
490
+ #
491
+ # * `PENDING_REMOVAL_BY_OWNER`
492
+ #
493
+ # * `FAILED_REMOVAL_BY_COLLABORATOR`
494
+ #
495
+ # * `ENABLED_BY_OWNER`
496
+ #
497
+ # * `DISABLED_BY_DEFAULT`
498
+ # @return [String]
499
+ #
438
500
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/Environment AWS API Documentation
439
501
  #
440
502
  class Environment < Struct.new(
@@ -445,7 +507,8 @@ module Aws::Cloud9
445
507
  :connection_type,
446
508
  :arn,
447
509
  :owner_arn,
448
- :lifecycle)
510
+ :lifecycle,
511
+ :managed_credentials_status)
449
512
  SENSITIVE = [:description]
450
513
  include Aws::Structure
451
514
  end
@@ -629,7 +692,7 @@ module Aws::Cloud9
629
692
  #
630
693
  class ListTagsForResourceResponse < Struct.new(
631
694
  :tags)
632
- SENSITIVE = []
695
+ SENSITIVE = [:tags]
633
696
  include Aws::Structure
634
697
  end
635
698
 
@@ -667,7 +730,7 @@ module Aws::Cloud9
667
730
  class Tag < Struct.new(
668
731
  :key,
669
732
  :value)
670
- SENSITIVE = []
733
+ SENSITIVE = [:key, :value]
671
734
  include Aws::Structure
672
735
  end
673
736
 
@@ -699,7 +762,7 @@ module Aws::Cloud9
699
762
  class TagResourceRequest < Struct.new(
700
763
  :resource_arn,
701
764
  :tags)
702
- SENSITIVE = []
765
+ SENSITIVE = [:tags]
703
766
  include Aws::Structure
704
767
  end
705
768
 
@@ -736,7 +799,7 @@ module Aws::Cloud9
736
799
  class UntagResourceRequest < Struct.new(
737
800
  :resource_arn,
738
801
  :tag_keys)
739
- SENSITIVE = []
802
+ SENSITIVE = [:tag_keys]
740
803
  include Aws::Structure
741
804
  end
742
805
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloud9
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-cloud9
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-cloud9/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloud9
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloud9/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths: