aws-sdk-macie2 1.22.0 → 1.23.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.
- checksums.yaml +4 -4
 - data/lib/aws-sdk-macie2.rb +1 -1
 - data/lib/aws-sdk-macie2/client.rb +63 -16
 - data/lib/aws-sdk-macie2/client_api.rb +47 -1
 - data/lib/aws-sdk-macie2/types.rb +78 -25
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 3c6befe5c9c6a796047c1f4e20889baca685ddfea870f056588d4bb632433485
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: a7da48bf213d7a03a51e8786587232166c301901beb72e5aa0d4381043e0187a
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 7c2edfafb5af36596fa574d872fc98a394f0f1159d7e57721aa24d06ce72e51f6692ad6b5fc0d66d64fdd078aed4ac955bf6a8ebc9e0f484e1f05a020c964d9a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4119a9a6c0af52a07e235a33782659092339480d25addcd368be938da84ff80e8a7793da7ba441ed2194aa50e4110acbcd0e2d28887751eefae5a1bd3fe5c6a7
         
     | 
    
        data/lib/aws-sdk-macie2.rb
    CHANGED
    
    
| 
         @@ -330,17 +330,20 @@ module Aws::Macie2 
     | 
|
| 
       330 
330 
     | 
    
         
             
                # Accepts an Amazon Macie membership invitation that was received from a
         
     | 
| 
       331 
331 
     | 
    
         
             
                # specific account.
         
     | 
| 
       332 
332 
     | 
    
         
             
                #
         
     | 
| 
      
 333 
     | 
    
         
            +
                # @option params [String] :administrator_account_id
         
     | 
| 
      
 334 
     | 
    
         
            +
                #
         
     | 
| 
       333 
335 
     | 
    
         
             
                # @option params [required, String] :invitation_id
         
     | 
| 
       334 
336 
     | 
    
         
             
                #
         
     | 
| 
       335 
     | 
    
         
            -
                # @option params [ 
     | 
| 
      
 337 
     | 
    
         
            +
                # @option params [String] :master_account
         
     | 
| 
       336 
338 
     | 
    
         
             
                #
         
     | 
| 
       337 
339 
     | 
    
         
             
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         
     | 
| 
       338 
340 
     | 
    
         
             
                #
         
     | 
| 
       339 
341 
     | 
    
         
             
                # @example Request syntax with placeholder values
         
     | 
| 
       340 
342 
     | 
    
         
             
                #
         
     | 
| 
       341 
343 
     | 
    
         
             
                #   resp = client.accept_invitation({
         
     | 
| 
      
 344 
     | 
    
         
            +
                #     administrator_account_id: "__string",
         
     | 
| 
       342 
345 
     | 
    
         
             
                #     invitation_id: "__string", # required
         
     | 
| 
       343 
     | 
    
         
            -
                #     master_account: "__string", 
     | 
| 
      
 346 
     | 
    
         
            +
                #     master_account: "__string",
         
     | 
| 
       344 
347 
     | 
    
         
             
                #   })
         
     | 
| 
       345 
348 
     | 
    
         
             
                #
         
     | 
| 
       346 
349 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation AWS API Documentation
         
     | 
| 
         @@ -681,11 +684,11 @@ module Aws::Macie2 
     | 
|
| 
       681 
684 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       682 
685 
     | 
    
         
             
                end
         
     | 
| 
       683 
686 
     | 
    
         | 
| 
       684 
     | 
    
         
            -
                # Associates an account with an Amazon Macie  
     | 
| 
      
 687 
     | 
    
         
            +
                # Associates an account with an Amazon Macie administrator account.
         
     | 
| 
       685 
688 
     | 
    
         
             
                #
         
     | 
| 
       686 
689 
     | 
    
         
             
                # @option params [required, Types::AccountDetail] :account
         
     | 
| 
       687 
690 
     | 
    
         
             
                #   Specifies details for an account to associate with an Amazon Macie
         
     | 
| 
       688 
     | 
    
         
            -
                #    
     | 
| 
      
 691 
     | 
    
         
            +
                #   administrator account.
         
     | 
| 
       689 
692 
     | 
    
         
             
                #
         
     | 
| 
       690 
693 
     | 
    
         
             
                # @option params [Hash<String,String>] :tags
         
     | 
| 
       691 
694 
     | 
    
         
             
                #   A string-to-string map of key-value pairs that specifies the tags
         
     | 
| 
         @@ -846,8 +849,8 @@ module Aws::Macie2 
     | 
|
| 
       846 
849 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       847 
850 
     | 
    
         
             
                end
         
     | 
| 
       848 
851 
     | 
    
         | 
| 
       849 
     | 
    
         
            -
                # Deletes the association between an Amazon Macie  
     | 
| 
       850 
     | 
    
         
            -
                # account.
         
     | 
| 
      
 852 
     | 
    
         
            +
                # Deletes the association between an Amazon Macie administrator account
         
     | 
| 
      
 853 
     | 
    
         
            +
                # and an account.
         
     | 
| 
       851 
854 
     | 
    
         
             
                #
         
     | 
| 
       852 
855 
     | 
    
         
             
                # @option params [required, String] :id
         
     | 
| 
       853 
856 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1125,7 +1128,23 @@ module Aws::Macie2 
     | 
|
| 
       1125 
1128 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       1126 
1129 
     | 
    
         
             
                end
         
     | 
| 
       1127 
1130 
     | 
    
         | 
| 
       1128 
     | 
    
         
            -
                # Disassociates a member account from its Amazon Macie  
     | 
| 
      
 1131 
     | 
    
         
            +
                # Disassociates a member account from its Amazon Macie administrator
         
     | 
| 
      
 1132 
     | 
    
         
            +
                # account.
         
     | 
| 
      
 1133 
     | 
    
         
            +
                #
         
     | 
| 
      
 1134 
     | 
    
         
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         
     | 
| 
      
 1135 
     | 
    
         
            +
                #
         
     | 
| 
      
 1136 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount AWS API Documentation
         
     | 
| 
      
 1137 
     | 
    
         
            +
                #
         
     | 
| 
      
 1138 
     | 
    
         
            +
                # @overload disassociate_from_administrator_account(params = {})
         
     | 
| 
      
 1139 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 1140 
     | 
    
         
            +
                def disassociate_from_administrator_account(params = {}, options = {})
         
     | 
| 
      
 1141 
     | 
    
         
            +
                  req = build_request(:disassociate_from_administrator_account, params)
         
     | 
