aws-sdk-workmail 1.29.0 → 1.30.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 391228581119410053bad6da98cf9f97a8c31944cc49a6e65090ed56cefebaf6
4
- data.tar.gz: 7e1cb7daab540811066cc690804cd4a52d986fcf1f013b2d87d433c9fd6cf2c0
3
+ metadata.gz: 0af323e7e0592cbb792c427af3d70098c9fb1a2c6a4e909bdbbc020091c02728
4
+ data.tar.gz: 31516e5354c404443453a1ab6f46da61a0f14aa770eb763dc999b545dd26d9be
5
5
  SHA512:
6
- metadata.gz: 9943113fe7b5473117123c5d044945f5182d56ef5b891460b198f234518539eaa121111b263ad99ff0d64ab87cf7a43a0a888c37406ca80b0ebeec9bb7efaa4a
7
- data.tar.gz: b2f00a115e9c4898303d53665cfc4daff1b89069c6036b7b2e2a92470fce77cabbfcd401349491bcbbfbdc20eab93e0c6de7982f0cf28627a8951bb8f41a4ca5
6
+ metadata.gz: 60b7863f8dd66cd0b8f1769cdd5b3e73a0e181dca11d383e7cfa510b9c83b5a73af8945eadc03015634bb8d7c94d88d8a1293bb6549f79600eac89045ea9660c
7
+ data.tar.gz: '01359db269a1e0e809c9995ed52cb3e8dc05777c349e4104a24caa0a217e15503bae9bff7490a32b9e311051047c8d7cd2335644163049b20f1b34c1cd6fb000'
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-workmail/customizations'
48
48
  # @!group service
49
49
  module Aws::WorkMail
50
50
 
51
- GEM_VERSION = '1.29.0'
51
+ GEM_VERSION = '1.30.0'
52
52
 
53
53
  end
@@ -397,6 +397,44 @@ module Aws::WorkMail
397
397
  req.send_request(options)
398
398
  end
399
399
 
400
+ # Cancels a mailbox export job.
401
+ #
402
+ # <note markdown="1"> If the mailbox export job is near completion, it might not be possible
403
+ # to cancel it.
404
+ #
405
+ # </note>
406
+ #
407
+ # @option params [required, String] :client_token
408
+ # The idempotency token for the client request.
409
+ #
410
+ # **A suitable default value is auto-generated.** You should normally
411
+ # not need to pass this option.**
412
+ #
413
+ # @option params [required, String] :job_id
414
+ # The job ID.
415
+ #
416
+ # @option params [required, String] :organization_id
417
+ # The organization ID.
418
+ #
419
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
420
+ #
421
+ # @example Request syntax with placeholder values
422
+ #
423
+ # resp = client.cancel_mailbox_export_job({
424
+ # client_token: "IdempotencyClientToken", # required
425
+ # job_id: "MailboxExportJobId", # required
426
+ # organization_id: "OrganizationId", # required
427
+ # })
428
+ #
429
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CancelMailboxExportJob AWS API Documentation
430
+ #
431
+ # @overload cancel_mailbox_export_job(params = {})
432
+ # @param [Hash] params ({})
433
+ def cancel_mailbox_export_job(params = {}, options = {})
434
+ req = build_request(:cancel_mailbox_export_job, params)
435
+ req.send_request(options)
436
+ end
437
+
400
438
  # Adds an alias to the set of a given member (user or group) of Amazon
401
439
  # WorkMail.
402
440
  #
@@ -817,6 +855,60 @@ module Aws::WorkMail
817
855
  req.send_request(options)
818
856
  end
819
857
 
