aws-sdk-macie 1.37.0 → 1.39.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: 600c15b14fcd012043fe6ca4c653fe6fdc6002ccb3b4424d14f6cc7019038757
4
- data.tar.gz: 5f15cbe7cb42f60d4e398504dcbe33c69ca829ef06e1948289487a42047e317c
3
+ metadata.gz: 04d88bd5d66fb45a3fd487f8183af0bb2a1acaaf80ae1e8b83c832245737d59a
4
+ data.tar.gz: 23097538bf5a42f2666c4093e1aa779ff9eeec8bdf4e3a38a6d8380170f34263
5
5
  SHA512:
6
- metadata.gz: 9fe9397fe06444644ce12a36e90e9be6cb5eaed2f7de8775eeaa25937eb21fae2f27a6e08870b6fb4fcf677538de2cb71c1468b71daa65a0a19b6115b51c4ea5
7
- data.tar.gz: 36afd38e3df2d4e280e9108d3e637e3839633840e0bb644ac1311ea1cdce906899eccb36966ecb03e8c1fa1efcaafcccaeb0fdcc101cff27953bed001d3a79cb
6
+ metadata.gz: 055773d45f818942c0a7fe696e6ca0ebe1a18dbe505488ca2c75609bd6ea448fa59fc23bd943c5af25327a9b03a749d74c9589f255943dcefcb9fce1d70ce428
7
+ data.tar.gz: 1df165faf0e7109da0631ec9bbe453b78f11da0b249a3c4a7e4153547e548307ad5f81f02de5c172b662bfc0dc52d0396f908d04aa9da80db877f05eab3289b3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.38.0 (2022-03-04)
10
+ ------------------
11
+
12
+ * Feature - Amazon Macie Classic (macie) has been discontinued and is no longer available. A new Amazon Macie (macie2) is now available with significant design improvements and additional features.
13
+
4
14
  1.37.0 (2022-02-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.39.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:macie)
@@ -79,8 +79,9 @@ module Aws::Macie
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::Macie::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::Macie
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::Macie
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::Macie::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Macie::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -361,12 +378,12 @@ module Aws::Macie
361
378
 
362
379
  # @!group API Operations
363
380
 
364
- # Associates a specified AWS account with Amazon Macie Classic as a
365
- # member account.
381
+ # (Discontinued) Associates a specified Amazon Web Services account with
382
+ # Amazon Macie Classic as a member account.
366
383
  #
367
384
  # @option params [required, String] :member_account_id
368
- # The ID of the AWS account that you want to associate with Amazon Macie
369
- # Classic as a member account.
385
+ # (Discontinued) The ID of the Amazon Web Services account that you want
386
+ # to associate with Amazon Macie Classic as a member account.
370
387
  #
371
388
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
372
389
  #
@@ -385,20 +402,20 @@ module Aws::Macie
385
402
  req.send_request(options)
386
403
  end
387
404
 
388
- # Associates specified S3 resources with Amazon Macie Classic for
389
- # monitoring and data classification. If memberAccountId isn't
390
- # specified, the action associates specified S3 resources with Macie
391
- # Classic for the current Macie Classic administrator account. If
392
- # memberAccountId is specified, the action associates specified S3
405
+ # (Discontinued) Associates specified S3 resources with Amazon Macie
406
+ # Classic for monitoring and data classification. If `memberAccountId`
407
+ # isn't specified, the action associates specified S3 resources with
408
+ # Macie Classic for the current Macie Classic administrator account. If
409
+ # `memberAccountId` is specified, the action associates specified S3
393
410
  # resources with Macie Classic for the specified member account.
394
411
  #
395
412
  # @option params [String] :member_account_id
396
- # The ID of the Amazon Macie Classic member account whose resources you
397
- # want to associate with Macie Classic.
413
+ # (Discontinued) The ID of the Amazon Macie Classic member account whose
414
+ # resources you want to associate with Macie Classic.
398
415
  #
399
416
  # @option params [required, Array<Types::S3ResourceClassification>] :s3_resources
400
- # The S3 resources that you want to associate with Amazon Macie Classic
401
- # for monitoring and data classification.
417
+ # (Discontinued) The S3 resources that you want to associate with Amazon
418
+ # Macie Classic for monitoring and data classification.
402
419
  #
403
420
  # @return [Types::AssociateS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
404
421
  #
@@ -437,11 +454,12 @@ module Aws::Macie
437
454
  req.send_request(options)
438
455
  end
439
456
 
440
- # Removes the specified member account from Amazon Macie Classic.
457
+ # (Discontinued) Removes the specified member account from Amazon Macie
458
+ # Classic.
441
459
  #
