aws-sdk-workmail 1.40.0 → 1.44.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aad40a96a2518d13b28c3aa24bab4e9ae16d875e3dabf1bd76cc1d9d9d21ebad
4
- data.tar.gz: 15bcefea63d9176aae8471fdfbc44035e047a77a5f04d99a7129e8042c429b1d
3
+ metadata.gz: 013a61eec3a214ba2ace0567ed023555daf8e49754bc55e8da30f74a51cfe2f1
4
+ data.tar.gz: 58cf1a70bddea90e1e4a9116b4c7959c3c3108489c9f53576ee89d3369be5e36
5
5
  SHA512:
6
- metadata.gz: 21071a1456008bfe91ee59f29f621e9b994d5ea38d572fbb36168b8c89d7070418e9b4f11a2ae7ea427454ec22b8bfb432eee76931502e7241323156aa97b456
7
- data.tar.gz: 73a33b4e6d2080859d5fdcaccb77bc30b876bcb45235a161351b0722355cc2a3a2d5e51d7ece59cb39d5b0b1051f7e3ff28db1e06269fe56f75f496373f2be7c
6
+ metadata.gz: 367ac03e5658ce0c30a603f685366b2ade4ecafed4ae6fa73a2f88a60c8d801808c89ecf1c3831aa640bf0ddeed091767ba565862c73bdb67a066608a17797fc
7
+ data.tar.gz: 215b7b632f7639016a5039add9d8cdc04d18a9478c203c97cc8e5254e2950d986d28f457fc2fa47df577d3b96ada4241c5f1a205f07f1a03308552385cdf7625
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2021-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.43.0 (2021-10-13)
10
+ ------------------
11
+
12
+ * Feature - This release adds APIs for adding, removing and retrieving details of mail domains
13
+
14
+ 1.42.0 (2021-10-05)
15
+ ------------------
16
+
17
+ * Feature - This release allows customers to change their inbound DMARC settings in Amazon WorkMail.
18
+
19
+ 1.41.0 (2021-09-30)
20
+ ------------------
21
+
22
+ * Feature - This release adds support for mobile device access overrides management in Amazon WorkMail.
23
+
4
24
  1.40.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.44.0
@@ -751,6 +751,12 @@ module Aws::WorkMail
751
751
  # Deletes an access control rule for the specified WorkMail
752
752
  # organization.
753
753
  #
754
+ # <note markdown="1"> Deleting already deleted and non-existing rules does not produce an
755
+ # error. In those cases, the service sends back an HTTP 200 response
756
+ # with an empty HTTP body.
757
+ #
758
+ # </note>
759
+ #
754
760
  # @option params [required, String] :organization_id
755
761
  # The identifier for the organization.
756
762
  #
@@ -867,9 +873,62 @@ module Aws::WorkMail
867
873
  req.send_request(options)
868
874
  end
869
875
 
876
+ # Deletes the mobile device access override for the given WorkMail
877
+ # organization, user, and device.
878
+ #
879
+ # <note markdown="1"> Deleting already deleted and non-existing overrides does not produce
880
+ # an error. In those cases, the service sends back an HTTP 200 response
881
+ # with an empty HTTP body.
882
+ #
883
+ # </note>
884
+ #
885
+ # @option params [required, String] :organization_id
886
+ # The Amazon WorkMail organization for which the access override will be
887
+ # deleted.
888
+ #
889
+ # @option params [required, String] :user_id
890
+ # The WorkMail user for which you want to delete the override. Accepts
891
+ # the following types of user identities:
892
+ #
893
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
894
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
895
+ #
896
+ # * Email address: `user@domain.tld`
897
+ #
898
+ # * User name: `user`
899
+ #
900
+ # @option params [required, String] :device_id
901
+ # The mobile device for which you delete the override. `DeviceId` is
902
+ # case insensitive.
903
+ #
904
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
905
+ #
906
+ # @example Request syntax with placeholder values
907
+ #
908
+ # resp = client.delete_mobile_device_access_override({
909
+ # organization_id: "OrganizationId", # required
910
+ # user_id: "EntityIdentifier", # required
911
+ # device_id: "DeviceId", # required
912
+ # })
913
+ #
914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessOverride AWS API Documentation
915
+ #
916
+ # @overload delete_mobile_device_access_override(params = {})
917
+ # @param [Hash] params ({})
918
+ def delete_mobile_device_access_override(params = {}, options = {})
919
+ req = build_request(:delete_mobile_device_access_override, params)
920
+ req.send_request(options)
921
+ end
922
+
870
923
  # Deletes a mobile device access rule for the specified Amazon WorkMail
