aws-sdk-cloud9 1.37.0 → 1.38.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: 697955a092bdb6f9dcd8309535136bce5dd9a910cf52f75cc276843fdf5edc4a
4
- data.tar.gz: 8c783db9afe3056b8188646890c1e52464b50ad1fa5786c525545b8960e488af
3
+ metadata.gz: e7342d86e3f7298c822ad297c16b4c500a8ca825fec18a0ab12c82757d25c785
4
+ data.tar.gz: 6309f03827829c127296589a9bed23d85e5a1ab13fbda4c4789d5bab60a0d672
5
5
  SHA512:
6
- metadata.gz: dbc9853ab5246bf9bbb9397806ccbc0b82a47bd52be8ec88b33fc180ea3be6ffc7f750868ed8dbf5027082f5912680c6b3e26fdfdc60a3f3734d1c2a0082bd34
7
- data.tar.gz: 6b5469cd30c1dd83cec78f35e1fb2a526b54df05e8a97843a04cae313a6f015467c7288f737aae81f6df924855baf45f791e89ea4537a40460bd94b58915d75f
6
+ metadata.gz: 23428d68af4405d3f46c5ff723edac16bf4fda448e0fb6492b399d2c16898baeddfa2ef7b1ad3177154d3f393581f13f295dd5a9abb673aa62b7a6f700181296
7
+ data.tar.gz: 960c87fc5259a6a5616aa19b012077bed869c7455bd2f0c0ed58d7e7142b6fa355bbd321a08da49654dc88a3f14004f45af5c09dfc814921c52d41c608f4be04
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2021-08-17)
5
+ ------------------
6
+
7
+ * Feature - Added DryRun parameter to CreateEnvironmentEC2 API. Added ManagedCredentialsActions parameter to UpdateEnvironment API
8
+
4
9
  1.37.0 (2021-07-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.38.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.37.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
@@ -425,6 +425,12 @@ module Aws::Cloud9
425
425
  #
426
426
  # [1]: https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html
427
427
  #
428
+ # @option params [Boolean] :dry_run
429
+ # Checks whether you have the required permissions for the action,
430
+ # without actually making the request, and provides an error response.
431
+ # If you have the required permissions, the error response is
432
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
433
+ #
428
434
  # @return [Types::CreateEnvironmentEC2Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
429
435
  #
430
436
  # * {Types::CreateEnvironmentEC2Result#environment_id #environment_id} => String
@@ -464,6 +470,7 @@ module Aws::Cloud9
464
470
  # },
465
471
  # ],
466
472
  # connection_type: "CONNECT_SSH", # accepts CONNECT_SSH, CONNECT_SSM
473
+ # dry_run: false,
467
474
  # })
468
475
  #
469
476
  # @example Response structure
@@ -1051,6 +1058,22 @@ module Aws::Cloud9
1051
1058
  # @option params [String] :description
1052
1059
  # Any new or replacement description for the environment.
1053
1060
  #
1061
+ # @option params [String] :managed_credentials_action
1062
+ # Allows the environment owner to turn on or turn off the Amazon Web
1063
+ # Services managed temporary credentials for an Cloud9 environment by
1064
+ # using one of the following values:
1065
+ #
1066
+ # * `ENABLE`
1067
+ #
1068
+ # * `DISABLE`
1069
+ #
1070
+ # <note markdown="1"> Only the environment owner can change the status of managed temporary
1071
+ # credentials. An `AccessDeniedException` is thrown if an attempt to
1072
+ # turn on or turn off managed temporary credentials is made by an
1073
+ # account that's not the environment owner.
1074
+ #
1075
+ # </note>
1076
+ #
1054
1077
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1055
1078
  #
1056
1079
  #
@@ -1072,6 +1095,7 @@ module Aws::Cloud9
1072
1095
  # environment_id: "EnvironmentId", # required
1073
1096
  # name: "EnvironmentName",
1074
1097
  # description: "EnvironmentDescription",
1098
+ # managed_credentials_action: "ENABLE", # accepts ENABLE, DISABLE
1075
1099
  # })
1076
1100
  #
1077
1101
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironment AWS API Documentation
@@ -1163,7 +1187,7 @@ module Aws::Cloud9
1163
1187
  params: params,
1164
1188
  config: config)
1165
1189
  context[:gem_name] = 'aws-sdk-cloud9'
1166
- context[:gem_version] = '1.37.0'
1190
+ context[:gem_version] = '1.38.0'
1167
1191
  Seahorse::Client::Request.new(handlers, context)
1168
1192
  end
1169
1193
 
@@ -56,10 +56,12 @@ module Aws::Cloud9
56
56
  ListEnvironmentsResult = Shapes::StructureShape.new(name: 'ListEnvironmentsResult')
