aws-sdk-workmail 1.27.0 → 1.32.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 +4 -4
- data/lib/aws-sdk-workmail.rb +3 -2
- data/lib/aws-sdk-workmail/client.rb +370 -9
- 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 +505 -6
- 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: 162a075a8bc4a77c1760e32aa4b4459bd7d13d74c1f80ab91885ef250ad1db11
|
4
|
+
data.tar.gz: 551950cec0756abd8517b2ed3a86b399d2261026c1690ff8b1ec423dc63e5ce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2819fd88e0a74783ea79deb24c17d55246557b1f3c1ae4d95f3fbd803811f96e6ed0fa584c20e04e60c0caa6d73283d1e56065b67ec86dc871808c8bec12cab5
|
7
|
+
data.tar.gz: 597dc41977fd5baa014d2481b34a7a1ebf301c7169a92573904d254e3ea9ca962396fb91130577ff2e54cf21c130777dec0c7426ff0d6dd077ad9f7fcc5b45a0
|
data/lib/aws-sdk-workmail.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-workmail/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::WorkMail
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.32.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::WorkMail
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
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
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::WorkMail
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# 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.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -382,6 +397,44 @@ module Aws::WorkMail
|
|
382
397
|
req.send_request(options)
|
383
398
|
end
|
384
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
|
+
|
385
438
|
# Adds an alias to the set of a given member (user or group) of Amazon
|
386
439
|
# WorkMail.
|
387
440
|
#
|
@@ -446,6 +499,90 @@ module Aws::WorkMail
|
|
446
499
|
req.send_request(options)
|
447
500
|
end
|
448
501
|
|
502
|
+
# Creates a new Amazon WorkMail organization. Optionally, you can choose
|
503
|
+
# to associate an existing AWS Directory Service directory with your
|
504
|
+
# organization. If an AWS Directory Service directory ID is specified,
|
505
|
+
# the organization alias must match the directory alias. If you choose
|
506
|
+
# not to associate an existing directory with your organization, then we
|
507
|
+
# create a new Amazon WorkMail directory for you. For more information,
|
508
|
+
# see [Adding an organization][1] in the *Amazon WorkMail Administrator
|
509
|
+
# Guide*.
|
510
|
+
#
|
511
|
+
# You can associate multiple email domains with an organization, then
|
512
|
+
# set your default email domain from the Amazon WorkMail console. You
|
513
|
+
# can also associate a domain that is managed in an Amazon Route 53
|
514
|
+
# public hosted zone. For more information, see [Adding a domain][2] and
|
515
|
+
# [Choosing the default domain][3] in the *Amazon WorkMail Administrator
|
516
|
+
# Guide*.
|
517
|
+
#
|
518
|
+
# Optionally, you can use a customer managed master key from AWS Key
|
519
|
+
# Management Service (AWS KMS) to encrypt email for your organization.
|
520
|
+
# If you don't associate an AWS KMS key, Amazon WorkMail creates a
|
521
|
+
# default AWS managed master key for you.
|
522
|
+
#
|
523
|
+
#
|
524
|
+
#
|
525
|
+
# [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html
|
526
|
+
# [2]: https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html
|
527
|
+
# [3]: https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html
|
528
|
+
#
|
529
|
+
# @option params [String] :directory_id
|
530
|
+
# The AWS Directory Service directory ID.
|
531
|
+
#
|
532
|
+
# @option params [required, String] :alias
|
533
|
+
# The organization alias.
|
534
|
+
#
|
535
|
+
# @option params [String] :client_token
|
536
|
+
# The idempotency token associated with the request.
|
537
|
+
#
|
538
|
+
# **A suitable default value is auto-generated.** You should normally
|
539
|
+
# not need to pass this option.**
|
540
|
+
#
|
541
|
+
# @option params [Array<Types::Domain>] :domains
|
542
|
+
# The email domains to associate with the organization.
|
543
|
+
#
|
544
|
+
# @option params [String] :kms_key_arn
|
545
|
+
# The Amazon Resource Name (ARN) of a customer managed master key from
|
546
|
+
# AWS KMS.
|
547
|
+
#
|
548
|
+
# @option params [Boolean] :enable_interoperability
|
549
|
+
# When `true`, allows organization interoperability between Amazon
|
550
|
+
# WorkMail and Microsoft Exchange. Can only be set to `true` if an AD
|
551
|
+
# Connector directory ID is included in the request.
|
552
|
+
#
|
553
|
+
# @return [Types::CreateOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
554
|
+
#
|
555
|
+
# * {Types::CreateOrganizationResponse#organization_id #organization_id} => String
|
556
|
+
#
|
557
|
+
# @example Request syntax with placeholder values
|
558
|
+
#
|
559
|
+
# resp = client.create_organization({
|
560
|
+
# directory_id: "DirectoryId",
|
561
|
+
# alias: "OrganizationName", # required
|
562
|
+
# client_token: "IdempotencyClientToken",
|
563
|
+
# domains: [
|
564
|
+
# {
|
565
|
+
# domain_name: "DomainName",
|
566
|
+
# hosted_zone_id: "HostedZoneId",
|
567
|
+
# },
|
568
|
+
# ],
|
569
|
+
# kms_key_arn: "KmsKeyArn",
|
570
|
+
# enable_interoperability: false,
|
571
|
+
# })
|
572
|
+
#
|
573
|
+
# @example Response structure
|
574
|
+
#
|
575
|
+
# resp.organization_id #=> String
|
576
|
+
#
|
577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganization AWS API Documentation
|
578
|
+
#
|
579
|
+
# @overload create_organization(params = {})
|
580
|
+
# @param [Hash] params ({})
|
581
|
+
def create_organization(params = {}, options = {})
|
582
|
+
req = build_request(:create_organization, params)
|
583
|
+
req.send_request(options)
|
584
|
+
end
|
585
|
+
|
449
586
|
# Creates a new Amazon WorkMail resource.
|
450
587
|
#
|
451
588
|
# @option params [required, String] :organization_id
|
@@ -620,7 +757,7 @@ module Aws::WorkMail
|
|
620
757
|
# group) exists.
|
621
758
|
#
|
622
759
|
# @option params [required, String] :entity_id
|
623
|
-
# The identifier of the member (user or group)that owns the mailbox.
|
760
|
+
# The identifier of the member (user or group) that owns the mailbox.
|
624
761
|
#
|
625
762
|
# @option params [required, String] :grantee_id
|
626
763
|
# The identifier of the member (user or group) for which to delete
|
@@ -645,6 +782,56 @@ module Aws::WorkMail
|
|
645
782
|
req.send_request(options)
|
646
783
|
end
|
647
784
|
|
785
|
+
# Deletes an Amazon WorkMail organization and all underlying AWS
|
786
|
+
# resources managed by Amazon WorkMail as part of the organization. You
|
787
|
+
# can choose whether to delete the associated directory. For more
|
788
|
+
# information, see [Removing an organization][1] in the *Amazon WorkMail
|
789
|
+
# Administrator Guide*.
|
790
|
+
#
|
791
|
+
#
|
792
|
+
#
|
793
|
+
# [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html
|
794
|
+
#
|
795
|
+
# @option params [String] :client_token
|
796
|
+
# The idempotency token associated with the request.
|
797
|
+
#
|
798
|
+
# **A suitable default value is auto-generated.** You should normally
|
799
|
+
# not need to pass this option.**
|
800
|
+
#
|
801
|
+
# @option params [required, String] :organization_id
|
802
|
+
# The organization ID.
|
803
|
+
#
|
804
|
+
# @option params [required, Boolean] :delete_directory
|
805
|
+
# If true, deletes the AWS Directory Service directory associated with
|
806
|
+
# the organization.
|
807
|
+
#
|
808
|
+
# @return [Types::DeleteOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
809
|
+
#
|
810
|
+
# * {Types::DeleteOrganizationResponse#organization_id #organization_id} => String
|
811
|
+
# * {Types::DeleteOrganizationResponse#state #state} => String
|
812
|
+
#
|
813
|
+
# @example Request syntax with placeholder values
|
814
|
+
#
|
815
|
+
# resp = client.delete_organization({
|
816
|
+
# client_token: "IdempotencyClientToken",
|
817
|
+
# organization_id: "OrganizationId", # required
|
818
|
+
# delete_directory: false, # required
|
819
|
+
# })
|
820
|
+
#
|
821
|
+
# @example Response structure
|
822
|
+
#
|
823
|
+
# resp.organization_id #=> String
|
824
|
+
# resp.state #=> String
|
825
|
+
#
|
826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganization AWS API Documentation
|
827
|
+
#
|
828
|
+
# @overload delete_organization(params = {})
|
829
|
+
# @param [Hash] params ({})
|
830
|
+
def delete_organization(params = {}, options = {})
|
831
|
+
req = build_request(:delete_organization, params)
|
832
|
+
req.send_request(options)
|
833
|
+
end
|
834
|
+
|
648
835
|
# Deletes the specified resource.
|
649
836
|
#
|
650
837
|
# @option params [required, String] :organization_id
|
@@ -802,6 +989,60 @@ module Aws::WorkMail
|
|
802
989
|
req.send_request(options)
|
803
990
|
end
|
804
991
|
|
992
|
+
# Describes the current status of a mailbox export job.
|
993
|
+
#
|
994
|
+
# @option params [required, String] :job_id
|
995
|
+
# The mailbox export job ID.
|
996
|
+
#
|
997
|
+
# @option params [required, String] :organization_id
|
998
|
+
# The organization ID.
|
999
|
+
#
|
1000
|
+
# @return [Types::DescribeMailboxExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1001
|
+
#
|
1002
|
+
# * {Types::DescribeMailboxExportJobResponse#entity_id #entity_id} => String
|
1003
|
+
# * {Types::DescribeMailboxExportJobResponse#description #description} => String
|
1004
|
+
# * {Types::DescribeMailboxExportJobResponse#role_arn #role_arn} => String
|
1005
|
+
# * {Types::DescribeMailboxExportJobResponse#kms_key_arn #kms_key_arn} => String
|
1006
|
+
# * {Types::DescribeMailboxExportJobResponse#s3_bucket_name #s3_bucket_name} => String
|
1007
|
+
# * {Types::DescribeMailboxExportJobResponse#s3_prefix #s3_prefix} => String
|
1008
|
+
# * {Types::DescribeMailboxExportJobResponse#s3_path #s3_path} => String
|
1009
|
+
# * {Types::DescribeMailboxExportJobResponse#estimated_progress #estimated_progress} => Integer
|
1010
|
+
# * {Types::DescribeMailboxExportJobResponse#state #state} => String
|
1011
|
+
# * {Types::DescribeMailboxExportJobResponse#error_info #error_info} => String
|
1012
|
+
# * {Types::DescribeMailboxExportJobResponse#start_time #start_time} => Time
|
1013
|
+
# * {Types::DescribeMailboxExportJobResponse#end_time #end_time} => Time
|
1014
|
+
#
|
1015
|
+
# @example Request syntax with placeholder values
|
1016
|
+
#
|
1017
|
+
# resp = client.describe_mailbox_export_job({
|
1018
|
+
# job_id: "MailboxExportJobId", # required
|
1019
|
+
# organization_id: "OrganizationId", # required
|
1020
|
+
# })
|
1021
|
+
#
|
1022
|
+
# @example Response structure
|
1023
|
+
#
|
1024
|
+
# resp.entity_id #=> String
|
1025
|
+
# resp.description #=> String
|
1026
|
+
# resp.role_arn #=> String
|
1027
|
+
# resp.kms_key_arn #=> String
|
1028
|
+
# resp.s3_bucket_name #=> String
|
1029
|
+
# resp.s3_prefix #=> String
|
1030
|
+
# resp.s3_path #=> String
|
1031
|
+
# resp.estimated_progress #=> Integer
|
1032
|
+
# resp.state #=> String, one of "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
|
1033
|
+
# resp.error_info #=> String
|
1034
|
+
# resp.start_time #=> Time
|
1035
|
+
# resp.end_time #=> Time
|
1036
|
+
#
|
1037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJob AWS API Documentation
|
1038
|
+
#
|
1039
|
+
# @overload describe_mailbox_export_job(params = {})
|
1040
|
+
# @param [Hash] params ({})
|
1041
|
+
def describe_mailbox_export_job(params = {}, options = {})
|
1042
|
+
req = build_request(:describe_mailbox_export_job, params)
|
1043
|
+
req.send_request(options)
|
1044
|
+
end
|
1045
|
+
|
805
1046
|
# Provides more information regarding a given organization based on its
|
806
1047
|
# identifier.
|
807
1048
|
#
|
@@ -1316,6 +1557,56 @@ module Aws::WorkMail
|
|
1316
1557
|
req.send_request(options)
|
1317
1558
|
end
|
1318
1559
|
|
1560
|
+
# Lists the mailbox export jobs started for the specified organization
|
1561
|
+
# within the last seven days.
|
1562
|
+
#
|
1563
|
+
# @option params [required, String] :organization_id
|
1564
|
+
# The organization ID.
|
1565
|
+
#
|
1566
|
+
# @option params [String] :next_token
|
1567
|
+
# The token to use to retrieve the next page of results.
|
1568
|
+
#
|
1569
|
+
# @option params [Integer] :max_results
|
1570
|
+
# The maximum number of results to return in a single call.
|
1571
|
+
#
|
1572
|
+
# @return [Types::ListMailboxExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1573
|
+
#
|
1574
|
+
# * {Types::ListMailboxExportJobsResponse#jobs #jobs} => Array<Types::MailboxExportJob>
|
1575
|
+
# * {Types::ListMailboxExportJobsResponse#next_token #next_token} => String
|
1576
|
+
#
|
1577
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1578
|
+
#
|
1579
|
+
# @example Request syntax with placeholder values
|
1580
|
+
#
|
1581
|
+
# resp = client.list_mailbox_export_jobs({
|
1582
|
+
# organization_id: "OrganizationId", # required
|
1583
|
+
# next_token: "NextToken",
|
1584
|
+
# max_results: 1,
|
1585
|
+
# })
|
1586
|
+
#
|
1587
|
+
# @example Response structure
|
1588
|
+
#
|
1589
|
+
# resp.jobs #=> Array
|
1590
|
+
# resp.jobs[0].job_id #=> String
|
1591
|
+
# resp.jobs[0].entity_id #=> String
|
1592
|
+
# resp.jobs[0].description #=> String
|
1593
|
+
# resp.jobs[0].s3_bucket_name #=> String
|
1594
|
+
# resp.jobs[0].s3_path #=> String
|
1595
|
+
# resp.jobs[0].estimated_progress #=> Integer
|
1596
|
+
# resp.jobs[0].state #=> String, one of "RUNNING", "COMPLETED", "FAILED", "CANCELLED"
|
1597
|
+
# resp.jobs[0].start_time #=> Time
|
1598
|
+
# resp.jobs[0].end_time #=> Time
|
1599
|
+
# resp.next_token #=> String
|
1600
|
+
#
|
1601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobs AWS API Documentation
|
1602
|
+
#
|
1603
|
+
# @overload list_mailbox_export_jobs(params = {})
|
1604
|
+
# @param [Hash] params ({})
|
1605
|
+
def list_mailbox_export_jobs(params = {}, options = {})
|
1606
|
+
req = build_request(:list_mailbox_export_jobs, params)
|
1607
|
+
req.send_request(options)
|
1608
|
+
end
|
1609
|
+
|
1319
1610
|
# Lists the mailbox permissions associated with a user, group, or
|
1320
1611
|
# resource mailbox.
|
1321
1612
|
#
|
@@ -1396,6 +1687,7 @@ module Aws::WorkMail
|
|
1396
1687
|
# resp.organization_summaries #=> Array
|
1397
1688
|
# resp.organization_summaries[0].organization_id #=> String
|
1398
1689
|
# resp.organization_summaries[0].alias #=> String
|
1690
|
+
# resp.organization_summaries[0].default_mail_domain #=> String
|
1399
1691
|
# resp.organization_summaries[0].error_message #=> String
|
1400
1692
|
# resp.organization_summaries[0].state #=> String
|
1401
1693
|
# resp.next_token #=> String
|
@@ -1814,6 +2106,75 @@ module Aws::WorkMail
|
|
1814
2106
|
req.send_request(options)
|
1815
2107
|
end
|
1816
2108
|
|
2109
|
+
# Starts a mailbox export job to export MIME-format email messages and
|
2110
|
+
# calendar items from the specified mailbox to the specified Amazon
|
2111
|
+
# Simple Storage Service (Amazon S3) bucket. For more information, see
|
2112
|
+
# [Exporting mailbox content][1] in the *Amazon WorkMail Administrator
|
2113
|
+
# Guide*.
|
2114
|
+
#
|
2115
|
+
#
|
2116
|
+
#
|
2117
|
+
# [1]: https://docs.aws.amazon.com/workmail/latest/adminguide/mail-export.html
|
2118
|
+
#
|
2119
|
+
# @option params [required, String] :client_token
|
2120
|
+
# The idempotency token for the client request.
|
2121
|
+
#
|
2122
|
+
# **A suitable default value is auto-generated.** You should normally
|
2123
|
+
# not need to pass this option.**
|
2124
|
+
#
|
2125
|
+
# @option params [required, String] :organization_id
|
2126
|
+
# The identifier associated with the organization.
|
2127
|
+
#
|
2128
|
+
# @option params [required, String] :entity_id
|
2129
|
+
# The identifier of the user or resource associated with the mailbox.
|
2130
|
+
#
|
2131
|
+
# @option params [String] :description
|
2132
|
+
# The mailbox export job description.
|
2133
|
+
#
|
2134
|
+
# @option params [required, String] :role_arn
|
2135
|
+
# The ARN of the AWS Identity and Access Management (IAM) role that
|
2136
|
+
# grants write permission to the S3 bucket.
|
2137
|
+
#
|
2138
|
+
# @option params [required, String] :kms_key_arn
|
2139
|
+
# The Amazon Resource Name (ARN) of the symmetric AWS Key Management
|
2140
|
+
# Service (AWS KMS) key that encrypts the exported mailbox content.
|
2141
|
+
#
|
2142
|
+
# @option params [required, String] :s3_bucket_name
|
2143
|
+
# The name of the S3 bucket.
|
2144
|
+
#
|
2145
|
+
# @option params [required, String] :s3_prefix
|
2146
|
+
# The S3 bucket prefix.
|
2147
|
+
#
|
2148
|
+
# @return [Types::StartMailboxExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2149
|
+
#
|
2150
|
+
# * {Types::StartMailboxExportJobResponse#job_id #job_id} => String
|
2151
|
+
#
|
2152
|
+
# @example Request syntax with placeholder values
|
2153
|
+
#
|
2154
|
+
# resp = client.start_mailbox_export_job({
|
2155
|
+
# client_token: "IdempotencyClientToken", # required
|
2156
|
+
# organization_id: "OrganizationId", # required
|
2157
|
+
# entity_id: "WorkMailIdentifier", # required
|
2158
|
+
# description: "Description",
|
2159
|
+
# role_arn: "RoleArn", # required
|
2160
|
+
# kms_key_arn: "KmsKeyArn", # required
|
2161
|
+
# s3_bucket_name: "S3BucketName", # required
|
2162
|
+
# s3_prefix: "S3ObjectKey", # required
|
2163
|
+
# })
|
2164
|
+
#
|
2165
|
+
# @example Response structure
|
2166
|
+
#
|
2167
|
+
# resp.job_id #=> String
|
2168
|
+
#
|
2169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJob AWS API Documentation
|
2170
|
+
#
|
2171
|
+
# @overload start_mailbox_export_job(params = {})
|
2172
|
+
# @param [Hash] params ({})
|
2173
|
+
def start_mailbox_export_job(params = {}, options = {})
|
2174
|
+
req = build_request(:start_mailbox_export_job, params)
|
2175
|
+
req.send_request(options)
|
2176
|
+
end
|
2177
|
+
|
1817
2178
|
# Applies the specified tags to the specified Amazon WorkMail
|
1818
2179
|
# organization resource.
|
1819
2180
|
#
|
@@ -1993,7 +2354,7 @@ module Aws::WorkMail
|
|
1993
2354
|
params: params,
|
1994
2355
|
config: config)
|
1995
2356
|
context[:gem_name] = 'aws-sdk-workmail'
|
1996
|
-
context[:gem_version] = '1.
|
2357
|
+
context[:gem_version] = '1.32.0'
|
1997
2358
|
Seahorse::Client::Request.new(handlers, context)
|
1998
2359
|
end
|
1999
2360
|
|