871
924
  # organization.
872
925
  #
926
+ # <note markdown="1"> Deleting already deleted and non-existing rules does not produce an
927
+ # error. In those cases, the service sends back an HTTP 200 response
928
+ # with an empty HTTP body.
929
+ #
930
+ # </note>
931
+ #
873
932
  # @option params [required, String] :organization_id
874
933
  # The Amazon WorkMail organization under which the rule will be deleted.
875
934
  #
@@ -1059,6 +1118,37 @@ module Aws::WorkMail
1059
1118
  req.send_request(options)
1060
1119
  end
1061
1120
 
1121
+ # Removes a domain from Amazon WorkMail, stops email routing to
1122
+ # WorkMail, and removes the authorization allowing WorkMail use. SES
1123
+ # keeps the domain because other applications may use it. You must first
1124
+ # remove any email address used by WorkMail entities before you remove
1125
+ # the domain.
1126
+ #
1127
+ # @option params [required, String] :organization_id
1128
+ # The Amazon WorkMail organization for which the domain will be
1129
+ # deregistered.
1130
+ #
1131
+ # @option params [required, String] :domain_name
1132
+ # The domain to deregister in WorkMail and SES.
1133
+ #
1134
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1135
+ #
1136
+ # @example Request syntax with placeholder values
1137
+ #
1138
+ # resp = client.deregister_mail_domain({
1139
+ # organization_id: "OrganizationId", # required
1140
+ # domain_name: "WorkMailDomainName", # required
1141
+ # })
1142
+ #
1143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterMailDomain AWS API Documentation
1144
+ #
1145
+ # @overload deregister_mail_domain(params = {})
1146
+ # @param [Hash] params ({})
1147
+ def deregister_mail_domain(params = {}, options = {})
1148
+ req = build_request(:deregister_mail_domain, params)
1149
+ req.send_request(options)
1150
+ end
1151
+
1062
1152
  # Returns the data available for the group.
1063
1153
  #
1064
1154
  # @option params [required, String] :organization_id
@@ -1101,6 +1191,34 @@ module Aws::WorkMail
1101
1191
  req.send_request(options)
1102
1192
  end
1103
1193
 
1194
+ # Lists the settings in a DMARC policy for a specified organization.
1195
+ #
1196
+ # @option params [required, String] :organization_id
1197
+ # Lists the ID of the given organization.
1198
+ #
1199
+ # @return [Types::DescribeInboundDmarcSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1200
+ #
1201
+ # * {Types::DescribeInboundDmarcSettingsResponse#enforced #enforced} => Boolean
1202
+ #
1203
+ # @example Request syntax with placeholder values
1204
+ #
1205
+ # resp = client.describe_inbound_dmarc_settings({
1206
+ # organization_id: "OrganizationId", # required
1207
+ # })
1208
+ #
1209
+ # @example Response structure
1210
+ #
1211
+ # resp.enforced #=> Boolean
1212
+ #
1213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettings AWS API Documentation
1214
+ #
1215
+ # @overload describe_inbound_dmarc_settings(params = {})
1216
+ # @param [Hash] params ({})
1217
+ def describe_inbound_dmarc_settings(params = {}, options = {})
1218
+ req = build_request(:describe_inbound_dmarc_settings, params)
1219
+ req.send_request(options)
1220
+ end
1221
+
1104
1222
  # Describes the current status of a mailbox export job.
1105
1223
  #
1106
1224
  # @option params [required, String] :job_id
@@ -1441,6 +1559,50 @@ module Aws::WorkMail
1441
1559
  req.send_request(options)
1442
1560
  end
1443
1561
 
