aws-sdk-workmail 1.29.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-workmail.rb +1 -1
- data/lib/aws-sdk-workmail/client.rb +350 -4
- data/lib/aws-sdk-workmail/client_api.rb +198 -0
- data/lib/aws-sdk-workmail/errors.rb +16 -0
- data/lib/aws-sdk-workmail/types.rb +507 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 798b6d05d4b70fe67a34a6601d3d92c2ab97bd7b9d69d2b2425c2e7013a92db9
|
4
|
+
data.tar.gz: e95f04bd22f24ab8ca165bc3fbef6ded750a28bbc6e507a366691fc172e1df30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87073ce4099d1e3f1f8470442e36fe3a31c711ddf68598a6f1d7782c77272777cdcba432566cd33acf9f50eaea91bb66c422246577449c42c4261133c000abbc
|
7
|
+
data.tar.gz: 406dfea96bfc77b5e5e109a52009e5de65c2faef0154b74a6d72b5d5d82ce8ef8e1aa66257ad75228ec64f122d95328038edbb9fbb15c9f13bc1e2880971598f
|
data/lib/aws-sdk-workmail.rb
CHANGED
@@ -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
|
#
|
@@ -461,6 +499,90 @@ module Aws::WorkMail
|
|
461
499
|
req.send_request(options)
|
462
500
|
end
|
463
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
|
+
|
464
586
|
# Creates a new Amazon WorkMail resource.
|
465
587
|
#
|
466
588
|
# @option params [required, String] :organization_id
|
@@ -506,8 +628,8 @@ module Aws::WorkMail
|
|
506
628
|
# The identifier of the organization for which the user is created.
|
507
629
|
#
|
508
630
|
# @option params [required, String] :name
|
509
|
-
# The name for the new user.
|
510
|
-
# maximum length of
|
631
|
+
# The name for the new user. WorkMail directory user names have a
|
632
|
+
# maximum length of 64. All others have a maximum length of 20.
|
511
633
|
#
|
512
634
|
# @option params [required, String] :display_name
|
513
635
|
# The display name for the new user.
|
@@ -635,7 +757,7 @@ module Aws::WorkMail
|
|
635
757
|
# group) exists.
|
636
758
|
#
|
637
759
|
# @option params [required, String] :entity_id
|
638
|
-
# 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.
|
639
761
|
#
|
640
762
|
# @option params [required, String] :grantee_id
|
641
763
|
# The identifier of the member (user or group) for which to delete
|
@@ -660,6 +782,56 @@ module Aws::WorkMail
|
|
660
782
|
req.send_request(options)
|
661
783
|
end
|
662
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
|
+
|
663
835
|
# Deletes the specified resource.
|
664
836
|
#
|
665
837
|
# @option params [required, String] :organization_id
|
@@ -817,6 +989,60 @@ module Aws::WorkMail
|
|
817
989
|
req.send_request(options)
|
818
990
|
end
|
819
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
|
+
|
820
1046
|
# Provides more information regarding a given organization based on its
|
821
1047
|
# identifier.
|
822
1048
|
#
|
@@ -1331,6 +1557,56 @@ module Aws::WorkMail
|
|
1331
1557
|
req.send_request(options)
|
1332
1558
|
end
|
1333
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
|
+
|
1334
1610
|
# Lists the mailbox permissions associated with a user, group, or
|
1335
1611
|
# resource mailbox.
|
1336
1612
|
#
|
@@ -1411,6 +1687,7 @@ module Aws::WorkMail
|
|
1411
1687
|
# resp.organization_summaries #=> Array
|
1412
1688
|
# resp.organization_summaries[0].organization_id #=> String
|
1413
1689
|
# resp.organization_summaries[0].alias #=> String
|
1690
|
+
# resp.organization_summaries[0].default_mail_domain #=> String
|
1414
1691
|
# resp.organization_summaries[0].error_message #=> String
|
1415
1692
|
# resp.organization_summaries[0].state #=> String
|
1416
1693
|
# resp.next_token #=> String
|
@@ -1829,6 +2106,75 @@ module Aws::WorkMail
|
|
1829
2106
|
req.send_request(options)
|
1830
2107
|
end
|
1831
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
|
+
|
1832
2178
|
# Applies the specified tags to the specified Amazon WorkMail
|
1833
2179
|
# organization resource.
|
1834
2180
|
#
|
@@ -2008,7 +2354,7 @@ module Aws::WorkMail
|
|
2008
2354
|
params: params,
|
2009
2355
|
config: config)
|
2010
2356
|
context[:gem_name] = 'aws-sdk-workmail'
|
2011
|
-
context[:gem_version] = '1.
|
2357
|
+
context[:gem_version] = '1.34.0'
|
2012
2358
|
Seahorse::Client::Request.new(handlers, context)
|
2013
2359
|
end
|
2014
2360
|
|
@@ -29,10 +29,14 @@ 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')
|
35
37
|
CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
|
38
|
+
CreateOrganizationRequest = Shapes::StructureShape.new(name: 'CreateOrganizationRequest')
|
39
|
+
CreateOrganizationResponse = Shapes::StructureShape.new(name: 'CreateOrganizationResponse')
|
36
40
|
CreateResourceRequest = Shapes::StructureShape.new(name: 'CreateResourceRequest')
|
37
41
|
CreateResourceResponse = Shapes::StructureShape.new(name: 'CreateResourceResponse')
|
38
42
|
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
@@ -46,6 +50,8 @@ module Aws::WorkMail
|
|
46
50
|
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
47
51
|
DeleteMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsRequest')
|
48
52
|
DeleteMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'DeleteMailboxPermissionsResponse')
|
53
|
+
DeleteOrganizationRequest = Shapes::StructureShape.new(name: 'DeleteOrganizationRequest')
|
54
|
+
DeleteOrganizationResponse = Shapes::StructureShape.new(name: 'DeleteOrganizationResponse')
|
49
55
|
DeleteResourceRequest = Shapes::StructureShape.new(name: 'DeleteResourceRequest')
|
50
56
|
DeleteResourceResponse = Shapes::StructureShape.new(name: 'DeleteResourceResponse')
|
51
57
|
DeleteRetentionPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRetentionPolicyRequest')
|
@@ -56,18 +62,26 @@ module Aws::WorkMail
|
|
56
62
|
DeregisterFromWorkMailResponse = Shapes::StructureShape.new(name: 'DeregisterFromWorkMailResponse')
|
57
63
|
DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
|
58
64
|
DescribeGroupResponse = Shapes::StructureShape.new(name: 'DescribeGroupResponse')
|
65
|
+
DescribeMailboxExportJobRequest = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobRequest')
|
66
|
+
DescribeMailboxExportJobResponse = Shapes::StructureShape.new(name: 'DescribeMailboxExportJobResponse')
|
59
67
|
DescribeOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationRequest')
|
60
68
|
DescribeOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationResponse')
|
61
69
|
DescribeResourceRequest = Shapes::StructureShape.new(name: 'DescribeResourceRequest')
|
62
70
|
DescribeResourceResponse = Shapes::StructureShape.new(name: 'DescribeResourceResponse')
|
63
71
|
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
64
72
|
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
73
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
74
|
+
DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
|
75
|
+
DirectoryInUseException = Shapes::StructureShape.new(name: 'DirectoryInUseException')
|
65
76
|
DirectoryServiceAuthenticationFailedException = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationFailedException')
|
66
77
|
DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
|
67
78
|
DisassociateDelegateFromResourceRequest = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceRequest')
|
68
79
|
DisassociateDelegateFromResourceResponse = Shapes::StructureShape.new(name: 'DisassociateDelegateFromResourceResponse')
|
69
80
|
DisassociateMemberFromGroupRequest = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupRequest')
|
70
81
|
DisassociateMemberFromGroupResponse = Shapes::StructureShape.new(name: 'DisassociateMemberFromGroupResponse')
|
82
|
+
Domain = Shapes::StructureShape.new(name: 'Domain')
|
83
|
+
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
84
|
+
Domains = Shapes::ListShape.new(name: 'Domains')
|
71
85
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
72
86
|
EmailAddressInUseException = Shapes::StructureShape.new(name: 'EmailAddressInUseException')
|
73
87
|
EntityAlreadyRegisteredException = Shapes::StructureShape.new(name: 'EntityAlreadyRegisteredException')
|
@@ -86,12 +100,16 @@ module Aws::WorkMail
|
|
86
100
|
Group = Shapes::StructureShape.new(name: 'Group')
|
87
101
|
GroupName = Shapes::StringShape.new(name: 'GroupName')
|
88
102
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
103
|
+
HostedZoneId = Shapes::StringShape.new(name: 'HostedZoneId')
|
104
|
+
IdempotencyClientToken = Shapes::StringShape.new(name: 'IdempotencyClientToken')
|
89
105
|
InvalidConfigurationException = Shapes::StructureShape.new(name: 'InvalidConfigurationException')
|
90
106
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
91
107
|
InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
|
92
108
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
93
109
|
IpRange = Shapes::StringShape.new(name: 'IpRange')
|
94
110
|
IpRangeList = Shapes::ListShape.new(name: 'IpRangeList')
|
111
|
+
Jobs = Shapes::ListShape.new(name: 'Jobs')
|
112
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
95
113
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
96
114
|
ListAccessControlRulesRequest = Shapes::StructureShape.new(name: 'ListAccessControlRulesRequest')
|
97
115
|
ListAccessControlRulesResponse = Shapes::StructureShape.new(name: 'ListAccessControlRulesResponse')
|
@@ -101,6 +119,8 @@ module Aws::WorkMail
|
|
101
119
|
ListGroupMembersResponse = Shapes::StructureShape.new(name: 'ListGroupMembersResponse')
|
102
120
|
ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
|
103
121
|
ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
|
122
|
+
ListMailboxExportJobsRequest = Shapes::StructureShape.new(name: 'ListMailboxExportJobsRequest')
|
123
|
+
ListMailboxExportJobsResponse = Shapes::StructureShape.new(name: 'ListMailboxExportJobsResponse')
|
104
124
|
ListMailboxPermissionsRequest = Shapes::StructureShape.new(name: 'ListMailboxPermissionsRequest')
|
105
125
|
ListMailboxPermissionsResponse = Shapes::StructureShape.new(name: 'ListMailboxPermissionsResponse')
|
106
126
|
ListOrganizationsRequest = Shapes::StructureShape.new(name: 'ListOrganizationsRequest')
|
@@ -115,6 +135,10 @@ module Aws::WorkMail
|
|
115
135
|
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
116
136
|
MailDomainNotFoundException = Shapes::StructureShape.new(name: 'MailDomainNotFoundException')
|
117
137
|
MailDomainStateException = Shapes::StructureShape.new(name: 'MailDomainStateException')
|
138
|
+
MailboxExportErrorInfo = Shapes::StringShape.new(name: 'MailboxExportErrorInfo')
|
139
|
+
MailboxExportJob = Shapes::StructureShape.new(name: 'MailboxExportJob')
|
140
|
+
MailboxExportJobId = Shapes::StringShape.new(name: 'MailboxExportJobId')
|
141
|
+
MailboxExportJobState = Shapes::StringShape.new(name: 'MailboxExportJobState')
|
118
142
|
MailboxQuota = Shapes::IntegerShape.new(name: 'MailboxQuota')
|
119
143
|
MailboxSize = Shapes::FloatShape.new(name: 'MailboxSize')
|
120
144
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -130,6 +154,7 @@ module Aws::WorkMail
|
|
130
154
|
OrganizationSummaries = Shapes::ListShape.new(name: 'OrganizationSummaries')
|
131
155
|
OrganizationSummary = Shapes::StructureShape.new(name: 'OrganizationSummary')
|
132
156
|
Password = Shapes::StringShape.new(name: 'Password')
|
157
|
+
Percentage = Shapes::IntegerShape.new(name: 'Percentage')
|
133
158
|
Permission = Shapes::StructureShape.new(name: 'Permission')
|
134
159
|
PermissionType = Shapes::StringShape.new(name: 'PermissionType')
|
135
160
|
PermissionValues = Shapes::ListShape.new(name: 'PermissionValues')
|
@@ -155,7 +180,12 @@ module Aws::WorkMail
|
|
155
180
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
156
181
|
RetentionAction = Shapes::StringShape.new(name: 'RetentionAction')
|
157
182
|
RetentionPeriod = Shapes::IntegerShape.new(name: 'RetentionPeriod')
|
183
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
184
|
+
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
185
|
+
S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
|
158
186
|
ShortString = Shapes::StringShape.new(name: 'ShortString')
|
187
|
+
StartMailboxExportJobRequest = Shapes::StructureShape.new(name: 'StartMailboxExportJobRequest')
|
188
|
+
StartMailboxExportJobResponse = Shapes::StructureShape.new(name: 'StartMailboxExportJobResponse')
|
159
189
|
String = Shapes::StringShape.new(name: 'String')
|
160
190
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
161
191
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -222,6 +252,13 @@ module Aws::WorkMail
|
|
222
252
|
BookingOptions.add_member(:auto_decline_conflicting_requests, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoDeclineConflictingRequests"))
|
223
253
|
BookingOptions.struct_class = Types::BookingOptions
|
224
254
|
|
255
|
+
CancelMailboxExportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
256
|
+
CancelMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
|
257
|
+
CancelMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
258
|
+
CancelMailboxExportJobRequest.struct_class = Types::CancelMailboxExportJobRequest
|
259
|
+
|
260
|
+
CancelMailboxExportJobResponse.struct_class = Types::CancelMailboxExportJobResponse
|
261
|
+
|
225
262
|
CreateAliasRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
226
263
|
CreateAliasRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
227
264
|
CreateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "Alias"))
|
@@ -236,6 +273,17 @@ module Aws::WorkMail
|
|
236
273
|
CreateGroupResponse.add_member(:group_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "GroupId"))
|
237
274
|
CreateGroupResponse.struct_class = Types::CreateGroupResponse
|
238
275
|
|
276
|
+
CreateOrganizationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
|
277
|
+
CreateOrganizationRequest.add_member(:alias, Shapes::ShapeRef.new(shape: OrganizationName, required: true, location_name: "Alias"))
|
278
|
+
CreateOrganizationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
279
|
+
CreateOrganizationRequest.add_member(:domains, Shapes::ShapeRef.new(shape: Domains, location_name: "Domains"))
|
280
|
+
CreateOrganizationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
281
|
+
CreateOrganizationRequest.add_member(:enable_interoperability, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableInteroperability"))
|
282
|
+
CreateOrganizationRequest.struct_class = Types::CreateOrganizationRequest
|
283
|
+
|
284
|
+
CreateOrganizationResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
|
285
|
+
CreateOrganizationResponse.struct_class = Types::CreateOrganizationResponse
|
286
|
+
|
239
287
|
CreateResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
240
288
|
CreateResourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "Name"))
|
241
289
|
CreateResourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "Type"))
|
@@ -283,6 +331,15 @@ module Aws::WorkMail
|
|
283
331
|
|
284
332
|
DeleteMailboxPermissionsResponse.struct_class = Types::DeleteMailboxPermissionsResponse
|
285
333
|
|
334
|
+
DeleteOrganizationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
335
|
+
DeleteOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
336
|
+
DeleteOrganizationRequest.add_member(:delete_directory, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "DeleteDirectory"))
|
337
|
+
DeleteOrganizationRequest.struct_class = Types::DeleteOrganizationRequest
|
338
|
+
|
339
|
+
DeleteOrganizationResponse.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
|
340
|
+
DeleteOrganizationResponse.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
|
341
|
+
DeleteOrganizationResponse.struct_class = Types::DeleteOrganizationResponse
|
342
|
+
|
286
343
|
DeleteResourceRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
287
344
|
DeleteResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
288
345
|
DeleteResourceRequest.struct_class = Types::DeleteResourceRequest
|
@@ -319,6 +376,24 @@ module Aws::WorkMail
|
|
319
376
|
DescribeGroupResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
320
377
|
DescribeGroupResponse.struct_class = Types::DescribeGroupResponse
|
321
378
|
|
379
|
+
DescribeMailboxExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, required: true, location_name: "JobId"))
|
380
|
+
DescribeMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
381
|
+
DescribeMailboxExportJobRequest.struct_class = Types::DescribeMailboxExportJobRequest
|
382
|
+
|
383
|
+
DescribeMailboxExportJobResponse.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "EntityId"))
|
384
|
+
DescribeMailboxExportJobResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
385
|
+
DescribeMailboxExportJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
386
|
+
DescribeMailboxExportJobResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
387
|
+
DescribeMailboxExportJobResponse.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "S3BucketName"))
|
388
|
+
DescribeMailboxExportJobResponse.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Prefix"))
|
389
|
+
DescribeMailboxExportJobResponse.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Path"))
|
390
|
+
DescribeMailboxExportJobResponse.add_member(:estimated_progress, Shapes::ShapeRef.new(shape: Percentage, location_name: "EstimatedProgress"))
|
391
|
+
DescribeMailboxExportJobResponse.add_member(:state, Shapes::ShapeRef.new(shape: MailboxExportJobState, location_name: "State"))
|
392
|
+
DescribeMailboxExportJobResponse.add_member(:error_info, Shapes::ShapeRef.new(shape: MailboxExportErrorInfo, location_name: "ErrorInfo"))
|
393
|
+
DescribeMailboxExportJobResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
394
|
+
DescribeMailboxExportJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
395
|
+
DescribeMailboxExportJobResponse.struct_class = Types::DescribeMailboxExportJobResponse
|
396
|
+
|
322
397
|
DescribeOrganizationRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
323
398
|
DescribeOrganizationRequest.struct_class = Types::DescribeOrganizationRequest
|
324
399
|
|
@@ -361,6 +436,9 @@ module Aws::WorkMail
|
|
361
436
|
DescribeUserResponse.add_member(:disabled_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DisabledDate"))
|
362
437
|
DescribeUserResponse.struct_class = Types::DescribeUserResponse
|
363
438
|
|
439
|
+
DirectoryInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
440
|
+
DirectoryInUseException.struct_class = Types::DirectoryInUseException
|
441
|
+
|
364
442
|
DirectoryServiceAuthenticationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
365
443
|
DirectoryServiceAuthenticationFailedException.struct_class = Types::DirectoryServiceAuthenticationFailedException
|
366
444
|
|
@@ -381,6 +459,12 @@ module Aws::WorkMail
|
|
381
459
|
|
382
460
|
DisassociateMemberFromGroupResponse.struct_class = Types::DisassociateMemberFromGroupResponse
|
383
461
|
|
462
|
+
Domain.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
463
|
+
Domain.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: HostedZoneId, location_name: "HostedZoneId"))
|
464
|
+
Domain.struct_class = Types::Domain
|
465
|
+
|
466
|
+
Domains.member = Shapes::ShapeRef.new(shape: Domain)
|
467
|
+
|
384
468
|
EmailAddressInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
385
469
|
EmailAddressInUseException.struct_class = Types::EmailAddressInUseException
|
386
470
|
|
@@ -448,6 +532,8 @@ module Aws::WorkMail
|
|
448
532
|
|
449
533
|
IpRangeList.member = Shapes::ShapeRef.new(shape: IpRange)
|
450
534
|
|
535
|
+
Jobs.member = Shapes::ShapeRef.new(shape: MailboxExportJob)
|
536
|
+
|
451
537
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
452
538
|
LimitExceededException.struct_class = Types::LimitExceededException
|
453
539
|
|
@@ -486,6 +572,15 @@ module Aws::WorkMail
|
|
486
572
|
ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
487
573
|
ListGroupsResponse.struct_class = Types::ListGroupsResponse
|
488
574
|
|
575
|
+
ListMailboxExportJobsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
576
|
+
ListMailboxExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
577
|
+
ListMailboxExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
578
|
+
ListMailboxExportJobsRequest.struct_class = Types::ListMailboxExportJobsRequest
|
579
|
+
|
580
|
+
ListMailboxExportJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: Jobs, location_name: "Jobs"))
|
581
|
+
ListMailboxExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
582
|
+
ListMailboxExportJobsResponse.struct_class = Types::ListMailboxExportJobsResponse
|
583
|
+
|
489
584
|
ListMailboxPermissionsRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
490
585
|
ListMailboxPermissionsRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
491
586
|
ListMailboxPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -544,6 +639,17 @@ module Aws::WorkMail
|
|
544
639
|
MailDomainStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
545
640
|
MailDomainStateException.struct_class = Types::MailDomainStateException
|
546
641
|
|
642
|
+
MailboxExportJob.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, location_name: "JobId"))
|
643
|
+
MailboxExportJob.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, location_name: "EntityId"))
|
644
|
+
MailboxExportJob.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
645
|
+
MailboxExportJob.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "S3BucketName"))
|
646
|
+
MailboxExportJob.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "S3Path"))
|
647
|
+
MailboxExportJob.add_member(:estimated_progress, Shapes::ShapeRef.new(shape: Percentage, location_name: "EstimatedProgress"))
|
648
|
+
MailboxExportJob.add_member(:state, Shapes::ShapeRef.new(shape: MailboxExportJobState, location_name: "State"))
|
649
|
+
MailboxExportJob.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
650
|
+
MailboxExportJob.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
651
|
+
MailboxExportJob.struct_class = Types::MailboxExportJob
|
652
|
+
|
547
653
|
Member.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
548
654
|
Member.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
549
655
|
Member.add_member(:type, Shapes::ShapeRef.new(shape: MemberType, location_name: "Type"))
|
@@ -567,6 +673,7 @@ module Aws::WorkMail
|
|
567
673
|
|
568
674
|
OrganizationSummary.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, location_name: "OrganizationId"))
|
569
675
|
OrganizationSummary.add_member(:alias, Shapes::ShapeRef.new(shape: OrganizationName, location_name: "Alias"))
|
676
|
+
OrganizationSummary.add_member(:default_mail_domain, Shapes::ShapeRef.new(shape: DomainName, location_name: "DefaultMailDomain"))
|
570
677
|
OrganizationSummary.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
571
678
|
OrganizationSummary.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
|
572
679
|
OrganizationSummary.struct_class = Types::OrganizationSummary
|
@@ -644,6 +751,19 @@ module Aws::WorkMail
|
|
644
751
|
|
645
752
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
646
753
|
|
754
|
+
StartMailboxExportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
755
|
+
StartMailboxExportJobRequest.add_member(:organization_id, Shapes::ShapeRef.new(shape: OrganizationId, required: true, location_name: "OrganizationId"))
|
756
|
+
StartMailboxExportJobRequest.add_member(:entity_id, Shapes::ShapeRef.new(shape: WorkMailIdentifier, required: true, location_name: "EntityId"))
|
757
|
+
StartMailboxExportJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
758
|
+
StartMailboxExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
|
759
|
+
StartMailboxExportJobRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "KmsKeyArn"))
|
760
|
+
StartMailboxExportJobRequest.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "S3BucketName"))
|
761
|
+
StartMailboxExportJobRequest.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, required: true, location_name: "S3Prefix"))
|
762
|
+
StartMailboxExportJobRequest.struct_class = Types::StartMailboxExportJobRequest
|
763
|
+
|
764
|
+
StartMailboxExportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: MailboxExportJobId, location_name: "JobId"))
|
765
|
+
StartMailboxExportJobResponse.struct_class = Types::StartMailboxExportJobResponse
|
766
|
+
|
647
767
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
648
768
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
649
769
|
Tag.struct_class = Types::Tag
|
@@ -753,6 +873,18 @@ module Aws::WorkMail
|
|
753
873
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
754
874
|
end)
|
755
875
|
|
876
|
+
api.add_operation(:cancel_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
|
877
|
+
o.name = "CancelMailboxExportJob"
|
878
|
+
o.http_method = "POST"
|
879
|
+
o.http_request_uri = "/"
|
880
|
+
o.input = Shapes::ShapeRef.new(shape: CancelMailboxExportJobRequest)
|
881
|
+
o.output = Shapes::ShapeRef.new(shape: CancelMailboxExportJobResponse)
|
882
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
883
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
884
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
885
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
886
|
+
end)
|
887
|
+
|
756
888
|
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
|
757
889
|
o.name = "CreateAlias"
|
758
890
|
o.http_method = "POST"
|
@@ -786,6 +918,19 @@ module Aws::WorkMail
|
|
786
918
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
787
919
|
end)
|
788
920
|
|
921
|
+
api.add_operation(:create_organization, Seahorse::Model::Operation.new.tap do |o|
|
922
|
+
o.name = "CreateOrganization"
|
923
|
+
o.http_method = "POST"
|
924
|
+
o.http_request_uri = "/"
|
925
|
+
o.input = Shapes::ShapeRef.new(shape: CreateOrganizationRequest)
|
926
|
+
o.output = Shapes::ShapeRef.new(shape: CreateOrganizationResponse)
|
927
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
928
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryInUseException)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
|
930
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
931
|
+
o.errors << Shapes::ShapeRef.new(shape: NameAvailabilityException)
|
932
|
+
end)
|
933
|
+
|
789
934
|
api.add_operation(:create_resource, Seahorse::Model::Operation.new.tap do |o|
|
790
935
|
o.name = "CreateResource"
|
791
936
|
o.http_method = "POST"
|
@@ -869,6 +1014,17 @@ module Aws::WorkMail
|
|
869
1014
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
870
1015
|
end)
|
871
1016
|
|
1017
|
+
api.add_operation(:delete_organization, Seahorse::Model::Operation.new.tap do |o|
|
1018
|
+
o.name = "DeleteOrganization"
|
1019
|
+
o.http_method = "POST"
|
1020
|
+
o.http_request_uri = "/"
|
1021
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteOrganizationRequest)
|
1022
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteOrganizationResponse)
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1026
|
+
end)
|
1027
|
+
|
872
1028
|
api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
|
873
1029
|
o.name = "DeleteResource"
|
874
1030
|
o.http_method = "POST"
|
@@ -932,6 +1088,18 @@ module Aws::WorkMail
|
|
932
1088
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
933
1089
|
end)
|
934
1090
|
|
1091
|
+
api.add_operation(:describe_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
|
1092
|
+
o.name = "DescribeMailboxExportJob"
|
1093
|
+
o.http_method = "POST"
|
1094
|
+
o.http_request_uri = "/"
|
1095
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMailboxExportJobRequest)
|
1096
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMailboxExportJobResponse)
|
1097
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1098
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1099
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1100
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1101
|
+
end)
|
1102
|
+
|
935
1103
|
api.add_operation(:describe_organization, Seahorse::Model::Operation.new.tap do |o|
|
936
1104
|
o.name = "DescribeOrganization"
|
937
1105
|
o.http_method = "POST"
|
@@ -1096,6 +1264,23 @@ module Aws::WorkMail
|
|
1096
1264
|
)
|
1097
1265
|
end)
|
1098
1266
|
|
1267
|
+
api.add_operation(:list_mailbox_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1268
|
+
o.name = "ListMailboxExportJobs"
|
1269
|
+
o.http_method = "POST"
|
1270
|
+
o.http_request_uri = "/"
|
1271
|
+
o.input = Shapes::ShapeRef.new(shape: ListMailboxExportJobsRequest)
|
1272
|
+
o.output = Shapes::ShapeRef.new(shape: ListMailboxExportJobsResponse)
|
1273
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1276
|
+
o[:pager] = Aws::Pager.new(
|
1277
|
+
limit_key: "max_results",
|
1278
|
+
tokens: {
|
1279
|
+
"next_token" => "next_token"
|
1280
|
+
}
|
1281
|
+
)
|
1282
|
+
end)
|
1283
|
+
|
1099
1284
|
api.add_operation(:list_mailbox_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1100
1285
|
o.name = "ListMailboxPermissions"
|
1101
1286
|
o.http_method = "POST"
|
@@ -1265,6 +1450,19 @@ module Aws::WorkMail
|
|
1265
1450
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
1266
1451
|
end)
|
1267
1452
|
|
1453
|
+
api.add_operation(:start_mailbox_export_job, Seahorse::Model::Operation.new.tap do |o|
|
1454
|
+
o.name = "StartMailboxExportJob"
|
1455
|
+
o.http_method = "POST"
|
1456
|
+
o.http_request_uri = "/"
|
1457
|
+
o.input = Shapes::ShapeRef.new(shape: StartMailboxExportJobRequest)
|
1458
|
+
o.output = Shapes::ShapeRef.new(shape: StartMailboxExportJobResponse)
|
1459
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1460
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
1461
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationStateException)
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1464
|
+
end)
|
1465
|
+
|
1268
1466
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1269
1467
|
o.name = "TagResource"
|
1270
1468
|
o.http_method = "POST"
|