aws-sdk-workmail 1.23.0 → 1.28.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-workmail.rb +4 -2
- data/lib/aws-sdk-workmail/client.rb +141 -13
- data/lib/aws-sdk-workmail/client_api.rb +82 -1
- data/lib/aws-sdk-workmail/errors.rb +2 -0
- data/lib/aws-sdk-workmail/resource.rb +2 -0
- data/lib/aws-sdk-workmail/types.rb +255 -1
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 14ec32cc71f6ab22e571e51c3c940205fa2268f46364a02ed551c95c1a8125d1
         | 
| 4 | 
            +
              data.tar.gz: aff03386d3dc1470e2110c52ff46d0ef4afa7199faa8a376b063bfb109c65fe6
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4f15fa2c9da01bc3d689c333a25f143c494dbe6e432e9376dacdcbb85feae98da36601cf00927a29183e12396d2b178da4552f1e65120ce188f6eb6ef85d3119
         | 
| 7 | 
            +
              data.tar.gz: 98e1c950d0ea35835340f9af702cddbfe7f020b93a84524a62dad17e935ed96b7217c9103c71c8813758382013cde81780393863fc5a1a7dd8579ac44ffc7f1a
         | 
    
        data/lib/aws-sdk-workmail.rb
    CHANGED
    
    | @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -42,9 +44,9 @@ require_relative 'aws-sdk-workmail/customizations' | |
| 42 44 | 
             
            #
         | 
| 43 45 | 
             
            # See {Errors} for more information.
         | 
| 44 46 | 
             
            #
         | 
| 45 | 
            -
            #  | 
| 47 | 
            +
            # @!group service
         | 
| 46 48 | 
             
            module Aws::WorkMail
         | 
| 47 49 |  | 
| 48 | 
            -
              GEM_VERSION = '1. | 
| 50 | 
            +
              GEM_VERSION = '1.28.0'
         | 
| 49 51 |  | 
| 50 52 | 
             
            end
         | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb' | |
| 24 26 | 
             
            require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
         | 
| 25 27 | 
             
            require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
         | 
| 26 28 | 
             
            require 'aws-sdk-core/plugins/transfer_encoding.rb'
         | 
| 29 | 
            +
            require 'aws-sdk-core/plugins/http_checksum.rb'
         | 
| 27 30 | 
             
            require 'aws-sdk-core/plugins/signature_v4.rb'
         | 
| 28 31 | 
             
            require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
         | 
| 29 32 |  | 
| @@ -69,6 +72,7 @@ module Aws::WorkMail | |
| 69 72 | 
             
                add_plugin(Aws::Plugins::ClientMetricsPlugin)
         | 
| 70 73 | 
             
                add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
         | 
| 71 74 | 
             
                add_plugin(Aws::Plugins::TransferEncoding)
         | 
| 75 | 
            +
                add_plugin(Aws::Plugins::HttpChecksum)
         | 
| 72 76 | 
             
                add_plugin(Aws::Plugins::SignatureV4)
         | 
| 73 77 | 
             
                add_plugin(Aws::Plugins::Protocols::JsonRpc)
         | 
| 74 78 |  | 
| @@ -81,13 +85,28 @@ module Aws::WorkMail | |
| 81 85 | 
             
                #     * `Aws::Credentials` - Used for configuring static, non-refreshing
         | 
| 82 86 | 
             
                #       credentials.
         | 
| 83 87 | 
             
                #
         | 
| 88 | 
            +
                #     * `Aws::SharedCredentials` - Used for loading static credentials from a
         | 
| 89 | 
            +
                #       shared file, such as `~/.aws/config`.
         | 
| 90 | 
            +
                #
         | 
| 91 | 
            +
                #     * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
         | 
| 92 | 
            +
                #
         | 
| 93 | 
            +
                #     * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
         | 
| 94 | 
            +
                #       assume a role after providing credentials via the web.
         | 
| 95 | 
            +
                #
         | 
| 96 | 
            +
                #     * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
         | 
| 97 | 
            +
                #       access token generated from `aws login`.
         | 
| 98 | 
            +
                #
         | 
| 99 | 
            +
                #     * `Aws::ProcessCredentials` - Used for loading credentials from a
         | 
| 100 | 
            +
                #       process that outputs to stdout.
         | 
| 101 | 
            +
                #
         | 
| 84 102 | 
             
                #     * `Aws::InstanceProfileCredentials` - Used for loading credentials
         | 
| 85 103 | 
             
                #       from an EC2 IMDS on an EC2 instance.
         | 
| 86 104 | 
             
                #
         | 
| 87 | 
            -
                #     * `Aws:: | 
| 88 | 
            -
                #        | 
| 105 | 
            +
                #     * `Aws::ECSCredentials` - Used for loading credentials from
         | 
| 106 | 
            +
                #       instances running in ECS.
         | 
| 89 107 | 
             
                #
         | 
| 90 | 
            -
                #     * `Aws:: | 
| 108 | 
            +
                #     * `Aws::CognitoIdentityCredentials` - Used for loading credentials
         | 
| 109 | 
            +
                #       from the Cognito Identity service.
         | 
| 91 110 | 
             
                #
         | 
| 92 111 | 
             
                #     When `:credentials` are not configured directly, the following
         | 
| 93 112 | 
             
                #     locations will be searched for credentials:
         | 
| @@ -97,10 +116,10 @@ module Aws::WorkMail | |
| 97 116 | 
             
                #     * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
         | 
| 98 117 | 
             
                #     * `~/.aws/credentials`
         | 
| 99 118 | 
             
                #     * `~/.aws/config`
         | 
| 100 | 
            -
                #     * EC2 IMDS instance profile - When used by default, the timeouts | 
| 101 | 
            -
                #       very aggressive. Construct and pass an instance of
         | 
| 102 | 
            -
                #       `Aws::InstanceProfileCredentails`  | 
| 103 | 
            -
                #       timeouts.
         | 
| 119 | 
            +
                #     * EC2/ECS IMDS instance profile - When used by default, the timeouts
         | 
| 120 | 
            +
                #       are very aggressive. Construct and pass an instance of
         | 
| 121 | 
            +
                #       `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
         | 
| 122 | 
            +
                #       enable retries and extended timeouts.
         | 
| 104 123 | 
             
                #
         | 
| 105 124 | 
             
                #   @option options [required, String] :region
         | 
| 106 125 | 
             
                #     The AWS region to connect to.  The configured `:region` is
         | 
| @@ -161,7 +180,7 @@ module Aws::WorkMail | |
| 161 180 | 
             
                #   @option options [String] :endpoint
         | 
| 162 181 | 
             
                #     The client endpoint is normally constructed from the `:region`
         | 
| 163 182 | 
             
                #     option. You should only configure an `:endpoint` when connecting
         | 
| 164 | 
            -
                #     to test endpoints. This should be a valid HTTP(S) URI.
         | 
| 183 | 
            +
                #     to test or custom endpoints. This should be a valid HTTP(S) URI.
         | 
| 165 184 | 
             
                #
         | 
| 166 185 | 
             
                #   @option options [Integer] :endpoint_cache_max_entries (1000)
         | 
| 167 186 | 
             
                #     Used for the maximum size limit of the LRU cache storing endpoints data
         | 
| @@ -176,7 +195,7 @@ module Aws::WorkMail | |
| 176 195 | 
             
                #     requests fetching endpoints information. Defaults to 60 sec.
         | 
| 177 196 | 
             
                #
         | 
| 178 197 | 
             
                #   @option options [Boolean] :endpoint_discovery (false)
         | 
| 179 | 
            -
                #     When set to `true`, endpoint discovery will be enabled for operations when available. | 
| 198 | 
            +
                #     When set to `true`, endpoint discovery will be enabled for operations when available.
         | 
| 180 199 | 
             
                #
         | 
| 181 200 | 
             
                #   @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
         | 
| 182 201 | 
             
                #     The log formatter.
         | 
| @@ -525,7 +544,7 @@ module Aws::WorkMail | |
| 525 544 | 
             
                # Deletes an access control rule for the specified WorkMail
         | 
| 526 545 | 
             
                # organization.
         | 
| 527 546 | 
             
                #
         | 
| 528 | 
            -
                # @option params [String] :organization_id
         | 
| 547 | 
            +
                # @option params [required, String] :organization_id
         | 
| 529 548 | 
             
                #   The identifier for the organization.
         | 
| 530 549 | 
             
                #
         | 
| 531 550 | 
             
                # @option params [required, String] :name
         | 
| @@ -536,7 +555,7 @@ module Aws::WorkMail | |
| 536 555 | 
             
                # @example Request syntax with placeholder values
         | 
| 537 556 | 
             
                #
         | 
| 538 557 | 
             
                #   resp = client.delete_access_control_rule({
         | 
| 539 | 
            -
                #     organization_id: "OrganizationId",
         | 
| 558 | 
            +
                #     organization_id: "OrganizationId", # required
         | 
| 540 559 | 
             
                #     name: "AccessControlRuleName", # required
         | 
| 541 560 | 
             
                #   })
         | 
| 542 561 | 
             
                #
         | 
| @@ -668,6 +687,33 @@ module Aws::WorkMail | |
| 668 687 | 
             
                  req.send_request(options)
         | 
| 669 688 | 
             
                end
         | 
| 670 689 |  | 
| 690 | 
            +
                # Deletes the specified retention policy from the specified
         | 
| 691 | 
            +
                # organization.
         | 
| 692 | 
            +
                #
         | 
| 693 | 
            +
                # @option params [required, String] :organization_id
         | 
| 694 | 
            +
                #   The organization ID.
         | 
| 695 | 
            +
                #
         | 
| 696 | 
            +
                # @option params [required, String] :id
         | 
| 697 | 
            +
                #   The retention policy ID.
         | 
| 698 | 
            +
                #
         | 
| 699 | 
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 700 | 
            +
                #
         | 
| 701 | 
            +
                # @example Request syntax with placeholder values
         | 
| 702 | 
            +
                #
         | 
| 703 | 
            +
                #   resp = client.delete_retention_policy({
         | 
| 704 | 
            +
                #     organization_id: "OrganizationId", # required
         | 
| 705 | 
            +
                #     id: "ShortString", # required
         | 
| 706 | 
            +
                #   })
         | 
| 707 | 
            +
                #
         | 
| 708 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicy AWS API Documentation
         | 
| 709 | 
            +
                #
         | 
| 710 | 
            +
                # @overload delete_retention_policy(params = {})
         | 
| 711 | 
            +
                # @param [Hash] params ({})
         | 
| 712 | 
            +
                def delete_retention_policy(params = {}, options = {})
         | 
| 713 | 
            +
                  req = build_request(:delete_retention_policy, params)
         | 
| 714 | 
            +
                  req.send_request(options)
         | 
| 715 | 
            +
                end
         | 
| 716 | 
            +
             | 
| 671 717 | 
             
                # Deletes a user from Amazon WorkMail and all subsequent systems. Before
         | 
| 672 718 | 
             
                # you can delete a user, the user state must be `DISABLED`. Use the
         | 