442
460
  # @option params [required, String] :member_account_id
443
- # The ID of the member account that you want to remove from Amazon Macie
444
- # Classic.
461
+ # (Discontinued) The ID of the member account that you want to remove
462
+ # from Amazon Macie Classic.
445
463
  #
446
464
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
447
465
  #
@@ -460,20 +478,20 @@ module Aws::Macie
460
478
  req.send_request(options)
461
479
  end
462
480
 
463
- # Removes specified S3 resources from being monitored by Amazon Macie
464
- # Classic. If memberAccountId isn't specified, the action removes
465
- # specified S3 resources from Macie Classic for the current Macie
466
- # Classic administrator account. If memberAccountId is specified, the
481
+ # (Discontinued) Removes specified S3 resources from being monitored by
482
+ # Amazon Macie Classic. If `memberAccountId` isn't specified, the
467
483
  # action removes specified S3 resources from Macie Classic for the
468
- # specified member account.
484
+ # current Macie Classic administrator account. If `memberAccountId` is
485
+ # specified, the action removes specified S3 resources from Macie
486
+ # Classic for the specified member account.
469
487
  #
470
488
  # @option params [String] :member_account_id
471
- # The ID of the Amazon Macie Classic member account whose resources you
472
- # want to remove from being monitored by Macie Classic.
489
+ # (Discontinued) The ID of the Amazon Macie Classic member account whose
490
+ # resources you want to remove from being monitored by Macie Classic.
473
491
  #
474
492
  # @option params [required, Array<Types::S3Resource>] :associated_s3_resources
475
- # The S3 resources (buckets or prefixes) that you want to remove from
476
- # being monitored and classified by Amazon Macie Classic.
493
+ # (Discontinued) The S3 resources (buckets or prefixes) that you want to
494
+ # remove from being monitored and classified by Amazon Macie Classic.
477
495
  #
478
496
  # @return [Types::DisassociateS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
479
497
  #
@@ -508,19 +526,19 @@ module Aws::Macie
508
526
  req.send_request(options)
509
527
  end
510
528
 
511
- # Lists all Amazon Macie Classic member accounts for the current Macie
512
- # Classic administrator account.
529
+ # (Discontinued) Lists all Amazon Macie Classic member accounts for the
530
+ # current Macie Classic administrator account.
513
531
  #
514
532
  # @option params [String] :next_token
515
- # Use this parameter when paginating results. Set the value of this
516
- # parameter to null on your first call to the ListMemberAccounts action.
517
- # Subsequent calls to the action fill nextToken in the request with the
518
- # value of nextToken from the previous response to continue listing
519
- # data.
533
+ # (Discontinued) Use this parameter when paginating results. Set the
534
+ # value of this parameter to null on your first call to the
535
+ # `ListMemberAccounts` action. Subsequent calls to the action fill
536
+ # `nextToken` in the request with the value of `nextToken` from the
537
+ # previous response to continue listing data.
520
538
  #
521
539
  # @option params [Integer] :max_results
522
- # Use this parameter to indicate the maximum number of items that you
523
- # want in the response. The default value is 250.
540
+ # (Discontinued) Use this parameter to indicate the maximum number of
541
+ # items that you want in the response. The default value is 250.
524
542
  #
525
543
  # @return [Types::ListMemberAccountsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
526
544
  #
@@ -551,26 +569,27 @@ module Aws::Macie
551
569
  req.send_request(options)
552
570
  end
553
571
 
554
- # Lists all the S3 resources associated with Amazon Macie Classic. If
555
- # memberAccountId isn't specified, the action lists the S3 resources
556
- # associated with Macie Classic for the current Macie Classic
557
- # administrator account. If memberAccountId is specified, the action
558
- # lists the S3 resources associated with Macie Classic for the specified
559
- # member account.
572
+ # (Discontinued) Lists all the S3 resources associated with Amazon Macie
573
+ # Classic. If `memberAccountId` isn't specified, the action lists the
574
+ # S3 resources associated with Macie Classic for the current Macie
575
+ # Classic administrator account. If `memberAccountId` is specified, the
576
+ # action lists the S3 resources associated with Macie Classic for the
577
+ # specified member account.
560
578
  #
561
579
  # @option params [String] :member_account_id
562
- # The Amazon Macie Classic member account ID whose associated S3
563
- # resources you want to list.
580
+ # (Discontinued) The Amazon Macie Classic member account ID whose
581
+ # associated S3 resources you want to list.
564
582
  #
565
583
  # @option params [String] :next_token