858
+ # Describes the current status of a mailbox export job.
859
+ #
860
+ # @option params [required, String] :job_id
861
+ # The mailbox export job ID.
862
+ #
863
+ # @option params [required, String] :organization_id
864
+ # The organization ID.
865
+ #
866
+ # @return [Types::DescribeMailboxExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
867
+ #
868
+ # * {Types::DescribeMailboxExportJobResponse#entity_id #entity_id} => String
869
+ # * {Types::DescribeMailboxExportJobResponse#description #description} => String
870
+ # * {Types::DescribeMailboxExportJobResponse#role_arn #role_arn} => String
871
+ # * {Types::DescribeMailboxExportJobResponse#kms_key_arn #kms_key_arn} => String
872
+ # * {Types::DescribeMailboxExportJobResponse#s3_bucket_name #s3_bucket_name} => String
873
+ # * {Types::DescribeMailboxExportJobResponse#s3_prefix #s3_prefix} => String
874
+ # * {Types::DescribeMailboxExportJobResponse#s3_path #s3_path} => String
875
+ # * {Types::DescribeMailboxExportJobResponse#estimated_progress #estimated_progress} => Integer
876
+ # * {Types::DescribeMailboxExportJobResponse#state #state} => String
877
+ # * {Types::DescribeMailboxExportJobResponse#error_info #error_info} => String
878
+ # * {Types::DescribeMailboxExportJobResponse#start_time #start_time} => Time
879
+ # * {Types::DescribeMailboxExportJobResponse#end_time #end_time} => Time
880
+ #
881
+ # @example Request syntax with placeholder values
882
+ #
883
+ # resp = client.describe_mailbox_export_job({
884
+ # job_id: "MailboxExportJobId", # required
885
+ # organization_id: "OrganizationId", # required
886
+ # })
887
+ #
888
+ # @example Response structure
889
+ #
890
+ # resp.entity_id #=> String
891
+ # resp.description #=> String
892
+ # resp.role_arn #=> String
893
+ # resp.kms_key_arn #=> String
894
+ # resp.s3_bucket_name #=> String
895
+ # resp.s3_prefix #=> String
896
+ # resp.s3_path #=> String
897
+ # resp.estimated_progress #=> Integer
898
+ # resp.state #=> String, one of "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
899
+ # resp.error_info #=> String
900
+ # resp.start_time #=> Time
901
+ # resp.end_time #=> Time
902
+ #
903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJob AWS API Documentation
904
+ #
905
+ # @overload describe_mailbox_export_job(params = {})
906
+ # @param [Hash] params ({})
907
+ def describe_mailbox_export_job(params = {}, options = {})
908
+ req = build_request(:describe_mailbox_export_job, params)
909
+ req.send_request(options)
910
+ end
911
+
820
912
  # Provides more information regarding a given organization based on its
821
913
  # identifier.
822
914
  #
@@ -1331,6 +1423,56 @@ module Aws::WorkMail
1331
1423
  req.send_request(options)
1332
1424
  end
1333
1425
 
1426
+ # Lists the mailbox export jobs started for the specified organization
1427
+ # within the last seven days.
1428
+ #
1429
+ # @option params [required, String] :organization_id
1430
+ # The organization ID.
1431
+ #
1432
+ # @option params [String] :next_token
1433
+ # The token to use to retrieve the next page of results.
1434
+ #
1435
+ # @option params [Integer] :max_results
1436
+ # The maximum number of results to return in a single call.
1437
+ #
1438
+ # @return [Types::ListMailboxExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1439
+ #
1440
+ # * {Types::ListMailboxExportJobsResponse#jobs #jobs} => Array&lt;Types::MailboxExportJob&gt;
1441
+ # * {Types::ListMailboxExportJobsResponse#next_token #next_token} => String
1442
+ #
1443
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1444
+ #
1445
+ # @example Request syntax with placeholder values
1446
+ #
1447
+ # resp = client.list_mailbox_export_jobs({
1448
+ # organization_id: "OrganizationId", # required
1449
+ # next_token: "NextToken",
1450
+ # max_results: 1,
1451
+ # })
1452
+ #
1453
+ # @example Response structure
1454
+ #
1455
+ # resp.jobs #=> Array
1456
+ # resp.jobs[0].job_id #=> String
1457
+ # resp.jobs[0].entity_id #=> String
1458
+ # resp.jobs[0].description #=> String
1459
+ # resp.jobs[0].s3_bucket_name #=> String
1460
+ # resp.jobs[0].s3_path #=> String
1461
+ # resp.jobs[0].estimated_progress #=> Integer
1462
+ # resp.jobs[0].state #=> String, one of "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
1463
+ # resp.jobs[0].start_time #=> Time
1464
+ # resp.jobs[0].end_time #=> Time
1465
+ # resp.next_token #=> String
1466
+ #
1467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobs AWS API Documentation
1468
+ #
1469
+ # @overload list_mailbox_export_jobs(params = {})
1470
+ # @param [Hash] params ({})
1471
+ def list_mailbox_export_jobs(params = {}, options = {})
1472
+ req = build_request(:list_mailbox_export_jobs, params)
1473
+ req.send_request(options)
1474
+ end
1475
+
1334
1476
  # Lists the mailbox permissions associated with a user, group, or
1335
1477
  # resource mailbox.
1336
1478
  #
@@ -1829,6 +1971,75 @@ module Aws::WorkMail
1829
1971
  req.send_request(options)
1830
1972
  end
1831
1973
 