| 673 719 | 
             
                # DescribeUser action to confirm the user state.
         | 
| @@ -1019,6 +1065,44 @@ module Aws::WorkMail | |
| 1019 1065 | 
             
                  req.send_request(options)
         | 
| 1020 1066 | 
             
                end
         | 
| 1021 1067 |  | 
| 1068 | 
            +
                # Gets the default retention policy details for the specified
         | 
| 1069 | 
            +
                # organization.
         | 
| 1070 | 
            +
                #
         | 
| 1071 | 
            +
                # @option params [required, String] :organization_id
         | 
| 1072 | 
            +
                #   The organization ID.
         | 
| 1073 | 
            +
                #
         | 
| 1074 | 
            +
                # @return [Types::GetDefaultRetentionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 1075 | 
            +
                #
         | 
| 1076 | 
            +
                #   * {Types::GetDefaultRetentionPolicyResponse#id #id} => String
         | 
| 1077 | 
            +
                #   * {Types::GetDefaultRetentionPolicyResponse#name #name} => String
         | 
| 1078 | 
            +
                #   * {Types::GetDefaultRetentionPolicyResponse#description #description} => String
         | 
| 1079 | 
            +
                #   * {Types::GetDefaultRetentionPolicyResponse#folder_configurations #folder_configurations} => Array<Types::FolderConfiguration>
         | 
| 1080 | 
            +
                #
         | 
| 1081 | 
            +
                # @example Request syntax with placeholder values
         | 
| 1082 | 
            +
                #
         | 
| 1083 | 
            +
                #   resp = client.get_default_retention_policy({
         | 
| 1084 | 
            +
                #     organization_id: "OrganizationId", # required
         | 
| 1085 | 
            +
                #   })
         | 
| 1086 | 
            +
                #
         | 
| 1087 | 
            +
                # @example Response structure
         | 
| 1088 | 
            +
                #
         | 
| 1089 | 
            +
                #   resp.id #=> String
         | 
| 1090 | 
            +
                #   resp.name #=> String
         | 
| 1091 | 
            +
                #   resp.description #=> String
         | 
| 1092 | 
            +
                #   resp.folder_configurations #=> Array
         | 
| 1093 | 
            +
                #   resp.folder_configurations[0].name #=> String, one of "INBOX", "DELETED_ITEMS", "SENT_ITEMS", "DRAFTS", "JUNK_EMAIL"
         | 
| 1094 | 
            +
                #   resp.folder_configurations[0].action #=> String, one of "NONE", "DELETE", "PERMANENTLY_DELETE"
         | 
| 1095 | 
            +
                #   resp.folder_configurations[0].period #=> Integer
         | 
| 1096 | 
            +
                #
         | 
| 1097 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicy AWS API Documentation
         | 
| 1098 | 
            +
                #
         | 
| 1099 | 
            +
                # @overload get_default_retention_policy(params = {})
         | 
| 1100 | 
            +
                # @param [Hash] params ({})
         | 
| 1101 | 
            +
                def get_default_retention_policy(params = {}, options = {})
         | 
| 1102 | 
            +
                  req = build_request(:get_default_retention_policy, params)
         | 
| 1103 | 
            +
                  req.send_request(options)
         | 
| 1104 | 
            +
                end
         | 
| 1105 | 
            +
             | 
| 1022 1106 | 
             
                # Requests a user's mailbox details for a specified organization and
         | 
| 1023 1107 | 
             
                # user.
         | 
| 1024 1108 | 
             
                #
         | 
| @@ -1299,7 +1383,7 @@ module Aws::WorkMail | |
| 1299 1383 | 
             
                  req.send_request(options)
         | 
| 1300 1384 | 
             
                end
         | 
| 1301 1385 |  | 
| 1302 | 
            -
                # Returns summaries of the customer's  | 
| 1386 | 
            +
                # Returns summaries of the customer's organizations.
         | 
| 1303 1387 | 
             
                #
         | 
| 1304 1388 | 
             
                # @option params [String] :next_token
         | 
| 1305 1389 | 
             
                #   The token to use to retrieve the next page of results. The first call
         | 
| @@ -1625,6 +1709,50 @@ module Aws::WorkMail | |
| 1625 1709 | 
             
                  req.send_request(options)
         | 
| 1626 1710 | 
             
                end
         | 
| 1627 1711 |  | 
| 1712 | 
            +
                # Puts a retention policy to the specified organization.
         | 
| 1713 | 
            +
                #
         | 
| 1714 | 
            +
                # @option params [required, String] :organization_id
         | 
| 1715 | 
            +
                #   The organization ID.
         | 
| 1716 | 
            +
                #
         | 
| 1717 | 
            +
                # @option params [String] :id
         | 
| 1718 | 
            +
                #   The retention policy ID.
         | 
| 1719 | 
            +
                #
         | 
| 1720 | 
            +
                # @option params [required, String] :name
         | 
| 1721 | 
            +
                #   The retention policy name.
         | 
| 1722 | 
            +
                #
         | 
| 1723 | 
            +
                # @option params [String] :description
         | 
| 1724 | 
            +
                #   The retention policy description.
         | 
| 1725 | 
            +
                #
         | 
| 1726 | 
            +
                # @option params [required, Array<Types::FolderConfiguration>] :folder_configurations
         | 
| 1727 | 
            +
                #   The retention policy folder configurations.
         | 
| 1728 | 
            +
                #
         | 
| 1729 | 
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 1730 | 
            +
                #
         | 
| 1731 | 
            +
                # @example Request syntax with placeholder values
         | 
| 1732 | 
            +
                #
         | 
| 1733 | 
            +
                #   resp = client.put_retention_policy({
         | 
| 1734 | 
            +
                #     organization_id: "OrganizationId", # required
         | 
| 1735 | 
            +
                #     id: "ShortString",
         | 
| 1736 | 
            +
                #     name: "ShortString", # required
         | 
| 1737 | 
            +
                #     description: "PolicyDescription",
         | 
| 1738 | 
            +
                #     folder_configurations: [ # required
         | 
| 1739 | 
            +
                #       {
         | 
| 1740 | 
            +
                #         name: "INBOX", # required, accepts INBOX, DELETED_ITEMS, SENT_ITEMS, DRAFTS, JUNK_EMAIL
         | 
| 1741 | 
            +
                #         action: "NONE", # required, accepts NONE, DELETE, PERMANENTLY_DELETE
         | 
| 1742 | 
            +
                #         period: 1,
         | 
| 1743 | 
            +
                #       },
         | 
| 1744 | 
            +
                #     ],
         | 
| 1745 | 
            +
                #   })
         | 
| 1746 | 
            +
                #
         | 
| 1747 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutRetentionPolicy AWS API Documentation
         | 
| 1748 | 
            +
                #
         | 
| 1749 | 
            +
                # @overload put_retention_policy(params = {})
         | 
| 1750 | 
            +
                # @param [Hash] params ({})
         | 
| 1751 | 
            +
                def put_retention_policy(params = {}, options = {})
         | 
| 1752 | 
            +
                  req = build_request(:put_retention_policy, params)
         | 
| 1753 | 
            +
                  req.send_request(options)
         | 
| 1754 | 
            +
                end
         | 
| 1755 | 
            +
             | 
| 1628 1756 | 
             
                # Registers an existing and disabled user, group, or resource for Amazon
         | 
| 1629 1757 | 
             
                # WorkMail use by associating a mailbox and calendaring capabilities. It
         | 
| 1630 1758 | 
             
                # performs no change if the user, group, or resource is enabled and
         | 
| @@ -1880,7 +2008,7 @@ module Aws::WorkMail | |
| 1880 2008 | 
             
                    params: params,
         | 
| 1881 2009 | 
             
                    config: config)
         | 
| 1882 2010 | 
             
                  context[:gem_name] = 'aws-sdk-workmail'
         | 
| 1883 | 
            -
                  context[:gem_version] = '1. | 
| 2011 | 
            +
                  context[:gem_version] = '1.28.0'
         | 
| 1884 2012 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 1885 2013 | 
             
                end
         | 
| 1886 2014 |  | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -46,6 +48,8 @@ module Aws::WorkMail | |
| 46 48 | 
             
                DeleteMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsResponse')
         | 
| 47 49 | 
             
                DeleteResourceRequest = Shapes::StructureShape.new(name: 'DeleteResourceRequest')
         | 
| 48 50 | 
             
                DeleteResourceResponse = Shapes::StructureShape.new(name: 'DeleteResourceResponse')
         | 
| 51 | 
            +
                DeleteRetentionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyRequest')
         | 
| 52 | 
            +
                DeleteRetentionPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyResponse')
         | 
| 49 53 | 
             
                DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
         | 
| 50 54 | 
             
                DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
         | 
| 51 55 | 
             
                DeregisterFromWorkMailRequest = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailRequest')
         | 
| @@ -70,8 +74,13 @@ module Aws::WorkMail | |
| 70 74 | 
             
                EntityNotFoundException = Shapes::StructureShape.new(name: 'EntityNotFoundException')
         | 
| 71 75 | 
             
                EntityState = Shapes::StringShape.new(name: 'EntityState')
         | 
| 72 76 | 
             
                EntityStateException = Shapes::StructureShape.new(name: 'EntityStateException')
         | 
| 77 | 
            +
                FolderConfiguration = Shapes::StructureShape.new(name: 'FolderConfiguration')
         | 
| 78 | 
            +
                FolderConfigurations = Shapes::ListShape.new(name: 'FolderConfigurations')
         | 
| 79 | 
            +
                FolderName = Shapes::StringShape.new(name: 'FolderName')
         | 
| 73 80 | 
             
                GetAccessControlEffectRequest = Shapes::StructureShape.new(name: 'GetAccessControlEffectRequest')
         | 
| 74 81 | 
             
                GetAccessControlEffectResponse = Shapes::StructureShape.new(name: 'GetAccessControlEffectResponse')
         | 
| 82 | 
            +
                GetDefaultRetentionPolicyRequest = Shapes::StructureShape.new(name: 'GetDefaultRetentionPolicyRequest')
         | 
| 83 | 
            +
                GetDefaultRetentionPolicyResponse = Shapes::StructureShape.new(name: 'GetDefaultRetentionPolicyResponse')
         | 
| 75 84 | 
             
                GetMailboxDetailsRequest = Shapes::StructureShape.new(name: 'GetMailboxDetailsRequest')
         | 
| 76 85 | 
             
                GetMailboxDetailsResponse = Shapes::StructureShape.new(name: 'GetMailboxDetailsResponse')
         | 
| 77 86 | 
             
                Group = Shapes::StructureShape.new(name: 'Group')
         | 
| @@ -125,10 +134,13 @@ module Aws::WorkMail | |
| 125 134 | 
             
                PermissionType = Shapes::StringShape.new(name: 'PermissionType')
         | 
| 126 135 | 
             
                PermissionValues = Shapes::ListShape.new(name: 'PermissionValues')
         | 
| 127 136 | 
             
                Permissions = Shapes::ListShape.new(name: 'Permissions')
         | 
