aws-sdk-workmail 1.77.0 → 1.79.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workmail/client.rb +346 -3
- data/lib/aws-sdk-workmail/client_api.rb +225 -0
- data/lib/aws-sdk-workmail/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-workmail/types.rb +422 -11
- data/lib/aws-sdk-workmail.rb +1 -1
- data/sig/client.rbs +113 -4
- data/sig/resource.rbs +2 -0
- 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: 65117c95e556a0f6cdfe141710fdc66c2b4938c4d931239ad384386e400b5f89
|
4
|
+
data.tar.gz: a5b04f80143c25ed20fcfc7a5146d5c8989da19ab1fdf1c35f74477d84655ca2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '074741287bd633d8ead3655706fbec6b9b159528c67c2f45dde3d671db8e53977d8ab5933bfa517b333098f0ad96de93455c97c282b96778fff7fc1db763276e'
|
7
|
+
data.tar.gz: 303dbf122f0b97e06a3012d7260927e028a28ddff4ba1c6fe2b2f47a75082d72039073542ed4d8513ac6cb27a5f7a823fb9e8901e4307f2df5d691faad2037d0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.79.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.78.0 (2024-10-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for Multi-Factor Authentication (MFA) and Personal Access Tokens through integration with AWS IAM Identity Center.
|
13
|
+
|
4
14
|
1.77.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.79.0
|
@@ -257,11 +257,34 @@ module Aws::WorkMail
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -751,6 +774,48 @@ module Aws::WorkMail
|
|
751
774
|
req.send_request(options)
|
752
775
|
end
|
753
776
|
|
777
|
+
# Creates the WorkMail application in IAM Identity Center that can be
|
778
|
+
# used later in the WorkMail - IdC integration. For more information,
|
779
|
+
# see PutIdentityProviderConfiguration. This action does not affect the
|
780
|
+
# authentication settings for any WorkMail organizations.
|
781
|
+
#
|
782
|
+
# @option params [required, String] :name
|
783
|
+
# The name of the IAM Identity Center application.
|
784
|
+
#
|
785
|
+
# @option params [required, String] :instance_arn
|
786
|
+
# The Amazon Resource Name (ARN) of the instance.
|
787
|
+
#
|
788
|
+
# @option params [String] :client_token
|
789
|
+
# The idempotency token associated with the request.
|
790
|
+
#
|
791
|
+
# **A suitable default value is auto-generated.** You should normally
|
792
|
+
# not need to pass this option.**
|
793
|
+
#
|
794
|
+
# @return [Types::CreateIdentityCenterApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
795
|
+
#
|
796
|
+
# * {Types::CreateIdentityCenterApplicationResponse#application_arn #application_arn} => String
|
797
|
+
#
|
798
|
+
# @example Request syntax with placeholder values
|
799
|
+
#
|
800
|
+
# resp = client.create_identity_center_application({
|
801
|
+
# name: "IdentityCenterApplicationName", # required
|
802
|
+
# instance_arn: "InstanceArn", # required
|
803
|
+
# client_token: "IdempotencyClientToken",
|
804
|
+
# })
|
805
|
+
#
|
806
|
+
# @example Response structure
|
807
|
+
#
|
808
|
+
# resp.application_arn #=> String
|
809
|
+
#
|
810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateIdentityCenterApplication AWS API Documentation
|
811
|
+
#
|
812
|
+
# @overload create_identity_center_application(params = {})
|
813
|
+
# @param [Hash] params ({})
|
814
|
+
def create_identity_center_application(params = {}, options = {})
|
815
|
+
req = build_request(:create_identity_center_application, params)
|
816
|
+
req.send_request(options)
|
817
|
+
end
|
818
|
+
|
754
819
|
# Creates an impersonation role for the given WorkMail organization.
|
755
820
|
#
|
756
821
|
# *Idempotency* ensures that an API request completes no more than one
|
@@ -1064,6 +1129,11 @@ module Aws::WorkMail
|
|
1064
1129
|
# If this parameter is enabled, the user will be hidden from the address
|
1065
1130
|
# book.
|
1066
1131
|
#
|
1132
|
+
# @option params [String] :identity_provider_user_id
|
1133
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
1134
|
+
# will be updated automatically when the user logs in for the first time
|
1135
|
+
# to the mailbox associated with WorkMail.
|
1136
|
+
#
|
1067
1137
|
# @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1068
1138
|
#
|
1069
1139
|
# * {Types::CreateUserResponse#user_id #user_id} => String
|
@@ -1079,6 +1149,7 @@ module Aws::WorkMail
|
|
1079
1149
|
# first_name: "UserAttribute",
|
1080
1150
|
# last_name: "UserAttribute",
|
1081
1151
|
# hidden_from_global_address_list: false,
|
1152
|
+
# identity_provider_user_id: "IdentityProviderUserId",
|
1082
1153
|
# })
|
1083
1154
|
#
|
1084
1155
|
# @example Response structure
|
@@ -1247,6 +1318,55 @@ module Aws::WorkMail
|
|
1247
1318
|
req.send_request(options)
|
1248
1319
|
end
|
1249
1320
|
|
1321
|
+
# Deletes the IAM Identity Center application from WorkMail. This action
|
1322
|
+
# does not affect the authentication settings for any WorkMail
|
1323
|
+
# organizations.
|
1324
|
+
#
|
1325
|
+
# @option params [required, String] :application_arn
|
1326
|
+
# The Amazon Resource Name (ARN) of the application.
|
1327
|
+
#
|
1328
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1329
|
+
#
|
1330
|
+
# @example Request syntax with placeholder values
|
1331
|
+
#
|
1332
|
+
# resp = client.delete_identity_center_application({
|
1333
|
+
# application_arn: "ApplicationArn", # required
|
1334
|
+
# })
|
1335
|
+
#
|
1336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityCenterApplication AWS API Documentation
|
1337
|
+
#
|
1338
|
+
# @overload delete_identity_center_application(params = {})
|
1339
|
+
# @param [Hash] params ({})
|
1340
|
+
def delete_identity_center_application(params = {}, options = {})
|
1341
|
+
req = build_request(:delete_identity_center_application, params)
|
1342
|
+
req.send_request(options)
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
# Disables the integration between IdC and WorkMail. Authentication will
|
1346
|
+
# continue with the directory as it was before the IdC integration. You
|
1347
|
+
# might have to reset your directory passwords and reconfigure your
|
1348
|
+
# desktop and mobile email clients.
|
1349
|
+
#
|
1350
|
+
# @option params [required, String] :organization_id
|
1351
|
+
# The Organization ID.
|
1352
|
+
#
|
1353
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1354
|
+
#
|
1355
|
+
# @example Request syntax with placeholder values
|
1356
|
+
#
|
1357
|
+
# resp = client.delete_identity_provider_configuration({
|
1358
|
+
# organization_id: "OrganizationId", # required
|
1359
|
+
# })
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityProviderConfiguration AWS API Documentation
|
1362
|
+
#
|
1363
|
+
# @overload delete_identity_provider_configuration(params = {})
|
1364
|
+
# @param [Hash] params ({})
|
1365
|
+
def delete_identity_provider_configuration(params = {}, options = {})
|
1366
|
+
req = build_request(:delete_identity_provider_configuration, params)
|
1367
|
+
req.send_request(options)
|
1368
|
+
end
|
1369
|
+
|
1250
1370
|
# Deletes an impersonation role for the given WorkMail organization.
|
1251
1371
|
#
|
1252
1372
|
# @option params [required, String] :organization_id
|
@@ -1432,6 +1552,10 @@ module Aws::WorkMail
|
|
1432
1552
|
# Deletes a WorkMail organization even if the organization has enabled
|
1433
1553
|
# users.
|
1434
1554
|
#
|
1555
|
+
# @option params [Boolean] :delete_identity_center_application
|
1556
|
+
# Deletes IAM Identity Center application for WorkMail. This action does
|
1557
|
+
# not affect authentication settings for any organization.
|
1558
|
+
#
|
1435
1559
|
# @return [Types::DeleteOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1436
1560
|
#
|
1437
1561
|
# * {Types::DeleteOrganizationResponse#organization_id #organization_id} => String
|
@@ -1444,6 +1568,7 @@ module Aws::WorkMail
|
|
1444
1568
|
# organization_id: "OrganizationId", # required
|
1445
1569
|
# delete_directory: false, # required
|
1446
1570
|
# force_delete: false,
|
1571
|
+
# delete_identity_center_application: false,
|
1447
1572
|
# })
|
1448
1573
|
#
|
1449
1574
|
# @example Response structure
|
@@ -1460,6 +1585,33 @@ module Aws::WorkMail
|
|
1460
1585
|
req.send_request(options)
|
1461
1586
|
end
|
1462
1587
|
|
1588
|
+
# Deletes the Personal Access Token from the provided WorkMail
|
1589
|
+
# Organization.
|
1590
|
+
#
|
1591
|
+
# @option params [required, String] :organization_id
|
1592
|
+
# The Organization ID.
|
1593
|
+
#
|
1594
|
+
# @option params [required, String] :personal_access_token_id
|
1595
|
+
# The Personal Access Token ID.
|
1596
|
+
#
|
1597
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1598
|
+
#
|
1599
|
+
# @example Request syntax with placeholder values
|
1600
|
+
#
|
1601
|
+
# resp = client.delete_personal_access_token({
|
1602
|
+
# organization_id: "OrganizationId", # required
|
1603
|
+
# personal_access_token_id: "PersonalAccessTokenId", # required
|
1604
|
+
# })
|
1605
|
+
#
|
1606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeletePersonalAccessToken AWS API Documentation
|
1607
|
+
#
|
1608
|
+
# @overload delete_personal_access_token(params = {})
|
1609
|
+
# @param [Hash] params ({})
|
1610
|
+
def delete_personal_access_token(params = {}, options = {})
|
1611
|
+
req = build_request(:delete_personal_access_token, params)
|
1612
|
+
req.send_request(options)
|
1613
|
+
end
|
1614
|
+
|
1463
1615
|
# Deletes the specified resource.
|
1464
1616
|
#
|
1465
1617
|
# @option params [required, String] :organization_id
|
@@ -1752,6 +1904,41 @@ module Aws::WorkMail
|
|
1752
1904
|
req.send_request(options)
|
1753
1905
|
end
|
1754
1906
|
|
1907
|
+
# Returns detailed information on the current IdC setup for the WorkMail
|
1908
|
+
# organization.
|
1909
|
+
#
|
1910
|
+
# @option params [required, String] :organization_id
|
1911
|
+
# The Organization ID.
|
1912
|
+
#
|
1913
|
+
# @return [Types::DescribeIdentityProviderConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1914
|
+
#
|
1915
|
+
# * {Types::DescribeIdentityProviderConfigurationResponse#authentication_mode #authentication_mode} => String
|
1916
|
+
# * {Types::DescribeIdentityProviderConfigurationResponse#identity_center_configuration #identity_center_configuration} => Types::IdentityCenterConfiguration
|
1917
|
+
# * {Types::DescribeIdentityProviderConfigurationResponse#personal_access_token_configuration #personal_access_token_configuration} => Types::PersonalAccessTokenConfiguration
|
1918
|
+
#
|
1919
|
+
# @example Request syntax with placeholder values
|
1920
|
+
#
|
1921
|
+
# resp = client.describe_identity_provider_configuration({
|
1922
|
+
# organization_id: "OrganizationId", # required
|
1923
|
+
# })
|
1924
|
+
#
|
1925
|
+
# @example Response structure
|
1926
|
+
#
|
1927
|
+
# resp.authentication_mode #=> String, one of "IDENTITY_PROVIDER_ONLY", "IDENTITY_PROVIDER_AND_DIRECTORY"
|
1928
|
+
# resp.identity_center_configuration.instance_arn #=> String
|
1929
|
+
# resp.identity_center_configuration.application_arn #=> String
|
1930
|
+
# resp.personal_access_token_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
|
1931
|
+
# resp.personal_access_token_configuration.lifetime_in_days #=> Integer
|
1932
|
+
#
|
1933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeIdentityProviderConfiguration AWS API Documentation
|
1934
|
+
#
|
1935
|
+
# @overload describe_identity_provider_configuration(params = {})
|
1936
|
+
# @param [Hash] params ({})
|
1937
|
+
def describe_identity_provider_configuration(params = {}, options = {})
|
1938
|
+
req = build_request(:describe_identity_provider_configuration, params)
|
1939
|
+
req.send_request(options)
|
1940
|
+
end
|
1941
|
+
|
1755
1942
|
# Lists the settings in a DMARC policy for a specified organization.
|
1756
1943
|
#
|
1757
1944
|
# @option params [required, String] :organization_id
|
@@ -1988,6 +2175,8 @@ module Aws::WorkMail
|
|
1988
2175
|
# * {Types::DescribeUserResponse#department #department} => String
|
1989
2176
|
# * {Types::DescribeUserResponse#country #country} => String
|
1990
2177
|
# * {Types::DescribeUserResponse#office #office} => String
|
2178
|
+
# * {Types::DescribeUserResponse#identity_provider_user_id #identity_provider_user_id} => String
|
2179
|
+
# * {Types::DescribeUserResponse#identity_provider_identity_store_id #identity_provider_identity_store_id} => String
|
1991
2180
|
#
|
1992
2181
|
# @example Request syntax with placeholder values
|
1993
2182
|
#
|
@@ -2021,6 +2210,8 @@ module Aws::WorkMail
|
|
2021
2210
|
# resp.department #=> String
|
2022
2211
|
# resp.country #=> String
|
2023
2212
|
# resp.office #=> String
|
2213
|
+
# resp.identity_provider_user_id #=> String
|
2214
|
+
# resp.identity_provider_identity_store_id #=> String
|
2024
2215
|
#
|
2025
2216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUser AWS API Documentation
|
2026
2217
|
#
|
@@ -2525,6 +2716,52 @@ module Aws::WorkMail
|
|
2525
2716
|
req.send_request(options)
|
2526
2717
|
end
|
2527
2718
|
|
2719
|
+
# Requests details of a specific Personal Access Token within the
|
2720
|
+
# WorkMail organization.
|
2721
|
+
#
|
2722
|
+
# @option params [required, String] :organization_id
|
2723
|
+
# The Organization ID.
|
2724
|
+
#
|
2725
|
+
# @option params [required, String] :personal_access_token_id
|
2726
|
+
# The Personal Access Token ID.
|
2727
|
+
#
|
2728
|
+
# @return [Types::GetPersonalAccessTokenMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2729
|
+
#
|
2730
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#personal_access_token_id #personal_access_token_id} => String
|
2731
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#user_id #user_id} => String
|
2732
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#name #name} => String
|
2733
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#date_created #date_created} => Time
|
2734
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#date_last_used #date_last_used} => Time
|
2735
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#expires_time #expires_time} => Time
|
2736
|
+
# * {Types::GetPersonalAccessTokenMetadataResponse#scopes #scopes} => Array<String>
|
2737
|
+
#
|
2738
|
+
# @example Request syntax with placeholder values
|
2739
|
+
#
|
2740
|
+
# resp = client.get_personal_access_token_metadata({
|
2741
|
+
# organization_id: "OrganizationId", # required
|
2742
|
+
# personal_access_token_id: "PersonalAccessTokenId", # required
|
2743
|
+
# })
|
2744
|
+
#
|
2745
|
+
# @example Response structure
|
2746
|
+
#
|
2747
|
+
# resp.personal_access_token_id #=> String
|
2748
|
+
# resp.user_id #=> String
|
2749
|
+
# resp.name #=> String
|
2750
|
+
# resp.date_created #=> Time
|
2751
|
+
# resp.date_last_used #=> Time
|
2752
|
+
# resp.expires_time #=> Time
|
2753
|
+
# resp.scopes #=> Array
|
2754
|
+
# resp.scopes[0] #=> String
|
2755
|
+
#
|
2756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetPersonalAccessTokenMetadata AWS API Documentation
|
2757
|
+
#
|
2758
|
+
# @overload get_personal_access_token_metadata(params = {})
|
2759
|
+
# @param [Hash] params ({})
|
2760
|
+
def get_personal_access_token_metadata(params = {}, options = {})
|
2761
|
+
req = build_request(:get_personal_access_token_metadata, params)
|
2762
|
+
req.send_request(options)
|
2763
|
+
end
|
2764
|
+
|
2528
2765
|
# Lists the access control rules for the specified organization.
|
2529
2766
|
#
|
2530
2767
|
# @option params [required, String] :organization_id
|
@@ -3213,6 +3450,58 @@ module Aws::WorkMail
|
|
3213
3450
|
req.send_request(options)
|
3214
3451
|
end
|
3215
3452
|
|
3453
|
+
# Returns a summary of your Personal Access Tokens.
|
3454
|
+
#
|
3455
|
+
# @option params [required, String] :organization_id
|
3456
|
+
# The Organization ID.
|
3457
|
+
#
|
3458
|
+
# @option params [String] :user_id
|
3459
|
+
# The WorkMail User ID.
|
3460
|
+
#
|
3461
|
+
# @option params [String] :next_token
|
3462
|
+
# The token from the previous response to query the next page.
|
3463
|
+
#
|
3464
|
+
# @option params [Integer] :max_results
|
3465
|
+
# The maximum amount of items that should be returned in a response.
|
3466
|
+
#
|
3467
|
+
# @return [Types::ListPersonalAccessTokensResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3468
|
+
#
|
3469
|
+
# * {Types::ListPersonalAccessTokensResponse#next_token #next_token} => String
|
3470
|
+
# * {Types::ListPersonalAccessTokensResponse#personal_access_token_summaries #personal_access_token_summaries} => Array<Types::PersonalAccessTokenSummary>
|
3471
|
+
#
|
3472
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3473
|
+
#
|
3474
|
+
# @example Request syntax with placeholder values
|
3475
|
+
#
|
3476
|
+
# resp = client.list_personal_access_tokens({
|
3477
|
+
# organization_id: "OrganizationId", # required
|
3478
|
+
# user_id: "EntityIdentifier",
|
3479
|
+
# next_token: "NextToken",
|
3480
|
+
# max_results: 1,
|
3481
|
+
# })
|
3482
|
+
#
|
3483
|
+
# @example Response structure
|
3484
|
+
#
|
3485
|
+
# resp.next_token #=> String
|
3486
|
+
# resp.personal_access_token_summaries #=> Array
|
3487
|
+
# resp.personal_access_token_summaries[0].personal_access_token_id #=> String
|
3488
|
+
# resp.personal_access_token_summaries[0].user_id #=> String
|
3489
|
+
# resp.personal_access_token_summaries[0].name #=> String
|
3490
|
+
# resp.personal_access_token_summaries[0].date_created #=> Time
|
3491
|
+
# resp.personal_access_token_summaries[0].date_last_used #=> Time
|
3492
|
+
# resp.personal_access_token_summaries[0].expires_time #=> Time
|
3493
|
+
# resp.personal_access_token_summaries[0].scopes #=> Array
|
3494
|
+
# resp.personal_access_token_summaries[0].scopes[0] #=> String
|
3495
|
+
#
|
3496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListPersonalAccessTokens AWS API Documentation
|
3497
|
+
#
|
3498
|
+
# @overload list_personal_access_tokens(params = {})
|
3499
|
+
# @param [Hash] params ({})
|
3500
|
+
def list_personal_access_tokens(params = {}, options = {})
|
3501
|
+
req = build_request(:list_personal_access_tokens, params)
|
3502
|
+
req.send_request(options)
|
3503
|
+
end
|
3504
|
+
|
3216
3505
|
# Lists the delegates associated with a resource. Users and groups can
|
3217
3506
|
# be resource delegates and answer requests on behalf of the resource.
|
3218
3507
|
#
|
@@ -3393,6 +3682,7 @@ module Aws::WorkMail
|
|
3393
3682
|
# display_name_prefix: "UserAttribute",
|
3394
3683
|
# primary_email_prefix: "String",
|
3395
3684
|
# state: "ENABLED", # accepts ENABLED, DISABLED, DELETED
|
3685
|
+
# identity_provider_user_id_prefix: "IdentityProviderUserIdPrefix",
|
3396
3686
|
# },
|
3397
3687
|
# })
|
3398
3688
|
#
|
@@ -3407,6 +3697,8 @@ module Aws::WorkMail
|
|
3407
3697
|
# resp.users[0].user_role #=> String, one of "USER", "RESOURCE", "SYSTEM_USER", "REMOTE_USER"
|
3408
3698
|
# resp.users[0].enabled_date #=> Time
|
3409
3699
|
# resp.users[0].disabled_date #=> Time
|
3700
|
+
# resp.users[0].identity_provider_user_id #=> String
|
3701
|
+
# resp.users[0].identity_provider_identity_store_id #=> String
|
3410
3702
|
# resp.next_token #=> String
|
3411
3703
|
#
|
3412
3704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListUsers AWS API Documentation
|
@@ -3526,6 +3818,51 @@ module Aws::WorkMail
|
|
3526
3818
|
req.send_request(options)
|
3527
3819
|
end
|
3528
3820
|
|
3821
|
+
# Enables integration between IAM Identity Center (IdC) and WorkMail to
|
3822
|
+
# proxy authentication requests for mailbox users. You can connect your
|
3823
|
+
# IdC directory or your external directory to WorkMail through IdC and
|
3824
|
+
# manage access to WorkMail mailboxes in a single place. For enhanced
|
3825
|
+
# protection, you could enable Multifactor Authentication (MFA) and
|
3826
|
+
# Personal Access Tokens.
|
3827
|
+
#
|
3828
|
+
# @option params [required, String] :organization_id
|
3829
|
+
# The ID of the WorkMail Organization.
|
3830
|
+
#
|
3831
|
+
# @option params [required, String] :authentication_mode
|
3832
|
+
# The authentication mode used in WorkMail.
|
3833
|
+
#
|
3834
|
+
# @option params [required, Types::IdentityCenterConfiguration] :identity_center_configuration
|
3835
|
+
# The details of the IAM Identity Center configuration.
|
3836
|
+
#
|
3837
|
+
# @option params [required, Types::PersonalAccessTokenConfiguration] :personal_access_token_configuration
|
3838
|
+
# The details of the Personal Access Token configuration.
|
3839
|
+
#
|
3840
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3841
|
+
#
|
3842
|
+
# @example Request syntax with placeholder values
|
3843
|
+
#
|
3844
|
+
# resp = client.put_identity_provider_configuration({
|
3845
|
+
# organization_id: "OrganizationId", # required
|
3846
|
+
# authentication_mode: "IDENTITY_PROVIDER_ONLY", # required, accepts IDENTITY_PROVIDER_ONLY, IDENTITY_PROVIDER_AND_DIRECTORY
|
3847
|
+
# identity_center_configuration: { # required
|
3848
|
+
# instance_arn: "InstanceArn", # required
|
3849
|
+
# application_arn: "ApplicationArn", # required
|
3850
|
+
# },
|
3851
|
+
# personal_access_token_configuration: { # required
|
3852
|
+
# status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
|
3853
|
+
# lifetime_in_days: 1,
|
3854
|
+
# },
|
3855
|
+
# })
|
3856
|
+
#
|
3857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutIdentityProviderConfiguration AWS API Documentation
|
3858
|
+
#
|
3859
|
+
# @overload put_identity_provider_configuration(params = {})
|
3860
|
+
# @param [Hash] params ({})
|
3861
|
+
def put_identity_provider_configuration(params = {}, options = {})
|
3862
|
+
req = build_request(:put_identity_provider_configuration, params)
|
3863
|
+
req.send_request(options)
|
3864
|
+
end
|
3865
|
+
|
3529
3866
|
# Enables or disables a DMARC policy for a given organization.
|
3530
3867
|
#
|
3531
3868
|
# @option params [required, String] :organization_id
|
@@ -4113,7 +4450,7 @@ module Aws::WorkMail
|
|
4113
4450
|
req.send_request(options)
|
4114
4451
|
end
|
4115
4452
|
|
4116
|
-
# Updates
|
4453
|
+
# Updates attributes in a group.
|
4117
4454
|
#
|
4118
4455
|
# @option params [required, String] :organization_id
|
4119
4456
|
# The identifier for the organization under which the group exists.
|
@@ -4487,7 +4824,7 @@ module Aws::WorkMail
|
|
4487
4824
|
# Updates the user's company.
|
4488
4825
|
#
|
4489
4826
|
# @option params [String] :zip_code
|
4490
|
-
# Updates the user's
|
4827
|
+
# Updates the user's zip code.
|
4491
4828
|
#
|
4492
4829
|
# @option params [String] :department
|
4493
4830
|
# Updates the user's department.
|
@@ -4498,6 +4835,11 @@ module Aws::WorkMail
|
|
4498
4835
|
# @option params [String] :office
|
4499
4836
|
# Updates the user's office.
|
4500
4837
|
#
|
4838
|
+
# @option params [String] :identity_provider_user_id
|
4839
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
4840
|
+
# will be updated automatically when the user logs in for the first time
|
4841
|
+
# to the mailbox associated with WorkMail.
|
4842
|
+
#
|
4501
4843
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4502
4844
|
#
|
4503
4845
|
# @example Request syntax with placeholder values
|
@@ -4520,6 +4862,7 @@ module Aws::WorkMail
|
|
4520
4862
|
# department: "UserAttribute",
|
4521
4863
|
# country: "UserAttribute",
|
4522
4864
|
# office: "UserAttribute",
|
4865
|
+
# identity_provider_user_id: "IdentityProviderUserIdForUpdate",
|
4523
4866
|
# })
|
4524
4867
|
#
|
4525
4868
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateUser AWS API Documentation
|
@@ -4549,7 +4892,7 @@ module Aws::WorkMail
|
|
4549
4892
|
tracer: tracer
|
4550
4893
|
)
|
4551
4894
|
context[:gem_name] = 'aws-sdk-workmail'
|
4552
|
-
context[:gem_version] = '1.
|
4895
|
+
context[:gem_version] = '1.79.0'
|
4553
4896
|
Seahorse::Client::Request.new(handlers, context)
|
4554
4897
|
end
|
4555
4898
|
|