1974
+ # Starts a mailbox export job to export MIME-format email messages and
1975
+ # calendar items from the specified mailbox to the specified Amazon
1976
+ # Simple Storage Service (Amazon S3) bucket. For more information, see
1977
+ # [Exporting mailbox content][1] in the *Amazon WorkMail Administrator
1978
+ # Guide*.
1979
+ #
1980
+ #
1981
+ #
1982
+ # [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/mail-export.html
1983
+ #
1984
+ # @option params [required, String] :client_token
1985
+ # The idempotency token for the client request.
1986
+ #
1987
+ # **A suitable default value is auto-generated.** You should normally
1988
+ # not need to pass this option.**
1989
+ #
1990
+ # @option params [required, String] :organization_id
1991
+ # The identifier associated with the organization.
1992
+ #
1993
+ # @option params [required, String] :entity_id
1994
+ # The identifier of the user or resource associated with the mailbox.
1995
+ #
1996
+ # @option params [String] :description
1997
+ # The mailbox export job description.
1998
+ #
1999
+ # @option params [required, String] :role_arn
2000
+ # The ARN of the AWS Identity and Access Management (IAM) role that
2001
+ # grants write permission to the S3 bucket.
2002
+ #
2003
+ # @option params [required, String] :kms_key_arn
2004
+ # The Amazon Resource Name (ARN) of the symmetric AWS Key Management
2005
+ # Service (AWS KMS) key that encrypts the exported mailbox content.
2006
+ #
2007
+ # @option params [required, String] :s3_bucket_name
2008
+ # The name of the S3 bucket.
2009
+ #
2010
+ # @option params [required, String] :s3_prefix
2011
+ # The S3 bucket prefix.
2012
+ #
2013
+ # @return [Types::StartMailboxExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2014
+ #
2015
+ # * {Types::StartMailboxExportJobResponse#job_id #job_id} => String
2016
+ #
2017
+ # @example Request syntax with placeholder values
2018
+ #
2019
+ # resp = client.start_mailbox_export_job({
2020
+ # client_token: "IdempotencyClientToken", # required
2021
+ # organization_id: "OrganizationId", # required
2022
+ # entity_id: "WorkMailIdentifier", # required
2023
+ # description: "Description",
2024
+ # role_arn: "RoleArn", # required
2025
+ # kms_key_arn: "KmsKeyArn", # required
2026
+ # s3_bucket_name: "S3BucketName", # required
2027
+ # s3_prefix: "S3ObjectKey", # required
2028
+ # })
2029
+ #
2030
+ # @example Response structure
2031
+ #
2032
+ # resp.job_id #=> String
2033
+ #
2034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJob AWS API Documentation
2035
+ #
2036
+ # @overload start_mailbox_export_job(params = {})
2037
+ # @param [Hash] params ({})
2038
+ def start_mailbox_export_job(params = {}, options = {})
2039
+ req = build_request(:start_mailbox_export_job, params)
2040
+ req.send_request(options)
2041
+ end
2042
+
1832
2043
  # Applies the specified tags to the specified Amazon WorkMail
1833
2044
  # organization resource.
1834
2045
  #
@@ -2008,7 +2219,7 @@ module Aws::WorkMail
2008
2219
  params: params,
2009
2220
  config: config)
2010
2221
  context[:gem_name] = 'aws-sdk-workmail'
2011
- context[:gem_version] = '1.29.0'
2222
+ context[:gem_version] = '1.30.0'
2012
2223
  Seahorse::Client::Request.new(handlers, context)
2013
2224
  end
2014
2225
 
@@ -29,6 +29,8 @@ module Aws::WorkMail
29
29
  AssociateMemberToGroupResponse = Shapes::StructureShape.new(name: 'AssociateMemberToGroupResponse')
30
30
  BookingOptions = Shapes::StructureShape.new(name: 'BookingOptions')
31
31
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
32
+ CancelMailboxExportJobRequest = Shapes::StructureShape.new(name: 'CancelMailboxExportJobRequest')
33
+ CancelMailboxExportJobResponse = Shapes::StructureShape.new(name: 'CancelMailboxExportJobResponse')
32
34
  CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
33
35
  CreateAliasResponse = Shapes::StructureShape.new(name: 'CreateAliasResponse')
34
36
  CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
@@ -56,12 +58,15 @@ module Aws::WorkMail
56
58
  DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
57
59
  DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
58
60
  DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
61
+ DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
62
+ DescribeMailboxExportJobResponse = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobResponse')
59
63
  DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
60
64
  DescribeOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationResponse')
61
65
  DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
62
66
  DescribeResourceResponse = Shapes::StructureShape.new(name: 'DescribeResourceResponse')
63
67
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
64
68
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
69
+ Description = Shapes::StringShape.new(name: 'Description')
65
70
  DirectoryServiceAuthenticationFailedException = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationFailedException')
66
71
  DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
67
72
  DisassociateDelegateFromResourceRequest = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceRequest')
@@ -86,12 +91,15 @@ module Aws::WorkMail
86
91
  Group = Shapes::StructureShape.new(name: 'Group')
87
92
  GroupName = Shapes::StringShape.new(name: 'GroupName')
88
93
  Groups = Shapes::ListShape.new(name: 'Groups')
94
+ IdempotencyClientToken = Shapes::StringShape.new(name: 'IdempotencyClientToken')
89
95
  InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