| 137 | 
            +
                PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
         | 
| 128 138 | 
             
                PutAccessControlRuleRequest = Shapes::StructureShape.new(name: 'PutAccessControlRuleRequest')
         | 
| 129 139 | 
             
                PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
         | 
| 130 140 | 
             
                PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
         | 
| 131 141 | 
             
                PutMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'PutMailboxPermissionsResponse')
         | 
| 142 | 
            +
                PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
         | 
| 143 | 
            +
                PutRetentionPolicyResponse = Shapes::StructureShape.new(name: 'PutRetentionPolicyResponse')
         | 
| 132 144 | 
             
                RegisterToWorkMailRequest = Shapes::StructureShape.new(name: 'RegisterToWorkMailRequest')
         | 
| 133 145 | 
             
                RegisterToWorkMailResponse = Shapes::StructureShape.new(name: 'RegisterToWorkMailResponse')
         | 
| 134 146 | 
             
                ReservedNameException = Shapes::StructureShape.new(name: 'ReservedNameException')
         | 
| @@ -141,6 +153,9 @@ module Aws::WorkMail | |
| 141 153 | 
             
                ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
         | 
| 142 154 | 
             
                ResourceType = Shapes::StringShape.new(name: 'ResourceType')
         | 
| 143 155 | 
             
                Resources = Shapes::ListShape.new(name: 'Resources')
         | 
| 156 | 
            +
                RetentionAction = Shapes::StringShape.new(name: 'RetentionAction')
         | 
| 157 | 
            +
                RetentionPeriod = Shapes::IntegerShape.new(name: 'RetentionPeriod')
         | 
| 158 | 
            +
                ShortString = Shapes::StringShape.new(name: 'ShortString')
         | 
| 144 159 | 
             
                String = Shapes::StringShape.new(name: 'String')
         | 
| 145 160 | 
             
                Tag = Shapes::StructureShape.new(name: 'Tag')
         | 
| 146 161 | 
             
                TagKey = Shapes::StringShape.new(name: 'TagKey')
         | 
| @@ -242,7 +257,7 @@ module Aws::WorkMail | |
| 242 257 | 
             
                Delegate.add_member(:type, Shapes::ShapeRef.new(shape: MemberType, required: true, location_name: "Type"))
         | 
| 243 258 | 
             
                Delegate.struct_class = Types::Delegate
         | 
| 244 259 |  | 
| 245 | 
            -
                DeleteAccessControlRuleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
         | 
| 260 | 
            +
                DeleteAccessControlRuleRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 246 261 | 
             
                DeleteAccessControlRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessControlRuleName, required: true, location_name: "Name"))
         | 
| 247 262 | 
             
                DeleteAccessControlRuleRequest.struct_class = Types::DeleteAccessControlRuleRequest
         | 
| 248 263 |  | 
| @@ -274,6 +289,12 @@ module Aws::WorkMail | |
| 274 289 |  | 
| 275 290 | 
             
                DeleteResourceResponse.struct_class = Types::DeleteResourceResponse
         | 
| 276 291 |  | 
| 292 | 
            +
                DeleteRetentionPolicyRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 293 | 
            +
                DeleteRetentionPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: ShortString, required: true, location_name: "Id"))
         | 
| 294 | 
            +
                DeleteRetentionPolicyRequest.struct_class = Types::DeleteRetentionPolicyRequest
         | 
| 295 | 
            +
             | 
| 296 | 
            +
                DeleteRetentionPolicyResponse.struct_class = Types::DeleteRetentionPolicyResponse
         | 
| 297 | 
            +
             | 
| 277 298 | 
             
                DeleteUserRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 278 299 | 
             
                DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
         | 
| 279 300 | 
             
                DeleteUserRequest.struct_class = Types::DeleteUserRequest
         | 
| @@ -372,6 +393,13 @@ module Aws::WorkMail | |
| 372 393 | 
             
                EntityStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
         | 
| 373 394 | 
             
                EntityStateException.struct_class = Types::EntityStateException
         | 
| 374 395 |  | 
| 396 | 
            +
                FolderConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: FolderName, required: true, location_name: "Name"))
         | 
| 397 | 
            +
                FolderConfiguration.add_member(:action, Shapes::ShapeRef.new(shape: RetentionAction, required: true, location_name: "Action"))
         | 
| 398 | 
            +
                FolderConfiguration.add_member(:period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "Period"))
         | 
| 399 | 
            +
                FolderConfiguration.struct_class = Types::FolderConfiguration
         | 
| 400 | 
            +
             | 
| 401 | 
            +
                FolderConfigurations.member = Shapes::ShapeRef.new(shape: FolderConfiguration)
         | 
| 402 | 
            +
             | 
| 375 403 | 
             
                GetAccessControlEffectRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 376 404 | 
             
                GetAccessControlEffectRequest.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, required: true, location_name: "IpAddress"))
         | 
| 377 405 | 
             
                GetAccessControlEffectRequest.add_member(:action, Shapes::ShapeRef.new(shape: AccessControlRuleAction, required: true, location_name: "Action"))
         | 
| @@ -382,6 +410,15 @@ module Aws::WorkMail | |
| 382 410 | 
             
                GetAccessControlEffectResponse.add_member(:matched_rules, Shapes::ShapeRef.new(shape: AccessControlRuleNameList, location_name: "MatchedRules"))
         | 
| 383 411 | 
             
                GetAccessControlEffectResponse.struct_class = Types::GetAccessControlEffectResponse
         | 
| 384 412 |  | 
| 413 | 
            +
                GetDefaultRetentionPolicyRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 414 | 
            +
                GetDefaultRetentionPolicyRequest.struct_class = Types::GetDefaultRetentionPolicyRequest
         | 
| 415 | 
            +
             | 
| 416 | 
            +
                GetDefaultRetentionPolicyResponse.add_member(:id, Shapes::ShapeRef.new(shape: ShortString, location_name: "Id"))
         | 
| 417 | 
            +
                GetDefaultRetentionPolicyResponse.add_member(:name, Shapes::ShapeRef.new(shape: ShortString, location_name: "Name"))
         | 
| 418 | 
            +
                GetDefaultRetentionPolicyResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
         | 
| 419 | 
            +
                GetDefaultRetentionPolicyResponse.add_member(:folder_configurations, Shapes::ShapeRef.new(shape: FolderConfigurations, location_name: "FolderConfigurations"))
         | 
| 420 | 
            +
                GetDefaultRetentionPolicyResponse.struct_class = Types::GetDefaultRetentionPolicyResponse
         | 
| 421 | 
            +
             | 
| 385 422 | 
             
                GetMailboxDetailsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 386 423 | 
             
                GetMailboxDetailsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
         | 
| 387 424 | 
             
                GetMailboxDetailsRequest.struct_class = Types::GetMailboxDetailsRequest
         | 
| @@ -565,6 +602,15 @@ module Aws::WorkMail | |
| 565 602 |  | 
| 566 603 | 
             
                PutMailboxPermissionsResponse.struct_class = Types::PutMailboxPermissionsResponse
         | 
| 567 604 |  | 
| 605 | 
            +
                PutRetentionPolicyRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 606 | 
            +
                PutRetentionPolicyRequest.add_member(:id, Shapes::ShapeRef.new(shape: ShortString, location_name: "Id"))
         | 
| 607 | 
            +
                PutRetentionPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: ShortString, required: true, location_name: "Name"))
         | 
| 608 | 
            +
                PutRetentionPolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description"))
         | 
| 609 | 
            +
                PutRetentionPolicyRequest.add_member(:folder_configurations, Shapes::ShapeRef.new(shape: FolderConfigurations, required: true, location_name: "FolderConfigurations"))
         | 
| 610 | 
            +
                PutRetentionPolicyRequest.struct_class = Types::PutRetentionPolicyRequest
         | 
| 611 | 
            +
             | 
| 612 | 
            +
                PutRetentionPolicyResponse.struct_class = Types::PutRetentionPolicyResponse
         | 
| 613 | 
            +
             | 
| 568 614 | 
             
                RegisterToWorkMailRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
         | 
| 569 615 | 
             
                RegisterToWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
         | 
| 570 616 | 
             
                RegisterToWorkMailRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
         | 
| @@ -835,6 +881,17 @@ module Aws::WorkMail | |
| 835 881 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
         | 
| 836 882 | 
             
                  end)
         | 
| 837 883 |  | 
| 884 | 
            +
                  api.add_operation(:delete_retention_policy, Seahorse::Model::Operation.new.tap do |o|
         | 
| 885 | 
            +
                    o.name = "DeleteRetentionPolicy"
         | 
| 886 | 
            +
                    o.http_method = "POST"
         | 
| 887 | 
            +
                    o.http_request_uri = "/"
         | 
| 888 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: DeleteRetentionPolicyRequest)
         | 
| 889 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: DeleteRetentionPolicyResponse)
         | 
| 890 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
         | 
| 891 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
         | 
| 892 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
         | 
| 893 | 
            +
                  end)
         | 
| 894 | 
            +
             | 
| 838 895 | 
             
                  api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
         | 
| 839 896 | 
             
                    o.name = "DeleteUser"
         | 
| 840 897 | 
             
                    o.http_method = "POST"
         | 
| @@ -950,6 +1007,18 @@ module Aws::WorkMail | |
| 950 1007 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
         | 
| 951 1008 | 
             
                  end)
         | 
| 952 1009 |  | 
| 1010 | 
            +
                  api.add_operation(:get_default_retention_policy, Seahorse::Model::Operation.new.tap do |o|
         | 
| 1011 | 
            +
                    o.name = "GetDefaultRetentionPolicy"
         | 
| 1012 | 
            +
                    o.http_method = "POST"
         | 
| 1013 | 
            +
                    o.http_request_uri = "/"
         | 
| 1014 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: GetDefaultRetentionPolicyRequest)
         | 
| 1015 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: GetDefaultRetentionPolicyResponse)
         | 
| 1016 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
         | 
| 1017 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
         | 
| 1018 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
         | 
| 1019 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
         | 
| 1020 | 
            +
                  end)
         | 
| 1021 | 
            +
             | 
| 953 1022 | 
             
                  api.add_operation(:get_mailbox_details, Seahorse::Model::Operation.new.tap do |o|
         | 
| 954 1023 | 
             
                    o.name = "GetMailboxDetails"
         | 
| 955 1024 | 
             
                    o.http_method = "POST"
         | 
| @@ -1148,6 +1217,18 @@ module Aws::WorkMail | |
| 1148 1217 | 
             
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
         | 
| 1149 1218 | 
             
                  end)
         | 
| 1150 1219 |  | 
| 1220 | 
            +
                  api.add_operation(:put_retention_policy, Seahorse::Model::Operation.new.tap do |o|
         | 
| 1221 | 
            +
                    o.name = "PutRetentionPolicy"
         | 
| 1222 | 
            +
                    o.http_method = "POST"
         | 
| 1223 | 
            +
                    o.http_request_uri = "/"
         | 
| 1224 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: PutRetentionPolicyRequest)
         | 
| 1225 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: PutRetentionPolicyResponse)
         | 