1562
+ # Gets details for a mail domain, including domain records required to
1563
+ # configure your domain with recommended security.
1564
+ #
1565
+ # @option params [required, String] :organization_id
1566
+ # The Amazon WorkMail organization for which the domain is retrieved.
1567
+ #
1568
+ # @option params [required, String] :domain_name
1569
+ # The domain from which you want to retrieve details.
1570
+ #
1571
+ # @return [Types::GetMailDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1572
+ #
1573
+ # * {Types::GetMailDomainResponse#records #records} => Array&lt;Types::DnsRecord&gt;
1574
+ # * {Types::GetMailDomainResponse#is_test_domain #is_test_domain} => Boolean
1575
+ # * {Types::GetMailDomainResponse#is_default #is_default} => Boolean
1576
+ # * {Types::GetMailDomainResponse#ownership_verification_status #ownership_verification_status} => String
1577
+ # * {Types::GetMailDomainResponse#dkim_verification_status #dkim_verification_status} => String
1578
+ #
1579
+ # @example Request syntax with placeholder values
1580
+ #
1581
+ # resp = client.get_mail_domain({
1582
+ # organization_id: "OrganizationId", # required
1583
+ # domain_name: "WorkMailDomainName", # required
1584
+ # })
1585
+ #
1586
+ # @example Response structure
1587
+ #
1588
+ # resp.records #=> Array
1589
+ # resp.records[0].type #=> String
1590
+ # resp.records[0].hostname #=> String
1591
+ # resp.records[0].value #=> String
1592
+ # resp.is_test_domain #=> Boolean
1593
+ # resp.is_default #=> Boolean
1594
+ # resp.ownership_verification_status #=> String, one of "PENDING", "VERIFIED", "FAILED"
1595
+ # resp.dkim_verification_status #=> String, one of "PENDING", "VERIFIED", "FAILED"
1596
+ #
1597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailDomain AWS API Documentation
1598
+ #
1599
+ # @overload get_mail_domain(params = {})
1600
+ # @param [Hash] params ({})
1601
+ def get_mail_domain(params = {}, options = {})
1602
+ req = build_request(:get_mail_domain, params)
1603
+ req.send_request(options)
1604
+ end
1605
+
1444
1606
  # Requests a user's mailbox details for a specified organization and
1445
1607
  # user.
1446
1608
  #
@@ -1528,6 +1690,63 @@ module Aws::WorkMail
1528
1690
  req.send_request(options)
1529
1691
  end
1530
1692
 
1693
+ # Gets the mobile device access override for the given WorkMail
1694
+ # organization, user, and device.
1695
+ #
1696
+ # @option params [required, String] :organization_id
1697
+ # The Amazon WorkMail organization to which you want to apply the
1698
+ # override.
1699
+ #
1700
+ # @option params [required, String] :user_id
1701
+ # Identifies the WorkMail user for the override. Accepts the following
1702
+ # types of user identities:
1703
+ #
1704
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
1705
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
1706
+ #
1707
+ # * Email address: `user@domain.tld`
1708
+ #
1709
+ # * User name: `user`
1710
+ #
1711
+ # @option params [required, String] :device_id
1712
+ # The mobile device to which the override applies. `DeviceId` is case
1713
+ # insensitive.
1714
+ #
1715
+ # @return [Types::GetMobileDeviceAccessOverrideResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1716
+ #
1717
+ # * {Types::GetMobileDeviceAccessOverrideResponse#user_id #user_id} => String
1718
+ # * {Types::GetMobileDeviceAccessOverrideResponse#device_id #device_id} => String
1719
+ # * {Types::GetMobileDeviceAccessOverrideResponse#effect #effect} => String
1720
+ # * {Types::GetMobileDeviceAccessOverrideResponse#description #description} => String
1721
+ # * {Types::GetMobileDeviceAccessOverrideResponse#date_created #date_created} => Time
1722
+ # * {Types::GetMobileDeviceAccessOverrideResponse#date_modified #date_modified} => Time
1723
+ #
1724
+ # @example Request syntax with placeholder values
1725
+ #
1726
+ # resp = client.get_mobile_device_access_override({
1727
+ # organization_id: "OrganizationId", # required
1728
+ # user_id: "EntityIdentifier", # required
1729
+ # device_id: "DeviceId", # required
1730
+ # })
1731
+ #
1732
+ # @example Response structure
1733
+ #
1734
+ # resp.user_id #=> String
1735
+ # resp.device_id #=> String
1736
+ # resp.effect #=> String, one of "ALLOW", "DENY"
1737
+ # resp.description #=> String
1738
+ # resp.date_created #=> Time
1739
+ # resp.date_modified #=> Time
1740
+ #
1741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverride AWS API Documentation
1742
+ #
1743
+ # @overload get_mobile_device_access_override(params = {})
1744
+ # @param [Hash] params ({})
1745
+ def get_mobile_device_access_override(params = {}, options = {})
1746
+ req = build_request(:get_mobile_device_access_override, params)
1747
+ req.send_request(options)
1748
+ end
1749
+
1531
1750
  # Lists the access control rules for the specified organization.