90
96
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
91
97
  InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
92
98
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
93
99
  IpRange = Shapes::StringShape.new(name: 'IpRange')
94
100
  IpRangeList = Shapes::ListShape.new(name: 'IpRangeList')
101
+ Jobs = Shapes::ListShape.new(name: 'Jobs')
102
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
95
103
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
96
104
  ListAccessControlRulesRequest = Shapes::StructureShape.new(name: 'ListAccessControlRulesRequest')
97
105
  ListAccessControlRulesResponse = Shapes::StructureShape.new(name: 'ListAccessControlRulesResponse')
@@ -101,6 +109,8 @@ module Aws::WorkMail
101
109
  ListGroupMembersResponse = Shapes::StructureShape.new(name: 'ListGroupMembersResponse')
102
110
  ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
103
111
  ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
112
+ ListMailboxExportJobsRequest = Shapes::StructureShape.new(name: 'ListMailboxExportJobsRequest')
113
+ ListMailboxExportJobsResponse = Shapes::StructureShape.new(name: 'ListMailboxExportJobsResponse')
104
114
  ListMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'ListMailboxPermissionsRequest')
105
115
  ListMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'ListMailboxPermissionsResponse')
106
116
  ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
@@ -115,6 +125,10 @@ module Aws::WorkMail
115
125
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
116
126
  MailDomainNotFoundException = Shapes::StructureShape.new(name: 'MailDomainNotFoundException')
117
127
  MailDomainStateException = Shapes::StructureShape.new(name: 'MailDomainStateException')
128
+ MailboxExportErrorInfo = Shapes::StringShape.new(name: 'MailboxExportErrorInfo')
129
+ MailboxExportJob = Shapes::StructureShape.new(name: 'MailboxExportJob')
130
+ MailboxExportJobId = Shapes::StringShape.new(name: 'MailboxExportJobId')
131
+ MailboxExportJobState = Shapes::StringShape.new(name: 'MailboxExportJobState')
118
132
  MailboxQuota = Shapes::IntegerShape.new(name: 'MailboxQuota')
119
133
  MailboxSize = Shapes::FloatShape.new(name: 'MailboxSize')
120
134
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -130,6 +144,7 @@ module Aws::WorkMail
130
144
  OrganizationSummaries = Shapes::ListShape.new(name: 'OrganizationSummaries')
131
145
  OrganizationSummary = Shapes::StructureShape.new(name: 'OrganizationSummary')
132
146
  Password = Shapes::StringShape.new(name: 'Password')
147
+ Percentage = Shapes::IntegerShape.new(name: 'Percentage')
133
148
  Permission = Shapes::StructureShape.new(name: 'Permission')
134
149
  PermissionType = Shapes::StringShape.new(name: 'PermissionType')
135
150
  PermissionValues = Shapes::ListShape.new(name: 'PermissionValues')
@@ -155,7 +170,12 @@ module Aws::WorkMail
155
170
  Resources = Shapes::ListShape.new(name: 'Resources')
156
171
  RetentionAction = Shapes::StringShape.new(name: 'RetentionAction')
157
172
  RetentionPeriod = Shapes::IntegerShape.new(name: 'RetentionPeriod')
173
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
174
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
175
+ S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
158
176
  ShortString = Shapes::StringShape.new(name: 'ShortString')
177
+ StartMailboxExportJobRequest = Shapes::StructureShape.new(name: 'StartMailboxExportJobRequest')
178
+ StartMailboxExportJobResponse = Shapes::StructureShape.new(name: 'StartMailboxExportJobResponse')
159
179
  String = Shapes::StringShape.new(name: 'String')
160
180
  Tag = Shapes::StructureShape.new(name: 'Tag')
161
181
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -222,6 +242,13 @@ module Aws::WorkMail
222
242
  BookingOptions.add_member(:auto_decline_conflicting_requests, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoDeclineConflictingRequests"))
223
243
  BookingOptions.struct_class = Types::BookingOptions
224
244
 
245
+ CancelMailboxExportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
246
+ CancelMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
247
+ CancelMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
248
+ CancelMailboxExportJobRequest.struct_class = Types::CancelMailboxExportJobRequest
249
+
250
+ CancelMailboxExportJobResponse.struct_class = Types::CancelMailboxExportJobResponse
251
+
225
252
  CreateAliasRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
226
253
  CreateAliasRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
227
254
  CreateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Alias"))
@@ -319,6 +346,24 @@ module Aws::WorkMail
319
346
  DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
320
347
  DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
321
348
 
349
+ DescribeMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
350
+ DescribeMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
351
+ DescribeMailboxExportJobRequest.struct_class = Types::DescribeMailboxExportJobRequest
352
+
353
+ DescribeMailboxExportJobResponse.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "EntityId"))
354
+ DescribeMailboxExportJobResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
355
+ DescribeMailboxExportJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
356
+ DescribeMailboxExportJobResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
357
+ DescribeMailboxExportJobResponse.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "S3BucketName"))
358
+ DescribeMailboxExportJobResponse.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Prefix"))
359
+ DescribeMailboxExportJobResponse.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Path"))
360
+ DescribeMailboxExportJobResponse.add_member(:estimated_progress, Shapes::ShapeRef.new(shape: Percentage, location_name: "EstimatedProgress"))
361
+ DescribeMailboxExportJobResponse.add_member(:state, Shapes::ShapeRef.new(shape: MailboxExportJobState, location_name: "State"))
362
+ DescribeMailboxExportJobResponse.add_member(:error_info, Shapes::ShapeRef.new(shape: MailboxExportErrorInfo, location_name: "ErrorInfo"))
363
+ DescribeMailboxExportJobResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
364
+ DescribeMailboxExportJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
365
+ DescribeMailboxExportJobResponse.struct_class = Types::DescribeMailboxExportJobResponse
366
+
322
367
  DescribeOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