| 1226 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
         | 
| 1227 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
         | 
| 1228 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
         | 
| 1229 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
         | 
| 1230 | 
            +
                  end)
         | 
| 1231 | 
            +
             | 
| 1151 1232 | 
             
                  api.add_operation(:register_to_work_mail, Seahorse::Model::Operation.new.tap do |o|
         | 
| 1152 1233 | 
             
                    o.name = "RegisterToWorkMail"
         | 
| 1153 1234 | 
             
                    o.http_method = "POST"
         | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -72,6 +74,7 @@ module Aws::WorkMail | |
| 72 74 | 
             
                  :not_user_ids,
         | 
| 73 75 | 
             
                  :date_created,
         | 
| 74 76 | 
             
                  :date_modified)
         | 
| 77 | 
            +
                  SENSITIVE = []
         | 
| 75 78 | 
             
                  include Aws::Structure
         | 
| 76 79 | 
             
                end
         | 
| 77 80 |  | 
| @@ -102,6 +105,7 @@ module Aws::WorkMail | |
| 102 105 | 
             
                  :organization_id,
         | 
| 103 106 | 
             
                  :resource_id,
         | 
| 104 107 | 
             
                  :entity_id)
         | 
| 108 | 
            +
                  SENSITIVE = []
         | 
| 105 109 | 
             
                  include Aws::Structure
         | 
| 106 110 | 
             
                end
         | 
| 107 111 |  | 
| @@ -136,6 +140,7 @@ module Aws::WorkMail | |
| 136 140 | 
             
                  :organization_id,
         | 
| 137 141 | 
             
                  :group_id,
         | 
| 138 142 | 
             
                  :member_id)
         | 
| 143 | 
            +
                  SENSITIVE = []
         | 
| 139 144 | 
             
                  include Aws::Structure
         | 
| 140 145 | 
             
                end
         | 
| 141 146 |  | 
| @@ -176,6 +181,7 @@ module Aws::WorkMail | |
| 176 181 | 
             
                  :auto_accept_requests,
         | 
| 177 182 | 
             
                  :auto_decline_recurring_requests,
         | 
| 178 183 | 
             
                  :auto_decline_conflicting_requests)
         | 
| 184 | 
            +
                  SENSITIVE = []
         | 
| 179 185 | 
             
                  include Aws::Structure
         | 
| 180 186 | 
             
                end
         | 
| 181 187 |  | 
| @@ -206,6 +212,7 @@ module Aws::WorkMail | |
| 206 212 | 
             
                  :organization_id,
         | 
| 207 213 | 
             
                  :entity_id,
         | 
| 208 214 | 
             
                  :alias)
         | 
| 215 | 
            +
                  SENSITIVE = []
         | 
| 209 216 | 
             
                  include Aws::Structure
         | 
| 210 217 | 
             
                end
         | 
| 211 218 |  | 
| @@ -234,6 +241,7 @@ module Aws::WorkMail | |
| 234 241 | 
             
                class CreateGroupRequest < Struct.new(
         | 
| 235 242 | 
             
                  :organization_id,
         | 
| 236 243 | 
             
                  :name)
         | 
| 244 | 
            +
                  SENSITIVE = []
         | 
| 237 245 | 
             
                  include Aws::Structure
         | 
| 238 246 | 
             
                end
         | 
| 239 247 |  | 
| @@ -245,6 +253,7 @@ module Aws::WorkMail | |
| 245 253 | 
             
                #
         | 
| 246 254 | 
             
                class CreateGroupResponse < Struct.new(
         | 
| 247 255 | 
             
                  :group_id)
         | 
| 256 | 
            +
                  SENSITIVE = []
         | 
| 248 257 | 
             
                  include Aws::Structure
         | 
| 249 258 | 
             
                end
         | 
| 250 259 |  | 
| @@ -277,6 +286,7 @@ module Aws::WorkMail | |
| 277 286 | 
             
                  :organization_id,
         | 
| 278 287 | 
             
                  :name,
         | 
| 279 288 | 
             
                  :type)
         | 
| 289 | 
            +
                  SENSITIVE = []
         | 
| 280 290 | 
             
                  include Aws::Structure
         | 
| 281 291 | 
             
                end
         | 
| 282 292 |  | 
| @@ -288,6 +298,7 @@ module Aws::WorkMail | |
| 288 298 | 
             
                #
         | 
| 289 299 | 
             
                class CreateResourceResponse < Struct.new(
         | 
| 290 300 | 
             
                  :resource_id)
         | 
| 301 | 
            +
                  SENSITIVE = []
         | 
| 291 302 | 
             
                  include Aws::Structure
         | 
| 292 303 | 
             
                end
         | 
| 293 304 |  | 
| @@ -325,6 +336,7 @@ module Aws::WorkMail | |
| 325 336 | 
             
                  :name,
         | 
| 326 337 | 
             
                  :display_name,
         | 
| 327 338 | 
             
                  :password)
         | 
| 339 | 
            +
                  SENSITIVE = [:password]
         | 
| 328 340 | 
             
                  include Aws::Structure
         | 
| 329 341 | 
             
                end
         | 
| 330 342 |  | 
| @@ -336,6 +348,7 @@ module Aws::WorkMail | |
| 336 348 | 
             
                #
         | 
| 337 349 | 
             
                class CreateUserResponse < Struct.new(
         | 
| 338 350 | 
             
                  :user_id)
         | 
| 351 | 
            +
                  SENSITIVE = []
         | 
| 339 352 | 
             
                  include Aws::Structure
         | 
| 340 353 | 
             
                end
         | 
| 341 354 |  | 
| @@ -356,6 +369,7 @@ module Aws::WorkMail | |
| 356 369 | 
             
                class Delegate < Struct.new(
         | 
| 357 370 | 
             
                  :id,
         | 
| 358 371 | 
             
                  :type)
         | 
| 372 | 
            +
                  SENSITIVE = []
         | 
| 359 373 | 
             
                  include Aws::Structure
         | 
| 360 374 | 
             
                end
         | 
| 361 375 |  | 
| @@ -363,7 +377,7 @@ module Aws::WorkMail | |
| 363 377 | 
             
                #   data as a hash:
         | 
| 364 378 | 
             
                #
         | 
| 365 379 | 
             
                #       {
         | 
| 366 | 
            -
                #         organization_id: "OrganizationId",
         | 
| 380 | 
            +
                #         organization_id: "OrganizationId", # required
         | 
| 367 381 | 
             
                #         name: "AccessControlRuleName", # required
         | 
| 368 382 | 
             
                #       }
         | 
| 369 383 | 
             
                #
         | 
| @@ -380,6 +394,7 @@ module Aws::WorkMail | |
| 380 394 | 
             
                class DeleteAccessControlRuleRequest < Struct.new(
         | 
| 381 395 | 
             
                  :organization_id,
         | 
| 382 396 | 
             
                  :name)
         | 
| 397 | 
            +
                  SENSITIVE = []
         | 
| 383 398 | 
             
                  include Aws::Structure
         | 
| 384 399 | 
             
                end
         | 
| 385 400 |  | 
| @@ -417,6 +432,7 @@ module Aws::WorkMail | |
| 417 432 | 
             
                  :organization_id,
         | 
| 418 433 | 
             
                  :entity_id,
         | 
| 419 434 | 
             
                  :alias)
         | 
| 435 | 
            +
                  SENSITIVE = []
         | 
| 420 436 | 
             
                  include Aws::Structure
         | 
| 421 437 | 
             
                end
         | 
| 422 438 |  | 
| @@ -445,6 +461,7 @@ module Aws::WorkMail | |
| 445 461 | 
             
                class DeleteGroupRequest < Struct.new(
         | 
| 446 462 | 
             
                  :organization_id,
         | 
| 447 463 | 
             
                  :group_id)
         | 
| 464 | 
            +
                  SENSITIVE = []
         | 
| 448 465 | 
             
                  include Aws::Structure
         | 
| 449 466 | 
             
                end
         | 
| 450 467 |  | 
| @@ -481,6 +498,7 @@ module Aws::WorkMail | |
| 481 498 | 
             
                  :organization_id,
         | 
| 482 499 | 
             
                  :entity_id,
         | 
| 483 500 | 
             
                  :grantee_id)
         | 
| 501 | 
            +
                  SENSITIVE = []
         | 
| 484 502 | 
             
                  include Aws::Structure
         | 
| 485 503 | 
             
                end
         | 
| 486 504 |  | 
| @@ -510,6 +528,7 @@ module Aws::WorkMail | |
| 510 528 | 
             
                class DeleteResourceRequest < Struct.new(
         | 
| 511 529 | 
             
                  :organization_id,
         | 
| 512 530 | 
             
                  :resource_id)
         | 
| 531 | 
            +
                  SENSITIVE = []
         | 
| 513 532 | 
             
                  include Aws::Structure
         | 
| 514 533 | 
             
                end
         | 
| 515 534 |  | 
| @@ -517,6 +536,35 @@ module Aws::WorkMail | |
| 517 536 | 
             
                #
         | 
| 518 537 | 
             
                class DeleteResourceResponse < Aws::EmptyStructure; end
         | 
| 519 538 |  | 
| 539 | 
            +
                # @note When making an API call, you may pass DeleteRetentionPolicyRequest
         | 
| 540 | 
            +
                #   data as a hash:
         | 
| 541 | 
            +
                #
         | 
| 542 | 
            +
                #       {
         | 
| 543 | 
            +
                #         organization_id: "OrganizationId", # required
         | 
| 544 | 
            +
                #         id: "ShortString", # required
         | 
| 545 | 
            +
                #       }
         | 
| 546 | 
            +
                #
         | 
| 547 | 
            +
                # @!attribute [rw] organization_id
         | 
| 548 | 
            +
                #   The organization ID.
         | 
| 549 | 
            +
                #   @return [String]
         | 
| 550 | 
            +
                #
         | 
| 551 | 
            +
                # @!attribute [rw] id
         | 
| 552 | 
            +
                #   The retention policy ID.
         | 
| 553 | 
            +
                #   @return [String]
         | 
| 554 | 
            +
                #
         | 
| 555 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicyRequest AWS API Documentation
         | 
| 556 | 
            +
                #
         | 
| 557 | 
            +
                class DeleteRetentionPolicyRequest < Struct.new(
         | 
| 558 | 
            +
                  :organization_id,
         | 
| 559 | 
            +
                  :id)
         | 
| 560 | 
            +
                  SENSITIVE = []
         | 
| 561 | 
            +
                  include Aws::Structure
         | 
| 562 | 
            +
                end
         | 
| 563 | 
            +
             | 
| 564 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicyResponse AWS API Documentation
         | 
| 565 | 
            +
                #
         | 
| 566 | 
            +
                class DeleteRetentionPolicyResponse < Aws::EmptyStructure; end
         | 
| 567 | 
            +
             | 
| 520 568 | 
             
                # @note When making an API call, you may pass DeleteUserRequest
         | 
| 521 569 | 
             
                #   data as a hash:
         | 
| 522 570 | 
             
                #
         | 