| 
      
 1142 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 1143 
     | 
    
         
            +
                end
         
     | 
| 
      
 1144 
     | 
    
         
            +
             
     | 
| 
      
 1145 
     | 
    
         
            +
                # (Deprecated) Disassociates a member account from its Amazon Macie
         
     | 
| 
      
 1146 
     | 
    
         
            +
                # administrator account. This operation has been replaced by the
         
     | 
| 
      
 1147 
     | 
    
         
            +
                # DisassociateFromAdministratorAccount operation.
         
     | 
| 
       1129 
1148 
     | 
    
         
             
                #
         
     | 
| 
       1130 
1149 
     | 
    
         
             
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         
     | 
| 
       1131 
1150 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1138,7 +1157,8 @@ module Aws::Macie2 
     | 
|
| 
       1138 
1157 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       1139 
1158 
     | 
    
         
             
                end
         
     | 
| 
       1140 
1159 
     | 
    
         | 
| 
       1141 
     | 
    
         
            -
                # Disassociates an Amazon Macie  
     | 
| 
      
 1160 
     | 
    
         
            +
                # Disassociates an Amazon Macie administrator account from a member
         
     | 
| 
      
 1161 
     | 
    
         
            +
                # account.
         
     | 
| 
       1142 
1162 
     | 
    
         
             
                #
         
     | 
| 
       1143 
1163 
     | 
    
         
             
                # @option params [required, String] :id
         
     | 
| 
       1144 
1164 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1221,6 +1241,29 @@ module Aws::Macie2 
     | 
|
| 
       1221 
1241 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       1222 
1242 
     | 
    
         
             
                end
         
     | 
| 
       1223 
1243 
     | 
    
         | 
| 
      
 1244 
     | 
    
         
            +
                # Retrieves information about the Amazon Macie administrator account for
         
     | 
| 
      
 1245 
     | 
    
         
            +
                # an account.
         
     | 
| 
      
 1246 
     | 
    
         
            +
                #
         
     | 
| 
      
 1247 
     | 
    
         
            +
                # @return [Types::GetAdministratorAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 1248 
     | 
    
         
            +
                #
         
     | 
| 
      
 1249 
     | 
    
         
            +
                #   * {Types::GetAdministratorAccountResponse#administrator #administrator} => Types::Invitation
         
     | 
| 
      
 1250 
     | 
    
         
            +
                #
         
     | 
| 
      
 1251 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 1252 
     | 
    
         
            +
                #
         
     | 
| 
      
 1253 
     | 
    
         
            +
                #   resp.administrator.account_id #=> String
         
     | 
| 
      
 1254 
     | 
    
         
            +
                #   resp.administrator.invitation_id #=> String
         
     | 
| 
      
 1255 
     | 
    
         
            +
                #   resp.administrator.invited_at #=> Time
         
     | 
| 
      
 1256 
     | 
    
         
            +
                #   resp.administrator.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed", "RegionDisabled", "AccountSuspended"
         
     | 
| 
      
 1257 
     | 
    
         
            +
                #
         
     | 
| 
      
 1258 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount AWS API Documentation
         
     | 
| 
      
 1259 
     | 
    
         
            +
                #
         
     | 
| 
      
 1260 
     | 
    
         
            +
                # @overload get_administrator_account(params = {})
         
     | 
| 
      
 1261 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 1262 
     | 
    
         
            +
                def get_administrator_account(params = {}, options = {})
         
     | 
| 
      
 1263 
     | 
    
         
            +
                  req = build_request(:get_administrator_account, params)
         
     | 
| 
      
 1264 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 1265 
     | 
    
         
            +
                end
         
     | 
| 
      
 1266 
     | 
    
         
            +
             
     | 
| 
       1224 
1267 
     | 
    
         
             
                # Retrieves (queries) aggregated statistical data for all the S3 buckets
         
     | 
| 
       1225 
1268 
     | 
    
         
             
                # that Amazon Macie monitors and analyzes.
         
     | 
| 
       1226 
1269 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1717,8 +1760,9 @@ module Aws::Macie2 
     | 
|
| 
       1717 
1760 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       1718 
1761 
     | 
    
         
             
                end
         
     | 
| 
       1719 
1762 
     | 
    
         | 
| 
       1720 
     | 
    
         
            -
                # Retrieves information about the Amazon Macie 
     | 
| 
       1721 
     | 
    
         
            -
                # account.
         
     | 
| 
      
 1763 
     | 
    
         
            +
                # (Deprecated) Retrieves information about the Amazon Macie
         
     | 
| 
      
 1764 
     | 
    
         
            +
                # administrator account for an account. This operation has been replaced
         
     | 
| 
      
 1765 
     | 
    
         
            +
                # by the GetAdministratorAccount operation.
         
     | 
| 
       1722 
1766 
     | 
    
         
             
                #
         
     | 
| 
       1723 
1767 
     | 
    
         
             
                # @return [Types::GetMasterAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       1724 
1768 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1740,14 +1784,15 @@ module Aws::Macie2 
     | 
|
| 
       1740 
1784 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       1741 
1785 
     | 
    
         
             
                end
         
     | 
| 
       1742 
1786 
     | 
    
         | 
| 
       1743 
     | 
    
         
            -
                # Retrieves information about  
     | 
| 
       1744 
     | 
    
         
            -
                #  
     | 
| 
      
 1787 
     | 
    
         
            +
                # Retrieves information about an account that's associated with an
         
     | 
| 
      
 1788 
     | 
    
         
            +
                # Amazon Macie administrator account.
         
     | 
| 
       1745 
1789 
     | 
    
         
             
                #
         
     | 
| 
       1746 
1790 
     | 
    
         
             
                # @option params [required, String] :id
         
     | 
| 
       1747 
1791 
     | 
    
         
             
                #
         
     | 
| 
       1748 
1792 
     | 
    
         
             
                # @return [Types::GetMemberResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       1749 
1793 
     | 
    
         
             
                #
         
     | 
| 
       1750 
1794 
     | 
    
         
             
                #   * {Types::GetMemberResponse#account_id #account_id} => String
         
     | 
| 
      
 1795 
     | 
    
         
            +
                #   * {Types::GetMemberResponse#administrator_account_id #administrator_account_id} => String
         
     | 
| 
       1751 
1796 
     | 
    
         
             
                #   * {Types::GetMemberResponse#arn #arn} => String
         
     | 
| 
       1752 
1797 
     | 
    
         
             
                #   * {Types::GetMemberResponse#email #email} => String
         
     | 
| 
       1753 