323
368
  DescribeOrganizationRequest.struct_class = Types::DescribeOrganizationRequest
324
369
 
@@ -448,6 +493,8 @@ module Aws::WorkMail
448
493
 
449
494
  IpRangeList.member = Shapes::ShapeRef.new(shape: IpRange)
450
495
 
496
+ Jobs.member = Shapes::ShapeRef.new(shape: MailboxExportJob)
497
+
451
498
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
452
499
  LimitExceededException.struct_class = Types::LimitExceededException
453
500
 
@@ -486,6 +533,15 @@ module Aws::WorkMail
486
533
  ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
487
534
  ListGroupsResponse.struct_class = Types::ListGroupsResponse
488
535
 
536
+ ListMailboxExportJobsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
537
+ ListMailboxExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
538
+ ListMailboxExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
539
+ ListMailboxExportJobsRequest.struct_class = Types::ListMailboxExportJobsRequest
540
+
541
+ ListMailboxExportJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: Jobs, location_name: "Jobs"))
542
+ ListMailboxExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
543
+ ListMailboxExportJobsResponse.struct_class = Types::ListMailboxExportJobsResponse
544
+
489
545
  ListMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
490
546
  ListMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
491
547
  ListMailboxPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -544,6 +600,17 @@ module Aws::WorkMail
544
600
  MailDomainStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
545
601
  MailDomainStateException.struct_class = Types::MailDomainStateException
546
602
 
603
+ MailboxExportJob.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, location_name: "JobId"))
604
+ MailboxExportJob.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "EntityId"))
605
+ MailboxExportJob.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
606
+ MailboxExportJob.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "S3BucketName"))
607
+ MailboxExportJob.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Path"))
608
+ MailboxExportJob.add_member(:estimated_progress, Shapes::ShapeRef.new(shape: Percentage, location_name: "EstimatedProgress"))
609
+ MailboxExportJob.add_member(:state, Shapes::ShapeRef.new(shape: MailboxExportJobState, location_name: "State"))
610
+ MailboxExportJob.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
611
+ MailboxExportJob.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
612
+ MailboxExportJob.struct_class = Types::MailboxExportJob
613
+
547
614
  Member.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
548
615
  Member.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
549
616
  Member.add_member(:type, Shapes::ShapeRef.new(shape: MemberType, location_name: "Type"))
@@ -644,6 +711,19 @@ module Aws::WorkMail
644
711
 
645
712
  Resources.member = Shapes::ShapeRef.new(shape: Resource)
646
713
 
714
+ StartMailboxExportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
715
+ StartMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
716
+ StartMailboxExportJobRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
717
+ StartMailboxExportJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
718
+ StartMailboxExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
719
+ StartMailboxExportJobRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "KmsKeyArn"))
720
+ StartMailboxExportJobRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "S3BucketName"))
721
+ StartMailboxExportJobRequest.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, required: true, location_name: "S3Prefix"))
722
+ StartMailboxExportJobRequest.struct_class = Types::StartMailboxExportJobRequest
723
+
724
+ StartMailboxExportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, location_name: "JobId"))
725
+ StartMailboxExportJobResponse.struct_class = Types::StartMailboxExportJobResponse
726
+
647
727
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
648
728
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
649
729
  Tag.struct_class = Types::Tag
@@ -753,6 +833,18 @@ module Aws::WorkMail
753
833
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
754
834
  end)
755
835
 
836
+ api.add_operation(:cancel_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
837
+ o.name = "CancelMailboxExportJob"
838
+ o.http_method = "POST"
839
+ o.http_request_uri = "/"
840
+ o.input = Shapes::ShapeRef.new(shape: CancelMailboxExportJobRequest)
841
+ o.output = Shapes::ShapeRef.new(shape: CancelMailboxExportJobResponse)
842
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
843
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
844
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
845
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
846
+ end)
847
+
756
848
  api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