| @@ -538,6 +586,7 @@ module Aws::WorkMail | |
| 538 586 | 
             
                class DeleteUserRequest < Struct.new(
         | 
| 539 587 | 
             
                  :organization_id,
         | 
| 540 588 | 
             
                  :user_id)
         | 
| 589 | 
            +
                  SENSITIVE = []
         | 
| 541 590 | 
             
                  include Aws::Structure
         | 
| 542 591 | 
             
                end
         | 
| 543 592 |  | 
| @@ -567,6 +616,7 @@ module Aws::WorkMail | |
| 567 616 | 
             
                class DeregisterFromWorkMailRequest < Struct.new(
         | 
| 568 617 | 
             
                  :organization_id,
         | 
| 569 618 | 
             
                  :entity_id)
         | 
| 619 | 
            +
                  SENSITIVE = []
         | 
| 570 620 | 
             
                  include Aws::Structure
         | 
| 571 621 | 
             
                end
         | 
| 572 622 |  | 
| @@ -595,6 +645,7 @@ module Aws::WorkMail | |
| 595 645 | 
             
                class DescribeGroupRequest < Struct.new(
         | 
| 596 646 | 
             
                  :organization_id,
         | 
| 597 647 | 
             
                  :group_id)
         | 
| 648 | 
            +
                  SENSITIVE = []
         | 
| 598 649 | 
             
                  include Aws::Structure
         | 
| 599 650 | 
             
                end
         | 
| 600 651 |  | 
| @@ -634,6 +685,7 @@ module Aws::WorkMail | |
| 634 685 | 
             
                  :state,
         | 
| 635 686 | 
             
                  :enabled_date,
         | 
| 636 687 | 
             
                  :disabled_date)
         | 
| 688 | 
            +
                  SENSITIVE = []
         | 
| 637 689 | 
             
                  include Aws::Structure
         | 
| 638 690 | 
             
                end
         | 
| 639 691 |  | 
| @@ -652,6 +704,7 @@ module Aws::WorkMail | |
| 652 704 | 
             
                #
         | 
| 653 705 | 
             
                class DescribeOrganizationRequest < Struct.new(
         | 
| 654 706 | 
             
                  :organization_id)
         | 
| 707 | 
            +
                  SENSITIVE = []
         | 
| 655 708 | 
             
                  include Aws::Structure
         | 
| 656 709 | 
             
                end
         | 
| 657 710 |  | 
| @@ -706,6 +759,7 @@ module Aws::WorkMail | |
| 706 759 | 
             
                  :completed_date,
         | 
| 707 760 | 
             
                  :error_message,
         | 
| 708 761 | 
             
                  :arn)
         | 
| 762 | 
            +
                  SENSITIVE = []
         | 
| 709 763 | 
             
                  include Aws::Structure
         | 
| 710 764 | 
             
                end
         | 
| 711 765 |  | 
| @@ -731,6 +785,7 @@ module Aws::WorkMail | |
| 731 785 | 
             
                class DescribeResourceRequest < Struct.new(
         | 
| 732 786 | 
             
                  :organization_id,
         | 
| 733 787 | 
             
                  :resource_id)
         | 
| 788 | 
            +
                  SENSITIVE = []
         | 
| 734 789 | 
             
                  include Aws::Structure
         | 
| 735 790 | 
             
                end
         | 
| 736 791 |  | 
| @@ -780,6 +835,7 @@ module Aws::WorkMail | |
| 780 835 | 
             
                  :state,
         | 
| 781 836 | 
             
                  :enabled_date,
         | 
| 782 837 | 
             
                  :disabled_date)
         | 
| 838 | 
            +
                  SENSITIVE = []
         | 
| 783 839 | 
             
                  include Aws::Structure
         | 
| 784 840 | 
             
                end
         | 
| 785 841 |  | 
| @@ -804,6 +860,7 @@ module Aws::WorkMail | |
| 804 860 | 
             
                class DescribeUserRequest < Struct.new(
         | 
| 805 861 | 
             
                  :organization_id,
         | 
| 806 862 | 
             
                  :user_id)
         | 
| 863 | 
            +
                  SENSITIVE = []
         | 
| 807 864 | 
             
                  include Aws::Structure
         | 
| 808 865 | 
             
                end
         | 
| 809 866 |  | 
| @@ -859,6 +916,7 @@ module Aws::WorkMail | |
| 859 916 | 
             
                  :user_role,
         | 
| 860 917 | 
             
                  :enabled_date,
         | 
| 861 918 | 
             
                  :disabled_date)
         | 
| 919 | 
            +
                  SENSITIVE = []
         | 
| 862 920 | 
             
                  include Aws::Structure
         | 
| 863 921 | 
             
                end
         | 
| 864 922 |  | 
| @@ -872,6 +930,7 @@ module Aws::WorkMail | |
| 872 930 | 
             
                #
         | 
| 873 931 | 
             
                class DirectoryServiceAuthenticationFailedException < Struct.new(
         | 
| 874 932 | 
             
                  :message)
         | 
| 933 | 
            +
                  SENSITIVE = []
         | 
| 875 934 | 
             
                  include Aws::Structure
         | 
| 876 935 | 
             
                end
         | 
| 877 936 |  | 
| @@ -885,6 +944,7 @@ module Aws::WorkMail | |
| 885 944 | 
             
                #
         | 
| 886 945 | 
             
                class DirectoryUnavailableException < Struct.new(
         | 
| 887 946 | 
             
                  :message)
         | 
| 947 | 
            +
                  SENSITIVE = []
         | 
| 888 948 | 
             
                  include Aws::Structure
         | 
| 889 949 | 
             
                end
         | 
| 890 950 |  | 
| @@ -917,6 +977,7 @@ module Aws::WorkMail | |
| 917 977 | 
             
                  :organization_id,
         | 
| 918 978 | 
             
                  :resource_id,
         | 
| 919 979 | 
             
                  :entity_id)
         | 
| 980 | 
            +
                  SENSITIVE = []
         | 
| 920 981 | 
             
                  include Aws::Structure
         | 
| 921 982 | 
             
                end
         | 
| 922 983 |  | 
| @@ -951,6 +1012,7 @@ module Aws::WorkMail | |
| 951 1012 | 
             
                  :organization_id,
         | 
| 952 1013 | 
             
                  :group_id,
         | 
| 953 1014 | 
             
                  :member_id)
         | 
| 1015 | 
            +
                  SENSITIVE = []
         | 
| 954 1016 | 
             
                  include Aws::Structure
         | 
| 955 1017 | 
             
                end
         | 
| 956 1018 |  | 
| @@ -968,6 +1030,7 @@ module Aws::WorkMail | |
| 968 1030 | 
             
                #
         | 
| 969 1031 | 
             
                class EmailAddressInUseException < Struct.new(
         | 
| 970 1032 | 
             
                  :message)
         | 
| 1033 | 
            +
                  SENSITIVE = []
         | 
| 971 1034 | 
             
                  include Aws::Structure
         | 
| 972 1035 | 
             
                end
         | 
| 973 1036 |  | 
| @@ -981,6 +1044,7 @@ module Aws::WorkMail | |
| 981 1044 | 
             
                #
         | 
| 982 1045 | 
             
                class EntityAlreadyRegisteredException < Struct.new(
         | 
| 983 1046 | 
             
                  :message)
         | 
| 1047 | 
            +
                  SENSITIVE = []
         | 
| 984 1048 | 
             
                  include Aws::Structure
         | 
| 985 1049 | 
             
                end
         | 
| 986 1050 |  | 
| @@ -994,6 +1058,7 @@ module Aws::WorkMail | |
| 994 1058 | 
             
                #
         | 
| 995 1059 | 
             
                class EntityNotFoundException < Struct.new(
         | 
| 996 1060 | 
             
                  :message)
         | 
| 1061 | 
            +
                  SENSITIVE = []
         | 
| 997 1062 | 
             
                  include Aws::Structure
         | 
| 998 1063 | 
             
                end
         | 
| 999 1064 |  | 
| @@ -1007,6 +1072,43 @@ module Aws::WorkMail | |
| 1007 1072 | 
             
                #
         | 
| 1008 1073 | 
             
                class EntityStateException < Struct.new(
         | 
| 1009 1074 | 
             
                  :message)
         | 
| 1075 | 
            +
                  SENSITIVE = []
         | 
| 1076 | 
            +
                  include Aws::Structure
         | 
| 1077 | 
            +
                end
         | 
| 1078 | 
            +
             | 
| 1079 | 
            +
                # The configuration applied to an organization's folders by its
         | 
| 1080 | 
            +
                # retention policy.
         | 
| 1081 | 
            +
                #
         | 
| 1082 | 
            +
                # @note When making an API call, you may pass FolderConfiguration
         | 
| 1083 | 
            +
                #   data as a hash:
         | 
| 1084 | 
            +
                #
         | 
| 1085 | 
            +
                #       {
         | 
| 1086 | 
            +
                #         name: "INBOX", # required, accepts INBOX, DELETED_ITEMS, SENT_ITEMS, DRAFTS, JUNK_EMAIL
         | 
| 1087 | 
            +
                #         action: "NONE", # required, accepts NONE, DELETE, PERMANENTLY_DELETE
         | 
| 1088 | 
            +
                #         period: 1,
         | 
| 1089 | 
            +
                #       }
         | 
| 1090 | 
            +
                #
         | 
| 1091 | 
            +
                # @!attribute [rw] name
         | 
| 1092 | 
            +
                #   The folder name.
         | 
| 1093 | 
            +
                #   @return [String]
         | 
| 1094 | 
            +
                #
         | 
| 1095 | 
            +
                # @!attribute [rw] action
         | 
| 1096 | 
            +
                #   The action to take on the folder contents at the end of the folder
         | 
| 1097 | 
            +
                #   configuration period.
         | 
| 1098 | 
            +
                #   @return [String]
         | 
| 1099 | 
            +
                #
         | 
| 1100 | 
            +
                # @!attribute [rw] period
         | 
| 1101 | 
            +
                #   The period of time at which the folder configuration action is
         | 
| 1102 | 
            +
                #   applied.
         | 
| 1103 | 
            +
                #   @return [Integer]
         | 
| 1104 | 
            +
                #
         | 
| 1105 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/FolderConfiguration AWS API Documentation
         | 
| 1106 | 
            +
                #
         | 
| 1107 | 
            +
                class FolderConfiguration < Struct.new(
         | 
| 1108 | 
            +
                  :name,
         | 
| 1109 | 
            +
                  :action,
         | 
| 1110 | 
            +
                  :period)
         | 
| 1111 | 
            +
                  SENSITIVE = []
         | 
| 1010 1112 | 
             
                  include Aws::Structure
         | 
| 1011 1113 | 
             
                end
         | 
| 1012 1114 |  | 
| @@ -1045,6 +1147,7 @@ module Aws::WorkMail | |
| 1045 1147 | 
             
                  :ip_address,
         | 
| 1046 1148 | 
             
                  :action,
         | 
| 1047 1149 | 
             
                  :user_id)
         | 