566
- # Use this parameter when paginating results. Set its value to null on
567
- # your first call to the ListS3Resources action. Subsequent calls to the
568
- # action fill nextToken in the request with the value of nextToken from
569
- # the previous response to continue listing data.
584
+ # (Discontinued) Use this parameter when paginating results. Set its
585
+ # value to null on your first call to the `ListS3Resources` action.
586
+ # Subsequent calls to the action fill `nextToken` in the request with
587
+ # the value of `nextToken` from the previous response to continue
588
+ # listing data.
570
589
  #
571
590
  # @option params [Integer] :max_results
572
- # Use this parameter to indicate the maximum number of items that you
573
- # want in the response. The default value is 250.
591
+ # (Discontinued) Use this parameter to indicate the maximum number of
592
+ # items that you want in the response. The default value is 250.
574
593
  #
575
594
  # @return [Types::ListS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
576
595
  #
@@ -605,20 +624,22 @@ module Aws::Macie
605
624
  req.send_request(options)
606
625
  end
607
626
 
608
- # Updates the classification types for the specified S3 resources. If
609
- # memberAccountId isn't specified, the action updates the
610
- # classification types of the S3 resources associated with Amazon Macie
611
- # Classic for the current Macie Classic administrator account. If
612
- # memberAccountId is specified, the action updates the classification
627
+ # (Discontinued) Updates the classification types for the specified S3
628
+ # resources. If `memberAccountId` isn't specified, the action updates
629
+ # the classification types of the S3 resources associated with Amazon
630
+ # Macie Classic for the current Macie Classic administrator account. If
631
+ # `memberAccountId` is specified, the action updates the classification
613
632
  # types of the S3 resources associated with Macie Classic for the
614
633
  # specified member account.
615
634
  #
616
635
  # @option params [String] :member_account_id
617
- # The AWS ID of the Amazon Macie Classic member account whose S3
618
- # resources' classification types you want to update.
636
+ # (Discontinued) The Amazon Web Services account ID of the Amazon Macie
637
+ # Classic member account whose S3 resources' classification types you
638
+ # want to update.
619
639
  #
620
640
  # @option params [required, Array<Types::S3ResourceClassificationUpdate>] :s3_resources_update
621
- # The S3 resources whose classification types you want to update.
641
+ # (Discontinued) The S3 resources whose classification types you want to
642
+ # update.
622
643
  #
623
644
  # @return [Types::UpdateS3ResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
624
645
  #
@@ -670,7 +691,7 @@ module Aws::Macie
670
691
  params: params,
671
692
  config: config)
672
693
  context[:gem_name] = 'aws-sdk-macie'
673
- context[:gem_version] = '1.37.0'
694
+ context[:gem_version] = '1.39.0'
674
695
  Seahorse::Client::Request.new(handlers, context)
675
696
  end
676
697
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Macie
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,111 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Macie
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
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
+ dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
+ cmVxdWVzdC4iLCJ0eXBlIjoiU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0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInBy
101
+ b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
102
+ XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5h
103
+ YmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFs
104
+ U3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVu
105
+ ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbWFjaWUue1JlZ2lvbn0ue1BhcnRp
106
+ dGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRl
107
+ cnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
108
+
109
+ JSON
110
+ end
111
+ end
@@ -0,0 +1,113 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::Macie
12
+ module Endpoints
13
+
14
+ class AssociateMemberAccount
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::Macie::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class AssociateS3Resources
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::Macie::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class DisassociateMemberAccount
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::Macie::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DisassociateS3Resources
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::Macie::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class ListMemberAccounts
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::Macie::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class ListS3Resources
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::Macie::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class UpdateS3Resources
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::Macie::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ end
113
+ end
@@ -0,0 +1,82 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::Macie
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::Macie::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::Macie::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::Macie::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :associate_member_account
60
+ Aws::Macie::Endpoints::AssociateMemberAccount.build(context)
61
+ when :associate_s3_resources
62
+ Aws::Macie::Endpoints::AssociateS3Resources.build(context)
63
+ when :disassociate_member_account
64
+ Aws::Macie::Endpoints::DisassociateMemberAccount.build(context)
65
+ when :disassociate_s3_resources
66
+ Aws::Macie::Endpoints::DisassociateS3Resources.build(context)
67
+ when :list_member_accounts
68
+ Aws::Macie::Endpoints::ListMemberAccounts.build(context)
69
+ when :list_s3_resources
70
+ Aws::Macie::Endpoints::ListS3Resources.build(context)
71
+ when :update_s3_resources
72
+ Aws::Macie::Endpoints::UpdateS3Resources.build(context)
73
+ end
74
+ end
75
+ end
76
+
77
+ def add_handlers(handlers, _config)
78
+ handlers.add(Handler, step: :build, priority: 75)
79
+ end
80
+ end
81
+ end
82
+ end
@@ -10,7 +10,8 @@
10
10
  module Aws::Macie
