aws-sdk-workmail 1.76.0 → 1.78.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +323 -3
- data/lib/aws-sdk-workmail/client_api.rb +225 -0
- data/lib/aws-sdk-workmail/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-workmail/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-workmail/endpoints.rb +2 -922
- data/lib/aws-sdk-workmail/plugins/endpoints.rb +1 -174
- data/lib/aws-sdk-workmail/types.rb +422 -11
- data/lib/aws-sdk-workmail.rb +1 -1
- data/sig/client.rbs +111 -4
- data/sig/types.rbs +126 -4
- 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: 06a96b73e563ba7cade2336d37f22a15444cb166bf4c4d0a27c2e1e640ed616d
|
4
|
+
data.tar.gz: 7d106b7ae4cfff7f5f31e1204eba6672811288a8b2745a652fcb225a22ccfcd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 923dd299803181854a4c2579ba168d91101f08114142faae74aebc89babbb127be14fcd227830aec759c0da695d58150c5adeb413e0e78ce28802f482dcbf764
|
7
|
+
data.tar.gz: a11da45410c45b60b96e899111ceaed66827e39498bdb8038eb9650a9f3be3798b73a3490442480cf5a975a19da7805c47e55f35deecf634f1b0eb6e07acde1e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.78.0 (2024-10-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Multi-Factor Authentication (MFA) and Personal Access Tokens through integration with AWS IAM Identity Center.
|
8
|
+
|
9
|
+
1.77.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.76.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.78.0
|
@@ -751,6 +751,48 @@ module Aws::WorkMail
|
|
751
751
|
req.send_request(options)
|
752
752
|
end
|
753
753
|
|
754
|
+
# Creates the WorkMail application in IAM Identity Center that can be
|
755
|
+
# used later in the WorkMail - IdC integration. For more information,
|
756
|
+
# see PutIdentityProviderConfiguration. This action does not affect the
|
757
|
+
# authentication settings for any WorkMail organizations.
|
758
|
+
#
|
759
|
+
# @option params [required, String] :name
|
760
|
+
# The name of the IAM Identity Center application.
|
761
|
+
#
|
762
|
+
# @option params [required, String] :instance_arn
|
763
|
+
# The Amazon Resource Name (ARN) of the instance.
|
764
|
+
#
|
765
|
+
# @option params [String] :client_token
|
766
|
+
# The idempotency token associated with the request.
|
767
|
+
#
|
768
|
+
# **A suitable default value is auto-generated.** You should normally
|
769
|
+
# not need to pass this option.**
|
770
|
+
#
|
771
|
+
# @return [Types::CreateIdentityCenterApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
772
|
+
#
|
773
|
+
# * {Types::CreateIdentityCenterApplicationResponse#application_arn #application_arn} => String
|
774
|
+
#
|
775
|
+
# @example Request syntax with placeholder values
|
776
|
+
#
|
777
|
+
# resp = client.create_identity_center_application({
|
778
|
+
# name: "IdentityCenterApplicationName", # required
|
779
|
+
# instance_arn: "InstanceArn", # required
|
780
|
+
# client_token: "IdempotencyClientToken",
|
781
|
+
# })
|
782
|
+
#
|
783
|
+
# @example Response structure
|
784
|
+
#
|
785
|
+
# resp.application_arn #=> String
|
786
|
+
#
|
787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateIdentityCenterApplication AWS API Documentation
|
788
|
+
#
|
789
|
+
# @overload create_identity_center_application(params = {})
|
790
|
+
# @param [Hash] params ({})
|
791
|
+
def create_identity_center_application(params = {}, options = {})
|
792
|
+
req = build_request(:create_identity_center_application, params)
|
793
|
+
req.send_request(options)
|
794
|
+
end
|
795
|
+
|
754
796
|
# Creates an impersonation role for the given WorkMail organization.
|
755
797
|
#
|
756
798
|
# *Idempotency* ensures that an API request completes no more than one
|
@@ -1064,6 +1106,11 @@ module Aws::WorkMail
|
|
1064
1106
|
# If this parameter is enabled, the user will be hidden from the address
|
1065
1107
|
# book.
|
1066
1108
|
#
|
1109
|
+
# @option params [String] :identity_provider_user_id
|
1110
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
1111
|
+
# will be updated automatically when the user logs in for the first time
|
1112
|
+
# to the mailbox associated with WorkMail.
|
1113
|
+
#
|
1067
1114
|
# @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1068
1115
|
#
|
1069
1116
|
# * {Types::CreateUserResponse#user_id #user_id} => String
|
@@ -1079,6 +1126,7 @@ module Aws::WorkMail
|
|
1079
1126
|
# first_name: "UserAttribute",
|
1080
1127
|
# last_name: "UserAttribute",
|
1081
1128
|
# hidden_from_global_address_list: false,
|
1129
|
+
# identity_provider_user_id: "IdentityProviderUserId",
|
1082
1130
|
# })
|
1083
1131
|
#
|
1084
1132
|
# @example Response structure
|
@@ -1247,6 +1295,55 @@ module Aws::WorkMail
|
|
1247
1295
|
req.send_request(options)
|
1248
1296
|
end
|
1249
1297
|
|
1298
|
+
# Deletes the IAM Identity Center application from WorkMail. This action
|
1299
|
+
# does not affect the authentication settings for any WorkMail
|
1300
|
+
# organizations.
|
1301
|
+
#
|
1302
|
+
# @option params [required, String] :application_arn
|
1303
|
+
# The Amazon Resource Name (ARN) of the application.
|
1304
|
+
#
|
1305
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1306
|
+
#
|
1307
|
+
# @example Request syntax with placeholder values
|
1308
|
+
#
|
1309
|
+
# resp = client.delete_identity_center_application({
|
1310
|
+
# application_arn: "ApplicationArn", # required
|
1311
|
+
# })
|
1312
|
+
#
|
1313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityCenterApplication AWS API Documentation
|
1314
|
+
#
|
1315
|
+
# @overload delete_identity_center_application(params = {})
|
1316
|
+
# @param [Hash] params ({})
|
1317
|
+
def delete_identity_center_application(params = {}, options = {})
|
1318
|
+
req = build_request(:delete_identity_center_application, params)
|
1319
|
+
req.send_request(options)
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# Disables the integration between IdC and WorkMail. Authentication will
|
1323
|
+
# continue with the directory as it was before the IdC integration. You
|
1324
|
+
# might have to reset your directory passwords and reconfigure your
|
1325
|
+
# desktop and mobile email clients.
|
1326
|
+
#
|
1327
|
+
# @option params [required, String] :organization_id
|
1328
|
+
# The Organization ID.
|
1329
|
+
#
|
1330
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1331
|
+
#
|
1332
|
+
# @example Request syntax with placeholder values
|
1333
|
+
#
|
1334
|
+
# resp = client.delete_identity_provider_configuration({
|
1335
|
+
# organization_id: "OrganizationId", # required
|
1336
|
+
# })
|
1337
|
+
#
|
1338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityProviderConfiguration AWS API Documentation
|
1339
|
+
#
|
1340
|
+
# @overload delete_identity_provider_configuration(params = {})
|
1341
|
+
# @param [Hash] params ({})
|
1342
|
+
def delete_identity_provider_configuration(params = {}, options = {})
|
1343
|
+
req = build_request(:delete_identity_provider_configuration, params)
|
1344
|
+
req.send_request(options)
|
1345
|
+
end
|
1346
|
+
|
1250
1347
|
# Deletes an impersonation role for the given WorkMail organization.
|
1251
1348
|
#
|
1252
1349
|
# @option params [required, String] :organization_id
|
@@ -1432,6 +1529,10 @@ module Aws::WorkMail
|
|
1432
1529
|
# Deletes a WorkMail organization even if the organization has enabled
|
1433
1530
|
# users.
|
1434
1531
|
#
|
1532
|
+
# @option params [Boolean] :delete_identity_center_application
|
1533
|
+
# Deletes IAM Identity Center application for WorkMail. This action does
|
1534
|
+
# not affect authentication settings for any organization.
|
1535
|
+
#
|
1435
1536
|
# @return [Types::DeleteOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1436
1537
|
#
|
1437
1538
|
# * {Types::DeleteOrganizationResponse#organization_id #organization_id} => String
|
@@ -1444,6 +1545,7 @@ module Aws::WorkMail
|
|
1444
1545
|
# organization_id: "OrganizationId", # required
|
1445
1546
|
# delete_directory: false, # required
|
1446
1547
|
# force_delete: false,
|
1548
|
+
# delete_identity_center_application: false,
|
1447
1549
|
# })
|
1448
1550
|
#
|
1449
1551
|
# @example Response structure
|
@@ -1460,6 +1562,33 @@ module Aws::WorkMail
|
|
1460
1562
|
req.send_request(options)
|
1461
1563
|
end
|
1462
1564
|
|
1565
|
+
# Deletes the Personal Access Token from the provided WorkMail
|
1566
|
+
# Organization.
|
1567
|
+
#
|
1568
|
+
# @option params [required, String] :organization_id
|
1569
|
+
# The Organization ID.
|
1570
|
+
#
|
1571
|
+
# @option params [required, String] :personal_access_token_id
|
1572
|
+
# The Personal Access Token ID.
|
1573
|
+
#
|
1574
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1575
|
+
#
|
1576
|
+
# @example Request syntax with placeholder values
|
1577
|
+
#
|
1578
|
+
# resp = client.delete_personal_access_token({
|
1579
|
+
# organization_id: "OrganizationId", # required
|
1580
|
+
# personal_access_token_id: "PersonalAccessTokenId", # required
|
1581
|
+
# })
|
1582
|
+
#
|
1583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeletePersonalAccessToken AWS API Documentation
|
1584
|
+
#
|
1585
|
+
# @overload delete_personal_access_token(params = {})
|
1586
|
+
# @param [Hash] params ({})
|
1587
|
+
def delete_personal_access_token(params = {}, options = {})
|
1588
|
+
req = build_request(:delete_personal_access_token, params)
|
1589
|
+
req.send_request(options)
|
1590
|
+
end
|
1591
|
+
|
1463
1592
|
# Deletes the specified resource.
|
1464
1593
|
#
|
1465
1594
|
# @option params [required, String] :organization_id
|
@@ -1752,6 +1881,41 @@ module Aws::WorkMail
|
|
1752
1881
|
req.send_request(options)
|
1753
1882
|
end
|
1754
1883
|
|
1884
|
+
# Returns detailed information on the current IdC setup for the WorkMail
|
1885
|
+
# organization.
|
1886
|
+
#
|
1887
|
+
# @option params [required, String] :organization_id
|
1888
|
+
# The Organization ID.
|
1889
|
+
#
|
1890
|
+
# @return [Types::DescribeIdentityProviderConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1891
|
+
#
|
1892
|
+
# * {Types::DescribeIdentityProviderConfigurationResponse#authentication_mode #authentication_mode} => String
|
1893
|
+
# * {Types::DescribeIdentityProviderConfigurationResponse#identity_center_configuration #identity_center_configuration} => Types::IdentityCenterConfiguration
|
1894
|
+
# * {Types::DescribeIdentityProviderConfigurationResponse#personal_access_token_configuration #personal_access_token_configuration} => Types::PersonalAccessTokenConfiguration
|
1895
|
+
#
|
1896
|
+
# @example Request syntax with placeholder values
|
1897
|
+
#
|
1898
|
+
# resp = client.describe_identity_provider_configuration({
|
1899
|
+
# organization_id: "OrganizationId", # required
|
1900
|
+
# })
|
1901
|
+
#
|
1902
|
+
# @example Response structure
|
1903
|
+
#
|
1904
|
+
# resp.authentication_mode #=> String, one of "IDENTITY_PROVIDER_ONLY", "IDENTITY_PROVIDER_AND_DIRECTORY"
|
1905
|
+
# resp.identity_center_configuration.instance_arn #=> String
|
1906
|
+
# resp.identity_center_configuration.application_arn #=> String
|
1907
|
+
# resp.personal_access_token_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
|
1908
|
+
# resp.personal_access_token_configuration.lifetime_in_days #=> Integer
|
1909
|
+
#
|
1910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeIdentityProviderConfiguration AWS API Documentation
|
1911
|
+
#
|
1912
|
+
# @overload describe_identity_provider_configuration(params = {})
|
1913
|
+
# @param [Hash] params ({})
|
1914
|
+
def describe_identity_provider_configuration(params = {}, options = {})
|
1915
|
+
req = build_request(:describe_identity_provider_configuration, params)
|
1916
|
+
req.send_request(options)
|
1917
|
+
end
|
1918
|
+
|
1755
1919
|
# Lists the settings in a DMARC policy for a specified organization.
|
1756
1920
|
#
|
1757
1921
|
# @option params [required, String] :organization_id
|
@@ -1988,6 +2152,8 @@ module Aws::WorkMail
|
|
1988
2152
|
# * {Types::DescribeUserResponse#department #department} => String
|
1989
2153
|
# * {Types::DescribeUserResponse#country #country} => String
|
1990
2154
|
# * {Types::DescribeUserResponse#office #office} => String
|
2155
|
+
# * {Types::DescribeUserResponse#identity_provider_user_id #identity_provider_user_id} => String
|
2156
|
+
# * {Types::DescribeUserResponse#identity_provider_identity_store_id #identity_provider_identity_store_id} => String
|
1991
2157
|
#
|
1992
2158
|
# @example Request syntax with placeholder values
|
1993
2159
|
#
|
@@ -2021,6 +2187,8 @@ module Aws::WorkMail
|
|
2021
2187
|
# resp.department #=> String
|
2022
2188
|
# resp.country #=> String
|
2023
2189
|
# resp.office #=> String
|
2190
|
+
# resp.identity_provider_user_id #=> String
|
2191
|
+
# resp.identity_provider_identity_store_id #=> String
|
2024
2192
|
#
|
2025
2193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUser AWS API Documentation
|
2026
2194
|
#
|
@@ -2525,6 +2693,52 @@ module Aws::WorkMail
|
|
2525
2693
|
req.send_request(options)
|
2526
2694
|
end
|
2527
2695
|
|
2696
|
+
# Requests details of a specific Personal Access Token within the
|
2697
|
+
# WorkMail organization.
|
2698
|
+
#
|
2699
|
+
# @option params [required, String] :organization_id
|
2700
|
+
# The Organization ID.
|
2701
|
+
#
|
2702
|
+
# @option params [required, String] :personal_access_token_id
|
2703
|
+
# The Personal Access Token ID.
|
2704
|
+
#
|
2705
|
+
# @return [Types::GetPersonalAccessTokenMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2706
|
+
#
|
2707
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#personal_access_token_id #personal_access_token_id} => String
|
2708
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#user_id #user_id} => String
|
2709
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#name #name} => String
|
2710
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#date_created #date_created} => Time
|
2711
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#date_last_used #date_last_used} => Time
|
2712
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#expires_time #expires_time} => Time
|
2713
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#scopes #scopes} => Array<String>
|
2714
|
+
#
|
2715
|
+
# @example Request syntax with placeholder values
|
2716
|
+
#
|
2717
|
+
# resp = client.get_personal_access_token_metadata({
|
2718
|
+
# organization_id: "OrganizationId", # required
|
2719
|
+
# personal_access_token_id: "PersonalAccessTokenId", # required
|
2720
|
+
# })
|
2721
|
+
#
|
2722
|
+
# @example Response structure
|
2723
|
+
#
|
2724
|
+
# resp.personal_access_token_id #=> String
|
2725
|
+
# resp.user_id #=> String
|
2726
|
+
# resp.name #=> String
|
2727
|
+
# resp.date_created #=> Time
|
2728
|
+
# resp.date_last_used #=> Time
|
2729
|
+
# resp.expires_time #=> Time
|
2730
|
+
# resp.scopes #=> Array
|
2731
|
+
# resp.scopes[0] #=> String
|
2732
|
+
#
|
2733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetPersonalAccessTokenMetadata AWS API Documentation
|
2734
|
+
#
|
2735
|
+
# @overload get_personal_access_token_metadata(params = {})
|
2736
|
+
# @param [Hash] params ({})
|
2737
|
+
def get_personal_access_token_metadata(params = {}, options = {})
|
2738
|
+
req = build_request(:get_personal_access_token_metadata, params)
|
2739
|
+
req.send_request(options)
|
2740
|
+
end
|
2741
|
+
|
2528
2742
|
# Lists the access control rules for the specified organization.
|
2529
2743
|
#
|
2530
2744
|
# @option params [required, String] :organization_id
|
@@ -3213,6 +3427,58 @@ module Aws::WorkMail
|
|
3213
3427
|
req.send_request(options)
|
3214
3428
|
end
|
3215
3429
|
|
3430
|
+
# Returns a summary of your Personal Access Tokens.
|
3431
|
+
#
|
3432
|
+
# @option params [required, String] :organization_id
|
3433
|
+
# The Organization ID.
|
3434
|
+
#
|
3435
|
+
# @option params [String] :user_id
|
3436
|
+
# The WorkMail User ID.
|
3437
|
+
#
|
3438
|
+
# @option params [String] :next_token
|
3439
|
+
# The token from the previous response to query the next page.
|
3440
|
+
#
|
3441
|
+
# @option params [Integer] :max_results
|
3442
|
+
# The maximum amount of items that should be returned in a response.
|
3443
|
+
#
|
3444
|
+
# @return [Types::ListPersonalAccessTokensResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3445
|
+
#
|
3446
|
+
# * {Types::ListPersonalAccessTokensResponse#next_token #next_token} => String
|
3447
|
+
# * {Types::ListPersonalAccessTokensResponse#personal_access_token_summaries #personal_access_token_summaries} => Array<Types::PersonalAccessTokenSummary>
|
3448
|
+
#
|
3449
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3450
|
+
#
|
3451
|
+
# @example Request syntax with placeholder values
|
3452
|
+
#
|
3453
|
+
# resp = client.list_personal_access_tokens({
|
3454
|
+
# organization_id: "OrganizationId", # required
|
3455
|
+
# user_id: "EntityIdentifier",
|
3456
|
+
# next_token: "NextToken",
|
3457
|
+
# max_results: 1,
|
3458
|
+
# })
|
3459
|
+
#
|
3460
|
+
# @example Response structure
|
3461
|
+
#
|
3462
|
+
# resp.next_token #=> String
|
3463
|
+
# resp.personal_access_token_summaries #=> Array
|
3464
|
+
# resp.personal_access_token_summaries[0].personal_access_token_id #=> String
|
3465
|
+
# resp.personal_access_token_summaries[0].user_id #=> String
|
3466
|
+
# resp.personal_access_token_summaries[0].name #=> String
|
3467
|
+
# resp.personal_access_token_summaries[0].date_created #=> Time
|
3468
|
+
# resp.personal_access_token_summaries[0].date_last_used #=> Time
|
3469
|
+
# resp.personal_access_token_summaries[0].expires_time #=> Time
|
3470
|
+
# resp.personal_access_token_summaries[0].scopes #=> Array
|
3471
|
+
# resp.personal_access_token_summaries[0].scopes[0] #=> String
|
3472
|
+
#
|
3473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListPersonalAccessTokens AWS API Documentation
|
3474
|
+
#
|
3475
|
+
# @overload list_personal_access_tokens(params = {})
|
3476
|
+
# @param [Hash] params ({})
|
3477
|
+
def list_personal_access_tokens(params = {}, options = {})
|
3478
|
+
req = build_request(:list_personal_access_tokens, params)
|
3479
|
+
req.send_request(options)
|
3480
|
+
end
|
3481
|
+
|
3216
3482
|
# Lists the delegates associated with a resource. Users and groups can
|
3217
3483
|
# be resource delegates and answer requests on behalf of the resource.
|
3218
3484
|
#
|
@@ -3393,6 +3659,7 @@ module Aws::WorkMail
|
|
3393
3659
|
# display_name_prefix: "UserAttribute",
|
3394
3660
|
# primary_email_prefix: "String",
|
3395
3661
|
# state: "ENABLED", # accepts ENABLED, DISABLED, DELETED
|
3662
|
+
# identity_provider_user_id_prefix: "IdentityProviderUserIdPrefix",
|
3396
3663
|
# },
|
3397
3664
|
# })
|
3398
3665
|
#
|
@@ -3407,6 +3674,8 @@ module Aws::WorkMail
|
|
3407
3674
|
# resp.users[0].user_role #=> String, one of "USER", "RESOURCE", "SYSTEM_USER", "REMOTE_USER"
|
3408
3675
|
# resp.users[0].enabled_date #=> Time
|
3409
3676
|
# resp.users[0].disabled_date #=> Time
|
3677
|
+
# resp.users[0].identity_provider_user_id #=> String
|
3678
|
+
# resp.users[0].identity_provider_identity_store_id #=> String
|
3410
3679
|
# resp.next_token #=> String
|
3411
3680
|
#
|
3412
3681
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListUsers AWS API Documentation
|
@@ -3526,6 +3795,51 @@ module Aws::WorkMail
|
|
3526
3795
|
req.send_request(options)
|
3527
3796
|
end
|
3528
3797
|
|
3798
|
+
# Enables integration between IAM Identity Center (IdC) and WorkMail to
|
3799
|
+
# proxy authentication requests for mailbox users. You can connect your
|
3800
|
+
# IdC directory or your external directory to WorkMail through IdC and
|
3801
|
+
# manage access to WorkMail mailboxes in a single place. For enhanced
|
3802
|
+
# protection, you could enable Multifactor Authentication (MFA) and
|
3803
|
+
# Personal Access Tokens.
|
3804
|
+
#
|
3805
|
+
# @option params [required, String] :organization_id
|
3806
|
+
# The ID of the WorkMail Organization.
|
3807
|
+
#
|
3808
|
+
# @option params [required, String] :authentication_mode
|
3809
|
+
# The authentication mode used in WorkMail.
|
3810
|
+
#
|
3811
|
+
# @option params [required, Types::IdentityCenterConfiguration] :identity_center_configuration
|
3812
|
+
# The details of the IAM Identity Center configuration.
|
3813
|
+
#
|
3814
|
+
# @option params [required, Types::PersonalAccessTokenConfiguration] :personal_access_token_configuration
|
3815
|
+
# The details of the Personal Access Token configuration.
|
3816
|
+
#
|
3817
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3818
|
+
#
|
3819
|
+
# @example Request syntax with placeholder values
|
3820
|
+
#
|
3821
|
+
# resp = client.put_identity_provider_configuration({
|
3822
|
+
# organization_id: "OrganizationId", # required
|
3823
|
+
# authentication_mode: "IDENTITY_PROVIDER_ONLY", # required, accepts IDENTITY_PROVIDER_ONLY, IDENTITY_PROVIDER_AND_DIRECTORY
|
3824
|
+
# identity_center_configuration: { # required
|
3825
|
+
# instance_arn: "InstanceArn", # required
|
3826
|
+
# application_arn: "ApplicationArn", # required
|
3827
|
+
# },
|
3828
|
+
# personal_access_token_configuration: { # required
|
3829
|
+
# status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
|
3830
|
+
# lifetime_in_days: 1,
|
3831
|
+
# },
|
3832
|
+
# })
|
3833
|
+
#
|
3834
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutIdentityProviderConfiguration AWS API Documentation
|
3835
|
+
#
|
3836
|
+
# @overload put_identity_provider_configuration(params = {})
|
3837
|
+
# @param [Hash] params ({})
|
3838
|
+
def put_identity_provider_configuration(params = {}, options = {})
|
3839
|
+
req = build_request(:put_identity_provider_configuration, params)
|
3840
|
+
req.send_request(options)
|
3841
|
+
end
|
3842
|
+
|
3529
3843
|
# Enables or disables a DMARC policy for a given organization.
|
3530
3844
|
#
|
3531
3845
|
# @option params [required, String] :organization_id
|
@@ -4113,7 +4427,7 @@ module Aws::WorkMail
|
|
4113
4427
|
req.send_request(options)
|
4114
4428
|
end
|
4115
4429
|
|
4116
|
-
# Updates
|
4430
|
+
# Updates attributes in a group.
|
4117
4431
|
#
|
4118
4432
|
# @option params [required, String] :organization_id
|
4119
4433
|
# The identifier for the organization under which the group exists.
|
@@ -4487,7 +4801,7 @@ module Aws::WorkMail
|
|
4487
4801
|
# Updates the user's company.
|
4488
4802
|
#
|
4489
4803
|
# @option params [String] :zip_code
|
4490
|
-
# Updates the user's
|
4804
|
+
# Updates the user's zip code.
|
4491
4805
|
#
|
4492
4806
|
# @option params [String] :department
|
4493
4807
|
# Updates the user's department.
|
@@ -4498,6 +4812,11 @@ module Aws::WorkMail
|
|
4498
4812
|
# @option params [String] :office
|
4499
4813
|
# Updates the user's office.
|
4500
4814
|
#
|
4815
|
+
# @option params [String] :identity_provider_user_id
|
4816
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
4817
|
+
# will be updated automatically when the user logs in for the first time
|
4818
|
+
# to the mailbox associated with WorkMail.
|
4819
|
+
#
|
4501
4820
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4502
4821
|
#
|
4503
4822
|
# @example Request syntax with placeholder values
|
@@ -4520,6 +4839,7 @@ module Aws::WorkMail
|
|
4520
4839
|
# department: "UserAttribute",
|
4521
4840
|
# country: "UserAttribute",
|
4522
4841
|
# office: "UserAttribute",
|
4842
|
+
# identity_provider_user_id: "IdentityProviderUserIdForUpdate",
|
4523
4843
|
# })
|
4524
4844
|
#
|
4525
4845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateUser AWS API Documentation
|
@@ -4549,7 +4869,7 @@ module Aws::WorkMail
|
|
4549
4869
|
tracer: tracer
|
4550
4870
|
)
|
4551
4871
|
context[:gem_name] = 'aws-sdk-workmail'
|
4552
|
-
context[:gem_version] = '1.
|
4872
|
+
context[:gem_version] = '1.78.0'
|
4553
4873
|
Seahorse::Client::Request.new(handlers, context)
|
4554
4874
|
end
|
4555
4875
|
|