| 1150 | 
            +
                  SENSITIVE = []
         | 
| 1048 1151 | 
             
                  include Aws::Structure
         | 
| 1049 1152 | 
             
                end
         | 
| 1050 1153 |  | 
| @@ -1061,6 +1164,53 @@ module Aws::WorkMail | |
| 1061 1164 | 
             
                class GetAccessControlEffectResponse < Struct.new(
         | 
| 1062 1165 | 
             
                  :effect,
         | 
| 1063 1166 | 
             
                  :matched_rules)
         | 
| 1167 | 
            +
                  SENSITIVE = []
         | 
| 1168 | 
            +
                  include Aws::Structure
         | 
| 1169 | 
            +
                end
         | 
| 1170 | 
            +
             | 
| 1171 | 
            +
                # @note When making an API call, you may pass GetDefaultRetentionPolicyRequest
         | 
| 1172 | 
            +
                #   data as a hash:
         | 
| 1173 | 
            +
                #
         | 
| 1174 | 
            +
                #       {
         | 
| 1175 | 
            +
                #         organization_id: "OrganizationId", # required
         | 
| 1176 | 
            +
                #       }
         | 
| 1177 | 
            +
                #
         | 
| 1178 | 
            +
                # @!attribute [rw] organization_id
         | 
| 1179 | 
            +
                #   The organization ID.
         | 
| 1180 | 
            +
                #   @return [String]
         | 
| 1181 | 
            +
                #
         | 
| 1182 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicyRequest AWS API Documentation
         | 
| 1183 | 
            +
                #
         | 
| 1184 | 
            +
                class GetDefaultRetentionPolicyRequest < Struct.new(
         | 
| 1185 | 
            +
                  :organization_id)
         | 
| 1186 | 
            +
                  SENSITIVE = []
         | 
| 1187 | 
            +
                  include Aws::Structure
         | 
| 1188 | 
            +
                end
         | 
| 1189 | 
            +
             | 
| 1190 | 
            +
                # @!attribute [rw] id
         | 
| 1191 | 
            +
                #   The retention policy ID.
         | 
| 1192 | 
            +
                #   @return [String]
         | 
| 1193 | 
            +
                #
         | 
| 1194 | 
            +
                # @!attribute [rw] name
         | 
| 1195 | 
            +
                #   The retention policy name.
         | 
| 1196 | 
            +
                #   @return [String]
         | 
| 1197 | 
            +
                #
         | 
| 1198 | 
            +
                # @!attribute [rw] description
         | 
| 1199 | 
            +
                #   The retention policy description.
         | 
| 1200 | 
            +
                #   @return [String]
         | 
| 1201 | 
            +
                #
         | 
| 1202 | 
            +
                # @!attribute [rw] folder_configurations
         | 
| 1203 | 
            +
                #   The retention policy folder configurations.
         | 
| 1204 | 
            +
                #   @return [Array<Types::FolderConfiguration>]
         | 
| 1205 | 
            +
                #
         | 
| 1206 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicyResponse AWS API Documentation
         | 
| 1207 | 
            +
                #
         | 
| 1208 | 
            +
                class GetDefaultRetentionPolicyResponse < Struct.new(
         | 
| 1209 | 
            +
                  :id,
         | 
| 1210 | 
            +
                  :name,
         | 
| 1211 | 
            +
                  :description,
         | 
| 1212 | 
            +
                  :folder_configurations)
         | 
| 1213 | 
            +
                  SENSITIVE = []
         | 
| 1064 1214 | 
             
                  include Aws::Structure
         | 
| 1065 1215 | 
             
                end
         | 
| 1066 1216 |  | 
| @@ -1087,6 +1237,7 @@ module Aws::WorkMail | |
| 1087 1237 | 
             
                class GetMailboxDetailsRequest < Struct.new(
         | 
| 1088 1238 | 
             
                  :organization_id,
         | 
| 1089 1239 | 
             
                  :user_id)
         | 
| 1240 | 
            +
                  SENSITIVE = []
         | 
| 1090 1241 | 
             
                  include Aws::Structure
         | 
| 1091 1242 | 
             
                end
         | 
| 1092 1243 |  | 
| @@ -1103,6 +1254,7 @@ module Aws::WorkMail | |
| 1103 1254 | 
             
                class GetMailboxDetailsResponse < Struct.new(
         | 
| 1104 1255 | 
             
                  :mailbox_quota,
         | 
| 1105 1256 | 
             
                  :mailbox_size)
         | 
| 1257 | 
            +
                  SENSITIVE = []
         | 
| 1106 1258 | 
             
                  include Aws::Structure
         | 
| 1107 1259 | 
             
                end
         | 
| 1108 1260 |  | 
| @@ -1143,6 +1295,7 @@ module Aws::WorkMail | |
| 1143 1295 | 
             
                  :state,
         | 
| 1144 1296 | 
             
                  :enabled_date,
         | 
| 1145 1297 | 
             
                  :disabled_date)
         | 
| 1298 | 
            +
                  SENSITIVE = []
         | 
| 1146 1299 | 
             
                  include Aws::Structure
         | 
| 1147 1300 | 
             
                end
         | 
| 1148 1301 |  | 
| @@ -1157,6 +1310,7 @@ module Aws::WorkMail | |
| 1157 1310 | 
             
                #
         | 
| 1158 1311 | 
             
                class InvalidConfigurationException < Struct.new(
         | 
| 1159 1312 | 
             
                  :message)
         | 
| 1313 | 
            +
                  SENSITIVE = []
         | 
| 1160 1314 | 
             
                  include Aws::Structure
         | 
| 1161 1315 | 
             
                end
         | 
| 1162 1316 |  | 
| @@ -1170,6 +1324,7 @@ module Aws::WorkMail | |
| 1170 1324 | 
             
                #
         | 
| 1171 1325 | 
             
                class InvalidParameterException < Struct.new(
         | 
| 1172 1326 | 
             
                  :message)
         | 
| 1327 | 
            +
                  SENSITIVE = []
         | 
| 1173 1328 | 
             
                  include Aws::Structure
         | 
| 1174 1329 | 
             
                end
         | 
| 1175 1330 |  | 
| @@ -1183,6 +1338,7 @@ module Aws::WorkMail | |
| 1183 1338 | 
             
                #
         | 
| 1184 1339 | 
             
                class InvalidPasswordException < Struct.new(
         | 
| 1185 1340 | 
             
                  :message)
         | 
| 1341 | 
            +
                  SENSITIVE = []
         | 
| 1186 1342 | 
             
                  include Aws::Structure
         | 
| 1187 1343 | 
             
                end
         | 
| 1188 1344 |  | 
| @@ -1195,6 +1351,7 @@ module Aws::WorkMail | |
| 1195 1351 | 
             
                #
         | 
| 1196 1352 | 
             
                class LimitExceededException < Struct.new(
         | 
| 1197 1353 | 
             
                  :message)
         | 
| 1354 | 
            +
                  SENSITIVE = []
         | 
| 1198 1355 | 
             
                  include Aws::Structure
         | 
| 1199 1356 | 
             
                end
         | 
| 1200 1357 |  | 
| @@ -1213,6 +1370,7 @@ module Aws::WorkMail | |
| 1213 1370 | 
             
                #
         | 
| 1214 1371 | 
             
                class ListAccessControlRulesRequest < Struct.new(
         | 
| 1215 1372 | 
             
                  :organization_id)
         | 
| 1373 | 
            +
                  SENSITIVE = []
         | 
| 1216 1374 | 
             
                  include Aws::Structure
         | 
| 1217 1375 | 
             
                end
         | 
| 1218 1376 |  | 
| @@ -1224,6 +1382,7 @@ module Aws::WorkMail | |
| 1224 1382 | 
             
                #
         | 
| 1225 1383 | 
             
                class ListAccessControlRulesResponse < Struct.new(
         | 
| 1226 1384 | 
             
                  :rules)
         | 
| 1385 | 
            +
                  SENSITIVE = []
         | 
| 1227 1386 | 
             
                  include Aws::Structure
         | 
| 1228 1387 | 
             
                end
         | 
| 1229 1388 |  | 
| @@ -1261,6 +1420,7 @@ module Aws::WorkMail | |
| 1261 1420 | 
             
                  :entity_id,
         | 
| 1262 1421 | 
             
                  :next_token,
         | 
| 1263 1422 | 
             
                  :max_results)
         | 
| 1423 | 
            +
                  SENSITIVE = []
         | 
| 1264 1424 | 
             
                  include Aws::Structure
         | 
| 1265 1425 | 
             
                end
         | 
| 1266 1426 |  | 
| @@ -1278,6 +1438,7 @@ module Aws::WorkMail | |
| 1278 1438 | 
             
                class ListAliasesResponse < Struct.new(
         | 
| 1279 1439 | 
             
                  :aliases,
         | 
| 1280 1440 | 
             
                  :next_token)
         | 
| 1441 | 
            +
                  SENSITIVE = []
         | 
| 1281 1442 | 
             
                  include Aws::Structure
         | 
| 1282 1443 | 
             
                end
         | 
| 1283 1444 |  | 
| @@ -1316,6 +1477,7 @@ module Aws::WorkMail | |
| 1316 1477 | 
             
                  :group_id,
         | 
| 1317 1478 | 
             
                  :next_token,
         | 
| 1318 1479 | 
             
                  :max_results)
         | 
| 1480 | 
            +
                  SENSITIVE = []
         | 
| 1319 1481 | 
             
                  include Aws::Structure
         | 
| 1320 1482 | 
             
                end
         | 
| 1321 1483 |  | 
| @@ -1333,6 +1495,7 @@ module Aws::WorkMail | |
| 1333 1495 | 
             
                class ListGroupMembersResponse < Struct.new(
         | 
| 1334 1496 | 
             
                  :members,
         | 
| 1335 1497 | 
             
                  :next_token)
         | 
| 1498 | 
            +
                  SENSITIVE = []
         | 
| 1336 1499 | 
             
                  include Aws::Structure
         | 
| 1337 1500 | 
             
                end
         | 
| 1338 1501 |  | 
| @@ -1364,6 +1527,7 @@ module Aws::WorkMail | |
| 1364 1527 | 
             
                  :organization_id,
         | 
| 1365 1528 | 
             
                  :next_token,
         | 
| 1366 1529 | 
             
                  :max_results)
         | 
| 1530 | 
            +
                  SENSITIVE = []
         | 
| 1367 1531 | 
             
                  include Aws::Structure
         | 
| 1368 1532 | 
             
                end
         | 
| 1369 1533 |  | 
| @@ -1381,6 +1545,7 @@ module Aws::WorkMail | |
| 1381 1545 | 
             
                class ListGroupsResponse < Struct.new(
         | 
| 1382 1546 | 
             
                  :groups,
         | 
| 1383 1547 | 
             
                  :next_token)
         | 
| 1548 | 
            +
                  SENSITIVE = []
         | 
| 1384 1549 | 
             
                  include Aws::Structure
         | 
| 1385 1550 | 
             
                end
         | 
