aws-sdk-rolesanywhere 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,10 +43,25 @@ module Aws::RolesAnywhere
43
43
  ListTrustAnchorsResponse = Shapes::StructureShape.new(name: 'ListTrustAnchorsResponse')
44
44
  ManagedPolicyList = Shapes::ListShape.new(name: 'ManagedPolicyList')
45
45
  ManagedPolicyListMemberString = Shapes::StringShape.new(name: 'ManagedPolicyListMemberString')
46
+ NotificationChannel = Shapes::StringShape.new(name: 'NotificationChannel')
47
+ NotificationEvent = Shapes::StringShape.new(name: 'NotificationEvent')
48
+ NotificationSetting = Shapes::StructureShape.new(name: 'NotificationSetting')
49
+ NotificationSettingDetail = Shapes::StructureShape.new(name: 'NotificationSettingDetail')
50
+ NotificationSettingDetailConfiguredByString = Shapes::StringShape.new(name: 'NotificationSettingDetailConfiguredByString')
51
+ NotificationSettingDetailThresholdInteger = Shapes::IntegerShape.new(name: 'NotificationSettingDetailThresholdInteger')
52
+ NotificationSettingDetails = Shapes::ListShape.new(name: 'NotificationSettingDetails')
53
+ NotificationSettingKey = Shapes::StructureShape.new(name: 'NotificationSettingKey')
54
+ NotificationSettingKeys = Shapes::ListShape.new(name: 'NotificationSettingKeys')
55
+ NotificationSettingThresholdInteger = Shapes::IntegerShape.new(name: 'NotificationSettingThresholdInteger')
56
+ NotificationSettings = Shapes::ListShape.new(name: 'NotificationSettings')
46
57
  ProfileArn = Shapes::StringShape.new(name: 'ProfileArn')
47
58
  ProfileDetail = Shapes::StructureShape.new(name: 'ProfileDetail')
48
59
  ProfileDetailResponse = Shapes::StructureShape.new(name: 'ProfileDetailResponse')
49
60
  ProfileDetails = Shapes::ListShape.new(name: 'ProfileDetails')
61
+ PutNotificationSettingsRequest = Shapes::StructureShape.new(name: 'PutNotificationSettingsRequest')
62
+ PutNotificationSettingsResponse = Shapes::StructureShape.new(name: 'PutNotificationSettingsResponse')
63
+ ResetNotificationSettingsRequest = Shapes::StructureShape.new(name: 'ResetNotificationSettingsRequest')
64
+ ResetNotificationSettingsResponse = Shapes::StructureShape.new(name: 'ResetNotificationSettingsResponse')
50
65
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
51
66
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
52
67
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
@@ -57,6 +72,7 @@ module Aws::RolesAnywhere
57
72
  ScalarTrustAnchorRequest = Shapes::StructureShape.new(name: 'ScalarTrustAnchorRequest')
58
73
  Source = Shapes::StructureShape.new(name: 'Source')
59
74
  SourceData = Shapes::UnionShape.new(name: 'SourceData')
75
+ SourceDataX509CertificateDataString = Shapes::StringShape.new(name: 'SourceDataX509CertificateDataString')
60
76
  String = Shapes::StringShape.new(name: 'String')
61
77
  SubjectDetail = Shapes::StructureShape.new(name: 'SubjectDetail')
62
78
  SubjectDetailResponse = Shapes::StructureShape.new(name: 'SubjectDetailResponse')
@@ -102,6 +118,7 @@ module Aws::RolesAnywhere
102
118
 
103
119
  CreateTrustAnchorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
104
120
  CreateTrustAnchorRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
121
+ CreateTrustAnchorRequest.add_member(:notification_settings, Shapes::ShapeRef.new(shape: NotificationSettings, location_name: "notificationSettings"))
105
122
  CreateTrustAnchorRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
106
123
  CreateTrustAnchorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
107
124
  CreateTrustAnchorRequest.struct_class = Types::CreateTrustAnchorRequest
@@ -176,6 +193,29 @@ module Aws::RolesAnywhere
176
193
 
177
194
  ManagedPolicyList.member = Shapes::ShapeRef.new(shape: ManagedPolicyListMemberString)
178
195
 