1798 
     | 
    
         
             
                #   * {Types::GetMemberResponse#invited_at #invited_at} => Time
         
     | 
| 
         @@ -1765,6 +1810,7 @@ module Aws::Macie2 
     | 
|
| 
       1765 
1810 
     | 
    
         
             
                # @example Response structure
         
     | 
| 
       1766 
1811 
     | 
    
         
             
                #
         
     | 
| 
       1767 
1812 
     | 
    
         
             
                #   resp.account_id #=> String
         
     | 
| 
      
 1813 
     | 
    
         
            +
                #   resp.administrator_account_id #=> String
         
     | 
| 
       1768 
1814 
     | 
    
         
             
                #   resp.arn #=> String
         
     | 
| 
       1769 
1815 
     | 
    
         
             
                #   resp.email #=> String
         
     | 
| 
       1770 
1816 
     | 
    
         
             
                #   resp.invited_at #=> Time
         
     | 
| 
         @@ -2139,7 +2185,7 @@ module Aws::Macie2 
     | 
|
| 
       2139 
2185 
     | 
    
         
             
                end
         
     | 
| 
       2140 
2186 
     | 
    
         | 
| 
       2141 
2187 
     | 
    
         
             
                # Retrieves information about the accounts that are associated with an
         
     | 
| 
       2142 
     | 
    
         
            -
                # Amazon Macie  
     | 
| 
      
 2188 
     | 
    
         
            +
                # Amazon Macie administrator account.
         
     | 
| 
       2143 
2189 
     | 
    
         
             
                #
         
     | 
| 
       2144 
2190 
     | 
    
         
             
                # @option params [Integer] :max_results
         
     | 
| 
       2145 
2191 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2166,6 +2212,7 @@ module Aws::Macie2 
     | 
|
| 
       2166 
2212 
     | 
    
         
             
                #
         
     | 
| 
       2167 
2213 
     | 
    
         
             
                #   resp.members #=> Array
         
     | 
| 
       2168 
2214 
     | 
    
         
             
                #   resp.members[0].account_id #=> String
         
     | 
| 
      
 2215 
     | 
    
         
            +
                #   resp.members[0].administrator_account_id #=> String
         
     | 
| 
       2169 
2216 
     | 
    
         
             
                #   resp.members[0].arn #=> String
         
     | 
| 
       2170 
2217 
     | 
    
         
             
                #   resp.members[0].email #=> String
         
     | 
| 
       2171 
2218 
     | 
    
         
             
                #   resp.members[0].invited_at #=> Time
         
     | 
| 
         @@ -2502,8 +2549,8 @@ module Aws::Macie2 
     | 
|
| 
       2502 
2549 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       2503 
2550 
     | 
    
         
             
                end
         
     | 
| 
       2504 
2551 
     | 
    
         | 
| 
       2505 
     | 
    
         
            -
                # Enables an Amazon Macie  
     | 
| 
       2506 
     | 
    
         
            -
                #  
     | 
| 
      
 2552 
     | 
    
         
            +
                # Enables an Amazon Macie administrator to suspend or re-enable a member
         
     | 
| 
      
 2553 
     | 
    
         
            +
                # account.
         
     | 
| 
       2507 
2554 
     | 
    
         
             
                #
         
     | 
| 
       2508 
2555 
     | 
    
         
             
                # @option params [required, String] :id
         
     | 
| 
       2509 
2556 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2563,7 +2610,7 @@ module Aws::Macie2 
     | 
|
| 
       2563 
2610 
     | 
    
         
             
                    params: params,
         
     | 
| 
       2564 
2611 
     | 
    
         
             
                    config: config)
         
     | 
| 
       2565 
2612 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-macie2'
         
     | 
| 
       2566 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 2613 
     | 
    
         
            +
                  context[:gem_version] = '1.23.0'
         
     | 
| 
       2567 
2614 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       2568 
2615 
     | 
    
         
             
                end
         
     | 
| 
       2569 
2616 
     | 
    
         | 
| 
         @@ -91,6 +91,8 @@ module Aws::Macie2 
     | 
|
| 
       91 
91 
     | 
    
         
             
                DisableMacieResponse = Shapes::StructureShape.new(name: 'DisableMacieResponse')
         
     | 
| 
       92 
92 
     | 
    
         
             
                DisableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountRequest')
         
     | 
| 
       93 
93 
     | 
    
         
             
                DisableOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountResponse')
         
     | 
| 
      
 94 
     | 
    
         
            +
                DisassociateFromAdministratorAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountRequest')
         
     | 
| 
      
 95 
     | 
    
         
            +
                DisassociateFromAdministratorAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountResponse')
         
     | 
| 
       94 
96 
     | 
    
         
             
                DisassociateFromMasterAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountRequest')
         
     | 
| 
       95 
97 
     | 
    
         
             
                DisassociateFromMasterAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountResponse')
         
     | 
| 
       96 
98 
     | 
    
         
             
                DisassociateMemberRequest = Shapes::StructureShape.new(name: 'DisassociateMemberRequest')
         
     | 
| 
         @@ -117,6 +119,8 @@ module Aws::Macie2 
     | 
|
| 
       117 
119 
     | 
    
         
             
                FindingType = Shapes::StringShape.new(name: 'FindingType')
         
     | 
| 
       118 
120 
     | 
    
         
             
                FindingsFilterAction = Shapes::StringShape.new(name: 'FindingsFilterAction')
         
     | 
| 
       119 
121 
     | 
    
         
             
                FindingsFilterListItem = Shapes::StructureShape.new(name: 'FindingsFilterListItem')
         
     | 
| 
      
 122 
     | 
    
         
            +
                GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
         
     | 
| 
      
 123 
     | 
    
         
            +
                GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
         
     | 
| 
       120 
124 
     | 
    
         
             
                GetBucketStatisticsRequest = Shapes::StructureShape.new(name: 'GetBucketStatisticsRequest')
         
     | 
| 
       121 
125 
     | 
    
         
             
                GetBucketStatisticsResponse = Shapes::StructureShape.new(name: 'GetBucketStatisticsResponse')
         
     | 
| 
       122 
126 
     | 
    
         
             
                GetClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'GetClassificationExportConfigurationRequest')
         
     | 
| 
         @@ -301,8 +305,9 @@ module Aws::Macie2 
     | 
|
| 
       301 
305 
     | 
    
         
             
                __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
         
     | 
| 
       302 
306 
     | 
    
         
             
                __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
         
     | 
| 
       303 