1532
1751
  #
1533
1752
  # @option params [required, String] :organization_id
@@ -1720,6 +1939,49 @@ module Aws::WorkMail
1720
1939
  req.send_request(options)
1721
1940
  end
1722
1941
 
1942
+ # Lists the mail domains in a given Amazon WorkMail organization.
1943
+ #
1944
+ # @option params [required, String] :organization_id
1945
+ # The Amazon WorkMail organization for which to list domains.
1946
+ #
1947
+ # @option params [Integer] :max_results
1948
+ # The maximum number of results to return in a single call.
1949
+ #
1950
+ # @option params [String] :next_token
1951
+ # The token to use to retrieve the next page of results. The first call
1952
+ # does not require a token.
1953
+ #
1954
+ # @return [Types::ListMailDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1955
+ #
1956
+ # * {Types::ListMailDomainsResponse#mail_domains #mail_domains} => Array&lt;Types::MailDomainSummary&gt;
1957
+ # * {Types::ListMailDomainsResponse#next_token #next_token} => String
1958
+ #
1959
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1960
+ #
1961
+ # @example Request syntax with placeholder values
1962
+ #
1963
+ # resp = client.list_mail_domains({
1964
+ # organization_id: "OrganizationId", # required
1965
+ # max_results: 1,
1966
+ # next_token: "NextToken",
1967
+ # })
1968
+ #
1969
+ # @example Response structure
1970
+ #
1971
+ # resp.mail_domains #=> Array
1972
+ # resp.mail_domains[0].domain_name #=> String
1973
+ # resp.mail_domains[0].default_domain #=> Boolean
1974
+ # resp.next_token #=> String
1975
+ #
1976
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailDomains AWS API Documentation
1977
+ #
1978
+ # @overload list_mail_domains(params = {})
1979
+ # @param [Hash] params ({})
1980
+ def list_mail_domains(params = {}, options = {})
1981
+ req = build_request(:list_mail_domains, params)
1982
+ req.send_request(options)
1983
+ end
1984
+
1723
1985
  # Lists the mailbox export jobs started for the specified organization
1724
1986
  # within the last seven days.
1725
1987
  #
@@ -1822,6 +2084,71 @@ module Aws::WorkMail
1822
2084
  req.send_request(options)
1823
2085
  end
1824
2086
 
2087
+ # Lists all the mobile device access overrides for any given combination
2088
+ # of WorkMail organization, user, or device.
2089
+ #
2090
+ # @option params [required, String] :organization_id
2091
+ # The Amazon WorkMail organization under which to list mobile device
2092
+ # access overrides.
2093
+ #
2094
+ # @option params [String] :user_id
2095
+ # The WorkMail user under which you list the mobile device access
2096
+ # overrides. Accepts the following types of user identities:
2097
+ #
2098
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
2099
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
2100
+ #
2101
+ # * Email address: `user@domain.tld`
2102
+ #
2103
+ # * User name: `user`
2104
+ #
2105
+ # @option params [String] :device_id
2106
+ # The mobile device to which the access override applies.
2107
+ #
2108
+ # @option params [String] :next_token
2109
+ # The token to use to retrieve the next page of results. The first call
2110
+ # does not require a token.
2111
+ #
2112
+ # @option params [Integer] :max_results
2113
+ # The maximum number of results to return in a single call.
2114
+ #
2115
+ # @return [Types::ListMobileDeviceAccessOverridesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2116
+ #
2117
+ # * {Types::ListMobileDeviceAccessOverridesResponse#overrides #overrides} => Array&lt;Types::MobileDeviceAccessOverride&gt;
2118
+ # * {Types::ListMobileDeviceAccessOverridesResponse#next_token #next_token} => String
2119
+ #
2120
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2121
+ #
2122
+ # @example Request syntax with placeholder values
2123
+ #
2124
+ # resp = client.list_mobile_device_access_overrides({
2125
+ # organization_id: "OrganizationId", # required
2126
+ # user_id: "EntityIdentifier",
2127
+ # device_id: "DeviceId",
2128
+ # next_token: "NextToken",
2129
+ # max_results: 1,
2130
+ # })
2131
+ #
2132
+ # @example Response structure
2133
+ #
2134
+ # resp.overrides #=> Array
2135
+ # resp.overrides[0].user_id #=> String
2136
+ # resp.overrides[0].device_id #=> String
2137
+ # resp.overrides[0].effect #=> String, one of "ALLOW", "DENY"
2138
+ # resp.overrides[0].description #=> String
2139
+ # resp.overrides[0].date_created #=> Time
2140
+ # resp.overrides[0].date_modified #=> Time
2141
+ # resp.next_token #=> String
2142
+ #
2143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverrides AWS API Documentation
2144
+ #
2145
+ # @overload list_mobile_device_access_overrides(params = {})
2146
+ # @param [Hash] params ({})
2147
+ def list_mobile_device_access_overrides(params = {}, options = {})
2148
+ req = build_request(:list_mobile_device_access_overrides, params)
2149
+ req.send_request(options)
2150
+ end
2151
+
1825
2152
  # Lists the mobile device access rules for the specified Amazon WorkMail