196
+ NotificationSetting.add_member(:channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "channel"))
197
+ NotificationSetting.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
198
+ NotificationSetting.add_member(:event, Shapes::ShapeRef.new(shape: NotificationEvent, required: true, location_name: "event"))
199
+ NotificationSetting.add_member(:threshold, Shapes::ShapeRef.new(shape: NotificationSettingThresholdInteger, location_name: "threshold"))
200
+ NotificationSetting.struct_class = Types::NotificationSetting
201
+
202
+ NotificationSettingDetail.add_member(:channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "channel"))
203
+ NotificationSettingDetail.add_member(:configured_by, Shapes::ShapeRef.new(shape: NotificationSettingDetailConfiguredByString, location_name: "configuredBy"))
204
+ NotificationSettingDetail.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
205
+ NotificationSettingDetail.add_member(:event, Shapes::ShapeRef.new(shape: NotificationEvent, required: true, location_name: "event"))
206
+ NotificationSettingDetail.add_member(:threshold, Shapes::ShapeRef.new(shape: NotificationSettingDetailThresholdInteger, location_name: "threshold"))
207
+ NotificationSettingDetail.struct_class = Types::NotificationSettingDetail
208
+
209
+ NotificationSettingDetails.member = Shapes::ShapeRef.new(shape: NotificationSettingDetail)
210
+
211
+ NotificationSettingKey.add_member(:channel, Shapes::ShapeRef.new(shape: NotificationChannel, location_name: "channel"))
212
+ NotificationSettingKey.add_member(:event, Shapes::ShapeRef.new(shape: NotificationEvent, required: true, location_name: "event"))
213
+ NotificationSettingKey.struct_class = Types::NotificationSettingKey
214
+
215
+ NotificationSettingKeys.member = Shapes::ShapeRef.new(shape: NotificationSettingKey)
216
+
217
+ NotificationSettings.member = Shapes::ShapeRef.new(shape: NotificationSetting)
218
+
179
219
  ProfileDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
180
220
  ProfileDetail.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
181
221
  ProfileDetail.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "durationSeconds"))
@@ -195,6 +235,20 @@ module Aws::RolesAnywhere
195
235
 
196
236
  ProfileDetails.member = Shapes::ShapeRef.new(shape: ProfileDetail)
197
237
 
238
+ PutNotificationSettingsRequest.add_member(:notification_settings, Shapes::ShapeRef.new(shape: NotificationSettings, required: true, location_name: "notificationSettings"))
239
+ PutNotificationSettingsRequest.add_member(:trust_anchor_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "trustAnchorId"))
240
+ PutNotificationSettingsRequest.struct_class = Types::PutNotificationSettingsRequest
241
+
242
+ PutNotificationSettingsResponse.add_member(:trust_anchor, Shapes::ShapeRef.new(shape: TrustAnchorDetail, required: true, location_name: "trustAnchor"))
243
+ PutNotificationSettingsResponse.struct_class = Types::PutNotificationSettingsResponse
244
+
245
+ ResetNotificationSettingsRequest.add_member(:notification_setting_keys, Shapes::ShapeRef.new(shape: NotificationSettingKeys, required: true, location_name: "notificationSettingKeys"))
246
+ ResetNotificationSettingsRequest.add_member(:trust_anchor_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "trustAnchorId"))
247
+ ResetNotificationSettingsRequest.struct_class = Types::ResetNotificationSettingsRequest
248
+
249
+ ResetNotificationSettingsResponse.add_member(:trust_anchor, Shapes::ShapeRef.new(shape: TrustAnchorDetail, required: true, location_name: "trustAnchor"))
250
+ ResetNotificationSettingsResponse.struct_class = Types::ResetNotificationSettingsResponse
251
+
198
252
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
199
253
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
200
254
 
@@ -217,7 +271,7 @@ module Aws::RolesAnywhere
217
271
  Source.struct_class = Types::Source
218
272
 
219
273
  SourceData.add_member(:acm_pca_arn, Shapes::ShapeRef.new(shape: String, location_name: "acmPcaArn"))
220
- SourceData.add_member(:x509_certificate_data, Shapes::ShapeRef.new(shape: String, location_name: "x509CertificateData"))
274
+ SourceData.add_member(:x509_certificate_data, Shapes::ShapeRef.new(shape: SourceDataX509CertificateDataString, location_name: "x509CertificateData"))
221
275
  SourceData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
