aws-sdk-workmail 1.41.0 → 1.45.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/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +266 -1
- data/lib/aws-sdk-workmail/client_api.rb +181 -0
- data/lib/aws-sdk-workmail/errors.rb +32 -0
- data/lib/aws-sdk-workmail/types.rb +353 -4
- data/lib/aws-sdk-workmail.rb +1 -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: 922cefdc55e8d5b7aab85c92062ec4db570a3f089ac80483002392ecc5dd403b
|
4
|
+
data.tar.gz: c17ed826d7b7c0f5084ead3394755ff7f07cc93a3019a41db237aab2e0ac235e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0d0e949906a244561e9bfe17f4b076fef34b86a18efa86957286ba09099cff4bb340822ca7c82ade11f0b05283c7d8b74bb3e37c2081f400b562a513ba4cb5e
|
7
|
+
data.tar.gz: e37a654839ab765c2c22085672fdf433635ddd39007d43a22cd961692039da5e380f78656f566b1183b52ae0ccfcd288949278baa50fdec1e3f6dadd9c0024cd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.45.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.44.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.43.0 (2021-10-13)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds APIs for adding, removing and retrieving details of mail domains
|
18
|
+
|
19
|
+
1.42.0 (2021-10-05)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release allows customers to change their inbound DMARC settings in Amazon WorkMail.
|
23
|
+
|
4
24
|
1.41.0 (2021-09-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
@@ -285,6 +285,15 @@ module Aws::WorkMail
|
|
285
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
286
|
# requests are made, and retries are disabled.
|
287
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
288
297
|
# @option options [Boolean] :validate_params (true)
|
289
298
|
# When `true`, request parameters are validated before
|
290
299
|
# sending the request.
|
@@ -751,6 +760,12 @@ module Aws::WorkMail
|
|
751
760
|
# Deletes an access control rule for the specified WorkMail
|
752
761
|
# organization.
|
753
762
|
#
|
763
|
+
# <note markdown="1"> Deleting already deleted and non-existing rules does not produce an
|
764
|
+
# error. In those cases, the service sends back an HTTP 200 response
|
765
|
+
# with an empty HTTP body.
|
766
|
+
#
|
767
|
+
# </note>
|
768
|
+
#
|
754
769
|
# @option params [required, String] :organization_id
|
755
770
|
# The identifier for the organization.
|
756
771
|
#
|
@@ -870,6 +885,12 @@ module Aws::WorkMail
|
|
870
885
|
# Deletes the mobile device access override for the given WorkMail
|
871
886
|
# organization, user, and device.
|
872
887
|
#
|
888
|
+
# <note markdown="1"> Deleting already deleted and non-existing overrides does not produce
|
889
|
+
# an error. In those cases, the service sends back an HTTP 200 response
|
890
|
+
# with an empty HTTP body.
|
891
|
+
#
|
892
|
+
# </note>
|
893
|
+
#
|
873
894
|
# @option params [required, String] :organization_id
|
874
895
|
# The Amazon WorkMail organization for which the access override will be
|
875
896
|
# deleted.
|
@@ -911,6 +932,12 @@ module Aws::WorkMail
|
|
911
932
|
# Deletes a mobile device access rule for the specified Amazon WorkMail
|
912
933
|
# organization.
|
913
934
|
#
|
935
|
+
# <note markdown="1"> Deleting already deleted and non-existing rules does not produce an
|
936
|
+
# error. In those cases, the service sends back an HTTP 200 response
|
937
|
+
# with an empty HTTP body.
|
938
|
+
#
|
939
|
+
# </note>
|
940
|
+
#
|
914
941
|
# @option params [required, String] :organization_id
|
915
942
|
# The Amazon WorkMail organization under which the rule will be deleted.
|
916
943
|
#
|
@@ -1100,6 +1127,37 @@ module Aws::WorkMail
|
|
1100
1127
|
req.send_request(options)
|
1101
1128
|
end
|
1102
1129
|
|
1130
|
+
# Removes a domain from Amazon WorkMail, stops email routing to
|
1131
|
+
# WorkMail, and removes the authorization allowing WorkMail use. SES
|
1132
|
+
# keeps the domain because other applications may use it. You must first
|
1133
|
+
# remove any email address used by WorkMail entities before you remove
|
1134
|
+
# the domain.
|
1135
|
+
#
|
1136
|
+
# @option params [required, String] :organization_id
|
1137
|
+
# The Amazon WorkMail organization for which the domain will be
|
1138
|
+
# deregistered.
|
1139
|
+
#
|
1140
|
+
# @option params [required, String] :domain_name
|
1141
|
+
# The domain to deregister in WorkMail and SES.
|
1142
|
+
#
|
1143
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1144
|
+
#
|
1145
|
+
# @example Request syntax with placeholder values
|
1146
|
+
#
|
1147
|
+
# resp = client.deregister_mail_domain({
|
1148
|
+
# organization_id: "OrganizationId", # required
|
1149
|
+
# domain_name: "WorkMailDomainName", # required
|
1150
|
+
# })
|
1151
|
+
#
|
1152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterMailDomain AWS API Documentation
|
1153
|
+
#
|
1154
|
+
# @overload deregister_mail_domain(params = {})
|
1155
|
+
# @param [Hash] params ({})
|
1156
|
+
def deregister_mail_domain(params = {}, options = {})
|
1157
|
+
req = build_request(:deregister_mail_domain, params)
|
1158
|
+
req.send_request(options)
|
1159
|
+
end
|
1160
|
+
|
1103
1161
|
# Returns the data available for the group.
|
1104
1162
|
#
|
1105
1163
|
# @option params [required, String] :organization_id
|
@@ -1142,6 +1200,34 @@ module Aws::WorkMail
|
|
1142
1200
|
req.send_request(options)
|
1143
1201
|
end
|
1144
1202
|
|
1203
|
+
# Lists the settings in a DMARC policy for a specified organization.
|
1204
|
+
#
|
1205
|
+
# @option params [required, String] :organization_id
|
1206
|
+
# Lists the ID of the given organization.
|
1207
|
+
#
|
1208
|
+
# @return [Types::DescribeInboundDmarcSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1209
|
+
#
|
1210
|
+
# * {Types::DescribeInboundDmarcSettingsResponse#enforced #enforced} => Boolean
|
1211
|
+
#
|
1212
|
+
# @example Request syntax with placeholder values
|
1213
|
+
#
|
1214
|
+
# resp = client.describe_inbound_dmarc_settings({
|
1215
|
+
# organization_id: "OrganizationId", # required
|
1216
|
+
# })
|
1217
|
+
#
|
1218
|
+
# @example Response structure
|
1219
|
+
#
|
1220
|
+
# resp.enforced #=> Boolean
|
1221
|
+
#
|
1222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettings AWS API Documentation
|
1223
|
+
#
|
1224
|
+
# @overload describe_inbound_dmarc_settings(params = {})
|
1225
|
+
# @param [Hash] params ({})
|
1226
|
+
def describe_inbound_dmarc_settings(params = {}, options = {})
|
1227
|
+
req = build_request(:describe_inbound_dmarc_settings, params)
|
1228
|
+
req.send_request(options)
|
1229
|
+
end
|
1230
|
+
|
1145
1231
|
# Describes the current status of a mailbox export job.
|
1146
1232
|
#
|
1147
1233
|
# @option params [required, String] :job_id
|
@@ -1482,6 +1568,50 @@ module Aws::WorkMail
|
|
1482
1568
|
req.send_request(options)
|
1483
1569
|
end
|
1484
1570
|
|
1571
|
+
# Gets details for a mail domain, including domain records required to
|
1572
|
+
# configure your domain with recommended security.
|
1573
|
+
#
|
1574
|
+
# @option params [required, String] :organization_id
|
1575
|
+
# The Amazon WorkMail organization for which the domain is retrieved.
|
1576
|
+
#
|
1577
|
+
# @option params [required, String] :domain_name
|
1578
|
+
# The domain from which you want to retrieve details.
|
1579
|
+
#
|
1580
|
+
# @return [Types::GetMailDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1581
|
+
#
|
1582
|
+
# * {Types::GetMailDomainResponse#records #records} => Array<Types::DnsRecord>
|
1583
|
+
# * {Types::GetMailDomainResponse#is_test_domain #is_test_domain} => Boolean
|
1584
|
+
# * {Types::GetMailDomainResponse#is_default #is_default} => Boolean
|
1585
|
+
# * {Types::GetMailDomainResponse#ownership_verification_status #ownership_verification_status} => String
|
1586
|
+
# * {Types::GetMailDomainResponse#dkim_verification_status #dkim_verification_status} => String
|
1587
|
+
#
|
1588
|
+
# @example Request syntax with placeholder values
|
1589
|
+
#
|
1590
|
+
# resp = client.get_mail_domain({
|
1591
|
+
# organization_id: "OrganizationId", # required
|
1592
|
+
# domain_name: "WorkMailDomainName", # required
|
1593
|
+
# })
|
1594
|
+
#
|
1595
|
+
# @example Response structure
|
1596
|
+
#
|
1597
|
+
# resp.records #=> Array
|
1598
|
+
# resp.records[0].type #=> String
|
1599
|
+
# resp.records[0].hostname #=> String
|
1600
|
+
# resp.records[0].value #=> String
|
1601
|
+
# resp.is_test_domain #=> Boolean
|
1602
|
+
# resp.is_default #=> Boolean
|
1603
|
+
# resp.ownership_verification_status #=> String, one of "PENDING", "VERIFIED", "FAILED"
|
1604
|
+
# resp.dkim_verification_status #=> String, one of "PENDING", "VERIFIED", "FAILED"
|
1605
|
+
#
|
1606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailDomain AWS API Documentation
|
1607
|
+
#
|
1608
|
+
# @overload get_mail_domain(params = {})
|
1609
|
+
# @param [Hash] params ({})
|
1610
|
+
def get_mail_domain(params = {}, options = {})
|
1611
|
+
req = build_request(:get_mail_domain, params)
|
1612
|
+
req.send_request(options)
|
1613
|
+
end
|
1614
|
+
|
1485
1615
|
# Requests a user's mailbox details for a specified organization and
|
1486
1616
|
# user.
|
1487
1617
|
#
|
@@ -1818,6 +1948,49 @@ module Aws::WorkMail
|
|
1818
1948
|
req.send_request(options)
|
1819
1949
|
end
|
1820
1950
|
|
1951
|
+
# Lists the mail domains in a given Amazon WorkMail organization.
|
1952
|
+
#
|
1953
|
+
# @option params [required, String] :organization_id
|
1954
|
+
# The Amazon WorkMail organization for which to list domains.
|
1955
|
+
#
|
1956
|
+
# @option params [Integer] :max_results
|
1957
|
+
# The maximum number of results to return in a single call.
|
1958
|
+
#
|
1959
|
+
# @option params [String] :next_token
|
1960
|
+
# The token to use to retrieve the next page of results. The first call
|
1961
|
+
# does not require a token.
|
1962
|
+
#
|
1963
|
+
# @return [Types::ListMailDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1964
|
+
#
|
1965
|
+
# * {Types::ListMailDomainsResponse#mail_domains #mail_domains} => Array<Types::MailDomainSummary>
|
1966
|
+
# * {Types::ListMailDomainsResponse#next_token #next_token} => String
|
1967
|
+
#
|
1968
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1969
|
+
#
|
1970
|
+
# @example Request syntax with placeholder values
|
1971
|
+
#
|
1972
|
+
# resp = client.list_mail_domains({
|
1973
|
+
# organization_id: "OrganizationId", # required
|
1974
|
+
# max_results: 1,
|
1975
|
+
# next_token: "NextToken",
|
1976
|
+
# })
|
1977
|
+
#
|
1978
|
+
# @example Response structure
|
1979
|
+
#
|
1980
|
+
# resp.mail_domains #=> Array
|
1981
|
+
# resp.mail_domains[0].domain_name #=> String
|
1982
|
+
# resp.mail_domains[0].default_domain #=> Boolean
|
1983
|
+
# resp.next_token #=> String
|
1984
|
+
#
|
1985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailDomains AWS API Documentation
|
1986
|
+
#
|
1987
|
+
# @overload list_mail_domains(params = {})
|
1988
|
+
# @param [Hash] params ({})
|
1989
|
+
def list_mail_domains(params = {}, options = {})
|
1990
|
+
req = build_request(:list_mail_domains, params)
|
1991
|
+
req.send_request(options)
|
1992
|
+
end
|
1993
|
+
|
1821
1994
|
# Lists the mailbox export jobs started for the specified organization
|
1822
1995
|
# within the last seven days.
|
1823
1996
|
#
|
@@ -2319,6 +2492,32 @@ module Aws::WorkMail
|
|
2319
2492
|
req.send_request(options)
|
2320
2493
|
end
|
2321
2494
|
|
2495
|
+
# Enables or disables a DMARC policy for a given organization.
|
2496
|
+
#
|
2497
|
+
# @option params [required, String] :organization_id
|
2498
|
+
# The ID of the organization that you are applying the DMARC policy to.
|
2499
|
+
#
|
2500
|
+
# @option params [required, Boolean] :enforced
|
2501
|
+
# Enforces or suspends a policy after it's applied.
|
2502
|
+
#
|
2503
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2504
|
+
#
|
2505
|
+
# @example Request syntax with placeholder values
|
2506
|
+
#
|
2507
|
+
# resp = client.put_inbound_dmarc_settings({
|
2508
|
+
# organization_id: "OrganizationId", # required
|
2509
|
+
# enforced: false, # required
|
2510
|
+
# })
|
2511
|
+
#
|
2512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettings AWS API Documentation
|
2513
|
+
#
|
2514
|
+
# @overload put_inbound_dmarc_settings(params = {})
|
2515
|
+
# @param [Hash] params ({})
|
2516
|
+
def put_inbound_dmarc_settings(params = {}, options = {})
|
2517
|
+
req = build_request(:put_inbound_dmarc_settings, params)
|
2518
|
+
req.send_request(options)
|
2519
|
+
end
|
2520
|
+
|
2322
2521
|
# Sets permissions for a user, group, or resource. This replaces any
|
2323
2522
|
# pre-existing permissions.
|
2324
2523
|
#
|
@@ -2456,6 +2655,44 @@ module Aws::WorkMail
|
|
2456
2655
|
req.send_request(options)
|
2457
2656
|
end
|
2458
2657
|
|
2658
|
+
# Registers a new domain in Amazon WorkMail and SES, and configures it
|
2659
|
+
# for use by WorkMail. Emails received by SES for this domain are routed
|
2660
|
+
# to the specified WorkMail organization, and WorkMail has permanent
|
2661
|
+
# permission to use the specified domain for sending your users'
|
2662
|
+
# emails.
|
2663
|
+
#
|
2664
|
+
# @option params [String] :client_token
|
2665
|
+
# Idempotency token used when retrying requests.
|
2666
|
+
#
|
2667
|
+
# **A suitable default value is auto-generated.** You should normally
|
2668
|
+
# not need to pass this option.**
|
2669
|
+
#
|
2670
|
+
# @option params [required, String] :organization_id
|
2671
|
+
# The Amazon WorkMail organization under which you're creating the
|
2672
|
+
# domain.
|
2673
|
+
#
|
2674
|
+
# @option params [required, String] :domain_name
|
2675
|
+
# The name of the mail domain to create in Amazon WorkMail and SES.
|
2676
|
+
#
|
2677
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2678
|
+
#
|
2679
|
+
# @example Request syntax with placeholder values
|
2680
|
+
#
|
2681
|
+
# resp = client.register_mail_domain({
|
2682
|
+
# client_token: "IdempotencyClientToken",
|
2683
|
+
# organization_id: "OrganizationId", # required
|
2684
|
+
# domain_name: "WorkMailDomainName", # required
|
2685
|
+
# })
|
2686
|
+
#
|
2687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterMailDomain AWS API Documentation
|
2688
|
+
#
|
2689
|
+
# @overload register_mail_domain(params = {})
|
2690
|
+
# @param [Hash] params ({})
|
2691
|
+
def register_mail_domain(params = {}, options = {})
|
2692
|
+
req = build_request(:register_mail_domain, params)
|
2693
|
+
req.send_request(options)
|
2694
|
+
end
|
2695
|
+
|
2459
2696
|
# Registers an existing and disabled user, group, or resource for Amazon
|
2460
2697
|
# WorkMail use by associating a mailbox and calendaring capabilities. It
|
2461
2698
|
# performs no change if the user, group, or resource is enabled and
|
@@ -2660,6 +2897,34 @@ module Aws::WorkMail
|
|
2660
2897
|
req.send_request(options)
|
2661
2898
|
end
|
2662
2899
|
|
2900
|
+
# Updates the default mail domain for an organization. The default mail
|
2901
|
+
# domain is used by the WorkMail AWS Console to suggest an email address
|
2902
|
+
# when enabling a mail user. You can only have one default domain.
|
2903
|
+
#
|
2904
|
+
# @option params [required, String] :organization_id
|
2905
|
+
# The Amazon WorkMail organization for which to list domains.
|
2906
|
+
#
|
2907
|
+
# @option params [required, String] :domain_name
|
2908
|
+
# The domain name that will become the default domain.
|
2909
|
+
#
|
2910
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2911
|
+
#
|
2912
|
+
# @example Request syntax with placeholder values
|
2913
|
+
#
|
2914
|
+
# resp = client.update_default_mail_domain({
|
2915
|
+
# organization_id: "OrganizationId", # required
|
2916
|
+
# domain_name: "WorkMailDomainName", # required
|
2917
|
+
# })
|
2918
|
+
#
|
2919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateDefaultMailDomain AWS API Documentation
|
2920
|
+
#
|
2921
|
+
# @overload update_default_mail_domain(params = {})
|
2922
|
+
# @param [Hash] params ({})
|
2923
|
+
def update_default_mail_domain(params = {}, options = {})
|
2924
|
+
req = build_request(:update_default_mail_domain, params)
|
2925
|
+
req.send_request(options)
|
2926
|
+
end
|
2927
|
+
|
2663
2928
|
# Updates a user's current mailbox quota for a specified organization
|
2664
2929
|
# and user.
|
2665
2930
|
#
|
@@ -2856,7 +3121,7 @@ module Aws::WorkMail
|
|
2856
3121
|
params: params,
|
2857
3122
|
config: config)
|
2858
3123
|
context[:gem_name] = 'aws-sdk-workmail'
|
2859
|
-
context[:gem_version] = '1.
|
3124
|
+
context[:gem_version] = '1.45.0'
|
2860
3125
|
Seahorse::Client::Request.new(handlers, context)
|
2861
3126
|
end
|
2862
3127
|
|
@@ -29,6 +29,7 @@ module Aws::WorkMail
|
|
29
29
|
AssociateMemberToGroupResponse = Shapes::StructureShape.new(name: 'AssociateMemberToGroupResponse')
|
30
30
|
BookingOptions = Shapes::StructureShape.new(name: 'BookingOptions')
|
31
31
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
32
|
+
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
32
33
|
CancelMailboxExportJobRequest = Shapes::StructureShape.new(name: 'CancelMailboxExportJobRequest')
|
33
34
|
CancelMailboxExportJobResponse = Shapes::StructureShape.new(name: 'CancelMailboxExportJobResponse')
|
34
35
|
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
@@ -66,8 +67,12 @@ module Aws::WorkMail
|
|
66
67
|
DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
|
67
68
|
DeregisterFromWorkMailRequest = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailRequest')
|
68
69
|
DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
|
70
|
+
DeregisterMailDomainRequest = Shapes::StructureShape.new(name: 'DeregisterMailDomainRequest')
|
71
|
+
DeregisterMailDomainResponse = Shapes::StructureShape.new(name: 'DeregisterMailDomainResponse')
|
69
72
|
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
70
73
|
DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
|
74
|
+
DescribeInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsRequest')
|
75
|
+
DescribeInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'DescribeInboundDmarcSettingsResponse')
|
71
76
|
DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
|
72
77
|
DescribeMailboxExportJobResponse = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobResponse')
|
73
78
|
DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
|
@@ -94,6 +99,9 @@ module Aws::WorkMail
|
|
94
99
|
DisassociateDelegateFromResourceResponse = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceResponse')
|
95
100
|
DisassociateMemberFromGroupRequest = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupRequest')
|
96
101
|
DisassociateMemberFromGroupResponse = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupResponse')
|
102
|
+
DnsRecord = Shapes::StructureShape.new(name: 'DnsRecord')
|
103
|
+
DnsRecordVerificationStatus = Shapes::StringShape.new(name: 'DnsRecordVerificationStatus')
|
104
|
+
DnsRecords = Shapes::ListShape.new(name: 'DnsRecords')
|
97
105
|
Domain = Shapes::StructureShape.new(name: 'Domain')
|
98
106
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
99
107
|
Domains = Shapes::ListShape.new(name: 'Domains')
|
@@ -111,6 +119,8 @@ module Aws::WorkMail
|
|
111
119
|
GetAccessControlEffectResponse = Shapes::StructureShape.new(name: 'GetAccessControlEffectResponse')
|
112
120
|
GetDefaultRetentionPolicyRequest = Shapes::StructureShape.new(name: 'GetDefaultRetentionPolicyRequest')
|
113
121
|
GetDefaultRetentionPolicyResponse = Shapes::StructureShape.new(name: 'GetDefaultRetentionPolicyResponse')
|
122
|
+
GetMailDomainRequest = Shapes::StructureShape.new(name: 'GetMailDomainRequest')
|
123
|
+
GetMailDomainResponse = Shapes::StructureShape.new(name: 'GetMailDomainResponse')
|
114
124
|
GetMailboxDetailsRequest = Shapes::StructureShape.new(name: 'GetMailboxDetailsRequest')
|
115
125
|
GetMailboxDetailsResponse = Shapes::StructureShape.new(name: 'GetMailboxDetailsResponse')
|
116
126
|
GetMobileDeviceAccessEffectRequest = Shapes::StructureShape.new(name: 'GetMobileDeviceAccessEffectRequest')
|
@@ -123,6 +133,7 @@ module Aws::WorkMail
|
|
123
133
|
HostedZoneId = Shapes::StringShape.new(name: 'HostedZoneId')
|
124
134
|
IdempotencyClientToken = Shapes::StringShape.new(name: 'IdempotencyClientToken')
|
125
135
|
InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
|
136
|
+
InvalidCustomSesConfigurationException = Shapes::StructureShape.new(name: 'InvalidCustomSesConfigurationException')
|
126
137
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
127
138
|
InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
|
128
139
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
@@ -139,6 +150,8 @@ module Aws::WorkMail
|
|
139
150
|
ListGroupMembersResponse = Shapes::StructureShape.new(name: 'ListGroupMembersResponse')
|
140
151
|
ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
|
141
152
|
ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
|
153
|
+
ListMailDomainsRequest = Shapes::StructureShape.new(name: 'ListMailDomainsRequest')
|
154
|
+
ListMailDomainsResponse = Shapes::StructureShape.new(name: 'ListMailDomainsResponse')
|
142
155
|
ListMailboxExportJobsRequest = Shapes::StructureShape.new(name: 'ListMailboxExportJobsRequest')
|
143
156
|
ListMailboxExportJobsResponse = Shapes::StructureShape.new(name: 'ListMailboxExportJobsResponse')
|
144
157
|
ListMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'ListMailboxPermissionsRequest')
|
@@ -157,8 +170,11 @@ module Aws::WorkMail
|
|
157
170
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
158
171
|
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
159
172
|
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
173
|
+
MailDomainInUseException = Shapes::StructureShape.new(name: 'MailDomainInUseException')
|
160
174
|
MailDomainNotFoundException = Shapes::StructureShape.new(name: 'MailDomainNotFoundException')
|
161
175
|
MailDomainStateException = Shapes::StructureShape.new(name: 'MailDomainStateException')
|
176
|
+
MailDomainSummary = Shapes::StructureShape.new(name: 'MailDomainSummary')
|
177
|
+
MailDomains = Shapes::ListShape.new(name: 'MailDomains')
|
162
178
|
MailboxExportErrorInfo = Shapes::StringShape.new(name: 'MailboxExportErrorInfo')
|
163
179
|
MailboxExportJob = Shapes::StructureShape.new(name: 'MailboxExportJob')
|
164
180
|
MailboxExportJobId = Shapes::StringShape.new(name: 'MailboxExportJobId')
|
@@ -196,12 +212,16 @@ module Aws::WorkMail
|
|
196
212
|
PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
|
197
213
|
PutAccessControlRuleRequest = Shapes::StructureShape.new(name: 'PutAccessControlRuleRequest')
|
198
214
|
PutAccessControlRuleResponse = Shapes::StructureShape.new(name: 'PutAccessControlRuleResponse')
|
215
|
+
PutInboundDmarcSettingsRequest = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsRequest')
|
216
|
+
PutInboundDmarcSettingsResponse = Shapes::StructureShape.new(name: 'PutInboundDmarcSettingsResponse')
|
199
217
|
PutMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'PutMailboxPermissionsRequest')
|
200
218
|
PutMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'PutMailboxPermissionsResponse')
|
201
219
|
PutMobileDeviceAccessOverrideRequest = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideRequest')
|
202
220
|
PutMobileDeviceAccessOverrideResponse = Shapes::StructureShape.new(name: 'PutMobileDeviceAccessOverrideResponse')
|
203
221
|
PutRetentionPolicyRequest = Shapes::StructureShape.new(name: 'PutRetentionPolicyRequest')
|
204
222
|
PutRetentionPolicyResponse = Shapes::StructureShape.new(name: 'PutRetentionPolicyResponse')
|
223
|
+
RegisterMailDomainRequest = Shapes::StructureShape.new(name: 'RegisterMailDomainRequest')
|
224
|
+
RegisterMailDomainResponse = Shapes::StructureShape.new(name: 'RegisterMailDomainResponse')
|
205
225
|
RegisterToWorkMailRequest = Shapes::StructureShape.new(name: 'RegisterToWorkMailRequest')
|
206
226
|
RegisterToWorkMailResponse = Shapes::StructureShape.new(name: 'RegisterToWorkMailResponse')
|
207
227
|
ReservedNameException = Shapes::StructureShape.new(name: 'ReservedNameException')
|
@@ -235,6 +255,8 @@ module Aws::WorkMail
|
|
235
255
|
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
236
256
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
237
257
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
258
|
+
UpdateDefaultMailDomainRequest = Shapes::StructureShape.new(name: 'UpdateDefaultMailDomainRequest')
|
259
|
+
UpdateDefaultMailDomainResponse = Shapes::StructureShape.new(name: 'UpdateDefaultMailDomainResponse')
|
238
260
|
UpdateMailboxQuotaRequest = Shapes::StructureShape.new(name: 'UpdateMailboxQuotaRequest')
|
239
261
|
UpdateMailboxQuotaResponse = Shapes::StructureShape.new(name: 'UpdateMailboxQuotaResponse')
|
240
262
|
UpdateMobileDeviceAccessRuleRequest = Shapes::StructureShape.new(name: 'UpdateMobileDeviceAccessRuleRequest')
|
@@ -248,6 +270,7 @@ module Aws::WorkMail
|
|
248
270
|
UserName = Shapes::StringShape.new(name: 'UserName')
|
249
271
|
UserRole = Shapes::StringShape.new(name: 'UserRole')
|
250
272
|
Users = Shapes::ListShape.new(name: 'Users')
|
273
|
+
WorkMailDomainName = Shapes::StringShape.new(name: 'WorkMailDomainName')
|
251
274
|
WorkMailIdentifier = Shapes::StringShape.new(name: 'WorkMailIdentifier')
|
252
275
|
|
253
276
|
AccessControlRule.add_member(:name, Shapes::ShapeRef.new(shape: AccessControlRuleName, location_name: "Name"))
|
@@ -433,6 +456,12 @@ module Aws::WorkMail
|
|
433
456
|
|
434
457
|
DeregisterFromWorkMailResponse.struct_class = Types::DeregisterFromWorkMailResponse
|
435
458
|
|
459
|
+
DeregisterMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
460
|
+
DeregisterMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
461
|
+
DeregisterMailDomainRequest.struct_class = Types::DeregisterMailDomainRequest
|
462
|
+
|
463
|
+
DeregisterMailDomainResponse.struct_class = Types::DeregisterMailDomainResponse
|
464
|
+
|
436
465
|
DescribeGroupRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
437
466
|
DescribeGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GroupId"))
|
438
467
|
DescribeGroupRequest.struct_class = Types::DescribeGroupRequest
|
@@ -445,6 +474,12 @@ module Aws::WorkMail
|
|
445
474
|
DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
446
475
|
DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
|
447
476
|
|
477
|
+
DescribeInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
478
|
+
DescribeInboundDmarcSettingsRequest.struct_class = Types::DescribeInboundDmarcSettingsRequest
|
479
|
+
|
480
|
+
DescribeInboundDmarcSettingsResponse.add_member(:enforced, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enforced"))
|
481
|
+
DescribeInboundDmarcSettingsResponse.struct_class = Types::DescribeInboundDmarcSettingsResponse
|
482
|
+
|
448
483
|
DescribeMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
|
449
484
|
DescribeMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
450
485
|
DescribeMailboxExportJobRequest.struct_class = Types::DescribeMailboxExportJobRequest
|
@@ -536,6 +571,13 @@ module Aws::WorkMail
|
|
536
571
|
|
537
572
|
DisassociateMemberFromGroupResponse.struct_class = Types::DisassociateMemberFromGroupResponse
|
538
573
|
|
574
|
+
DnsRecord.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
575
|
+
DnsRecord.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "Hostname"))
|
576
|
+
DnsRecord.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
577
|
+
DnsRecord.struct_class = Types::DnsRecord
|
578
|
+
|
579
|
+
DnsRecords.member = Shapes::ShapeRef.new(shape: DnsRecord)
|
580
|
+
|
539
581
|
Domain.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
540
582
|
Domain.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: HostedZoneId, location_name: "HostedZoneId"))
|
541
583
|
Domain.struct_class = Types::Domain
|
@@ -580,6 +622,17 @@ module Aws::WorkMail
|
|
580
622
|
GetDefaultRetentionPolicyResponse.add_member(:folder_configurations, Shapes::ShapeRef.new(shape: FolderConfigurations, location_name: "FolderConfigurations"))
|
581
623
|
GetDefaultRetentionPolicyResponse.struct_class = Types::GetDefaultRetentionPolicyResponse
|
582
624
|
|
625
|
+
GetMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
626
|
+
GetMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
627
|
+
GetMailDomainRequest.struct_class = Types::GetMailDomainRequest
|
628
|
+
|
629
|
+
GetMailDomainResponse.add_member(:records, Shapes::ShapeRef.new(shape: DnsRecords, location_name: "Records"))
|
630
|
+
GetMailDomainResponse.add_member(:is_test_domain, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsTestDomain"))
|
631
|
+
GetMailDomainResponse.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
|
632
|
+
GetMailDomainResponse.add_member(:ownership_verification_status, Shapes::ShapeRef.new(shape: DnsRecordVerificationStatus, location_name: "OwnershipVerificationStatus"))
|
633
|
+
GetMailDomainResponse.add_member(:dkim_verification_status, Shapes::ShapeRef.new(shape: DnsRecordVerificationStatus, location_name: "DkimVerificationStatus"))
|
634
|
+
GetMailDomainResponse.struct_class = Types::GetMailDomainResponse
|
635
|
+
|
583
636
|
GetMailboxDetailsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
584
637
|
GetMailboxDetailsRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
|
585
638
|
GetMailboxDetailsRequest.struct_class = Types::GetMailboxDetailsRequest
|
@@ -625,6 +678,9 @@ module Aws::WorkMail
|
|
625
678
|
InvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
626
679
|
InvalidConfigurationException.struct_class = Types::InvalidConfigurationException
|
627
680
|
|
681
|
+
InvalidCustomSesConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
682
|
+
InvalidCustomSesConfigurationException.struct_class = Types::InvalidCustomSesConfigurationException
|
683
|
+
|
628
684
|
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
629
685
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
630
686
|
|
@@ -673,6 +729,15 @@ module Aws::WorkMail
|
|
673
729
|
ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
674
730
|
ListGroupsResponse.struct_class = Types::ListGroupsResponse
|
675
731
|
|
732
|
+
ListMailDomainsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
733
|
+
ListMailDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
734
|
+
ListMailDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
735
|
+
ListMailDomainsRequest.struct_class = Types::ListMailDomainsRequest
|
736
|
+
|
737
|
+
ListMailDomainsResponse.add_member(:mail_domains, Shapes::ShapeRef.new(shape: MailDomains, location_name: "MailDomains"))
|
738
|
+
ListMailDomainsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
739
|
+
ListMailDomainsResponse.struct_class = Types::ListMailDomainsResponse
|
740
|
+
|
676
741
|
ListMailboxExportJobsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
677
742
|
ListMailboxExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
678
743
|
ListMailboxExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -751,12 +816,21 @@ module Aws::WorkMail
|
|
751
816
|
ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
752
817
|
ListUsersResponse.struct_class = Types::ListUsersResponse
|
753
818
|
|
819
|
+
MailDomainInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
820
|
+
MailDomainInUseException.struct_class = Types::MailDomainInUseException
|
821
|
+
|
754
822
|
MailDomainNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
755
823
|
MailDomainNotFoundException.struct_class = Types::MailDomainNotFoundException
|
756
824
|
|
757
825
|
MailDomainStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
758
826
|
MailDomainStateException.struct_class = Types::MailDomainStateException
|
759
827
|
|
828
|
+
MailDomainSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
829
|
+
MailDomainSummary.add_member(:default_domain, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultDomain"))
|
830
|
+
MailDomainSummary.struct_class = Types::MailDomainSummary
|
831
|
+
|
832
|
+
MailDomains.member = Shapes::ShapeRef.new(shape: MailDomainSummary)
|
833
|
+
|
760
834
|
MailboxExportJob.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, location_name: "JobId"))
|
761
835
|
MailboxExportJob.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "EntityId"))
|
762
836
|
MailboxExportJob.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
@@ -853,6 +927,12 @@ module Aws::WorkMail
|
|
853
927
|
|
854
928
|
PutAccessControlRuleResponse.struct_class = Types::PutAccessControlRuleResponse
|
855
929
|
|
930
|
+
PutInboundDmarcSettingsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
931
|
+
PutInboundDmarcSettingsRequest.add_member(:enforced, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "Enforced"))
|
932
|
+
PutInboundDmarcSettingsRequest.struct_class = Types::PutInboundDmarcSettingsRequest
|
933
|
+
|
934
|
+
PutInboundDmarcSettingsResponse.struct_class = Types::PutInboundDmarcSettingsResponse
|
935
|
+
|
856
936
|
PutMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
857
937
|
PutMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
858
938
|
PutMailboxPermissionsRequest.add_member(:grantee_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "GranteeId"))
|
@@ -879,6 +959,13 @@ module Aws::WorkMail
|
|
879
959
|
|
880
960
|
PutRetentionPolicyResponse.struct_class = Types::PutRetentionPolicyResponse
|
881
961
|
|
962
|
+
RegisterMailDomainRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
963
|
+
RegisterMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
964
|
+
RegisterMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
965
|
+
RegisterMailDomainRequest.struct_class = Types::RegisterMailDomainRequest
|
966
|
+
|
967
|
+
RegisterMailDomainResponse.struct_class = Types::RegisterMailDomainResponse
|
968
|
+
|
882
969
|
RegisterToWorkMailRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
883
970
|
RegisterToWorkMailRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
884
971
|
RegisterToWorkMailRequest.add_member(:email, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Email"))
|
@@ -951,6 +1038,12 @@ module Aws::WorkMail
|
|
951
1038
|
|
952
1039
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
953
1040
|
|
1041
|
+
UpdateDefaultMailDomainRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
1042
|
+
UpdateDefaultMailDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: WorkMailDomainName, required: true, location_name: "DomainName"))
|
1043
|
+
UpdateDefaultMailDomainRequest.struct_class = Types::UpdateDefaultMailDomainRequest
|
1044
|
+
|
1045
|
+
UpdateDefaultMailDomainResponse.struct_class = Types::UpdateDefaultMailDomainResponse
|
1046
|
+
|
954
1047
|
UpdateMailboxQuotaRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
955
1048
|
UpdateMailboxQuotaRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "UserId"))
|
956
1049
|
UpdateMailboxQuotaRequest.add_member(:mailbox_quota, Shapes::ShapeRef.new(shape: MailboxQuota, required: true, location_name: "MailboxQuota"))
|
@@ -1289,6 +1382,19 @@ module Aws::WorkMail
|
|
1289
1382
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1290
1383
|
end)
|
1291
1384
|
|
1385
|
+
api.add_operation(:deregister_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1386
|
+
o.name = "DeregisterMailDomain"
|
1387
|
+
o.http_method = "POST"
|
1388
|
+
o.http_request_uri = "/"
|
1389
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterMailDomainRequest)
|
1390
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterMailDomainResponse)
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainInUseException)
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCustomSesConfigurationException)
|
1396
|
+
end)
|
1397
|
+
|
1292
1398
|
api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
|
1293
1399
|
o.name = "DescribeGroup"
|
1294
1400
|
o.http_method = "POST"
|
@@ -1301,6 +1407,16 @@ module Aws::WorkMail
|
|
1301
1407
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1302
1408
|
end)
|
1303
1409
|
|
1410
|
+
api.add_operation(:describe_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
1411
|
+
o.name = "DescribeInboundDmarcSettings"
|
1412
|
+
o.http_method = "POST"
|
1413
|
+
o.http_request_uri = "/"
|
1414
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsRequest)
|
1415
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeInboundDmarcSettingsResponse)
|
1416
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1418
|
+
end)
|
1419
|
+
|
1304
1420
|
api.add_operation(:describe_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
|
1305
1421
|
o.name = "DescribeMailboxExportJob"
|
1306
1422
|
o.http_method = "POST"
|
@@ -1400,6 +1516,18 @@ module Aws::WorkMail
|
|
1400
1516
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1401
1517
|
end)
|
1402
1518
|
|
1519
|
+
api.add_operation(:get_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1520
|
+
o.name = "GetMailDomain"
|
1521
|
+
o.http_method = "POST"
|
1522
|
+
o.http_request_uri = "/"
|
1523
|
+
o.input = Shapes::ShapeRef.new(shape: GetMailDomainRequest)
|
1524
|
+
o.output = Shapes::ShapeRef.new(shape: GetMailDomainResponse)
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1528
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1529
|
+
end)
|
1530
|
+
|
1403
1531
|
api.add_operation(:get_mailbox_details, Seahorse::Model::Operation.new.tap do |o|
|
1404
1532
|
o.name = "GetMailboxDetails"
|
1405
1533
|
o.http_method = "POST"
|
@@ -1501,6 +1629,23 @@ module Aws::WorkMail
|
|
1501
1629
|
)
|
1502
1630
|
end)
|
1503
1631
|
|
1632
|
+
api.add_operation(:list_mail_domains, Seahorse::Model::Operation.new.tap do |o|
|
1633
|
+
o.name = "ListMailDomains"
|
1634
|
+
o.http_method = "POST"
|
1635
|
+
o.http_request_uri = "/"
|
1636
|
+
o.input = Shapes::ShapeRef.new(shape: ListMailDomainsRequest)
|
1637
|
+
o.output = Shapes::ShapeRef.new(shape: ListMailDomainsResponse)
|
1638
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1639
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1640
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1641
|
+
o[:pager] = Aws::Pager.new(
|
1642
|
+
limit_key: "max_results",
|
1643
|
+
tokens: {
|
1644
|
+
"next_token" => "next_token"
|
1645
|
+
}
|
1646
|
+
)
|
1647
|
+
end)
|
1648
|
+
|
1504
1649
|
api.add_operation(:list_mailbox_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1505
1650
|
o.name = "ListMailboxExportJobs"
|
1506
1651
|
o.http_method = "POST"
|
@@ -1655,6 +1800,16 @@ module Aws::WorkMail
|
|
1655
1800
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1656
1801
|
end)
|
1657
1802
|
|
1803
|
+
api.add_operation(:put_inbound_dmarc_settings, Seahorse::Model::Operation.new.tap do |o|
|
1804
|
+
o.name = "PutInboundDmarcSettings"
|
1805
|
+
o.http_method = "POST"
|
1806
|
+
o.http_request_uri = "/"
|
1807
|
+
o.input = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsRequest)
|
1808
|
+
o.output = Shapes::ShapeRef.new(shape: PutInboundDmarcSettingsResponse)
|
1809
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1810
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1811
|
+
end)
|
1812
|
+
|
1658
1813
|
api.add_operation(:put_mailbox_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1659
1814
|
o.name = "PutMailboxPermissions"
|
1660
1815
|
o.http_method = "POST"
|
@@ -1693,6 +1848,19 @@ module Aws::WorkMail
|
|
1693
1848
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1694
1849
|
end)
|
1695
1850
|
|
1851
|
+
api.add_operation(:register_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1852
|
+
o.name = "RegisterMailDomain"
|
1853
|
+
o.http_method = "POST"
|
1854
|
+
o.http_request_uri = "/"
|
1855
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterMailDomainRequest)
|
1856
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterMailDomainResponse)
|
1857
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainInUseException)
|
1858
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1859
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1860
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1861
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1862
|
+
end)
|
1863
|
+
|
1696
1864
|
api.add_operation(:register_to_work_mail, Seahorse::Model::Operation.new.tap do |o|
|
1697
1865
|
o.name = "RegisterToWorkMail"
|
1698
1866
|
o.http_method = "POST"
|
@@ -1762,6 +1930,19 @@ module Aws::WorkMail
|
|
1762
1930
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1763
1931
|
end)
|
1764
1932
|
|
1933
|
+
api.add_operation(:update_default_mail_domain, Seahorse::Model::Operation.new.tap do |o|
|
1934
|
+
o.name = "UpdateDefaultMailDomain"
|
1935
|
+
o.http_method = "POST"
|
1936
|
+
o.http_request_uri = "/"
|
1937
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDefaultMailDomainRequest)
|
1938
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDefaultMailDomainResponse)
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainNotFoundException)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: MailDomainStateException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1944
|
+
end)
|
1945
|
+
|
1765
1946
|
api.add_operation(:update_mailbox_quota, Seahorse::Model::Operation.new.tap do |o|
|
1766
1947
|
o.name = "UpdateMailboxQuota"
|
1767
1948
|
o.http_method = "POST"
|
@@ -35,9 +35,11 @@ module Aws::WorkMail
|
|
35
35
|
# * {EntityNotFoundException}
|
36
36
|
# * {EntityStateException}
|
37
37
|
# * {InvalidConfigurationException}
|
38
|
+
# * {InvalidCustomSesConfigurationException}
|
38
39
|
# * {InvalidParameterException}
|
39
40
|
# * {InvalidPasswordException}
|
40
41
|
# * {LimitExceededException}
|
42
|
+
# * {MailDomainInUseException}
|
41
43
|
# * {MailDomainNotFoundException}
|
42
44
|
# * {MailDomainStateException}
|
43
45
|
# * {NameAvailabilityException}
|
@@ -174,6 +176,21 @@ module Aws::WorkMail
|
|
174
176
|
end
|
175
177
|
end
|
176
178
|
|
179
|
+
class InvalidCustomSesConfigurationException < ServiceError
|
180
|
+
|
181
|
+
# @param [Seahorse::Client::RequestContext] context
|
182
|
+
# @param [String] message
|
183
|
+
# @param [Aws::WorkMail::Types::InvalidCustomSesConfigurationException] data
|
184
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
185
|
+
super(context, message, data)
|
186
|
+
end
|
187
|
+
|
188
|
+
# @return [String]
|
189
|
+
def message
|
190
|
+
@message || @data[:message]
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
177
194
|
class InvalidParameterException < ServiceError
|
178
195
|
|
179
196
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -219,6 +236,21 @@ module Aws::WorkMail
|
|
219
236
|
end
|
220
237
|
end
|
221
238
|
|
239
|
+
class MailDomainInUseException < ServiceError
|
240
|
+
|
241
|
+
# @param [Seahorse::Client::RequestContext] context
|
242
|
+
# @param [String] message
|
243
|
+
# @param [Aws::WorkMail::Types::MailDomainInUseException] data
|
244
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
245
|
+
super(context, message, data)
|
246
|
+
end
|
247
|
+
|
248
|
+
# @return [String]
|
249
|
+
def message
|
250
|
+
@message || @data[:message]
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
222
254
|
class MailDomainNotFoundException < ServiceError
|
223
255
|
|
224
256
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -973,6 +973,36 @@ module Aws::WorkMail
|
|
973
973
|
#
|
974
974
|
class DeregisterFromWorkMailResponse < Aws::EmptyStructure; end
|
975
975
|
|
976
|
+
# @note When making an API call, you may pass DeregisterMailDomainRequest
|
977
|
+
# data as a hash:
|
978
|
+
#
|
979
|
+
# {
|
980
|
+
# organization_id: "OrganizationId", # required
|
981
|
+
# domain_name: "WorkMailDomainName", # required
|
982
|
+
# }
|
983
|
+
#
|
984
|
+
# @!attribute [rw] organization_id
|
985
|
+
# The Amazon WorkMail organization for which the domain will be
|
986
|
+
# deregistered.
|
987
|
+
# @return [String]
|
988
|
+
#
|
989
|
+
# @!attribute [rw] domain_name
|
990
|
+
# The domain to deregister in WorkMail and SES.
|
991
|
+
# @return [String]
|
992
|
+
#
|
993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterMailDomainRequest AWS API Documentation
|
994
|
+
#
|
995
|
+
class DeregisterMailDomainRequest < Struct.new(
|
996
|
+
:organization_id,
|
997
|
+
:domain_name)
|
998
|
+
SENSITIVE = []
|
999
|
+
include Aws::Structure
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterMailDomainResponse AWS API Documentation
|
1003
|
+
#
|
1004
|
+
class DeregisterMailDomainResponse < Aws::EmptyStructure; end
|
1005
|
+
|
976
1006
|
# @note When making an API call, you may pass DescribeGroupRequest
|
977
1007
|
# data as a hash:
|
978
1008
|
#
|
@@ -1038,6 +1068,37 @@ module Aws::WorkMail
|
|
1038
1068
|
include Aws::Structure
|
1039
1069
|
end
|
1040
1070
|
|
1071
|
+
# @note When making an API call, you may pass DescribeInboundDmarcSettingsRequest
|
1072
|
+
# data as a hash:
|
1073
|
+
#
|
1074
|
+
# {
|
1075
|
+
# organization_id: "OrganizationId", # required
|
1076
|
+
# }
|
1077
|
+
#
|
1078
|
+
# @!attribute [rw] organization_id
|
1079
|
+
# Lists the ID of the given organization.
|
1080
|
+
# @return [String]
|
1081
|
+
#
|
1082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettingsRequest AWS API Documentation
|
1083
|
+
#
|
1084
|
+
class DescribeInboundDmarcSettingsRequest < Struct.new(
|
1085
|
+
:organization_id)
|
1086
|
+
SENSITIVE = []
|
1087
|
+
include Aws::Structure
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# @!attribute [rw] enforced
|
1091
|
+
# Lists the enforcement setting of the applied policy.
|
1092
|
+
# @return [Boolean]
|
1093
|
+
#
|
1094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettingsResponse AWS API Documentation
|
1095
|
+
#
|
1096
|
+
class DescribeInboundDmarcSettingsResponse < Struct.new(
|
1097
|
+
:enforced)
|
1098
|
+
SENSITIVE = []
|
1099
|
+
include Aws::Structure
|
1100
|
+
end
|
1101
|
+
|
1041
1102
|
# @note When making an API call, you may pass DescribeMailboxExportJobRequest
|
1042
1103
|
# data as a hash:
|
1043
1104
|
#
|
@@ -1480,6 +1541,31 @@ module Aws::WorkMail
|
|
1480
1541
|
#
|
1481
1542
|
class DisassociateMemberFromGroupResponse < Aws::EmptyStructure; end
|
1482
1543
|
|
1544
|
+
# A DNS record uploaded to your DNS provider.
|
1545
|
+
#
|
1546
|
+
# @!attribute [rw] type
|
1547
|
+
# The RFC 1035 record type. Possible values: `CNAME`, `A`, `MX`.
|
1548
|
+
# @return [String]
|
1549
|
+
#
|
1550
|
+
# @!attribute [rw] hostname
|
1551
|
+
# The DNS hostname.- For example, `domain.example.com`.
|
1552
|
+
# @return [String]
|
1553
|
+
#
|
1554
|
+
# @!attribute [rw] value
|
1555
|
+
# The value returned by the DNS for a query to that hostname and
|
1556
|
+
# record type.
|
1557
|
+
# @return [String]
|
1558
|
+
#
|
1559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DnsRecord AWS API Documentation
|
1560
|
+
#
|
1561
|
+
class DnsRecord < Struct.new(
|
1562
|
+
:type,
|
1563
|
+
:hostname,
|
1564
|
+
:value)
|
1565
|
+
SENSITIVE = []
|
1566
|
+
include Aws::Structure
|
1567
|
+
end
|
1568
|
+
|
1483
1569
|
# The domain to associate with an Amazon WorkMail organization.
|
1484
1570
|
#
|
1485
1571
|
# When you configure a domain hosted in Amazon Route 53 (Route 53), all
|
@@ -1595,8 +1681,8 @@ module Aws::WorkMail
|
|
1595
1681
|
# @return [String]
|
1596
1682
|
#
|
1597
1683
|
# @!attribute [rw] period
|
1598
|
-
# The
|
1599
|
-
#
|
1684
|
+
# The number of days for which the folder-configuration action
|
1685
|
+
# applies.
|
1600
1686
|
# @return [Integer]
|
1601
1687
|
#
|
1602
1688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/FolderConfiguration AWS API Documentation
|
@@ -1711,6 +1797,68 @@ module Aws::WorkMail
|
|
1711
1797
|
include Aws::Structure
|
1712
1798
|
end
|
1713
1799
|
|
1800
|
+
# @note When making an API call, you may pass GetMailDomainRequest
|
1801
|
+
# data as a hash:
|
1802
|
+
#
|
1803
|
+
# {
|
1804
|
+
# organization_id: "OrganizationId", # required
|
1805
|
+
# domain_name: "WorkMailDomainName", # required
|
1806
|
+
# }
|
1807
|
+
#
|
1808
|
+
# @!attribute [rw] organization_id
|
1809
|
+
# The Amazon WorkMail organization for which the domain is retrieved.
|
1810
|
+
# @return [String]
|
1811
|
+
#
|
1812
|
+
# @!attribute [rw] domain_name
|
1813
|
+
# The domain from which you want to retrieve details.
|
1814
|
+
# @return [String]
|
1815
|
+
#
|
1816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailDomainRequest AWS API Documentation
|
1817
|
+
#
|
1818
|
+
class GetMailDomainRequest < Struct.new(
|
1819
|
+
:organization_id,
|
1820
|
+
:domain_name)
|
1821
|
+
SENSITIVE = []
|
1822
|
+
include Aws::Structure
|
1823
|
+
end
|
1824
|
+
|
1825
|
+
# @!attribute [rw] records
|
1826
|
+
# A list of the DNS records that Amazon WorkMail recommends adding in
|
1827
|
+
# your DNS provider for the best user experience. The records
|
1828
|
+
# configure your domain with DMARC, SPF, DKIM, and direct incoming
|
1829
|
+
# email traffic to SES. See admin guide for more details.
|
1830
|
+
# @return [Array<Types::DnsRecord>]
|
1831
|
+
#
|
1832
|
+
# @!attribute [rw] is_test_domain
|
1833
|
+
# Specifies whether the domain is a test domain provided by WorkMail,
|
1834
|
+
# or a custom domain.
|
1835
|
+
# @return [Boolean]
|
1836
|
+
#
|
1837
|
+
# @!attribute [rw] is_default
|
1838
|
+
# Specifies whether the domain is the default domain for your
|
1839
|
+
# organization.
|
1840
|
+
# @return [Boolean]
|
1841
|
+
#
|
1842
|
+
# @!attribute [rw] ownership_verification_status
|
1843
|
+
# Indicates the status of the domain ownership verification.
|
1844
|
+
# @return [String]
|
1845
|
+
#
|
1846
|
+
# @!attribute [rw] dkim_verification_status
|
1847
|
+
# Indicates the status of a DKIM verification.
|
1848
|
+
# @return [String]
|
1849
|
+
#
|
1850
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailDomainResponse AWS API Documentation
|
1851
|
+
#
|
1852
|
+
class GetMailDomainResponse < Struct.new(
|
1853
|
+
:records,
|
1854
|
+
:is_test_domain,
|
1855
|
+
:is_default,
|
1856
|
+
:ownership_verification_status,
|
1857
|
+
:dkim_verification_status)
|
1858
|
+
SENSITIVE = []
|
1859
|
+
include Aws::Structure
|
1860
|
+
end
|
1861
|
+
|
1714
1862
|
# @note When making an API call, you may pass GetMailboxDetailsRequest
|
1715
1863
|
# data as a hash:
|
1716
1864
|
#
|
@@ -1952,6 +2100,25 @@ module Aws::WorkMail
|
|
1952
2100
|
include Aws::Structure
|
1953
2101
|
end
|
1954
2102
|
|
2103
|
+
# You SES configuration has customizations that Amazon WorkMail cannot
|
2104
|
+
# save. The error message lists the invalid setting. For examples of
|
2105
|
+
# invalid settings, refer to [CreateReceiptRule][1].
|
2106
|
+
#
|
2107
|
+
#
|
2108
|
+
#
|
2109
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html
|
2110
|
+
#
|
2111
|
+
# @!attribute [rw] message
|
2112
|
+
# @return [String]
|
2113
|
+
#
|
2114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/InvalidCustomSesConfigurationException AWS API Documentation
|
2115
|
+
#
|
2116
|
+
class InvalidCustomSesConfigurationException < Struct.new(
|
2117
|
+
:message)
|
2118
|
+
SENSITIVE = []
|
2119
|
+
include Aws::Structure
|
2120
|
+
end
|
2121
|
+
|
1955
2122
|
# One or more of the input parameters don't match the service's
|
1956
2123
|
# restrictions.
|
1957
2124
|
#
|
@@ -2187,6 +2354,58 @@ module Aws::WorkMail
|
|
2187
2354
|
include Aws::Structure
|
2188
2355
|
end
|
2189
2356
|
|
2357
|
+
# @note When making an API call, you may pass ListMailDomainsRequest
|
2358
|
+
# data as a hash:
|
2359
|
+
#
|
2360
|
+
# {
|
2361
|
+
# organization_id: "OrganizationId", # required
|
2362
|
+
# max_results: 1,
|
2363
|
+
# next_token: "NextToken",
|
2364
|
+
# }
|
2365
|
+
#
|
2366
|
+
# @!attribute [rw] organization_id
|
2367
|
+
# The Amazon WorkMail organization for which to list domains.
|
2368
|
+
# @return [String]
|
2369
|
+
#
|
2370
|
+
# @!attribute [rw] max_results
|
2371
|
+
# The maximum number of results to return in a single call.
|
2372
|
+
# @return [Integer]
|
2373
|
+
#
|
2374
|
+
# @!attribute [rw] next_token
|
2375
|
+
# The token to use to retrieve the next page of results. The first
|
2376
|
+
# call does not require a token.
|
2377
|
+
# @return [String]
|
2378
|
+
#
|
2379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailDomainsRequest AWS API Documentation
|
2380
|
+
#
|
2381
|
+
class ListMailDomainsRequest < Struct.new(
|
2382
|
+
:organization_id,
|
2383
|
+
:max_results,
|
2384
|
+
:next_token)
|
2385
|
+
SENSITIVE = []
|
2386
|
+
include Aws::Structure
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
# @!attribute [rw] mail_domains
|
2390
|
+
# The list of mail domain summaries, specifying domains that exist in
|
2391
|
+
# the specified Amazon WorkMail organization, along with the
|
2392
|
+
# information about whether the domain is or isn't the default.
|
2393
|
+
# @return [Array<Types::MailDomainSummary>]
|
2394
|
+
#
|
2395
|
+
# @!attribute [rw] next_token
|
2396
|
+
# The token to use to retrieve the next page of results. The value
|
2397
|
+
# becomes `null` when there are no more results to return.
|
2398
|
+
# @return [String]
|
2399
|
+
#
|
2400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailDomainsResponse AWS API Documentation
|
2401
|
+
#
|
2402
|
+
class ListMailDomainsResponse < Struct.new(
|
2403
|
+
:mail_domains,
|
2404
|
+
:next_token)
|
2405
|
+
SENSITIVE = []
|
2406
|
+
include Aws::Structure
|
2407
|
+
end
|
2408
|
+
|
2190
2409
|
# @note When making an API call, you may pass ListMailboxExportJobsRequest
|
2191
2410
|
# data as a hash:
|
2192
2411
|
#
|
@@ -2632,8 +2851,21 @@ module Aws::WorkMail
|
|
2632
2851
|
include Aws::Structure
|
2633
2852
|
end
|
2634
2853
|
|
2635
|
-
#
|
2636
|
-
#
|
2854
|
+
# The domain you're trying to change is in use by another user or
|
2855
|
+
# organization in your account. See the error message for details.
|
2856
|
+
#
|
2857
|
+
# @!attribute [rw] message
|
2858
|
+
# @return [String]
|
2859
|
+
#
|
2860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MailDomainInUseException AWS API Documentation
|
2861
|
+
#
|
2862
|
+
class MailDomainInUseException < Struct.new(
|
2863
|
+
:message)
|
2864
|
+
SENSITIVE = []
|
2865
|
+
include Aws::Structure
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
# The domain specified is not found in your organization.
|
2637
2869
|
#
|
2638
2870
|
# @!attribute [rw] message
|
2639
2871
|
# @return [String]
|
@@ -2660,6 +2892,25 @@ module Aws::WorkMail
|
|
2660
2892
|
include Aws::Structure
|
2661
2893
|
end
|
2662
2894
|
|
2895
|
+
# The data for a given domain.
|
2896
|
+
#
|
2897
|
+
# @!attribute [rw] domain_name
|
2898
|
+
# The domain name.
|
2899
|
+
# @return [String]
|
2900
|
+
#
|
2901
|
+
# @!attribute [rw] default_domain
|
2902
|
+
# Whether the domain is default or not.
|
2903
|
+
# @return [Boolean]
|
2904
|
+
#
|
2905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MailDomainSummary AWS API Documentation
|
2906
|
+
#
|
2907
|
+
class MailDomainSummary < Struct.new(
|
2908
|
+
:domain_name,
|
2909
|
+
:default_domain)
|
2910
|
+
SENSITIVE = []
|
2911
|
+
include Aws::Structure
|
2912
|
+
end
|
2913
|
+
|
2663
2914
|
# The details of a mailbox export job, including the user or resource ID
|
2664
2915
|
# associated with the mailbox and the S3 bucket that the mailbox
|
2665
2916
|
# contents are exported to.
|
@@ -3093,6 +3344,36 @@ module Aws::WorkMail
|
|
3093
3344
|
#
|
3094
3345
|
class PutAccessControlRuleResponse < Aws::EmptyStructure; end
|
3095
3346
|
|
3347
|
+
# @note When making an API call, you may pass PutInboundDmarcSettingsRequest
|
3348
|
+
# data as a hash:
|
3349
|
+
#
|
3350
|
+
# {
|
3351
|
+
# organization_id: "OrganizationId", # required
|
3352
|
+
# enforced: false, # required
|
3353
|
+
# }
|
3354
|
+
#
|
3355
|
+
# @!attribute [rw] organization_id
|
3356
|
+
# The ID of the organization that you are applying the DMARC policy
|
3357
|
+
# to.
|
3358
|
+
# @return [String]
|
3359
|
+
#
|
3360
|
+
# @!attribute [rw] enforced
|
3361
|
+
# Enforces or suspends a policy after it's applied.
|
3362
|
+
# @return [Boolean]
|
3363
|
+
#
|
3364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettingsRequest AWS API Documentation
|
3365
|
+
#
|
3366
|
+
class PutInboundDmarcSettingsRequest < Struct.new(
|
3367
|
+
:organization_id,
|
3368
|
+
:enforced)
|
3369
|
+
SENSITIVE = []
|
3370
|
+
include Aws::Structure
|
3371
|
+
end
|
3372
|
+
|
3373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettingsResponse AWS API Documentation
|
3374
|
+
#
|
3375
|
+
class PutInboundDmarcSettingsResponse < Aws::EmptyStructure; end
|
3376
|
+
|
3096
3377
|
# @note When making an API call, you may pass PutMailboxPermissionsRequest
|
3097
3378
|
# data as a hash:
|
3098
3379
|
#
|
@@ -3253,6 +3534,45 @@ module Aws::WorkMail
|
|
3253
3534
|
#
|
3254
3535
|
class PutRetentionPolicyResponse < Aws::EmptyStructure; end
|
3255
3536
|
|
3537
|
+
# @note When making an API call, you may pass RegisterMailDomainRequest
|
3538
|
+
# data as a hash:
|
3539
|
+
#
|
3540
|
+
# {
|
3541
|
+
# client_token: "IdempotencyClientToken",
|
3542
|
+
# organization_id: "OrganizationId", # required
|
3543
|
+
# domain_name: "WorkMailDomainName", # required
|
3544
|
+
# }
|
3545
|
+
#
|
3546
|
+
# @!attribute [rw] client_token
|
3547
|
+
# Idempotency token used when retrying requests.
|
3548
|
+
#
|
3549
|
+
# **A suitable default value is auto-generated.** You should normally
|
3550
|
+
# not need to pass this option.
|
3551
|
+
# @return [String]
|
3552
|
+
#
|
3553
|
+
# @!attribute [rw] organization_id
|
3554
|
+
# The Amazon WorkMail organization under which you're creating the
|
3555
|
+
# domain.
|
3556
|
+
# @return [String]
|
3557
|
+
#
|
3558
|
+
# @!attribute [rw] domain_name
|
3559
|
+
# The name of the mail domain to create in Amazon WorkMail and SES.
|
3560
|
+
# @return [String]
|
3561
|
+
#
|
3562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterMailDomainRequest AWS API Documentation
|
3563
|
+
#
|
3564
|
+
class RegisterMailDomainRequest < Struct.new(
|
3565
|
+
:client_token,
|
3566
|
+
:organization_id,
|
3567
|
+
:domain_name)
|
3568
|
+
SENSITIVE = []
|
3569
|
+
include Aws::Structure
|
3570
|
+
end
|
3571
|
+
|
3572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterMailDomainResponse AWS API Documentation
|
3573
|
+
#
|
3574
|
+
class RegisterMailDomainResponse < Aws::EmptyStructure; end
|
3575
|
+
|
3256
3576
|
# @note When making an API call, you may pass RegisterToWorkMailRequest
|
3257
3577
|
# data as a hash:
|
3258
3578
|
#
|
@@ -3592,6 +3912,35 @@ module Aws::WorkMail
|
|
3592
3912
|
#
|
3593
3913
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
3594
3914
|
|
3915
|
+
# @note When making an API call, you may pass UpdateDefaultMailDomainRequest
|
3916
|
+
# data as a hash:
|
3917
|
+
#
|
3918
|
+
# {
|
3919
|
+
# organization_id: "OrganizationId", # required
|
3920
|
+
# domain_name: "WorkMailDomainName", # required
|
3921
|
+
# }
|
3922
|
+
#
|
3923
|
+
# @!attribute [rw] organization_id
|
3924
|
+
# The Amazon WorkMail organization for which to list domains.
|
3925
|
+
# @return [String]
|
3926
|
+
#
|
3927
|
+
# @!attribute [rw] domain_name
|
3928
|
+
# The domain name that will become the default domain.
|
3929
|
+
# @return [String]
|
3930
|
+
#
|
3931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateDefaultMailDomainRequest AWS API Documentation
|
3932
|
+
#
|
3933
|
+
class UpdateDefaultMailDomainRequest < Struct.new(
|
3934
|
+
:organization_id,
|
3935
|
+
:domain_name)
|
3936
|
+
SENSITIVE = []
|
3937
|
+
include Aws::Structure
|
3938
|
+
end
|
3939
|
+
|
3940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateDefaultMailDomainResponse AWS API Documentation
|
3941
|
+
#
|
3942
|
+
class UpdateDefaultMailDomainResponse < Aws::EmptyStructure; end
|
3943
|
+
|
3595
3944
|
# @note When making an API call, you may pass UpdateMailboxQuotaRequest
|
3596
3945
|
# data as a hash:
|
3597
3946
|
#
|
data/lib/aws-sdk-workmail.rb
CHANGED
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.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-04 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.122.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.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|