1826
2153
  # organization.
1827
2154
  #
@@ -2156,6 +2483,32 @@ module Aws::WorkMail
2156
2483
  req.send_request(options)
2157
2484
  end
2158
2485
 
2486
+ # Enables or disables a DMARC policy for a given organization.
2487
+ #
2488
+ # @option params [required, String] :organization_id
2489
+ # The ID of the organization that you are applying the DMARC policy to.
2490
+ #
2491
+ # @option params [required, Boolean] :enforced
2492
+ # Enforces or suspends a policy after it's applied.
2493
+ #
2494
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2495
+ #
2496
+ # @example Request syntax with placeholder values
2497
+ #
2498
+ # resp = client.put_inbound_dmarc_settings({
2499
+ # organization_id: "OrganizationId", # required
2500
+ # enforced: false, # required
2501
+ # })
2502
+ #
2503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettings AWS API Documentation
2504
+ #
2505
+ # @overload put_inbound_dmarc_settings(params = {})
2506
+ # @param [Hash] params ({})
2507
+ def put_inbound_dmarc_settings(params = {}, options = {})
2508
+ req = build_request(:put_inbound_dmarc_settings, params)
2509
+ req.send_request(options)
2510
+ end
2511
+
2159
2512
  # Sets permissions for a user, group, or resource. This replaces any
2160
2513
  # pre-existing permissions.
2161
2514
  #
@@ -2200,6 +2553,55 @@ module Aws::WorkMail
2200
2553
  req.send_request(options)
2201
2554
  end
2202
2555
 
2556
+ # Creates or updates a mobile device access override for the given
2557
+ # WorkMail organization, user, and device.
2558
+ #
2559
+ # @option params [required, String] :organization_id
2560
+ # Identifies the Amazon WorkMail organization for which you create the
2561
+ # override.
2562
+ #
2563
+ # @option params [required, String] :user_id
2564
+ # The WorkMail user for which you create the override. Accepts the
2565
+ # following types of user identities:
2566
+ #
2567
+ # * User ID: `12345678-1234-1234-1234-123456789012` or
2568
+ # `S-1-1-12-1234567890-123456789-123456789-1234`
2569
+ #
2570
+ # * Email address: `user@domain.tld`
2571
+ #
2572
+ # * User name: `user`
2573
+ #
2574
+ # @option params [required, String] :device_id
2575
+ # The mobile device for which you create the override. `DeviceId` is
2576
+ # case insensitive.
2577
+ #
2578
+ # @option params [required, String] :effect
2579
+ # The effect of the override, `ALLOW` or `DENY`.
2580
+ #
2581
+ # @option params [String] :description
2582
+ # A description of the override.
2583
+ #
2584
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2585
+ #
2586
+ # @example Request syntax with placeholder values
2587
+ #
2588
+ # resp = client.put_mobile_device_access_override({
2589
+ # organization_id: "OrganizationId", # required
2590
+ # user_id: "EntityIdentifier", # required
2591
+ # device_id: "DeviceId", # required
2592
+ # effect: "ALLOW", # required, accepts ALLOW, DENY
2593
+ # description: "MobileDeviceAccessRuleDescription",
2594
+ # })
2595
+ #
2596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverride AWS API Documentation
2597
+ #
2598
+ # @overload put_mobile_device_access_override(params = {})
2599
+ # @param [Hash] params ({})
2600
+ def put_mobile_device_access_override(params = {}, options = {})
2601
+ req = build_request(:put_mobile_device_access_override, params)
2602
+ req.send_request(options)
2603
+ end
2604
+
2203
2605
  # Puts a retention policy to the specified organization.
