aws-sdk-workmail 1.29.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-workmail.rb +1 -1
- data/lib/aws-sdk-workmail/client.rb +350 -4
- data/lib/aws-sdk-workmail/client_api.rb +198 -0
- data/lib/aws-sdk-workmail/errors.rb +16 -0
- data/lib/aws-sdk-workmail/types.rb +507 -8
- metadata +4 -4
@@ -27,6 +27,7 @@ module Aws::WorkMail
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {DirectoryInUseException}
|
30
31
|
# * {DirectoryServiceAuthenticationFailedException}
|
31
32
|
# * {DirectoryUnavailableException}
|
32
33
|
# * {EmailAddressInUseException}
|
@@ -53,6 +54,21 @@ module Aws::WorkMail
|
|
53
54
|
|
54
55
|
extend Aws::Errors::DynamicErrors
|
55
56
|
|
57
|
+
class DirectoryInUseException < ServiceError
|
58
|
+
|
59
|
+
# @param [Seahorse::Client::RequestContext] context
|
60
|
+
# @param [String] message
|
61
|
+
# @param [Aws::WorkMail::Types::DirectoryInUseException] data
|
62
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
63
|
+
super(context, message, data)
|
64
|
+
end
|
65
|
+
|
66
|
+
# @return [String]
|
67
|
+
def message
|
68
|
+
@message || @data[:message]
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
56
72
|
class DirectoryServiceAuthenticationFailedException < ServiceError
|
57
73
|
|
58
74
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -185,6 +185,44 @@ module Aws::WorkMail
|
|
185
185
|
include Aws::Structure
|
186
186
|
end
|
187
187
|
|
188
|
+
# @note When making an API call, you may pass CancelMailboxExportJobRequest
|
189
|
+
# data as a hash:
|
190
|
+
#
|
191
|
+
# {
|
192
|
+
# client_token: "IdempotencyClientToken", # required
|
193
|
+
# job_id: "MailboxExportJobId", # required
|
194
|
+
# organization_id: "OrganizationId", # required
|
195
|
+
# }
|
196
|
+
#
|
197
|
+
# @!attribute [rw] client_token
|
198
|
+
# The idempotency token for the client request.
|
199
|
+
#
|
200
|
+
# **A suitable default value is auto-generated.** You should normally
|
201
|
+
# not need to pass this option.
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] job_id
|
205
|
+
# The job ID.
|
206
|
+
# @return [String]
|
207
|
+
#
|
208
|
+
# @!attribute [rw] organization_id
|
209
|
+
# The organization ID.
|
210
|
+
# @return [String]
|
211
|
+
#
|
212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CancelMailboxExportJobRequest AWS API Documentation
|
213
|
+
#
|
214
|
+
class CancelMailboxExportJobRequest < Struct.new(
|
215
|
+
:client_token,
|
216
|
+
:job_id,
|
217
|
+
:organization_id)
|
218
|
+
SENSITIVE = []
|
219
|
+
include Aws::Structure
|
220
|
+
end
|
221
|
+
|
222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CancelMailboxExportJobResponse AWS API Documentation
|
223
|
+
#
|
224
|
+
class CancelMailboxExportJobResponse < Aws::EmptyStructure; end
|
225
|
+
|
188
226
|
# @note When making an API call, you may pass CreateAliasRequest
|
189
227
|
# data as a hash:
|
190
228
|
#
|
@@ -257,6 +295,78 @@ module Aws::WorkMail
|
|
257
295
|
include Aws::Structure
|
258
296
|
end
|
259
297
|
|
298
|
+
# @note When making an API call, you may pass CreateOrganizationRequest
|
299
|
+
# data as a hash:
|
300
|
+
#
|
301
|
+
# {
|
302
|
+
# directory_id: "DirectoryId",
|
303
|
+
# alias: "OrganizationName", # required
|
304
|
+
# client_token: "IdempotencyClientToken",
|
305
|
+
# domains: [
|
306
|
+
# {
|
307
|
+
# domain_name: "DomainName",
|
308
|
+
# hosted_zone_id: "HostedZoneId",
|
309
|
+
# },
|
310
|
+
# ],
|
311
|
+
# kms_key_arn: "KmsKeyArn",
|
312
|
+
# enable_interoperability: false,
|
313
|
+
# }
|
314
|
+
#
|
315
|
+
# @!attribute [rw] directory_id
|
316
|
+
# The AWS Directory Service directory ID.
|
317
|
+
# @return [String]
|
318
|
+
#
|
319
|
+
# @!attribute [rw] alias
|
320
|
+
# The organization alias.
|
321
|
+
# @return [String]
|
322
|
+
#
|
323
|
+
# @!attribute [rw] client_token
|
324
|
+
# The idempotency token associated with the request.
|
325
|
+
#
|
326
|
+
# **A suitable default value is auto-generated.** You should normally
|
327
|
+
# not need to pass this option.
|
328
|
+
# @return [String]
|
329
|
+
#
|
330
|
+
# @!attribute [rw] domains
|
331
|
+
# The email domains to associate with the organization.
|
332
|
+
# @return [Array<Types::Domain>]
|
333
|
+
#
|
334
|
+
# @!attribute [rw] kms_key_arn
|
335
|
+
# The Amazon Resource Name (ARN) of a customer managed master key from
|
336
|
+
# AWS KMS.
|
337
|
+
# @return [String]
|
338
|
+
#
|
339
|
+
# @!attribute [rw] enable_interoperability
|
340
|
+
# When `true`, allows organization interoperability between Amazon
|
341
|
+
# WorkMail and Microsoft Exchange. Can only be set to `true` if an AD
|
342
|
+
# Connector directory ID is included in the request.
|
343
|
+
# @return [Boolean]
|
344
|
+
#
|
345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganizationRequest AWS API Documentation
|
346
|
+
#
|
347
|
+
class CreateOrganizationRequest < Struct.new(
|
348
|
+
:directory_id,
|
349
|
+
:alias,
|
350
|
+
:client_token,
|
351
|
+
:domains,
|
352
|
+
:kms_key_arn,
|
353
|
+
:enable_interoperability)
|
354
|
+
SENSITIVE = []
|
355
|
+
include Aws::Structure
|
356
|
+
end
|
357
|
+
|
358
|
+
# @!attribute [rw] organization_id
|
359
|
+
# The organization ID.
|
360
|
+
# @return [String]
|
361
|
+
#
|
362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganizationResponse AWS API Documentation
|
363
|
+
#
|
364
|
+
class CreateOrganizationResponse < Struct.new(
|
365
|
+
:organization_id)
|
366
|
+
SENSITIVE = []
|
367
|
+
include Aws::Structure
|
368
|
+
end
|
369
|
+
|
260
370
|
# @note When making an API call, you may pass CreateResourceRequest
|
261
371
|
# data as a hash:
|
262
372
|
#
|
@@ -317,8 +427,8 @@ module Aws::WorkMail
|
|
317
427
|
# @return [String]
|
318
428
|
#
|
319
429
|
# @!attribute [rw] name
|
320
|
-
# The name for the new user.
|
321
|
-
#
|
430
|
+
# The name for the new user. WorkMail directory user names have a
|
431
|
+
# maximum length of 64. All others have a maximum length of 20.
|
322
432
|
# @return [String]
|
323
433
|
#
|
324
434
|
# @!attribute [rw] display_name
|
@@ -484,7 +594,7 @@ module Aws::WorkMail
|
|
484
594
|
# @return [String]
|
485
595
|
#
|
486
596
|
# @!attribute [rw] entity_id
|
487
|
-
# The identifier of the member (user or group)that owns the mailbox.
|
597
|
+
# The identifier of the member (user or group) that owns the mailbox.
|
488
598
|
# @return [String]
|
489
599
|
#
|
490
600
|
# @!attribute [rw] grantee_id
|
@@ -506,6 +616,58 @@ module Aws::WorkMail
|
|
506
616
|
#
|
507
617
|
class DeleteMailboxPermissionsResponse < Aws::EmptyStructure; end
|
508
618
|
|
619
|
+
# @note When making an API call, you may pass DeleteOrganizationRequest
|
620
|
+
# data as a hash:
|
621
|
+
#
|
622
|
+
# {
|
623
|
+
# client_token: "IdempotencyClientToken",
|
624
|
+
# organization_id: "OrganizationId", # required
|
625
|
+
# delete_directory: false, # required
|
626
|
+
# }
|
627
|
+
#
|
628
|
+
# @!attribute [rw] client_token
|
629
|
+
# The idempotency token associated with the request.
|
630
|
+
#
|
631
|
+
# **A suitable default value is auto-generated.** You should normally
|
632
|
+
# not need to pass this option.
|
633
|
+
# @return [String]
|
634
|
+
#
|
635
|
+
# @!attribute [rw] organization_id
|
636
|
+
# The organization ID.
|
637
|
+
# @return [String]
|
638
|
+
#
|
639
|
+
# @!attribute [rw] delete_directory
|
640
|
+
# If true, deletes the AWS Directory Service directory associated with
|
641
|
+
# the organization.
|
642
|
+
# @return [Boolean]
|
643
|
+
#
|
644
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganizationRequest AWS API Documentation
|
645
|
+
#
|
646
|
+
class DeleteOrganizationRequest < Struct.new(
|
647
|
+
:client_token,
|
648
|
+
:organization_id,
|
649
|
+
:delete_directory)
|
650
|
+
SENSITIVE = []
|
651
|
+
include Aws::Structure
|
652
|
+
end
|
653
|
+
|
654
|
+
# @!attribute [rw] organization_id
|
655
|
+
# The organization ID.
|
656
|
+
# @return [String]
|
657
|
+
#
|
658
|
+
# @!attribute [rw] state
|
659
|
+
# The state of the organization.
|
660
|
+
# @return [String]
|
661
|
+
#
|
662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganizationResponse AWS API Documentation
|
663
|
+
#
|
664
|
+
class DeleteOrganizationResponse < Struct.new(
|
665
|
+
:organization_id,
|
666
|
+
:state)
|
667
|
+
SENSITIVE = []
|
668
|
+
include Aws::Structure
|
669
|
+
end
|
670
|
+
|
509
671
|
# @note When making an API call, you may pass DeleteResourceRequest
|
510
672
|
# data as a hash:
|
511
673
|
#
|
@@ -689,6 +851,103 @@ module Aws::WorkMail
|
|
689
851
|
include Aws::Structure
|
690
852
|
end
|
691
853
|
|
854
|
+
# @note When making an API call, you may pass DescribeMailboxExportJobRequest
|
855
|
+
# data as a hash:
|
856
|
+
#
|
857
|
+
# {
|
858
|
+
# job_id: "MailboxExportJobId", # required
|
859
|
+
# organization_id: "OrganizationId", # required
|
860
|
+
# }
|
861
|
+
#
|
862
|
+
# @!attribute [rw] job_id
|
863
|
+
# The mailbox export job ID.
|
864
|
+
# @return [String]
|
865
|
+
#
|
866
|
+
# @!attribute [rw] organization_id
|
867
|
+
# The organization ID.
|
868
|
+
# @return [String]
|
869
|
+
#
|
870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJobRequest AWS API Documentation
|
871
|
+
#
|
872
|
+
class DescribeMailboxExportJobRequest < Struct.new(
|
873
|
+
:job_id,
|
874
|
+
:organization_id)
|
875
|
+
SENSITIVE = []
|
876
|
+
include Aws::Structure
|
877
|
+
end
|
878
|
+
|
879
|
+
# @!attribute [rw] entity_id
|
880
|
+
# The identifier of the user or resource associated with the mailbox.
|
881
|
+
# @return [String]
|
882
|
+
#
|
883
|
+
# @!attribute [rw] description
|
884
|
+
# The mailbox export job description.
|
885
|
+
# @return [String]
|
886
|
+
#
|
887
|
+
# @!attribute [rw] role_arn
|
888
|
+
# The ARN of the AWS Identity and Access Management (IAM) role that
|
889
|
+
# grants write permission to the Amazon Simple Storage Service (Amazon
|
890
|
+
# S3) bucket.
|
891
|
+
# @return [String]
|
892
|
+
#
|
893
|
+
# @!attribute [rw] kms_key_arn
|
894
|
+
# The Amazon Resource Name (ARN) of the symmetric AWS Key Management
|
895
|
+
# Service (AWS KMS) key that encrypts the exported mailbox content.
|
896
|
+
# @return [String]
|
897
|
+
#
|
898
|
+
# @!attribute [rw] s3_bucket_name
|
899
|
+
# The name of the S3 bucket.
|
900
|
+
# @return [String]
|
901
|
+
#
|
902
|
+
# @!attribute [rw] s3_prefix
|
903
|
+
# The S3 bucket prefix.
|
904
|
+
# @return [String]
|
905
|
+
#
|
906
|
+
# @!attribute [rw] s3_path
|
907
|
+
# The path to the S3 bucket and file that the mailbox export job is
|
908
|
+
# exporting to.
|
909
|
+
# @return [String]
|
910
|
+
#
|
911
|
+
# @!attribute [rw] estimated_progress
|
912
|
+
# The estimated progress of the mailbox export job, in percentage
|
913
|
+
# points.
|
914
|
+
# @return [Integer]
|
915
|
+
#
|
916
|
+
# @!attribute [rw] state
|
917
|
+
# The state of the mailbox export job.
|
918
|
+
# @return [String]
|
919
|
+
#
|
920
|
+
# @!attribute [rw] error_info
|
921
|
+
# Error information for failed mailbox export jobs.
|
922
|
+
# @return [String]
|
923
|
+
#
|
924
|
+
# @!attribute [rw] start_time
|
925
|
+
# The mailbox export job start timestamp.
|
926
|
+
# @return [Time]
|
927
|
+
#
|
928
|
+
# @!attribute [rw] end_time
|
929
|
+
# The mailbox export job end timestamp.
|
930
|
+
# @return [Time]
|
931
|
+
#
|
932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJobResponse AWS API Documentation
|
933
|
+
#
|
934
|
+
class DescribeMailboxExportJobResponse < Struct.new(
|
935
|
+
:entity_id,
|
936
|
+
:description,
|
937
|
+
:role_arn,
|
938
|
+
:kms_key_arn,
|
939
|
+
:s3_bucket_name,
|
940
|
+
:s3_prefix,
|
941
|
+
:s3_path,
|
942
|
+
:estimated_progress,
|
943
|
+
:state,
|
944
|
+
:error_info,
|
945
|
+
:start_time,
|
946
|
+
:end_time)
|
947
|
+
SENSITIVE = []
|
948
|
+
include Aws::Structure
|
949
|
+
end
|
950
|
+
|
692
951
|
# @note When making an API call, you may pass DescribeOrganizationRequest
|
693
952
|
# data as a hash:
|
694
953
|
#
|
@@ -920,6 +1179,20 @@ module Aws::WorkMail
|
|
920
1179
|
include Aws::Structure
|
921
1180
|
end
|
922
1181
|
|
1182
|
+
# The directory is already in use by another WorkMail organization in
|
1183
|
+
# the same account and Region.
|
1184
|
+
#
|
1185
|
+
# @!attribute [rw] message
|
1186
|
+
# @return [String]
|
1187
|
+
#
|
1188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DirectoryInUseException AWS API Documentation
|
1189
|
+
#
|
1190
|
+
class DirectoryInUseException < Struct.new(
|
1191
|
+
:message)
|
1192
|
+
SENSITIVE = []
|
1193
|
+
include Aws::Structure
|
1194
|
+
end
|
1195
|
+
|
923
1196
|
# The directory service doesn't recognize the credentials supplied by
|
924
1197
|
# WorkMail.
|
925
1198
|
#
|
@@ -934,8 +1207,8 @@ module Aws::WorkMail
|
|
934
1207
|
include Aws::Structure
|
935
1208
|
end
|
936
1209
|
|
937
|
-
# The directory
|
938
|
-
#
|
1210
|
+
# The directory is unavailable. It might be located in another Region or
|
1211
|
+
# deleted.
|
939
1212
|
#
|
940
1213
|
# @!attribute [rw] message
|
941
1214
|
# @return [String]
|
@@ -1020,6 +1293,43 @@ module Aws::WorkMail
|
|
1020
1293
|
#
|
1021
1294
|
class DisassociateMemberFromGroupResponse < Aws::EmptyStructure; end
|
1022
1295
|
|
1296
|
+
# The domain to associate with an Amazon WorkMail organization.
|
1297
|
+
#
|
1298
|
+
# When you configure a domain hosted in Amazon Route 53 (Route 53), all
|
1299
|
+
# recommended DNS records are added to the organization when you create
|
1300
|
+
# it. For more information, see [Adding a domain][1] in the *Amazon
|
1301
|
+
# WorkMail Administrator Guide*.
|
1302
|
+
#
|
1303
|
+
#
|
1304
|
+
#
|
1305
|
+
# [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html
|
1306
|
+
#
|
1307
|
+
# @note When making an API call, you may pass Domain
|
1308
|
+
# data as a hash:
|
1309
|
+
#
|
1310
|
+
# {
|
1311
|
+
# domain_name: "DomainName",
|
1312
|
+
# hosted_zone_id: "HostedZoneId",
|
1313
|
+
# }
|
1314
|
+
#
|
1315
|
+
# @!attribute [rw] domain_name
|
1316
|
+
# The fully qualified domain name.
|
1317
|
+
# @return [String]
|
1318
|
+
#
|
1319
|
+
# @!attribute [rw] hosted_zone_id
|
1320
|
+
# The hosted zone ID for a domain hosted in Route 53. Required when
|
1321
|
+
# configuring a domain hosted in Route 53.
|
1322
|
+
# @return [String]
|
1323
|
+
#
|
1324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/Domain AWS API Documentation
|
1325
|
+
#
|
1326
|
+
class Domain < Struct.new(
|
1327
|
+
:domain_name,
|
1328
|
+
:hosted_zone_id)
|
1329
|
+
SENSITIVE = []
|
1330
|
+
include Aws::Structure
|
1331
|
+
end
|
1332
|
+
|
1023
1333
|
# The email address that you're trying to assign is already created for
|
1024
1334
|
# a different user, group, or resource.
|
1025
1335
|
#
|
@@ -1549,6 +1859,54 @@ module Aws::WorkMail
|
|
1549
1859
|
include Aws::Structure
|
1550
1860
|
end
|
1551
1861
|
|
1862
|
+
# @note When making an API call, you may pass ListMailboxExportJobsRequest
|
1863
|
+
# data as a hash:
|
1864
|
+
#
|
1865
|
+
# {
|
1866
|
+
# organization_id: "OrganizationId", # required
|
1867
|
+
# next_token: "NextToken",
|
1868
|
+
# max_results: 1,
|
1869
|
+
# }
|
1870
|
+
#
|
1871
|
+
# @!attribute [rw] organization_id
|
1872
|
+
# The organization ID.
|
1873
|
+
# @return [String]
|
1874
|
+
#
|
1875
|
+
# @!attribute [rw] next_token
|
1876
|
+
# The token to use to retrieve the next page of results.
|
1877
|
+
# @return [String]
|
1878
|
+
#
|
1879
|
+
# @!attribute [rw] max_results
|
1880
|
+
# The maximum number of results to return in a single call.
|
1881
|
+
# @return [Integer]
|
1882
|
+
#
|
1883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobsRequest AWS API Documentation
|
1884
|
+
#
|
1885
|
+
class ListMailboxExportJobsRequest < Struct.new(
|
1886
|
+
:organization_id,
|
1887
|
+
:next_token,
|
1888
|
+
:max_results)
|
1889
|
+
SENSITIVE = []
|
1890
|
+
include Aws::Structure
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# @!attribute [rw] jobs
|
1894
|
+
# The mailbox export job details.
|
1895
|
+
# @return [Array<Types::MailboxExportJob>]
|
1896
|
+
#
|
1897
|
+
# @!attribute [rw] next_token
|
1898
|
+
# The token to use to retrieve the next page of results.
|
1899
|
+
# @return [String]
|
1900
|
+
#
|
1901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobsResponse AWS API Documentation
|
1902
|
+
#
|
1903
|
+
class ListMailboxExportJobsResponse < Struct.new(
|
1904
|
+
:jobs,
|
1905
|
+
:next_token)
|
1906
|
+
SENSITIVE = []
|
1907
|
+
include Aws::Structure
|
1908
|
+
end
|
1909
|
+
|
1552
1910
|
# @note When making an API call, you may pass ListMailboxPermissionsRequest
|
1553
1911
|
# data as a hash:
|
1554
1912
|
#
|
@@ -1870,6 +2228,64 @@ module Aws::WorkMail
|
|
1870
2228
|
include Aws::Structure
|
1871
2229
|
end
|
1872
2230
|
|
2231
|
+
# The details of a mailbox export job, including the user or resource ID
|
2232
|
+
# associated with the mailbox and the S3 bucket that the mailbox
|
2233
|
+
# contents are exported to.
|
2234
|
+
#
|
2235
|
+
# @!attribute [rw] job_id
|
2236
|
+
# The identifier of the mailbox export job.
|
2237
|
+
# @return [String]
|
2238
|
+
#
|
2239
|
+
# @!attribute [rw] entity_id
|
2240
|
+
# The identifier of the user or resource associated with the mailbox.
|
2241
|
+
# @return [String]
|
2242
|
+
#
|
2243
|
+
# @!attribute [rw] description
|
2244
|
+
# The mailbox export job description.
|
2245
|
+
# @return [String]
|
2246
|
+
#
|
2247
|
+
# @!attribute [rw] s3_bucket_name
|
2248
|
+
# The name of the S3 bucket.
|
2249
|
+
# @return [String]
|
2250
|
+
#
|
2251
|
+
# @!attribute [rw] s3_path
|
2252
|
+
# The path to the S3 bucket and file that the mailbox export job
|
2253
|
+
# exports to.
|
2254
|
+
# @return [String]
|
2255
|
+
#
|
2256
|
+
# @!attribute [rw] estimated_progress
|
2257
|
+
# The estimated progress of the mailbox export job, in percentage
|
2258
|
+
# points.
|
2259
|
+
# @return [Integer]
|
2260
|
+
#
|
2261
|
+
# @!attribute [rw] state
|
2262
|
+
# The state of the mailbox export job.
|
2263
|
+
# @return [String]
|
2264
|
+
#
|
2265
|
+
# @!attribute [rw] start_time
|
2266
|
+
# The mailbox export job start timestamp.
|
2267
|
+
# @return [Time]
|
2268
|
+
#
|
2269
|
+
# @!attribute [rw] end_time
|
2270
|
+
# The mailbox export job end timestamp.
|
2271
|
+
# @return [Time]
|
2272
|
+
#
|
2273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MailboxExportJob AWS API Documentation
|
2274
|
+
#
|
2275
|
+
class MailboxExportJob < Struct.new(
|
2276
|
+
:job_id,
|
2277
|
+
:entity_id,
|
2278
|
+
:description,
|
2279
|
+
:s3_bucket_name,
|
2280
|
+
:s3_path,
|
2281
|
+
:estimated_progress,
|
2282
|
+
:state,
|
2283
|
+
:start_time,
|
2284
|
+
:end_time)
|
2285
|
+
SENSITIVE = []
|
2286
|
+
include Aws::Structure
|
2287
|
+
end
|
2288
|
+
|
1873
2289
|
# The representation of a user or group.
|
1874
2290
|
#
|
1875
2291
|
# @!attribute [rw] id
|
@@ -1938,8 +2354,8 @@ module Aws::WorkMail
|
|
1938
2354
|
include Aws::Structure
|
1939
2355
|
end
|
1940
2356
|
|
1941
|
-
# The organization must have a valid state
|
1942
|
-
#
|
2357
|
+
# The organization must have a valid state to perform certain operations
|
2358
|
+
# on the organization or its members.
|
1943
2359
|
#
|
1944
2360
|
# @!attribute [rw] message
|
1945
2361
|
# @return [String]
|
@@ -1962,6 +2378,10 @@ module Aws::WorkMail
|
|
1962
2378
|
# The alias associated with the organization.
|
1963
2379
|
# @return [String]
|
1964
2380
|
#
|
2381
|
+
# @!attribute [rw] default_mail_domain
|
2382
|
+
# The default email domain associated with the organization.
|
2383
|
+
# @return [String]
|
2384
|
+
#
|
1965
2385
|
# @!attribute [rw] error_message
|
1966
2386
|
# The error message associated with the organization. It is only
|
1967
2387
|
# present if unexpected behavior has occurred with regards to the
|
@@ -1978,6 +2398,7 @@ module Aws::WorkMail
|
|
1978
2398
|
class OrganizationSummary < Struct.new(
|
1979
2399
|
:organization_id,
|
1980
2400
|
:alias,
|
2401
|
+
:default_mail_domain,
|
1981
2402
|
:error_message,
|
1982
2403
|
:state)
|
1983
2404
|
SENSITIVE = []
|
@@ -2192,7 +2613,7 @@ module Aws::WorkMail
|
|
2192
2613
|
:name,
|
2193
2614
|
:description,
|
2194
2615
|
:folder_configurations)
|
2195
|
-
SENSITIVE = []
|
2616
|
+
SENSITIVE = [:description]
|
2196
2617
|
include Aws::Structure
|
2197
2618
|
end
|
2198
2619
|
|
@@ -2345,6 +2766,84 @@ module Aws::WorkMail
|
|
2345
2766
|
include Aws::Structure
|
2346
2767
|
end
|
2347
2768
|
|
2769
|
+
# @note When making an API call, you may pass StartMailboxExportJobRequest
|
2770
|
+
# data as a hash:
|
2771
|
+
#
|
2772
|
+
# {
|
2773
|
+
# client_token: "IdempotencyClientToken", # required
|
2774
|
+
# organization_id: "OrganizationId", # required
|
2775
|
+
# entity_id: "WorkMailIdentifier", # required
|
2776
|
+
# description: "Description",
|
2777
|
+
# role_arn: "RoleArn", # required
|
2778
|
+
# kms_key_arn: "KmsKeyArn", # required
|
2779
|
+
# s3_bucket_name: "S3BucketName", # required
|
2780
|
+
# s3_prefix: "S3ObjectKey", # required
|
2781
|
+
# }
|
2782
|
+
#
|
2783
|
+
# @!attribute [rw] client_token
|
2784
|
+
# The idempotency token for the client request.
|
2785
|
+
#
|
2786
|
+
# **A suitable default value is auto-generated.** You should normally
|
2787
|
+
# not need to pass this option.
|
2788
|
+
# @return [String]
|
2789
|
+
#
|
2790
|
+
# @!attribute [rw] organization_id
|
2791
|
+
# The identifier associated with the organization.
|
2792
|
+
# @return [String]
|
2793
|
+
#
|
2794
|
+
# @!attribute [rw] entity_id
|
2795
|
+
# The identifier of the user or resource associated with the mailbox.
|
2796
|
+
# @return [String]
|
2797
|
+
#
|
2798
|
+
# @!attribute [rw] description
|
2799
|
+
# The mailbox export job description.
|
2800
|
+
# @return [String]
|
2801
|
+
#
|
2802
|
+
# @!attribute [rw] role_arn
|
2803
|
+
# The ARN of the AWS Identity and Access Management (IAM) role that
|
2804
|
+
# grants write permission to the S3 bucket.
|
2805
|
+
# @return [String]
|
2806
|
+
#
|
2807
|
+
# @!attribute [rw] kms_key_arn
|
2808
|
+
# The Amazon Resource Name (ARN) of the symmetric AWS Key Management
|
2809
|
+
# Service (AWS KMS) key that encrypts the exported mailbox content.
|
2810
|
+
# @return [String]
|
2811
|
+
#
|
2812
|
+
# @!attribute [rw] s3_bucket_name
|
2813
|
+
# The name of the S3 bucket.
|
2814
|
+
# @return [String]
|
2815
|
+
#
|
2816
|
+
# @!attribute [rw] s3_prefix
|
2817
|
+
# The S3 bucket prefix.
|
2818
|
+
# @return [String]
|
2819
|
+
#
|
2820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJobRequest AWS API Documentation
|
2821
|
+
#
|
2822
|
+
class StartMailboxExportJobRequest < Struct.new(
|
2823
|
+
:client_token,
|
2824
|
+
:organization_id,
|
2825
|
+
:entity_id,
|
2826
|
+
:description,
|
2827
|
+
:role_arn,
|
2828
|
+
:kms_key_arn,
|
2829
|
+
:s3_bucket_name,
|
2830
|
+
:s3_prefix)
|
2831
|
+
SENSITIVE = []
|
2832
|
+
include Aws::Structure
|
2833
|
+
end
|
2834
|
+
|
2835
|
+
# @!attribute [rw] job_id
|
2836
|
+
# The job ID.
|
2837
|
+
# @return [String]
|
2838
|
+
#
|
2839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJobResponse AWS API Documentation
|
2840
|
+
#
|
2841
|
+
class StartMailboxExportJobResponse < Struct.new(
|
2842
|
+
:job_id)
|
2843
|
+
SENSITIVE = []
|
2844
|
+
include Aws::Structure
|
2845
|
+
end
|
2846
|
+
|
2348
2847
|
# Describes a tag applied to a resource.
|
2349
2848
|
#
|
2350
2849
|
# @note When making an API call, you may pass Tag
|