aws-sdk-workmail 1.77.0 → 1.78.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 +5 -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_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 +111 -4
- data/sig/types.rbs +126 -4
- metadata +2 -2
@@ -421,6 +421,43 @@ module Aws::WorkMail
|
|
421
421
|
include Aws::Structure
|
422
422
|
end
|
423
423
|
|
424
|
+
# @!attribute [rw] name
|
425
|
+
# The name of the IAM Identity Center application.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] instance_arn
|
429
|
+
# The Amazon Resource Name (ARN) of the instance.
|
430
|
+
# @return [String]
|
431
|
+
#
|
432
|
+
# @!attribute [rw] client_token
|
433
|
+
# The idempotency token associated with the request.
|
434
|
+
#
|
435
|
+
# **A suitable default value is auto-generated.** You should normally
|
436
|
+
# not need to pass this option.
|
437
|
+
# @return [String]
|
438
|
+
#
|
439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateIdentityCenterApplicationRequest AWS API Documentation
|
440
|
+
#
|
441
|
+
class CreateIdentityCenterApplicationRequest < Struct.new(
|
442
|
+
:name,
|
443
|
+
:instance_arn,
|
444
|
+
:client_token)
|
445
|
+
SENSITIVE = []
|
446
|
+
include Aws::Structure
|
447
|
+
end
|
448
|
+
|
449
|
+
# @!attribute [rw] application_arn
|
450
|
+
# The Amazon Resource Name (ARN) of the application.
|
451
|
+
# @return [String]
|
452
|
+
#
|
453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateIdentityCenterApplicationResponse AWS API Documentation
|
454
|
+
#
|
455
|
+
class CreateIdentityCenterApplicationResponse < Struct.new(
|
456
|
+
:application_arn)
|
457
|
+
SENSITIVE = []
|
458
|
+
include Aws::Structure
|
459
|
+
end
|
460
|
+
|
424
461
|
# @!attribute [rw] client_token
|
425
462
|
# The idempotency token for the client request.
|
426
463
|
#
|
@@ -653,7 +690,7 @@ module Aws::WorkMail
|
|
653
690
|
:type,
|
654
691
|
:description,
|
655
692
|
:hidden_from_global_address_list)
|
656
|
-
SENSITIVE = []
|
693
|
+
SENSITIVE = [:description]
|
657
694
|
include Aws::Structure
|
658
695
|
end
|
659
696
|
|
@@ -707,6 +744,12 @@ module Aws::WorkMail
|
|
707
744
|
# address book.
|
708
745
|
# @return [Boolean]
|
709
746
|
#
|
747
|
+
# @!attribute [rw] identity_provider_user_id
|
748
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
749
|
+
# will be updated automatically when the user logs in for the first
|
750
|
+
# time to the mailbox associated with WorkMail.
|
751
|
+
# @return [String]
|
752
|
+
#
|
710
753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUserRequest AWS API Documentation
|
711
754
|
#
|
712
755
|
class CreateUserRequest < Struct.new(
|
@@ -717,7 +760,8 @@ module Aws::WorkMail
|
|
717
760
|
:role,
|
718
761
|
:first_name,
|
719
762
|
:last_name,
|
720
|
-
:hidden_from_global_address_list
|
763
|
+
:hidden_from_global_address_list,
|
764
|
+
:identity_provider_user_id)
|
721
765
|
SENSITIVE = [:display_name, :password, :first_name, :last_name]
|
722
766
|
include Aws::Structure
|
723
767
|
end
|
@@ -874,6 +918,38 @@ module Aws::WorkMail
|
|
874
918
|
#
|
875
919
|
class DeleteGroupResponse < Aws::EmptyStructure; end
|
876
920
|
|
921
|
+
# @!attribute [rw] application_arn
|
922
|
+
# The Amazon Resource Name (ARN) of the application.
|
923
|
+
# @return [String]
|
924
|
+
#
|
925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityCenterApplicationRequest AWS API Documentation
|
926
|
+
#
|
927
|
+
class DeleteIdentityCenterApplicationRequest < Struct.new(
|
928
|
+
:application_arn)
|
929
|
+
SENSITIVE = []
|
930
|
+
include Aws::Structure
|
931
|
+
end
|
932
|
+
|
933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityCenterApplicationResponse AWS API Documentation
|
934
|
+
#
|
935
|
+
class DeleteIdentityCenterApplicationResponse < Aws::EmptyStructure; end
|
936
|
+
|
937
|
+
# @!attribute [rw] organization_id
|
938
|
+
# The Organization ID.
|
939
|
+
# @return [String]
|
940
|
+
#
|
941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityProviderConfigurationRequest AWS API Documentation
|
942
|
+
#
|
943
|
+
class DeleteIdentityProviderConfigurationRequest < Struct.new(
|
944
|
+
:organization_id)
|
945
|
+
SENSITIVE = []
|
946
|
+
include Aws::Structure
|
947
|
+
end
|
948
|
+
|
949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteIdentityProviderConfigurationResponse AWS API Documentation
|
950
|
+
#
|
951
|
+
class DeleteIdentityProviderConfigurationResponse < Aws::EmptyStructure; end
|
952
|
+
|
877
953
|
# @!attribute [rw] organization_id
|
878
954
|
# The WorkMail organization from which to delete the impersonation
|
879
955
|
# role.
|
@@ -1024,13 +1100,19 @@ module Aws::WorkMail
|
|
1024
1100
|
# users.
|
1025
1101
|
# @return [Boolean]
|
1026
1102
|
#
|
1103
|
+
# @!attribute [rw] delete_identity_center_application
|
1104
|
+
# Deletes IAM Identity Center application for WorkMail. This action
|
1105
|
+
# does not affect authentication settings for any organization.
|
1106
|
+
# @return [Boolean]
|
1107
|
+
#
|
1027
1108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganizationRequest AWS API Documentation
|
1028
1109
|
#
|
1029
1110
|
class DeleteOrganizationRequest < Struct.new(
|
1030
1111
|
:client_token,
|
1031
1112
|
:organization_id,
|
1032
1113
|
:delete_directory,
|
1033
|
-
:force_delete
|
1114
|
+
:force_delete,
|
1115
|
+
:delete_identity_center_application)
|
1034
1116
|
SENSITIVE = []
|
1035
1117
|
include Aws::Structure
|
1036
1118
|
end
|
@@ -1052,6 +1134,27 @@ module Aws::WorkMail
|
|
1052
1134
|
include Aws::Structure
|
1053
1135
|
end
|
1054
1136
|
|
1137
|
+
# @!attribute [rw] organization_id
|
1138
|
+
# The Organization ID.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] personal_access_token_id
|
1142
|
+
# The Personal Access Token ID.
|
1143
|
+
# @return [String]
|
1144
|
+
#
|
1145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeletePersonalAccessTokenRequest AWS API Documentation
|
1146
|
+
#
|
1147
|
+
class DeletePersonalAccessTokenRequest < Struct.new(
|
1148
|
+
:organization_id,
|
1149
|
+
:personal_access_token_id)
|
1150
|
+
SENSITIVE = []
|
1151
|
+
include Aws::Structure
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeletePersonalAccessTokenResponse AWS API Documentation
|
1155
|
+
#
|
1156
|
+
class DeletePersonalAccessTokenResponse < Aws::EmptyStructure; end
|
1157
|
+
|
1055
1158
|
# @!attribute [rw] organization_id
|
1056
1159
|
# The identifier associated with the organization from which the
|
1057
1160
|
# resource is deleted.
|
@@ -1329,6 +1432,40 @@ module Aws::WorkMail
|
|
1329
1432
|
include Aws::Structure
|
1330
1433
|
end
|
1331
1434
|
|
1435
|
+
# @!attribute [rw] organization_id
|
1436
|
+
# The Organization ID.
|
1437
|
+
# @return [String]
|
1438
|
+
#
|
1439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeIdentityProviderConfigurationRequest AWS API Documentation
|
1440
|
+
#
|
1441
|
+
class DescribeIdentityProviderConfigurationRequest < Struct.new(
|
1442
|
+
:organization_id)
|
1443
|
+
SENSITIVE = []
|
1444
|
+
include Aws::Structure
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
# @!attribute [rw] authentication_mode
|
1448
|
+
# The authentication mode used in WorkMail.
|
1449
|
+
# @return [String]
|
1450
|
+
#
|
1451
|
+
# @!attribute [rw] identity_center_configuration
|
1452
|
+
# The details of the IAM Identity Center configuration.
|
1453
|
+
# @return [Types::IdentityCenterConfiguration]
|
1454
|
+
#
|
1455
|
+
# @!attribute [rw] personal_access_token_configuration
|
1456
|
+
# The details of the Personal Access Token configuration.
|
1457
|
+
# @return [Types::PersonalAccessTokenConfiguration]
|
1458
|
+
#
|
1459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeIdentityProviderConfigurationResponse AWS API Documentation
|
1460
|
+
#
|
1461
|
+
class DescribeIdentityProviderConfigurationResponse < Struct.new(
|
1462
|
+
:authentication_mode,
|
1463
|
+
:identity_center_configuration,
|
1464
|
+
:personal_access_token_configuration)
|
1465
|
+
SENSITIVE = []
|
1466
|
+
include Aws::Structure
|
1467
|
+
end
|
1468
|
+
|
1332
1469
|
# @!attribute [rw] organization_id
|
1333
1470
|
# Lists the ID of the given organization.
|
1334
1471
|
# @return [String]
|
@@ -1603,7 +1740,7 @@ module Aws::WorkMail
|
|
1603
1740
|
:disabled_date,
|
1604
1741
|
:description,
|
1605
1742
|
:hidden_from_global_address_list)
|
1606
|
-
SENSITIVE = []
|
1743
|
+
SENSITIVE = [:description]
|
1607
1744
|
include Aws::Structure
|
1608
1745
|
end
|
1609
1746
|
|
@@ -1735,6 +1872,18 @@ module Aws::WorkMail
|
|
1735
1872
|
# Office where the user is located.
|
1736
1873
|
# @return [String]
|
1737
1874
|
#
|
1875
|
+
# @!attribute [rw] identity_provider_user_id
|
1876
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
1877
|
+
# will be updated automatically when the user logs in for the first
|
1878
|
+
# time to the mailbox associated with WorkMail.
|
1879
|
+
# @return [String]
|
1880
|
+
#
|
1881
|
+
# @!attribute [rw] identity_provider_identity_store_id
|
1882
|
+
# Identity Store ID from the IAM Identity Center. If this parameter is
|
1883
|
+
# empty it will be updated automatically when the user logs in for the
|
1884
|
+
# first time to the mailbox associated with WorkMail.
|
1885
|
+
# @return [String]
|
1886
|
+
#
|
1738
1887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUserResponse AWS API Documentation
|
1739
1888
|
#
|
1740
1889
|
class DescribeUserResponse < Struct.new(
|
@@ -1760,7 +1909,9 @@ module Aws::WorkMail
|
|
1760
1909
|
:zip_code,
|
1761
1910
|
:department,
|
1762
1911
|
:country,
|
1763
|
-
:office
|
1912
|
+
:office,
|
1913
|
+
:identity_provider_user_id,
|
1914
|
+
:identity_provider_identity_store_id)
|
1764
1915
|
SENSITIVE = [:display_name, :first_name, :last_name, :initials, :telephone, :street, :job_title, :city, :company, :zip_code, :department, :country, :office]
|
1765
1916
|
include Aws::Structure
|
1766
1917
|
end
|
@@ -2487,6 +2638,65 @@ module Aws::WorkMail
|
|
2487
2638
|
include Aws::Structure
|
2488
2639
|
end
|
2489
2640
|
|
2641
|
+
# @!attribute [rw] organization_id
|
2642
|
+
# The Organization ID.
|
2643
|
+
# @return [String]
|
2644
|
+
#
|
2645
|
+
# @!attribute [rw] personal_access_token_id
|
2646
|
+
# The Personal Access Token ID.
|
2647
|
+
# @return [String]
|
2648
|
+
#
|
2649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetPersonalAccessTokenMetadataRequest AWS API Documentation
|
2650
|
+
#
|
2651
|
+
class GetPersonalAccessTokenMetadataRequest < Struct.new(
|
2652
|
+
:organization_id,
|
2653
|
+
:personal_access_token_id)
|
2654
|
+
SENSITIVE = []
|
2655
|
+
include Aws::Structure
|
2656
|
+
end
|
2657
|
+
|
2658
|
+
# @!attribute [rw] personal_access_token_id
|
2659
|
+
# The Personal Access Token ID.
|
2660
|
+
# @return [String]
|
2661
|
+
#
|
2662
|
+
# @!attribute [rw] user_id
|
2663
|
+
# The WorkMail User ID.
|
2664
|
+
# @return [String]
|
2665
|
+
#
|
2666
|
+
# @!attribute [rw] name
|
2667
|
+
# The Personal Access Token name.
|
2668
|
+
# @return [String]
|
2669
|
+
#
|
2670
|
+
# @!attribute [rw] date_created
|
2671
|
+
# The date when the Personal Access Token ID was created.
|
2672
|
+
# @return [Time]
|
2673
|
+
#
|
2674
|
+
# @!attribute [rw] date_last_used
|
2675
|
+
# The date when the Personal Access Token ID was last used.
|
2676
|
+
# @return [Time]
|
2677
|
+
#
|
2678
|
+
# @!attribute [rw] expires_time
|
2679
|
+
# The time when the Personal Access Token ID will expire.
|
2680
|
+
# @return [Time]
|
2681
|
+
#
|
2682
|
+
# @!attribute [rw] scopes
|
2683
|
+
# Lists all the Personal Access Token permissions for a mailbox.
|
2684
|
+
# @return [Array<String>]
|
2685
|
+
#
|
2686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetPersonalAccessTokenMetadataResponse AWS API Documentation
|
2687
|
+
#
|
2688
|
+
class GetPersonalAccessTokenMetadataResponse < Struct.new(
|
2689
|
+
:personal_access_token_id,
|
2690
|
+
:user_id,
|
2691
|
+
:name,
|
2692
|
+
:date_created,
|
2693
|
+
:date_last_used,
|
2694
|
+
:expires_time,
|
2695
|
+
:scopes)
|
2696
|
+
SENSITIVE = []
|
2697
|
+
include Aws::Structure
|
2698
|
+
end
|
2699
|
+
|
2490
2700
|
# The representation of an WorkMail group.
|
2491
2701
|
#
|
2492
2702
|
# @!attribute [rw] id
|
@@ -2545,6 +2755,29 @@ module Aws::WorkMail
|
|
2545
2755
|
include Aws::Structure
|
2546
2756
|
end
|
2547
2757
|
|
2758
|
+
# The IAM Identity Center configuration.
|
2759
|
+
#
|
2760
|
+
# @!attribute [rw] instance_arn
|
2761
|
+
# The Amazon Resource Name (ARN) of the of IAM Identity Center
|
2762
|
+
# instance. Must be in the same AWS account and region as WorkMail
|
2763
|
+
# organization.
|
2764
|
+
# @return [String]
|
2765
|
+
#
|
2766
|
+
# @!attribute [rw] application_arn
|
2767
|
+
# The Amazon Resource Name (ARN) of IAMIdentity Center Application for
|
2768
|
+
# WorkMail. Must be created by the WorkMail API, see
|
2769
|
+
# CreateIdentityCenterApplication.
|
2770
|
+
# @return [String]
|
2771
|
+
#
|
2772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/IdentityCenterConfiguration AWS API Documentation
|
2773
|
+
#
|
2774
|
+
class IdentityCenterConfiguration < Struct.new(
|
2775
|
+
:instance_arn,
|
2776
|
+
:application_arn)
|
2777
|
+
SENSITIVE = []
|
2778
|
+
include Aws::Structure
|
2779
|
+
end
|
2780
|
+
|
2548
2781
|
# The impersonation rule that matched the input.
|
2549
2782
|
#
|
2550
2783
|
# @!attribute [rw] impersonation_rule_id
|
@@ -3352,6 +3585,51 @@ module Aws::WorkMail
|
|
3352
3585
|
include Aws::Structure
|
3353
3586
|
end
|
3354
3587
|
|
3588
|
+
# @!attribute [rw] organization_id
|
3589
|
+
# The Organization ID.
|
3590
|
+
# @return [String]
|
3591
|
+
#
|
3592
|
+
# @!attribute [rw] user_id
|
3593
|
+
# The WorkMail User ID.
|
3594
|
+
# @return [String]
|
3595
|
+
#
|
3596
|
+
# @!attribute [rw] next_token
|
3597
|
+
# The token from the previous response to query the next page.
|
3598
|
+
# @return [String]
|
3599
|
+
#
|
3600
|
+
# @!attribute [rw] max_results
|
3601
|
+
# The maximum amount of items that should be returned in a response.
|
3602
|
+
# @return [Integer]
|
3603
|
+
#
|
3604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListPersonalAccessTokensRequest AWS API Documentation
|
3605
|
+
#
|
3606
|
+
class ListPersonalAccessTokensRequest < Struct.new(
|
3607
|
+
:organization_id,
|
3608
|
+
:user_id,
|
3609
|
+
:next_token,
|
3610
|
+
:max_results)
|
3611
|
+
SENSITIVE = []
|
3612
|
+
include Aws::Structure
|
3613
|
+
end
|
3614
|
+
|
3615
|
+
# @!attribute [rw] next_token
|
3616
|
+
# The token from the previous response to query the next page.
|
3617
|
+
# @return [String]
|
3618
|
+
#
|
3619
|
+
# @!attribute [rw] personal_access_token_summaries
|
3620
|
+
# Lists all the personal tokens in an organization or user, if user ID
|
3621
|
+
# is provided.
|
3622
|
+
# @return [Array<Types::PersonalAccessTokenSummary>]
|
3623
|
+
#
|
3624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListPersonalAccessTokensResponse AWS API Documentation
|
3625
|
+
#
|
3626
|
+
class ListPersonalAccessTokensResponse < Struct.new(
|
3627
|
+
:next_token,
|
3628
|
+
:personal_access_token_summaries)
|
3629
|
+
SENSITIVE = []
|
3630
|
+
include Aws::Structure
|
3631
|
+
end
|
3632
|
+
|
3355
3633
|
# @!attribute [rw] organization_id
|
3356
3634
|
# The identifier for the organization that contains the resource for
|
3357
3635
|
# which delegates are listed.
|
@@ -3525,13 +3803,18 @@ module Aws::WorkMail
|
|
3525
3803
|
# Filters only users with the provided state.
|
3526
3804
|
# @return [String]
|
3527
3805
|
#
|
3806
|
+
# @!attribute [rw] identity_provider_user_id_prefix
|
3807
|
+
# Filters only users with the ID from the IAM Identity Center.
|
3808
|
+
# @return [String]
|
3809
|
+
#
|
3528
3810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListUsersFilters AWS API Documentation
|
3529
3811
|
#
|
3530
3812
|
class ListUsersFilters < Struct.new(
|
3531
3813
|
:username_prefix,
|
3532
3814
|
:display_name_prefix,
|
3533
3815
|
:primary_email_prefix,
|
3534
|
-
:state
|
3816
|
+
:state,
|
3817
|
+
:identity_provider_user_id_prefix)
|
3535
3818
|
SENSITIVE = [:display_name_prefix]
|
3536
3819
|
include Aws::Structure
|
3537
3820
|
end
|
@@ -3992,6 +4275,82 @@ module Aws::WorkMail
|
|
3992
4275
|
include Aws::Structure
|
3993
4276
|
end
|
3994
4277
|
|
4278
|
+
# Displays the Personal Access Token status.
|
4279
|
+
#
|
4280
|
+
# @!attribute [rw] status
|
4281
|
+
# The status of the Personal Access Token allowed for the
|
4282
|
+
# organization.
|
4283
|
+
#
|
4284
|
+
# * *Active* - Mailbox users can login to the web application and
|
4285
|
+
# choose *Settings* to see the new *Personal Access Tokens* page to
|
4286
|
+
# create and delete the Personal Access Tokens. Mailbox users can
|
4287
|
+
# use the Personal Access Tokens to set up mailbox connection from
|
4288
|
+
# desktop or mobile email clients.
|
4289
|
+
#
|
4290
|
+
# * *Inactive* - Personal Access Tokens are disabled for your
|
4291
|
+
# organization. Mailbox users can’t create, list, or delete Personal
|
4292
|
+
# Access Tokens and can’t use them to connect to their mailboxes
|
4293
|
+
# from desktop or mobile email clients.
|
4294
|
+
# @return [String]
|
4295
|
+
#
|
4296
|
+
# @!attribute [rw] lifetime_in_days
|
4297
|
+
# The validity of the Personal Access Token status in days.
|
4298
|
+
# @return [Integer]
|
4299
|
+
#
|
4300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PersonalAccessTokenConfiguration AWS API Documentation
|
4301
|
+
#
|
4302
|
+
class PersonalAccessTokenConfiguration < Struct.new(
|
4303
|
+
:status,
|
4304
|
+
:lifetime_in_days)
|
4305
|
+
SENSITIVE = []
|
4306
|
+
include Aws::Structure
|
4307
|
+
end
|
4308
|
+
|
4309
|
+
# The summary of the Personal Access Token.
|
4310
|
+
#
|
4311
|
+
# @!attribute [rw] personal_access_token_id
|
4312
|
+
# The ID of the Personal Access Token.
|
4313
|
+
# @return [String]
|
4314
|
+
#
|
4315
|
+
# @!attribute [rw] user_id
|
4316
|
+
# The user ID of the WorkMail user associated with the Personal Access
|
4317
|
+
# Token.
|
4318
|
+
# @return [String]
|
4319
|
+
#
|
4320
|
+
# @!attribute [rw] name
|
4321
|
+
# The name of the Personal Access Token.
|
4322
|
+
# @return [String]
|
4323
|
+
#
|
4324
|
+
# @!attribute [rw] date_created
|
4325
|
+
# The date when the Personal Access Token was created.
|
4326
|
+
# @return [Time]
|
4327
|
+
#
|
4328
|
+
# @!attribute [rw] date_last_used
|
4329
|
+
# The date when the Personal Access Token was last used.
|
4330
|
+
# @return [Time]
|
4331
|
+
#
|
4332
|
+
# @!attribute [rw] expires_time
|
4333
|
+
# The date when the Personal Access Token will expire.
|
4334
|
+
# @return [Time]
|
4335
|
+
#
|
4336
|
+
# @!attribute [rw] scopes
|
4337
|
+
# Lists all the Personal Access Token permissions for a mailbox.
|
4338
|
+
# @return [Array<String>]
|
4339
|
+
#
|
4340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PersonalAccessTokenSummary AWS API Documentation
|
4341
|
+
#
|
4342
|
+
class PersonalAccessTokenSummary < Struct.new(
|
4343
|
+
:personal_access_token_id,
|
4344
|
+
:user_id,
|
4345
|
+
:name,
|
4346
|
+
:date_created,
|
4347
|
+
:date_last_used,
|
4348
|
+
:expires_time,
|
4349
|
+
:scopes)
|
4350
|
+
SENSITIVE = []
|
4351
|
+
include Aws::Structure
|
4352
|
+
end
|
4353
|
+
|
3995
4354
|
# @!attribute [rw] name
|
3996
4355
|
# The rule name.
|
3997
4356
|
# @return [String]
|
@@ -4096,6 +4455,37 @@ module Aws::WorkMail
|
|
4096
4455
|
#
|
4097
4456
|
class PutEmailMonitoringConfigurationResponse < Aws::EmptyStructure; end
|
4098
4457
|
|
4458
|
+
# @!attribute [rw] organization_id
|
4459
|
+
# The ID of the WorkMail Organization.
|
4460
|
+
# @return [String]
|
4461
|
+
#
|
4462
|
+
# @!attribute [rw] authentication_mode
|
4463
|
+
# The authentication mode used in WorkMail.
|
4464
|
+
# @return [String]
|
4465
|
+
#
|
4466
|
+
# @!attribute [rw] identity_center_configuration
|
4467
|
+
# The details of the IAM Identity Center configuration.
|
4468
|
+
# @return [Types::IdentityCenterConfiguration]
|
4469
|
+
#
|
4470
|
+
# @!attribute [rw] personal_access_token_configuration
|
4471
|
+
# The details of the Personal Access Token configuration.
|
4472
|
+
# @return [Types::PersonalAccessTokenConfiguration]
|
4473
|
+
#
|
4474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutIdentityProviderConfigurationRequest AWS API Documentation
|
4475
|
+
#
|
4476
|
+
class PutIdentityProviderConfigurationRequest < Struct.new(
|
4477
|
+
:organization_id,
|
4478
|
+
:authentication_mode,
|
4479
|
+
:identity_center_configuration,
|
4480
|
+
:personal_access_token_configuration)
|
4481
|
+
SENSITIVE = []
|
4482
|
+
include Aws::Structure
|
4483
|
+
end
|
4484
|
+
|
4485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutIdentityProviderConfigurationResponse AWS API Documentation
|
4486
|
+
#
|
4487
|
+
class PutIdentityProviderConfigurationResponse < Aws::EmptyStructure; end
|
4488
|
+
|
4099
4489
|
# @!attribute [rw] organization_id
|
4100
4490
|
# The ID of the organization that you are applying the DMARC policy
|
4101
4491
|
# to.
|
@@ -4435,7 +4825,7 @@ module Aws::WorkMail
|
|
4435
4825
|
:enabled_date,
|
4436
4826
|
:disabled_date,
|
4437
4827
|
:description)
|
4438
|
-
SENSITIVE = []
|
4828
|
+
SENSITIVE = [:description]
|
4439
4829
|
include Aws::Structure
|
4440
4830
|
end
|
4441
4831
|
|
@@ -5007,7 +5397,7 @@ module Aws::WorkMail
|
|
5007
5397
|
:description,
|
5008
5398
|
:type,
|
5009
5399
|
:hidden_from_global_address_list)
|
5010
|
-
SENSITIVE = []
|
5400
|
+
SENSITIVE = [:description]
|
5011
5401
|
include Aws::Structure
|
5012
5402
|
end
|
5013
5403
|
|
@@ -5080,7 +5470,7 @@ module Aws::WorkMail
|
|
5080
5470
|
# @return [String]
|
5081
5471
|
#
|
5082
5472
|
# @!attribute [rw] zip_code
|
5083
|
-
# Updates the user's
|
5473
|
+
# Updates the user's zip code.
|
5084
5474
|
# @return [String]
|
5085
5475
|
#
|
5086
5476
|
# @!attribute [rw] department
|
@@ -5095,6 +5485,12 @@ module Aws::WorkMail
|
|
5095
5485
|
# Updates the user's office.
|
5096
5486
|
# @return [String]
|
5097
5487
|
#
|
5488
|
+
# @!attribute [rw] identity_provider_user_id
|
5489
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
5490
|
+
# will be updated automatically when the user logs in for the first
|
5491
|
+
# time to the mailbox associated with WorkMail.
|
5492
|
+
# @return [String]
|
5493
|
+
#
|
5098
5494
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateUserRequest AWS API Documentation
|
5099
5495
|
#
|
5100
5496
|
class UpdateUserRequest < Struct.new(
|
@@ -5114,7 +5510,8 @@ module Aws::WorkMail
|
|
5114
5510
|
:zip_code,
|
5115
5511
|
:department,
|
5116
5512
|
:country,
|
5117
|
-
:office
|
5513
|
+
:office,
|
5514
|
+
:identity_provider_user_id)
|
5118
5515
|
SENSITIVE = [:display_name, :first_name, :last_name, :initials, :telephone, :street, :job_title, :city, :company, :zip_code, :department, :country, :office]
|
5119
5516
|
include Aws::Structure
|
5120
5517
|
end
|
@@ -5157,6 +5554,18 @@ module Aws::WorkMail
|
|
5157
5554
|
# The date indicating when the user was disabled from WorkMail use.
|
5158
5555
|
# @return [Time]
|
5159
5556
|
#
|
5557
|
+
# @!attribute [rw] identity_provider_user_id
|
5558
|
+
# User ID from the IAM Identity Center. If this parameter is empty it
|
5559
|
+
# will be updated automatically when the user logs in for the first
|
5560
|
+
# time to the mailbox associated with WorkMail.
|
5561
|
+
# @return [String]
|
5562
|
+
#
|
5563
|
+
# @!attribute [rw] identity_provider_identity_store_id
|
5564
|
+
# Identity store ID from the IAM Identity Center. If this parameter is
|
5565
|
+
# empty it will be updated automatically when the user logs in for the
|
5566
|
+
# first time to the mailbox associated with WorkMail.
|
5567
|
+
# @return [String]
|
5568
|
+
#
|
5160
5569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/User AWS API Documentation
|
5161
5570
|
#
|
5162
5571
|
class User < Struct.new(
|
@@ -5167,7 +5576,9 @@ module Aws::WorkMail
|
|
5167
5576
|
:state,
|
5168
5577
|
:user_role,
|
5169
5578
|
:enabled_date,
|
5170
|
-
:disabled_date
|
5579
|
+
:disabled_date,
|
5580
|
+
:identity_provider_user_id,
|
5581
|
+
:identity_provider_identity_store_id)
|
5171
5582
|
SENSITIVE = []
|
5172
5583
|
include Aws::Structure
|
5173
5584
|
end
|