307 
     | 
    
         | 
| 
      
 308 
     | 
    
         
            +
                AcceptInvitationRequest.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
         
     | 
| 
       304 
309 
     | 
    
         
             
                AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "invitationId"))
         
     | 
| 
       305 
     | 
    
         
            -
                AcceptInvitationRequest.add_member(:master_account, Shapes::ShapeRef.new(shape: __string,  
     | 
| 
      
 310 
     | 
    
         
            +
                AcceptInvitationRequest.add_member(:master_account, Shapes::ShapeRef.new(shape: __string, location_name: "masterAccount"))
         
     | 
| 
       306 
311 
     | 
    
         
             
                AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
         
     | 
| 
       307 
312 
     | 
    
         | 
| 
       308 
313 
     | 
    
         
             
                AcceptInvitationResponse.struct_class = Types::AcceptInvitationResponse
         
     | 
| 
         @@ -652,6 +657,10 @@ module Aws::Macie2 
     | 
|
| 
       652 
657 
     | 
    
         | 
| 
       653 
658 
     | 
    
         
             
                DisableOrganizationAdminAccountResponse.struct_class = Types::DisableOrganizationAdminAccountResponse
         
     | 
| 
       654 
659 
     | 
    
         | 
| 
      
 660 
     | 
    
         
            +
                DisassociateFromAdministratorAccountRequest.struct_class = Types::DisassociateFromAdministratorAccountRequest
         
     | 
| 
      
 661 
     | 
    
         
            +
             
     | 
| 
      
 662 
     | 
    
         
            +
                DisassociateFromAdministratorAccountResponse.struct_class = Types::DisassociateFromAdministratorAccountResponse
         
     | 
| 
      
 663 
     | 
    
         
            +
             
     | 
| 
       655 
664 
     | 
    
         
             
                DisassociateFromMasterAccountRequest.struct_class = Types::DisassociateFromMasterAccountRequest
         
     | 
| 
       656 
665 
     | 
    
         | 
| 
       657 
666 
     | 
    
         
             
                DisassociateFromMasterAccountResponse.struct_class = Types::DisassociateFromMasterAccountResponse
         
     | 
| 
         @@ -729,6 +738,11 @@ module Aws::Macie2 
     | 
|
| 
       729 
738 
     | 
    
         
             
                FindingsFilterListItem.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
         
     | 
| 
       730 
739 
     | 
    
         
             
                FindingsFilterListItem.struct_class = Types::FindingsFilterListItem
         
     | 
| 
       731 
740 
     | 
    
         | 
| 
      
 741 
     | 
    
         
            +
                GetAdministratorAccountRequest.struct_class = Types::GetAdministratorAccountRequest
         
     | 
| 
      
 742 
     | 
    
         
            +
             
     | 
| 
      
 743 
     | 
    
         
            +
                GetAdministratorAccountResponse.add_member(:administrator, Shapes::ShapeRef.new(shape: Invitation, location_name: "administrator"))
         
     | 
| 
      
 744 
     | 
    
         
            +
                GetAdministratorAccountResponse.struct_class = Types::GetAdministratorAccountResponse
         
     | 
| 
      
 745 
     | 
    
         
            +
             
     | 
| 
       732 
746 
     | 
    
         
             
                GetBucketStatisticsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
         
     | 
| 
       733 
747 
     | 
    
         
             
                GetBucketStatisticsRequest.struct_class = Types::GetBucketStatisticsRequest
         
     | 
| 
       734 
748 
     | 
    
         | 
| 
         @@ -819,6 +833,7 @@ module Aws::Macie2 
     | 
|
| 
       819 
833 
     | 
    
         
             
                GetMemberRequest.struct_class = Types::GetMemberRequest
         
     | 
| 
       820 
834 
     | 
    
         | 
| 
       821 
835 
     | 
    
         
             
                GetMemberResponse.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
         
     | 
| 
      
 836 
     | 
    
         
            +
                GetMemberResponse.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
         
     | 
| 
       822 
837 
     | 
    
         
             
                GetMemberResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
         
     | 
| 
       823 
838 
     | 
    
         
             
                GetMemberResponse.add_member(:email, Shapes::ShapeRef.new(shape: __string, location_name: "email"))
         
     | 
| 
       824 
839 
     | 
    
         
             
                GetMemberResponse.add_member(:invited_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "invitedAt"))
         
     | 
| 
         @@ -1008,6 +1023,7 @@ module Aws::Macie2 
     | 
|
| 
       1008 
1023 
     | 
    
         
             
                ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
         
     | 
| 
       1009 
1024 
     | 
    
         | 
| 
       1010 
1025 
     | 
    
         
             
                Member.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
         
     | 
| 
      
 1026 
     | 
    
         
            +
                Member.add_member(:administrator_account_id, Shapes::ShapeRef.new(shape: __string, location_name: "administratorAccountId"))
         
     | 
| 
       1011 
1027 
     | 
    
         
             
                Member.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
         
     | 
| 
       1012 
1028 
     | 
    
         
             
                Member.add_member(:email, Shapes::ShapeRef.new(shape: __string, location_name: "email"))
         
     | 
| 
       1013 
1029 
     | 
    
         
             
                Member.add_member(:invited_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "invitedAt"))
         
     | 
| 
         @@ -1641,6 +1657,21 @@ module Aws::Macie2 
     | 
|
| 
       1641 
1657 
     | 
    
         
             
                    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
         
     | 
| 
       1642 
1658 
     | 
    
         
             
                  end)
         
     | 
| 
       1643 
1659 
     | 
    
         | 
| 
      
 1660 
     | 
    
         
            +
                  api.add_operation(:disassociate_from_administrator_account, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
      
 1661 
     | 
    
         
            +
                    o.name = "DisassociateFromAdministratorAccount"
         
     | 
| 
      
 1662 
     | 
    
         
            +
                    o.http_method = "POST"
         
     | 
| 
      
 1663 
     | 
    
         
            +
                    o.http_request_uri = "/administrator/disassociate"
         
     | 
| 
      
 1664 
     | 
    
         
            +
                    o.input = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountRequest)
         
     | 
| 
      
 1665 
     | 
    
         
            +
                    o.output = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountResponse)
         
     | 
| 
      
 1666 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
         
     | 
| 
      
 1667 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
         
     | 
| 
      
 1668 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
         
     | 
| 
      
 1669 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
         
     | 
| 
      
 1670 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         
     | 
| 
      
 1671 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
         
     | 
| 
      
 1672 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
         
     | 