| 1386 1551 |  | 
| @@ -1420,6 +1585,7 @@ module Aws::WorkMail | |
| 1420 1585 | 
             
                  :entity_id,
         | 
| 1421 1586 | 
             
                  :next_token,
         | 
| 1422 1587 | 
             
                  :max_results)
         | 
| 1588 | 
            +
                  SENSITIVE = []
         | 
| 1423 1589 | 
             
                  include Aws::Structure
         | 
| 1424 1590 | 
             
                end
         | 
| 1425 1591 |  | 
| @@ -1437,6 +1603,7 @@ module Aws::WorkMail | |
| 1437 1603 | 
             
                class ListMailboxPermissionsResponse < Struct.new(
         | 
| 1438 1604 | 
             
                  :permissions,
         | 
| 1439 1605 | 
             
                  :next_token)
         | 
| 1606 | 
            +
                  SENSITIVE = []
         | 
| 1440 1607 | 
             
                  include Aws::Structure
         | 
| 1441 1608 | 
             
                end
         | 
| 1442 1609 |  | 
| @@ -1462,6 +1629,7 @@ module Aws::WorkMail | |
| 1462 1629 | 
             
                class ListOrganizationsRequest < Struct.new(
         | 
| 1463 1630 | 
             
                  :next_token,
         | 
| 1464 1631 | 
             
                  :max_results)
         | 
| 1632 | 
            +
                  SENSITIVE = []
         | 
| 1465 1633 | 
             
                  include Aws::Structure
         | 
| 1466 1634 | 
             
                end
         | 
| 1467 1635 |  | 
| @@ -1480,6 +1648,7 @@ module Aws::WorkMail | |
| 1480 1648 | 
             
                class ListOrganizationsResponse < Struct.new(
         | 
| 1481 1649 | 
             
                  :organization_summaries,
         | 
| 1482 1650 | 
             
                  :next_token)
         | 
| 1651 | 
            +
                  SENSITIVE = []
         | 
| 1483 1652 | 
             
                  include Aws::Structure
         | 
| 1484 1653 | 
             
                end
         | 
| 1485 1654 |  | 
| @@ -1518,6 +1687,7 @@ module Aws::WorkMail | |
| 1518 1687 | 
             
                  :resource_id,
         | 
| 1519 1688 | 
             
                  :next_token,
         | 
| 1520 1689 | 
             
                  :max_results)
         | 
| 1690 | 
            +
                  SENSITIVE = []
         | 
| 1521 1691 | 
             
                  include Aws::Structure
         | 
| 1522 1692 | 
             
                end
         | 
| 1523 1693 |  | 
| @@ -1536,6 +1706,7 @@ module Aws::WorkMail | |
| 1536 1706 | 
             
                class ListResourceDelegatesResponse < Struct.new(
         | 
| 1537 1707 | 
             
                  :delegates,
         | 
| 1538 1708 | 
             
                  :next_token)
         | 
| 1709 | 
            +
                  SENSITIVE = []
         | 
| 1539 1710 | 
             
                  include Aws::Structure
         | 
| 1540 1711 | 
             
                end
         | 
| 1541 1712 |  | 
| @@ -1567,6 +1738,7 @@ module Aws::WorkMail | |
| 1567 1738 | 
             
                  :organization_id,
         | 
| 1568 1739 | 
             
                  :next_token,
         | 
| 1569 1740 | 
             
                  :max_results)
         | 
| 1741 | 
            +
                  SENSITIVE = []
         | 
| 1570 1742 | 
             
                  include Aws::Structure
         | 
| 1571 1743 | 
             
                end
         | 
| 1572 1744 |  | 
| @@ -1585,6 +1757,7 @@ module Aws::WorkMail | |
| 1585 1757 | 
             
                class ListResourcesResponse < Struct.new(
         | 
| 1586 1758 | 
             
                  :resources,
         | 
| 1587 1759 | 
             
                  :next_token)
         | 
| 1760 | 
            +
                  SENSITIVE = []
         | 
| 1588 1761 | 
             
                  include Aws::Structure
         | 
| 1589 1762 | 
             
                end
         | 
| 1590 1763 |  | 
| @@ -1603,6 +1776,7 @@ module Aws::WorkMail | |
| 1603 1776 | 
             
                #
         | 
| 1604 1777 | 
             
                class ListTagsForResourceRequest < Struct.new(
         | 
| 1605 1778 | 
             
                  :resource_arn)
         | 
| 1779 | 
            +
                  SENSITIVE = []
         | 
| 1606 1780 | 
             
                  include Aws::Structure
         | 
| 1607 1781 | 
             
                end
         | 
| 1608 1782 |  | 
| @@ -1614,6 +1788,7 @@ module Aws::WorkMail | |
| 1614 1788 | 
             
                #
         | 
| 1615 1789 | 
             
                class ListTagsForResourceResponse < Struct.new(
         | 
| 1616 1790 | 
             
                  :tags)
         | 
| 1791 | 
            +
                  SENSITIVE = []
         | 
| 1617 1792 | 
             
                  include Aws::Structure
         | 
| 1618 1793 | 
             
                end
         | 
| 1619 1794 |  | 
| @@ -1645,6 +1820,7 @@ module Aws::WorkMail | |
| 1645 1820 | 
             
                  :organization_id,
         | 
| 1646 1821 | 
             
                  :next_token,
         | 
| 1647 1822 | 
             
                  :max_results)
         | 
| 1823 | 
            +
                  SENSITIVE = []
         | 
| 1648 1824 | 
             
                  include Aws::Structure
         | 
| 1649 1825 | 
             
                end
         | 
| 1650 1826 |  | 
| @@ -1662,6 +1838,7 @@ module Aws::WorkMail | |
| 1662 1838 | 
             
                class ListUsersResponse < Struct.new(
         | 
| 1663 1839 | 
             
                  :users,
         | 
| 1664 1840 | 
             
                  :next_token)
         | 
| 1841 | 
            +
                  SENSITIVE = []
         | 
| 1665 1842 | 
             
                  include Aws::Structure
         | 
| 1666 1843 | 
             
                end
         | 
| 1667 1844 |  | 
| @@ -1675,6 +1852,7 @@ module Aws::WorkMail | |
| 1675 1852 | 
             
                #
         | 
| 1676 1853 | 
             
                class MailDomainNotFoundException < Struct.new(
         | 
| 1677 1854 | 
             
                  :message)
         | 
| 1855 | 
            +
                  SENSITIVE = []
         | 
| 1678 1856 | 
             
                  include Aws::Structure
         | 
| 1679 1857 | 
             
                end
         | 
| 1680 1858 |  | 
| @@ -1688,6 +1866,7 @@ module Aws::WorkMail | |
| 1688 1866 | 
             
                #
         | 
| 1689 1867 | 
             
                class MailDomainStateException < Struct.new(
         | 
| 1690 1868 | 
             
                  :message)
         | 
| 1869 | 
            +
                  SENSITIVE = []
         | 
| 1691 1870 | 
             
                  include Aws::Structure
         | 
| 1692 1871 | 
             
                end
         | 
| 1693 1872 |  | 
| @@ -1728,6 +1907,7 @@ module Aws::WorkMail | |
| 1728 1907 | 
             
                  :state,
         | 
| 1729 1908 | 
             
                  :enabled_date,
         | 
| 1730 1909 | 
             
                  :disabled_date)
         | 
| 1910 | 
            +
                  SENSITIVE = []
         | 
| 1731 1911 | 
             
                  include Aws::Structure
         | 
| 1732 1912 | 
             
                end
         | 
| 1733 1913 |  | 
| @@ -1740,6 +1920,7 @@ module Aws::WorkMail | |
| 1740 1920 | 
             
                #
         | 
| 1741 1921 | 
             
                class NameAvailabilityException < Struct.new(
         | 
| 1742 1922 | 
             
                  :message)
         | 
| 1923 | 
            +
                  SENSITIVE = []
         | 
| 1743 1924 | 
             
                  include Aws::Structure
         | 
| 1744 1925 | 
             
                end
         | 
| 1745 1926 |  | 
| @@ -1753,6 +1934,7 @@ module Aws::WorkMail | |
| 1753 1934 | 
             
                #
         | 
| 1754 1935 | 
             
                class OrganizationNotFoundException < Struct.new(
         | 
| 1755 1936 | 
             
                  :message)
         | 
| 1937 | 
            +
                  SENSITIVE = []
         | 
| 1756 1938 | 
             
                  include Aws::Structure
         | 
| 1757 1939 | 
             
                end
         | 
| 1758 1940 |  | 
| @@ -1766,6 +1948,7 @@ module Aws::WorkMail | |
| 1766 1948 | 
             
                #
         | 
| 1767 1949 | 
             
                class OrganizationStateException < Struct.new(
         | 
| 1768 1950 | 
             
                  :message)
         | 
| 1951 | 
            +
                  SENSITIVE = []
         | 
| 1769 1952 | 
             
                  include Aws::Structure
         | 
| 1770 1953 | 
             
                end
         | 
| 1771 1954 |  | 
| @@ -1797,6 +1980,7 @@ module Aws::WorkMail | |
| 1797 1980 | 
             
                  :alias,
         | 
| 1798 1981 | 
             
                  :error_message,
         | 
| 1799 1982 | 
             
                  :state)
         | 
| 1983 | 
            +
                  SENSITIVE = []
         | 
| 1800 1984 | 
             
                  include Aws::Structure
         | 
| 1801 1985 | 
             
                end
         | 
| 1802 1986 |  | 
| @@ -1828,6 +2012,7 @@ module Aws::WorkMail | |
| 1828 2012 | 
             
                  :grantee_id,
         | 
| 1829 2013 | 
             
                  :grantee_type,
         | 
| 1830 2014 | 
             
                  :permission_values)
         | 
| 2015 | 
            +
                  SENSITIVE = []
         | 
| 1831 2016 | 
             
                  include Aws::Structure
         | 
| 1832 2017 | 
             
                end
         | 
| 1833 2018 |  | 
| @@ -1904,6 +2089,7 @@ module Aws::WorkMail | |
| 1904 2089 | 
             
                  :user_ids,
         | 
| 1905 2090 | 
             
                  :not_user_ids,
         | 
| 1906 2091 | 
             
                  :organization_id)
         | 
| 2092 | 
            +
                  SENSITIVE = []
         | 
| 1907 2093 | 
             
                  include Aws::Structure
         | 
| 1908 2094 | 
             
                end
         | 
| 1909 2095 |  | 
| @@ -1953,6 +2139,7 @@ module Aws::WorkMail | |
| 1953 2139 | 
             
                  :entity_id,
         | 
| 1954 2140 | 
             
                  :grantee_id,
         | 
| 1955 2141 | 
             
                  :permission_values)
         | 
| 2142 | 
            +
                  SENSITIVE = []
         | 
| 1956 2143 | 
             
                  include Aws::Structure
         | 
| 1957 2144 | 
             
                end
         | 
| 1958 2145 |  | 
| @@ -1960,6 +2147,59 @@ module Aws::WorkMail | |
| 1960 2147 | 
             
                #
         | 