11
11
  module Types
12
12
 
13
- # You do not have required permissions to access the requested resource.
13
+ # (Discontinued) You do not have required permissions to access the
14
+ # requested resource.
14
15
  #
15
16
  # @!attribute [rw] message
16
17
  # @return [String]
@@ -36,8 +37,8 @@ module Aws::Macie
36
37
  # }
37
38
  #
38
39
  # @!attribute [rw] member_account_id
39
- # The ID of the AWS account that you want to associate with Amazon
40
- # Macie Classic as a member account.
40
+ # (Discontinued) The ID of the Amazon Web Services account that you
41
+ # want to associate with Amazon Macie Classic as a member account.
41
42
  # @return [String]
42
43
  #
43
44
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateMemberAccountRequest AWS API Documentation
@@ -66,13 +67,13 @@ module Aws::Macie
66
67
  # }
67
68
  #
68
69
  # @!attribute [rw] member_account_id
69
- # The ID of the Amazon Macie Classic member account whose resources
70
- # you want to associate with Macie Classic.
70
+ # (Discontinued) The ID of the Amazon Macie Classic member account
71
+ # whose resources you want to associate with Macie Classic.
71
72
  # @return [String]
72
73
  #
73
74
  # @!attribute [rw] s3_resources
74
- # The S3 resources that you want to associate with Amazon Macie
75
- # Classic for monitoring and data classification.
75
+ # (Discontinued) The S3 resources that you want to associate with
76
+ # Amazon Macie Classic for monitoring and data classification.
76
77
  # @return [Array<Types::S3ResourceClassification>]
77
78
  #
78
79
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateS3ResourcesRequest AWS API Documentation
@@ -85,9 +86,9 @@ module Aws::Macie
85
86
  end
86
87
 
87
88
  # @!attribute [rw] failed_s3_resources
88
- # S3 resources that couldn't be associated with Amazon Macie Classic.
89
- # An error code and an error message are provided for each failed
90
- # item.
89
+ # (Discontinued) S3 resources that couldn't be associated with Amazon
90
+ # Macie Classic. An error code and an error message are provided for
91
+ # each failed item.
91
92
  # @return [Array<Types::FailedS3Resource>]
92
93
  #
93
94
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateS3ResourcesResult AWS API Documentation
@@ -98,8 +99,8 @@ module Aws::Macie
98
99
  include Aws::Structure
99
100
  end
100
101
 
101
- # The classification type that Amazon Macie Classic applies to the
102
- # associated S3 resources.
102
+ # (Discontinued) The classification type that Amazon Macie Classic
103
+ # applies to the associated S3 resources.
103
104
  #
104
105
  # @note When making an API call, you may pass ClassificationType
105
106
  # data as a hash:
@@ -110,15 +111,15 @@ module Aws::Macie
110
111
  # }
111
112
  #
112
113
  # @!attribute [rw] one_time
113
- # A one-time classification of all of the existing objects in a
114
- # specified S3 bucket.
114
+ # (Discontinued) A one-time classification of all of the existing
115
+ # objects in a specified S3 bucket.
115
116
  # @return [String]
116
117
  #
117
118
  # @!attribute [rw] continuous
118
- # A continuous classification of the objects that are added to a
119
- # specified S3 bucket. Amazon Macie Classic begins performing
120
- # continuous classification after a bucket is successfully associated
121
- # with Macie Classic.
119
+ # (Discontinued) A continuous classification of the objects that are
120
+ # added to a specified S3 bucket. Amazon Macie Classic begins
121
+ # performing continuous classification after a bucket is successfully
122
+ # associated with Macie Classic.
122
123
  # @return [String]
123
124
  #
124
125
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ClassificationType AWS API Documentation
@@ -130,9 +131,9 @@ module Aws::Macie
130
131
  include Aws::Structure
131
132
  end
132
133
 
133
- # The classification type that Amazon Macie Classic applies to the
134
- # associated S3 resources. At least one of the classification types
135
- # (oneTime or continuous) must be specified.
134
+ # (Discontinued) The classification type that Amazon Macie Classic
135
+ # applies to the associated S3 resources. At least one of the
136
+ # classification types (`oneTime` or `continuous`) must be specified.
136
137
  #
137
138
  # @note When making an API call, you may pass ClassificationTypeUpdate
138
139
  # data as a hash:
@@ -143,15 +144,15 @@ module Aws::Macie
143
144
  # }