757
849
  o.name = "CreateAlias"
758
850
  o.http_method = "POST"
@@ -932,6 +1024,18 @@ module Aws::WorkMail
932
1024
  o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
933
1025
  end)
934
1026
 
1027
+ api.add_operation(:describe_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
1028
+ o.name = "DescribeMailboxExportJob"
1029
+ o.http_method = "POST"
1030
+ o.http_request_uri = "/"
1031
+ o.input = Shapes::ShapeRef.new(shape: DescribeMailboxExportJobRequest)
1032
+ o.output = Shapes::ShapeRef.new(shape: DescribeMailboxExportJobResponse)
1033
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1037
+ end)
1038
+
935
1039
  api.add_operation(:describe_organization, Seahorse::Model::Operation.new.tap do |o|
936
1040
  o.name = "DescribeOrganization"
937
1041
  o.http_method = "POST"
@@ -1096,6 +1200,23 @@ module Aws::WorkMail
1096
1200
  )
1097
1201
  end)
1098
1202
 
1203
+ api.add_operation(:list_mailbox_export_jobs, Seahorse::Model::Operation.new.tap do |o|
1204
+ o.name = "ListMailboxExportJobs"
1205
+ o.http_method = "POST"
1206
+ o.http_request_uri = "/"
1207
+ o.input = Shapes::ShapeRef.new(shape: ListMailboxExportJobsRequest)
1208
+ o.output = Shapes::ShapeRef.new(shape: ListMailboxExportJobsResponse)
1209
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1210
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1211
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1212
+ o[:pager] = Aws::Pager.new(
1213
+ limit_key: "max_results",
1214
+ tokens: {
1215
+ "next_token" => "next_token"
1216
+ }
1217
+ )
1218
+ end)
1219
+
1099
1220
  api.add_operation(:list_mailbox_permissions, Seahorse::Model::Operation.new.tap do |o|
1100
1221
  o.name = "ListMailboxPermissions"
1101
1222
  o.http_method = "POST"
@@ -1265,6 +1386,19 @@ module Aws::WorkMail
1265
1386
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1266
1387
  end)
1267
1388
 
1389
+ api.add_operation(:start_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
1390
+ o.name = "StartMailboxExportJob"
1391
+ o.http_method = "POST"
1392
+ o.http_request_uri = "/"
1393
+ o.input = Shapes::ShapeRef.new(shape: StartMailboxExportJobRequest)
1394
+ o.output = Shapes::ShapeRef.new(shape: StartMailboxExportJobResponse)
1395
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1396
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
1397
+ o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
1398
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1400
+ end)
1401
+
1268
1402
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1269
1403
  o.name = "TagResource"
1270
1404
  o.http_method = "POST"
@@ -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
  #
@@ -689,6 +727,103 @@ module Aws::WorkMail
689
727
  include Aws::Structure
690
728
  end
691
729
 
730
+ # @note When making an API call, you may pass DescribeMailboxExportJobRequest
731
+ # data as a hash:
732
+ #
733
+ # {
734
+ # job_id: "MailboxExportJobId", # required
735
+ # organization_id: "OrganizationId", # required
736
+ # }
737
+ #
738
+ # @!attribute [rw] job_id
739
+ # The mailbox export job ID.
740
+ # @return [String]
741
+ #
742
+ # @!attribute [rw] organization_id
743
+ # The organization ID.
744
+ # @return [String]
745
+ #
746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJobRequest AWS API Documentation
747
+ #
748
+ class DescribeMailboxExportJobRequest < Struct.new(
749
+ :job_id,
750
+ :organization_id)
751
+ SENSITIVE = []
752
+ include Aws::Structure
753
+ end
754
+
755
+ # @!attribute [rw] entity_id
756
+ # The identifier of the user or resource associated with the mailbox.
757
+ # @return [String]
758
+ #
759
+ # @!attribute [rw] description
760
+ # The mailbox export job description.
761
+ # @return [String]
762
+ #
763
+ # @!attribute [rw] role_arn
764
+ # The ARN of the AWS Identity and Access Management (IAM) role that
765
+ # grants write permission to the Amazon Simple Storage Service (Amazon
766
+ # S3) bucket.
767
+ # @return [String]
768
+ #
769
+ # @!attribute [rw] kms_key_arn
770
+ # The Amazon Resource Name (ARN) of the symmetric AWS Key Management
771
+ # Service (AWS KMS) key that encrypts the exported mailbox content.
772
+ # @return [String]
773
+ #
774
+ # @!attribute [rw] s3_bucket_name
775
+ # The name of the S3 bucket.
776
+ # @return [String]
777
+ #
778
+ # @!attribute [rw] s3_prefix
779
+ # The S3 bucket prefix.
780
+ # @return [String]
781
+ #
782
+ # @!attribute [rw] s3_path
783
+ # The path to the S3 bucket and file that the mailbox export job is
784
+ # exporting to.
785
+ # @return [String]
786
+ #
787
+ # @!attribute [rw] estimated_progress
788
+ # The estimated progress of the mailbox export job, in percentage
789
+ # points.
790
+ # @return [Integer]
791
+ #
792
+ # @!attribute [rw] state
793
+ # The state of the mailbox export job.
794
+ # @return [String]
795
+ #
796
+ # @!attribute [rw] error_info
797
+ # Error information for failed mailbox export jobs.
798
+ # @return [String]
799
+ #
800
+ # @!attribute [rw] start_time
801
+ # The mailbox export job start timestamp.
802
+ # @return [Time]
803
+ #
804
+ # @!attribute [rw] end_time
805
+ # The mailbox export job end timestamp.
806
+ # @return [Time]
807
+ #
808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJobResponse AWS API Documentation
809
+ #
810
+ class DescribeMailboxExportJobResponse < Struct.new(
811
+ :entity_id,
812
+ :description,
813
+ :role_arn,
814
+ :kms_key_arn,
815
+ :s3_bucket_name,
816
+ :s3_prefix,
817
+ :s3_path,
818
+ :estimated_progress,
819
+ :state,
820
+ :error_info,
821
+ :start_time,
822
+ :end_time)
823
+ SENSITIVE = []
824
+ include Aws::Structure
825
+ end
826
+
692
827
  # @note When making an API call, you may pass DescribeOrganizationRequest