| 1961 2148 | 
             
                class PutMailboxPermissionsResponse < Aws::EmptyStructure; end
         | 
| 1962 2149 |  | 
| 2150 | 
            +
                # @note When making an API call, you may pass PutRetentionPolicyRequest
         | 
| 2151 | 
            +
                #   data as a hash:
         | 
| 2152 | 
            +
                #
         | 
| 2153 | 
            +
                #       {
         | 
| 2154 | 
            +
                #         organization_id: "OrganizationId", # required
         | 
| 2155 | 
            +
                #         id: "ShortString",
         | 
| 2156 | 
            +
                #         name: "ShortString", # required
         | 
| 2157 | 
            +
                #         description: "PolicyDescription",
         | 
| 2158 | 
            +
                #         folder_configurations: [ # required
         | 
| 2159 | 
            +
                #           {
         | 
| 2160 | 
            +
                #             name: "INBOX", # required, accepts INBOX, DELETED_ITEMS, SENT_ITEMS, DRAFTS, JUNK_EMAIL
         | 
| 2161 | 
            +
                #             action: "NONE", # required, accepts NONE, DELETE, PERMANENTLY_DELETE
         | 
| 2162 | 
            +
                #             period: 1,
         | 
| 2163 | 
            +
                #           },
         | 
| 2164 | 
            +
                #         ],
         | 
| 2165 | 
            +
                #       }
         | 
| 2166 | 
            +
                #
         | 
| 2167 | 
            +
                # @!attribute [rw] organization_id
         | 
| 2168 | 
            +
                #   The organization ID.
         | 
| 2169 | 
            +
                #   @return [String]
         | 
| 2170 | 
            +
                #
         | 
| 2171 | 
            +
                # @!attribute [rw] id
         | 
| 2172 | 
            +
                #   The retention policy ID.
         | 
| 2173 | 
            +
                #   @return [String]
         | 
| 2174 | 
            +
                #
         | 
| 2175 | 
            +
                # @!attribute [rw] name
         | 
| 2176 | 
            +
                #   The retention policy name.
         | 
| 2177 | 
            +
                #   @return [String]
         | 
| 2178 | 
            +
                #
         | 
| 2179 | 
            +
                # @!attribute [rw] description
         | 
| 2180 | 
            +
                #   The retention policy description.
         | 
| 2181 | 
            +
                #   @return [String]
         | 
| 2182 | 
            +
                #
         | 
| 2183 | 
            +
                # @!attribute [rw] folder_configurations
         | 
| 2184 | 
            +
                #   The retention policy folder configurations.
         | 
| 2185 | 
            +
                #   @return [Array<Types::FolderConfiguration>]
         | 
| 2186 | 
            +
                #
         | 
| 2187 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutRetentionPolicyRequest AWS API Documentation
         | 
| 2188 | 
            +
                #
         | 
| 2189 | 
            +
                class PutRetentionPolicyRequest < Struct.new(
         | 
| 2190 | 
            +
                  :organization_id,
         | 
| 2191 | 
            +
                  :id,
         | 
| 2192 | 
            +
                  :name,
         | 
| 2193 | 
            +
                  :description,
         | 
| 2194 | 
            +
                  :folder_configurations)
         | 
| 2195 | 
            +
                  SENSITIVE = []
         | 
| 2196 | 
            +
                  include Aws::Structure
         | 
| 2197 | 
            +
                end
         | 
| 2198 | 
            +
             | 
| 2199 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutRetentionPolicyResponse AWS API Documentation
         | 
| 2200 | 
            +
                #
         | 
| 2201 | 
            +
                class PutRetentionPolicyResponse < Aws::EmptyStructure; end
         | 
| 2202 | 
            +
             | 
| 1963 2203 | 
             
                # @note When making an API call, you may pass RegisterToWorkMailRequest
         | 
| 1964 2204 | 
             
                #   data as a hash:
         | 
| 1965 2205 | 
             
                #
         | 
| @@ -1988,6 +2228,7 @@ module Aws::WorkMail | |
| 1988 2228 | 
             
                  :organization_id,
         | 
| 1989 2229 | 
             
                  :entity_id,
         | 
| 1990 2230 | 
             
                  :email)
         | 
| 2231 | 
            +
                  SENSITIVE = []
         | 
| 1991 2232 | 
             
                  include Aws::Structure
         | 
| 1992 2233 | 
             
                end
         | 
| 1993 2234 |  | 
| @@ -2004,6 +2245,7 @@ module Aws::WorkMail | |
| 2004 2245 | 
             
                #
         | 
| 2005 2246 | 
             
                class ReservedNameException < Struct.new(
         | 
| 2006 2247 | 
             
                  :message)
         | 
| 2248 | 
            +
                  SENSITIVE = []
         | 
| 2007 2249 | 
             
                  include Aws::Structure
         | 
| 2008 2250 | 
             
                end
         | 
| 2009 2251 |  | 
| @@ -2035,6 +2277,7 @@ module Aws::WorkMail | |
| 2035 2277 | 
             
                  :organization_id,
         | 
| 2036 2278 | 
             
                  :user_id,
         | 
| 2037 2279 | 
             
                  :password)
         | 
| 2280 | 
            +
                  SENSITIVE = [:password]
         | 
| 2038 2281 | 
             
                  include Aws::Structure
         | 
| 2039 2282 | 
             
                end
         | 
| 2040 2283 |  | 
| @@ -2085,6 +2328,7 @@ module Aws::WorkMail | |
| 2085 2328 | 
             
                  :state,
         | 
| 2086 2329 | 
             
                  :enabled_date,
         | 
| 2087 2330 | 
             
                  :disabled_date)
         | 
| 2331 | 
            +
                  SENSITIVE = []
         | 
| 2088 2332 | 
             
                  include Aws::Structure
         | 
| 2089 2333 | 
             
                end
         | 
| 2090 2334 |  | 
| @@ -2097,6 +2341,7 @@ module Aws::WorkMail | |
| 2097 2341 | 
             
                #
         | 
| 2098 2342 | 
             
                class ResourceNotFoundException < Struct.new(
         | 
| 2099 2343 | 
             
                  :message)
         | 
| 2344 | 
            +
                  SENSITIVE = []
         | 
| 2100 2345 | 
             
                  include Aws::Structure
         | 
| 2101 2346 | 
             
                end
         | 
| 2102 2347 |  | 
| @@ -2123,6 +2368,7 @@ module Aws::WorkMail | |
| 2123 2368 | 
             
                class Tag < Struct.new(
         | 
| 2124 2369 | 
             
                  :key,
         | 
| 2125 2370 | 
             
                  :value)
         | 
| 2371 | 
            +
                  SENSITIVE = []
         | 
| 2126 2372 | 
             
                  include Aws::Structure
         | 
| 2127 2373 | 
             
                end
         | 
| 2128 2374 |  | 
| @@ -2152,6 +2398,7 @@ module Aws::WorkMail | |
| 2152 2398 | 
             
                class TagResourceRequest < Struct.new(
         | 
| 2153 2399 | 
             
                  :resource_arn,
         | 
| 2154 2400 | 
             
                  :tags)
         | 
| 2401 | 
            +
                  SENSITIVE = []
         | 
| 2155 2402 | 
             
                  include Aws::Structure
         | 
| 2156 2403 | 
             
                end
         | 
| 2157 2404 |  | 
| @@ -2168,6 +2415,7 @@ module Aws::WorkMail | |
| 2168 2415 | 
             
                #
         | 
| 2169 2416 | 
             
                class TooManyTagsException < Struct.new(
         | 
| 2170 2417 | 
             
                  :message)
         | 
| 2418 | 
            +
                  SENSITIVE = []
         | 
| 2171 2419 | 
             
                  include Aws::Structure
         | 
| 2172 2420 | 
             
                end
         | 
| 2173 2421 |  | 
| @@ -2180,6 +2428,7 @@ module Aws::WorkMail | |
| 2180 2428 | 
             
                #
         | 
| 2181 2429 | 
             
                class UnsupportedOperationException < Struct.new(
         | 
| 2182 2430 | 
             
                  :message)
         | 
| 2431 | 
            +
                  SENSITIVE = []
         | 
| 2183 2432 | 
             
                  include Aws::Structure
         | 
| 2184 2433 | 
             
                end
         | 
| 2185 2434 |  | 
| @@ -2204,6 +2453,7 @@ module Aws::WorkMail | |
| 2204 2453 | 
             
                class UntagResourceRequest < Struct.new(
         | 
| 2205 2454 | 
             
                  :resource_arn,
         | 
| 2206 2455 | 
             
                  :tag_keys)
         | 
| 2456 | 
            +
                  SENSITIVE = []
         | 
| 2207 2457 | 
             
                  include Aws::Structure
         | 
| 2208 2458 | 
             
                end
         | 
| 2209 2459 |  | 
| @@ -2239,6 +2489,7 @@ module Aws::WorkMail | |
| 2239 2489 | 
             
                  :organization_id,
         | 
| 2240 2490 | 
             
                  :user_id,
         | 
| 2241 2491 | 
             
                  :mailbox_quota)
         | 
| 2492 | 
            +
                  SENSITIVE = []
         | 
| 2242 2493 | 
             
                  include Aws::Structure
         | 
| 2243 2494 | 
             
                end
         | 
| 2244 2495 |  | 
| @@ -2274,6 +2525,7 @@ module Aws::WorkMail | |
| 2274 2525 | 
             
                  :organization_id,
         | 
| 2275 2526 | 
             
                  :entity_id,
         | 
| 2276 2527 | 
             
                  :email)
         | 
| 2528 | 
            +
                  SENSITIVE = []
         | 
| 2277 2529 | 
             
                  include Aws::Structure
         | 
| 2278 2530 | 
             
                end
         | 
| 2279 2531 |  | 
| @@ -2319,6 +2571,7 @@ module Aws::WorkMail | |
| 2319 2571 | 
             
                  :resource_id,
         | 
| 2320 2572 | 
             
                  :name,
         | 
| 2321 2573 | 
             
                  :booking_options)
         | 
| 2574 | 
            +
                  SENSITIVE = []
         | 
| 2322 2575 | 
             
                  include Aws::Structure
         | 
| 2323 2576 | 
             
                end
         | 
| 2324 2577 |  | 
| @@ -2373,6 +2626,7 @@ module Aws::WorkMail | |
| 2373 2626 | 
             
                  :user_role,
         | 
| 2374 2627 | 
             
                  :enabled_date,
         | 
| 2375 2628 | 
             
                  :disabled_date)
         | 
| 2629 | 
            +
                  SENSITIVE = []
         | 
| 2376 2630 | 
             
                  include Aws::Structure
         | 
| 2377 2631 | 
             
                end
         | 
| 2378 2632 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-workmail
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.28.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: 2020- | 
| 11 | 
            +
            date: 2020-08-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. | 
| 22 | 
            +
                    version: 3.99.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. | 
| 32 | 
            +
                    version: 3.99.0
         | 
| 33 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 34 | 
             
              name: aws-sigv4
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         |