2204
2606
  #
2205
2607
  # @option params [required, String] :organization_id
@@ -2244,6 +2646,44 @@ module Aws::WorkMail
2244
2646
  req.send_request(options)
2245
2647
  end
2246
2648
 
2649
+ # Registers a new domain in Amazon WorkMail and SES, and configures it
2650
+ # for use by WorkMail. Emails received by SES for this domain are routed
2651
+ # to the specified WorkMail organization, and WorkMail has permanent
2652
+ # permission to use the specified domain for sending your users'
2653
+ # emails.
2654
+ #
2655
+ # @option params [String] :client_token
2656
+ # Idempotency token used when retrying requests.
2657
+ #
2658
+ # **A suitable default value is auto-generated.** You should normally
2659
+ # not need to pass this option.**
2660
+ #
2661
+ # @option params [required, String] :organization_id
2662
+ # The Amazon WorkMail organization under which you're creating the
2663
+ # domain.
2664
+ #
2665
+ # @option params [required, String] :domain_name
2666
+ # The name of the mail domain to create in Amazon WorkMail and SES.
2667
+ #
2668
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2669
+ #
2670
+ # @example Request syntax with placeholder values
2671
+ #
2672
+ # resp = client.register_mail_domain({
2673
+ # client_token: "IdempotencyClientToken",
2674
+ # organization_id: "OrganizationId", # required
2675
+ # domain_name: "WorkMailDomainName", # required
2676
+ # })
2677
+ #
2678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterMailDomain AWS API Documentation
2679
+ #
2680
+ # @overload register_mail_domain(params = {})
2681
+ # @param [Hash] params ({})
2682
+ def register_mail_domain(params = {}, options = {})
2683
+ req = build_request(:register_mail_domain, params)
2684
+ req.send_request(options)
2685
+ end
2686
+
2247
2687
  # Registers an existing and disabled user, group, or resource for Amazon
2248
2688
  # WorkMail use by associating a mailbox and calendaring capabilities. It
2249
2689
  # performs no change if the user, group, or resource is enabled and
@@ -2448,6 +2888,34 @@ module Aws::WorkMail
2448
2888
  req.send_request(options)
2449
2889
  end
2450
2890
 
2891
+ # Updates the default mail domain for an organization. The default mail
2892
+ # domain is used by the WorkMail AWS Console to suggest an email address
2893
+ # when enabling a mail user. You can only have one default domain.
2894
+ #
2895
+ # @option params [required, String] :organization_id
2896
+ # The Amazon WorkMail organization for which to list domains.
2897
+ #
2898
+ # @option params [required, String] :domain_name
2899
+ # The domain name that will become the default domain.
2900
+ #
2901
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2902
+ #
2903
+ # @example Request syntax with placeholder values
2904
+ #
2905
+ # resp = client.update_default_mail_domain({
2906
+ # organization_id: "OrganizationId", # required
2907
+ # domain_name: "WorkMailDomainName", # required
2908
+ # })
2909
+ #
2910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateDefaultMailDomain AWS API Documentation
2911
+ #
2912
+ # @overload update_default_mail_domain(params = {})
2913
+ # @param [Hash] params ({})
2914
+ def update_default_mail_domain(params = {}, options = {})
2915
+ req = build_request(:update_default_mail_domain, params)
2916
+ req.send_request(options)
2917
+ end
2918
+
2451
2919
  # Updates a user's current mailbox quota for a specified organization
2452
2920
  # and user.
2453
2921
  #
@@ -2644,7 +3112,7 @@ module Aws::WorkMail
2644
3112
  params: params,
2645
3113
  config: config)
2646
3114
  context[:gem_name] = 'aws-sdk-workmail'
2647
- context[:gem_version] = '1.40.0'
3115
+ context[:gem_version] = '1.44.0'
2648
3116
  Seahorse::Client::Request.new(handlers, context)
2649
3117
  end
2650
3118