693
828
  # data as a hash:
694
829
  #
@@ -1549,6 +1684,54 @@ module Aws::WorkMail
1549
1684
  include Aws::Structure
1550
1685
  end
1551
1686
 
1687
+ # @note When making an API call, you may pass ListMailboxExportJobsRequest
1688
+ # data as a hash:
1689
+ #
1690
+ # {
1691
+ # organization_id: "OrganizationId", # required
1692
+ # next_token: "NextToken",
1693
+ # max_results: 1,
1694
+ # }
1695
+ #
1696
+ # @!attribute [rw] organization_id
1697
+ # The organization ID.
1698
+ # @return [String]
1699
+ #
1700
+ # @!attribute [rw] next_token
1701
+ # The token to use to retrieve the next page of results.
1702
+ # @return [String]
1703
+ #
1704
+ # @!attribute [rw] max_results
1705
+ # The maximum number of results to return in a single call.
1706
+ # @return [Integer]
1707
+ #
1708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobsRequest AWS API Documentation
1709
+ #
1710
+ class ListMailboxExportJobsRequest < Struct.new(
1711
+ :organization_id,
1712
+ :next_token,
1713
+ :max_results)
1714
+ SENSITIVE = []
1715
+ include Aws::Structure
1716
+ end
1717
+
1718
+ # @!attribute [rw] jobs
1719
+ # The mailbox export job details.
1720
+ # @return [Array<Types::MailboxExportJob>]
1721
+ #
1722
+ # @!attribute [rw] next_token
1723
+ # The token to use to retrieve the next page of results.
1724
+ # @return [String]
1725
+ #
1726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobsResponse AWS API Documentation
1727
+ #
1728
+ class ListMailboxExportJobsResponse < Struct.new(
1729
+ :jobs,
1730
+ :next_token)
1731
+ SENSITIVE = []
1732
+ include Aws::Structure
1733
+ end
1734
+
1552
1735
  # @note When making an API call, you may pass ListMailboxPermissionsRequest
1553
1736
  # data as a hash:
1554
1737
  #
@@ -1870,6 +2053,64 @@ module Aws::WorkMail
1870
2053
  include Aws::Structure
1871
2054
  end
1872
2055
 
