aws-sdk-workmail 1.26.1 → 1.31.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 +5 -2
- data/lib/aws-sdk-workmail/client.rb +236 -8
- data/lib/aws-sdk-workmail/client_api.rb +136 -0
- data/lib/aws-sdk-workmail/errors.rb +2 -0
- data/lib/aws-sdk-workmail/resource.rb +2 -0
- data/lib/aws-sdk-workmail/types.rb +414 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa262f787229c1ac22030ca5e42509a565316c1fb27982390307da801d695f58
|
4
|
+
data.tar.gz: 05177c05acb9c022b8b1de2b545c6b6b7b761550331e8f2d729bf529d723a853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5e976757c3654755bd02bb994781811b48cd43477eafdb1dcbdc1579b85ab66a888deb603a6c9044af8128d4495ed91c98f10f51734f3bcb6dcf2e86ab2a41f
|
7
|
+
data.tar.gz: 933caa91ecfd21111ee7fcc8b50dc3be65d4910ec9422cc8d413078a5c80d7e394f6781101b0195a448f660ba22bc7ea6d514bf82048b58c5c50ccc5f37dbda9
|
data/lib/aws-sdk-workmail.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-workmail/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::WorkMail
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.31.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::WorkMail
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::WorkMail
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -380,6 +397,44 @@ module Aws::WorkMail
|
|
380
397
|
req.send_request(options)
|
381
398
|
end
|
382
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
|
+
|
383
438
|
# Adds an alias to the set of a given member (user or group) of Amazon
|
384
439
|
# WorkMail.
|
385
440
|
#
|
@@ -800,6 +855,60 @@ module Aws::WorkMail
|
|
800
855
|
req.send_request(options)
|
801
856
|
end
|
802
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
|
+
|
803
912
|
# Provides more information regarding a given organization based on its
|
804
913
|
# identifier.
|
805
914
|
#
|
@@ -1314,6 +1423,56 @@ module Aws::WorkMail
|
|
1314
1423
|
req.send_request(options)
|
1315
1424
|
end
|
1316
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<Types::MailboxExportJob>
|
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
|
+
|
1317
1476
|
# Lists the mailbox permissions associated with a user, group, or
|
1318
1477
|
# resource mailbox.
|
1319
1478
|
#
|
@@ -1812,6 +1971,75 @@ module Aws::WorkMail
|
|
1812
1971
|
req.send_request(options)
|
1813
1972
|
end
|
1814
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
|
+
|
1815
2043
|
# Applies the specified tags to the specified Amazon WorkMail
|
1816
2044
|
# organization resource.
|
1817
2045
|
#
|
@@ -1991,7 +2219,7 @@ module Aws::WorkMail
|
|
1991
2219
|
params: params,
|
1992
2220
|
config: config)
|
1993
2221
|
context[:gem_name] = 'aws-sdk-workmail'
|
1994
|
-
context[:gem_version] = '1.
|
2222
|
+
context[:gem_version] = '1.31.0'
|
1995
2223
|
Seahorse::Client::Request.new(handlers, context)
|
1996
2224
|
end
|
1997
2225
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -27,6 +29,8 @@ module Aws::WorkMail
|
|
27
29
|
AssociateMemberToGroupResponse = Shapes::StructureShape.new(name: 'AssociateMemberToGroupResponse')
|
28
30
|
BookingOptions = Shapes::StructureShape.new(name: 'BookingOptions')
|
29
31
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
32
|
+
CancelMailboxExportJobRequest = Shapes::StructureShape.new(name: 'CancelMailboxExportJobRequest')
|
33
|
+
CancelMailboxExportJobResponse = Shapes::StructureShape.new(name: 'CancelMailboxExportJobResponse')
|
30
34
|
CreateAliasRequest = Shapes::StructureShape.new(name: 'CreateAliasRequest')
|
31
35
|
CreateAliasResponse = Shapes::StructureShape.new(name: 'CreateAliasResponse')
|
32
36
|
CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
|
@@ -54,12 +58,15 @@ module Aws::WorkMail
|
|
54
58
|
DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
|
55
59
|
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
56
60
|
DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
|
61
|
+
DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
|
62
|
+
DescribeMailboxExportJobResponse = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobResponse')
|
57
63
|
DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
|
58
64
|
DescribeOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationResponse')
|
59
65
|
DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
|
60
66
|
DescribeResourceResponse = Shapes::StructureShape.new(name: 'DescribeResourceResponse')
|
61
67
|
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
62
68
|
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
69
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
63
70
|
DirectoryServiceAuthenticationFailedException = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationFailedException')
|
64
71
|
DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
|
65
72
|
DisassociateDelegateFromResourceRequest = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceRequest')
|
@@ -84,12 +91,15 @@ module Aws::WorkMail
|
|
84
91
|
Group = Shapes::StructureShape.new(name: 'Group')
|
85
92
|
GroupName = Shapes::StringShape.new(name: 'GroupName')
|
86
93
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
94
|
+
IdempotencyClientToken = Shapes::StringShape.new(name: 'IdempotencyClientToken')
|
87
95
|
InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
|
88
96
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
89
97
|
InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
|
90
98
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
91
99
|
IpRange = Shapes::StringShape.new(name: 'IpRange')
|
92
100
|
IpRangeList = Shapes::ListShape.new(name: 'IpRangeList')
|
101
|
+
Jobs = Shapes::ListShape.new(name: 'Jobs')
|
102
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
93
103
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
94
104
|
ListAccessControlRulesRequest = Shapes::StructureShape.new(name: 'ListAccessControlRulesRequest')
|
95
105
|
ListAccessControlRulesResponse = Shapes::StructureShape.new(name: 'ListAccessControlRulesResponse')
|
@@ -99,6 +109,8 @@ module Aws::WorkMail
|
|
99
109
|
ListGroupMembersResponse = Shapes::StructureShape.new(name: 'ListGroupMembersResponse')
|
100
110
|
ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
|
101
111
|
ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
|
112
|
+
ListMailboxExportJobsRequest = Shapes::StructureShape.new(name: 'ListMailboxExportJobsRequest')
|
113
|
+
ListMailboxExportJobsResponse = Shapes::StructureShape.new(name: 'ListMailboxExportJobsResponse')
|
102
114
|
ListMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'ListMailboxPermissionsRequest')
|
103
115
|
ListMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'ListMailboxPermissionsResponse')
|
104
116
|
ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
|
@@ -113,6 +125,10 @@ module Aws::WorkMail
|
|
113
125
|
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
114
126
|
MailDomainNotFoundException = Shapes::StructureShape.new(name: 'MailDomainNotFoundException')
|
115
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')
|
116
132
|
MailboxQuota = Shapes::IntegerShape.new(name: 'MailboxQuota')
|
117
133
|
MailboxSize = Shapes::FloatShape.new(name: 'MailboxSize')
|
118
134
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -128,6 +144,7 @@ module Aws::WorkMail
|
|
128
144
|
OrganizationSummaries = Shapes::ListShape.new(name: 'OrganizationSummaries')
|
129
145
|
OrganizationSummary = Shapes::StructureShape.new(name: 'OrganizationSummary')
|
130
146
|
Password = Shapes::StringShape.new(name: 'Password')
|
147
|
+
Percentage = Shapes::IntegerShape.new(name: 'Percentage')
|
131
148
|
Permission = Shapes::StructureShape.new(name: 'Permission')
|
132
149
|
PermissionType = Shapes::StringShape.new(name: 'PermissionType')
|
133
150
|
PermissionValues = Shapes::ListShape.new(name: 'PermissionValues')
|
@@ -153,7 +170,12 @@ module Aws::WorkMail
|
|
153
170
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
154
171
|
RetentionAction = Shapes::StringShape.new(name: 'RetentionAction')
|
155
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')
|
156
176
|
ShortString = Shapes::StringShape.new(name: 'ShortString')
|
177
|
+
StartMailboxExportJobRequest = Shapes::StructureShape.new(name: 'StartMailboxExportJobRequest')
|
178
|
+
StartMailboxExportJobResponse = Shapes::StructureShape.new(name: 'StartMailboxExportJobResponse')
|
157
179
|
String = Shapes::StringShape.new(name: 'String')
|
158
180
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
159
181
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -220,6 +242,13 @@ module Aws::WorkMail
|
|
220
242
|
BookingOptions.add_member(:auto_decline_conflicting_requests, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoDeclineConflictingRequests"))
|
221
243
|
BookingOptions.struct_class = Types::BookingOptions
|
222
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
|
+
|
223
252
|
CreateAliasRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
224
253
|
CreateAliasRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
225
254
|
CreateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Alias"))
|
@@ -317,6 +346,24 @@ module Aws::WorkMail
|
|
317
346
|
DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
318
347
|
DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
|
319
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
|
+
|
320
367
|
DescribeOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
321
368
|
DescribeOrganizationRequest.struct_class = Types::DescribeOrganizationRequest
|
322
369
|
|
@@ -446,6 +493,8 @@ module Aws::WorkMail
|
|
446
493
|
|
447
494
|
IpRangeList.member = Shapes::ShapeRef.new(shape: IpRange)
|
448
495
|
|
496
|
+
Jobs.member = Shapes::ShapeRef.new(shape: MailboxExportJob)
|
497
|
+
|
449
498
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
450
499
|
LimitExceededException.struct_class = Types::LimitExceededException
|
451
500
|
|
@@ -484,6 +533,15 @@ module Aws::WorkMail
|
|
484
533
|
ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
485
534
|
ListGroupsResponse.struct_class = Types::ListGroupsResponse
|
486
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
|
+
|
487
545
|
ListMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
488
546
|
ListMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
489
547
|
ListMailboxPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -542,6 +600,17 @@ module Aws::WorkMail
|
|
542
600
|
MailDomainStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
543
601
|
MailDomainStateException.struct_class = Types::MailDomainStateException
|
544
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
|
+
|
545
614
|
Member.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
546
615
|
Member.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
547
616
|
Member.add_member(:type, Shapes::ShapeRef.new(shape: MemberType, location_name: "Type"))
|
@@ -642,6 +711,19 @@ module Aws::WorkMail
|
|
642
711
|
|
643
712
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
644
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
|
+
|
645
727
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
646
728
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
647
729
|
Tag.struct_class = Types::Tag
|
@@ -751,6 +833,18 @@ module Aws::WorkMail
|
|
751
833
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
752
834
|
end)
|
753
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
|
+
|
754
848
|
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
755
849
|
o.name = "CreateAlias"
|
756
850
|
o.http_method = "POST"
|
@@ -930,6 +1024,18 @@ module Aws::WorkMail
|
|
930
1024
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
931
1025
|
end)
|
932
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
|
+
|
933
1039
|
api.add_operation(:describe_organization, Seahorse::Model::Operation.new.tap do |o|
|
934
1040
|
o.name = "DescribeOrganization"
|
935
1041
|
o.http_method = "POST"
|
@@ -1094,6 +1200,23 @@ module Aws::WorkMail
|
|
1094
1200
|
)
|
1095
1201
|
end)
|
1096
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
|
+
|
1097
1220
|
api.add_operation(:list_mailbox_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1098
1221
|
o.name = "ListMailboxPermissions"
|
1099
1222
|
o.http_method = "POST"
|
@@ -1263,6 +1386,19 @@ module Aws::WorkMail
|
|
1263
1386
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1264
1387
|
end)
|
1265
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
|
+
|
1266
1402
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1267
1403
|
o.name = "TagResource"
|
1268
1404
|
o.http_method = "POST"
|