144
145
  #
145
146
  # @!attribute [rw] one_time
146
- # A one-time classification of all of the existing objects in a
147
- # specified S3 bucket.
147
+ # (Discontinued) A one-time classification of all of the existing
148
+ # objects in a specified S3 bucket.
148
149
  # @return [String]
149
150
  #
150
151
  # @!attribute [rw] continuous
151
- # A continuous classification of the objects that are added to a
152
- # specified S3 bucket. Amazon Macie Classic begins performing
153
- # continuous classification after a bucket is successfully associated
154
- # with Macie Classic.
152
+ # (Discontinued) A continuous classification of the objects that are
153
+ # added to a specified S3 bucket. Amazon Macie Classic begins
154
+ # performing continuous classification after a bucket is successfully
155
+ # associated with Macie Classic.
155
156
  # @return [String]
156
157
  #
157
158
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ClassificationTypeUpdate AWS API Documentation
@@ -171,8 +172,8 @@ module Aws::Macie
171
172
  # }
172
173
  #
173
174
  # @!attribute [rw] member_account_id
174
- # The ID of the member account that you want to remove from Amazon
175
- # Macie Classic.
175
+ # (Discontinued) The ID of the member account that you want to remove
176
+ # from Amazon Macie Classic.
176
177
  # @return [String]
177
178
  #
178
179
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateMemberAccountRequest AWS API Documentation
@@ -197,13 +198,15 @@ module Aws::Macie
197
198
  # }
198
199
  #
199
200
  # @!attribute [rw] member_account_id
200
- # The ID of the Amazon Macie Classic member account whose resources
201
- # you want to remove from being monitored by Macie Classic.
201
+ # (Discontinued) The ID of the Amazon Macie Classic member account
202
+ # whose resources you want to remove from being monitored by Macie
203
+ # Classic.
202
204
  # @return [String]
203
205
  #
204
206
  # @!attribute [rw] associated_s3_resources
205
- # The S3 resources (buckets or prefixes) that you want to remove from
206
- # being monitored and classified by Amazon Macie Classic.
207
+ # (Discontinued) The S3 resources (buckets or prefixes) that you want
208
+ # to remove from being monitored and classified by Amazon Macie
209
+ # Classic.
207
210
  # @return [Array<Types::S3Resource>]
208
211
  #
209
212
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateS3ResourcesRequest AWS API Documentation
@@ -216,9 +219,9 @@ module Aws::Macie
216
219
  end
217
220
 
218
221
  # @!attribute [rw] failed_s3_resources
219
- # S3 resources that couldn't be removed from being monitored and
220
- # classified by Amazon Macie Classic. An error code and an error
221
- # message are provided for each failed item.
222
+ # (Discontinued) S3 resources that couldn't be removed from being
223
+ # monitored and classified by Amazon Macie Classic. An error code and
224
+ # an error message are provided for each failed item.
222
225
  # @return [Array<Types::FailedS3Resource>]
223
226
  #
224
227
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateS3ResourcesResult AWS API Documentation
@@ -229,18 +232,18 @@ module Aws::Macie
229
232
  include Aws::Structure
230
233
  end
231
234
 
232
- # Includes details about the failed S3 resources.
235
+ # (Discontinued) Includes details about the failed S3 resources.
233
236
  #
234
237
  # @!attribute [rw] failed_item
235
- # The failed S3 resources.
238
+ # (Discontinued) The failed S3 resources.
236
239
  # @return [Types::S3Resource]
237
240
  #
238
241
  # @!attribute [rw] error_code
239
- # The status code of a failed item.
242
+ # (Discontinued) The status code of a failed item.
240
243
  # @return [String]
241
244
  #
242
245
  # @!attribute [rw] error_message
243
- # The error message of a failed item.
246
+ # (Discontinued) The error message of a failed item.
244
247
  # @return [String]
245
248
  #
246
249
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/FailedS3Resource AWS API Documentation
@@ -253,7 +256,7 @@ module Aws::Macie
253
256
  include Aws::Structure
254
257
  end
255
258
 
256
- # Internal server error.
259
+ # (Discontinued) Internal server error.
257
260
  #
258
261
  # @!attribute [rw] error_code
259
262
  # Error code for the exception
@@ -271,8 +274,8 @@ module Aws::Macie
271
274
  include Aws::Structure
272
275
  end
273
276
 
274
- # The request was rejected because an invalid or out-of-range value was
275
- # supplied for an input parameter.
277
+ # (Discontinued) The request was rejected because an invalid or
278
+ # out-of-range value was supplied for an input parameter.
276
279
  #
277
280
  # @!attribute [rw] error_code