57
57
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
58
58
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
59
+ ManagedCredentialsAction = Shapes::StringShape.new(name: 'ManagedCredentialsAction')
59
60
  ManagedCredentialsStatus = Shapes::StringShape.new(name: 'ManagedCredentialsStatus')
60
61
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
61
62
  MemberPermissions = Shapes::StringShape.new(name: 'MemberPermissions')
62
63
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
64
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
63
65
  Permissions = Shapes::StringShape.new(name: 'Permissions')
64
66
  PermissionsList = Shapes::ListShape.new(name: 'PermissionsList')
65
67
  String = Shapes::StringShape.new(name: 'String')
@@ -99,6 +101,7 @@ module Aws::Cloud9
99
101
  CreateEnvironmentEC2Request.add_member(:owner_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "ownerArn"))
100
102
  CreateEnvironmentEC2Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
101
103
  CreateEnvironmentEC2Request.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "connectionType"))
104
+ CreateEnvironmentEC2Request.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "dryRun"))
102
105
  CreateEnvironmentEC2Request.struct_class = Types::CreateEnvironmentEC2Request
103
106
 
104
107
  CreateEnvironmentEC2Result.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
@@ -233,6 +236,7 @@ module Aws::Cloud9
233
236
  UpdateEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
234
237
  UpdateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name"))
235
238
  UpdateEnvironmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description"))
239
+ UpdateEnvironmentRequest.add_member(:managed_credentials_action, Shapes::ShapeRef.new(shape: ManagedCredentialsAction, location_name: "managedCredentialsAction"))
236
240
  UpdateEnvironmentRequest.struct_class = Types::UpdateEnvironmentRequest
237
241
 
238
242
  UpdateEnvironmentResult.struct_class = Types::UpdateEnvironmentResult
@@ -47,6 +47,7 @@ module Aws::Cloud9
47
47
  # },
48
48
  # ],
49
49
  # connection_type: "CONNECT_SSH", # accepts CONNECT_SSH, CONNECT_SSM
50
+ # dry_run: false,
50
51
  # }
51
52
  #
52
53
  # @!attribute [rw] name
@@ -143,6 +144,13 @@ module Aws::Cloud9
143
144
  # [1]: https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html
144
145
  # @return [String]
145
146
  #
147
+ # @!attribute [rw] dry_run
148
+ # Checks whether you have the required permissions for the action,
149
+ # without actually making the request, and provides an error response.
150
+ # If you have the required permissions, the error response is
151
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
152
+ # @return [Boolean]
153
+ #
146
154
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2Request AWS API Documentation
147
155
  #
148
156
  class CreateEnvironmentEC2Request < Struct.new(
@@ -155,7 +163,8 @@ module Aws::Cloud9
155
163
  :automatic_stop_time_minutes,
156
164
  :owner_arn,
157
165
  :tags,
158
- :connection_type)
166
+ :connection_type,
167
+ :dry_run)
159
168
  SENSITIVE = [:description, :tags]
160
169
  include Aws::Structure
161
170
  end
@@ -869,6 +878,7 @@ module Aws::Cloud9
869
878
  # environment_id: "EnvironmentId", # required
870
879
  # name: "EnvironmentName",
871
880
  # description: "EnvironmentDescription",
881
+ # managed_credentials_action: "ENABLE", # accepts ENABLE, DISABLE
872
882
  # }
873
883
  #
874
884
  # @!attribute [rw] environment_id
@@ -883,12 +893,30 @@ module Aws::Cloud9
883
893
  # Any new or replacement description for the environment.
884
894
  # @return [String]
885
895
  #
896
+ # @!attribute [rw] managed_credentials_action
897
+ # Allows the environment owner to turn on or turn off the Amazon Web
898
+ # Services managed temporary credentials for an Cloud9 environment by
899
+ # using one of the following values:
900
+ #
901
+ # * `ENABLE`
902
+ #
903
+ # * `DISABLE`
904
+ #
905
+ # <note markdown="1"> Only the environment owner can change the status of managed
906
+ # temporary credentials. An `AccessDeniedException` is thrown if an
907
+ # attempt to turn on or turn off managed temporary credentials is made
908
+ # by an account that's not the environment owner.
909
+ #
910
+ # </note>
911
+ # @return [String]
912
+ #
886
913
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentRequest AWS API Documentation
887
914
  #
888
915
  class UpdateEnvironmentRequest < Struct.new(
889
916
  :environment_id,
890
917
  :name,
891
- :description)
918
+ :description,
919
+ :managed_credentials_action)
892
920
  SENSITIVE = [:description]
893
921
  include Aws::Structure
894
922
  end
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.37.0
4
+ version: 1.38.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-07-30 00:00:00.000000000 Z
11
+ date: 2021-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core