| 
      
 1673 
     | 
    
         
            +
                  end)
         
     | 
| 
      
 1674 
     | 
    
         
            +
             
     | 
| 
       1644 
1675 
     | 
    
         
             
                  api.add_operation(:disassociate_from_master_account, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
       1645 
1676 
     | 
    
         
             
                    o.name = "DisassociateFromMasterAccount"
         
     | 
| 
       1646 
1677 
     | 
    
         
             
                    o.http_method = "POST"
         
     | 
| 
         @@ -1701,6 +1732,21 @@ module Aws::Macie2 
     | 
|
| 
       1701 
1732 
     | 
    
         
             
                    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
         
     | 
| 
       1702 
1733 
     | 
    
         
             
                  end)
         
     | 
| 
       1703 
1734 
     | 
    
         | 
| 
      
 1735 
     | 
    
         
            +
                  api.add_operation(:get_administrator_account, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
      
 1736 
     | 
    
         
            +
                    o.name = "GetAdministratorAccount"
         
     | 
| 
      
 1737 
     | 
    
         
            +
                    o.http_method = "GET"
         
     | 
| 
      
 1738 
     | 
    
         
            +
                    o.http_request_uri = "/administrator"
         
     | 
| 
      
 1739 
     | 
    
         
            +
                    o.input = Shapes::ShapeRef.new(shape: GetAdministratorAccountRequest)
         
     | 
| 
      
 1740 
     | 
    
         
            +
                    o.output = Shapes::ShapeRef.new(shape: GetAdministratorAccountResponse)
         
     | 
| 
      
 1741 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
         
     | 
| 
      
 1742 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
         
     | 
| 
      
 1743 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
         
     | 
| 
      
 1744 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
         
     | 
| 
      
 1745 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         
     | 
| 
      
 1746 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
         
     | 
| 
      
 1747 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ConflictException)
         
     | 
| 
      
 1748 
     | 
    
         
            +
                  end)
         
     | 
| 
      
 1749 
     | 
    
         
            +
             
     | 
| 
       1704 