278
281
  # Error code for the exception
@@ -295,9 +298,9 @@ module Aws::Macie
295
298
  include Aws::Structure
296
299
  end
297
300
 
298
- # The request was rejected because it attempted to create resources
299
- # beyond the current AWS account limits. The error code describes the
300
- # limit exceeded.
301
+ # (Discontinued) The request was rejected because it attempted to create
302
+ # resources beyond the current Amazon Web Services account quotas. The
303
+ # error code describes the quota exceeded.
301
304
  #
302
305
  # @!attribute [rw] error_code
303
306
  # Error code for the exception
@@ -329,16 +332,16 @@ module Aws::Macie
329
332
  # }
330
333
  #
331
334
  # @!attribute [rw] next_token
332
- # Use this parameter when paginating results. Set the value of this
333
- # parameter to null on your first call to the ListMemberAccounts
334
- # action. Subsequent calls to the action fill nextToken in the request
335
- # with the value of nextToken from the previous response to continue
336
- # listing data.
335
+ # (Discontinued) Use this parameter when paginating results. Set the
336
+ # value of this parameter to null on your first call to the
337
+ # `ListMemberAccounts` action. Subsequent calls to the action fill
338
+ # `nextToken` in the request with the value of `nextToken` from the
339
+ # previous response to continue listing data.
337
340
  # @return [String]
338
341
  #
339
342
  # @!attribute [rw] max_results
340
- # Use this parameter to indicate the maximum number of items that you
341
- # want in the response. The default value is 250.
343
+ # (Discontinued) Use this parameter to indicate the maximum number of
344
+ # items that you want in the response. The default value is 250.
342
345
  # @return [Integer]
343
346
  #
344
347
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListMemberAccountsRequest AWS API Documentation
@@ -351,17 +354,17 @@ module Aws::Macie
351
354
  end
352
355
 
353
356
  # @!attribute [rw] member_accounts
354
- # A list of the Amazon Macie Classic member accounts returned by the
355
- # action. The current Macie Classic administrator account is also
356
- # included in this list.
357
+ # (Discontinued) A list of the Amazon Macie Classic member accounts
358
+ # returned by the action. The current Macie Classic administrator
359
+ # account is also included in this list.
357
360
  # @return [Array<Types::MemberAccount>]
358
361
  #
359
362
  # @!attribute [rw] next_token
360
- # When a response is generated, if there is more data to be listed,
361
- # this parameter is present in the response and contains the value to
362
- # use for the nextToken parameter in a subsequent pagination request.
363
- # If there is no more data to be listed, this parameter is set to
364
- # null.
363
+ # (Discontinued) When a response is generated, if there is more data
364
+ # to be listed, this parameter is present in the response and contains
365
+ # the value to use for the `nextToken` parameter in a subsequent
366
+ # pagination request. If there is no more data to be listed, this
367
+ # parameter is set to null.
365
368
  # @return [String]
366
369
  #
367
370
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListMemberAccountsResult AWS API Documentation
@@ -383,20 +386,21 @@ module Aws::Macie
383
386
  # }
384
387
  #
385
388
  # @!attribute [rw] member_account_id
386
- # The Amazon Macie Classic member account ID whose associated S3
387
- # resources you want to list.
389
+ # (Discontinued) The Amazon Macie Classic member account ID whose
390
+ # associated S3 resources you want to list.
388
391
  # @return [String]
389
392
  #
390
393
  # @!attribute [rw] next_token
391
- # Use this parameter when paginating results. Set its value to null on
392
- # your first call to the ListS3Resources action. Subsequent calls to
393
- # the action fill nextToken in the request with the value of nextToken
394
- # from the previous response to continue listing data.
394
+ # (Discontinued) Use this parameter when paginating results. Set its
395
+ # value to null on your first call to the `ListS3Resources` action.
396
+ # Subsequent calls to the action fill `nextToken` in the request with
397
+ # the value of `nextToken` from the previous response to continue
398
+ # listing data.
395
399
  # @return [String]
396
400
  #
397
401
  # @!attribute [rw] max_results
398
- # Use this parameter to indicate the maximum number of items that you
399
- # want in the response. The default value is 250.
402
+ # (Discontinued) Use this parameter to indicate the maximum number of
403
+ # items that you want in the response. The default value is 250.
400
404
  # @return [Integer]
401
405
  #
402
406
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListS3ResourcesRequest AWS API Documentation
@@ -410,15 +414,16 @@ module Aws::Macie
410
414
  end
411
415
 
412
416
  # @!attribute [rw] s3_resources