222
276
  SourceData.add_member_subclass(:acm_pca_arn, Types::SourceData::AcmPcaArn)
223
277
  SourceData.add_member_subclass(:x509_certificate_data, Types::SourceData::X509CertificateData)
@@ -269,6 +323,7 @@ module Aws::RolesAnywhere
269
323
  TrustAnchorDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
270
324
  TrustAnchorDetail.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
271
325
  TrustAnchorDetail.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
326
+ TrustAnchorDetail.add_member(:notification_settings, Shapes::ShapeRef.new(shape: NotificationSettingDetails, location_name: "notificationSettings"))
272
327
  TrustAnchorDetail.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
273
328
  TrustAnchorDetail.add_member(:trust_anchor_arn, Shapes::ShapeRef.new(shape: String, location_name: "trustAnchorArn"))
274
329
  TrustAnchorDetail.add_member(:trust_anchor_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "trustAnchorId"))
@@ -556,6 +611,28 @@ module Aws::RolesAnywhere
556
611
  )
557
612
  end)
558
613
 
614
+ api.add_operation(:put_notification_settings, Seahorse::Model::Operation.new.tap do |o|
615
+ o.name = "PutNotificationSettings"
616
+ o.http_method = "PATCH"
617
+ o.http_request_uri = "/put-notifications-settings"
618
+ o.input = Shapes::ShapeRef.new(shape: PutNotificationSettingsRequest)
619
+ o.output = Shapes::ShapeRef.new(shape: PutNotificationSettingsResponse)
620
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
621
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
622
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
623
+ end)
624
+
625
+ api.add_operation(:reset_notification_settings, Seahorse::Model::Operation.new.tap do |o|
626
+ o.name = "ResetNotificationSettings"
627
+ o.http_method = "PATCH"
628
+ o.http_request_uri = "/reset-notifications-settings"
629
+ o.input = Shapes::ShapeRef.new(shape: ResetNotificationSettingsRequest)
630
+ o.output = Shapes::ShapeRef.new(shape: ResetNotificationSettingsResponse)
631
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
632
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
633
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
634
+ end)
635
+
559
636
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
560
637
  o.name = "TagResource"
561
638
  o.http_method = "POST"
@@ -9,104 +9,46 @@
9
9
 
10
10
  module Aws::RolesAnywhere
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://rolesanywhere-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://rolesanywhere-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://rolesanywhere.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://rolesanywhere.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJ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icmVmIjoiUGFydGl0aW9uUmVzdWx0
98
- In0sInN1cHBvcnRzRHVhbFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1
99
- bGVzIjpbeyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0
100
- cHM6Ly9yb2xlc2FueXdoZXJlLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQj
101
- ZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJz
102
- Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwi
103
- ZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRp
104
- b24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3Ii
105
- fV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
106
- Oi8vcm9sZXNhbnl3aGVyZS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ru
107
- c1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBl
108
- IjoiZW5kcG9pbnQifV19XX0=
109
-
110
- JSON
111
53
  end
112
54
  end
@@ -305,6 +305,34 @@ module Aws::RolesAnywhere
305
305
  end
306
306
  end
307
307
 
308
+ class PutNotificationSettings
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::RolesAnywhere::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
322
+ class ResetNotificationSettings
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::RolesAnywhere::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
308
336
  class TagResource
309
337
  def self.build(context)
310
338
  unless context.config.regional_endpoint
@@ -98,6 +98,10 @@ module Aws::RolesAnywhere
98
98
  Aws::RolesAnywhere::Endpoints::ListTagsForResource.build(context)
99
99
  when :list_trust_anchors
100
100
  Aws::RolesAnywhere::Endpoints::ListTrustAnchors.build(context)
101
+ when :put_notification_settings
102
+ Aws::RolesAnywhere::Endpoints::PutNotificationSettings.build(context)
103
+ when :reset_notification_settings
104
+ Aws::RolesAnywhere::Endpoints::ResetNotificationSettings.build(context)
101
105
  when :tag_resource
102
106
  Aws::RolesAnywhere::Endpoints::TagResource.build(context)
103
107
  when :untag_resource