1750 
     | 
    
         
             
                  api.add_operation(:get_bucket_statistics, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
       1705 
1751 
     | 
    
         
             
                    o.name = "GetBucketStatistics"
         
     | 
| 
       1706 
1752 
     | 
    
         
             
                    o.http_method = "POST"
         
     | 
    
        data/lib/aws-sdk-macie2/types.rb
    CHANGED
    
    | 
         @@ -10,16 +10,25 @@ 
     | 
|
| 
       10 
10 
     | 
    
         
             
            module Aws::Macie2
         
     | 
| 
       11 
11 
     | 
    
         
             
              module Types
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
                # Specifies an Amazon Macie membership invitation to accept.
         
     | 
| 
      
 13 
     | 
    
         
            +
                # Specifies an Amazon Macie membership invitation to accept. In the
         
     | 
| 
      
 14 
     | 
    
         
            +
                # request, you have to specify the ID for the AWS account that sent the
         
     | 
| 
      
 15 
     | 
    
         
            +
                # invitation. Otherwise, a validation error occurs. To specify this ID,
         
     | 
| 
      
 16 
     | 
    
         
            +
                # we recommend that you use the administratorAccountId property instead
         
     | 
| 
      
 17 
     | 
    
         
            +
                # of the masterAccount property. The masterAccount property has been
         
     | 
| 
      
 18 
     | 
    
         
            +
                # deprecated and is retained only for backward compatibility.
         
     | 
| 
       14 
19 
     | 
    
         
             
                #
         
     | 
| 
       15 
20 
     | 
    
         
             
                # @note When making an API call, you may pass AcceptInvitationRequest
         
     | 
| 
       16 
21 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
       17 
22 
     | 
    
         
             
                #
         
     | 
| 
       18 
23 
     | 
    
         
             
                #       {
         
     | 
| 
      
 24 
     | 
    
         
            +
                #         administrator_account_id: "__string",
         
     | 
| 
       19 
25 
     | 
    
         
             
                #         invitation_id: "__string", # required
         
     | 
| 
       20 
     | 
    
         
            -
                #         master_account: "__string", 
     | 
| 
      
 26 
     | 
    
         
            +
                #         master_account: "__string",
         
     | 
| 
       21 
27 
     | 
    
         
             
                #       }
         
     | 
| 
       22 
28 
     | 
    
         
             
                #
         
     | 
| 
      
 29 
     | 
    
         
            +
                # @!attribute [rw] administrator_account_id
         
     | 
| 
      
 30 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 31 
     | 
    
         
            +
                #
         
     | 
| 
       23 
32 
     | 
    
         
             
                # @!attribute [rw] invitation_id
         
     | 
| 
       24 
33 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       25 
34 
     | 
    
         
             
                #
         
     | 
| 
         @@ -29,6 +38,7 @@ module Aws::Macie2 
     | 
|
| 
       29 
38 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitationRequest AWS API Documentation
         
     | 
| 
       30 
39 
     | 
    
         
             
                #
         
     | 
| 
       31 
40 
     | 
    
         
             
                class AcceptInvitationRequest < Struct.new(
         
     | 
| 
      
 41 
     | 
    
         
            +
                  :administrator_account_id,
         
     | 
| 
       32 
42 
     | 
    
         
             
                  :invitation_id,
         
     | 
| 
       33 
43 
     | 
    
         
             
                  :master_account)
         
     | 
| 
       34 
44 
     | 
    
         
             
                  SENSITIVE = []
         
     | 
| 
         @@ -72,7 +82,7 @@ module Aws::Macie2 
     | 
|
| 
       72 
82 
     | 
    
         
             
                end
         
     | 
| 
       73 
83 
     | 
    
         | 
| 
       74 
84 
     | 
    
         
             
                # Specifies details for an account to associate with an Amazon Macie
         
     | 
| 
       75 
     | 
    
         
            -
                #  
     | 
| 
      
 85 
     | 
    
         
            +
                # administrator account.
         
     | 
| 
       76 
86 
     | 
    
         
             
                #
         
     | 
| 
       77 
87 
     | 
    
         
             
                # @note When making an API call, you may pass AccountDetail
         
     | 
| 
       78 
88 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
         @@ -128,7 +138,7 @@ module Aws::Macie2 
     | 
|
| 
       128 
138 
     | 
    
         
             
                #
         
     | 
| 
       129 
139 
     | 
    
         
             
                # @!attribute [rw] status
         
     | 
| 
       130 
140 
     | 
    
         
             
                #   The current status of an account as the delegated Amazon Macie
         
     | 
| 
       131 
     | 
    
         
            -
                #   administrator account for an AWS organization.
         
     | 
| 
      
 141 
     | 
    
         
            +
                #   administrator account for an AWS organization. Possible values are:
         
     | 
| 
       132 
142 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       133 
143 
     | 
    
         
             
                #
         
     | 
| 
       134 
144 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation
         
     | 
| 
         @@ -1264,7 +1274,8 @@ module Aws::Macie2 
     | 
|
| 
       1264 
1274 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       1265 
1275 
     | 
    
         
             
                end
         
     | 
| 
       1266 
1276 
     | 
    
         | 
| 
       1267 
     | 
    
         
            -
                # Specifies an account to associate with an Amazon Macie 
     | 
| 
      
 1277 
     | 
    
         
            +
                # Specifies an AWS account to associate with an Amazon Macie
         
     | 
| 
      
 1278 
     | 
    
         
            +
                # administrator account.
         
     | 
| 
       1268 
1279 
     | 
    
         
             
                #
         
     | 
| 
       1269 
1280 
     | 
    
         
             
                # @note When making an API call, you may pass CreateMemberRequest
         
     | 
| 
       1270 
1281 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
         @@ -1281,7 +1292,7 @@ module Aws::Macie2 
     | 
|
| 
       1281 
1292 
     | 
    
         
             
                #
         
     | 
| 
       1282 
1293 
     | 
    
         
             
                # @!attribute [rw] account
         
     | 
| 
       1283 
1294 
     | 
    
         
             
                #   Specifies details for an account to associate with an Amazon Macie
         
     | 
| 
       1284 
     | 
    
         
            -
                #    
     | 
| 
      
 1295 
     | 
    
         
            +
                #   administrator account.
         
     | 
| 
       1285 
1296 
     | 
    
         
             
                #   @return [Types::AccountDetail]
         
     | 
| 
       1286 
1297 
     | 
    
         
             
                #
         
     | 
| 
       1287 
1298 
     | 
    
         
             
                # @!attribute [rw] tags
         
     | 
| 
         @@ -1300,7 +1311,7 @@ module Aws::Macie2 
     | 
|
| 
       1300 
1311 
     | 
    
         
             
                end
         
     | 
| 
       1301 
1312 
     | 
    
         | 
| 
       1302 
1313 
     | 
    
         
             
                # Provides information about a request to associate an account with an
         
     | 
| 
       1303 
     | 
    
         
            -
                # Amazon Macie  
     | 
| 
      
 1314 
     | 
    
         
            +
                # Amazon Macie administrator account.
         
     | 
| 
       1304 
1315 
     | 
    
         
             
                #
         
     | 
| 
       1305 
1316 
     | 
    
         
             
                # @!attribute [rw] arn
         
     | 
| 
       1306 
1317 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
         @@ -1899,6 +1910,16 @@ module Aws::Macie2 
     | 
|
| 
       1899 
1910 
     | 
    
         
             
                #
         
     | 
| 
       1900 
1911 
     | 
    
         
             
                class DisableOrganizationAdminAccountResponse < Aws::EmptyStructure; end
         
     | 
| 
       1901 
1912 
     | 
    
         | 
| 
      
 1913 
     | 
    
         
            +
                # @api private
         
     | 
| 
      
 1914 
     | 
    
         
            +
                #
         
     | 
| 
      
 1915 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccountRequest AWS API Documentation
         
     | 
| 
      
 1916 
     | 
    
         
            +
                #
         
     | 
| 
      
 1917 
     | 
    
         
            +
                class DisassociateFromAdministratorAccountRequest < Aws::EmptyStructure; end
         
     | 
| 
      
 1918 
     | 
    
         
            +
             
     | 
| 
      
 1919 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccountResponse AWS API Documentation
         
     | 
| 
      
 1920 
     | 
    
         
            +
                #
         
     | 
| 
      
 1921 
     | 
    
         
            +
                class DisassociateFromAdministratorAccountResponse < Aws::EmptyStructure; end
         
     | 
| 
      
 1922 
     | 
    
         
            +
             
     | 
| 
       1902 
1923 
     | 
    
         
             
                # @api private
         
     | 
| 
       1903 
1924 
     | 
    
         
             
                #
         
     | 
| 
       1904 
1925 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccountRequest AWS API Documentation
         
     | 
| 
         @@ -1952,8 +1973,8 @@ module Aws::Macie2 
     | 
|
| 
       1952 
1973 
     | 
    
         
             
                #
         
     | 
| 
       1953 
1974 
     | 
    
         
             
                class Empty < Aws::EmptyStructure; end
         
     | 
| 
       1954 
1975 
     | 
    
         | 
| 
       1955 
     | 
    
         
            -
                # Enables Amazon Macie and specifies the configuration settings for  
     | 
| 
       1956 
     | 
    
         
            -
                #  
     | 
| 
      
 1976 
     | 
    
         
            +
                # Enables Amazon Macie and specifies the configuration settings for a
         
     | 
| 
      
 1977 
     | 
    
         
            +
                # Macie account.
         
     | 
| 
       1957 
1978 
     | 
    
         
             
                #
         
     | 
| 
       1958 
1979 
     | 
    
         
             
                # @note When making an API call, you may pass EnableMacieRequest
         
     | 
| 
       1959 
1980 
     | 
    
         
             
                #   data as a hash:
         
     | 
| 
         @@ -2309,6 +2330,30 @@ module Aws::Macie2 
     | 
|
| 
       2309 
2330 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       2310 
2331 
     | 
    
         
             
                end
         
     | 
| 
       2311 
2332 
     | 
    
         | 
| 
      
 2333 
     | 
    
         
            +
                # @api private
         
     | 
| 
      
 2334 
     | 
    
         
            +
                #
         
     | 
| 
      
 2335 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountRequest AWS API Documentation
         
     | 
| 
      
 2336 
     | 
    
         
            +
                #
         
     | 
| 
      
 2337 
     | 
    
         
            +
                class GetAdministratorAccountRequest < Aws::EmptyStructure; end
         
     | 
| 
      
 2338 
     | 
    
         
            +
             
     | 
| 
      
 2339 
     | 
    
         
            +
                # Provides information about the Amazon Macie administrator account for
         
     | 
| 
      
 2340 
     | 
    
         
            +
                # an account. If the accounts are associated by a Macie membership
         
     | 
| 
      
 2341 
     | 
    
         
            +
                # invitation, the response also provides information about that
         
     | 
| 
      
 2342 
     | 
    
         
            +
                # invitation.
         
     | 
| 
      
 2343 
     | 
    
         
            +
                #
         
     | 
| 
      
 2344 
     | 
    
         
            +
                # @!attribute [rw] administrator
         
     | 
| 
      
 2345 
     | 
    
         
            +
                #   Provides information about an Amazon Macie membership invitation
         
     | 
| 
      
 2346 
     | 
    
         
            +
                #   that was received by an account.
         
     | 
| 
      
 2347 
     | 
    
         
            +
                #   @return [Types::Invitation]
         
     | 
| 
      
 2348 
     | 
    
         
            +
                #
         
     | 
| 
      
 2349 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccountResponse AWS API Documentation
         
     | 
| 
      
 2350 
     | 
    
         
            +
                #
         
     | 
| 
      
 2351 
     | 
    
         
            +
                class GetAdministratorAccountResponse < Struct.new(
         
     | 
| 
      
 2352 
     | 
    
         
            +
                  :administrator)
         
     | 
| 
      
 2353 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 2354 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 2355 
     | 
    
         
            +
                end
         
     | 
| 
      
 2356 
     | 
    
         
            +
             
     | 
| 
       2312 
2357 
     | 
    
         
             
                # Specifies the account that owns the S3 buckets to retrieve aggregated
         
     | 
| 
       2313 
2358 
     | 
    
         
             
                # statistical data for.
         
     | 
| 
       2314 
2359 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2754,10 +2799,10 @@ module Aws::Macie2 
     | 
|
| 
       2754 
2799 
     | 
    
         
             
                #
         
     | 
| 
       2755 
2800 
     | 
    
         
             
                class GetMasterAccountRequest < Aws::EmptyStructure; end
         
     | 
| 
       2756 
2801 
     | 
    
         | 
| 
       2757 
     | 
    
         
            -
                # Provides information about the Amazon Macie  
     | 
| 
       2758 
     | 
    
         
            -
                # account. If the accounts are associated by a Macie 
     | 
| 
       2759 
     | 
    
         
            -
                # invitation, the response also provides information about 
     | 
| 
       2760 
     | 
    
         
            -
                # invitation.
         
     | 
| 
      
 2802 
     | 
    
         
            +
                # (Deprecated) Provides information about the Amazon Macie administrator
         
     | 
| 
      
 2803 
     | 
    
         
            +
                # account for an account. If the accounts are associated by a Macie
         
     | 
| 
      
 2804 
     | 
    
         
            +
                # membership invitation, the response also provides information about
         
     | 
| 
      
 2805 
     | 
    
         
            +
                # that invitation.
         
     | 
| 
       2761 
2806 
     | 
    
         
             
                #
         
     | 
| 
       2762 
2807 
     | 
    
         
             
                # @!attribute [rw] master
         
     | 
| 
       2763 
2808 
     | 
    
         
             
                #   Provides information about an Amazon Macie membership invitation
         
     | 
| 
         @@ -2791,11 +2836,14 @@ module Aws::Macie2 
     | 
|
| 
       2791 
2836 
     | 
    
         
             
                end
         
     | 
| 
       2792 
2837 
     | 
    
         | 
| 
       2793 
2838 
     | 
    
         
             
                # Provides information about an account that's associated with an
         
     | 
| 
       2794 
     | 
    
         
            -
                # Amazon Macie  
     | 
| 
      
 2839 
     | 
    
         
            +
                # Amazon Macie administrator account.
         
     | 
| 
       2795 
2840 
     | 
    
         
             
                #
         
     | 
| 
       2796 
2841 
     | 
    
         
             
                # @!attribute [rw] account_id
         
     | 
| 
       2797 
2842 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       2798 
2843 
     | 
    
         
             
                #
         
     | 
| 
      
 2844 
     | 
    
         
            +
                # @!attribute [rw] administrator_account_id
         
     | 
| 
      
 2845 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 2846 
     | 
    
         
            +
                #
         
     | 
| 
       2799 
2847 
     | 
    
         
             
                # @!attribute [rw] arn
         
     | 
| 
       2800 
2848 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       2801 
2849 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2810,8 +2858,8 @@ module Aws::Macie2 
     | 
|
| 
       2810 
2858 
     | 
    
         
             
                #
         
     | 
| 
       2811 
2859 
     | 
    
         
             
                # @!attribute [rw] relationship_status
         
     | 
| 
       2812 
2860 
     | 
    
         
             
                #   The current status of the relationship between an account and an
         
     | 
| 
       2813 
     | 
    
         
            -
                #   associated Amazon Macie  
     | 
| 
       2814 
     | 
    
         
            -
                #   values are:
         
     | 
| 
      
 2861 
     | 
    
         
            +
                #   associated Amazon Macie administrator account (*inviter account*).
         
     | 
| 
      
 2862 
     | 
    
         
            +
                #   Possible values are:
         
     | 
| 
       2815 
2863 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       2816 
2864 
     | 
    
         
             
                #
         
     | 
| 
       2817 
2865 
     | 
    
         
             
                # @!attribute [rw] tags
         
     | 
| 
         @@ -2827,6 +2875,7 @@ module Aws::Macie2 
     | 
|
| 
       2827 
2875 
     | 
    
         
             
                #
         
     | 
| 
       2828 
2876 
     | 
    
         
             
                class GetMemberResponse < Struct.new(
         
     | 
| 
       2829 
2877 
     | 
    
         
             
                  :account_id,
         
     | 
| 
      
 2878 
     | 
    
         
            +
                  :administrator_account_id,
         
     | 
| 
       2830 
2879 
     | 
    
         
             
                  :arn,
         
     | 
| 
       2831 
2880 
     | 
    
         
             
                  :email,
         
     | 
| 
       2832 
2881 
     | 
    
         
             
                  :invited_at,
         
     | 
| 
         @@ -3027,8 +3076,8 @@ module Aws::Macie2 
     | 
|
| 
       3027 
3076 
     | 
    
         
             
                #
         
     | 
| 
       3028 
3077 
     | 
    
         
             
                # @!attribute [rw] relationship_status
         
     | 
| 
       3029 
3078 
     | 
    
         
             
                #   The current status of the relationship between an account and an
         
     | 
| 
       3030 
     | 
    
         
            -
                #   associated Amazon Macie  
     | 
| 
       3031 
     | 
    
         
            -
                #   values are:
         
     | 
| 
      
 3079 
     | 
    
         
            +
                #   associated Amazon Macie administrator account (*inviter account*).
         
     | 
| 
      
 3080 
     | 
    
         
            +
                #   Possible values are:
         
     | 
| 
       3032 
3081 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       3033 
3082 
     | 
    
         
             
                #
         
     | 
| 
       3034 
3083 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Invitation AWS API Documentation
         
     | 
| 
         @@ -3660,7 +3709,7 @@ module Aws::Macie2 
     | 
|
| 
       3660 
3709 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       3661 
3710 
     | 
    
         
             
                end
         
     | 
| 
       3662 
3711 
     | 
    
         | 
| 
       3663 
     | 
    
         
            -
                # Provides information about  
     | 
| 
      
 3712 
     | 
    
         
            +
                # Provides information about the Amazon Macie membership invitations
         
     | 
| 
       3664 
3713 
     | 
    
         
             
                # that were received by an account.
         
     | 
| 
       3665 
3714 
     | 
    
         
             
                #
         
     | 
| 
       3666 
3715 
     | 
    
         
             
                # @!attribute [rw] invitations
         
     | 
| 
         @@ -3806,7 +3855,7 @@ module Aws::Macie2 
     | 
|
| 
       3806 
3855 
     | 
    
         
             
                end
         
     | 
| 
       3807 
3856 
     | 
    
         | 
| 
       3808 
3857 
     | 
    
         
             
                # Provides information about the accounts that are associated with an
         
     | 
| 
       3809 
     | 
    
         
            -
                # Amazon Macie  
     | 
| 
      
 3858 
     | 
    
         
            +
                # Amazon Macie administrator account.
         
     | 
| 
       3810 
3859 
     | 
    
         
             
                #
         
     | 
| 
       3811 
3860 
     | 
    
         
             
                # @!attribute [rw] members
         
     | 
| 
       3812 
3861 
     | 
    
         
             
                #   @return [Array<Types::Member>]
         
     | 
| 
         @@ -3901,11 +3950,14 @@ module Aws::Macie2 
     | 
|
| 
       3901 
3950 
     | 
    
         
             
                end
         
     | 
| 
       3902 
3951 
     | 
    
         | 
| 
       3903 
3952 
     | 
    
         
             
                # Provides information about an account that's associated with an
         
     | 
| 
       3904 
     | 
    
         
            -
                # Amazon Macie  
     | 
| 
      
 3953 
     | 
    
         
            +
                # Amazon Macie administrator account.
         
     | 
| 
       3905 
3954 
     | 
    
         
             
                #
         
     | 
| 
       3906 
3955 
     | 
    
         
             
                # @!attribute [rw] account_id
         
     | 
| 
       3907 
3956 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       3908 
3957 
     | 
    
         
             
                #
         
     | 
| 
      
 3958 
     | 
    
         
            +
                # @!attribute [rw] administrator_account_id
         
     | 
| 
      
 3959 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 3960 
     | 
    
         
            +
                #
         
     | 
| 
       3909 
3961 
     | 
    
         
             
                # @!attribute [rw] arn
         
     | 
| 
       3910 
3962 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       3911 
3963 
     | 
    
         
             
                #
         
     | 
| 
         @@ -3920,8 +3972,8 @@ module Aws::Macie2 
     | 
|
| 
       3920 
3972 
     | 
    
         
             
                #
         
     | 
| 
       3921 
3973 
     | 
    
         
             
                # @!attribute [rw] relationship_status
         
     | 
| 
       3922 
3974 
     | 
    
         
             
                #   The current status of the relationship between an account and an
         
     | 
| 
       3923 
     | 
    
         
            -
                #   associated Amazon Macie  
     | 
| 
       3924 
     | 
    
         
            -
                #   values are:
         
     | 
| 
      
 3975 
     | 
    
         
            +
                #   associated Amazon Macie administrator account (*inviter account*).
         
     | 
| 
      
 3976 
     | 
    
         
            +
                #   Possible values are:
         
     | 
| 
       3925 
3977 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       3926 
3978 
     | 
    
         
             
                #
         
     | 
| 
       3927 
3979 
     | 
    
         
             
                # @!attribute [rw] tags
         
     | 
| 
         @@ -3937,6 +3989,7 @@ module Aws::Macie2 
     | 
|
| 
       3937 
3989 
     | 
    
         
             
                #
         
     | 
| 
       3938 
3990 
     | 
    
         
             
                class Member < Struct.new(
         
     | 
| 
       3939 
3991 
     | 
    
         
             
                  :account_id,
         
     | 
| 
      
 3992 
     | 
    
         
            +
                  :administrator_account_id,
         
     | 
| 
       3940 
3993 
     | 
    
         
             
                  :arn,
         
     | 
| 
       3941 
3994 
     | 
    
         
             
                  :email,
         
     | 
| 
       3942 
3995 
     | 
    
         
             
                  :invited_at,
         
     | 
| 
         @@ -5031,7 +5084,7 @@ module Aws::Macie2 
     | 
|
| 
       5031 
5084 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       5032 
5085 
     | 
    
         
             
                #
         
     | 
| 
       5033 
5086 
     | 
    
         
             
                # @!attribute [rw] error_code
         
     | 
| 
       5034 
     | 
    
         
            -
                #   The source of an  
     | 
| 
      
 5087 
     | 
    
         
            +
                #   The source of an issue or delay. Possible values are:
         
     | 
| 
       5035 
5088 
     | 
    
         
             
                #   @return [String]
         
     | 
| 
       5036 
5089 
     | 
    
         
             
                #
         
     | 
| 
       5037 
5090 
     | 
    
         
             
                # @!attribute [rw] error_message
         
     | 
| 
         @@ -5258,7 +5311,7 @@ module Aws::Macie2 
     | 
|
| 
       5258 
5311 
     | 
    
         
             
                #
         
     | 
| 
       5259 
5312 
     | 
    
         
             
                class UpdateMemberSessionResponse < Aws::EmptyStructure; end
         
     | 
| 
       5260 
5313 
     | 
    
         | 
| 
       5261 
     | 
    
         
            -
                # Specifies whether Amazon Macie  
     | 
| 
      
 5314 
     | 
    
         
            +
                # Specifies whether to enable Amazon Macie automatically for accounts
         
     | 
| 
       5262 
5315 
     | 
    
         
             
                # that are added to an AWS organization.
         
     | 
| 
       5263 
5316 
     | 
    
         
             
                #
         
     | 
| 
       5264 
5317 
     | 
    
         
             
                # @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-macie2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.23.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-02- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-02-12 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     |