413
- # A list of the associated S3 resources returned by the action.
417
+ # (Discontinued) A list of the associated S3 resources returned by the
418
+ # action.
414
419
  # @return [Array<Types::S3ResourceClassification>]
415
420
  #
416
421
  # @!attribute [rw] next_token
417
- # When a response is generated, if there is more data to be listed,
418
- # this parameter is present in the response and contains the value to
419
- # use for the nextToken parameter in a subsequent pagination request.
420
- # If there is no more data to be listed, this parameter is set to
421
- # null.
422
+ # (Discontinued) When a response is generated, if there is more data
423
+ # to be listed, this parameter is present in the response and contains
424
+ # the value to use for the `nextToken` parameter in a subsequent
425
+ # pagination request. If there is no more data to be listed, this
426
+ # parameter is set to null.
422
427
  # @return [String]
423
428
  #
424
429
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListS3ResourcesResult AWS API Documentation
@@ -430,10 +435,12 @@ module Aws::Macie
430
435
  include Aws::Structure
431
436
  end
432
437
 
433
- # Contains information about the Amazon Macie Classic member account.
438
+ # (Discontinued) Contains information about the Amazon Macie Classic
439
+ # member account.
434
440
  #
435
441
  # @!attribute [rw] account_id
436
- # The AWS account ID of the Amazon Macie Classic member account.
442
+ # (Discontinued) The Amazon Web Services account ID of the Amazon
443
+ # Macie Classic member account.
437
444
  # @return [String]
438
445
  #
439
446
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/MemberAccount AWS API Documentation
@@ -444,10 +451,10 @@ module Aws::Macie
444
451
  include Aws::Structure
445
452
  end
446
453
 
447
- # Contains information about the S3 resource. This data type is used as
448
- # a request parameter in the DisassociateS3Resources action and can be
449
- # used as a response parameter in the AssociateS3Resources and
450
- # UpdateS3Resources actions.
454
+ # (Discontinued) Contains information about the S3 resource. This data
455
+ # type is used as a request parameter in the `DisassociateS3Resources`
456
+ # action and can be used as a response parameter in the
457
+ # `AssociateS3Resources` and `UpdateS3Resources` actions.
451
458
  #
452
459
  # @note When making an API call, you may pass S3Resource
453
460
  # data as a hash:
@@ -458,11 +465,11 @@ module Aws::Macie
458
465
  # }
459
466
  #
460
467
  # @!attribute [rw] bucket_name
461
- # The name of the S3 bucket.
468
+ # (Discontinued) The name of the S3 bucket.
462
469
  # @return [String]
463
470
  #
464
471
  # @!attribute [rw] prefix
465
- # The prefix of the S3 bucket.
472
+ # (Discontinued) The prefix of the S3 bucket.
466
473
  # @return [String]
467
474
  #
468
475
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/S3Resource AWS API Documentation
@@ -474,10 +481,10 @@ module Aws::Macie
474
481
  include Aws::Structure
475
482
  end
476
483
 
477
- # The S3 resources that you want to associate with Amazon Macie Classic
478
- # for monitoring and data classification. This data type is used as a
479
- # request parameter in the AssociateS3Resources action and a response
480
- # parameter in the ListS3Resources action.
484
+ # (Discontinued) The S3 resources that you want to associate with Amazon
485
+ # Macie Classic for monitoring and data classification. This data type
486
+ # is used as a request parameter in the `AssociateS3Resources` action
487
+ # and a response parameter in the `ListS3Resources` action.
481
488
  #
482
489
  # @note When making an API call, you may pass S3ResourceClassification
483
490
  # data as a hash:
@@ -492,18 +499,18 @@ module Aws::Macie
492
499
  # }
493
500
  #
494
501
  # @!attribute [rw] bucket_name
495
- # The name of the S3 bucket that you want to associate with Amazon
496
- # Macie Classic.
502
+ # (Discontinued) The name of the S3 bucket that you want to associate
503
+ # with Amazon Macie Classic.
497
504
  # @return [String]
498
505
  #
499
506
  # @!attribute [rw] prefix
500
- # The prefix of the S3 bucket that you want to associate with Amazon
501
- # Macie Classic.
507
+ # (Discontinued) The prefix of the S3 bucket that you want to
508
+ # associate with Amazon Macie Classic.
502
509
  # @return [String]
503
510
  #
504
511
  # @!attribute [rw] classification_type
505
- # The classification type that you want to specify for the resource
506
- # associated with Amazon Macie Classic.
512
+ # (Discontinued) The classification type that you want to specify for
513
+ # the resource associated with Amazon Macie Classic.
507
514
  # @return [Types::ClassificationType]
508
515
  #