2056
+ # The details of a mailbox export job, including the user or resource ID
2057
+ # associated with the mailbox and the S3 bucket that the mailbox
2058
+ # contents are exported to.
2059
+ #
2060
+ # @!attribute [rw] job_id
2061
+ # The identifier of the mailbox export job.
2062
+ # @return [String]
2063
+ #
2064
+ # @!attribute [rw] entity_id
2065
+ # The identifier of the user or resource associated with the mailbox.
2066
+ # @return [String]
2067
+ #
2068
+ # @!attribute [rw] description
2069
+ # The mailbox export job description.
2070
+ # @return [String]
2071
+ #
2072
+ # @!attribute [rw] s3_bucket_name
2073
+ # The name of the S3 bucket.
2074
+ # @return [String]
2075
+ #
2076
+ # @!attribute [rw] s3_path
2077
+ # The path to the S3 bucket and file that the mailbox export job
2078
+ # exports to.
2079
+ # @return [String]
2080
+ #
2081
+ # @!attribute [rw] estimated_progress
2082
+ # The estimated progress of the mailbox export job, in percentage
2083
+ # points.
2084
+ # @return [Integer]
2085
+ #
2086
+ # @!attribute [rw] state
2087
+ # The state of the mailbox export job.
2088
+ # @return [String]
2089
+ #
2090
+ # @!attribute [rw] start_time
2091
+ # The mailbox export job start timestamp.
2092
+ # @return [Time]
2093
+ #
2094
+ # @!attribute [rw] end_time
2095
+ # The mailbox export job end timestamp.
2096
+ # @return [Time]
2097
+ #
2098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/MailboxExportJob AWS API Documentation
2099
+ #
2100
+ class MailboxExportJob < Struct.new(
2101
+ :job_id,
2102
+ :entity_id,
2103
+ :description,
2104
+ :s3_bucket_name,
2105
+ :s3_path,
2106
+ :estimated_progress,
2107
+ :state,
2108
+ :start_time,
2109
+ :end_time)
2110
+ SENSITIVE = []
2111
+ include Aws::Structure
2112
+ end
2113
+
1873
2114
  # The representation of a user or group.
1874
2115
  #
1875
2116
  # @!attribute [rw] id
@@ -2192,7 +2433,7 @@ module Aws::WorkMail
2192
2433
  :name,
2193
2434
  :description,
2194
2435
  :folder_configurations)
2195
- SENSITIVE = []
2436
+ SENSITIVE = [:description]
2196
2437
  include Aws::Structure
2197
2438
  end
2198
2439
 
@@ -2345,6 +2586,84 @@ module Aws::WorkMail
2345
2586
  include Aws::Structure
2346
2587
  end
2347
2588
 
2589
+ # @note When making an API call, you may pass StartMailboxExportJobRequest
2590
+ # data as a hash:
2591
+ #
2592
+ # {
2593
+ # client_token: "IdempotencyClientToken", # required
2594
+ # organization_id: "OrganizationId", # required
2595
+ # entity_id: "WorkMailIdentifier", # required
2596
+ # description: "Description",
2597
+ # role_arn: "RoleArn", # required
2598
+ # kms_key_arn: "KmsKeyArn", # required
2599
+ # s3_bucket_name: "S3BucketName", # required
2600
+ # s3_prefix: "S3ObjectKey", # required
2601
+ # }
2602
+ #
2603
+ # @!attribute [rw] client_token
2604
+ # The idempotency token for the client request.
2605
+ #
2606
+ # **A suitable default value is auto-generated.** You should normally
2607
+ # not need to pass this option.
2608
+ # @return [String]
2609
+ #
2610
+ # @!attribute [rw] organization_id
2611
+ # The identifier associated with the organization.
2612
+ # @return [String]
2613
+ #
2614
+ # @!attribute [rw] entity_id
2615
+ # The identifier of the user or resource associated with the mailbox.
2616
+ # @return [String]
2617
+ #
2618
+ # @!attribute [rw] description
2619
+ # The mailbox export job description.
2620
+ # @return [String]
2621
+ #
2622
+ # @!attribute [rw] role_arn
2623
+ # The ARN of the AWS Identity and Access Management (IAM) role that
2624
+ # grants write permission to the S3 bucket.
2625
+ # @return [String]
2626
+ #
2627
+ # @!attribute [rw] kms_key_arn
2628
+ # The Amazon Resource Name (ARN) of the symmetric AWS Key Management
2629
+ # Service (AWS KMS) key that encrypts the exported mailbox content.
2630
+ # @return [String]
2631
+ #
2632
+ # @!attribute [rw] s3_bucket_name
2633
+ # The name of the S3 bucket.
2634
+ # @return [String]
2635
+ #
2636
+ # @!attribute [rw] s3_prefix
2637
+ # The S3 bucket prefix.
2638
+ # @return [String]
2639
+ #
2640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJobRequest AWS API Documentation
2641
+ #
2642
+ class StartMailboxExportJobRequest < Struct.new(
2643
+ :client_token,
2644
+ :organization_id,
2645
+ :entity_id,
2646
+ :description,
2647
+ :role_arn,
2648
+ :kms_key_arn,
2649
+ :s3_bucket_name,
2650
+ :s3_prefix)
2651
+ SENSITIVE = []
2652
+ include Aws::Structure
2653
+ end
2654
+
2655
+ # @!attribute [rw] job_id
2656
+ # The job ID.
2657
+ # @return [String]
2658
+ #
2659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJobResponse AWS API Documentation
2660
+ #
2661
+ class StartMailboxExportJobResponse < Struct.new(
2662
+ :job_id)
2663
+ SENSITIVE = []
2664
+ include Aws::Structure
2665
+ end
2666
+
2348
2667
  # Describes a tag applied to a resource.
2349
2668
  #
2350
2669
  # @note When making an API call, you may pass Tag
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2020-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core