509
516
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/S3ResourceClassification AWS API Documentation
@@ -516,9 +523,9 @@ module Aws::Macie
516
523
  include Aws::Structure
517
524
  end
518
525
 
519
- # The S3 resources whose classification types you want to update. This
520
- # data type is used as a request parameter in the UpdateS3Resources
521
- # action.
526
+ # (Discontinued) The S3 resources whose classification types you want to
527
+ # update. This data type is used as a request parameter in the
528
+ # `UpdateS3Resources` action.
522
529
  #
523
530
  # @note When making an API call, you may pass S3ResourceClassificationUpdate
524
531
  # data as a hash:
@@ -533,18 +540,18 @@ module Aws::Macie
533
540
  # }
534
541
  #
535
542
  # @!attribute [rw] bucket_name
536
- # The name of the S3 bucket whose classification types you want to
537
- # update.
543
+ # (Discontinued) The name of the S3 bucket whose classification types
544
+ # you want to update.
538
545
  # @return [String]
539
546
  #
540
547
  # @!attribute [rw] prefix
541
- # The prefix of the S3 bucket whose classification types you want to
542
- # update.
548
+ # (Discontinued) The prefix of the S3 bucket whose classification
549
+ # types you want to update.
543
550
  # @return [String]
544
551
  #
545
552
  # @!attribute [rw] classification_type_update
546
- # The classification type that you want to update for the resource
547
- # associated with Amazon Macie Classic.
553
+ # (Discontinued) The classification type that you want to update for
554
+ # the resource associated with Amazon Macie Classic.
548
555
  # @return [Types::ClassificationTypeUpdate]
549
556
  #
550
557
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/S3ResourceClassificationUpdate AWS API Documentation
@@ -575,12 +582,14 @@ module Aws::Macie
575
582
  # }
576
583
  #
577
584
  # @!attribute [rw] member_account_id
578
- # The AWS ID of the Amazon Macie Classic member account whose S3
579
- # resources' classification types you want to update.
585
+ # (Discontinued) The Amazon Web Services account ID of the Amazon
586
+ # Macie Classic member account whose S3 resources' classification
587
+ # types you want to update.
580
588
  # @return [String]
581
589
  #
582
590
  # @!attribute [rw] s3_resources_update
583
- # The S3 resources whose classification types you want to update.
591
+ # (Discontinued) The S3 resources whose classification types you want
592
+ # to update.
584
593
  # @return [Array<Types::S3ResourceClassificationUpdate>]
585
594
  #
586
595
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/UpdateS3ResourcesRequest AWS API Documentation
@@ -593,8 +602,9 @@ module Aws::Macie
593
602
  end
594
603
 
595
604
  # @!attribute [rw] failed_s3_resources
596
- # The S3 resources whose classification types can't be updated. An
597
- # error code and an error message are provided for each failed item.
605
+ # (Discontinued) The S3 resources whose classification types can't be
606
+ # updated. An error code and an error message are provided for each
607
+ # failed item.
598
608
  # @return [Array<Types::FailedS3Resource>]
599
609
  #
600
610
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/UpdateS3ResourcesResult AWS API Documentation
data/lib/aws-sdk-macie.rb CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-macie/types'
15
15
  require_relative 'aws-sdk-macie/client_api'
16
+ require_relative 'aws-sdk-macie/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-macie/client'
17
18
  require_relative 'aws-sdk-macie/errors'
18
19
  require_relative 'aws-sdk-macie/resource'
20
+ require_relative 'aws-sdk-macie/endpoint_parameters'
21
+ require_relative 'aws-sdk-macie/endpoint_provider'
22
+ require_relative 'aws-sdk-macie/endpoints'
19
23
  require_relative 'aws-sdk-macie/customizations'
20
24
 
21
25
  # This module provides support for Amazon Macie. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-macie/customizations'
48
52
  # @!group service
49
53
  module Aws::Macie
50
54
 
51
- GEM_VERSION = '1.37.0'
55
+ GEM_VERSION = '1.39.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-macie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.39.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-macie/client.rb
60
60
  - lib/aws-sdk-macie/client_api.rb
61
61
  - lib/aws-sdk-macie/customizations.rb
62
+ - lib/aws-sdk-macie/endpoint_parameters.rb
63
+ - lib/aws-sdk-macie/endpoint_provider.rb
64
+ - lib/aws-sdk-macie/endpoints.rb
62
65
  - lib/aws-sdk-macie/errors.rb
66
+ - lib/aws-sdk-macie/plugins/endpoints.rb
63
67
  - lib/aws-sdk-macie/resource.rb
64
68
  - lib/aws-sdk-macie/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby