From 222e402a573fba75702c433401ec06a144c0ad25 Mon Sep 17 00:00:00 2001
From: aws-sdk-go-automation
<43143561+aws-sdk-go-automation@users.noreply.github.com>
Date: Thu, 16 Nov 2023 14:38:26 -0500
Subject: [PATCH] Release v1.47.13 (2023-11-16) (#5074)
Release v1.47.13 (2023-11-16)
===
### Service Client Updates
* `service/dlm`: Updates service API and documentation
* `service/ec2`: Updates service API and documentation
* Enable use of tenant-specific PublicSigningKeyUrl from device trust providers and onboard jumpcloud as a new device trust provider.
* `service/fsx`: Updates service API and documentation
* `service/glue`: Updates service API, documentation, and paginators
* Introduces new column statistics APIs to support statistics generation for tables within the Glue Data Catalog.
* `service/imagebuilder`: Updates service API, documentation, and paginators
* `service/iot`: Updates service API and documentation
* GA release the ability to index and search devices based on their GeoLocation data. With GeoQueries you can narrow your search to retrieve devices located in the desired geographic boundary.
* `service/ivs-realtime`: Updates service API, documentation, and paginators
* `service/kafka`: Updates service API and documentation
* `service/lambda`: Updates service API and documentation
* Adds support for logging configuration in Lambda Functions. Customers will have more control how their function logs are captured and to which cloud watch log group they are delivered also.
* `service/macie2`: Updates service API and documentation
* `service/mediapackage`: Updates service API and documentation
* DRM_TOP_LEVEL_COMPACT allows placing content protection elements at the MPD level and referenced at the AdaptationSet level
* `service/pinpoint-sms-voice-v2`: Updates service API, documentation, and paginators
* `service/polly`: Updates service API and documentation
* Add new engine - long-form - dedicated for longer content, such as news articles, training materials, or marketing videos.
* `service/quicksight`: Updates service API, documentation, and paginators
* Custom permission support for QuickSight roles; Three new datasources STARBURST, TRINO, BIGQUERY; Lenient mode changes the default behavior to allow for exporting and importing with certain UI allowed errors, Support for permissions and tags export and import.
* `service/sagemaker`: Updates service API and documentation
* Amazon SageMaker Studio now supports Trainium instance types - trn1.2xlarge, trn1.32xlarge, trn1n.32xlarge.
* `service/ssm`: Updates service API and documentation
* This release introduces the ability to filter automation execution steps which have parent steps. In addition, runbook variable information is returned by GetAutomationExecution and parent step information is returned by the DescribeAutomationStepExecutions API.
* `service/ssm-incidents`: Updates service API, documentation, and paginators
* `service/sso-admin`: Updates service API, documentation, and paginators
* `service/transfer`: Updates service API and documentation
* Introduced S3StorageOptions for servers to enable directory listing optimizations and added Type fields to logical directory mappings.
---
CHANGELOG.md | 34 +
aws/endpoints/defaults.go | 114 +-
aws/version.go | 2 +-
models/apis/dlm/2018-01-12/api-2.json | 115 +-
models/apis/dlm/2018-01-12/docs-2.json | 175 +-
.../apis/dlm/2018-01-12/endpoint-tests-1.json | 11 -
models/apis/ec2/2016-11-15/api-2.json | 17 +-
models/apis/ec2/2016-11-15/docs-2.json | 9 +
models/apis/fsx/2018-03-01/api-2.json | 3 +-
models/apis/fsx/2018-03-01/docs-2.json | 9 +-
.../fsx/2018-03-01/endpoint-rule-set-1.json | 40 +-
models/apis/glue/2017-03-31/api-2.json | 233 +
models/apis/glue/2017-03-31/docs-2.json | 151 +
.../glue/2017-03-31/endpoint-tests-1.json | 11 -
models/apis/glue/2017-03-31/paginators-1.json | 10 +
.../apis/imagebuilder/2019-12-02/api-2.json | 748 +-
.../apis/imagebuilder/2019-12-02/docs-2.json | 594 +-
.../2019-12-02/endpoint-rule-set-1.json | 386 +-
.../imagebuilder/2019-12-02/paginators-1.json | 18 +
models/apis/iot/2015-05-28/api-2.json | 24 +-
models/apis/iot/2015-05-28/docs-2.json | 38 +-
.../apis/ivs-realtime/2020-07-14/api-2.json | 746 +-
.../apis/ivs-realtime/2020-07-14/docs-2.json | 475 +-
.../2020-07-14/endpoint-rule-set-1.json | 64 +-
.../ivs-realtime/2020-07-14/paginators-1.json | 15 +
models/apis/kafka/2018-11-14/api-2.json | 13 +
models/apis/kafka/2018-11-14/docs-2.json | 7 +
models/apis/lambda/2015-03-31/api-2.json | 50 +-
models/apis/lambda/2015-03-31/docs-2.json | 42 +-
models/apis/macie2/2020-01-01/api-2.json | 69 +-
models/apis/macie2/2020-01-01/docs-2.json | 64 +-
.../2020-01-01/endpoint-rule-set-1.json | 40 +-
.../apis/mediapackage/2017-10-12/api-2.json | 3 +-
.../apis/mediapackage/2017-10-12/docs-2.json | 2 +-
.../2017-10-12/endpoint-rule-set-1.json | 40 +-
.../2022-03-31/api-2.json | 3919 +++-
.../2022-03-31/docs-2.json | 1280 +-
.../2022-03-31/endpoint-rule-set-1.json | 314 +
.../2022-03-31/endpoint-tests-1.json | 444 +
.../2022-03-31/paginators-1.json | 54 +
models/apis/polly/2016-06-10/api-2.json | 3 +-
models/apis/polly/2016-06-10/docs-2.json | 16 +-
models/apis/quicksight/2018-04-01/api-2.json | 713 +-
models/apis/quicksight/2018-04-01/docs-2.json | 384 +-
.../quicksight/2018-04-01/paginators-1.json | 6 +
models/apis/sagemaker/2017-07-24/api-2.json | 27 +-
models/apis/sagemaker/2017-07-24/docs-2.json | 12 +
.../apis/ssm-incidents/2018-05-10/api-2.json | 181 +
.../apis/ssm-incidents/2018-05-10/docs-2.json | 196 +-
.../2018-05-10/endpoint-rule-set-1.json | 366 +-
.../2018-05-10/endpoint-tests-1.json | 146 +-
.../2018-05-10/paginators-1.json | 6 +
models/apis/ssm/2014-11-06/api-2.json | 27 +-
models/apis/ssm/2014-11-06/docs-2.json | 26 +-
models/apis/sso-admin/2020-07-20/api-2.json | 6768 ++++--
models/apis/sso-admin/2020-07-20/docs-2.json | 994 +-
.../2020-07-20/endpoint-rule-set-1.json | 44 +-
.../sso-admin/2020-07-20/paginators-1.json | 52 +
models/apis/transfer/2018-11-05/api-2.json | 42 +-
models/apis/transfer/2018-11-05/docs-2.json | 22 +-
models/endpoints/endpoints.json | 95 +-
service/dlm/api.go | 739 +-
service/ec2/api.go | 68 +
service/fsx/api.go | 31 +-
service/glue/api.go | 1499 ++
service/glue/errors.go | 23 +
service/glue/glueiface/interface.go | 26 +
service/imagebuilder/api.go | 17177 ++++++++------
.../imagebuilderiface/interface.go | 49 +
service/iot/api.go | 130 +-
service/ivsrealtime/api.go | 6972 ++++--
service/ivsrealtime/doc.go | 52 +-
.../ivsrealtime/ivsrealtimeiface/interface.go | 61 +-
service/kafka/api.go | 39 +
service/lambda/api.go | 203 +-
service/macie2/api.go | 254 +-
service/mediapackage/api.go | 8 +-
service/pinpointsmsvoicev2/api.go | 19349 ++++++++++++----
service/pinpointsmsvoicev2/doc.go | 19 +
.../pinpointsmsvoicev2iface/interface.go | 131 +
service/polly/api.go | 46 +-
service/quicksight/api.go | 3356 ++-
.../quicksight/quicksightiface/interface.go | 27 +
service/sagemaker/api.go | 38 +-
service/ssm/api.go | 137 +-
service/ssm/doc.go | 2 +-
service/ssmincidents/api.go | 1073 +-
.../ssmincidentsiface/interface.go | 15 +-
service/ssoadmin/api.go | 17734 ++++++++++----
service/ssoadmin/ssoadminiface/interface.go | 171 +
service/transfer/api.go | 129 +-
91 files changed, 69139 insertions(+), 20928 deletions(-)
create mode 100644 models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-rule-set-1.json
create mode 100644 models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-tests-1.json
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 72862a7dcbb..ab0f3c03034 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,37 @@
+Release v1.47.13 (2023-11-16)
+===
+
+### Service Client Updates
+* `service/dlm`: Updates service API and documentation
+* `service/ec2`: Updates service API and documentation
+ * Enable use of tenant-specific PublicSigningKeyUrl from device trust providers and onboard jumpcloud as a new device trust provider.
+* `service/fsx`: Updates service API and documentation
+* `service/glue`: Updates service API, documentation, and paginators
+ * Introduces new column statistics APIs to support statistics generation for tables within the Glue Data Catalog.
+* `service/imagebuilder`: Updates service API, documentation, and paginators
+* `service/iot`: Updates service API and documentation
+ * GA release the ability to index and search devices based on their GeoLocation data. With GeoQueries you can narrow your search to retrieve devices located in the desired geographic boundary.
+* `service/ivs-realtime`: Updates service API, documentation, and paginators
+* `service/kafka`: Updates service API and documentation
+* `service/lambda`: Updates service API and documentation
+ * Adds support for logging configuration in Lambda Functions. Customers will have more control how their function logs are captured and to which cloud watch log group they are delivered also.
+* `service/macie2`: Updates service API and documentation
+* `service/mediapackage`: Updates service API and documentation
+ * DRM_TOP_LEVEL_COMPACT allows placing content protection elements at the MPD level and referenced at the AdaptationSet level
+* `service/pinpoint-sms-voice-v2`: Updates service API, documentation, and paginators
+* `service/polly`: Updates service API and documentation
+ * Add new engine - long-form - dedicated for longer content, such as news articles, training materials, or marketing videos.
+* `service/quicksight`: Updates service API, documentation, and paginators
+ * Custom permission support for QuickSight roles; Three new datasources STARBURST, TRINO, BIGQUERY; Lenient mode changes the default behavior to allow for exporting and importing with certain UI allowed errors, Support for permissions and tags export and import.
+* `service/sagemaker`: Updates service API and documentation
+ * Amazon SageMaker Studio now supports Trainium instance types - trn1.2xlarge, trn1.32xlarge, trn1n.32xlarge.
+* `service/ssm`: Updates service API and documentation
+ * This release introduces the ability to filter automation execution steps which have parent steps. In addition, runbook variable information is returned by GetAutomationExecution and parent step information is returned by the DescribeAutomationStepExecutions API.
+* `service/ssm-incidents`: Updates service API, documentation, and paginators
+* `service/sso-admin`: Updates service API, documentation, and paginators
+* `service/transfer`: Updates service API and documentation
+ * Introduced S3StorageOptions for servers to enable directory listing optimizations and added Type fields to logical directory mappings.
+
Release v1.47.12 (2023-11-15)
===
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index 1a59bd2ed4c..b00f78543b4 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -3977,6 +3977,12 @@ var awsPartition = partition{
endpointKey{
Region: "ca-central-1",
}: endpoint{},
+ endpointKey{
+ Region: "ca-central-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "autoscaling-fips.ca-central-1.amazonaws.com",
+ },
endpointKey{
Region: "eu-central-1",
}: endpoint{},
@@ -4001,6 +4007,51 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-3",
}: endpoint{},
+ endpointKey{
+ Region: "fips-ca-central-1",
+ }: endpoint{
+ Hostname: "autoscaling-fips.ca-central-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "ca-central-1",
+ },
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "fips-us-east-1",
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-1",
+ },
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "fips-us-east-2",
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-east-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-2",
+ },
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "fips-us-west-1",
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-1",
+ },
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "fips-us-west-2",
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-west-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-2",
+ },
+ Deprecated: boxedTrue,
+ },
endpointKey{
Region: "il-central-1",
}: endpoint{},
@@ -4016,15 +4067,39 @@ var awsPartition = partition{
endpointKey{
Region: "us-east-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-east-1.amazonaws.com",
+ },
endpointKey{
Region: "us-east-2",
}: endpoint{},
+ endpointKey{
+ Region: "us-east-2",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-east-2.amazonaws.com",
+ },
endpointKey{
Region: "us-west-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-west-1.amazonaws.com",
+ },
endpointKey{
Region: "us-west-2",
}: endpoint{},
+ endpointKey{
+ Region: "us-west-2",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "autoscaling-fips.us-west-2.amazonaws.com",
+ },
},
},
"autoscaling-plans": service{
@@ -11790,6 +11865,9 @@ var awsPartition = partition{
},
"emr-serverless": service{
Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "af-south-1",
+ }: endpoint{},
endpointKey{
Region: "ap-east-1",
}: endpoint{},
@@ -11799,6 +11877,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-northeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ap-northeast-3",
+ }: endpoint{},
endpointKey{
Region: "ap-south-1",
}: endpoint{},
@@ -11808,6 +11889,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
+ endpointKey{
+ Region: "ap-southeast-3",
+ }: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@@ -11823,6 +11907,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-north-1",
}: endpoint{},
+ endpointKey{
+ Region: "eu-south-1",
+ }: endpoint{},
endpointKey{
Region: "eu-west-1",
}: endpoint{},
@@ -40232,20 +40319,40 @@ var awsusgovPartition = partition{
"simspaceweaver": service{
Endpoints: serviceEndpoints{
endpointKey{
- Region: "us-gov-east-1",
+ Region: "fips-us-gov-east-1",
}: endpoint{
Hostname: "simspaceweaver.us-gov-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-east-1",
},
+ Deprecated: boxedTrue,
},
endpointKey{
- Region: "us-gov-west-1",
+ Region: "fips-us-gov-west-1",
}: endpoint{
Hostname: "simspaceweaver.us-gov-west-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "us-gov-west-1",
},
+ Deprecated: boxedTrue,
+ },
+ endpointKey{
+ Region: "us-gov-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-east-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "simspaceweaver.us-gov-east-1.amazonaws.com",
+ },
+ endpointKey{
+ Region: "us-gov-west-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-gov-west-1",
+ Variant: fipsVariant,
+ }: endpoint{
+ Hostname: "simspaceweaver.us-gov-west-1.amazonaws.com",
},
},
},
@@ -41539,6 +41646,9 @@ var awsisoPartition = partition{
endpointKey{
Region: "us-iso-east-1",
}: endpoint{},
+ endpointKey{
+ Region: "us-iso-west-1",
+ }: endpoint{},
},
},
"ec2": service{
diff --git a/aws/version.go b/aws/version.go
index 423e11d6712..31adcf787a9 100644
--- a/aws/version.go
+++ b/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.47.12"
+const SDKVersion = "1.47.13"
diff --git a/models/apis/dlm/2018-01-12/api-2.json b/models/apis/dlm/2018-01-12/api-2.json
index 219ea548544..65381d9049a 100644
--- a/models/apis/dlm/2018-01-12/api-2.json
+++ b/models/apis/dlm/2018-01-12/api-2.json
@@ -31,7 +31,7 @@
"name":"DeleteLifecyclePolicy",
"http":{
"method":"DELETE",
- "requestUri":"/policies/{policyId}/"
+ "requestUri":"/policies/{policyId}"
},
"input":{"shape":"DeleteLifecyclePolicyRequest"},
"output":{"shape":"DeleteLifecyclePolicyResponse"},
@@ -60,7 +60,7 @@
"name":"GetLifecyclePolicy",
"http":{
"method":"GET",
- "requestUri":"/policies/{policyId}/"
+ "requestUri":"/policies/{policyId}"
},
"input":{"shape":"GetLifecyclePolicyRequest"},
"output":{"shape":"GetLifecyclePolicyResponse"},
@@ -197,20 +197,30 @@
"max":1000,
"min":1
},
+ "CreateInterval":{
+ "type":"integer",
+ "min":1
+ },
"CreateLifecyclePolicyRequest":{
"type":"structure",
"required":[
"ExecutionRoleArn",
"Description",
- "State",
- "PolicyDetails"
+ "State"
],
"members":{
"ExecutionRoleArn":{"shape":"ExecutionRoleArn"},
"Description":{"shape":"PolicyDescription"},
"State":{"shape":"SettablePolicyStateValues"},
"PolicyDetails":{"shape":"PolicyDetails"},
- "Tags":{"shape":"TagMap"}
+ "Tags":{"shape":"TagMap"},
+ "DefaultPolicy":{"shape":"DefaultPolicyTypeValues"},
+ "CreateInterval":{"shape":"CreateInterval"},
+ "RetainInterval":{"shape":"RetainInterval"},
+ "CopyTags":{"shape":"CopyTagsNullable"},
+ "ExtendDeletion":{"shape":"ExtendDeletion"},
+ "CrossRegionCopyTargets":{"shape":"CrossRegionCopyTargetList"},
+ "Exclusions":{"shape":"Exclusions"}
}
},
"CreateLifecyclePolicyResponse":{
@@ -287,6 +297,34 @@
"max":3,
"min":0
},
+ "CrossRegionCopyTarget":{
+ "type":"structure",
+ "members":{
+ "TargetRegion":{"shape":"TargetRegion"}
+ }
+ },
+ "CrossRegionCopyTargetList":{
+ "type":"list",
+ "member":{"shape":"CrossRegionCopyTarget"},
+ "max":3,
+ "min":0
+ },
+ "DefaultPoliciesTypeValues":{
+ "type":"string",
+ "enum":[
+ "VOLUME",
+ "INSTANCE",
+ "ALL"
+ ]
+ },
+ "DefaultPolicy":{"type":"boolean"},
+ "DefaultPolicyTypeValues":{
+ "type":"string",
+ "enum":[
+ "VOLUME",
+ "INSTANCE"
+ ]
+ },
"DeleteLifecyclePolicyRequest":{
"type":"structure",
"required":["PolicyId"],
@@ -358,12 +396,33 @@
"enum":["shareSnapshot"]
},
"ExcludeBootVolume":{"type":"boolean"},
+ "ExcludeBootVolumes":{"type":"boolean"},
"ExcludeDataVolumeTagList":{
"type":"list",
"member":{"shape":"Tag"},
"max":50,
"min":0
},
+ "ExcludeTagsList":{
+ "type":"list",
+ "member":{"shape":"Tag"},
+ "max":50,
+ "min":0
+ },
+ "ExcludeVolumeTypesList":{
+ "type":"list",
+ "member":{"shape":"VolumeTypeValues"},
+ "max":6,
+ "min":0
+ },
+ "Exclusions":{
+ "type":"structure",
+ "members":{
+ "ExcludeBootVolumes":{"shape":"ExcludeBootVolumes"},
+ "ExcludeVolumeTypes":{"shape":"ExcludeVolumeTypesList"},
+ "ExcludeTags":{"shape":"ExcludeTagsList"}
+ }
+ },
"ExecuteOperationOnScriptFailure":{"type":"boolean"},
"ExecutionHandler":{
"type":"string",
@@ -381,6 +440,7 @@
"min":0,
"pattern":"arn:aws(-[a-z]{1,3}){0,2}:iam::\\d+:role/.*"
},
+ "ExtendDeletion":{"type":"boolean"},
"FastRestoreRule":{
"type":"structure",
"required":["AvailabilityZones"],
@@ -418,6 +478,11 @@
"shape":"TagsToAddFilterList",
"location":"querystring",
"locationName":"tagsToAdd"
+ },
+ "DefaultPolicyType":{
+ "shape":"DefaultPoliciesTypeValues",
+ "location":"querystring",
+ "locationName":"defaultPolicyType"
}
}
},
@@ -492,7 +557,8 @@
"DateModified":{"shape":"Timestamp"},
"PolicyDetails":{"shape":"PolicyDetails"},
"Tags":{"shape":"TagMap"},
- "PolicyArn":{"shape":"PolicyArn"}
+ "PolicyArn":{"shape":"PolicyArn"},
+ "DefaultPolicy":{"shape":"DefaultPolicy"}
}
},
"LifecyclePolicySummary":{
@@ -502,7 +568,8 @@
"Description":{"shape":"PolicyDescription"},
"State":{"shape":"GettablePolicyStateValues"},
"Tags":{"shape":"TagMap"},
- "PolicyType":{"shape":"PolicyTypeValues"}
+ "PolicyType":{"shape":"PolicyTypeValues"},
+ "DefaultPolicy":{"shape":"DefaultPolicy"}
}
},
"LifecyclePolicySummaryList":{
@@ -579,19 +646,34 @@
"Schedules":{"shape":"ScheduleList"},
"Parameters":{"shape":"Parameters"},
"EventSource":{"shape":"EventSource"},
- "Actions":{"shape":"ActionList"}
+ "Actions":{"shape":"ActionList"},
+ "PolicyLanguage":{"shape":"PolicyLanguageValues"},
+ "ResourceType":{"shape":"ResourceTypeValues"},
+ "CreateInterval":{"shape":"CreateInterval"},
+ "RetainInterval":{"shape":"RetainInterval"},
+ "CopyTags":{"shape":"CopyTagsNullable"},
+ "CrossRegionCopyTargets":{"shape":"CrossRegionCopyTargetList"},
+ "ExtendDeletion":{"shape":"ExtendDeletion"},
+ "Exclusions":{"shape":"Exclusions"}
}
},
"PolicyId":{
"type":"string",
"max":64,
"min":0,
- "pattern":"policy-[A-Za-z0-9]+"
+ "pattern":"policy-[a-f0-9]+"
},
"PolicyIdList":{
"type":"list",
"member":{"shape":"PolicyId"}
},
+ "PolicyLanguageValues":{
+ "type":"string",
+ "enum":[
+ "SIMPLIFIED",
+ "STANDARD"
+ ]
+ },
"PolicyTypeValues":{
"type":"string",
"enum":[
@@ -637,6 +719,10 @@
"max":1,
"min":1
},
+ "RetainInterval":{
+ "type":"integer",
+ "min":1
+ },
"RetainRule":{
"type":"structure",
"members":{
@@ -933,7 +1019,13 @@
"ExecutionRoleArn":{"shape":"ExecutionRoleArn"},
"State":{"shape":"SettablePolicyStateValues"},
"Description":{"shape":"PolicyDescription"},
- "PolicyDetails":{"shape":"PolicyDetails"}
+ "PolicyDetails":{"shape":"PolicyDetails"},
+ "CreateInterval":{"shape":"CreateInterval"},
+ "RetainInterval":{"shape":"RetainInterval"},
+ "CopyTags":{"shape":"CopyTagsNullable"},
+ "ExtendDeletion":{"shape":"ExtendDeletion"},
+ "CrossRegionCopyTargets":{"shape":"CrossRegionCopyTargetList"},
+ "Exclusions":{"shape":"Exclusions"}
}
},
"UpdateLifecyclePolicyResponse":{
@@ -946,6 +1038,7 @@
"member":{"shape":"Tag"},
"max":45,
"min":0
- }
+ },
+ "VolumeTypeValues":{"type":"string"}
}
}
diff --git a/models/apis/dlm/2018-01-12/docs-2.json b/models/apis/dlm/2018-01-12/docs-2.json
index 26a3d44a891..7fb49df62d0 100644
--- a/models/apis/dlm/2018-01-12/docs-2.json
+++ b/models/apis/dlm/2018-01-12/docs-2.json
@@ -2,7 +2,7 @@
"version": "2.0",
"service": "Amazon Data Lifecycle Manager
With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create lifecycle policies, which are used to automate operations on the specified resources.
Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager with Amazon EBS, see Amazon Data Lifecycle Manager in the Amazon EC2 User Guide.
",
"operations": {
- "CreateLifecyclePolicy": "Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can create up to 100 lifecycle policies.
",
+ "CreateLifecyclePolicy": "Creates an Amazon Data Lifecycle Manager lifecycle policy. Amazon Data Lifecycle Manager supports the following policy types:
-
Custom EBS snapshot policy
-
Custom EBS-backed AMI policy
-
Cross-account copy event policy
-
Default policy for EBS snapshots
-
Default policy for EBS-backed AMIs
For more information, see Default policies vs custom policies.
If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.
",
"DeleteLifecyclePolicy": "Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
For more information about deleting a policy, see Delete lifecycle policies.
",
"GetLifecyclePolicies": "Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
",
"GetLifecyclePolicy": "Gets detailed information about the specified lifecycle policy.
",
@@ -31,15 +31,15 @@
}
},
"ArchiveRetainRule": {
- "base": " [Snapshot policies only] Specifies information about the archive storage tier retention period.
",
+ "base": " [Custom snapshot policies only] Specifies information about the archive storage tier retention period.
",
"refs": {
"ArchiveRule$RetainRule": "Information about the retention period for the snapshot archiving rule.
"
}
},
"ArchiveRule": {
- "base": " [Snapshot policies only] Specifies a snapshot archiving rule for a schedule.
",
+ "base": " [Custom snapshot policies only] Specifies a snapshot archiving rule for a schedule.
",
"refs": {
- "Schedule$ArchiveRule": " [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.
For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.
"
+ "Schedule$ArchiveRule": " [Custom snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.
For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.
"
}
},
"AvailabilityZone": {
@@ -77,7 +77,10 @@
"CopyTagsNullable": {
"base": null,
"refs": {
- "CrossRegionCopyRule$CopyTags": "Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.
"
+ "CreateLifecyclePolicyRequest$CopyTags": " [Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI. If you do not specify a value, the default is false
.
Default: false
",
+ "CrossRegionCopyRule$CopyTags": "Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.
",
+ "PolicyDetails$CopyTags": " [Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI. If you do not specify a value, the default is false
.
Default: false
",
+ "UpdateLifecyclePolicyRequest$CopyTags": " [Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI.
"
}
},
"Count": {
@@ -88,6 +91,14 @@
"RetentionArchiveTier$Count": "The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.
"
}
},
+ "CreateInterval": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$CreateInterval": " [Default policies only] Specifies how often the policy should run and create snapshots or AMIs. The creation frequency can range from 1 to 7 days. If you do not specify a value, the default is 1.
Default: 1
",
+ "PolicyDetails$CreateInterval": " [Default policies only] Specifies how often the policy should run and create snapshots or AMIs. The creation frequency can range from 1 to 7 days. If you do not specify a value, the default is 1.
Default: 1
",
+ "UpdateLifecyclePolicyRequest$CreateInterval": " [Default policies only] Specifies how often the policy should run and create snapshots or AMIs. The creation frequency can range from 1 to 7 days.
"
+ }
+ },
"CreateLifecyclePolicyRequest": {
"base": null,
"refs": {
@@ -99,7 +110,7 @@
}
},
"CreateRule": {
- "base": " [Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.
-
You must specify either CronExpression, or Interval, IntervalUnit, and Times.
-
If you need to specify an ArchiveRule for the schedule, then you must specify a creation frequency of at least 28 days.
",
+ "base": " [Custom snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.
-
You must specify either CronExpression, or Interval, IntervalUnit, and Times.
-
If you need to specify an ArchiveRule for the schedule, then you must specify a creation frequency of at least 28 days.
",
"refs": {
"Schedule$CreateRule": "The creation rule.
"
}
@@ -123,9 +134,9 @@
}
},
"CrossRegionCopyDeprecateRule": {
- "base": " [AMI policies only] Specifies an AMI deprecation rule for cross-Region AMI copies created by an AMI policy.
",
+ "base": " [Custom AMI policies only] Specifies an AMI deprecation rule for cross-Region AMI copies created by an AMI policy.
",
"refs": {
- "CrossRegionCopyRule$DeprecateRule": " [AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.
"
+ "CrossRegionCopyRule$DeprecateRule": " [Custom AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.
"
}
},
"CrossRegionCopyRetainRule": {
@@ -136,7 +147,7 @@
}
},
"CrossRegionCopyRule": {
- "base": " [Snapshot and AMI policies only] Specifies a cross-Region copy rule for a snapshot and AMI policies.
To specify a cross-Region copy action for event-based polices, use CrossRegionCopyAction.
",
+ "base": " [Custom snapshot and AMI policies only] Specifies a cross-Region copy rule for a snapshot and AMI policies.
To specify a cross-Region copy action for event-based polices, use CrossRegionCopyAction.
",
"refs": {
"CrossRegionCopyRules$member": null
}
@@ -147,6 +158,39 @@
"Schedule$CrossRegionCopyRules": "Specifies a rule for copying snapshots or AMIs across regions.
You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
"
}
},
+ "CrossRegionCopyTarget": {
+ "base": " [Default policies only] Specifies a destination Region for cross-Region copy actions.
",
+ "refs": {
+ "CrossRegionCopyTargetList$member": null
+ }
+ },
+ "CrossRegionCopyTargetList": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$CrossRegionCopyTargets": " [Default policies only] Specifies destination Regions for snapshot or AMI copies. You can specify up to 3 destination Regions. If you do not want to create cross-Region copies, omit this parameter.
",
+ "PolicyDetails$CrossRegionCopyTargets": " [Default policies only] Specifies destination Regions for snapshot or AMI copies. You can specify up to 3 destination Regions. If you do not want to create cross-Region copies, omit this parameter.
",
+ "UpdateLifecyclePolicyRequest$CrossRegionCopyTargets": " [Default policies only] Specifies destination Regions for snapshot or AMI copies. You can specify up to 3 destination Regions. If you do not want to create cross-Region copies, omit this parameter.
"
+ }
+ },
+ "DefaultPoliciesTypeValues": {
+ "base": null,
+ "refs": {
+ "GetLifecyclePoliciesRequest$DefaultPolicyType": " [Default policies only] Specifies the type of default policy to get. Specify one of the following:
-
VOLUME
- To get only the default policy for EBS snapshots
-
INSTANCE
- To get only the default policy for EBS-backed AMIs
-
ALL
- To get all default policies
"
+ }
+ },
+ "DefaultPolicy": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicy$DefaultPolicy": " [Default policies only] The type of default policy. Values include:
",
+ "LifecyclePolicySummary$DefaultPolicy": " [Default policies only] The type of default policy. Values include:
"
+ }
+ },
+ "DefaultPolicyTypeValues": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$DefaultPolicy": " [Default policies only] Specify the type of default policy to create.
-
To create a default policy for EBS snapshots, that creates snapshots of all volumes in the Region that do not have recent backups, specify VOLUME
.
-
To create a default policy for EBS-backed AMIs, that creates EBS-backed AMIs from all instances in the Region that do not have recent backups, specify INSTANCE
.
"
+ }
+ },
"DeleteLifecyclePolicyRequest": {
"base": null,
"refs": {
@@ -158,9 +202,9 @@
}
},
"DeprecateRule": {
- "base": " [AMI policies only] Specifies an AMI deprecation rule for AMIs created by an AMI lifecycle policy.
For age-based schedules, you must specify Interval and IntervalUnit. For count-based schedules, you must specify Count.
",
+ "base": " [Custom AMI policies only] Specifies an AMI deprecation rule for AMIs created by an AMI lifecycle policy.
For age-based schedules, you must specify Interval and IntervalUnit. For count-based schedules, you must specify Count.
",
"refs": {
- "Schedule$DeprecateRule": " [AMI policies only] The AMI deprecation rule for the schedule.
"
+ "Schedule$DeprecateRule": " [Custom AMI policies only] The AMI deprecation rule for the schedule.
"
}
},
"DescriptionRegex": {
@@ -227,13 +271,39 @@
"ExcludeBootVolume": {
"base": null,
"refs": {
- "Parameters$ExcludeBootVolume": " [Snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false
. If you specify true
, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
"
+ "Parameters$ExcludeBootVolume": " [Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false
. If you specify true
, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
"
+ }
+ },
+ "ExcludeBootVolumes": {
+ "base": null,
+ "refs": {
+ "Exclusions$ExcludeBootVolumes": " [Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify true
.
"
}
},
"ExcludeDataVolumeTagList": {
"base": null,
"refs": {
- "Parameters$ExcludeDataVolumeTags": " [Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
"
+ "Parameters$ExcludeDataVolumeTags": " [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
"
+ }
+ },
+ "ExcludeTagsList": {
+ "base": null,
+ "refs": {
+ "Exclusions$ExcludeTags": " [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
"
+ }
+ },
+ "ExcludeVolumeTypesList": {
+ "base": null,
+ "refs": {
+ "Exclusions$ExcludeVolumeTypes": " [Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
"
+ }
+ },
+ "Exclusions": {
+ "base": " [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
",
+ "refs": {
+ "CreateLifecyclePolicyRequest$Exclusions": " [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
",
+ "PolicyDetails$Exclusions": " [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
",
+ "UpdateLifecyclePolicyRequest$Exclusions": " [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
"
}
},
"ExecuteOperationOnScriptFailure": {
@@ -262,10 +332,18 @@
"UpdateLifecyclePolicyRequest$ExecutionRoleArn": "The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
"
}
},
+ "ExtendDeletion": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$ExtendDeletion": " [Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state.
By default (ExtendDeletion=false):
-
If a source resource is deleted, Amazon Data Lifecycle Manager will continue to delete previously created snapshots or AMIs, up to but not including the last one, based on the specified retention period. If you want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including the last one, specify true
.
-
If a policy enters the error, disabled, or deleted state, Amazon Data Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon Data Lifecycle Manager to continue deleting snapshots or AMIs, including the last one, if the policy enters one of these states, specify true
.
If you enable extended deletion (ExtendDeletion=true), you override both default behaviors simultaneously.
If you do not specify a value, the default is false
.
Default: false
",
+ "PolicyDetails$ExtendDeletion": " [Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state.
By default (ExtendDeletion=false):
-
If a source resource is deleted, Amazon Data Lifecycle Manager will continue to delete previously created snapshots or AMIs, up to but not including the last one, based on the specified retention period. If you want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including the last one, specify true
.
-
If a policy enters the error, disabled, or deleted state, Amazon Data Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon Data Lifecycle Manager to continue deleting snapshots or AMIs, including the last one, if the policy enters one of these states, specify true
.
If you enable extended deletion (ExtendDeletion=true), you override both default behaviors simultaneously.
If you do not specify a value, the default is false
.
Default: false
",
+ "UpdateLifecyclePolicyRequest$ExtendDeletion": " [Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state.
By default (ExtendDeletion=false):
-
If a source resource is deleted, Amazon Data Lifecycle Manager will continue to delete previously created snapshots or AMIs, up to but not including the last one, based on the specified retention period. If you want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including the last one, specify true
.
-
If a policy enters the error, disabled, or deleted state, Amazon Data Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon Data Lifecycle Manager to continue deleting snapshots or AMIs, including the last one, if the policy enters one of these states, specify true
.
If you enable extended deletion (ExtendDeletion=true), you override both default behaviors simultaneously.
Default: false
"
+ }
+ },
"FastRestoreRule": {
- "base": " [Snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by snapshot policies. You can enable fast snapshot restore based on either a count or a time interval.
",
+ "base": " [Custom snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by snapshot policies. You can enable fast snapshot restore based on either a count or a time interval.
",
"refs": {
- "Schedule$FastRestoreRule": " [Snapshot policies only] The rule for enabling fast snapshot restore.
"
+ "Schedule$FastRestoreRule": " [Custom snapshot policies only] The rule for enabling fast snapshot restore.
"
}
},
"GetLifecyclePoliciesRequest": {
@@ -325,7 +403,7 @@
}
},
"LifecyclePolicy": {
- "base": " [All policy types] Detailed information about a snapshot, AMI, or event-based lifecycle policy.
",
+ "base": " [Custom policies only] Detailed information about a snapshot, AMI, or event-based lifecycle policy.
",
"refs": {
"GetLifecyclePolicyResponse$Policy": "Detailed information about the lifecycle policy.
"
}
@@ -360,13 +438,13 @@
"LocationValues": {
"base": null,
"refs": {
- "CreateRule$Location": " [Snapshot policies only] Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD
. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL
. If you omit this parameter, CLOUD
is used by default.
If the policy targets resources in an Amazon Web Services Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
"
+ "CreateRule$Location": " [Custom snapshot policies only] Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD
. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL
. If you omit this parameter, CLOUD
is used by default.
If the policy targets resources in an Amazon Web Services Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
"
}
},
"NoReboot": {
"base": null,
"refs": {
- "Parameters$NoReboot": " [AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true
indicates that targeted instances are not rebooted when the policy runs. false
indicates that target instances are rebooted when the policy runs. The default is true
(instances are not rebooted).
"
+ "Parameters$NoReboot": " [Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true
indicates that targeted instances are not rebooted when the policy runs. false
indicates that target instances are rebooted when the policy runs. The default is true
(instances are not rebooted).
"
}
},
"Parameter": {
@@ -383,9 +461,9 @@
}
},
"Parameters": {
- "base": " [Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The set of valid parameters depends on the combination of policy type and target resource type.
If you choose to exclude boot volumes and you specify tags that consequently exclude all of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create any snapshots for the affected instance, and it will emit a SnapshotsCreateFailed
Amazon CloudWatch metric. For more information, see Monitor your policies using Amazon CloudWatch.
",
+ "base": " [Custom snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The set of valid parameters depends on the combination of policy type and target resource type.
If you choose to exclude boot volumes and you specify tags that consequently exclude all of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create any snapshots for the affected instance, and it will emit a SnapshotsCreateFailed
Amazon CloudWatch metric. For more information, see Monitor your policies using Amazon CloudWatch.
",
"refs": {
- "PolicyDetails$Parameters": " [Snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies.
If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.
"
+ "PolicyDetails$Parameters": " [Custom snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies.
If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can't omit this parameter or set its values to null.
"
}
},
"PolicyArn": {
@@ -407,9 +485,9 @@
}
},
"PolicyDetails": {
- "base": " [All policy types] Specifies the configuration of a lifecycle policy.
",
+ "base": "Specifies the configuration of a lifecycle policy.
",
"refs": {
- "CreateLifecyclePolicyRequest$PolicyDetails": "The configuration details of the lifecycle policy.
",
+ "CreateLifecyclePolicyRequest$PolicyDetails": "The configuration details of the lifecycle policy.
If you create a default policy, you can specify the request parameters either in the request body, or in the PolicyDetails request structure, but not both.
",
"LifecyclePolicy$PolicyDetails": "The configuration of the lifecycle policy
",
"UpdateLifecyclePolicyRequest$PolicyDetails": "The configuration of the lifecycle policy. You cannot update the policy type or the resource type.
"
}
@@ -433,17 +511,23 @@
"ResourceNotFoundException$ResourceIds": "Value is a list of resource IDs that were not found.
"
}
},
+ "PolicyLanguageValues": {
+ "base": null,
+ "refs": {
+ "PolicyDetails$PolicyLanguage": "The type of policy to create. Specify one of the following:
"
+ }
+ },
"PolicyTypeValues": {
"base": null,
"refs": {
"LifecyclePolicySummary$PolicyType": "The type of policy. EBS_SNAPSHOT_MANAGEMENT
indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT
indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY
indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.
",
- "PolicyDetails$PolicyType": " [All policy types] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT
to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT
to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY
to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.
The default is EBS_SNAPSHOT_MANAGEMENT
.
"
+ "PolicyDetails$PolicyType": " [Custom policies only] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT
to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT
to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY
to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.
The default is EBS_SNAPSHOT_MANAGEMENT
.
"
}
},
"ResourceLocationList": {
"base": null,
"refs": {
- "PolicyDetails$ResourceLocations": " [Snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an Amazon Web Services Region, specify CLOUD
. If the source resources are located on an Outpost in your account, specify OUTPOST
.
If you specify OUTPOST
, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.
"
+ "PolicyDetails$ResourceLocations": " [Custom snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an Amazon Web Services Region, specify CLOUD
. If the source resources are located on an Outpost in your account, specify OUTPOST
.
If you specify OUTPOST
, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account.
"
}
},
"ResourceLocationValues": {
@@ -460,6 +544,7 @@
"ResourceTypeValues": {
"base": null,
"refs": {
+ "PolicyDetails$ResourceType": " [Default policies only] Specify the type of default policy to create.
-
To create a default policy for EBS snapshots, that creates snapshots of all volumes in the Region that do not have recent backups, specify VOLUME
.
-
To create a default policy for EBS-backed AMIs, that creates EBS-backed AMIs from all instances in the Region that do not have recent backups, specify INSTANCE
.
",
"ResourceTypeValuesList$member": null
}
},
@@ -467,17 +552,25 @@
"base": null,
"refs": {
"GetLifecyclePoliciesRequest$ResourceTypes": "The resource type.
",
- "PolicyDetails$ResourceTypes": " [Snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME
to create snapshots of individual volumes or use INSTANCE
to create multi-volume snapshots from the volumes for an instance.
"
+ "PolicyDetails$ResourceTypes": " [Custom snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME
to create snapshots of individual volumes or use INSTANCE
to create multi-volume snapshots from the volumes for an instance.
"
+ }
+ },
+ "RetainInterval": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$RetainInterval": " [Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time. If you do not specify a value, the default is 7.
Default: 7
",
+ "PolicyDetails$RetainInterval": " [Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time. If you do not specify a value, the default is 7.
Default: 7
",
+ "UpdateLifecyclePolicyRequest$RetainInterval": " [Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time.
"
}
},
"RetainRule": {
- "base": " [Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies, or for AMIs created by AMI policies.
For snapshot policies that have an ArchiveRule, this retention rule applies to standard tier retention. When the retention threshold is met, snapshots are moved from the standard to the archive tier.
For snapshot policies that do not have an ArchiveRule, snapshots are permanently deleted when this retention threshold is met.
You can retain snapshots based on either a count or a time interval.
-
Count-based retention
You must specify Count. If you specify an ArchiveRule for the schedule, then you can specify a retention count of 0
to archive snapshots immediately after creation. If you specify a FastRestoreRule, ShareRule, or a CrossRegionCopyRule, then you must specify a retention count of 1
or more.
-
Age-based retention
You must specify Interval and IntervalUnit. If you specify an ArchiveRule for the schedule, then you can specify a retention interval of 0
days to archive snapshots immediately after creation. If you specify a FastRestoreRule, ShareRule, or a CrossRegionCopyRule, then you must specify a retention interval of 1
day or more.
",
+ "base": " [Custom snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies, or for AMIs created by AMI policies.
For snapshot policies that have an ArchiveRule, this retention rule applies to standard tier retention. When the retention threshold is met, snapshots are moved from the standard to the archive tier.
For snapshot policies that do not have an ArchiveRule, snapshots are permanently deleted when this retention threshold is met.
You can retain snapshots based on either a count or a time interval.
-
Count-based retention
You must specify Count. If you specify an ArchiveRule for the schedule, then you can specify a retention count of 0
to archive snapshots immediately after creation. If you specify a FastRestoreRule, ShareRule, or a CrossRegionCopyRule, then you must specify a retention count of 1
or more.
-
Age-based retention
You must specify Interval and IntervalUnit. If you specify an ArchiveRule for the schedule, then you can specify a retention interval of 0
days to archive snapshots immediately after creation. If you specify a FastRestoreRule, ShareRule, or a CrossRegionCopyRule, then you must specify a retention interval of 1
day or more.
",
"refs": {
"Schedule$RetainRule": "The retention rule for snapshots or AMIs created by the policy.
"
}
},
"RetentionArchiveTier": {
- "base": " [Snapshot policies only] Describes the retention rule for archived snapshots. Once the archive retention threshold is met, the snapshots are permanently deleted from the archive tier.
The archive retention rule must retain snapshots in the archive tier for a minimum of 90 days.
For count-based schedules, you must specify Count. For age-based schedules, you must specify Interval and IntervalUnit.
For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.
",
+ "base": " [Custom snapshot policies only] Describes the retention rule for archived snapshots. Once the archive retention threshold is met, the snapshots are permanently deleted from the archive tier.
The archive retention rule must retain snapshots in the archive tier for a minimum of 90 days.
For count-based schedules, you must specify Count. For age-based schedules, you must specify Interval and IntervalUnit.
For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.
",
"refs": {
"ArchiveRetainRule$RetentionArchiveTier": "Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
"
}
@@ -495,7 +588,7 @@
}
},
"Schedule": {
- "base": " [Snapshot and AMI policies only] Specifies a schedule for a snapshot or AMI lifecycle policy.
",
+ "base": " [Custom snapshot and AMI policies only] Specifies a schedule for a snapshot or AMI lifecycle policy.
",
"refs": {
"ScheduleList$member": null
}
@@ -503,7 +596,7 @@
"ScheduleList": {
"base": null,
"refs": {
- "PolicyDetails$Schedules": " [Snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.
"
+ "PolicyDetails$Schedules": " [Custom snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.
"
}
},
"ScheduleName": {
@@ -513,7 +606,7 @@
}
},
"Script": {
- "base": " [Snapshot policies that target instances only] Information about pre and/or post scripts for a snapshot lifecycle policy that targets instances. For more information, see Automating application-consistent snapshots with pre and post scripts.
",
+ "base": " [Custom snapshot policies that target instances only] Information about pre and/or post scripts for a snapshot lifecycle policy that targets instances. For more information, see Automating application-consistent snapshots with pre and post scripts.
",
"refs": {
"ScriptsList$member": null
}
@@ -533,18 +626,18 @@
"ScriptsList": {
"base": null,
"refs": {
- "CreateRule$Scripts": " [Snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation.
For more information, see Automating application-consistent snapshots with pre and post scripts.
"
+ "CreateRule$Scripts": " [Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation.
For more information, see Automating application-consistent snapshots with pre and post scripts.
"
}
},
"SettablePolicyStateValues": {
"base": null,
"refs": {
- "CreateLifecyclePolicyRequest$State": "The desired activation state of the lifecycle policy after creation.
",
+ "CreateLifecyclePolicyRequest$State": "The activation state of the lifecycle policy after creation.
",
"UpdateLifecyclePolicyRequest$State": "The desired activation state of the lifecycle policy after creation.
"
}
},
"ShareRule": {
- "base": " [Snapshot policies only] Specifies a rule for sharing snapshots across Amazon Web Services accounts.
",
+ "base": " [Custom snapshot policies only] Specifies a rule for sharing snapshots across Amazon Web Services accounts.
",
"refs": {
"ShareRules$member": null
}
@@ -552,7 +645,7 @@
"ShareRules": {
"base": null,
"refs": {
- "Schedule$ShareRules": " [Snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.
"
+ "Schedule$ShareRules": " [Custom snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.
"
}
},
"ShareTargetAccountList": {
@@ -610,6 +703,7 @@
"base": "Specifies a tag for a resource.
",
"refs": {
"ExcludeDataVolumeTagList$member": null,
+ "ExcludeTagsList$member": null,
"TagsToAddList$member": null,
"TargetTagList$member": null,
"VariableTagsList$member": null
@@ -677,19 +771,20 @@
"base": null,
"refs": {
"CrossRegionCopyAction$Target": "The target Region.
",
- "CrossRegionCopyRule$Target": " Use this parameter for snapshot policies only. For AMI policies, use TargetRegion instead.
[Snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
"
+ "CrossRegionCopyRule$Target": " Use this parameter for snapshot policies only. For AMI policies, use TargetRegion instead.
[Custom snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
"
}
},
"TargetRegion": {
"base": null,
"refs": {
- "CrossRegionCopyRule$TargetRegion": " Use this parameter for AMI policies only. For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.
[AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
"
+ "CrossRegionCopyRule$TargetRegion": " Use this parameter for AMI policies only. For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.
[Custom AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
",
+ "CrossRegionCopyTarget$TargetRegion": "The target Region, for example us-east-1
.
"
}
},
"TargetTagList": {
"base": null,
"refs": {
- "PolicyDetails$TargetTags": " [Snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.
"
+ "PolicyDetails$TargetTags": " [Custom snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.
"
}
},
"TargetTagsFilterList": {
@@ -742,6 +837,12 @@
"refs": {
"Schedule$VariableTags": " [AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id)
or $(timestamp)
. Variable tags are only valid for EBS Snapshot Management – Instance policies.
"
}
+ },
+ "VolumeTypeValues": {
+ "base": null,
+ "refs": {
+ "ExcludeVolumeTypesList$member": null
+ }
}
}
}
diff --git a/models/apis/dlm/2018-01-12/endpoint-tests-1.json b/models/apis/dlm/2018-01-12/endpoint-tests-1.json
index bb94fc3b007..53f0e7caa24 100644
--- a/models/apis/dlm/2018-01-12/endpoint-tests-1.json
+++ b/models/apis/dlm/2018-01-12/endpoint-tests-1.json
@@ -620,17 +620,6 @@
"expect": {
"error": "Invalid Configuration: Missing Region"
}
- },
- {
- "documentation": "Partition doesn't support DualStack",
- "expect": {
- "error": "DualStack is enabled but this partition does not support DualStack"
- },
- "params": {
- "Region": "us-isob-east-1",
- "UseFIPS": false,
- "UseDualStack": true
- }
}
],
"version": "1.0"
diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json
index 5c81fb8c545..098100116fa 100755
--- a/models/apis/ec2/2016-11-15/api-2.json
+++ b/models/apis/ec2/2016-11-15/api-2.json
@@ -12250,7 +12250,8 @@
"CreateVerifiedAccessTrustProviderDeviceOptions":{
"type":"structure",
"members":{
- "TenantId":{"shape":"String"}
+ "TenantId":{"shape":"String"},
+ "PublicSigningKeyUrl":{"shape":"String"}
}
},
"CreateVerifiedAccessTrustProviderOidcOptions":{
@@ -19312,6 +19313,10 @@
"TenantId":{
"shape":"String",
"locationName":"tenantId"
+ },
+ "PublicSigningKeyUrl":{
+ "shape":"String",
+ "locationName":"publicSigningKeyUrl"
}
}
},
@@ -19319,7 +19324,8 @@
"type":"string",
"enum":[
"jamf",
- "crowdstrike"
+ "crowdstrike",
+ "jumpcloud"
]
},
"DeviceType":{
@@ -32840,6 +32846,12 @@
}
}
},
+ "ModifyVerifiedAccessTrustProviderDeviceOptions":{
+ "type":"structure",
+ "members":{
+ "PublicSigningKeyUrl":{"shape":"String"}
+ }
+ },
"ModifyVerifiedAccessTrustProviderOidcOptions":{
"type":"structure",
"members":{
@@ -32858,6 +32870,7 @@
"members":{
"VerifiedAccessTrustProviderId":{"shape":"VerifiedAccessTrustProviderId"},
"OidcOptions":{"shape":"ModifyVerifiedAccessTrustProviderOidcOptions"},
+ "DeviceOptions":{"shape":"ModifyVerifiedAccessTrustProviderDeviceOptions"},
"Description":{"shape":"String"},
"DryRun":{"shape":"Boolean"},
"ClientToken":{
diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json
index c9d46683c4e..e88fea2a3ab 100755
--- a/models/apis/ec2/2016-11-15/docs-2.json
+++ b/models/apis/ec2/2016-11-15/docs-2.json
@@ -14753,6 +14753,12 @@
"refs": {
}
},
+ "ModifyVerifiedAccessTrustProviderDeviceOptions": {
+ "base": "Modifies the configuration of the specified device-based Amazon Web Services Verified Access trust provider.
",
+ "refs": {
+ "ModifyVerifiedAccessTrustProviderRequest$DeviceOptions": "The options for a device-based trust provider. This parameter is required when the provider type is device
.
"
+ }
+ },
"ModifyVerifiedAccessTrustProviderOidcOptions": {
"base": "Options for an OpenID Connect-compatible user-identity trust provider.
",
"refs": {
@@ -19149,6 +19155,7 @@
"CreateVerifiedAccessInstanceRequest$Description": "A description for the Verified Access instance.
",
"CreateVerifiedAccessInstanceRequest$ClientToken": "A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
",
"CreateVerifiedAccessTrustProviderDeviceOptions$TenantId": "The ID of the tenant application with the device-identity provider.
",
+ "CreateVerifiedAccessTrustProviderDeviceOptions$PublicSigningKeyUrl": " The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
",
"CreateVerifiedAccessTrustProviderOidcOptions$Issuer": "The OIDC issuer.
",
"CreateVerifiedAccessTrustProviderOidcOptions$AuthorizationEndpoint": "The OIDC authorization endpoint.
",
"CreateVerifiedAccessTrustProviderOidcOptions$TokenEndpoint": "The OIDC token endpoint.
",
@@ -19425,6 +19432,7 @@
"DetachVerifiedAccessTrustProviderRequest$ClientToken": "A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
",
"DetachVolumeRequest$Device": "The device name.
",
"DeviceOptions$TenantId": "The ID of the tenant application with the device-identity provider.
",
+ "DeviceOptions$PublicSigningKeyUrl": " The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
",
"DhcpConfiguration$Key": "The name of a DHCP option.
",
"DhcpOptions$DhcpOptionsId": "The ID of the set of DHCP options.
",
"DhcpOptions$OwnerId": "The ID of the Amazon Web Services account that owns the DHCP options set.
",
@@ -20054,6 +20062,7 @@
"ModifyVerifiedAccessInstanceLoggingConfigurationRequest$ClientToken": "A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
",
"ModifyVerifiedAccessInstanceRequest$Description": "A description for the Verified Access instance.
",
"ModifyVerifiedAccessInstanceRequest$ClientToken": "A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
",
+ "ModifyVerifiedAccessTrustProviderDeviceOptions$PublicSigningKeyUrl": " The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
",
"ModifyVerifiedAccessTrustProviderOidcOptions$Issuer": "The OIDC issuer.
",
"ModifyVerifiedAccessTrustProviderOidcOptions$AuthorizationEndpoint": "The OIDC authorization endpoint.
",
"ModifyVerifiedAccessTrustProviderOidcOptions$TokenEndpoint": "The OIDC token endpoint.
",
diff --git a/models/apis/fsx/2018-03-01/api-2.json b/models/apis/fsx/2018-03-01/api-2.json
index 2fe02967ba5..7f9a284bb53 100644
--- a/models/apis/fsx/2018-03-01/api-2.json
+++ b/models/apis/fsx/2018-03-01/api-2.json
@@ -3765,7 +3765,8 @@
"AutoImportPolicy":{"shape":"AutoImportPolicyType"},
"DataCompressionType":{"shape":"DataCompressionType"},
"LogConfiguration":{"shape":"LustreLogCreateConfiguration"},
- "RootSquashConfiguration":{"shape":"LustreRootSquashConfiguration"}
+ "RootSquashConfiguration":{"shape":"LustreRootSquashConfiguration"},
+ "PerUnitStorageThroughput":{"shape":"PerUnitStorageThroughput"}
}
},
"UpdateFileSystemOntapConfiguration":{
diff --git a/models/apis/fsx/2018-03-01/docs-2.json b/models/apis/fsx/2018-03-01/docs-2.json
index 7f730121c64..c98a1ea9762 100644
--- a/models/apis/fsx/2018-03-01/docs-2.json
+++ b/models/apis/fsx/2018-03-01/docs-2.json
@@ -40,7 +40,7 @@
"UntagResource": "This action removes a tag from an Amazon FSx resource.
",
"UpdateDataRepositoryAssociation": "Updates the configuration of an existing data repository association on an Amazon FSx for Lustre file system. Data repository associations are supported on all FSx for Lustre 2.12 and 2.15 file systems, excluding scratch_1
deployment type.
",
"UpdateFileCache": "Updates the configuration of an existing Amazon File Cache resource. You can update multiple properties in a single request.
",
- "UpdateFileSystem": "Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request.
For FSx for Windows File Server file systems, you can update the following properties:
-
AuditLogConfiguration
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
SelfManagedActiveDirectoryConfiguration
-
StorageCapacity
-
StorageType
-
ThroughputCapacity
-
DiskIopsConfiguration
-
WeeklyMaintenanceStartTime
For FSx for Lustre file systems, you can update the following properties:
-
AutoImportPolicy
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
DataCompressionType
-
LogConfiguration
-
LustreRootSquashConfiguration
-
StorageCapacity
-
WeeklyMaintenanceStartTime
For FSx for ONTAP file systems, you can update the following properties:
-
AddRouteTableIds
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
DiskIopsConfiguration
-
FsxAdminPassword
-
RemoveRouteTableIds
-
StorageCapacity
-
ThroughputCapacity
-
WeeklyMaintenanceStartTime
For FSx for OpenZFS file systems, you can update the following properties:
-
AddRouteTableIds
-
AutomaticBackupRetentionDays
-
CopyTagsToBackups
-
CopyTagsToVolumes
-
DailyAutomaticBackupStartTime
-
DiskIopsConfiguration
-
RemoveRouteTableIds
-
StorageCapacity
-
ThroughputCapacity
-
WeeklyMaintenanceStartTime
",
+ "UpdateFileSystem": "Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request.
For FSx for Windows File Server file systems, you can update the following properties:
-
AuditLogConfiguration
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
SelfManagedActiveDirectoryConfiguration
-
StorageCapacity
-
StorageType
-
ThroughputCapacity
-
DiskIopsConfiguration
-
WeeklyMaintenanceStartTime
For FSx for Lustre file systems, you can update the following properties:
-
AutoImportPolicy
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
DataCompressionType
-
LogConfiguration
-
LustreRootSquashConfiguration
-
PerUnitStorageThroughput
-
StorageCapacity
-
WeeklyMaintenanceStartTime
For FSx for ONTAP file systems, you can update the following properties:
-
AddRouteTableIds
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
DiskIopsConfiguration
-
FsxAdminPassword
-
RemoveRouteTableIds
-
StorageCapacity
-
ThroughputCapacity
-
WeeklyMaintenanceStartTime
For FSx for OpenZFS file systems, you can update the following properties:
-
AddRouteTableIds
-
AutomaticBackupRetentionDays
-
CopyTagsToBackups
-
CopyTagsToVolumes
-
DailyAutomaticBackupStartTime
-
DiskIopsConfiguration
-
RemoveRouteTableIds
-
StorageCapacity
-
ThroughputCapacity
-
WeeklyMaintenanceStartTime
",
"UpdateSnapshot": "Updates the name of an Amazon FSx for OpenZFS snapshot.
",
"UpdateStorageVirtualMachine": "Updates an FSx for ONTAP storage virtual machine (SVM).
",
"UpdateVolume": "Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
"
@@ -104,7 +104,7 @@
}
},
"AdministrativeActionType": {
- "base": "Describes the type of administrative action, as follows:
-
FILE_SYSTEM_UPDATE
- A file system update administrative action initiated from the Amazon FSx console, API (UpdateFileSystem
), or CLI (update-file-system
).
-
THROUGHPUT_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, a THROUGHPUT_OPTIMIZATION
task starts.
You can track the storage-optimization progress using the ProgressPercent
property. When THROUGHPUT_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
. For more information, see Managing throughput capacity in the Amazon FSx for Windows File Server User Guide.
-
STORAGE_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's storage capacity has been completed successfully, a STORAGE_OPTIMIZATION
task starts.
-
For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks.
-
For Lustre, storage optimization consists of rebalancing the data across the existing and newly added file servers.
You can track the storage-optimization progress using the ProgressPercent
property. When STORAGE_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide, and Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
-
FILE_SYSTEM_ALIAS_ASSOCIATION
- A file system update to associate a new Domain Name System (DNS) alias with the file system. For more information, see AssociateFileSystemAliases.
-
FILE_SYSTEM_ALIAS_DISASSOCIATION
- A file system update to disassociate a DNS alias from the file system. For more information, see DisassociateFileSystemAliases.
-
IOPS_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, a IOPS_OPTIMIZATION
task starts.
You can track the storage-optimization progress using the ProgressPercent
property. When IOPS_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
. For more information, see Managing provisioned SSD IOPS in the Amazon FSx for Windows File Server User Guide.
-
STORAGE_TYPE_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, a STORAGE_TYPE_OPTIMIZATION
task starts.
You can track the storage-optimization progress using the ProgressPercent
property. When STORAGE_TYPE_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
.
-
VOLUME_UPDATE
- A volume update to an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateVolume
), or CLI (update-volume
).
-
VOLUME_RESTORE
- An Amazon FSx for OpenZFS volume is returned to the state saved by the specified snapshot, initiated from an API (RestoreVolumeFromSnapshot
) or CLI (restore-volume-from-snapshot
).
-
SNAPSHOT_UPDATE
- A snapshot update to an Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateSnapshot
), or CLI (update-snapshot
).
-
RELEASE_NFS_V3_LOCKS
- Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system.
",
+ "base": "Describes the type of administrative action, as follows:
-
FILE_SYSTEM_UPDATE
- A file system update administrative action initiated from the Amazon FSx console, API (UpdateFileSystem
), or CLI (update-file-system
).
-
THROUGHPUT_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, a THROUGHPUT_OPTIMIZATION
task starts.
You can track the storage-optimization progress using the ProgressPercent
property. When THROUGHPUT_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
. For more information, see Managing throughput capacity in the Amazon FSx for Windows File Server User Guide.
-
STORAGE_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's storage capacity has been completed successfully, a STORAGE_OPTIMIZATION
task starts.
-
For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks.
-
For Lustre, storage optimization consists of rebalancing the data across the existing and newly added file servers.
You can track the storage-optimization progress using the ProgressPercent
property. When STORAGE_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage capacity in the Amazon FSx for Lustre User Guide, and Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
-
FILE_SYSTEM_ALIAS_ASSOCIATION
- A file system update to associate a new Domain Name System (DNS) alias with the file system. For more information, see AssociateFileSystemAliases.
-
FILE_SYSTEM_ALIAS_DISASSOCIATION
- A file system update to disassociate a DNS alias from the file system. For more information, see DisassociateFileSystemAliases.
-
IOPS_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, a IOPS_OPTIMIZATION
task starts.
You can track the storage-optimization progress using the ProgressPercent
property. When IOPS_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
. For more information, see Managing provisioned SSD IOPS in the Amazon FSx for Windows File Server User Guide.
-
STORAGE_TYPE_OPTIMIZATION
- After the FILE_SYSTEM_UPDATE
task to increase a file system's throughput capacity has been completed successfully, a STORAGE_TYPE_OPTIMIZATION
task starts.
You can track the storage-optimization progress using the ProgressPercent
property. When STORAGE_TYPE_OPTIMIZATION
has been completed successfully, the parent FILE_SYSTEM_UPDATE
action status changes to COMPLETED
.
-
VOLUME_UPDATE
- A volume update to an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateVolume
), or CLI (update-volume
).
-
VOLUME_RESTORE
- An Amazon FSx for OpenZFS volume is returned to the state saved by the specified snapshot, initiated from an API (RestoreVolumeFromSnapshot
) or CLI (restore-volume-from-snapshot
).
-
SNAPSHOT_UPDATE
- A snapshot update to an Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateSnapshot
), or CLI (update-snapshot
).
-
RELEASE_NFS_V3_LOCKS
- Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system.
",
"refs": {
"AdministrativeAction$AdministrativeActionType": null
}
@@ -1740,7 +1740,7 @@
"OntapFileSystemConfiguration$ThroughputCapacity": null,
"OpenZFSFileSystemConfiguration$ThroughputCapacity": "The throughput of an Amazon FSx file system, measured in megabytes per second (MBps).
",
"UpdateFileSystemOntapConfiguration$ThroughputCapacity": "Enter a new value to change the amount of throughput capacity for the file system. Throughput capacity is measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For more information, see Managing throughput capacity in the FSx for ONTAP User Guide.
",
- "UpdateFileSystemOpenZFSConfiguration$ThroughputCapacity": "The throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second
(MB/s). Valid values depend on the DeploymentType you choose, as follows:
-
For MULTI_AZ_1
and SINGLE_AZ_2
, valid values are 160, 320, 640, 1280, 2560, 3840, 5120, 7680, or 10240 MBps.
-
For SINGLE_AZ_1
, valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s.
",
+ "UpdateFileSystemOpenZFSConfiguration$ThroughputCapacity": "The throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second
(MB/s). Valid values depend on the DeploymentType you choose, as follows:
-
For MULTI_AZ_1
and SINGLE_AZ_2
, valid values are 160, 320, 640, 1280, 2560, 3840, 5120, 7680, or 10240 MB/s.
-
For SINGLE_AZ_1
, valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s.
",
"UpdateFileSystemWindowsConfiguration$ThroughputCapacity": "Sets the target value for a file system's throughput capacity, in MB/s, that you are updating the file system to. Valid values are 8, 16, 32, 64, 128, 256, 512, 1024, 2048. You cannot make a throughput capacity update request if there is an existing throughput capacity update request in progress. For more information, see Managing Throughput Capacity.
",
"WindowsFileSystemConfiguration$ThroughputCapacity": "The throughput of the Amazon FSx file system, measured in megabytes per second.
"
}
@@ -2006,7 +2006,8 @@
"CreateFileCacheLustreConfiguration$PerUnitStorageThroughput": "Provisions the amount of read and write throughput for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is 1000
.
",
"CreateFileSystemLustreConfiguration$PerUnitStorageThroughput": "Required with PERSISTENT_1
and PERSISTENT_2
deployment types, provisions the amount of read and write throughput for each 1 tebibyte (TiB) of file system storage capacity, in MB/s/TiB. File system throughput capacity is calculated by multiplying file system storage capacity (TiB) by the PerUnitStorageThroughput
(MB/s/TiB). For a 2.4-TiB file system, provisioning 50 MB/s/TiB of PerUnitStorageThroughput
yields 120 MB/s of file system throughput. You pay for the amount of throughput that you provision.
Valid values:
-
For PERSISTENT_1
SSD storage: 50, 100, 200 MB/s/TiB.
-
For PERSISTENT_1
HDD storage: 12, 40 MB/s/TiB.
-
For PERSISTENT_2
SSD storage: 125, 250, 500, 1000 MB/s/TiB.
",
"FileCacheLustreConfiguration$PerUnitStorageThroughput": "Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. Cache throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). The only supported value is 1000
.
",
- "LustreFileSystemConfiguration$PerUnitStorageThroughput": "Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. File system throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). This option is only valid for PERSISTENT_1
and PERSISTENT_2
deployment types.
Valid values:
-
For PERSISTENT_1
SSD storage: 50, 100, 200.
-
For PERSISTENT_1
HDD storage: 12, 40.
-
For PERSISTENT_2
SSD storage: 125, 250, 500, 1000.
"
+ "LustreFileSystemConfiguration$PerUnitStorageThroughput": "Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. File system throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). This option is only valid for PERSISTENT_1
and PERSISTENT_2
deployment types.
Valid values:
-
For PERSISTENT_1
SSD storage: 50, 100, 200.
-
For PERSISTENT_1
HDD storage: 12, 40.
-
For PERSISTENT_2
SSD storage: 125, 250, 500, 1000.
",
+ "UpdateFileSystemLustreConfiguration$PerUnitStorageThroughput": "The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the deployment type of the file system, as follows:
-
For PERSISTENT_1
SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB.
-
For PERSISTENT_2
SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB.
For more information, see Managing throughput capacity.
"
}
},
"PrivilegedDelete": {
diff --git a/models/apis/fsx/2018-03-01/endpoint-rule-set-1.json b/models/apis/fsx/2018-03-01/endpoint-rule-set-1.json
index 54ee7440d48..789af927faa 100644
--- a/models/apis/fsx/2018-03-01/endpoint-rule-set-1.json
+++ b/models/apis/fsx/2018-03-01/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -83,7 +82,8 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -96,7 +96,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -110,7 +109,6 @@
"assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -133,7 +131,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -168,7 +165,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -179,14 +175,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -200,14 +198,12 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
@@ -216,11 +212,11 @@
},
"supportsFIPS"
]
- }
+ },
+ true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -231,14 +227,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -252,7 +250,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -272,7 +269,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -283,14 +279,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
@@ -301,9 +299,11 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json
index 92189140d9e..65ab43d5221 100644
--- a/models/apis/glue/2017-03-31/api-2.json
+++ b/models/apis/glue/2017-03-31/api-2.json
@@ -1228,6 +1228,32 @@
{"shape":"GlueEncryptionException"}
]
},
+ "GetColumnStatisticsTaskRun":{
+ "name":"GetColumnStatisticsTaskRun",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"GetColumnStatisticsTaskRunRequest"},
+ "output":{"shape":"GetColumnStatisticsTaskRunResponse"},
+ "errors":[
+ {"shape":"EntityNotFoundException"},
+ {"shape":"OperationTimeoutException"},
+ {"shape":"InvalidInputException"}
+ ]
+ },
+ "GetColumnStatisticsTaskRuns":{
+ "name":"GetColumnStatisticsTaskRuns",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"GetColumnStatisticsTaskRunsRequest"},
+ "output":{"shape":"GetColumnStatisticsTaskRunsResponse"},
+ "errors":[
+ {"shape":"OperationTimeoutException"}
+ ]
+ },
"GetConnection":{
"name":"GetConnection",
"http":{
@@ -2153,6 +2179,18 @@
{"shape":"OperationTimeoutException"}
]
},
+ "ListColumnStatisticsTaskRuns":{
+ "name":"ListColumnStatisticsTaskRuns",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListColumnStatisticsTaskRunsRequest"},
+ "output":{"shape":"ListColumnStatisticsTaskRunsResponse"},
+ "errors":[
+ {"shape":"OperationTimeoutException"}
+ ]
+ },
"ListCrawlers":{
"name":"ListCrawlers",
"http":{
@@ -2606,6 +2644,23 @@
{"shape":"IllegalBlueprintStateException"}
]
},
+ "StartColumnStatisticsTaskRun":{
+ "name":"StartColumnStatisticsTaskRun",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"StartColumnStatisticsTaskRunRequest"},
+ "output":{"shape":"StartColumnStatisticsTaskRunResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"EntityNotFoundException"},
+ {"shape":"ColumnStatisticsTaskRunningException"},
+ {"shape":"OperationTimeoutException"},
+ {"shape":"ResourceNumberLimitExceededException"},
+ {"shape":"InvalidInputException"}
+ ]
+ },
"StartCrawler":{
"name":"StartCrawler",
"http":{
@@ -2784,6 +2839,21 @@
{"shape":"ConcurrentRunsExceededException"}
]
},
+ "StopColumnStatisticsTaskRun":{
+ "name":"StopColumnStatisticsTaskRun",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"StopColumnStatisticsTaskRunRequest"},
+ "output":{"shape":"StopColumnStatisticsTaskRunResponse"},
+ "errors":[
+ {"shape":"EntityNotFoundException"},
+ {"shape":"ColumnStatisticsTaskNotRunningException"},
+ {"shape":"ColumnStatisticsTaskStoppingException"},
+ {"shape":"OperationTimeoutException"}
+ ]
+ },
"StopCrawler":{
"name":"StopCrawler",
"http":{
@@ -4518,6 +4588,10 @@
"type":"list",
"member":{"shape":"Column"}
},
+ "ColumnNameList":{
+ "type":"list",
+ "member":{"shape":"NameString"}
+ },
"ColumnNameString":{
"type":"string",
"max":1024,
@@ -4579,6 +4653,70 @@
"type":"list",
"member":{"shape":"ColumnStatistics"}
},
+ "ColumnStatisticsState":{
+ "type":"string",
+ "enum":[
+ "STARTING",
+ "RUNNING",
+ "SUCCEEDED",
+ "FAILED",
+ "STOPPED"
+ ]
+ },
+ "ColumnStatisticsTaskNotRunningException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"MessageString"}
+ },
+ "exception":true
+ },
+ "ColumnStatisticsTaskRun":{
+ "type":"structure",
+ "members":{
+ "CustomerId":{"shape":"AccountId"},
+ "ColumnStatisticsTaskRunId":{"shape":"HashString"},
+ "DatabaseName":{"shape":"DatabaseName"},
+ "TableName":{"shape":"TableName"},
+ "ColumnNameList":{"shape":"ColumnNameList"},
+ "CatalogID":{"shape":"CatalogIdString"},
+ "Role":{"shape":"Role"},
+ "SampleSize":{"shape":"SampleSizePercentage"},
+ "SecurityConfiguration":{"shape":"CrawlerSecurityConfiguration"},
+ "NumberOfWorkers":{"shape":"PositiveInteger"},
+ "WorkerType":{"shape":"NameString"},
+ "Status":{"shape":"ColumnStatisticsState"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastUpdated":{"shape":"Timestamp"},
+ "StartTime":{"shape":"Timestamp"},
+ "EndTime":{"shape":"Timestamp"},
+ "ErrorMessage":{"shape":"DescriptionString"},
+ "DPUSeconds":{"shape":"NonNegativeDouble"}
+ }
+ },
+ "ColumnStatisticsTaskRunIdList":{
+ "type":"list",
+ "member":{"shape":"HashString"},
+ "max":100,
+ "min":0
+ },
+ "ColumnStatisticsTaskRunningException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"MessageString"}
+ },
+ "exception":true
+ },
+ "ColumnStatisticsTaskRunsList":{
+ "type":"list",
+ "member":{"shape":"ColumnStatisticsTaskRun"}
+ },
+ "ColumnStatisticsTaskStoppingException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"MessageString"}
+ },
+ "exception":true
+ },
"ColumnStatisticsType":{
"type":"string",
"enum":[
@@ -7220,6 +7358,39 @@
"Errors":{"shape":"ColumnErrors"}
}
},
+ "GetColumnStatisticsTaskRunRequest":{
+ "type":"structure",
+ "required":["ColumnStatisticsTaskRunId"],
+ "members":{
+ "ColumnStatisticsTaskRunId":{"shape":"HashString"}
+ }
+ },
+ "GetColumnStatisticsTaskRunResponse":{
+ "type":"structure",
+ "members":{
+ "ColumnStatisticsTaskRun":{"shape":"ColumnStatisticsTaskRun"}
+ }
+ },
+ "GetColumnStatisticsTaskRunsRequest":{
+ "type":"structure",
+ "required":[
+ "DatabaseName",
+ "TableName"
+ ],
+ "members":{
+ "DatabaseName":{"shape":"DatabaseName"},
+ "TableName":{"shape":"NameString"},
+ "MaxResults":{"shape":"PageSize"},
+ "NextToken":{"shape":"Token"}
+ }
+ },
+ "GetColumnStatisticsTaskRunsResponse":{
+ "type":"structure",
+ "members":{
+ "ColumnStatisticsTaskRuns":{"shape":"ColumnStatisticsTaskRunsList"},
+ "NextToken":{"shape":"Token"}
+ }
+ },
"GetConnectionRequest":{
"type":"structure",
"required":["Name"],
@@ -9101,6 +9272,20 @@
"NextToken":{"shape":"GenericString"}
}
},
+ "ListColumnStatisticsTaskRunsRequest":{
+ "type":"structure",
+ "members":{
+ "MaxResults":{"shape":"PageSize"},
+ "NextToken":{"shape":"Token"}
+ }
+ },
+ "ListColumnStatisticsTaskRunsResponse":{
+ "type":"structure",
+ "members":{
+ "ColumnStatisticsTaskRunIds":{"shape":"ColumnStatisticsTaskRunIdList"},
+ "NextToken":{"shape":"Token"}
+ }
+ },
"ListCrawlersRequest":{
"type":"structure",
"members":{
@@ -10167,6 +10352,10 @@
"box":true,
"min":10
},
+ "PositiveInteger":{
+ "type":"integer",
+ "min":1
+ },
"PositiveLong":{
"type":"long",
"box":true,
@@ -10998,6 +11187,11 @@
"type":"list",
"member":{"shape":"S3Target"}
},
+ "SampleSizePercentage":{
+ "type":"double",
+ "max":100,
+ "min":0
+ },
"ScalaCode":{"type":"string"},
"Schedule":{
"type":"structure",
@@ -11554,6 +11748,29 @@
"RunId":{"shape":"IdString"}
}
},
+ "StartColumnStatisticsTaskRunRequest":{
+ "type":"structure",
+ "required":[
+ "DatabaseName",
+ "TableName",
+ "Role"
+ ],
+ "members":{
+ "DatabaseName":{"shape":"NameString"},
+ "TableName":{"shape":"NameString"},
+ "ColumnNameList":{"shape":"ColumnNameList"},
+ "Role":{"shape":"NameString"},
+ "SampleSize":{"shape":"SampleSizePercentage"},
+ "CatalogID":{"shape":"NameString"},
+ "SecurityConfiguration":{"shape":"NameString"}
+ }
+ },
+ "StartColumnStatisticsTaskRunResponse":{
+ "type":"structure",
+ "members":{
+ "ColumnStatisticsTaskRunId":{"shape":"HashString"}
+ }
+ },
"StartCrawlerRequest":{
"type":"structure",
"required":["Name"],
@@ -11802,6 +12019,22 @@
"ERROR"
]
},
+ "StopColumnStatisticsTaskRunRequest":{
+ "type":"structure",
+ "required":[
+ "DatabaseName",
+ "TableName"
+ ],
+ "members":{
+ "DatabaseName":{"shape":"DatabaseName"},
+ "TableName":{"shape":"NameString"}
+ }
+ },
+ "StopColumnStatisticsTaskRunResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"StopCrawlerRequest":{
"type":"structure",
"required":["Name"],
diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json
index 2706c6a4de7..f0ae4e8eff9 100644
--- a/models/apis/glue/2017-03-31/docs-2.json
+++ b/models/apis/glue/2017-03-31/docs-2.json
@@ -80,6 +80,8 @@
"GetClassifiers": "Lists all classifier objects in the Data Catalog.
",
"GetColumnStatisticsForPartition": "Retrieves partition statistics of columns.
The Identity and Access Management (IAM) permission required for this operation is GetPartition
.
",
"GetColumnStatisticsForTable": "Retrieves table statistics of columns.
The Identity and Access Management (IAM) permission required for this operation is GetTable
.
",
+ "GetColumnStatisticsTaskRun": "Get the associated metadata/information for a task run, given a task run ID.
",
+ "GetColumnStatisticsTaskRuns": "Retrieves information about all runs associated with the specified table.
",
"GetConnection": "Retrieves a connection definition from the Data Catalog.
",
"GetConnections": "Retrieves a list of connection definitions from the Data Catalog.
",
"GetCrawler": "Retrieves metadata for a specified crawler.
",
@@ -140,6 +142,7 @@
"GetWorkflowRuns": "Retrieves metadata for all runs of a given workflow.
",
"ImportCatalogToGlue": "Imports an existing Amazon Athena Data Catalog to Glue.
",
"ListBlueprints": "Lists all the blueprint names in an account.
",
+ "ListColumnStatisticsTaskRuns": "List all task runs for a particular account.
",
"ListCrawlers": "Retrieves the names of all crawler resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.
This operation takes the optional Tags
field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.
",
"ListCrawls": "Returns all the crawls of a specified crawler. Returns only the crawls that have occurred since the launch date of the crawler history feature, and only retains up to 12 months of crawls. Older crawls will not be returned.
You may use this API to:
-
Retrive all the crawls of a specified crawler.
-
Retrieve all the crawls of a specified crawler within a limited count.
-
Retrieve all the crawls of a specified crawler in a specific time range.
-
Retrieve all the crawls of a specified crawler with a particular state, crawl ID, or DPU hour value.
",
"ListCustomEntityTypes": "Lists all the custom patterns that have been created.
",
@@ -170,6 +173,7 @@
"RunStatement": "Executes the statement.
",
"SearchTables": "Searches a set of tables based on properties in the table metadata as well as on the parent database. You can search against text or filter conditions.
You can only get tables that you have access to based on the security policies defined in Lake Formation. You need at least a read-only access to the table for it to be returned. If you do not have access to all the columns in the table, these columns will not be searched against when returning the list of tables back to you. If you have access to the columns but not the data in the columns, those columns and the associated metadata for those columns will be included in the search.
",
"StartBlueprintRun": "Starts a new run of the specified blueprint.
",
+ "StartColumnStatisticsTaskRun": "Starts a column statistics task run, for a specified table and columns.
",
"StartCrawler": "Starts a crawl using the specified crawler, regardless of what is scheduled. If the crawler is already running, returns a CrawlerRunningException.
",
"StartCrawlerSchedule": "Changes the schedule state of the specified crawler to SCHEDULED
, unless the crawler is already running or the schedule state is already SCHEDULED
.
",
"StartDataQualityRuleRecommendationRun": "Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking.
Recommendation runs are automatically deleted after 90 days.
",
@@ -181,6 +185,7 @@
"StartMLLabelingSetGenerationTaskRun": "Starts the active learning workflow for your machine learning transform to improve the transform's quality by generating label sets and adding labels.
When the StartMLLabelingSetGenerationTaskRun
finishes, Glue will have generated a \"labeling set\" or a set of questions for humans to answer.
In the case of the FindMatches
transform, these questions are of the form, “What is the correct way to group these rows together into groups composed entirely of matching records?”
After the labeling process is finished, you can upload your labels with a call to StartImportLabelsTaskRun
. After StartImportLabelsTaskRun
finishes, all future runs of the machine learning transform will use the new and improved labels and perform a higher-quality transformation.
",
"StartTrigger": "Starts an existing trigger. See Triggering Jobs for information about how different types of trigger are started.
",
"StartWorkflowRun": "Starts a new run of the specified workflow.
",
+ "StopColumnStatisticsTaskRun": "Stops a task run for the specified table.
",
"StopCrawler": "If the specified crawler is running, stops the crawl.
",
"StopCrawlerSchedule": "Sets the schedule state of the specified crawler to NOT_SCHEDULED
, but does not stop the crawler if it is already running.
",
"StopSession": "Stops the session.
",
@@ -220,6 +225,7 @@
"AccountId": {
"base": null,
"refs": {
+ "ColumnStatisticsTaskRun$CustomerId": "The Amazon Web Services account ID.
",
"LakeFormationConfiguration$AccountId": "Required for cross account crawls. For same account crawls as the target data, this can be left as null.
"
}
},
@@ -1022,6 +1028,7 @@
"BatchGetTableOptimizerError$catalogId": "The Catalog ID of the table.
",
"BatchTableOptimizer$catalogId": "The Catalog ID of the table.
",
"BatchUpdatePartitionRequest$CatalogId": "The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.
",
+ "ColumnStatisticsTaskRun$CatalogID": "The ID of the Data Catalog where the table resides. If none is supplied, the Amazon Web Services account ID is used by default.
",
"CreateConnectionRequest$CatalogId": "The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
",
"CreateDatabaseRequest$CatalogId": "The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services account ID is used by default.
",
"CreatePartitionIndexRequest$CatalogId": "The catalog ID where the table resides.
",
@@ -1294,6 +1301,13 @@
"TableInput$PartitionKeys": "A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
When you create a table used by Amazon Athena, and you do not specify any partitionKeys
, you must at least set the value of partitionKeys
to an empty list. For example:
\"PartitionKeys\": []
"
}
},
+ "ColumnNameList": {
+ "base": null,
+ "refs": {
+ "ColumnStatisticsTaskRun$ColumnNameList": "A list of the column names. If none is supplied, all column names for the table will be used by default.
",
+ "StartColumnStatisticsTaskRunRequest$ColumnNameList": "A list of the column names to generate statistics. If none is supplied, all column names for the table will be used by default.
"
+ }
+ },
"ColumnNameString": {
"base": null,
"refs": {
@@ -1348,6 +1362,46 @@
"GetColumnStatisticsForTableResponse$ColumnStatisticsList": "List of ColumnStatistics.
"
}
},
+ "ColumnStatisticsState": {
+ "base": null,
+ "refs": {
+ "ColumnStatisticsTaskRun$Status": "The status of the task run.
"
+ }
+ },
+ "ColumnStatisticsTaskNotRunningException": {
+ "base": "An exception thrown when you try to stop a task run when there is no task running.
",
+ "refs": {
+ }
+ },
+ "ColumnStatisticsTaskRun": {
+ "base": "The object that shows the details of the column stats run.
",
+ "refs": {
+ "ColumnStatisticsTaskRunsList$member": null,
+ "GetColumnStatisticsTaskRunResponse$ColumnStatisticsTaskRun": "A ColumnStatisticsTaskRun
object representing the details of the column stats run.
"
+ }
+ },
+ "ColumnStatisticsTaskRunIdList": {
+ "base": null,
+ "refs": {
+ "ListColumnStatisticsTaskRunsResponse$ColumnStatisticsTaskRunIds": "A list of column statistics task run IDs.
"
+ }
+ },
+ "ColumnStatisticsTaskRunningException": {
+ "base": "An exception thrown when you try to start another job while running a column stats generation job.
",
+ "refs": {
+ }
+ },
+ "ColumnStatisticsTaskRunsList": {
+ "base": null,
+ "refs": {
+ "GetColumnStatisticsTaskRunsResponse$ColumnStatisticsTaskRuns": "A list of column statistics task runs.
"
+ }
+ },
+ "ColumnStatisticsTaskStoppingException": {
+ "base": "An exception thrown when you try to stop a task run.
",
+ "refs": {
+ }
+ },
"ColumnStatisticsType": {
"base": null,
"refs": {
@@ -1657,6 +1711,7 @@
"CrawlerSecurityConfiguration": {
"base": null,
"refs": {
+ "ColumnStatisticsTaskRun$SecurityConfiguration": "Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
",
"Crawler$CrawlerSecurityConfiguration": "The name of the SecurityConfiguration
structure to be used by this crawler.
",
"CreateCrawlerRequest$CrawlerSecurityConfiguration": "The name of the SecurityConfiguration
structure to be used by this crawler.
",
"UpdateCrawlerRequest$CrawlerSecurityConfiguration": "The name of the SecurityConfiguration
structure to be used by this crawler.
"
@@ -2334,8 +2389,11 @@
"DatabaseName": {
"base": null,
"refs": {
+ "ColumnStatisticsTaskRun$DatabaseName": "The database where the table resides.
",
"Crawler$DatabaseName": "The name of the database in which the crawler's output is stored.
",
"CreateCrawlerRequest$DatabaseName": "The Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*
.
",
+ "GetColumnStatisticsTaskRunsRequest$DatabaseName": "The name of the database where the table resides.
",
+ "StopColumnStatisticsTaskRunRequest$DatabaseName": "The name of the database where the table resides.
",
"UpdateCrawlerRequest$DatabaseName": "The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*
.
"
}
},
@@ -2657,6 +2715,7 @@
"DescriptionString": {
"base": null,
"refs": {
+ "ColumnStatisticsTaskRun$ErrorMessage": "The error message for the job.
",
"Connection$Description": "The description of the connection.
",
"ConnectionInput$Description": "The description of the connection.
",
"Crawl$ErrorMessage": "The error message associated with the crawl.
",
@@ -3617,6 +3676,26 @@
"refs": {
}
},
+ "GetColumnStatisticsTaskRunRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetColumnStatisticsTaskRunResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetColumnStatisticsTaskRunsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetColumnStatisticsTaskRunsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"GetConnectionRequest": {
"base": null,
"refs": {
@@ -4405,6 +4484,8 @@
"CancelMLTaskRunRequest$TaskRunId": "A unique identifier for the task run.
",
"CancelMLTaskRunResponse$TransformId": "The unique identifier of the machine learning transform.
",
"CancelMLTaskRunResponse$TaskRunId": "The unique identifier for the task run.
",
+ "ColumnStatisticsTaskRun$ColumnStatisticsTaskRunId": "The identifier for the particular column statistics task run.
",
+ "ColumnStatisticsTaskRunIdList$member": null,
"CreateDataQualityRulesetRequest$ClientToken": "Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
",
"CreateMLTransformResponse$TransformId": "A unique identifier that is generated for the transform.
",
"DataQualityResult$ResultId": "A unique result ID for the data quality result.
",
@@ -4423,6 +4504,7 @@
"DeleteResourcePolicyRequest$PolicyHashCondition": "The hash value returned when this policy was set.
",
"FindMatchesTaskRunProperties$JobId": "The job ID for the Find Matches task run.
",
"FindMatchesTaskRunProperties$JobRunId": "The job run ID for the Find Matches task run.
",
+ "GetColumnStatisticsTaskRunRequest$ColumnStatisticsTaskRunId": "The identifier for the particular column statistics task run.
",
"GetDataQualityResultRequest$ResultId": "A unique result ID for the data quality result.
",
"GetDataQualityResultResponse$ResultId": "A unique result ID for the data quality result.
",
"GetDataQualityResultResponse$JobRunId": "The job run ID associated with the data quality result, if any.
",
@@ -4444,6 +4526,7 @@
"MLTransform$TransformId": "The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be unique and does not change.
",
"PutResourcePolicyRequest$PolicyHashCondition": "The hash value returned when the previous policy was set using PutResourcePolicy
. Its purpose is to prevent concurrent modifications of a policy. Do not use this parameter if no previous policy has been set.
",
"PutResourcePolicyResponse$PolicyHash": "A hash of the policy that has just been set. This must be included in a subsequent call that overwrites or updates this policy.
",
+ "StartColumnStatisticsTaskRunResponse$ColumnStatisticsTaskRunId": "The identifier for the column statistics task run.
",
"StartDataQualityRuleRecommendationRunRequest$ClientToken": "Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
",
"StartDataQualityRuleRecommendationRunResponse$RunId": "The unique run identifier associated with this run.
",
"StartDataQualityRulesetEvaluationRunRequest$ClientToken": "Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.
",
@@ -4961,6 +5044,16 @@
"refs": {
}
},
+ "ListColumnStatisticsTaskRunsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListColumnStatisticsTaskRunsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListCrawlersRequest": {
"base": null,
"refs": {
@@ -5350,6 +5443,9 @@
"AlreadyExistsException$Message": "A message describing the problem.
",
"BlueprintRun$ErrorMessage": "Indicates any errors that are seen while running the blueprint.
",
"BlueprintRun$RollbackErrorMessage": "If there are any errors while creating the entities of a workflow, we try to roll back the created entities until that point and delete them. This attribute indicates the errors seen while trying to delete the entities that are created.
",
+ "ColumnStatisticsTaskNotRunningException$Message": "A message describing the problem.
",
+ "ColumnStatisticsTaskRunningException$Message": "A message describing the problem.
",
+ "ColumnStatisticsTaskStoppingException$Message": "A message describing the problem.
",
"ConcurrentModificationException$Message": "A message describing the problem.
",
"ConcurrentRunsExceededException$Message": "A message describing the problem.
",
"ConditionCheckFailureException$Message": "A message describing the problem.
",
@@ -5512,8 +5608,10 @@
"Column$Name": "The name of the Column
.
",
"ColumnError$ColumnName": "The name of the column that failed.
",
"ColumnImportance$ColumnName": "The name of a column.
",
+ "ColumnNameList$member": null,
"ColumnRowFilter$ColumnName": "A string containing the name of the column.
",
"ColumnStatistics$ColumnName": "Name of column which statistics belong to.
",
+ "ColumnStatisticsTaskRun$WorkerType": "The type of workers being used for generating stats. The default is g.1x
.
",
"Condition$JobName": "The name of the job whose JobRuns
this condition applies to, and on which this trigger waits.
",
"Condition$CrawlerName": "The name of the crawler to which this condition applies.
",
"Connection$Name": "The name of the connection definition.
",
@@ -5637,6 +5735,7 @@
"GetColumnStatisticsForPartitionRequest$TableName": "The name of the partitions' table.
",
"GetColumnStatisticsForTableRequest$DatabaseName": "The name of the catalog database where the partitions reside.
",
"GetColumnStatisticsForTableRequest$TableName": "The name of the partitions' table.
",
+ "GetColumnStatisticsTaskRunsRequest$TableName": "The name of the table.
",
"GetConnectionRequest$Name": "The name of the connection definition to retrieve.
",
"GetCrawlerRequest$Name": "The name of the crawler to retrieve metadata for.
",
"GetCustomEntityTypeRequest$Name": "The name of the custom pattern that you want to retrieve.
",
@@ -5738,6 +5837,11 @@
"Session$SecurityConfiguration": "The name of the SecurityConfiguration structure to be used with the session.
",
"SessionCommand$Name": "Specifies the name of the SessionCommand. Can be 'glueetl' or 'gluestreaming'.
",
"SessionIdList$member": null,
+ "StartColumnStatisticsTaskRunRequest$DatabaseName": "The name of the database where the table resides.
",
+ "StartColumnStatisticsTaskRunRequest$TableName": "The name of the table to generate statistics.
",
+ "StartColumnStatisticsTaskRunRequest$Role": "The IAM role that the service assumes to generate statistics.
",
+ "StartColumnStatisticsTaskRunRequest$CatalogID": "The ID of the Data Catalog where the table reside. If none is supplied, the Amazon Web Services account ID is used by default.
",
+ "StartColumnStatisticsTaskRunRequest$SecurityConfiguration": "Name of the security configuration that is used to encrypt CloudWatch logs for the column stats task run.
",
"StartCrawlerRequest$Name": "Name of the crawler to start.
",
"StartCrawlerScheduleRequest$CrawlerName": "Name of the crawler to schedule.
",
"StartDataQualityRuleRecommendationRunRequest$CreatedRulesetName": "A name for the ruleset.
",
@@ -5746,6 +5850,7 @@
"StartTriggerRequest$Name": "The name of the trigger to start.
",
"StartTriggerResponse$Name": "The name of the trigger that was started.
",
"StartWorkflowRunRequest$Name": "The name of the workflow to start.
",
+ "StopColumnStatisticsTaskRunRequest$TableName": "The name of the table.
",
"StopCrawlerRequest$Name": "Name of the crawler to stop.
",
"StopCrawlerScheduleRequest$CrawlerName": "Name of the crawler whose schedule state to set.
",
"StopSessionRequest$Id": "The ID of the session to be stopped.
",
@@ -5955,6 +6060,7 @@
"base": null,
"refs": {
"BinaryColumnStatisticsData$AverageLength": "The average bit sequence length in the column.
",
+ "ColumnStatisticsTaskRun$DPUSeconds": "The calculated DPU usage in seconds for all autoscaled workers.
",
"CrawlerHistory$DPUHour": "The number of data processing units (DPU) used in hours for the crawl.
",
"CrawlerMetrics$TimeLeftSeconds": "The estimated time left to complete a running crawl.
",
"CrawlerMetrics$LastRuntimeSeconds": "The duration of the crawler's most recent run, in seconds.
",
@@ -6326,6 +6432,7 @@
"refs": {
"GetBlueprintRunsRequest$MaxResults": "The maximum size of a list to return.
",
"GetClassifiersRequest$MaxResults": "The size of the list to return (optional).
",
+ "GetColumnStatisticsTaskRunsRequest$MaxResults": "The maximum size of the response.
",
"GetConnectionsRequest$MaxResults": "The maximum number of connections to return in one response.
",
"GetCrawlerMetricsRequest$MaxResults": "The maximum size of a list to return.
",
"GetCrawlersRequest$MaxResults": "The number of crawlers to return on each call.
",
@@ -6341,6 +6448,7 @@
"GetUnfilteredPartitionsMetadataRequest$MaxResults": "The maximum number of partitions to return in a single response.
",
"GetWorkflowRunsRequest$MaxResults": "The maximum number of workflow runs to be included in the response.
",
"ListBlueprintsRequest$MaxResults": "The maximum size of a list to return.
",
+ "ListColumnStatisticsTaskRunsRequest$MaxResults": "The maximum size of the response.
",
"ListCrawlersRequest$MaxResults": "The maximum size of a list to return.
",
"ListCrawlsRequest$MaxResults": "The maximum number of results to return. The default is 20, and maximum is 100.
",
"ListCustomEntityTypesRequest$MaxResults": "The maximum number of results to return.
",
@@ -6575,6 +6683,12 @@
"StreamingDataPreviewOptions$PollingTime": "The polling time in milliseconds.
"
}
},
+ "PositiveInteger": {
+ "base": null,
+ "refs": {
+ "ColumnStatisticsTaskRun$NumberOfWorkers": "The number of workers used to generate column statistics. The job is preconfigured to autoscale up to 25 instances.
"
+ }
+ },
"PositiveLong": {
"base": null,
"refs": {
@@ -6920,6 +7034,7 @@
"Role": {
"base": null,
"refs": {
+ "ColumnStatisticsTaskRun$Role": "The IAM role that the service assumes to generate statistics.
",
"Crawler$Role": "The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.
",
"CreateCrawlerRequest$Role": "The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.
",
"UpdateCrawlerRequest$Role": "The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
"
@@ -7132,6 +7247,13 @@
"CrawlerTargets$S3Targets": "Specifies Amazon Simple Storage Service (Amazon S3) targets.
"
}
},
+ "SampleSizePercentage": {
+ "base": null,
+ "refs": {
+ "ColumnStatisticsTaskRun$SampleSize": "The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
",
+ "StartColumnStatisticsTaskRunRequest$SampleSize": "The percentage of rows used to generate statistics. If none is supplied, the entire table will be used to generate stats.
"
+ }
+ },
"ScalaCode": {
"base": null,
"refs": {
@@ -7610,6 +7732,16 @@
"refs": {
}
},
+ "StartColumnStatisticsTaskRunRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StartColumnStatisticsTaskRunResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"StartCrawlerRequest": {
"base": null,
"refs": {
@@ -7764,6 +7896,16 @@
"StatementOutput$Status": "The status of the code execution output.
"
}
},
+ "StopColumnStatisticsTaskRunRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StopColumnStatisticsTaskRunResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"StopCrawlerRequest": {
"base": null,
"refs": {
@@ -7892,6 +8034,7 @@
"TableName": {
"base": null,
"refs": {
+ "ColumnStatisticsTaskRun$TableName": "The name of the table for which column statistics is generated.
",
"MappingEntry$SourceTable": "The name of the source table.
",
"MappingEntry$TargetTable": "The target table.
"
}
@@ -8136,6 +8279,10 @@
"refs": {
"CatalogImportStatus$ImportTime": "The time that the migration was started.
",
"ColumnStatistics$AnalyzedTime": "The timestamp of when column statistics were generated.
",
+ "ColumnStatisticsTaskRun$CreationTime": "The time that this task was created.
",
+ "ColumnStatisticsTaskRun$LastUpdated": "The last point in time when this task was modified.
",
+ "ColumnStatisticsTaskRun$StartTime": "The start time of the task.
",
+ "ColumnStatisticsTaskRun$EndTime": "The end time of the task.
",
"Connection$CreationTime": "The time that this connection definition was created.
",
"Connection$LastUpdatedTime": "The last time that this connection definition was updated.
",
"Crawler$CreationTime": "The time that the crawler was created.
",
@@ -8251,6 +8398,8 @@
"refs": {
"GetClassifiersRequest$NextToken": "An optional continuation token.
",
"GetClassifiersResponse$NextToken": "A continuation token.
",
+ "GetColumnStatisticsTaskRunsRequest$NextToken": "A continuation token, if this is a continuation call.
",
+ "GetColumnStatisticsTaskRunsResponse$NextToken": "A continuation token, if not all task runs have yet been returned.
",
"GetConnectionsRequest$NextToken": "A continuation token, if this is a continuation call.
",
"GetConnectionsResponse$NextToken": "A continuation token, if the list of connections returned does not include the last of the filtered connections.
",
"GetCrawlerMetricsRequest$NextToken": "A continuation token, if this is a continuation call.
",
@@ -8273,6 +8422,8 @@
"GetUnfilteredPartitionsMetadataResponse$NextToken": "A continuation token, if the returned list of partitions does not include the last one.
",
"GetUserDefinedFunctionsRequest$NextToken": "A continuation token, if this is a continuation call.
",
"GetUserDefinedFunctionsResponse$NextToken": "A continuation token, if the list of functions returned does not include the last requested function.
",
+ "ListColumnStatisticsTaskRunsRequest$NextToken": "A continuation token, if this is a continuation call.
",
+ "ListColumnStatisticsTaskRunsResponse$NextToken": "A continuation token, if not all task run IDs have yet been returned.
",
"ListCrawlersRequest$NextToken": "A continuation token, if this is a continuation request.
",
"ListCrawlersResponse$NextToken": "A continuation token, if the returned list does not contain the last metric available.
",
"ListCrawlsRequest$NextToken": "A continuation token, if this is a continuation call.
",
diff --git a/models/apis/glue/2017-03-31/endpoint-tests-1.json b/models/apis/glue/2017-03-31/endpoint-tests-1.json
index 731b4b70ad1..4589c59b3f0 100644
--- a/models/apis/glue/2017-03-31/endpoint-tests-1.json
+++ b/models/apis/glue/2017-03-31/endpoint-tests-1.json
@@ -646,17 +646,6 @@
"expect": {
"error": "Invalid Configuration: Missing Region"
}
- },
- {
- "documentation": "Partition doesn't support DualStack",
- "expect": {
- "error": "DualStack is enabled but this partition does not support DualStack"
- },
- "params": {
- "Region": "us-isob-east-1",
- "UseFIPS": false,
- "UseDualStack": true
- }
}
],
"version": "1.0"
diff --git a/models/apis/glue/2017-03-31/paginators-1.json b/models/apis/glue/2017-03-31/paginators-1.json
index a1dfea9c200..7b7558dae21 100644
--- a/models/apis/glue/2017-03-31/paginators-1.json
+++ b/models/apis/glue/2017-03-31/paginators-1.json
@@ -10,6 +10,11 @@
"limit_key": "MaxResults",
"output_token": "NextToken"
},
+ "GetColumnStatisticsTaskRuns": {
+ "input_token": "NextToken",
+ "limit_key": "MaxResults",
+ "output_token": "NextToken"
+ },
"GetConnections": {
"input_token": "NextToken",
"limit_key": "MaxResults",
@@ -112,6 +117,11 @@
"limit_key": "MaxResults",
"output_token": "NextToken"
},
+ "ListColumnStatisticsTaskRuns": {
+ "input_token": "NextToken",
+ "limit_key": "MaxResults",
+ "output_token": "NextToken"
+ },
"ListCrawlers": {
"input_token": "NextToken",
"limit_key": "MaxResults",
diff --git a/models/apis/imagebuilder/2019-12-02/api-2.json b/models/apis/imagebuilder/2019-12-02/api-2.json
index 07698f5275b..000b74a1df3 100644
--- a/models/apis/imagebuilder/2019-12-02/api-2.json
+++ b/models/apis/imagebuilder/2019-12-02/api-2.json
@@ -32,6 +32,25 @@
{"shape":"ResourceInUseException"}
]
},
+ "CancelLifecycleExecution":{
+ "name":"CancelLifecycleExecution",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/CancelLifecycleExecution"
+ },
+ "input":{"shape":"CancelLifecycleExecutionRequest"},
+ "output":{"shape":"CancelLifecycleExecutionResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"IdempotentParameterMismatchException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"},
+ {"shape":"ResourceInUseException"}
+ ]
+ },
"CreateComponent":{
"name":"CreateComponent",
"http":{
@@ -182,6 +201,27 @@
{"shape":"ServiceQuotaExceededException"}
]
},
+ "CreateLifecyclePolicy":{
+ "name":"CreateLifecyclePolicy",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/CreateLifecyclePolicy"
+ },
+ "input":{"shape":"CreateLifecyclePolicyRequest"},
+ "output":{"shape":"CreateLifecyclePolicyResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"IdempotentParameterMismatchException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"},
+ {"shape":"ResourceInUseException"},
+ {"shape":"ResourceAlreadyExistsException"},
+ {"shape":"ServiceQuotaExceededException"}
+ ]
+ },
"DeleteComponent":{
"name":"DeleteComponent",
"http":{
@@ -308,6 +348,24 @@
{"shape":"ResourceDependencyException"}
]
},
+ "DeleteLifecyclePolicy":{
+ "name":"DeleteLifecyclePolicy",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/DeleteLifecyclePolicy"
+ },
+ "input":{"shape":"DeleteLifecyclePolicyRequest"},
+ "output":{"shape":"DeleteLifecyclePolicyResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"},
+ {"shape":"ResourceDependencyException"}
+ ]
+ },
"GetComponent":{
"name":"GetComponent",
"http":{
@@ -495,6 +553,40 @@
{"shape":"CallRateLimitExceededException"}
]
},
+ "GetLifecycleExecution":{
+ "name":"GetLifecycleExecution",
+ "http":{
+ "method":"GET",
+ "requestUri":"/GetLifecycleExecution"
+ },
+ "input":{"shape":"GetLifecycleExecutionRequest"},
+ "output":{"shape":"GetLifecycleExecutionResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"}
+ ]
+ },
+ "GetLifecyclePolicy":{
+ "name":"GetLifecyclePolicy",
+ "http":{
+ "method":"GET",
+ "requestUri":"/GetLifecyclePolicy"
+ },
+ "input":{"shape":"GetLifecyclePolicyRequest"},
+ "output":{"shape":"GetLifecyclePolicyResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"}
+ ]
+ },
"GetWorkflowExecution":{
"name":"GetWorkflowExecution",
"http":{
@@ -800,6 +892,60 @@
{"shape":"CallRateLimitExceededException"}
]
},
+ "ListLifecycleExecutionResources":{
+ "name":"ListLifecycleExecutionResources",
+ "http":{
+ "method":"POST",
+ "requestUri":"/ListLifecycleExecutionResources"
+ },
+ "input":{"shape":"ListLifecycleExecutionResourcesRequest"},
+ "output":{"shape":"ListLifecycleExecutionResourcesResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"InvalidPaginationTokenException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"}
+ ]
+ },
+ "ListLifecycleExecutions":{
+ "name":"ListLifecycleExecutions",
+ "http":{
+ "method":"POST",
+ "requestUri":"/ListLifecycleExecutions"
+ },
+ "input":{"shape":"ListLifecycleExecutionsRequest"},
+ "output":{"shape":"ListLifecycleExecutionsResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"InvalidPaginationTokenException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"}
+ ]
+ },
+ "ListLifecyclePolicies":{
+ "name":"ListLifecyclePolicies",
+ "http":{
+ "method":"POST",
+ "requestUri":"/ListLifecyclePolicies"
+ },
+ "input":{"shape":"ListLifecyclePoliciesRequest"},
+ "output":{"shape":"ListLifecyclePoliciesResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"InvalidPaginationTokenException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"}
+ ]
+ },
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
@@ -946,6 +1092,26 @@
{"shape":"ResourceInUseException"}
]
},
+ "StartResourceStateUpdate":{
+ "name":"StartResourceStateUpdate",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/StartResourceStateUpdate"
+ },
+ "input":{"shape":"StartResourceStateUpdateRequest"},
+ "output":{"shape":"StartResourceStateUpdateResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"IdempotentParameterMismatchException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"},
+ {"shape":"ResourceInUseException"}
+ ]
+ },
"TagResource":{
"name":"TagResource",
"http":{
@@ -1031,6 +1197,26 @@
{"shape":"CallRateLimitExceededException"},
{"shape":"ResourceInUseException"}
]
+ },
+ "UpdateLifecyclePolicy":{
+ "name":"UpdateLifecyclePolicy",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/UpdateLifecyclePolicy"
+ },
+ "input":{"shape":"UpdateLifecyclePolicyRequest"},
+ "output":{"shape":"UpdateLifecyclePolicyResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceUnavailableException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"IdempotentParameterMismatchException"},
+ {"shape":"ForbiddenException"},
+ {"shape":"CallRateLimitExceededException"},
+ {"shape":"ResourceInUseException"},
+ {"shape":"InvalidParameterCombinationException"}
+ ]
}
},
"shapes":{
@@ -1130,6 +1316,26 @@
"imageBuildVersionArn":{"shape":"ImageBuildVersionArn"}
}
},
+ "CancelLifecycleExecutionRequest":{
+ "type":"structure",
+ "required":[
+ "lifecycleExecutionId",
+ "clientToken"
+ ],
+ "members":{
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "CancelLifecycleExecutionResponse":{
+ "type":"structure",
+ "members":{
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"}
+ }
+ },
"ClientException":{
"type":"structure",
"members":{
@@ -1617,6 +1823,38 @@
"infrastructureConfigurationArn":{"shape":"InfrastructureConfigurationArn"}
}
},
+ "CreateLifecyclePolicyRequest":{
+ "type":"structure",
+ "required":[
+ "name",
+ "executionRole",
+ "resourceType",
+ "policyDetails",
+ "resourceSelection",
+ "clientToken"
+ ],
+ "members":{
+ "name":{"shape":"ResourceName"},
+ "description":{"shape":"NonEmptyString"},
+ "status":{"shape":"LifecyclePolicyStatus"},
+ "executionRole":{"shape":"RoleNameOrArn"},
+ "resourceType":{"shape":"LifecyclePolicyResourceType"},
+ "policyDetails":{"shape":"LifecyclePolicyDetails"},
+ "resourceSelection":{"shape":"LifecyclePolicyResourceSelection"},
+ "tags":{"shape":"TagMap"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "CreateLifecyclePolicyResponse":{
+ "type":"structure",
+ "members":{
+ "clientToken":{"shape":"ClientToken"},
+ "lifecyclePolicyArn":{"shape":"LifecyclePolicyArn"}
+ }
+ },
"CvssScore":{
"type":"structure",
"members":{
@@ -1780,6 +2018,23 @@
"infrastructureConfigurationArn":{"shape":"InfrastructureConfigurationArn"}
}
},
+ "DeleteLifecyclePolicyRequest":{
+ "type":"structure",
+ "required":["lifecyclePolicyArn"],
+ "members":{
+ "lifecyclePolicyArn":{
+ "shape":"LifecyclePolicyArn",
+ "location":"querystring",
+ "locationName":"lifecyclePolicyArn"
+ }
+ }
+ },
+ "DeleteLifecyclePolicyResponse":{
+ "type":"structure",
+ "members":{
+ "lifecyclePolicyArn":{"shape":"LifecyclePolicyArn"}
+ }
+ },
"DiskImageFormat":{
"type":"string",
"enum":[
@@ -2162,6 +2417,40 @@
"infrastructureConfiguration":{"shape":"InfrastructureConfiguration"}
}
},
+ "GetLifecycleExecutionRequest":{
+ "type":"structure",
+ "required":["lifecycleExecutionId"],
+ "members":{
+ "lifecycleExecutionId":{
+ "shape":"LifecycleExecutionId",
+ "location":"querystring",
+ "locationName":"lifecycleExecutionId"
+ }
+ }
+ },
+ "GetLifecycleExecutionResponse":{
+ "type":"structure",
+ "members":{
+ "lifecycleExecution":{"shape":"LifecycleExecution"}
+ }
+ },
+ "GetLifecyclePolicyRequest":{
+ "type":"structure",
+ "required":["lifecyclePolicyArn"],
+ "members":{
+ "lifecyclePolicyArn":{
+ "shape":"LifecyclePolicyArn",
+ "location":"querystring",
+ "locationName":"lifecyclePolicyArn"
+ }
+ }
+ },
+ "GetLifecyclePolicyResponse":{
+ "type":"structure",
+ "members":{
+ "lifecyclePolicy":{"shape":"LifecyclePolicy"}
+ }
+ },
"GetWorkflowExecutionRequest":{
"type":"structure",
"required":["workflowExecutionId"],
@@ -2265,7 +2554,9 @@
"buildType":{"shape":"BuildType"},
"imageSource":{"shape":"ImageSource"},
"scanState":{"shape":"ImageScanState"},
- "imageScanningConfiguration":{"shape":"ImageScanningConfiguration"}
+ "imageScanningConfiguration":{"shape":"ImageScanningConfiguration"},
+ "deprecationTime":{"shape":"DateTimeTimestamp"},
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"}
}
},
"ImageAggregation":{
@@ -2286,7 +2577,7 @@
},
"ImageBuilderArn":{
"type":"string",
- "pattern":"^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):(?:image-recipe|container-recipe|infrastructure-configuration|distribution-configuration|component|image|image-pipeline|workflow\\/(?:build|test|distribution))/[a-z0-9-_]+(?:/(?:(?:x|[0-9]+)\\.(?:x|[0-9]+)\\.(?:x|[0-9]+))(?:/[0-9]+)?)?$"
+ "pattern":"^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):(?:image-recipe|container-recipe|infrastructure-configuration|distribution-configuration|component|image|image-pipeline|lifecycle-policy|workflow\\/(?:build|test|distribution))/[a-z0-9-_]+(?:/(?:(?:x|[0-9]+)\\.(?:x|[0-9]+)\\.(?:x|[0-9]+))(?:/[0-9]+)?)?$"
},
"ImagePackage":{
"type":"structure",
@@ -2487,7 +2778,8 @@
"CANCELLED",
"FAILED",
"DEPRECATED",
- "DELETED"
+ "DELETED",
+ "DISABLED"
]
},
"ImageSummary":{
@@ -2505,7 +2797,9 @@
"outputResources":{"shape":"OutputResources"},
"tags":{"shape":"TagMap"},
"buildType":{"shape":"BuildType"},
- "imageSource":{"shape":"ImageSource"}
+ "imageSource":{"shape":"ImageSource"},
+ "deprecationTime":{"shape":"DateTimeTimestamp"},
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"}
}
},
"ImageSummaryList":{
@@ -2810,6 +3104,300 @@
"max":50,
"min":1
},
+ "LifecycleExecution":{
+ "type":"structure",
+ "members":{
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"},
+ "lifecyclePolicyArn":{"shape":"LifecyclePolicyArn"},
+ "resourcesImpactedSummary":{"shape":"LifecycleExecutionResourcesImpactedSummary"},
+ "state":{"shape":"LifecycleExecutionState"},
+ "startTime":{"shape":"DateTimeTimestamp"},
+ "endTime":{"shape":"DateTimeTimestamp"}
+ }
+ },
+ "LifecycleExecutionId":{
+ "type":"string",
+ "pattern":"^lce-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
+ },
+ "LifecycleExecutionResource":{
+ "type":"structure",
+ "members":{
+ "accountId":{"shape":"NonEmptyString"},
+ "resourceId":{"shape":"NonEmptyString"},
+ "state":{"shape":"LifecycleExecutionResourceState"},
+ "action":{"shape":"LifecycleExecutionResourceAction"},
+ "region":{"shape":"NonEmptyString"},
+ "snapshots":{"shape":"LifecycleExecutionSnapshotResourceList"},
+ "imageUris":{"shape":"StringList"}
+ }
+ },
+ "LifecycleExecutionResourceAction":{
+ "type":"structure",
+ "members":{
+ "name":{"shape":"LifecycleExecutionResourceActionName"},
+ "reason":{"shape":"NonEmptyString"}
+ }
+ },
+ "LifecycleExecutionResourceActionName":{
+ "type":"string",
+ "enum":[
+ "AVAILABLE",
+ "DELETE",
+ "DEPRECATE",
+ "DISABLE"
+ ]
+ },
+ "LifecycleExecutionResourceList":{
+ "type":"list",
+ "member":{"shape":"LifecycleExecutionResource"}
+ },
+ "LifecycleExecutionResourceState":{
+ "type":"structure",
+ "members":{
+ "status":{"shape":"LifecycleExecutionResourceStatus"},
+ "reason":{"shape":"NonEmptyString"}
+ }
+ },
+ "LifecycleExecutionResourceStatus":{
+ "type":"string",
+ "enum":[
+ "FAILED",
+ "IN_PROGRESS",
+ "SKIPPED",
+ "SUCCESS"
+ ]
+ },
+ "LifecycleExecutionResourcesImpactedSummary":{
+ "type":"structure",
+ "members":{
+ "hasImpactedResources":{"shape":"Boolean"}
+ }
+ },
+ "LifecycleExecutionSnapshotResource":{
+ "type":"structure",
+ "members":{
+ "snapshotId":{"shape":"NonEmptyString"},
+ "state":{"shape":"LifecycleExecutionResourceState"}
+ }
+ },
+ "LifecycleExecutionSnapshotResourceList":{
+ "type":"list",
+ "member":{"shape":"LifecycleExecutionSnapshotResource"}
+ },
+ "LifecycleExecutionState":{
+ "type":"structure",
+ "members":{
+ "status":{"shape":"LifecycleExecutionStatus"},
+ "reason":{"shape":"NonEmptyString"}
+ }
+ },
+ "LifecycleExecutionStatus":{
+ "type":"string",
+ "enum":[
+ "IN_PROGRESS",
+ "CANCELLED",
+ "CANCELLING",
+ "FAILED",
+ "SUCCESS"
+ ]
+ },
+ "LifecycleExecutionsList":{
+ "type":"list",
+ "member":{"shape":"LifecycleExecution"}
+ },
+ "LifecyclePolicy":{
+ "type":"structure",
+ "members":{
+ "arn":{"shape":"LifecyclePolicyArn"},
+ "name":{"shape":"ResourceName"},
+ "description":{"shape":"NonEmptyString"},
+ "status":{"shape":"LifecyclePolicyStatus"},
+ "executionRole":{"shape":"RoleNameOrArn"},
+ "resourceType":{"shape":"LifecyclePolicyResourceType"},
+ "policyDetails":{"shape":"LifecyclePolicyDetails"},
+ "resourceSelection":{"shape":"LifecyclePolicyResourceSelection"},
+ "dateCreated":{"shape":"DateTimeTimestamp"},
+ "dateUpdated":{"shape":"DateTimeTimestamp"},
+ "dateLastRun":{"shape":"DateTimeTimestamp"},
+ "tags":{"shape":"TagMap"}
+ }
+ },
+ "LifecyclePolicyArn":{
+ "type":"string",
+ "max":1024,
+ "pattern":"^arn:aws(?:-[a-z]+)*:imagebuilder:[a-z]{2,}(?:-[a-z]+)+-[0-9]+:(?:[0-9]{12}|aws):lifecycle-policy/[a-z0-9-_]+$"
+ },
+ "LifecyclePolicyDetail":{
+ "type":"structure",
+ "required":[
+ "action",
+ "filter"
+ ],
+ "members":{
+ "action":{"shape":"LifecyclePolicyDetailAction"},
+ "filter":{"shape":"LifecyclePolicyDetailFilter"},
+ "exclusionRules":{"shape":"LifecyclePolicyDetailExclusionRules"}
+ }
+ },
+ "LifecyclePolicyDetailAction":{
+ "type":"structure",
+ "required":["type"],
+ "members":{
+ "type":{"shape":"LifecyclePolicyDetailActionType"},
+ "includeResources":{"shape":"LifecyclePolicyDetailActionIncludeResources"}
+ }
+ },
+ "LifecyclePolicyDetailActionIncludeResources":{
+ "type":"structure",
+ "members":{
+ "amis":{"shape":"Boolean"},
+ "snapshots":{"shape":"Boolean"},
+ "containers":{"shape":"Boolean"}
+ }
+ },
+ "LifecyclePolicyDetailActionType":{
+ "type":"string",
+ "enum":[
+ "DELETE",
+ "DEPRECATE",
+ "DISABLE"
+ ]
+ },
+ "LifecyclePolicyDetailExclusionRules":{
+ "type":"structure",
+ "members":{
+ "tagMap":{"shape":"TagMap"},
+ "amis":{"shape":"LifecyclePolicyDetailExclusionRulesAmis"}
+ }
+ },
+ "LifecyclePolicyDetailExclusionRulesAmis":{
+ "type":"structure",
+ "members":{
+ "isPublic":{"shape":"Boolean"},
+ "regions":{"shape":"StringList"},
+ "sharedAccounts":{"shape":"AccountList"},
+ "lastLaunched":{"shape":"LifecyclePolicyDetailExclusionRulesAmisLastLaunched"},
+ "tagMap":{"shape":"TagMap"}
+ }
+ },
+ "LifecyclePolicyDetailExclusionRulesAmisLastLaunched":{
+ "type":"structure",
+ "required":[
+ "value",
+ "unit"
+ ],
+ "members":{
+ "value":{"shape":"LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue"},
+ "unit":{"shape":"LifecyclePolicyTimeUnit"}
+ }
+ },
+ "LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue":{
+ "type":"integer",
+ "max":365,
+ "min":1
+ },
+ "LifecyclePolicyDetailFilter":{
+ "type":"structure",
+ "required":[
+ "type",
+ "value"
+ ],
+ "members":{
+ "type":{"shape":"LifecyclePolicyDetailFilterType"},
+ "value":{"shape":"LifecyclePolicyDetailFilterValue"},
+ "unit":{"shape":"LifecyclePolicyTimeUnit"},
+ "retainAtLeast":{"shape":"LifecyclePolicyDetailFilterRetainAtLeast"}
+ }
+ },
+ "LifecyclePolicyDetailFilterRetainAtLeast":{
+ "type":"integer",
+ "max":10,
+ "min":1
+ },
+ "LifecyclePolicyDetailFilterType":{
+ "type":"string",
+ "enum":[
+ "AGE",
+ "COUNT"
+ ]
+ },
+ "LifecyclePolicyDetailFilterValue":{
+ "type":"integer",
+ "max":1000,
+ "min":1
+ },
+ "LifecyclePolicyDetails":{
+ "type":"list",
+ "member":{"shape":"LifecyclePolicyDetail"},
+ "max":3,
+ "min":1
+ },
+ "LifecyclePolicyResourceSelection":{
+ "type":"structure",
+ "members":{
+ "recipes":{"shape":"LifecyclePolicyResourceSelectionRecipes"},
+ "tagMap":{"shape":"TagMap"}
+ }
+ },
+ "LifecyclePolicyResourceSelectionRecipe":{
+ "type":"structure",
+ "required":[
+ "name",
+ "semanticVersion"
+ ],
+ "members":{
+ "name":{"shape":"ResourceName"},
+ "semanticVersion":{"shape":"VersionNumber"}
+ }
+ },
+ "LifecyclePolicyResourceSelectionRecipes":{
+ "type":"list",
+ "member":{"shape":"LifecyclePolicyResourceSelectionRecipe"},
+ "max":50,
+ "min":1
+ },
+ "LifecyclePolicyResourceType":{
+ "type":"string",
+ "enum":[
+ "AMI_IMAGE",
+ "CONTAINER_IMAGE"
+ ]
+ },
+ "LifecyclePolicyStatus":{
+ "type":"string",
+ "enum":[
+ "DISABLED",
+ "ENABLED"
+ ]
+ },
+ "LifecyclePolicySummary":{
+ "type":"structure",
+ "members":{
+ "arn":{"shape":"LifecyclePolicyArn"},
+ "name":{"shape":"ResourceName"},
+ "description":{"shape":"NonEmptyString"},
+ "status":{"shape":"LifecyclePolicyStatus"},
+ "executionRole":{"shape":"RoleNameOrArn"},
+ "resourceType":{"shape":"LifecyclePolicyResourceType"},
+ "dateCreated":{"shape":"DateTimeTimestamp"},
+ "dateUpdated":{"shape":"DateTimeTimestamp"},
+ "dateLastRun":{"shape":"DateTimeTimestamp"},
+ "tags":{"shape":"TagMap"}
+ }
+ },
+ "LifecyclePolicySummaryList":{
+ "type":"list",
+ "member":{"shape":"LifecyclePolicySummary"}
+ },
+ "LifecyclePolicyTimeUnit":{
+ "type":"string",
+ "enum":[
+ "DAYS",
+ "WEEKS",
+ "MONTHS",
+ "YEARS"
+ ]
+ },
"ListComponentBuildVersionsRequest":{
"type":"structure",
"required":["componentVersionArn"],
@@ -3067,6 +3655,65 @@
"nextToken":{"shape":"PaginationToken"}
}
},
+ "ListLifecycleExecutionResourcesRequest":{
+ "type":"structure",
+ "required":["lifecycleExecutionId"],
+ "members":{
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"},
+ "parentResourceId":{"shape":"NonEmptyString"},
+ "maxResults":{
+ "shape":"RestrictedInteger",
+ "box":true
+ },
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListLifecycleExecutionResourcesResponse":{
+ "type":"structure",
+ "members":{
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"},
+ "lifecycleExecutionState":{"shape":"LifecycleExecutionState"},
+ "resources":{"shape":"LifecycleExecutionResourceList"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListLifecycleExecutionsRequest":{
+ "type":"structure",
+ "required":["resourceArn"],
+ "members":{
+ "maxResults":{
+ "shape":"RestrictedInteger",
+ "box":true
+ },
+ "nextToken":{"shape":"PaginationToken"},
+ "resourceArn":{"shape":"ImageBuilderArn"}
+ }
+ },
+ "ListLifecycleExecutionsResponse":{
+ "type":"structure",
+ "members":{
+ "lifecycleExecutions":{"shape":"LifecycleExecutionsList"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListLifecyclePoliciesRequest":{
+ "type":"structure",
+ "members":{
+ "filters":{"shape":"FilterList"},
+ "maxResults":{
+ "shape":"RestrictedInteger",
+ "box":true
+ },
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListLifecyclePoliciesResponse":{
+ "type":"structure",
+ "members":{
+ "lifecyclePolicySummaryList":{"shape":"LifecyclePolicySummaryList"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
@@ -3138,7 +3785,6 @@
},
"MaxParallelLaunches":{
"type":"integer",
- "max":10000,
"min":1
},
"NonEmptyString":{
@@ -3376,6 +4022,35 @@
"max":30000,
"min":1
},
+ "ResourceState":{
+ "type":"structure",
+ "members":{
+ "status":{"shape":"ResourceStatus"}
+ }
+ },
+ "ResourceStateUpdateExclusionRules":{
+ "type":"structure",
+ "members":{
+ "amis":{"shape":"LifecyclePolicyDetailExclusionRulesAmis"}
+ }
+ },
+ "ResourceStateUpdateIncludeResources":{
+ "type":"structure",
+ "members":{
+ "amis":{"shape":"Boolean"},
+ "snapshots":{"shape":"Boolean"},
+ "containers":{"shape":"Boolean"}
+ }
+ },
+ "ResourceStatus":{
+ "type":"string",
+ "enum":[
+ "AVAILABLE",
+ "DELETED",
+ "DEPRECATED",
+ "DISABLED"
+ ]
+ },
"ResourceTagMap":{
"type":"map",
"key":{"shape":"TagKey"},
@@ -3388,6 +4063,12 @@
"max":25,
"min":1
},
+ "RoleNameOrArn":{
+ "type":"string",
+ "max":2048,
+ "min":1,
+ "pattern":"^(?:arn:aws(?:-[a-z]+)*:iam::[0-9]{12}:role/)?[a-zA-Z_0-9+=,.@\\-_/]+$"
+ },
"S3ExportConfiguration":{
"type":"structure",
"required":[
@@ -3482,6 +4163,33 @@
"imageBuildVersionArn":{"shape":"ImageBuildVersionArn"}
}
},
+ "StartResourceStateUpdateRequest":{
+ "type":"structure",
+ "required":[
+ "resourceArn",
+ "state",
+ "clientToken"
+ ],
+ "members":{
+ "resourceArn":{"shape":"ImageBuildVersionArn"},
+ "state":{"shape":"ResourceState"},
+ "executionRole":{"shape":"RoleNameOrArn"},
+ "includeResources":{"shape":"ResourceStateUpdateIncludeResources"},
+ "exclusionRules":{"shape":"ResourceStateUpdateExclusionRules"},
+ "updateAt":{"shape":"DateTimeTimestamp"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "StartResourceStateUpdateResponse":{
+ "type":"structure",
+ "members":{
+ "lifecycleExecutionId":{"shape":"LifecycleExecutionId"},
+ "resourceArn":{"shape":"ImageBuildVersionArn"}
+ }
+ },
"StringList":{
"type":"list",
"member":{"shape":"NonEmptyString"}
@@ -3673,6 +4381,36 @@
"infrastructureConfigurationArn":{"shape":"InfrastructureConfigurationArn"}
}
},
+ "UpdateLifecyclePolicyRequest":{
+ "type":"structure",
+ "required":[
+ "lifecyclePolicyArn",
+ "executionRole",
+ "resourceType",
+ "policyDetails",
+ "resourceSelection",
+ "clientToken"
+ ],
+ "members":{
+ "lifecyclePolicyArn":{"shape":"LifecyclePolicyArn"},
+ "description":{"shape":"NonEmptyString"},
+ "status":{"shape":"LifecyclePolicyStatus"},
+ "executionRole":{"shape":"RoleNameOrArn"},
+ "resourceType":{"shape":"LifecyclePolicyResourceType"},
+ "policyDetails":{"shape":"LifecyclePolicyDetails"},
+ "resourceSelection":{"shape":"LifecyclePolicyResourceSelection"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "UpdateLifecyclePolicyResponse":{
+ "type":"structure",
+ "members":{
+ "lifecyclePolicyArn":{"shape":"LifecyclePolicyArn"}
+ }
+ },
"Uri":{"type":"string"},
"UserDataOverride":{
"type":"string",
diff --git a/models/apis/imagebuilder/2019-12-02/docs-2.json b/models/apis/imagebuilder/2019-12-02/docs-2.json
index 717d4276cb8..02bdb780618 100644
--- a/models/apis/imagebuilder/2019-12-02/docs-2.json
+++ b/models/apis/imagebuilder/2019-12-02/docs-2.json
@@ -3,6 +3,7 @@
"service": "EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date \"golden\" server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.
",
"operations": {
"CancelImageCreation": "CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
",
+ "CancelLifecycleExecution": "Cancel a specific image lifecycle policy runtime instance.
",
"CreateComponent": "Creates a new component that can be used to build, validate, test, and assess your image. The component is based on a YAML document that you specify using exactly one of the following methods:
-
Inline, using the data
property in the request body.
-
A URL that points to a YAML document file stored in Amazon S3, using the uri
property in the request body.
",
"CreateContainerRecipe": "Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.
",
"CreateDistributionConfiguration": "Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
",
@@ -10,6 +11,7 @@
"CreateImagePipeline": "Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
",
"CreateImageRecipe": "Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
",
"CreateInfrastructureConfiguration": "Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
",
+ "CreateLifecyclePolicy": "Create a lifecycle policy resource.
",
"DeleteComponent": "Deletes a component build version.
",
"DeleteContainerRecipe": "Deletes a container recipe.
",
"DeleteDistributionConfiguration": "Deletes a distribution configuration.
",
@@ -17,6 +19,7 @@
"DeleteImagePipeline": "Deletes an image pipeline.
",
"DeleteImageRecipe": "Deletes an image recipe.
",
"DeleteInfrastructureConfiguration": "Deletes an infrastructure configuration.
",
+ "DeleteLifecyclePolicy": "Delete the specified lifecycle policy resource.
",
"GetComponent": "Gets a component object.
",
"GetComponentPolicy": "Gets a component policy.
",
"GetContainerRecipe": "Retrieves a container recipe.
",
@@ -28,6 +31,8 @@
"GetImageRecipe": "Gets an image recipe.
",
"GetImageRecipePolicy": "Gets an image recipe policy.
",
"GetInfrastructureConfiguration": "Gets an infrastructure configuration.
",
+ "GetLifecycleExecution": "Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.
",
+ "GetLifecyclePolicy": "Get details for the specified image lifecycle policy.
",
"GetWorkflowExecution": "Get the runtime information that was logged for a specific runtime instance of the workflow.
",
"GetWorkflowStepExecution": "Get the runtime information that was logged for a specific runtime instance of the workflow step.
",
"ImportComponent": "Imports a component and transforms its data into a component document.
",
@@ -45,6 +50,9 @@
"ListImageScanFindings": "Returns a list of image scan findings for your account.
",
"ListImages": "Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results.
",
"ListInfrastructureConfigurations": "Returns a list of infrastructure configurations.
",
+ "ListLifecycleExecutionResources": "List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
",
+ "ListLifecycleExecutions": "Get the lifecycle runtime history for the specified resource.
",
+ "ListLifecyclePolicies": "Get a list of lifecycle policies in your Amazon Web Services account.
",
"ListTagsForResource": "Returns the list of tags for the specified resource.
",
"ListWorkflowExecutions": "Returns a list of workflow runtime instance metadata objects for a specific image build version.
",
"ListWorkflowStepExecutions": "Shows runtime data for each step in a runtime instance of the workflow that you specify in the request.
",
@@ -53,11 +61,13 @@
"PutImagePolicy": "Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy
, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
",
"PutImageRecipePolicy": "Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy
, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
",
"StartImagePipelineExecution": "Manually triggers a pipeline to create an image.
",
+ "StartResourceStateUpdate": "Begin asynchronous resource state update for lifecycle changes to the specified image resources.
",
"TagResource": "Adds a tag to a resource.
",
"UntagResource": "Removes a tag from a resource.
",
"UpdateDistributionConfiguration": "Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
",
"UpdateImagePipeline": "Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images.
UpdateImagePipeline does not support selective updates for the pipeline. You must specify all of the required properties in the update request, not just the properties that have changed.
",
- "UpdateInfrastructureConfiguration": "Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
"
+ "UpdateInfrastructureConfiguration": "Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
",
+ "UpdateLifecyclePolicy": "Update the specified lifecycle policy.
"
},
"shapes": {
"AccountAggregation": {
@@ -78,7 +88,8 @@
"base": null,
"refs": {
"AmiDistributionConfiguration$targetAccountIds": "The ID of an account to which you want to distribute an image.
",
- "LaunchPermissionConfiguration$userIds": "The Amazon Web Services account ID.
"
+ "LaunchPermissionConfiguration$userIds": "The Amazon Web Services account ID.
",
+ "LifecyclePolicyDetailExclusionRulesAmis$sharedAccounts": "Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
"
}
},
"AdditionalInstanceConfiguration": {
@@ -130,8 +141,16 @@
"ComponentSummary$obfuscate": "Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
",
"FastLaunchConfiguration$enabled": "A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to start using Windows faster launching, or false
to stop using it.
",
"LaunchTemplateConfiguration$setDefaultVersion": "Set the specified Amazon EC2 launch template as the default launch template for the specified account.
",
+ "LifecycleExecutionResourcesImpactedSummary$hasImpactedResources": "Indicates whether an image resource that was identified for a lifecycle action has associated resources that are also impacted.
",
+ "LifecyclePolicyDetailActionIncludeResources$amis": "Specifies whether the lifecycle action should apply to distributed AMIs.
",
+ "LifecyclePolicyDetailActionIncludeResources$snapshots": "Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
",
+ "LifecyclePolicyDetailActionIncludeResources$containers": "Specifies whether the lifecycle action should apply to distributed containers.
",
+ "LifecyclePolicyDetailExclusionRulesAmis$isPublic": "Configures whether public AMIs are excluded from the lifecycle action.
",
"ListComponentsRequest$byName": "Returns the list of components for the specified name.
",
- "ListImagesRequest$byName": "Requests a list of images with a specific recipe name.
"
+ "ListImagesRequest$byName": "Requests a list of images with a specific recipe name.
",
+ "ResourceStateUpdateIncludeResources$amis": "Specifies whether the lifecycle action should apply to distributed AMIs
",
+ "ResourceStateUpdateIncludeResources$snapshots": "Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
",
+ "ResourceStateUpdateIncludeResources$containers": "Specifies whether the lifecycle action should apply to distributed containers.
"
}
},
"BuildType": {
@@ -157,6 +176,16 @@
"refs": {
}
},
+ "CancelLifecycleExecutionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CancelLifecycleExecutionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ClientException": {
"base": "These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.
",
"refs": {
@@ -166,33 +195,38 @@
"base": null,
"refs": {
"CancelImageCreationRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
- "CancelImageCreationResponse$clientToken": "The idempotency token that was used for this request.
",
- "CreateComponentRequest$clientToken": "The idempotency token of the component.
",
- "CreateComponentResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateContainerRecipeRequest$clientToken": "The client token used to make this request idempotent.
",
- "CreateContainerRecipeResponse$clientToken": "The client token used to make this request idempotent.
",
- "CreateDistributionConfigurationRequest$clientToken": "The idempotency token of the distribution configuration.
",
- "CreateDistributionConfigurationResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateImagePipelineRequest$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateImagePipelineResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateImageRecipeRequest$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateImageRecipeResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateImageRequest$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateImageResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateInfrastructureConfigurationRequest$clientToken": "The idempotency token used to make this request idempotent.
",
- "CreateInfrastructureConfigurationResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "ImportComponentRequest$clientToken": "The idempotency token of the component.
",
- "ImportComponentResponse$clientToken": "The idempotency token used to make this request idempotent.
",
+ "CancelImageCreationResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CancelLifecycleExecutionRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateComponentRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateComponentResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CreateContainerRecipeRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateContainerRecipeResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CreateDistributionConfigurationRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateDistributionConfigurationResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CreateImagePipelineRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateImagePipelineResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CreateImageRecipeRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateImageRecipeResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CreateImageRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateImageResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CreateInfrastructureConfigurationRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateInfrastructureConfigurationResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "CreateLifecyclePolicyRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "CreateLifecyclePolicyResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "ImportComponentRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "ImportComponentResponse$clientToken": "The client token that uniquely identifies the request.
",
"ImportVmImageRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
- "ImportVmImageResponse$clientToken": "The idempotency token that was used for this request.
",
- "StartImagePipelineExecutionRequest$clientToken": "The idempotency token used to make this request idempotent.
",
- "StartImagePipelineExecutionResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "UpdateDistributionConfigurationRequest$clientToken": "The idempotency token of the distribution configuration.
",
- "UpdateDistributionConfigurationResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "UpdateImagePipelineRequest$clientToken": "The idempotency token used to make this request idempotent.
",
- "UpdateImagePipelineResponse$clientToken": "The idempotency token used to make this request idempotent.
",
- "UpdateInfrastructureConfigurationRequest$clientToken": "The idempotency token used to make this request idempotent.
",
- "UpdateInfrastructureConfigurationResponse$clientToken": "The idempotency token used to make this request idempotent.
"
+ "ImportVmImageResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "StartImagePipelineExecutionRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "StartImagePipelineExecutionResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "StartResourceStateUpdateRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "UpdateDistributionConfigurationRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "UpdateDistributionConfigurationResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "UpdateImagePipelineRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "UpdateImagePipelineResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "UpdateInfrastructureConfigurationRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
",
+ "UpdateInfrastructureConfigurationResponse$clientToken": "The client token that uniquely identifies the request.
",
+ "UpdateLifecyclePolicyRequest$clientToken": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
"
}
},
"Component": {
@@ -204,7 +238,7 @@
"ComponentBuildVersionArn": {
"base": null,
"refs": {
- "CreateComponentResponse$componentBuildVersionArn": "The Amazon Resource Name (ARN) of the component that this request created.
",
+ "CreateComponentResponse$componentBuildVersionArn": "The Amazon Resource Name (ARN) of the component that the request created.
",
"DeleteComponentRequest$componentBuildVersionArn": "The Amazon Resource Name (ARN) of the component build version to delete.
",
"DeleteComponentResponse$componentBuildVersionArn": "The ARN of the component build version that this request deleted.
",
"GetComponentPolicyRequest$componentArn": "The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.
",
@@ -491,6 +525,16 @@
"refs": {
}
},
+ "CreateLifecyclePolicyRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateLifecyclePolicyResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CvssScore": {
"base": "Amazon Inspector generates a risk score for each finding. This score helps you to prioritize findings, to focus on the most critical findings and the most vulnerable resources. The score uses the Common Vulnerability Scoring System (CVSS) format. This format is a modification of the base CVSS score that the National Vulnerability Database (NVD) provides. For more information about severity levels, see Severity levels for Amazon Inspector findings in the Amazon Inspector User Guide.
",
"refs": {
@@ -559,10 +603,21 @@
"DateTimeTimestamp": {
"base": null,
"refs": {
+ "Image$deprecationTime": "The time when deprecation occurs for an image resource. This can be a past or future date.
",
"ImageScanFinding$firstObservedAt": "The date and time when the finding was first observed.
",
"ImageScanFinding$updatedAt": "The timestamp when the finding was last updated.
",
+ "ImageSummary$deprecationTime": "The time when deprecation occurs for an image resource. This can be a past or future date.
",
+ "LifecycleExecution$startTime": "The timestamp when the lifecycle runtime instance started.
",
+ "LifecycleExecution$endTime": "The timestamp when the lifecycle runtime instance completed.
",
+ "LifecyclePolicy$dateCreated": "The timestamp when Image Builder created the lifecycle policy resource.
",
+ "LifecyclePolicy$dateUpdated": "The timestamp when Image Builder updated the lifecycle policy resource.
",
+ "LifecyclePolicy$dateLastRun": "The timestamp for the last time Image Builder ran the lifecycle policy.
",
+ "LifecyclePolicySummary$dateCreated": "The timestamp when Image Builder created the lifecycle policy resource.
",
+ "LifecyclePolicySummary$dateUpdated": "The timestamp when Image Builder updated the lifecycle policy resource.
",
+ "LifecyclePolicySummary$dateLastRun": "The timestamp for the last time Image Builder ran the lifecycle policy.
",
"PackageVulnerabilityDetails$vendorCreatedAt": "The date and time when this vulnerability was first added to the vendor's database.
",
- "PackageVulnerabilityDetails$vendorUpdatedAt": "The date and time when the vendor last updated this vulnerability in their database.
"
+ "PackageVulnerabilityDetails$vendorUpdatedAt": "The date and time when the vendor last updated this vulnerability in their database.
",
+ "StartResourceStateUpdateRequest$updateAt": "The timestamp that indicates when resources are updated by a lifecycle action.
"
}
},
"DeleteComponentRequest": {
@@ -635,6 +690,16 @@
"refs": {
}
},
+ "DeleteLifecyclePolicyRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteLifecyclePolicyResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DiskImageFormat": {
"base": null,
"refs": {
@@ -806,7 +871,8 @@
"ListImagePipelinesRequest$filters": "Use the following filters to streamline results:
",
"ListImageRecipesRequest$filters": "Use the following filters to streamline results:
-
name
-
parentImage
-
platform
",
"ListImagesRequest$filters": "Use the following filters to streamline results:
-
name
-
osVersion
-
platform
-
type
-
version
",
- "ListInfrastructureConfigurationsRequest$filters": "You can filter on name
to streamline results.
"
+ "ListInfrastructureConfigurationsRequest$filters": "You can filter on name
to streamline results.
",
+ "ListLifecyclePoliciesRequest$filters": "Streamline results based on one of the following values: Name
, Status
.
"
}
},
"FilterName": {
@@ -944,6 +1010,26 @@
"refs": {
}
},
+ "GetLifecycleExecutionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetLifecycleExecutionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetLifecyclePolicyRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetLifecyclePolicyResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"GetWorkflowExecutionRequest": {
"base": null,
"refs": {
@@ -1005,7 +1091,7 @@
"refs": {
"CancelImageCreationRequest$imageBuildVersionArn": "The Amazon Resource Name (ARN) of the image that you want to cancel creation for.
",
"CancelImageCreationResponse$imageBuildVersionArn": "The ARN of the image whose creation this request canceled.
",
- "CreateImageResponse$imageBuildVersionArn": "The Amazon Resource Name (ARN) of the image that this request created.
",
+ "CreateImageResponse$imageBuildVersionArn": "The Amazon Resource Name (ARN) of the image that the request created.
",
"DeleteImageRequest$imageBuildVersionArn": "The Amazon Resource Name (ARN) of the Image Builder image resource to delete.
",
"DeleteImageResponse$imageBuildVersionArn": "The ARN of the Image Builder image resource that this request deleted.
",
"GetImagePolicyRequest$imageArn": "The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.
",
@@ -1019,7 +1105,9 @@
"ListWorkflowStepExecutionsResponse$imageBuildVersionArn": "The image build version resource ARN that's associated with the specified runtime instance of the workflow.
",
"PutImagePolicyRequest$imageArn": "The Amazon Resource Name (ARN) of the image that this policy should be applied to.
",
"PutImagePolicyResponse$imageArn": "The Amazon Resource Name (ARN) of the image that this policy was applied to.
",
- "StartImagePipelineExecutionResponse$imageBuildVersionArn": "The Amazon Resource Name (ARN) of the image that was created by this request.
"
+ "StartImagePipelineExecutionResponse$imageBuildVersionArn": "The Amazon Resource Name (ARN) of the image that the request created.
",
+ "StartResourceStateUpdateRequest$resourceArn": "The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
",
+ "StartResourceStateUpdateResponse$resourceArn": "The requested ARN of the Image Builder resource for the asynchronous update.
"
}
},
"ImageBuilderArn": {
@@ -1040,6 +1128,7 @@
"ImageVersion$arn": "The Amazon Resource Name (ARN) of a specific version of an Image Builder image.
Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:
-
Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.
-
Version ARNs have only the first three nodes: <major>.<minor>.<patch>
-
Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
",
"InfrastructureConfiguration$arn": "The Amazon Resource Name (ARN) of the infrastructure configuration.
",
"InfrastructureConfigurationSummary$arn": "The Amazon Resource Name (ARN) of the infrastructure configuration.
",
+ "ListLifecycleExecutionsRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource for which to get a list of lifecycle runtime instances.
",
"ListTagsForResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
",
"TagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource that you want to tag.
",
"UntagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource that you want to untag.
"
@@ -1464,6 +1553,259 @@
"Distribution$licenseConfigurationArns": "The License Manager Configuration to associate with the AMI in the specified Region.
"
}
},
+ "LifecycleExecution": {
+ "base": "Contains metadata from a runtime instance of a lifecycle policy.
",
+ "refs": {
+ "GetLifecycleExecutionResponse$lifecycleExecution": "Runtime details for the specified runtime instance of the lifecycle policy.
",
+ "LifecycleExecutionsList$member": null
+ }
+ },
+ "LifecycleExecutionId": {
+ "base": null,
+ "refs": {
+ "CancelLifecycleExecutionRequest$lifecycleExecutionId": "Identifies the specific runtime instance of the image lifecycle to cancel.
",
+ "CancelLifecycleExecutionResponse$lifecycleExecutionId": "The unique identifier for the image lifecycle runtime instance that was canceled.
",
+ "GetLifecycleExecutionRequest$lifecycleExecutionId": "Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.
",
+ "Image$lifecycleExecutionId": "Identifies the last runtime instance of the lifecycle policy to take action on the image.
",
+ "ImageSummary$lifecycleExecutionId": "Identifies the last runtime instance of the lifecycle policy to take action on the image.
",
+ "LifecycleExecution$lifecycleExecutionId": "Identifies the lifecycle policy runtime instance.
",
+ "ListLifecycleExecutionResourcesRequest$lifecycleExecutionId": "Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.
",
+ "ListLifecycleExecutionResourcesResponse$lifecycleExecutionId": "Runtime details for the specified runtime instance of the lifecycle policy.
",
+ "StartResourceStateUpdateResponse$lifecycleExecutionId": "Identifies the lifecycle runtime instance that started the resource state update.
"
+ }
+ },
+ "LifecycleExecutionResource": {
+ "base": "Contains details for a resource that the runtime instance of the lifecycle policy identified for action.
",
+ "refs": {
+ "LifecycleExecutionResourceList$member": null
+ }
+ },
+ "LifecycleExecutionResourceAction": {
+ "base": "The lifecycle policy action that was identified for the impacted resource.
",
+ "refs": {
+ "LifecycleExecutionResource$action": "The action to take for the identified resource.
"
+ }
+ },
+ "LifecycleExecutionResourceActionName": {
+ "base": null,
+ "refs": {
+ "LifecycleExecutionResourceAction$name": "The name of the resource that was identified for a lifecycle policy action.
"
+ }
+ },
+ "LifecycleExecutionResourceList": {
+ "base": null,
+ "refs": {
+ "ListLifecycleExecutionResourcesResponse$resources": "A list of resources that were identified for lifecycle actions.
"
+ }
+ },
+ "LifecycleExecutionResourceState": {
+ "base": "Contains the state of an impacted resource that the runtime instance of the lifecycle policy identified for action.
",
+ "refs": {
+ "LifecycleExecutionResource$state": "The runtime state for the lifecycle execution.
",
+ "LifecycleExecutionSnapshotResource$state": "The runtime status of the lifecycle action taken for the snapshot.
"
+ }
+ },
+ "LifecycleExecutionResourceStatus": {
+ "base": null,
+ "refs": {
+ "LifecycleExecutionResourceState$status": "The runtime status of the lifecycle action taken for the impacted resource.
"
+ }
+ },
+ "LifecycleExecutionResourcesImpactedSummary": {
+ "base": "Contains details for an image resource that was identified for a lifecycle action.
",
+ "refs": {
+ "LifecycleExecution$resourcesImpactedSummary": "Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
"
+ }
+ },
+ "LifecycleExecutionSnapshotResource": {
+ "base": "Contains the state of an impacted snapshot resource that the runtime instance of the lifecycle policy identified for action.
",
+ "refs": {
+ "LifecycleExecutionSnapshotResourceList$member": null
+ }
+ },
+ "LifecycleExecutionSnapshotResourceList": {
+ "base": null,
+ "refs": {
+ "LifecycleExecutionResource$snapshots": "A list of associated resource snapshots for the impacted resource if it’s an AMI.
"
+ }
+ },
+ "LifecycleExecutionState": {
+ "base": "The current state of the runtime instance of the lifecycle policy.
",
+ "refs": {
+ "LifecycleExecution$state": "Runtime state that reports if the policy action ran successfully, failed, or was skipped.
",
+ "ListLifecycleExecutionResourcesResponse$lifecycleExecutionState": "The current state of the lifecycle runtime instance.
"
+ }
+ },
+ "LifecycleExecutionStatus": {
+ "base": null,
+ "refs": {
+ "LifecycleExecutionState$status": "The runtime status of the lifecycle execution.
"
+ }
+ },
+ "LifecycleExecutionsList": {
+ "base": null,
+ "refs": {
+ "ListLifecycleExecutionsResponse$lifecycleExecutions": "A list of lifecycle runtime instances for the specified resource.
"
+ }
+ },
+ "LifecyclePolicy": {
+ "base": "The configuration details for a lifecycle policy resource.
",
+ "refs": {
+ "GetLifecyclePolicyResponse$lifecyclePolicy": "The ARN of the image lifecycle policy resource that was returned.
"
+ }
+ },
+ "LifecyclePolicyArn": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyResponse$lifecyclePolicyArn": "The Amazon Resource Name (ARN) of the lifecycle policy that the request created.
",
+ "DeleteLifecyclePolicyRequest$lifecyclePolicyArn": "The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.
",
+ "DeleteLifecyclePolicyResponse$lifecyclePolicyArn": "The ARN of the lifecycle policy that was deleted.
",
+ "GetLifecyclePolicyRequest$lifecyclePolicyArn": "Specifies the Amazon Resource Name (ARN) of the image lifecycle policy resource to get.
",
+ "LifecycleExecution$lifecyclePolicyArn": "The Amazon Resource Name (ARN) of the lifecycle policy that ran.
",
+ "LifecyclePolicy$arn": "The Amazon Resource Name (ARN) of the lifecycle policy resource.
",
+ "LifecyclePolicySummary$arn": "The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
",
+ "UpdateLifecyclePolicyRequest$lifecyclePolicyArn": "The Amazon Resource Name (ARN) of the lifecycle policy resource.
",
+ "UpdateLifecyclePolicyResponse$lifecyclePolicyArn": "The ARN of the image lifecycle policy resource that was updated.
"
+ }
+ },
+ "LifecyclePolicyDetail": {
+ "base": "The configuration details for a lifecycle policy resource.
",
+ "refs": {
+ "LifecyclePolicyDetails$member": null
+ }
+ },
+ "LifecyclePolicyDetailAction": {
+ "base": "Contains selection criteria for the lifecycle policy.
",
+ "refs": {
+ "LifecyclePolicyDetail$action": "Configuration details for the policy action.
"
+ }
+ },
+ "LifecyclePolicyDetailActionIncludeResources": {
+ "base": "Specifies how the lifecycle policy should apply actions to selected resources.
",
+ "refs": {
+ "LifecyclePolicyDetailAction$includeResources": "Specifies the resources that the lifecycle policy applies to.
"
+ }
+ },
+ "LifecyclePolicyDetailActionType": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicyDetailAction$type": "Specifies the lifecycle action to take.
"
+ }
+ },
+ "LifecyclePolicyDetailExclusionRules": {
+ "base": "Specifies resources that lifecycle policy actions should not apply to.
",
+ "refs": {
+ "LifecyclePolicyDetail$exclusionRules": "Additional rules to specify resources that should be exempt from policy actions.
"
+ }
+ },
+ "LifecyclePolicyDetailExclusionRulesAmis": {
+ "base": "Defines criteria for AMIs that are excluded from lifecycle actions.
",
+ "refs": {
+ "LifecyclePolicyDetailExclusionRules$amis": "Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
",
+ "ResourceStateUpdateExclusionRules$amis": null
+ }
+ },
+ "LifecyclePolicyDetailExclusionRulesAmisLastLaunched": {
+ "base": "Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.
",
+ "refs": {
+ "LifecyclePolicyDetailExclusionRulesAmis$lastLaunched": "Configures Amazon Web Services Regions that are excluded from the lifecycle action.
"
+ }
+ },
+ "LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicyDetailExclusionRulesAmisLastLaunched$value": "The integer number of units for the time period. For example 6
(months).
"
+ }
+ },
+ "LifecyclePolicyDetailFilter": {
+ "base": "Defines filters that the lifecycle policy uses to determine impacted resource.
",
+ "refs": {
+ "LifecyclePolicyDetail$filter": "Specifies the resources that the lifecycle policy applies to.
"
+ }
+ },
+ "LifecyclePolicyDetailFilterRetainAtLeast": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicyDetailFilter$retainAtLeast": "For age-based filters, this is the number of resources to keep on hand after the lifecycle DELETE
action is applied. Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.
"
+ }
+ },
+ "LifecyclePolicyDetailFilterType": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicyDetailFilter$type": "Filter resources based on either age
or count
.
"
+ }
+ },
+ "LifecyclePolicyDetailFilterValue": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicyDetailFilter$value": "The number of units for the time period or for the count. For example, a value of 6
might refer to six months or six AMIs.
For count-based filters, this value represents the minimum number of resources to keep on hand. If you have fewer resources than this number, the resource is excluded from lifecycle actions.
"
+ }
+ },
+ "LifecyclePolicyDetails": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$policyDetails": "Configuration details for the lifecycle policy rules.
",
+ "LifecyclePolicy$policyDetails": "The configuration details for a lifecycle policy resource.
",
+ "UpdateLifecyclePolicyRequest$policyDetails": "The configuration details for a lifecycle policy resource.
"
+ }
+ },
+ "LifecyclePolicyResourceSelection": {
+ "base": "Resource selection criteria for the lifecycle policy.
",
+ "refs": {
+ "CreateLifecyclePolicyRequest$resourceSelection": "Selection criteria for the resources that the lifecycle policy applies to.
",
+ "LifecyclePolicy$resourceSelection": "Resource selection criteria used to run the lifecycle policy.
",
+ "UpdateLifecyclePolicyRequest$resourceSelection": "Selection criteria for resources that the lifecycle policy applies to.
"
+ }
+ },
+ "LifecyclePolicyResourceSelectionRecipe": {
+ "base": "Specifies an Image Builder recipe that the lifecycle policy uses for resource selection.
",
+ "refs": {
+ "LifecyclePolicyResourceSelectionRecipes$member": null
+ }
+ },
+ "LifecyclePolicyResourceSelectionRecipes": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicyResourceSelection$recipes": "A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
"
+ }
+ },
+ "LifecyclePolicyResourceType": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$resourceType": "The type of Image Builder resource that the lifecycle policy applies to.
",
+ "LifecyclePolicy$resourceType": "The type of resources the lifecycle policy targets.
",
+ "LifecyclePolicySummary$resourceType": "The type of resources the lifecycle policy targets.
",
+ "UpdateLifecyclePolicyRequest$resourceType": "The type of image resource that the lifecycle policy applies to.
"
+ }
+ },
+ "LifecyclePolicyStatus": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$status": "Indicates whether the lifecycle policy resource is enabled.
",
+ "LifecyclePolicy$status": "Indicates whether the lifecycle policy resource is enabled.
",
+ "LifecyclePolicySummary$status": "The lifecycle policy resource status.
",
+ "UpdateLifecyclePolicyRequest$status": "Indicates whether the lifecycle policy resource is enabled.
"
+ }
+ },
+ "LifecyclePolicySummary": {
+ "base": "Contains a summary of lifecycle policy resources.
",
+ "refs": {
+ "LifecyclePolicySummaryList$member": null
+ }
+ },
+ "LifecyclePolicySummaryList": {
+ "base": null,
+ "refs": {
+ "ListLifecyclePoliciesResponse$lifecyclePolicySummaryList": "A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
"
+ }
+ },
+ "LifecyclePolicyTimeUnit": {
+ "base": null,
+ "refs": {
+ "LifecyclePolicyDetailExclusionRulesAmisLastLaunched$unit": "Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years.
",
+ "LifecyclePolicyDetailFilter$unit": "Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules.
"
+ }
+ },
"ListComponentBuildVersionsRequest": {
"base": null,
"refs": {
@@ -1594,6 +1936,36 @@
"refs": {
}
},
+ "ListLifecycleExecutionResourcesRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListLifecycleExecutionResourcesResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListLifecycleExecutionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListLifecycleExecutionsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListLifecyclePoliciesRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListLifecyclePoliciesResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTagsForResourceRequest": {
"base": null,
"refs": {
@@ -1694,6 +2066,7 @@
"CreateInfrastructureConfigurationRequest$subnetId": "The subnet ID in which to place the instance used to customize your Amazon EC2 AMI.
",
"CreateInfrastructureConfigurationRequest$keyPair": "The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
",
"CreateInfrastructureConfigurationResponse$requestId": "The request ID that uniquely identifies this request.
",
+ "CreateLifecyclePolicyRequest$description": "Optional description for the lifecycle policy.
",
"CvssScore$scoringVector": "The vector string of the CVSS score.
",
"CvssScore$version": "The CVSS version that generated the score.
",
"CvssScore$source": "The source of the CVSS score.
",
@@ -1768,11 +2141,20 @@
"InstanceBlockDeviceMapping$deviceName": "The device to which these mappings apply.
",
"InstanceBlockDeviceMapping$virtualName": "Use to manage instance ephemeral devices.
",
"InstanceConfiguration$image": "The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
",
+ "LifecycleExecutionResource$accountId": "The account that owns the impacted resource.
",
+ "LifecycleExecutionResource$resourceId": "Identifies the impacted resource. The resource ID depends on the type of resource, as follows.
",
+ "LifecycleExecutionResource$region": "The Amazon Web Services Region where the lifecycle execution resource is stored.
",
+ "LifecycleExecutionResourceAction$reason": "The reason why the lifecycle policy action is taken.
",
+ "LifecycleExecutionResourceState$reason": "Messaging that clarifies the reason for the assigned status.
",
+ "LifecycleExecutionSnapshotResource$snapshotId": "Identifies the impacted snapshot resource.
",
+ "LifecycleExecutionState$reason": "The reason for the current status.
",
+ "LifecyclePolicy$description": "Optional description for the lifecycle policy.
",
+ "LifecyclePolicySummary$description": "Optional description for the lifecycle policy.
",
"ListComponentBuildVersionsResponse$requestId": "The request ID that uniquely identifies this request.
",
"ListComponentsResponse$requestId": "The request ID that uniquely identifies this request.
",
- "ListContainerRecipesRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
+ "ListContainerRecipesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
"ListContainerRecipesResponse$requestId": "The request ID that uniquely identifies this request.
",
- "ListContainerRecipesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListContainerRecipesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
"ListDistributionConfigurationsResponse$requestId": "The request ID that uniquely identifies this request.
",
"ListImageBuildVersionsResponse$requestId": "The request ID that uniquely identifies this request.
",
"ListImagePackagesResponse$requestId": "The request ID that uniquely identifies this request.
",
@@ -1784,6 +2166,7 @@
"ListImageScanFindingsResponse$requestId": "The request ID that uniquely identifies this request.
",
"ListImagesResponse$requestId": "The request ID that uniquely identifies this request.
",
"ListInfrastructureConfigurationsResponse$requestId": "The request ID that uniquely identifies this request.
",
+ "ListLifecycleExecutionResourcesRequest$parentResourceId": "You can leave this empty to get a list of Image Builder resources that were identified for lifecycle actions.
To get a list of associated resources that are impacted for an individual resource (the parent), specify its Amazon Resource Name (ARN). Associated resources are produced from your image and distributed when you run a build, such as AMIs or container images stored in ECR repositories.
",
"ListWorkflowExecutionsResponse$requestId": "The request ID that uniquely identifies this request.
",
"ListWorkflowStepExecutionsResponse$requestId": "The request ID that uniquely identifies this request.
",
"NonEmptyStringList$member": null,
@@ -1815,6 +2198,7 @@
"UpdateInfrastructureConfigurationRequest$subnetId": "The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
",
"UpdateInfrastructureConfigurationRequest$keyPair": "The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
",
"UpdateInfrastructureConfigurationResponse$requestId": "The request ID that uniquely identifies this request.
",
+ "UpdateLifecyclePolicyRequest$description": "Optional description for the lifecycle policy.
",
"VulnerabilityIdAggregation$vulnerabilityId": "The vulnerability Id for this set of counts.
",
"VulnerablePackage$name": "The name of the vulnerable package.
",
"VulnerablePackage$version": "The version of the vulnerable package.
",
@@ -1940,34 +2324,40 @@
"PaginationToken": {
"base": null,
"refs": {
- "ListComponentBuildVersionsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListComponentBuildVersionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListComponentsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListComponentsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListDistributionConfigurationsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListDistributionConfigurationsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImageBuildVersionsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImageBuildVersionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImagePackagesRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImagePackagesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImagePipelineImagesRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImagePipelineImagesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImagePipelinesRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImagePipelinesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImageRecipesRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImageRecipesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImageScanFindingAggregationsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImageScanFindingAggregationsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImageScanFindingsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImageScanFindingsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListImagesRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListImagesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListInfrastructureConfigurationsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListInfrastructureConfigurationsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListWorkflowExecutionsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListWorkflowExecutionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
",
- "ListWorkflowStepExecutionsRequest$nextToken": "A token to specify where to start paginating. This is the NextToken from a previously truncated response.
",
- "ListWorkflowStepExecutionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.
"
+ "ListComponentBuildVersionsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListComponentBuildVersionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListComponentsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListComponentsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListDistributionConfigurationsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListDistributionConfigurationsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImageBuildVersionsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImageBuildVersionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImagePackagesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImagePackagesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImagePipelineImagesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImagePipelineImagesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImagePipelinesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImagePipelinesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImageRecipesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImageRecipesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImageScanFindingAggregationsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImageScanFindingAggregationsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImageScanFindingsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImageScanFindingsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListImagesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListImagesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListInfrastructureConfigurationsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListInfrastructureConfigurationsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListLifecycleExecutionResourcesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListLifecycleExecutionResourcesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListLifecycleExecutionsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListLifecycleExecutionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListLifecyclePoliciesRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListLifecyclePoliciesResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListWorkflowExecutionsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListWorkflowExecutionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
",
+ "ListWorkflowStepExecutionsRequest$nextToken": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
",
+ "ListWorkflowStepExecutionsResponse$nextToken": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
"
}
},
"PipelineExecutionStartCondition": {
@@ -2091,6 +2481,7 @@
"CreateImagePipelineRequest$name": "The name of the image pipeline.
",
"CreateImageRecipeRequest$name": "The name of the image recipe.
",
"CreateInfrastructureConfigurationRequest$name": "The name of the infrastructure configuration.
",
+ "CreateLifecyclePolicyRequest$name": "The name of the lifecycle policy to create.
",
"DistributionConfiguration$name": "The name of the distribution configuration.
",
"DistributionConfigurationSummary$name": "The name of the distribution configuration.
",
"Image$name": "The name of the image.
",
@@ -2102,7 +2493,10 @@
"ImageVersion$name": "The name of this specific version of an Image Builder image.
",
"ImportComponentRequest$name": "The name of the component.
",
"InfrastructureConfiguration$name": "The name of the infrastructure configuration.
",
- "InfrastructureConfigurationSummary$name": "The name of the infrastructure configuration.
"
+ "InfrastructureConfigurationSummary$name": "The name of the infrastructure configuration.
",
+ "LifecyclePolicy$name": "The name of the lifecycle policy.
",
+ "LifecyclePolicyResourceSelectionRecipe$name": "The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
",
+ "LifecyclePolicySummary$name": "The name of the lifecycle policy.
"
}
},
"ResourceNotFoundException": {
@@ -2123,6 +2517,30 @@
"PutImageRecipePolicyRequest$policy": "The policy to apply.
"
}
},
+ "ResourceState": {
+ "base": "The current state of an impacted resource.
",
+ "refs": {
+ "StartResourceStateUpdateRequest$state": "Indicates the lifecycle action to take for this request.
"
+ }
+ },
+ "ResourceStateUpdateExclusionRules": {
+ "base": "Additional rules to specify resources that should be exempt from ad-hoc lifecycle actions.
",
+ "refs": {
+ "StartResourceStateUpdateRequest$exclusionRules": "Skip action on the image resource and associated resources if specified exclusion rules are met.
"
+ }
+ },
+ "ResourceStateUpdateIncludeResources": {
+ "base": "Specifies if the lifecycle policy should apply actions to selected resources.
",
+ "refs": {
+ "StartResourceStateUpdateRequest$includeResources": "A list of image resources to update state for.
"
+ }
+ },
+ "ResourceStatus": {
+ "base": null,
+ "refs": {
+ "ResourceState$status": "Shows the current lifecycle policy action that was applied to an impacted resource.
"
+ }
+ },
"ResourceTagMap": {
"base": null,
"refs": {
@@ -2147,10 +2565,23 @@
"ListImageScanFindingsRequest$maxResults": "The maximum items to return in a request.
",
"ListImagesRequest$maxResults": "The maximum items to return in a request.
",
"ListInfrastructureConfigurationsRequest$maxResults": "The maximum items to return in a request.
",
+ "ListLifecycleExecutionResourcesRequest$maxResults": "The maximum items to return in a request.
",
+ "ListLifecycleExecutionsRequest$maxResults": "The maximum items to return in a request.
",
+ "ListLifecyclePoliciesRequest$maxResults": "The maximum items to return in a request.
",
"ListWorkflowExecutionsRequest$maxResults": "The maximum items to return in a request.
",
"ListWorkflowStepExecutionsRequest$maxResults": "The maximum items to return in a request.
"
}
},
+ "RoleNameOrArn": {
+ "base": null,
+ "refs": {
+ "CreateLifecyclePolicyRequest$executionRole": "The role name or Amazon Resource Name (ARN) for the IAM role that grants Image Builder access to run lifecycle actions.
",
+ "LifecyclePolicy$executionRole": "The name of the IAM role that Image Builder uses to run the lifecycle policy. This is a custom role that you create.
",
+ "LifecyclePolicySummary$executionRole": "The name of the IAM role that Image Builder uses to run the lifecycle policy.
",
+ "StartResourceStateUpdateRequest$executionRole": "The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
",
+ "UpdateLifecyclePolicyRequest$executionRole": "The name of the IAM role that Image Builder should use to update the lifecycle policy.
"
+ }
+ },
"S3ExportConfiguration": {
"base": "Properties that configure export from your build instance to a compatible file format for your VM.
",
"refs": {
@@ -2235,13 +2666,25 @@
"refs": {
}
},
+ "StartResourceStateUpdateRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StartResourceStateUpdateResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"StringList": {
"base": null,
"refs": {
"Container$imageUris": "A list of URIs for containers created in the context Region.
",
"ContainerDistributionConfiguration$containerTags": "Tags that are attached to the container distribution configuration.
",
"EcrConfiguration$containerTags": "Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
",
- "LaunchPermissionConfiguration$userGroups": "The name of the group.
"
+ "LaunchPermissionConfiguration$userGroups": "The name of the group.
",
+ "LifecycleExecutionResource$imageUris": "For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.
",
+ "LifecyclePolicyDetailExclusionRulesAmis$regions": "Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
"
}
},
"SystemsManagerAgent": {
@@ -2279,6 +2722,7 @@
"CreateImageRecipeRequest$tags": "The tags of the image recipe.
",
"CreateImageRequest$tags": "The tags of the image.
",
"CreateInfrastructureConfigurationRequest$tags": "The tags of the infrastructure configuration.
",
+ "CreateLifecyclePolicyRequest$tags": "Tags to apply to the lifecycle policy resource.
",
"DistributionConfiguration$tags": "The tags of the distribution configuration.
",
"DistributionConfigurationSummary$tags": "The tags associated with the distribution configuration.
",
"Image$tags": "The tags that apply to this image.
",
@@ -2290,6 +2734,11 @@
"ImportVmImageRequest$tags": "Tags that are attached to the import resources.
",
"InfrastructureConfiguration$tags": "The tags of the infrastructure configuration.
",
"InfrastructureConfigurationSummary$tags": "The tags of the infrastructure configuration.
",
+ "LifecyclePolicy$tags": "To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
",
+ "LifecyclePolicyDetailExclusionRules$tagMap": "Contains a list of tags that Image Builder uses to skip lifecycle actions for AMIs that have them.
",
+ "LifecyclePolicyDetailExclusionRulesAmis$tagMap": "Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
",
+ "LifecyclePolicyResourceSelection$tagMap": "A list of tags that are used as selection criteria for the resources that the lifecycle policy applies to.
",
+ "LifecyclePolicySummary$tags": "To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
",
"ListTagsForResourceResponse$tags": "The tags for the specified resource.
",
"TagResourceRequest$tags": "The tags to apply to the resource.
"
}
@@ -2371,6 +2820,16 @@
"refs": {
}
},
+ "UpdateLifecyclePolicyRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateLifecyclePolicyResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"Uri": {
"base": null,
"refs": {
@@ -2400,7 +2859,8 @@
"ImageSummary$version": "The version of the image.
",
"ImageVersion$version": "Details for a specific version of an Image Builder image. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
",
"ImportComponentRequest$semanticVersion": "The semantic version of the component. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
",
- "ImportVmImageRequest$semanticVersion": "The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
"
+ "ImportVmImageRequest$semanticVersion": "The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
",
+ "LifecyclePolicyResourceSelectionRecipe$semanticVersion": "The version of the Image Builder recipe specified by the name
field.
"
}
},
"VulnerabilityId": {
diff --git a/models/apis/imagebuilder/2019-12-02/endpoint-rule-set-1.json b/models/apis/imagebuilder/2019-12-02/endpoint-rule-set-1.json
index abebd000844..b184299a0df 100644
--- a/models/apis/imagebuilder/2019-12-02/endpoint-rule-set-1.json
+++ b/models/apis/imagebuilder/2019-12-02/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -58,318 +57,283 @@
"type": "error"
},
{
- "conditions": [],
- "type": "tree",
- "rules": [
+ "conditions": [
{
- "conditions": [
+ "fn": "booleanEquals",
+ "argv": [
{
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
- "type": "error"
- },
- {
- "conditions": [],
- "endpoint": {
- "url": {
- "ref": "Endpoint"
+ "ref": "UseDualStack"
},
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ true
+ ]
}
- ]
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
- "conditions": [],
- "type": "tree",
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
"rules": [
{
"conditions": [
{
- "fn": "isSet",
+ "fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
- ]
+ ],
+ "assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
- "fn": "aws.partition",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "Region"
- }
- ],
- "assign": "PartitionResult"
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseFIPS"
- },
- true
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
]
},
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsFIPS"
- ]
- }
- ]
- },
- {
- "fn": "booleanEquals",
+ "fn": "getAttr",
"argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
{
- "conditions": [],
- "endpoint": {
- "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
]
}
]
- },
+ }
+ ],
+ "rules": [
{
"conditions": [],
- "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
- "type": "error"
+ "endpoint": {
+ "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
- "ref": "UseFIPS"
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
},
true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
- "fn": "booleanEquals",
+ "fn": "stringEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
- "supportsFIPS"
+ "name"
]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "stringEquals",
- "argv": [
- "aws-us-gov",
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "name"
- ]
- }
- ]
- }
- ],
- "endpoint": {
- "url": "https://imagebuilder.{Region}.amazonaws.com",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
},
- {
- "conditions": [],
- "endpoint": {
- "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
+ "aws-us-gov"
]
}
- ]
+ ],
+ "endpoint": {
+ "url": "https://imagebuilder.{Region}.amazonaws.com",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
},
{
"conditions": [],
- "error": "FIPS is enabled but this partition does not support FIPS",
- "type": "error"
+ "endpoint": {
+ "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
+ "fn": "getAttr",
"argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
{
- "conditions": [],
- "endpoint": {
- "url": "https://imagebuilder.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
]
}
]
- },
- {
- "conditions": [],
- "error": "DualStack is enabled but this partition does not support DualStack",
- "type": "error"
}
- ]
- },
- {
- "conditions": [],
- "type": "tree",
+ ],
"rules": [
{
"conditions": [],
"endpoint": {
- "url": "https://imagebuilder.{Region}.{PartitionResult#dnsSuffix}",
+ "url": "https://imagebuilder.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://imagebuilder.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
- },
- {
- "conditions": [],
- "error": "Invalid Configuration: Missing Region",
- "type": "error"
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
}
]
}
\ No newline at end of file
diff --git a/models/apis/imagebuilder/2019-12-02/paginators-1.json b/models/apis/imagebuilder/2019-12-02/paginators-1.json
index 8053cf4f761..15c8cb41edf 100644
--- a/models/apis/imagebuilder/2019-12-02/paginators-1.json
+++ b/models/apis/imagebuilder/2019-12-02/paginators-1.json
@@ -77,6 +77,24 @@
"limit_key": "maxResults",
"result_key": "infrastructureConfigurationSummaryList"
},
+ "ListLifecycleExecutionResources": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "resources"
+ },
+ "ListLifecycleExecutions": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "lifecycleExecutions"
+ },
+ "ListLifecyclePolicies": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "lifecyclePolicySummaryList"
+ },
"ListWorkflowExecutions": {
"input_token": "nextToken",
"output_token": "nextToken",
diff --git a/models/apis/iot/2015-05-28/api-2.json b/models/apis/iot/2015-05-28/api-2.json
index a6a71431a6f..f4c4b1acccc 100644
--- a/models/apis/iot/2015-05-28/api-2.json
+++ b/models/apis/iot/2015-05-28/api-2.json
@@ -8328,6 +8328,17 @@
"FunctionArn":{"type":"string"},
"GenerationId":{"type":"string"},
"GenericLongValue":{"type":"long"},
+ "GeoLocationTarget":{
+ "type":"structure",
+ "members":{
+ "name":{"shape":"TargetFieldName"},
+ "order":{"shape":"TargetFieldOrder"}
+ }
+ },
+ "GeoLocationsFilter":{
+ "type":"list",
+ "member":{"shape":"GeoLocationTarget"}
+ },
"GetBehaviorModelTrainingSummariesRequest":{
"type":"structure",
"members":{
@@ -8824,7 +8835,8 @@
"IndexingFilter":{
"type":"structure",
"members":{
- "namedShadowNames":{"shape":"NamedShadowNamesFilter"}
+ "namedShadowNames":{"shape":"NamedShadowNamesFilter"},
+ "geoLocations":{"shape":"GeoLocationsFilter"}
}
},
"InlineDocument":{"type":"string"},
@@ -12736,7 +12748,7 @@
"type":"string",
"max":64,
"min":1,
- "pattern":"[a-zA-Z0-9:_-]+"
+ "pattern":"[$a-zA-Z0-9:_-]+"
},
"SigV4Authorization":{
"type":"structure",
@@ -13140,6 +13152,14 @@
"type":"list",
"member":{"shape":"AuditCheckName"}
},
+ "TargetFieldName":{"type":"string"},
+ "TargetFieldOrder":{
+ "type":"string",
+ "enum":[
+ "LatLon",
+ "LonLat"
+ ]
+ },
"TargetSelection":{
"type":"string",
"enum":[
diff --git a/models/apis/iot/2015-05-28/docs-2.json b/models/apis/iot/2015-05-28/docs-2.json
index d41f88a3ac4..9157679edbc 100644
--- a/models/apis/iot/2015-05-28/docs-2.json
+++ b/models/apis/iot/2015-05-28/docs-2.json
@@ -2980,10 +2980,10 @@
"DestinationPackageVersions": {
"base": null,
"refs": {
- "CreateJobRequest$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
",
- "CreateJobTemplateRequest$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
",
- "DescribeJobTemplateResponse$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
",
- "Job$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
"
+ "CreateJobRequest$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
",
+ "CreateJobTemplateRequest$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
",
+ "DescribeJobTemplateResponse$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
",
+ "Job$destinationPackageVersions": "The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
"
}
},
"DetachPolicyRequest": {
@@ -3724,6 +3724,18 @@
"DetectMitigationActionsTaskStatistics$actionsFailed": " The actions that failed.
"
}
},
+ "GeoLocationTarget": {
+ "base": "A geolocation target that you select to index. Each geolocation target contains a name
and order
key-value pair that specifies the geolocation target fields.
",
+ "refs": {
+ "GeoLocationsFilter$member": null
+ }
+ },
+ "GeoLocationsFilter": {
+ "base": null,
+ "refs": {
+ "IndexingFilter$geoLocations": "The list of geolocation targets that you select to index. The default maximum number of geolocation targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
"
+ }
+ },
"GetBehaviorModelTrainingSummariesRequest": {
"base": null,
"refs": {
@@ -4097,9 +4109,9 @@
}
},
"IndexingFilter": {
- "base": "Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
",
+ "base": "Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON and specify your shadow names in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
to be REGISTRY_AND_SHADOW
and specify your geolocation data in geoLocations
filter.
-
If you store geolocation data in a named shadow, set namedShadowIndexingMode
to be ON
, add the shadow name in namedShadowNames
filter, and specify your geolocation data in geoLocations
filter. For more information, see Managing fleet indexing.
",
"refs": {
- "ThingIndexingConfiguration$filter": "Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
"
+ "ThingIndexingConfiguration$filter": "Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON and specify your shadow names in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
-
If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
to be REGISTRY_AND_SHADOW
and specify your geolocation data in geoLocations
filter.
-
If you store geolocation data in a named shadow, set namedShadowIndexingMode
to be ON
, add the shadow name in namedShadowNames
filter, and specify your geolocation data in geoLocations
filter. For more information, see Managing fleet indexing.
"
}
},
"InlineDocument": {
@@ -6465,7 +6477,7 @@
"base": null,
"refs": {
"ListIndicesRequest$maxResults": "The maximum number of results to return at one time.
",
- "SearchIndexRequest$maxResults": "The maximum number of results to return at one time. The response might contain fewer results but will never contain more.
"
+ "SearchIndexRequest$maxResults": "The maximum number of results to return per page at one time. The response might contain fewer results but will never contain more.
"
}
},
"QueryString": {
@@ -7853,6 +7865,18 @@
"UpdateScheduledAuditRequest$targetCheckNames": "Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
"
}
},
+ "TargetFieldName": {
+ "base": null,
+ "refs": {
+ "GeoLocationTarget$name": "The name
of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow
filter.
"
+ }
+ },
+ "TargetFieldOrder": {
+ "base": null,
+ "refs": {
+ "GeoLocationTarget$order": "The order
of the geolocation target field. This field is optional. The default value is LatLon
.
"
+ }
+ },
"TargetSelection": {
"base": null,
"refs": {
diff --git a/models/apis/ivs-realtime/2020-07-14/api-2.json b/models/apis/ivs-realtime/2020-07-14/api-2.json
index b5682932b46..ce282939894 100644
--- a/models/apis/ivs-realtime/2020-07-14/api-2.json
+++ b/models/apis/ivs-realtime/2020-07-14/api-2.json
@@ -13,6 +13,25 @@
"uid":"ivs-realtime-2020-07-14"
},
"operations":{
+ "CreateEncoderConfiguration":{
+ "name":"CreateEncoderConfiguration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/CreateEncoderConfiguration",
+ "responseCode":200
+ },
+ "input":{"shape":"CreateEncoderConfigurationRequest"},
+ "output":{"shape":"CreateEncoderConfigurationResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"},
+ {"shape":"PendingVerification"}
+ ]
+ },
"CreateParticipantToken":{
"name":"CreateParticipantToken",
"http":{
@@ -46,6 +65,43 @@
{"shape":"PendingVerification"}
]
},
+ "CreateStorageConfiguration":{
+ "name":"CreateStorageConfiguration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/CreateStorageConfiguration",
+ "responseCode":200
+ },
+ "input":{"shape":"CreateStorageConfigurationRequest"},
+ "output":{"shape":"CreateStorageConfigurationResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"},
+ {"shape":"PendingVerification"}
+ ]
+ },
+ "DeleteEncoderConfiguration":{
+ "name":"DeleteEncoderConfiguration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/DeleteEncoderConfiguration",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteEncoderConfigurationRequest"},
+ "output":{"shape":"DeleteEncoderConfigurationResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
"DeleteStage":{
"name":"DeleteStage",
"http":{
@@ -63,6 +119,24 @@
{"shape":"PendingVerification"}
]
},
+ "DeleteStorageConfiguration":{
+ "name":"DeleteStorageConfiguration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/DeleteStorageConfiguration",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteStorageConfigurationRequest"},
+ "output":{"shape":"DeleteStorageConfigurationResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
"DisconnectParticipant":{
"name":"DisconnectParticipant",
"http":{
@@ -79,6 +153,42 @@
{"shape":"PendingVerification"}
]
},
+ "GetComposition":{
+ "name":"GetComposition",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GetComposition",
+ "responseCode":200
+ },
+ "input":{"shape":"GetCompositionRequest"},
+ "output":{"shape":"GetCompositionResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
+ "GetEncoderConfiguration":{
+ "name":"GetEncoderConfiguration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GetEncoderConfiguration",
+ "responseCode":200
+ },
+ "input":{"shape":"GetEncoderConfigurationRequest"},
+ "output":{"shape":"GetEncoderConfigurationResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
"GetParticipant":{
"name":"GetParticipant",
"http":{
@@ -124,6 +234,58 @@
{"shape":"AccessDeniedException"}
]
},
+ "GetStorageConfiguration":{
+ "name":"GetStorageConfiguration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GetStorageConfiguration",
+ "responseCode":200
+ },
+ "input":{"shape":"GetStorageConfigurationRequest"},
+ "output":{"shape":"GetStorageConfigurationResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
+ "ListCompositions":{
+ "name":"ListCompositions",
+ "http":{
+ "method":"POST",
+ "requestUri":"/ListCompositions",
+ "responseCode":200
+ },
+ "input":{"shape":"ListCompositionsRequest"},
+ "output":{"shape":"ListCompositionsResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
+ "ListEncoderConfigurations":{
+ "name":"ListEncoderConfigurations",
+ "http":{
+ "method":"POST",
+ "requestUri":"/ListEncoderConfigurations",
+ "responseCode":200
+ },
+ "input":{"shape":"ListEncoderConfigurationsRequest"},
+ "output":{"shape":"ListEncoderConfigurationsResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
"ListParticipantEvents":{
"name":"ListParticipantEvents",
"http":{
@@ -181,6 +343,23 @@
{"shape":"ConflictException"}
]
},
+ "ListStorageConfigurations":{
+ "name":"ListStorageConfigurations",
+ "http":{
+ "method":"POST",
+ "requestUri":"/ListStorageConfigurations",
+ "responseCode":200
+ },
+ "input":{"shape":"ListStorageConfigurationsRequest"},
+ "output":{"shape":"ListStorageConfigurationsResponse"},
+ "errors":[
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
@@ -196,6 +375,43 @@
{"shape":"InternalServerException"}
]
},
+ "StartComposition":{
+ "name":"StartComposition",
+ "http":{
+ "method":"POST",
+ "requestUri":"/StartComposition",
+ "responseCode":200
+ },
+ "input":{"shape":"StartCompositionRequest"},
+ "output":{"shape":"StartCompositionResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"},
+ {"shape":"PendingVerification"}
+ ]
+ },
+ "StopComposition":{
+ "name":"StopComposition",
+ "http":{
+ "method":"POST",
+ "requestUri":"/StopComposition",
+ "responseCode":200
+ },
+ "input":{"shape":"StopCompositionRequest"},
+ "output":{"shape":"StopCompositionResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ConflictException"}
+ ]
+ },
"TagResource":{
"name":"TagResource",
"http":{
@@ -257,6 +473,96 @@
},
"exception":true
},
+ "AttributeKey":{
+ "type":"string",
+ "max":128,
+ "min":0,
+ "pattern":"^[a-zA-Z0-9-_]*$"
+ },
+ "Bitrate":{
+ "type":"integer",
+ "box":true,
+ "max":8500000,
+ "min":1
+ },
+ "ChannelArn":{
+ "type":"string",
+ "max":128,
+ "min":1,
+ "pattern":"^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
+ },
+ "ChannelDestinationConfiguration":{
+ "type":"structure",
+ "required":["channelArn"],
+ "members":{
+ "channelArn":{"shape":"ChannelArn"},
+ "encoderConfigurationArn":{"shape":"EncoderConfigurationArn"}
+ }
+ },
+ "Composition":{
+ "type":"structure",
+ "required":[
+ "arn",
+ "destinations",
+ "layout",
+ "stageArn",
+ "state"
+ ],
+ "members":{
+ "arn":{"shape":"CompositionArn"},
+ "destinations":{"shape":"DestinationList"},
+ "endTime":{"shape":"Time"},
+ "layout":{"shape":"LayoutConfiguration"},
+ "stageArn":{"shape":"StageArn"},
+ "startTime":{"shape":"Time"},
+ "state":{"shape":"CompositionState"},
+ "tags":{"shape":"Tags"}
+ }
+ },
+ "CompositionArn":{
+ "type":"string",
+ "max":128,
+ "min":1,
+ "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:composition/[a-zA-Z0-9-]+$"
+ },
+ "CompositionClientToken":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "pattern":"^[a-zA-Z0-9-_]*$"
+ },
+ "CompositionState":{
+ "type":"string",
+ "enum":[
+ "STARTING",
+ "ACTIVE",
+ "STOPPING",
+ "FAILED",
+ "STOPPED"
+ ]
+ },
+ "CompositionSummary":{
+ "type":"structure",
+ "required":[
+ "arn",
+ "destinations",
+ "stageArn",
+ "state"
+ ],
+ "members":{
+ "arn":{"shape":"CompositionArn"},
+ "destinations":{"shape":"DestinationSummaryList"},
+ "endTime":{"shape":"Time"},
+ "stageArn":{"shape":"StageArn"},
+ "startTime":{"shape":"Time"},
+ "state":{"shape":"CompositionState"},
+ "tags":{"shape":"Tags"}
+ }
+ },
+ "CompositionSummaryList":{
+ "type":"list",
+ "member":{"shape":"CompositionSummary"}
+ },
"ConflictException":{
"type":"structure",
"members":{
@@ -268,6 +574,20 @@
},
"exception":true
},
+ "CreateEncoderConfigurationRequest":{
+ "type":"structure",
+ "members":{
+ "name":{"shape":"EncoderConfigurationName"},
+ "tags":{"shape":"Tags"},
+ "video":{"shape":"Video"}
+ }
+ },
+ "CreateEncoderConfigurationResponse":{
+ "type":"structure",
+ "members":{
+ "encoderConfiguration":{"shape":"EncoderConfiguration"}
+ }
+ },
"CreateParticipantTokenRequest":{
"type":"structure",
"required":["stageArn"],
@@ -300,6 +620,33 @@
"stage":{"shape":"Stage"}
}
},
+ "CreateStorageConfigurationRequest":{
+ "type":"structure",
+ "required":["s3"],
+ "members":{
+ "name":{"shape":"StorageConfigurationName"},
+ "s3":{"shape":"S3StorageConfiguration"},
+ "tags":{"shape":"Tags"}
+ }
+ },
+ "CreateStorageConfigurationResponse":{
+ "type":"structure",
+ "members":{
+ "storageConfiguration":{"shape":"StorageConfiguration"}
+ }
+ },
+ "DeleteEncoderConfigurationRequest":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"EncoderConfigurationArn"}
+ }
+ },
+ "DeleteEncoderConfigurationResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"DeleteStageRequest":{
"type":"structure",
"required":["arn"],
@@ -312,6 +659,96 @@
"members":{
}
},
+ "DeleteStorageConfigurationRequest":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"StorageConfigurationArn"}
+ }
+ },
+ "DeleteStorageConfigurationResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "Destination":{
+ "type":"structure",
+ "required":[
+ "configuration",
+ "id",
+ "state"
+ ],
+ "members":{
+ "configuration":{"shape":"DestinationConfiguration"},
+ "detail":{"shape":"DestinationDetail"},
+ "endTime":{"shape":"Time"},
+ "id":{"shape":"String"},
+ "startTime":{"shape":"Time"},
+ "state":{"shape":"DestinationState"}
+ }
+ },
+ "DestinationConfiguration":{
+ "type":"structure",
+ "members":{
+ "channel":{"shape":"ChannelDestinationConfiguration"},
+ "name":{"shape":"DestinationConfigurationName"},
+ "s3":{"shape":"S3DestinationConfiguration"}
+ }
+ },
+ "DestinationConfigurationList":{
+ "type":"list",
+ "member":{"shape":"DestinationConfiguration"},
+ "max":2,
+ "min":1
+ },
+ "DestinationConfigurationName":{
+ "type":"string",
+ "max":128,
+ "min":0,
+ "pattern":"^[a-zA-Z0-9-_]*$"
+ },
+ "DestinationDetail":{
+ "type":"structure",
+ "members":{
+ "s3":{"shape":"S3Detail"}
+ }
+ },
+ "DestinationList":{
+ "type":"list",
+ "member":{"shape":"Destination"},
+ "max":2,
+ "min":1
+ },
+ "DestinationState":{
+ "type":"string",
+ "enum":[
+ "STARTING",
+ "ACTIVE",
+ "STOPPING",
+ "RECONNECTING",
+ "FAILED",
+ "STOPPED"
+ ]
+ },
+ "DestinationSummary":{
+ "type":"structure",
+ "required":[
+ "id",
+ "state"
+ ],
+ "members":{
+ "endTime":{"shape":"Time"},
+ "id":{"shape":"String"},
+ "startTime":{"shape":"Time"},
+ "state":{"shape":"DestinationState"}
+ }
+ },
+ "DestinationSummaryList":{
+ "type":"list",
+ "member":{"shape":"DestinationSummary"},
+ "max":2,
+ "min":1
+ },
"DisconnectParticipantReason":{
"type":"string",
"max":128,
@@ -334,6 +771,47 @@
"members":{
}
},
+ "EncoderConfiguration":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"EncoderConfigurationArn"},
+ "name":{"shape":"EncoderConfigurationName"},
+ "tags":{"shape":"Tags"},
+ "video":{"shape":"Video"}
+ }
+ },
+ "EncoderConfigurationArn":{
+ "type":"string",
+ "max":128,
+ "min":1,
+ "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:encoder-configuration/[a-zA-Z0-9-]+$"
+ },
+ "EncoderConfigurationArnList":{
+ "type":"list",
+ "member":{"shape":"EncoderConfigurationArn"},
+ "max":1,
+ "min":1
+ },
+ "EncoderConfigurationName":{
+ "type":"string",
+ "max":128,
+ "min":0,
+ "pattern":"^[a-zA-Z0-9-_]*$"
+ },
+ "EncoderConfigurationSummary":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"EncoderConfigurationArn"},
+ "name":{"shape":"EncoderConfigurationName"},
+ "tags":{"shape":"Tags"}
+ }
+ },
+ "EncoderConfigurationSummaryList":{
+ "type":"list",
+ "member":{"shape":"EncoderConfigurationSummary"}
+ },
"Event":{
"type":"structure",
"members":{
@@ -370,6 +848,38 @@
"JOIN_ERROR"
]
},
+ "Framerate":{
+ "type":"float",
+ "box":true,
+ "max":60,
+ "min":1
+ },
+ "GetCompositionRequest":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"CompositionArn"}
+ }
+ },
+ "GetCompositionResponse":{
+ "type":"structure",
+ "members":{
+ "composition":{"shape":"Composition"}
+ }
+ },
+ "GetEncoderConfigurationRequest":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"EncoderConfigurationArn"}
+ }
+ },
+ "GetEncoderConfigurationResponse":{
+ "type":"structure",
+ "members":{
+ "encoderConfiguration":{"shape":"EncoderConfiguration"}
+ }
+ },
"GetParticipantRequest":{
"type":"structure",
"required":[
@@ -419,6 +929,31 @@
"stageSession":{"shape":"StageSession"}
}
},
+ "GetStorageConfigurationRequest":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"StorageConfigurationArn"}
+ }
+ },
+ "GetStorageConfigurationResponse":{
+ "type":"structure",
+ "members":{
+ "storageConfiguration":{"shape":"StorageConfiguration"}
+ }
+ },
+ "GridConfiguration":{
+ "type":"structure",
+ "members":{
+ "featuredParticipantAttribute":{"shape":"AttributeKey"}
+ }
+ },
+ "Height":{
+ "type":"integer",
+ "box":true,
+ "max":1920,
+ "min":1
+ },
"InternalServerException":{
"type":"structure",
"members":{
@@ -428,6 +963,44 @@
"exception":true,
"fault":true
},
+ "LayoutConfiguration":{
+ "type":"structure",
+ "members":{
+ "grid":{"shape":"GridConfiguration"}
+ }
+ },
+ "ListCompositionsRequest":{
+ "type":"structure",
+ "members":{
+ "filterByEncoderConfigurationArn":{"shape":"EncoderConfigurationArn"},
+ "filterByStageArn":{"shape":"StageArn"},
+ "maxResults":{"shape":"MaxCompositionResults"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListCompositionsResponse":{
+ "type":"structure",
+ "required":["compositions"],
+ "members":{
+ "compositions":{"shape":"CompositionSummaryList"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListEncoderConfigurationsRequest":{
+ "type":"structure",
+ "members":{
+ "maxResults":{"shape":"MaxEncoderConfigurationResults"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListEncoderConfigurationsResponse":{
+ "type":"structure",
+ "required":["encoderConfigurations"],
+ "members":{
+ "encoderConfigurations":{"shape":"EncoderConfigurationSummaryList"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
"ListParticipantEventsRequest":{
"type":"structure",
"required":[
@@ -507,6 +1080,21 @@
"stages":{"shape":"StageSummaryList"}
}
},
+ "ListStorageConfigurationsRequest":{
+ "type":"structure",
+ "members":{
+ "maxResults":{"shape":"MaxStorageConfigurationResults"},
+ "nextToken":{"shape":"PaginationToken"}
+ }
+ },
+ "ListStorageConfigurationsResponse":{
+ "type":"structure",
+ "required":["storageConfigurations"],
+ "members":{
+ "nextToken":{"shape":"PaginationToken"},
+ "storageConfigurations":{"shape":"StorageConfigurationSummaryList"}
+ }
+ },
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
@@ -525,23 +1113,45 @@
"tags":{"shape":"Tags"}
}
},
+ "MaxCompositionResults":{
+ "type":"integer",
+ "box":true,
+ "max":100,
+ "min":1
+ },
+ "MaxEncoderConfigurationResults":{
+ "type":"integer",
+ "box":true,
+ "max":100,
+ "min":1
+ },
"MaxParticipantEventResults":{
"type":"integer",
+ "box":true,
"max":100,
"min":1
},
"MaxParticipantResults":{
"type":"integer",
+ "box":true,
"max":100,
"min":1
},
"MaxStageResults":{
"type":"integer",
+ "box":true,
"max":100,
"min":1
},
"MaxStageSessionResults":{
"type":"integer",
+ "box":true,
+ "max":100,
+ "min":1
+ },
+ "MaxStorageConfigurationResults":{
+ "type":"integer",
+ "box":true,
"max":100,
"min":1
},
@@ -579,7 +1189,12 @@
"min":0,
"pattern":"^[a-zA-Z0-9-_.,:;\\s]*$"
},
- "ParticipantId":{"type":"string"},
+ "ParticipantId":{
+ "type":"string",
+ "max":64,
+ "min":0,
+ "pattern":"^[a-zA-Z0-9-]*$"
+ },
"ParticipantList":{
"type":"list",
"member":{"shape":"ParticipantSummary"}
@@ -648,6 +1263,7 @@
},
"ParticipantTokenDurationMinutes":{
"type":"integer",
+ "box":true,
"max":20160,
"min":1
},
@@ -681,6 +1297,16 @@
"exception":true
},
"Published":{"type":"boolean"},
+ "RecordingConfiguration":{
+ "type":"structure",
+ "members":{
+ "format":{"shape":"RecordingConfigurationFormat"}
+ }
+ },
+ "RecordingConfigurationFormat":{
+ "type":"string",
+ "enum":["HLS"]
+ },
"ResourceArn":{
"type":"string",
"max":128,
@@ -698,6 +1324,38 @@
},
"exception":true
},
+ "S3BucketName":{
+ "type":"string",
+ "max":63,
+ "min":3,
+ "pattern":"^[a-z0-9-.]+$"
+ },
+ "S3DestinationConfiguration":{
+ "type":"structure",
+ "required":[
+ "encoderConfigurationArns",
+ "storageConfigurationArn"
+ ],
+ "members":{
+ "encoderConfigurationArns":{"shape":"EncoderConfigurationArnList"},
+ "recordingConfiguration":{"shape":"RecordingConfiguration"},
+ "storageConfigurationArn":{"shape":"StorageConfigurationArn"}
+ }
+ },
+ "S3Detail":{
+ "type":"structure",
+ "required":["recordingPrefix"],
+ "members":{
+ "recordingPrefix":{"shape":"String"}
+ }
+ },
+ "S3StorageConfiguration":{
+ "type":"structure",
+ "required":["bucketName"],
+ "members":{
+ "bucketName":{"shape":"S3BucketName"}
+ }
+ },
"ServiceQuotaExceededException":{
"type":"structure",
"members":{
@@ -771,6 +1429,77 @@
"type":"list",
"member":{"shape":"StageSummary"}
},
+ "StartCompositionRequest":{
+ "type":"structure",
+ "required":[
+ "destinations",
+ "stageArn"
+ ],
+ "members":{
+ "destinations":{"shape":"DestinationConfigurationList"},
+ "idempotencyToken":{
+ "shape":"CompositionClientToken",
+ "idempotencyToken":true
+ },
+ "layout":{"shape":"LayoutConfiguration"},
+ "stageArn":{"shape":"StageArn"},
+ "tags":{"shape":"Tags"}
+ }
+ },
+ "StartCompositionResponse":{
+ "type":"structure",
+ "members":{
+ "composition":{"shape":"Composition"}
+ }
+ },
+ "StopCompositionRequest":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"CompositionArn"}
+ }
+ },
+ "StopCompositionResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "StorageConfiguration":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"StorageConfigurationArn"},
+ "name":{"shape":"StorageConfigurationName"},
+ "s3":{"shape":"S3StorageConfiguration"},
+ "tags":{"shape":"Tags"}
+ }
+ },
+ "StorageConfigurationArn":{
+ "type":"string",
+ "max":128,
+ "min":1,
+ "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:storage-configuration/[a-zA-Z0-9-]+$"
+ },
+ "StorageConfigurationName":{
+ "type":"string",
+ "max":128,
+ "min":0,
+ "pattern":"^[a-zA-Z0-9-_]*$"
+ },
+ "StorageConfigurationSummary":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{"shape":"StorageConfigurationArn"},
+ "name":{"shape":"StorageConfigurationName"},
+ "s3":{"shape":"S3StorageConfiguration"},
+ "tags":{"shape":"Tags"}
+ }
+ },
+ "StorageConfigurationSummaryList":{
+ "type":"list",
+ "member":{"shape":"StorageConfigurationSummary"}
+ },
"String":{"type":"string"},
"TagKey":{
"type":"string",
@@ -873,6 +1602,21 @@
},
"exception":true
},
+ "Video":{
+ "type":"structure",
+ "members":{
+ "bitrate":{"shape":"Bitrate"},
+ "framerate":{"shape":"Framerate"},
+ "height":{"shape":"Height"},
+ "width":{"shape":"Width"}
+ }
+ },
+ "Width":{
+ "type":"integer",
+ "box":true,
+ "max":1920,
+ "min":1
+ },
"errorMessage":{"type":"string"}
}
}
diff --git a/models/apis/ivs-realtime/2020-07-14/docs-2.json b/models/apis/ivs-realtime/2020-07-14/docs-2.json
index 4d4e25ce814..7fea3339106 100644
--- a/models/apis/ivs-realtime/2020-07-14/docs-2.json
+++ b/models/apis/ivs-realtime/2020-07-14/docs-2.json
@@ -1,19 +1,31 @@
{
"version": "2.0",
- "service": " Introduction
The Amazon Interactive Video Service (IVS) real-time API is REST compatible, using a standard HTTP API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses, including errors.
Terminology:
-
A stage is a virtual space where participants can exchange video in real time.
-
A participant token is a token that authenticates a participant when they join a stage.
-
A participant object represents participants (people) in the stage and contains information about them. When a token is created, it includes a participant ID; when a participant uses that token to join a stage, the participant is associated with that participant ID There is a 1:1 mapping between participant tokens and participants.
Resources
The following resources contain information about your IVS live stream (see Getting Started with Amazon IVS Real-Time Streaming):
Tagging
A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature
to label a particular video category. See Tagging AWS Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS stages has no service-specific constraints beyond what is documented there.
Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).
The Amazon IVS real-time API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Stage.
At most 50 tags can be applied to a resource.
Stages Endpoints
-
CreateParticipantToken — Creates an additional token for a specified stage. This can be done after stage creation or when tokens expire.
-
CreateStage — Creates a new stage (and optionally participant tokens).
-
DeleteStage — Shuts down and deletes the specified stage (disconnecting all participants).
-
DisconnectParticipant — Disconnects a specified participant and revokes the participant permanently from a specified stage.
-
GetParticipant — Gets information about the specified participant token.
-
GetStage — Gets information for the specified stage.
-
GetStageSession — Gets information for the specified stage session.
-
ListParticipantEvents — Lists events for a specified participant that occurred during a specified stage session.
-
ListParticipants — Lists all participants in a specified stage session.
-
ListStages — Gets summary information about all stages in your account, in the AWS region where the API request is processed.
-
ListStageSessions — Gets all sessions for a specified stage.
-
UpdateStage — Updates a stage’s configuration.
Tags Endpoints
-
ListTagsForResource — Gets information about AWS tags for the specified ARN.
-
TagResource — Adds or updates tags for the AWS resource with the specified ARN.
-
UntagResource — Removes tags from the resource with the specified ARN.
",
+ "service": " Introduction
The Amazon Interactive Video Service (IVS) real-time API is REST compatible, using a standard HTTP API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses, including errors.
Terminology:
-
A stage is a virtual space where participants can exchange video in real time.
-
A participant token is a token that authenticates a participant when they join a stage.
-
A participant object represents participants (people) in the stage and contains information about them. When a token is created, it includes a participant ID; when a participant uses that token to join a stage, the participant is associated with that participant ID. There is a 1:1 mapping between participant tokens and participants.
-
Server-side composition: The composition process composites participants of a stage into a single video and forwards it to a set of outputs (e.g., IVS channels). Composition endpoints support this process.
-
Server-side composition: A composition controls the look of the outputs, including how participants are positioned in the video.
Resources
The following resources contain information about your IVS live stream (see Getting Started with Amazon IVS Real-Time Streaming):
Tagging
A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature
to label a particular video category. See Tagging AWS Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS stages has no service-specific constraints beyond what is documented there.
Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).
The Amazon IVS real-time API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Stage.
At most 50 tags can be applied to a resource.
Stages Endpoints
-
CreateParticipantToken — Creates an additional token for a specified stage. This can be done after stage creation or when tokens expire.
-
CreateStage — Creates a new stage (and optionally participant tokens).
-
DeleteStage — Shuts down and deletes the specified stage (disconnecting all participants).
-
DisconnectParticipant — Disconnects a specified participant and revokes the participant permanently from a specified stage.
-
GetParticipant — Gets information about the specified participant token.
-
GetStage — Gets information for the specified stage.
-
GetStageSession — Gets information for the specified stage session.
-
ListParticipantEvents — Lists events for a specified participant that occurred during a specified stage session.
-
ListParticipants — Lists all participants in a specified stage session.
-
ListStages — Gets summary information about all stages in your account, in the AWS region where the API request is processed.
-
ListStageSessions — Gets all sessions for a specified stage.
-
UpdateStage — Updates a stage’s configuration.
Composition Endpoints
-
GetComposition — Gets information about the specified Composition resource.
-
ListCompositions — Gets summary information about all Compositions in your account, in the AWS region where the API request is processed.
-
StartComposition — Starts a Composition from a stage based on the configuration provided in the request.
-
StopComposition — Stops and deletes a Composition resource. Any broadcast from the Composition resource is stopped.
EncoderConfiguration Endpoints
StorageConfiguration Endpoints
Tags Endpoints
-
ListTagsForResource — Gets information about AWS tags for the specified ARN.
-
TagResource — Adds or updates tags for the AWS resource with the specified ARN.
-
UntagResource — Removes tags from the resource with the specified ARN.
",
"operations": {
+ "CreateEncoderConfiguration": "Creates an EncoderConfiguration object.
",
"CreateParticipantToken": "Creates an additional token for a specified stage. This can be done after stage creation or when tokens expire. Tokens always are scoped to the stage for which they are created.
Encryption keys are owned by Amazon IVS and never used directly by your application.
",
"CreateStage": "Creates a new stage (and optionally participant tokens).
",
+ "CreateStorageConfiguration": "Creates a new storage configuration, used to enable recording to Amazon S3. When a StorageConfiguration is created, IVS will modify the S3 bucketPolicy of the provided bucket. This will ensure that IVS has sufficient permissions to write content to the provided bucket.
",
+ "DeleteEncoderConfiguration": "Deletes an EncoderConfiguration resource. Ensures that no Compositions are using this template; otherwise, returns an error.
",
"DeleteStage": "Shuts down and deletes the specified stage (disconnecting all participants).
",
+ "DeleteStorageConfiguration": "Deletes the storage configuration for the specified ARN.
If you try to delete a storage configuration that is used by a Composition, you will get an error (409 ConflictException). To avoid this, for all Compositions that reference the storage configuration, first use StopComposition and wait for it to complete, then use DeleteStorageConfiguration.
",
"DisconnectParticipant": "Disconnects a specified participant and revokes the participant permanently from a specified stage.
",
+ "GetComposition": "Get information about the specified Composition resource.
",
+ "GetEncoderConfiguration": "Gets information about the specified EncoderConfiguration resource.
",
"GetParticipant": "Gets information about the specified participant token.
",
"GetStage": "Gets information for the specified stage.
",
"GetStageSession": "Gets information for the specified stage session.
",
+ "GetStorageConfiguration": "Gets the storage configuration for the specified ARN.
",
+ "ListCompositions": "Gets summary information about all Compositions in your account, in the AWS region where the API request is processed.
",
+ "ListEncoderConfigurations": "Gets summary information about all EncoderConfigurations in your account, in the AWS region where the API request is processed.
",
"ListParticipantEvents": "Lists events for a specified participant that occurred during a specified stage session.
",
"ListParticipants": "Lists all participants in a specified stage session.
",
"ListStageSessions": "Gets all sessions for a specified stage.
",
"ListStages": "Gets summary information about all stages in your account, in the AWS region where the API request is processed.
",
+ "ListStorageConfigurations": "Gets summary information about all storage configurations in your account, in the AWS region where the API request is processed.
",
"ListTagsForResource": "Gets information about AWS tags for the specified ARN.
",
+ "StartComposition": "Starts a Composition from a stage based on the configuration provided in the request.
A Composition is an ephemeral resource that exists after this endpoint returns successfully. Composition stops and the resource is deleted:
-
When StopComposition is called.
-
After a 1-minute timeout, when all participants are disconnected from the stage.
-
After a 1-minute timeout, if there are no participants in the stage when StartComposition is called.
-
When broadcasting to the IVS channel fails and all retries are exhausted.
-
When broadcasting is disconnected and all attempts to reconnect are exhausted.
",
+ "StopComposition": "Stops and deletes a Composition resource. Any broadcast from the Composition resource is stopped.
",
"TagResource": "Adds or updates tags for the AWS resource with the specified ARN.
",
"UntagResource": "Removes tags from the resource with the specified ARN.
",
"UpdateStage": "Updates a stage’s configuration.
"
@@ -24,11 +36,86 @@
"refs": {
}
},
+ "AttributeKey": {
+ "base": null,
+ "refs": {
+ "GridConfiguration$featuredParticipantAttribute": "This attribute name identifies the featured slot. A participant with this attribute set to \"true\"
(as a string value) in ParticipantTokenConfiguration is placed in the featured slot.
"
+ }
+ },
+ "Bitrate": {
+ "base": null,
+ "refs": {
+ "Video$bitrate": "Bitrate for generated output, in bps. Default: 2500000.
"
+ }
+ },
+ "ChannelArn": {
+ "base": null,
+ "refs": {
+ "ChannelDestinationConfiguration$channelArn": "ARN of the channel to use for broadcasting. The channel and stage resources must be in the same AWS account and region. The channel must be offline (not broadcasting).
"
+ }
+ },
+ "ChannelDestinationConfiguration": {
+ "base": "Object specifying a channel as a destination.
",
+ "refs": {
+ "DestinationConfiguration$channel": "An IVS channel to be used for broadcasting, for server-side composition. Either a channel
or an s3
must be specified.
"
+ }
+ },
+ "Composition": {
+ "base": "Object specifying a Composition resource.
",
+ "refs": {
+ "GetCompositionResponse$composition": "The Composition that was returned.
",
+ "StartCompositionResponse$composition": "The Composition that was created.
"
+ }
+ },
+ "CompositionArn": {
+ "base": null,
+ "refs": {
+ "Composition$arn": "ARN of the Composition resource.
",
+ "CompositionSummary$arn": "ARN of the Composition resource.
",
+ "GetCompositionRequest$arn": "ARN of the Composition resource.
",
+ "StopCompositionRequest$arn": "ARN of the Composition.
"
+ }
+ },
+ "CompositionClientToken": {
+ "base": null,
+ "refs": {
+ "StartCompositionRequest$idempotencyToken": "Idempotency token.
"
+ }
+ },
+ "CompositionState": {
+ "base": null,
+ "refs": {
+ "Composition$state": "State of the Composition.
",
+ "CompositionSummary$state": "State of the Composition resource.
"
+ }
+ },
+ "CompositionSummary": {
+ "base": "Summary information about a Composition.
",
+ "refs": {
+ "CompositionSummaryList$member": null
+ }
+ },
+ "CompositionSummaryList": {
+ "base": null,
+ "refs": {
+ "ListCompositionsResponse$compositions": "List of the matching Compositions (summary information only).
"
+ }
+ },
"ConflictException": {
"base": "",
"refs": {
}
},
+ "CreateEncoderConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateEncoderConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CreateParticipantTokenRequest": {
"base": null,
"refs": {
@@ -49,6 +136,26 @@
"refs": {
}
},
+ "CreateStorageConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateStorageConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteEncoderConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteEncoderConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteStageRequest": {
"base": null,
"refs": {
@@ -59,6 +166,72 @@
"refs": {
}
},
+ "DeleteStorageConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteStorageConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "Destination": {
+ "base": "Object specifying the status of a Destination.
",
+ "refs": {
+ "DestinationList$member": null
+ }
+ },
+ "DestinationConfiguration": {
+ "base": "Complex data type that defines destination-configuration objects.
",
+ "refs": {
+ "Destination$configuration": "Configuration used to create this destination.
",
+ "DestinationConfigurationList$member": null
+ }
+ },
+ "DestinationConfigurationList": {
+ "base": null,
+ "refs": {
+ "StartCompositionRequest$destinations": "Array of destination configuration.
"
+ }
+ },
+ "DestinationConfigurationName": {
+ "base": null,
+ "refs": {
+ "DestinationConfiguration$name": "Name that can be specified to help identify the destination.
"
+ }
+ },
+ "DestinationDetail": {
+ "base": "Complex data type that defines destination-detail objects.
",
+ "refs": {
+ "Destination$detail": "Optional details regarding the status of the destination.
"
+ }
+ },
+ "DestinationList": {
+ "base": null,
+ "refs": {
+ "Composition$destinations": "Array of Destination objects. A Composition can contain either one destination (channel
or s3
) or two (one channel
and one s3
).
"
+ }
+ },
+ "DestinationState": {
+ "base": null,
+ "refs": {
+ "Destination$state": "State of the Composition Destination.
",
+ "DestinationSummary$state": "State of the Composition Destination.
"
+ }
+ },
+ "DestinationSummary": {
+ "base": "Summary information about a Destination.
",
+ "refs": {
+ "DestinationSummaryList$member": null
+ }
+ },
+ "DestinationSummaryList": {
+ "base": null,
+ "refs": {
+ "CompositionSummary$destinations": "Array of Destination objects.
"
+ }
+ },
"DisconnectParticipantReason": {
"base": null,
"refs": {
@@ -75,6 +248,51 @@
"refs": {
}
},
+ "EncoderConfiguration": {
+ "base": "Settings for transcoding.
",
+ "refs": {
+ "CreateEncoderConfigurationResponse$encoderConfiguration": "The EncoderConfiguration that was created.
",
+ "GetEncoderConfigurationResponse$encoderConfiguration": "The EncoderConfiguration that was returned.
"
+ }
+ },
+ "EncoderConfigurationArn": {
+ "base": null,
+ "refs": {
+ "ChannelDestinationConfiguration$encoderConfigurationArn": "ARN of the EncoderConfiguration resource. The encoder configuration and stage resources must be in the same AWS account and region.
",
+ "DeleteEncoderConfigurationRequest$arn": "ARN of the EncoderConfiguration.
",
+ "EncoderConfiguration$arn": "ARN of the EncoderConfiguration resource.
",
+ "EncoderConfigurationArnList$member": null,
+ "EncoderConfigurationSummary$arn": "ARN of the EncoderConfiguration resource.
",
+ "GetEncoderConfigurationRequest$arn": "ARN of the EncoderConfiguration resource.
",
+ "ListCompositionsRequest$filterByEncoderConfigurationArn": "Filters the Composition list to match the specified EncoderConfiguration attached to at least one of its output.
"
+ }
+ },
+ "EncoderConfigurationArnList": {
+ "base": null,
+ "refs": {
+ "S3DestinationConfiguration$encoderConfigurationArns": "ARNs of the EncoderConfiguration resource. The encoder configuration and stage resources must be in the same AWS account and region.
"
+ }
+ },
+ "EncoderConfigurationName": {
+ "base": null,
+ "refs": {
+ "CreateEncoderConfigurationRequest$name": "Optional name to identify the resource.
",
+ "EncoderConfiguration$name": "Optional name to identify the resource.
",
+ "EncoderConfigurationSummary$name": "Optional name to identify the resource.
"
+ }
+ },
+ "EncoderConfigurationSummary": {
+ "base": "Summary information about an EncoderConfiguration.
",
+ "refs": {
+ "EncoderConfigurationSummaryList$member": null
+ }
+ },
+ "EncoderConfigurationSummaryList": {
+ "base": null,
+ "refs": {
+ "ListEncoderConfigurationsResponse$encoderConfigurations": "List of the matching EncoderConfigurations (summary information only).
"
+ }
+ },
"Event": {
"base": "An occurrence during a stage session.
",
"refs": {
@@ -99,6 +317,32 @@
"Event$name": "The name of the event.
"
}
},
+ "Framerate": {
+ "base": null,
+ "refs": {
+ "Video$framerate": "Video frame rate, in fps. Default: 30.
"
+ }
+ },
+ "GetCompositionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetCompositionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetEncoderConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetEncoderConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"GetParticipantRequest": {
"base": null,
"refs": {
@@ -129,11 +373,60 @@
"refs": {
}
},
+ "GetStorageConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetStorageConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GridConfiguration": {
+ "base": "Configuration information specific to Grid layout, for server-side composition. See \"Layouts\" in Server-Side Composition.
",
+ "refs": {
+ "LayoutConfiguration$grid": "Configuration related to grid layout. Default: Grid layout.
"
+ }
+ },
+ "Height": {
+ "base": null,
+ "refs": {
+ "Video$height": "Video-resolution height. Note that the maximum value is determined by width
times height
, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.
"
+ }
+ },
"InternalServerException": {
"base": "",
"refs": {
}
},
+ "LayoutConfiguration": {
+ "base": "Configuration information of supported layouts for server-side composition.
",
+ "refs": {
+ "Composition$layout": "Layout object to configure composition parameters.
",
+ "StartCompositionRequest$layout": "Layout object to configure composition parameters.
"
+ }
+ },
+ "ListCompositionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListCompositionsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListEncoderConfigurationsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListEncoderConfigurationsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListParticipantEventsRequest": {
"base": null,
"refs": {
@@ -174,6 +467,16 @@
"refs": {
}
},
+ "ListStorageConfigurationsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListStorageConfigurationsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTagsForResourceRequest": {
"base": null,
"refs": {
@@ -184,6 +487,18 @@
"refs": {
}
},
+ "MaxCompositionResults": {
+ "base": null,
+ "refs": {
+ "ListCompositionsRequest$maxResults": "Maximum number of results to return. Default: 100.
"
+ }
+ },
+ "MaxEncoderConfigurationResults": {
+ "base": null,
+ "refs": {
+ "ListEncoderConfigurationsRequest$maxResults": "Maximum number of results to return. Default: 100.
"
+ }
+ },
"MaxParticipantEventResults": {
"base": null,
"refs": {
@@ -208,17 +523,29 @@
"ListStageSessionsRequest$maxResults": "Maximum number of results to return. Default: 50.
"
}
},
+ "MaxStorageConfigurationResults": {
+ "base": null,
+ "refs": {
+ "ListStorageConfigurationsRequest$maxResults": "Maximum number of storage configurations to return. Default: your service quota or 100, whichever is smaller.
"
+ }
+ },
"PaginationToken": {
"base": null,
"refs": {
- "ListParticipantEventsRequest$nextToken": "The first participant to retrieve. This is used for pagination; see the nextToken
response field.
",
- "ListParticipantEventsResponse$nextToken": "If there are more rooms than maxResults
, use nextToken
in the request to get the next set.
",
+ "ListCompositionsRequest$nextToken": "The first Composition to retrieve. This is used for pagination; see the nextToken
response field.
",
+ "ListCompositionsResponse$nextToken": "If there are more compositions than maxResults
, use nextToken
in the request to get the next set.
",
+ "ListEncoderConfigurationsRequest$nextToken": "The first encoder configuration to retrieve. This is used for pagination; see the nextToken
response field.
",
+ "ListEncoderConfigurationsResponse$nextToken": "If there are more encoder configurations than maxResults
, use nextToken
in the request to get the next set.
",
+ "ListParticipantEventsRequest$nextToken": "The first participant event to retrieve. This is used for pagination; see the nextToken
response field.
",
+ "ListParticipantEventsResponse$nextToken": "If there are more events than maxResults
, use nextToken
in the request to get the next set.
",
"ListParticipantsRequest$nextToken": "The first participant to retrieve. This is used for pagination; see the nextToken
response field.
",
- "ListParticipantsResponse$nextToken": "If there are more rooms than maxResults
, use nextToken
in the request to get the next set.
",
- "ListStageSessionsRequest$nextToken": "The first stage to retrieve. This is used for pagination; see the nextToken
response field.
",
- "ListStageSessionsResponse$nextToken": "If there are more rooms than maxResults
, use nextToken
in the request to get the next set.
",
+ "ListParticipantsResponse$nextToken": "If there are more participants than maxResults
, use nextToken
in the request to get the next set.
",
+ "ListStageSessionsRequest$nextToken": "The first stage session to retrieve. This is used for pagination; see the nextToken
response field.
",
+ "ListStageSessionsResponse$nextToken": "If there are more stage sessions than maxResults
, use nextToken
in the request to get the next set.
",
"ListStagesRequest$nextToken": "The first stage to retrieve. This is used for pagination; see the nextToken
response field.
",
- "ListStagesResponse$nextToken": "If there are more rooms than maxResults
, use nextToken
in the request to get the next set.
"
+ "ListStagesResponse$nextToken": "If there are more stages than maxResults
, use nextToken
in the request to get the next set.
",
+ "ListStorageConfigurationsRequest$nextToken": "The first storage configuration to retrieve. This is used for pagination; see the nextToken
response field.
",
+ "ListStorageConfigurationsResponse$nextToken": "If there are more storage configurations than maxResults
, use nextToken
in the request to get the next set.
"
}
},
"Participant": {
@@ -370,6 +697,18 @@
"ParticipantSummary$published": "Whether the participant ever published to the stage session.
"
}
},
+ "RecordingConfiguration": {
+ "base": "An object representing a configuration to record a stage stream.
",
+ "refs": {
+ "S3DestinationConfiguration$recordingConfiguration": "Array of maps, each of the form string:string (key:value)
. This is an optional customer specification, currently used only to specify the recording format for storing a recording in Amazon S3.
"
+ }
+ },
+ "RecordingConfigurationFormat": {
+ "base": null,
+ "refs": {
+ "RecordingConfiguration$format": "The recording format for storing a recording in Amazon S3.
"
+ }
+ },
"ResourceArn": {
"base": null,
"refs": {
@@ -383,6 +722,32 @@
"refs": {
}
},
+ "S3BucketName": {
+ "base": null,
+ "refs": {
+ "S3StorageConfiguration$bucketName": "Location (S3 bucket name) where recorded videos will be stored. Note that the StorageConfiguration and S3 bucket must be in the same region as the Composition.
"
+ }
+ },
+ "S3DestinationConfiguration": {
+ "base": "A complex type that describes an S3 location where recorded videos will be stored.
",
+ "refs": {
+ "DestinationConfiguration$s3": "An S3 storage configuration to be used for recording video data. Either a channel
or an s3
must be specified.
"
+ }
+ },
+ "S3Detail": {
+ "base": "Complex data type that defines S3Detail objects.
",
+ "refs": {
+ "DestinationDetail$s3": "An S3 detail object to return information about the S3 destination.
"
+ }
+ },
+ "S3StorageConfiguration": {
+ "base": "A complex type that describes an S3 location where recorded videos will be stored.
",
+ "refs": {
+ "CreateStorageConfigurationRequest$s3": "A complex type that contains a storage configuration for where recorded video will be stored.
",
+ "StorageConfiguration$s3": "An S3 destination configuration where recorded videos will be stored.
",
+ "StorageConfigurationSummary$s3": "An S3 destination configuration where recorded videos will be stored.
"
+ }
+ },
"ServiceQuotaExceededException": {
"base": "",
"refs": {
@@ -399,17 +764,21 @@
"StageArn": {
"base": null,
"refs": {
+ "Composition$stageArn": "ARN of the stage used as input
",
+ "CompositionSummary$stageArn": "ARN of the attached stage.
",
"CreateParticipantTokenRequest$stageArn": "ARN of the stage to which this token is scoped.
",
"DeleteStageRequest$arn": "ARN of the stage to be deleted.
",
"DisconnectParticipantRequest$stageArn": "ARN of the stage to which the participant is attached.
",
"GetParticipantRequest$stageArn": "Stage ARN.
",
"GetStageRequest$arn": "ARN of the stage for which the information is to be retrieved.
",
"GetStageSessionRequest$stageArn": "ARN of the stage for which the information is to be retrieved.
",
+ "ListCompositionsRequest$filterByStageArn": "Filters the Composition list to match the specified Stage ARN.
",
"ListParticipantEventsRequest$stageArn": "Stage ARN.
",
"ListParticipantsRequest$stageArn": "Stage ARN.
",
"ListStageSessionsRequest$stageArn": "Stage ARN.
",
"Stage$arn": "Stage ARN.
",
"StageSummary$arn": "Stage ARN.
",
+ "StartCompositionRequest$stageArn": "ARN of the stage to be used for compositing.
",
"UpdateStageRequest$arn": "ARN of the stage to be updated.
"
}
},
@@ -465,13 +834,73 @@
"ListStagesResponse$stages": "List of the matching stages (summary information only).
"
}
},
+ "StartCompositionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StartCompositionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StopCompositionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StopCompositionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StorageConfiguration": {
+ "base": "A complex type that describes a location where recorded videos will be stored.
",
+ "refs": {
+ "CreateStorageConfigurationResponse$storageConfiguration": "The StorageConfiguration that was created.
",
+ "GetStorageConfigurationResponse$storageConfiguration": "The StorageConfiguration that was returned.
"
+ }
+ },
+ "StorageConfigurationArn": {
+ "base": null,
+ "refs": {
+ "DeleteStorageConfigurationRequest$arn": "ARN of the storage configuration to be deleted.
",
+ "GetStorageConfigurationRequest$arn": "ARN of the storage configuration to be retrieved.
",
+ "S3DestinationConfiguration$storageConfigurationArn": "ARN of the StorageConfiguration where recorded videos will be stored.
",
+ "StorageConfiguration$arn": "ARN of the storage configuration.
",
+ "StorageConfigurationSummary$arn": "ARN of the storage configuration.
"
+ }
+ },
+ "StorageConfigurationName": {
+ "base": null,
+ "refs": {
+ "CreateStorageConfigurationRequest$name": "Storage configuration name. The value does not need to be unique.
",
+ "StorageConfiguration$name": "Name of the storage configuration.
",
+ "StorageConfigurationSummary$name": "Name of the storage configuration.
"
+ }
+ },
+ "StorageConfigurationSummary": {
+ "base": "Summary information about a storage configuration.
",
+ "refs": {
+ "StorageConfigurationSummaryList$member": null
+ }
+ },
+ "StorageConfigurationSummaryList": {
+ "base": null,
+ "refs": {
+ "ListStorageConfigurationsResponse$storageConfigurations": "List of the matching storage configurations.
"
+ }
+ },
"String": {
"base": null,
"refs": {
+ "Destination$id": "Unique identifier for this destination, assigned by IVS.
",
+ "DestinationSummary$id": "Unique identifier for this destination, assigned by IVS.
",
"ParticipantAttributes$key": null,
"ParticipantAttributes$value": null,
"ParticipantTokenAttributes$key": null,
- "ParticipantTokenAttributes$value": null
+ "ParticipantTokenAttributes$value": null,
+ "S3Detail$recordingPrefix": "The S3 bucket prefix under which the recording is stored.
"
}
},
"TagKey": {
@@ -506,16 +935,33 @@
"Tags": {
"base": null,
"refs": {
+ "Composition$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "CompositionSummary$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "CreateEncoderConfigurationRequest$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
"CreateStageRequest$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "CreateStorageConfigurationRequest$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "EncoderConfiguration$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "EncoderConfigurationSummary$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
"ListTagsForResourceResponse$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
",
"Stage$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
"StageSummary$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "StartCompositionRequest$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "StorageConfiguration$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
+ "StorageConfigurationSummary$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.
",
"TagResourceRequest$tags": "Array of tags to be added or updated. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints beyond what is documented there.
"
}
},
"Time": {
"base": null,
"refs": {
+ "Composition$endTime": "UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
",
+ "Composition$startTime": "UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
",
+ "CompositionSummary$endTime": "UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
",
+ "CompositionSummary$startTime": "UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
",
+ "Destination$endTime": "UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
",
+ "Destination$startTime": "UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
",
+ "DestinationSummary$endTime": "UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
",
+ "DestinationSummary$startTime": "UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
",
"Event$eventTime": "ISO 8601 timestamp (returned as a string) for when the event occurred.
",
"Participant$firstJoinTime": "ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.
",
"ParticipantSummary$firstJoinTime": "ISO 8601 timestamp (returned as a string) when the participant first joined the stage session.
",
@@ -558,6 +1004,19 @@
"refs": {
}
},
+ "Video": {
+ "base": "Settings for video.
",
+ "refs": {
+ "CreateEncoderConfigurationRequest$video": "Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps.
",
+ "EncoderConfiguration$video": "Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps
"
+ }
+ },
+ "Width": {
+ "base": null,
+ "refs": {
+ "Video$width": "Video-resolution width. Note that the maximum value is determined by width
times height
, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.
"
+ }
+ },
"errorMessage": {
"base": null,
"refs": {
diff --git a/models/apis/ivs-realtime/2020-07-14/endpoint-rule-set-1.json b/models/apis/ivs-realtime/2020-07-14/endpoint-rule-set-1.json
index 0b1cc12c984..9c4c0ef5cab 100644
--- a/models/apis/ivs-realtime/2020-07-14/endpoint-rule-set-1.json
+++ b/models/apis/ivs-realtime/2020-07-14/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -59,7 +58,6 @@
},
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -87,13 +85,14 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -106,7 +105,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -120,7 +118,6 @@
"assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -143,7 +140,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -178,11 +174,9 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -193,16 +187,19 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -216,14 +213,12 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
@@ -232,15 +227,14 @@
},
"supportsFIPS"
]
- }
+ },
+ true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -251,16 +245,19 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -274,7 +271,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -294,11 +290,9 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -309,20 +303,22 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -333,18 +329,22 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
}
]
}
\ No newline at end of file
diff --git a/models/apis/ivs-realtime/2020-07-14/paginators-1.json b/models/apis/ivs-realtime/2020-07-14/paginators-1.json
index 006aff958af..1f17f6ce48a 100644
--- a/models/apis/ivs-realtime/2020-07-14/paginators-1.json
+++ b/models/apis/ivs-realtime/2020-07-14/paginators-1.json
@@ -1,5 +1,15 @@
{
"pagination": {
+ "ListCompositions": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults"
+ },
+ "ListEncoderConfigurations": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults"
+ },
"ListParticipantEvents": {
"input_token": "nextToken",
"output_token": "nextToken",
@@ -19,6 +29,11 @@
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults"
+ },
+ "ListStorageConfigurations": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults"
}
}
}
diff --git a/models/apis/kafka/2018-11-14/api-2.json b/models/apis/kafka/2018-11-14/api-2.json
index bf94b0d96ef..23bd45af620 100644
--- a/models/apis/kafka/2018-11-14/api-2.json
+++ b/models/apis/kafka/2018-11-14/api-2.json
@@ -1971,6 +1971,10 @@
"StorageMode" : {
"shape" : "StorageMode",
"locationName" : "storageMode"
+ },
+ "CustomerActionStatus": {
+ "shape": "CustomerActionStatus",
+ "locationName": "customerActionStatus"
}
}
},
@@ -3523,6 +3527,10 @@
}
}
},
+ "CustomerActionStatus": {
+ "type": "string",
+ "enum": [ "CRITICAL_ACTION_REQUIRED", "ACTION_RECOMMENDED", "NONE" ]
+ },
"DescribeClusterV2Request": {
"type": "structure",
"members": {
@@ -3810,6 +3818,11 @@
"shape" : "StorageMode",
"locationName" : "storageMode",
"documentation": "\n This controls storage mode for supported storage tiers.
\n "
+ },
+ "CustomerActionStatus": {
+ "shape": "CustomerActionStatus",
+ "locationName": "customerActionStatus",
+ "documentation": "\n Determines if there is an action required from the customer.
\n "
}
},
"required": [
diff --git a/models/apis/kafka/2018-11-14/docs-2.json b/models/apis/kafka/2018-11-14/docs-2.json
index d2b836189ea..4fdc27b042b 100644
--- a/models/apis/kafka/2018-11-14/docs-2.json
+++ b/models/apis/kafka/2018-11-14/docs-2.json
@@ -347,6 +347,13 @@
"base" : "Response body for CreateVpcConnection
",
"refs" : { }
},
+ "CustomerActionStatus" : {
+ "base" : "A type of an action required from the customer.
",
+ "refs" : {
+ "ClusterInfo$CustomerActionStatus" : "Determines if there is an action required from the customer.
",
+ "Provisioned$CustomerActionStatus" : "Determines if there is an action required from the customer.
"
+ }
+ },
"DeleteClusterResponse" : {
"base" : "Returns information about the deleted cluster.
",
"refs" : { }
diff --git a/models/apis/lambda/2015-03-31/api-2.json b/models/apis/lambda/2015-03-31/api-2.json
index d6b1f481a98..42c394a4b6e 100644
--- a/models/apis/lambda/2015-03-31/api-2.json
+++ b/models/apis/lambda/2015-03-31/api-2.json
@@ -1305,6 +1305,17 @@
"ConsumerGroupId":{"shape":"URI"}
}
},
+ "ApplicationLogLevel":{
+ "type":"string",
+ "enum":[
+ "TRACE",
+ "DEBUG",
+ "INFO",
+ "WARN",
+ "ERROR",
+ "FATAL"
+ ]
+ },
"Architecture":{
"type":"string",
"enum":[
@@ -1535,7 +1546,8 @@
"CodeSigningConfigArn":{"shape":"CodeSigningConfigArn"},
"Architectures":{"shape":"ArchitecturesList"},
"EphemeralStorage":{"shape":"EphemeralStorage"},
- "SnapStart":{"shape":"SnapStart"}
+ "SnapStart":{"shape":"SnapStart"},
+ "LoggingConfig":{"shape":"LoggingConfig"}
}
},
"CreateFunctionUrlConfigRequest":{
@@ -2072,7 +2084,8 @@
"Architectures":{"shape":"ArchitecturesList"},
"EphemeralStorage":{"shape":"EphemeralStorage"},
"SnapStart":{"shape":"SnapStartResponse"},
- "RuntimeVersionConfig":{"shape":"RuntimeVersionConfig"}
+ "RuntimeVersionConfig":{"shape":"RuntimeVersionConfig"},
+ "LoggingConfig":{"shape":"LoggingConfig"}
}
},
"FunctionEventInvokeConfig":{
@@ -3299,6 +3312,19 @@
"max":160,
"pattern":"^/mnt/[a-zA-Z0-9-_.]+$"
},
+ "LogFormat":{
+ "type":"string",
+ "enum":[
+ "JSON",
+ "Text"
+ ]
+ },
+ "LogGroup":{
+ "type":"string",
+ "max":512,
+ "min":1,
+ "pattern":"[\\.\\-_/#A-Za-z0-9]+"
+ },
"LogType":{
"type":"string",
"enum":[
@@ -3306,6 +3332,15 @@
"Tail"
]
},
+ "LoggingConfig":{
+ "type":"structure",
+ "members":{
+ "LogFormat":{"shape":"LogFormat"},
+ "ApplicationLogLevel":{"shape":"ApplicationLogLevel"},
+ "SystemLogLevel":{"shape":"SystemLogLevel"},
+ "LogGroup":{"shape":"LogGroup"}
+ }
+ },
"Long":{"type":"long"},
"MasterRegion":{
"type":"string",
@@ -4101,6 +4136,14 @@
"member":{"shape":"SubnetId"},
"max":16
},
+ "SystemLogLevel":{
+ "type":"string",
+ "enum":[
+ "DEBUG",
+ "INFO",
+ "WARN"
+ ]
+ },
"TagKey":{"type":"string"},
"TagKeyList":{
"type":"list",
@@ -4347,7 +4390,8 @@
"FileSystemConfigs":{"shape":"FileSystemConfigList"},
"ImageConfig":{"shape":"ImageConfig"},
"EphemeralStorage":{"shape":"EphemeralStorage"},
- "SnapStart":{"shape":"SnapStart"}
+ "SnapStart":{"shape":"SnapStart"},
+ "LoggingConfig":{"shape":"LoggingConfig"}
}
},
"UpdateFunctionEventInvokeConfigRequest":{
diff --git a/models/apis/lambda/2015-03-31/docs-2.json b/models/apis/lambda/2015-03-31/docs-2.json
index 0dd1c62b97f..3a3428fa4ed 100644
--- a/models/apis/lambda/2015-03-31/docs-2.json
+++ b/models/apis/lambda/2015-03-31/docs-2.json
@@ -36,7 +36,7 @@
"GetProvisionedConcurrencyConfig": "Retrieves the provisioned concurrency configuration for a function's alias or version.
",
"GetRuntimeManagementConfig": "Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null
is returned for the ARN. For more information, see Runtime updates.
",
"Invoke": "Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType
is RequestResponse
). To invoke a function asynchronously, set InvocationType
to Event
. Lambda passes the ClientContext
object to your function for synchronous invocations only.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
",
- "InvokeAsync": " For asynchronous function invocation, use Invoke.
Invokes a function asynchronously.
If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
",
+ "InvokeAsync": " For asynchronous function invocation, use Invoke.
Invokes a function asynchronously.
",
"InvokeWithResponseStream": "Configure your Lambda functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
",
"ListAliases": "Returns a list of aliases for a Lambda function.
",
"ListCodeSigningConfigs": "Returns a list of code signing configurations. A request returns up to 10,000 configurations per call. You can use the MaxItems
parameter to return fewer configurations per call.
",
@@ -183,6 +183,12 @@
"EventSourceMappingConfiguration$AmazonManagedKafkaEventSourceConfig": "Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
"
}
},
+ "ApplicationLogLevel": {
+ "base": null,
+ "refs": {
+ "LoggingConfig$ApplicationLogLevel": "Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level and lower.
"
+ }
+ },
"Architecture": {
"base": null,
"refs": {
@@ -629,11 +635,11 @@
}
},
"EphemeralStorage": {
- "base": "The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
",
+ "base": "The size of the function's /tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
",
"refs": {
- "CreateFunctionRequest$EphemeralStorage": "The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
",
- "FunctionConfiguration$EphemeralStorage": "The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
",
- "UpdateFunctionConfigurationRequest$EphemeralStorage": "The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
"
+ "CreateFunctionRequest$EphemeralStorage": "The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
",
+ "FunctionConfiguration$EphemeralStorage": "The size of the function’s /tmp
directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.
",
+ "UpdateFunctionConfigurationRequest$EphemeralStorage": "The size of the function's /tmp
directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.
"
}
},
"EphemeralStorageSize": {
@@ -1466,6 +1472,18 @@
"FileSystemConfig$LocalMountPath": "The path where the function can access the file system, starting with /mnt/
.
"
}
},
+ "LogFormat": {
+ "base": null,
+ "refs": {
+ "LoggingConfig$LogFormat": "The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
"
+ }
+ },
+ "LogGroup": {
+ "base": null,
+ "refs": {
+ "LoggingConfig$LogGroup": "The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named /aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name.
"
+ }
+ },
"LogType": {
"base": null,
"refs": {
@@ -1473,6 +1491,14 @@
"InvokeWithResponseStreamRequest$LogType": "Set to Tail
to include the execution log in the response. Applies to synchronously invoked functions only.
"
}
},
+ "LoggingConfig": {
+ "base": "The function's Amazon CloudWatch Logs configuration settings.
",
+ "refs": {
+ "CreateFunctionRequest$LoggingConfig": "The function's Amazon CloudWatch Logs configuration settings.
",
+ "FunctionConfiguration$LoggingConfig": "The function's Amazon CloudWatch Logs configuration settings.
",
+ "UpdateFunctionConfigurationRequest$LoggingConfig": "The function's Amazon CloudWatch Logs configuration settings.
"
+ }
+ },
"Long": {
"base": null,
"refs": {
@@ -2282,6 +2308,12 @@
"VpcConfigResponse$SubnetIds": "A list of VPC subnet IDs.
"
}
},
+ "SystemLogLevel": {
+ "base": null,
+ "refs": {
+ "LoggingConfig$SystemLogLevel": "Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level and lower.
"
+ }
+ },
"TagKey": {
"base": null,
"refs": {
diff --git a/models/apis/macie2/2020-01-01/api-2.json b/models/apis/macie2/2020-01-01/api-2.json
index b166003c61e..fd5bffdbb9d 100644
--- a/models/apis/macie2/2020-01-01/api-2.json
+++ b/models/apis/macie2/2020-01-01/api-2.json
@@ -5245,6 +5245,10 @@
"configuration": {
"shape": "RevealConfiguration",
"locationName": "configuration"
+ },
+ "retrievalConfiguration": {
+ "shape": "RetrievalConfiguration",
+ "locationName": "retrievalConfiguration"
}
}
},
@@ -6696,6 +6700,33 @@
}
}
},
+ "RetrievalConfiguration": {
+ "type": "structure",
+ "members": {
+ "externalId": {
+ "shape": "__string",
+ "locationName": "externalId"
+ },
+ "retrievalMode": {
+ "shape": "RetrievalMode",
+ "locationName": "retrievalMode"
+ },
+ "roleName": {
+ "shape": "__stringMin1Max64PatternW",
+ "locationName": "roleName"
+ }
+ },
+ "required": [
+ "retrievalMode"
+ ]
+ },
+ "RetrievalMode": {
+ "type": "string",
+ "enum": [
+ "CALLER_CREDENTIALS",
+ "ASSUME_ROLE"
+ ]
+ },
"RevealConfiguration": {
"type": "structure",
"members": {
@@ -7682,7 +7713,13 @@
"UNSUPPORTED_OBJECT_TYPE",
"UNSUPPORTED_FINDING_TYPE",
"INVALID_CLASSIFICATION_RESULT",
- "OBJECT_UNAVAILABLE"
+ "OBJECT_UNAVAILABLE",
+ "ACCOUNT_NOT_IN_ORGANIZATION",
+ "MISSING_GET_MEMBER_PERMISSION",
+ "ROLE_TOO_PERMISSIVE",
+ "MEMBER_ROLE_TOO_PERMISSIVE",
+ "INVALID_RESULT_SIGNATURE",
+ "RESULT_NOT_SIGNED"
]
},
"Unit": {
@@ -7994,12 +8031,32 @@
"type": "structure",
"members": {}
},
+ "UpdateRetrievalConfiguration": {
+ "type": "structure",
+ "members": {
+ "retrievalMode": {
+ "shape": "RetrievalMode",
+ "locationName": "retrievalMode"
+ },
+ "roleName": {
+ "shape": "__stringMin1Max64PatternW",
+ "locationName": "roleName"
+ }
+ },
+ "required": [
+ "retrievalMode"
+ ]
+ },
"UpdateRevealConfigurationRequest": {
"type": "structure",
"members": {
"configuration": {
"shape": "RevealConfiguration",
"locationName": "configuration"
+ },
+ "retrievalConfiguration": {
+ "shape": "UpdateRetrievalConfiguration",
+ "locationName": "retrievalConfiguration"
}
},
"required": [
@@ -8012,6 +8069,10 @@
"configuration": {
"shape": "RevealConfiguration",
"locationName": "configuration"
+ },
+ "retrievalConfiguration": {
+ "shape": "RetrievalConfiguration",
+ "locationName": "retrievalConfiguration"
}
}
},
@@ -8538,6 +8599,12 @@
"max": 512,
"pattern": "^[\\s\\S]+$"
},
+ "__stringMin1Max64PatternW": {
+ "type": "string",
+ "min": 1,
+ "max": 64,
+ "pattern": "^[\\w+=,.@-]*$"
+ },
"__stringMin22Max22PatternAZ0922": {
"type": "string",
"min": 22,
diff --git a/models/apis/macie2/2020-01-01/docs-2.json b/models/apis/macie2/2020-01-01/docs-2.json
index c5ccdf5b6ac..350485fcb7b 100644
--- a/models/apis/macie2/2020-01-01/docs-2.json
+++ b/models/apis/macie2/2020-01-01/docs-2.json
@@ -867,7 +867,7 @@
"refs" : {
"ListJobsFilterTerm$Comparator" : "The operator to use to filter the results.
",
"SimpleCriterionForJob$Comparator" : "The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
",
- "SimpleScopeTerm$Comparator" : "The operator to use in the condition. Valid values for each supported property (key) are:
OBJECT_EXTENSION - EQ (equals) or NE (not equals)
OBJECT_KEY - STARTS_WITH
OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS
OBJECT_SIZE - Any operator except CONTAINS
",
+ "SimpleScopeTerm$Comparator" : "The operator to use in the condition. Valid values for each supported property (key) are:
OBJECT_EXTENSION - EQ (equals) or NE (not equals)
OBJECT_KEY - STARTS_WITH
OBJECT_LAST_MODIFIED_DATE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)
OBJECT_SIZE - EQ (equals), GT (greater than), GTE (greater than or equals), LT (less than), LTE (less than or equals), or NE (not equals)
",
"TagCriterionForJob$Comparator" : "The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
",
"TagScopeTerm$Comparator" : "The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).
"
}
@@ -1062,7 +1062,7 @@
"ManagedDataIdentifierSelector" : {
"base" : "The selection type that determines which managed data identifiers a classification job uses to analyze data. Valid values are:
",
"refs" : {
- "CreateClassificationJobRequest$ManagedDataIdentifierSelector" : "The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.
INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.
NONE - Don't use any managed data identifiers. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts.
For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.
",
+ "CreateClassificationJobRequest$ManagedDataIdentifierSelector" : "The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:
ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.
INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.
NONE - Don't use any managed data identifiers. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.
RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.
If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you don't specify a value for this property or you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts.
For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.
",
"DescribeClassificationJobResponse$ManagedDataIdentifierSelector" : "The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:
ALL - Use all managed data identifiers.
EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.
INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.
NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).
RECOMMENDED (default) - Use the recommended set of managed data identifiers.
If this value is null, the job uses the recommended set of managed data identifiers.
If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.
For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.
"
}
},
@@ -1237,12 +1237,26 @@
"Finding$ResourcesAffected" : "The resources that the finding applies to.
"
}
},
+ "RetrievalConfiguration" : {
+ "base" : "Provides information about the access method and settings that are used to retrieve occurrences of sensitive data reported by findings.
",
+ "refs" : {
+ "GetRevealConfigurationResponse$RetrievalConfiguration" : "The access method and settings that are used to retrieve the sensitive data.
",
+ "UpdateRevealConfigurationResponse$RetrievalConfiguration" : "The access method and settings to use to retrieve the sensitive data.
"
+ }
+ },
+ "RetrievalMode" : {
+ "base" : "The access method to use when retrieving occurrences of sensitive data reported by findings. Valid values are:
",
+ "refs" : {
+ "RetrievalConfiguration$RetrievalMode" : "The access method that's used when retrieving sensitive data from affected S3 objects. Valid values are: ASSUME_ROLE, assume an IAM role that is in the affected Amazon Web Services account and delegates access to Amazon Macie (roleName); and, CALLER_CREDENTIALS, use the credentials of the IAM user who requests the sensitive data.
",
+ "UpdateRetrievalConfiguration$RetrievalMode" : "The access method to use when retrieving sensitive data from affected S3 objects. Valid values are: ASSUME_ROLE, assume an IAM role that is in the affected Amazon Web Services account and delegates access to Amazon Macie; and, CALLER_CREDENTIALS, use the credentials of the IAM user who requests the sensitive data. If you specify ASSUME_ROLE, also specify the name of an existing IAM role for Macie to assume (roleName).
If you change this value from ASSUME_ROLE to CALLER_CREDENTIALS for an existing configuration, Macie permanently deletes the external ID and role name currently specified for the configuration. These settings can't be recovered after they're deleted.
"
+ }
+ },
"RevealConfiguration" : {
- "base" : "Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. When you enable the configuration for the first time, your request must specify an Key Management Service (KMS) key. Otherwise, an error occurs. Macie uses the specified key to encrypt the sensitive data that you retrieve.
",
+ "base" : "Specifies the status of the Amazon Macie configuration for retrieving occurrences of sensitive data reported by findings, and the Key Management Service (KMS) key to use to encrypt sensitive data that's retrieved. When you enable the configuration for the first time, your request must specify an KMS key. Otherwise, an error occurs.
",
"refs" : {
- "GetRevealConfigurationResponse$Configuration" : "The current configuration settings and the status of the configuration for the account.
",
- "UpdateRevealConfigurationRequest$Configuration" : "The new configuration settings and the status of the configuration for the account.
",
- "UpdateRevealConfigurationResponse$Configuration" : "The new configuration settings and the status of the configuration for the account.
"
+ "GetRevealConfigurationResponse$Configuration" : "The KMS key that's used to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.
",
+ "UpdateRevealConfigurationRequest$Configuration" : "The KMS key to use to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.
",
+ "UpdateRevealConfigurationResponse$Configuration" : "The KMS key to use to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.
"
}
},
"RevealRequestStatus" : {
@@ -1477,8 +1491,8 @@
"SensitivityInspectionTemplateIncludes" : {
"base" : "Specifies the allow lists, custom data identifiers, and managed data identifiers to include (use) when performing automated sensitive data discovery for an Amazon Macie account. The configuration must specify at least one custom data identifier or managed data identifier. For information about the managed data identifiers that Amazon Macie currently provides, see Using managed data identifiers in the Amazon Macie User Guide.
",
"refs" : {
- "GetSensitivityInspectionTemplateResponse$Includes" : "The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing data.
",
- "UpdateSensitivityInspectionTemplateRequest$Includes" : "The allow lists, custom data identifiers, and managed data identifiers to include (use) when analyzing data.
"
+ "GetSensitivityInspectionTemplateResponse$Includes" : "The allow lists, custom data identifiers, and managed data identifiers that are explicitly included (used) when analyzing data.
",
+ "UpdateSensitivityInspectionTemplateRequest$Includes" : "The allow lists, custom data identifiers, and managed data identifiers to explicitly include (use) when analyzing data.
"
}
},
"SensitivityInspectionTemplatesEntry" : {
@@ -1762,8 +1776,14 @@
"base" : "Specifies a new sensitivity score for an S3 bucket that Amazon Macie monitors and analyzes for your account. To update the score, automated sensitive data discovery must currently be enabled for your account.
",
"refs" : { }
},
+ "UpdateRetrievalConfiguration" : {
+ "base" : "Specifies the access method and settings to use when retrieving occurrences of sensitive data reported by findings. If your request specifies an Identity and Access Management (IAM) role to assume when retrieving the sensitive data, Amazon Macie verifies that the role exists and the attached policies are configured correctly. If there's an issue, Macie returns an error. For information about addressing the issue, see Retrieving sensitive data samples with findings in the Amazon Macie User Guide.
",
+ "refs" : {
+ "UpdateRevealConfigurationRequest$RetrievalConfiguration" : "The access method and settings to use to retrieve the sensitive data.
"
+ }
+ },
"UpdateRevealConfigurationRequest" : {
- "base" : "Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account.
",
+ "base" : "Specifies configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. If you don't specify retrievalConfiguration values for an existing configuration, Macie sets the access method to CALLER_CREDENTIALS. If your current access method is ASSUME_ROLE, Macie also deletes the external ID and role name currently specified for the configuration. To keep these settings for an existing configuration, specify the current retrievalConfiguration values in your request.
",
"refs" : { }
},
"UpdateRevealConfigurationResponse" : {
@@ -2120,7 +2140,7 @@
"__listOfUnavailabilityReasonCode" : {
"base" : null,
"refs" : {
- "GetSensitiveDataOccurrencesAvailabilityResponse$Reasons" : "Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:
INVALID_CLASSIFICATION_RESULT - Amazon Macie can't verify the location of the sensitive data to retrieve. There isn't a corresponding sensitive data discovery result for the finding. Or the sensitive data discovery result specified by the classificationDetails.detailedResultsLocation field of the finding isn't available, is malformed or corrupted, or uses an unsupported storage format.
OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data.
OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object might have been renamed, moved, or deleted. Or the object was changed after Macie created the finding.
UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.
UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.
This value is null if sensitive data can be retrieved for the finding.
"
+ "GetSensitiveDataOccurrencesAvailabilityResponse$Reasons" : "Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:
ACCOUNT_NOT_IN_ORGANIZATION - The affected account isn't currently part of your organization. Or the account is part of your organization but Macie isn't currently enabled for the account. You're not allowed to access the affected S3 object by using Macie.
INVALID_CLASSIFICATION_RESULT - There isn't a corresponding sensitive data discovery result for the finding. Or the corresponding sensitive data discovery result isn't available, is malformed or corrupted, or uses an unsupported storage format. Macie can't verify the location of the sensitive data to retrieve.
INVALID_RESULT_SIGNATURE - The corresponding sensitive data discovery result is stored in an S3 object that wasn't signed by Macie. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.
MEMBER_ROLE_TOO_PERMISSIVE - The affected member account is configured to retrieve occurrences of sensitive data by using an IAM role whose trust or permissions policy doesn't meet Macie requirements for restricting access to the role. Or the role's trust policy doesn't specify the correct external ID. Macie can't assume the role to retrieve the sensitive data.
MISSING_GET_MEMBER_PERMISSION - You're not allowed to retrieve information about the association between your account and the affected account. Macie can't determine whether you’re allowed to access the affected S3 object as the delegated Macie administrator for the affected account.
OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data from this type of file.
OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object was renamed, moved, or deleted. Or the object was changed after Macie created the finding.
RESULT_NOT_SIGNED - The corresponding sensitive data discovery result is stored in an S3 object that hasn't been signed. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.
ROLE_TOO_PERMISSIVE - Your account is configured to retrieve occurrences of sensitive data by using an IAM role whose trust or permissions policy doesn't meet Macie requirements for restricting access to the role. Macie can’t assume the role to retrieve the sensitive data.
UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.
UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.
This value is null if sensitive data can be retrieved for the finding.
"
}
},
"__listOfUnprocessedAccount" : {
@@ -2189,7 +2209,7 @@
"SensitivityInspectionTemplateIncludes$CustomDataIdentifierIds" : "An array of unique identifiers, one for each custom data identifier to include.
",
"SensitivityInspectionTemplateIncludes$ManagedDataIdentifierIds" : "An array of unique identifiers, one for each managed data identifier to include.
Amazon Macie uses these managed data identifiers in addition to managed data identifiers that are subsequently released and recommended for automated sensitive data discovery. To retrieve a list of valid values for the managed data identifiers that are currently available, use the ListManagedDataIdentifiers operation.
",
"SimpleCriterionForJob$Values" : "An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of a bucket.
S3_BUCKET_NAME - A string that represents the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of a bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.
",
- "SimpleScopeTerm$Values" : "An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.
Valid values for each supported property (key) are:
OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf
OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.
OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z
OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.
Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.
",
+ "SimpleScopeTerm$Values" : "An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.
Valid values for each supported property (key) are:
OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf
OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.
OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2023-09-24T14:31:13Z
OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.
Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.
",
"TestCustomDataIdentifierRequest$IgnoreWords" : "An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.
",
"TestCustomDataIdentifierRequest$Keywords" : "An array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.
",
"UsageStatisticsFilter$Values" : "An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.
Valid values for each supported field are:
accountId - The unique identifier for an Amazon Web Services account.
freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.
serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
total - A string that represents the current estimated cost for an account.
"
@@ -2265,7 +2285,7 @@
"ResourceStatistics$TotalDetectionsSuppressed" : "The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.
",
"ResourceStatistics$TotalItemsClassified" : "The total number of objects that Amazon Macie has analyzed in the bucket.
",
"ResourceStatistics$TotalItemsSensitive" : "The total number of the bucket's objects that Amazon Macie has found sensitive data in.
",
- "ResourceStatistics$TotalItemsSkipped" : "The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to an object-level issue or error. For example, the object is a malformed file. This value includes objects that Macie wasn't able to analyze for reasons reported by other statistics in the ResourceStatistics object.
",
+ "ResourceStatistics$TotalItemsSkipped" : "The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to an object-level issue or error. For example, an object is a malformed file. This value includes objects that Macie wasn't able to analyze for reasons reported by other statistics in the ResourceStatistics object.
",
"ResourceStatistics$TotalItemsSkippedInvalidEncryption" : "The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with a key that Macie can't access. The objects use server-side encryption with customer-provided keys (SSE-C).
",
"ResourceStatistics$TotalItemsSkippedInvalidKms" : "The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with KMS keys that were disabled, are scheduled for deletion, or were deleted.
",
"ResourceStatistics$TotalItemsSkippedPermissionDenied" : "The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to the permissions settings for the objects or the permissions settings for the keys that were used to encrypt the objects.
",
@@ -2441,10 +2461,11 @@
"Member$Email" : "The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
",
"Member$MasterAccountId" : "(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
",
"PutFindingsPublicationConfigurationRequest$ClientToken" : "A unique, case-sensitive token that you provide to ensure the idempotency of the request.
",
- "Record$JsonPath" : "The path, as a JSONPath expression, to the sensitive data. For an Avro object container or Parquet file, this is the path to the field in the record (recordIndex) that contains the data. For a JSON or JSON Lines file, this is the path to the field or array that contains the data. If the data is a value in an array, the path also indicates which value contains the data.
If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field. If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.
",
+ "Record$JsonPath" : "The path, as a JSONPath expression, to the sensitive data. For an Avro object container or Parquet file, this is the path to the field in the record (recordIndex) that contains the data. For a JSON or JSON Lines file, this is the path to the field or array that contains the data. If the data is a value in an array, the path also indicates which value contains the data.
If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field. If the name of an element exceeds 240 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.
",
"ResourceNotFoundException$Message" : "The explanation of the error that occurred.
",
"ResourceProfileArtifact$Arn" : "The Amazon Resource Name (ARN) of the object.
",
"ResourceProfileArtifact$ClassificationResultStatus" : "The status of the analysis. Possible values are:
COMPLETE - Amazon Macie successfully completed its analysis of the object.
PARTIAL - Macie analyzed only a subset of data in the object. For example, the object is an archive file that contains files in an unsupported format.
SKIPPED - Macie wasn't able to analyze the object. For example, the object is a malformed file.
",
+ "RetrievalConfiguration$ExternalId" : "The external ID to specify in the trust policy for the IAM role to assume when retrieving sensitive data from affected S3 objects (roleName). The trust policy must include an sts:ExternalId condition that requires this ID.
This ID is a unique alphanumeric string that Amazon Macie generates automatically after you configure it to assume a role. This value is null if the value for retrievalMode is CALLER_CREDENTIALS.
",
"S3Bucket$Arn" : "The Amazon Resource Name (ARN) of the bucket.
",
"S3Bucket$Name" : "The name of the bucket.
",
"S3BucketDefinitionForJob$AccountId" : "The unique identifier for the Amazon Web Services account that owns the buckets.
",
@@ -2452,7 +2473,7 @@
"S3BucketOwner$Id" : "The canonical user ID for the account that owns the bucket.
",
"S3Destination$BucketName" : "The name of the bucket.
",
"S3Destination$KeyPrefix" : "The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
",
- "S3Destination$KmsKeyArn" : "The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's in the same Amazon Web Services Region as the bucket.
",
+ "S3Destination$KmsKeyArn" : "The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's enabled in the same Amazon Web Services Region as the bucket.
",
"S3Object$BucketArn" : "The Amazon Resource Name (ARN) of the bucket that contains the object.
",
"S3Object$ETag" : "The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
",
"S3Object$Extension" : "The file name extension of the object. If the object doesn't have a file name extension, this value is \"\".
",
@@ -2483,7 +2504,7 @@
"TestCustomDataIdentifierRequest$Regex" : "The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
",
"TestCustomDataIdentifierRequest$SampleText" : "The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.
",
"ThrottlingException$Message" : "The explanation of the error that occurred.
",
- "UnprocessableEntityException$Message" : "The type of error that occurred and prevented Amazon Macie from retrieving occurrences of sensitive data reported by the finding. Possible values are:
INVALID_CLASSIFICATION_RESULT - Amazon Macie can't verify the location of the sensitive data to retrieve. There isn't a corresponding sensitive data discovery result for the finding. Or the sensitive data discovery result specified by the classificationDetails.detailedResultsLocation field of the finding isn't available, is malformed or corrupted, or uses an unsupported storage format.
OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data.
OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object might have been renamed, moved, or deleted. Or the object was changed after Macie created the finding.
UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.
UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.
",
+ "UnprocessableEntityException$Message" : "The type of error that occurred and prevented Amazon Macie from retrieving occurrences of sensitive data reported by the finding. Possible values are:
ACCOUNT_NOT_IN_ORGANIZATION - The affected account isn't currently part of your organization. Or the account is part of your organization but Macie isn't currently enabled for the account. You're not allowed to access the affected S3 object by using Macie.
INVALID_CLASSIFICATION_RESULT - There isn't a corresponding sensitive data discovery result for the finding. Or the corresponding sensitive data discovery result isn't available, is malformed or corrupted, or uses an unsupported storage format. Macie can't verify the location of the sensitive data to retrieve.
INVALID_RESULT_SIGNATURE - The corresponding sensitive data discovery result is stored in an S3 object that wasn't signed by Macie. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.
MEMBER_ROLE_TOO_PERMISSIVE - The affected member account is configured to retrieve occurrences of sensitive data by using an IAM role whose trust or permissions policy doesn't meet Macie requirements for restricting access to the role. Or the role's trust policy doesn't specify the correct external ID. Macie can't assume the role to retrieve the sensitive data.
MISSING_GET_MEMBER_PERMISSION - You're not allowed to retrieve information about the association between your account and the affected account. Macie can't determine whether you’re allowed to access the affected S3 object as the delegated Macie administrator for the affected account.
OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data from this type of file.
OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object was renamed, moved, or deleted. Or the object was changed after Macie created the finding.
RESULT_NOT_SIGNED - The corresponding sensitive data discovery result is stored in an S3 object that hasn't been signed. Macie can't verify the integrity and authenticity of the sensitive data discovery result. Therefore, Macie can't verify the location of the sensitive data to retrieve.
ROLE_TOO_PERMISSIVE - Your account is configured to retrieve occurrences of sensitive data by using an IAM role whose trust or permissions policy doesn't meet Macie requirements for restricting access to the role. Macie can’t assume the role to retrieve the sensitive data.
UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.
UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.
",
"UnprocessedAccount$AccountId" : "The Amazon Web Services account ID for the account that the request applies to.
",
"UnprocessedAccount$ErrorMessage" : "The reason why the request hasn't been processed.
",
"UpdateFindingsFilterRequest$ClientToken" : "A unique, case-sensitive token that you provide to ensure the idempotency of the request.
",
@@ -2513,7 +2534,7 @@
"__stringMin1Max128" : {
"base" : null,
"refs" : {
- "DetectedDataDetails$Value" : "An occurrence of the specified type of sensitive data. Each occurrence can contain 1-128 characters.
"
+ "DetectedDataDetails$Value" : "An occurrence of the specified type of sensitive data. Each occurrence contains 1-128 characters.
"
}
},
"__stringMin1Max128Pattern" : {
@@ -2528,7 +2549,7 @@
"__stringMin1Max2048" : {
"base" : null,
"refs" : {
- "RevealConfiguration$KmsKeyId" : "The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's in the same Amazon Web Services Region as the Amazon Macie account.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
"
+ "RevealConfiguration$KmsKeyId" : "The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's enabled in the same Amazon Web Services Region as the Amazon Macie account.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
"
}
},
"__stringMin1Max512PatternSS" : {
@@ -2541,6 +2562,13 @@
"UpdateAllowListRequest$Description" : "A custom description of the allow list. The description can contain as many as 512 characters.
"
}
},
+ "__stringMin1Max64PatternW" : {
+ "base" : null,
+ "refs" : {
+ "RetrievalConfiguration$RoleName" : "The name of the IAM role that is in the affected Amazon Web Services account and Amazon Macie is allowed to assume when retrieving sensitive data from affected S3 objects for the account. This value is null if the value for retrievalMode is CALLER_CREDENTIALS.
",
+ "UpdateRetrievalConfiguration$RoleName" : "The name of the IAM role that is in the affected Amazon Web Services account and Amazon Macie is allowed to assume when retrieving sensitive data from affected S3 objects for the account. The trust and permissions policies for the role must meet all requirements for Macie to assume the role.
"
+ }
+ },
"__stringMin22Max22PatternAZ0922" : {
"base" : null,
"refs" : {
@@ -2586,7 +2614,7 @@
"GetBucketStatisticsResponse$LastUpdated" : "The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or object metadata from Amazon S3 for the buckets.
",
"GetCustomDataIdentifierResponse$CreatedAt" : "The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.
",
"GetMacieSessionResponse$CreatedAt" : "The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie account was created.
",
- "GetMacieSessionResponse$UpdatedAt" : "The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.
",
+ "GetMacieSessionResponse$UpdatedAt" : "The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status or configuration settings for the Amazon Macie account.
",
"GetMemberResponse$InvitedAt" : "The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
",
"GetMemberResponse$UpdatedAt" : "The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.
",
"GetResourceProfileResponse$ProfileUpdatedAt" : "The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.
",
diff --git a/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json b/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json
index d8387421b1f..8da430c76c7 100644
--- a/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json
+++ b/models/apis/macie2/2020-01-01/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -83,7 +82,8 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -96,7 +96,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -110,7 +109,6 @@
"assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -133,7 +131,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -168,7 +165,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -179,14 +175,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -200,14 +198,12 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
@@ -216,11 +212,11 @@
},
"supportsFIPS"
]
- }
+ },
+ true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -231,14 +227,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -252,7 +250,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -272,7 +269,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -283,14 +279,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
@@ -301,9 +299,11 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
diff --git a/models/apis/mediapackage/2017-10-12/api-2.json b/models/apis/mediapackage/2017-10-12/api-2.json
index 15fe43dba48..9a2bfee627c 100644
--- a/models/apis/mediapackage/2017-10-12/api-2.json
+++ b/models/apis/mediapackage/2017-10-12/api-2.json
@@ -1921,7 +1921,8 @@
"ManifestLayout": {
"enum": [
"FULL",
- "COMPACT"
+ "COMPACT",
+ "DRM_TOP_LEVEL_COMPACT"
],
"type": "string"
},
diff --git a/models/apis/mediapackage/2017-10-12/docs-2.json b/models/apis/mediapackage/2017-10-12/docs-2.json
index f9ad92ef0d0..f5fc0e0a4dd 100644
--- a/models/apis/mediapackage/2017-10-12/docs-2.json
+++ b/models/apis/mediapackage/2017-10-12/docs-2.json
@@ -198,7 +198,7 @@
"ManifestLayout" : {
"base" : null,
"refs" : {
- "DashPackage$ManifestLayout" : "Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level."
+ "DashPackage$ManifestLayout" : "Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level. When set to DRM_TOP_LEVEL_COMPACT, content protection elements are placed the MPD level and referenced at the AdaptationSet level."
}
},
"MssEncryption" : {
diff --git a/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json b/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json
index 94f09fea26e..71652ded3f4 100644
--- a/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json
+++ b/models/apis/mediapackage/2017-10-12/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -83,7 +82,8 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -96,7 +96,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -110,7 +109,6 @@
"assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -133,7 +131,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -168,7 +165,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -179,14 +175,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -200,14 +198,12 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
@@ -216,11 +212,11 @@
},
"supportsFIPS"
]
- }
+ },
+ true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -231,14 +227,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -252,7 +250,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -272,7 +269,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -283,14 +279,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
@@ -301,9 +299,11 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
diff --git a/models/apis/pinpoint-sms-voice-v2/2022-03-31/api-2.json b/models/apis/pinpoint-sms-voice-v2/2022-03-31/api-2.json
index abc304faaf6..a2266f3cfc0 100644
--- a/models/apis/pinpoint-sms-voice-v2/2022-03-31/api-2.json
+++ b/models/apis/pinpoint-sms-voice-v2/2022-03-31/api-2.json
@@ -101,6 +101,93 @@
{"shape":"InternalServerException"}
]
},
+ "CreateRegistration":{
+ "name":"CreateRegistration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateRegistrationRequest"},
+ "output":{"shape":"CreateRegistrationResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "CreateRegistrationAssociation":{
+ "name":"CreateRegistrationAssociation",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateRegistrationAssociationRequest"},
+ "output":{"shape":"CreateRegistrationAssociationResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "CreateRegistrationAttachment":{
+ "name":"CreateRegistrationAttachment",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateRegistrationAttachmentRequest"},
+ "output":{"shape":"CreateRegistrationAttachmentResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "CreateRegistrationVersion":{
+ "name":"CreateRegistrationVersion",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateRegistrationVersionRequest"},
+ "output":{"shape":"CreateRegistrationVersionResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "CreateVerifiedDestinationNumber":{
+ "name":"CreateVerifiedDestinationNumber",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateVerifiedDestinationNumberRequest"},
+ "output":{"shape":"CreateVerifiedDestinationNumberResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
"DeleteConfigurationSet":{
"name":"DeleteConfigurationSet",
"http":{
@@ -233,6 +320,57 @@
{"shape":"InternalServerException"}
]
},
+ "DeleteRegistration":{
+ "name":"DeleteRegistration",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteRegistrationRequest"},
+ "output":{"shape":"DeleteRegistrationResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "DeleteRegistrationAttachment":{
+ "name":"DeleteRegistrationAttachment",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteRegistrationAttachmentRequest"},
+ "output":{"shape":"DeleteRegistrationAttachmentResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "DeleteRegistrationFieldValue":{
+ "name":"DeleteRegistrationFieldValue",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteRegistrationFieldValueRequest"},
+ "output":{"shape":"DeleteRegistrationFieldValueResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
"DeleteTextMessageSpendLimitOverride":{
"name":"DeleteTextMessageSpendLimitOverride",
"http":{
@@ -248,6 +386,23 @@
{"shape":"InternalServerException"}
]
},
+ "DeleteVerifiedDestinationNumber":{
+ "name":"DeleteVerifiedDestinationNumber",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteVerifiedDestinationNumberRequest"},
+ "output":{"shape":"DeleteVerifiedDestinationNumberResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
"DeleteVoiceMessageSpendLimitOverride":{
"name":"DeleteVoiceMessageSpendLimitOverride",
"http":{
@@ -389,14 +544,14 @@
{"shape":"InternalServerException"}
]
},
- "DescribeSenderIds":{
- "name":"DescribeSenderIds",
+ "DescribeRegistrationAttachments":{
+ "name":"DescribeRegistrationAttachments",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"DescribeSenderIdsRequest"},
- "output":{"shape":"DescribeSenderIdsResult"},
+ "input":{"shape":"DescribeRegistrationAttachmentsRequest"},
+ "output":{"shape":"DescribeRegistrationAttachmentsResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -405,14 +560,14 @@
{"shape":"InternalServerException"}
]
},
- "DescribeSpendLimits":{
- "name":"DescribeSpendLimits",
+ "DescribeRegistrationFieldDefinitions":{
+ "name":"DescribeRegistrationFieldDefinitions",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"DescribeSpendLimitsRequest"},
- "output":{"shape":"DescribeSpendLimitsResult"},
+ "input":{"shape":"DescribeRegistrationFieldDefinitionsRequest"},
+ "output":{"shape":"DescribeRegistrationFieldDefinitionsResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -420,81 +575,76 @@
{"shape":"InternalServerException"}
]
},
- "DisassociateOriginationIdentity":{
- "name":"DisassociateOriginationIdentity",
+ "DescribeRegistrationFieldValues":{
+ "name":"DescribeRegistrationFieldValues",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"DisassociateOriginationIdentityRequest"},
- "output":{"shape":"DisassociateOriginationIdentityResult"},
+ "input":{"shape":"DescribeRegistrationFieldValuesRequest"},
+ "output":{"shape":"DescribeRegistrationFieldValuesResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
- {"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
},
- "ListPoolOriginationIdentities":{
- "name":"ListPoolOriginationIdentities",
+ "DescribeRegistrationSectionDefinitions":{
+ "name":"DescribeRegistrationSectionDefinitions",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"ListPoolOriginationIdentitiesRequest"},
- "output":{"shape":"ListPoolOriginationIdentitiesResult"},
+ "input":{"shape":"DescribeRegistrationSectionDefinitionsRequest"},
+ "output":{"shape":"DescribeRegistrationSectionDefinitionsResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
- {"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
]
},
- "ListTagsForResource":{
- "name":"ListTagsForResource",
+ "DescribeRegistrationTypeDefinitions":{
+ "name":"DescribeRegistrationTypeDefinitions",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"ListTagsForResourceRequest"},
- "output":{"shape":"ListTagsForResourceResult"},
+ "input":{"shape":"DescribeRegistrationTypeDefinitionsRequest"},
+ "output":{"shape":"DescribeRegistrationTypeDefinitionsResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
- {"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
]
},
- "PutKeyword":{
- "name":"PutKeyword",
+ "DescribeRegistrationVersions":{
+ "name":"DescribeRegistrationVersions",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"PutKeywordRequest"},
- "output":{"shape":"PutKeywordResult"},
+ "input":{"shape":"DescribeRegistrationVersionsRequest"},
+ "output":{"shape":"DescribeRegistrationVersionsResult"},
"errors":[
- {"shape":"ServiceQuotaExceededException"},
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
- {"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
},
- "PutOptedOutNumber":{
- "name":"PutOptedOutNumber",
+ "DescribeRegistrations":{
+ "name":"DescribeRegistrations",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"PutOptedOutNumberRequest"},
- "output":{"shape":"PutOptedOutNumberResult"},
+ "input":{"shape":"DescribeRegistrationsRequest"},
+ "output":{"shape":"DescribeRegistrationsResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -503,69 +653,62 @@
{"shape":"InternalServerException"}
]
},
- "ReleasePhoneNumber":{
- "name":"ReleasePhoneNumber",
+ "DescribeSenderIds":{
+ "name":"DescribeSenderIds",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"ReleasePhoneNumberRequest"},
- "output":{"shape":"ReleasePhoneNumberResult"},
+ "input":{"shape":"DescribeSenderIdsRequest"},
+ "output":{"shape":"DescribeSenderIdsResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
- {"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
},
- "RequestPhoneNumber":{
- "name":"RequestPhoneNumber",
+ "DescribeSpendLimits":{
+ "name":"DescribeSpendLimits",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"RequestPhoneNumberRequest"},
- "output":{"shape":"RequestPhoneNumberResult"},
+ "input":{"shape":"DescribeSpendLimitsRequest"},
+ "output":{"shape":"DescribeSpendLimitsResult"},
"errors":[
- {"shape":"ServiceQuotaExceededException"},
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
- {"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
- {"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
},
- "SendTextMessage":{
- "name":"SendTextMessage",
+ "DescribeVerifiedDestinationNumbers":{
+ "name":"DescribeVerifiedDestinationNumbers",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"SendTextMessageRequest"},
- "output":{"shape":"SendTextMessageResult"},
+ "input":{"shape":"DescribeVerifiedDestinationNumbersRequest"},
+ "output":{"shape":"DescribeVerifiedDestinationNumbersResult"},
"errors":[
- {"shape":"ServiceQuotaExceededException"},
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
- {"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
},
- "SendVoiceMessage":{
- "name":"SendVoiceMessage",
+ "DisassociateOriginationIdentity":{
+ "name":"DisassociateOriginationIdentity",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"SendVoiceMessageRequest"},
- "output":{"shape":"SendVoiceMessageResult"},
+ "input":{"shape":"DisassociateOriginationIdentityRequest"},
+ "output":{"shape":"DisassociateOriginationIdentityResult"},
"errors":[
- {"shape":"ServiceQuotaExceededException"},
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
@@ -574,30 +717,31 @@
{"shape":"InternalServerException"}
]
},
- "SetDefaultMessageType":{
- "name":"SetDefaultMessageType",
+ "DiscardRegistrationVersion":{
+ "name":"DiscardRegistrationVersion",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"SetDefaultMessageTypeRequest"},
- "output":{"shape":"SetDefaultMessageTypeResult"},
+ "input":{"shape":"DiscardRegistrationVersionRequest"},
+ "output":{"shape":"DiscardRegistrationVersionResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
+ {"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
},
- "SetDefaultSenderId":{
- "name":"SetDefaultSenderId",
+ "ListPoolOriginationIdentities":{
+ "name":"ListPoolOriginationIdentities",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"SetDefaultSenderIdRequest"},
- "output":{"shape":"SetDefaultSenderIdResult"},
+ "input":{"shape":"ListPoolOriginationIdentitiesRequest"},
+ "output":{"shape":"ListPoolOriginationIdentitiesResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -606,61 +750,64 @@
{"shape":"InternalServerException"}
]
},
- "SetTextMessageSpendLimitOverride":{
- "name":"SetTextMessageSpendLimitOverride",
+ "ListRegistrationAssociations":{
+ "name":"ListRegistrationAssociations",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"SetTextMessageSpendLimitOverrideRequest"},
- "output":{"shape":"SetTextMessageSpendLimitOverrideResult"},
+ "input":{"shape":"ListRegistrationAssociationsRequest"},
+ "output":{"shape":"ListRegistrationAssociationsResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
]
},
- "SetVoiceMessageSpendLimitOverride":{
- "name":"SetVoiceMessageSpendLimitOverride",
+ "ListTagsForResource":{
+ "name":"ListTagsForResource",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"SetVoiceMessageSpendLimitOverrideRequest"},
- "output":{"shape":"SetVoiceMessageSpendLimitOverrideResult"},
+ "input":{"shape":"ListTagsForResourceRequest"},
+ "output":{"shape":"ListTagsForResourceResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
]
},
- "TagResource":{
- "name":"TagResource",
+ "PutKeyword":{
+ "name":"PutKeyword",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"TagResourceRequest"},
- "output":{"shape":"TagResourceResult"},
+ "input":{"shape":"PutKeywordRequest"},
+ "output":{"shape":"PutKeywordResult"},
"errors":[
{"shape":"ServiceQuotaExceededException"},
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
+ {"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
},
- "UntagResource":{
- "name":"UntagResource",
+ "PutOptedOutNumber":{
+ "name":"PutOptedOutNumber",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"UntagResourceRequest"},
- "output":{"shape":"UntagResourceResult"},
+ "input":{"shape":"PutOptedOutNumberRequest"},
+ "output":{"shape":"PutOptedOutNumberResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -669,14 +816,14 @@
{"shape":"InternalServerException"}
]
},
- "UpdateEventDestination":{
- "name":"UpdateEventDestination",
+ "PutRegistrationFieldValue":{
+ "name":"PutRegistrationFieldValue",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"UpdateEventDestinationRequest"},
- "output":{"shape":"UpdateEventDestinationResult"},
+ "input":{"shape":"PutRegistrationFieldValueRequest"},
+ "output":{"shape":"PutRegistrationFieldValueResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -686,14 +833,14 @@
{"shape":"InternalServerException"}
]
},
- "UpdatePhoneNumber":{
- "name":"UpdatePhoneNumber",
+ "ReleasePhoneNumber":{
+ "name":"ReleasePhoneNumber",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"UpdatePhoneNumberRequest"},
- "output":{"shape":"UpdatePhoneNumberResult"},
+ "input":{"shape":"ReleasePhoneNumberRequest"},
+ "output":{"shape":"ReleasePhoneNumberResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -703,14 +850,14 @@
{"shape":"InternalServerException"}
]
},
- "UpdatePool":{
- "name":"UpdatePool",
+ "ReleaseSenderId":{
+ "name":"ReleaseSenderId",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"UpdatePoolRequest"},
- "output":{"shape":"UpdatePoolResult"},
+ "input":{"shape":"ReleaseSenderIdRequest"},
+ "output":{"shape":"ReleaseSenderIdResult"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
@@ -719,1369 +866,2684 @@
{"shape":"ConflictException"},
{"shape":"InternalServerException"}
]
- }
- },
- "shapes":{
- "AccessDeniedException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"String"},
- "Reason":{"shape":"AccessDeniedExceptionReason"}
- },
+ },
+ "RequestPhoneNumber":{
+ "name":"RequestPhoneNumber",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"RequestPhoneNumberRequest"},
+ "output":{"shape":"RequestPhoneNumberResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "RequestSenderId":{
+ "name":"RequestSenderId",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"RequestSenderIdRequest"},
+ "output":{"shape":"RequestSenderIdResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SendDestinationNumberVerificationCode":{
+ "name":"SendDestinationNumberVerificationCode",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SendDestinationNumberVerificationCodeRequest"},
+ "output":{"shape":"SendDestinationNumberVerificationCodeResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SendTextMessage":{
+ "name":"SendTextMessage",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SendTextMessageRequest"},
+ "output":{"shape":"SendTextMessageResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SendVoiceMessage":{
+ "name":"SendVoiceMessage",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SendVoiceMessageRequest"},
+ "output":{"shape":"SendVoiceMessageResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SetDefaultMessageType":{
+ "name":"SetDefaultMessageType",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SetDefaultMessageTypeRequest"},
+ "output":{"shape":"SetDefaultMessageTypeResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SetDefaultSenderId":{
+ "name":"SetDefaultSenderId",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SetDefaultSenderIdRequest"},
+ "output":{"shape":"SetDefaultSenderIdResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SetTextMessageSpendLimitOverride":{
+ "name":"SetTextMessageSpendLimitOverride",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SetTextMessageSpendLimitOverrideRequest"},
+ "output":{"shape":"SetTextMessageSpendLimitOverrideResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SetVoiceMessageSpendLimitOverride":{
+ "name":"SetVoiceMessageSpendLimitOverride",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SetVoiceMessageSpendLimitOverrideRequest"},
+ "output":{"shape":"SetVoiceMessageSpendLimitOverrideResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "SubmitRegistrationVersion":{
+ "name":"SubmitRegistrationVersion",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SubmitRegistrationVersionRequest"},
+ "output":{"shape":"SubmitRegistrationVersionResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "TagResource":{
+ "name":"TagResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"TagResourceRequest"},
+ "output":{"shape":"TagResourceResult"},
+ "errors":[
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "UntagResource":{
+ "name":"UntagResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UntagResourceRequest"},
+ "output":{"shape":"UntagResourceResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "UpdateEventDestination":{
+ "name":"UpdateEventDestination",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateEventDestinationRequest"},
+ "output":{"shape":"UpdateEventDestinationResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "UpdatePhoneNumber":{
+ "name":"UpdatePhoneNumber",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdatePhoneNumberRequest"},
+ "output":{"shape":"UpdatePhoneNumberResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "UpdatePool":{
+ "name":"UpdatePool",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdatePoolRequest"},
+ "output":{"shape":"UpdatePoolResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "UpdateSenderId":{
+ "name":"UpdateSenderId",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateSenderIdRequest"},
+ "output":{"shape":"UpdateSenderIdResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
+ "VerifyDestinationNumber":{
+ "name":"VerifyDestinationNumber",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"VerifyDestinationNumberRequest"},
+ "output":{"shape":"VerifyDestinationNumberResult"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"}
+ ]
+ }
+ },
+ "shapes":{
+ "AccessDeniedException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"String"},
+ "Reason":{"shape":"AccessDeniedExceptionReason"}
+ },
+ "exception":true
+ },
+ "AccessDeniedExceptionReason":{
+ "type":"string",
+ "enum":[
+ "INSUFFICIENT_ACCOUNT_REPUTATION",
+ "ACCOUNT_DISABLED"
+ ]
+ },
+ "AccountAttribute":{
+ "type":"structure",
+ "required":[
+ "Name",
+ "Value"
+ ],
+ "members":{
+ "Name":{"shape":"AccountAttributeName"},
+ "Value":{"shape":"String"}
+ }
+ },
+ "AccountAttributeList":{
+ "type":"list",
+ "member":{"shape":"AccountAttribute"}
+ },
+ "AccountAttributeName":{
+ "type":"string",
+ "enum":["ACCOUNT_TIER"]
+ },
+ "AccountLimit":{
+ "type":"structure",
+ "required":[
+ "Name",
+ "Used",
+ "Max"
+ ],
+ "members":{
+ "Name":{"shape":"AccountLimitName"},
+ "Used":{"shape":"PrimitiveLong"},
+ "Max":{"shape":"PrimitiveLong"}
+ }
+ },
+ "AccountLimitList":{
+ "type":"list",
+ "member":{"shape":"AccountLimit"}
+ },
+ "AccountLimitName":{
+ "type":"string",
+ "enum":[
+ "PHONE_NUMBERS",
+ "POOLS",
+ "CONFIGURATION_SETS",
+ "OPT_OUT_LISTS",
+ "SENDER_IDS",
+ "REGISTRATIONS",
+ "REGISTRATION_ATTACHMENTS",
+ "VERIFIED_DESTINATION_NUMBERS"
+ ]
+ },
+ "AmazonResourceName":{
+ "type":"string",
+ "max":256,
+ "min":20,
+ "pattern":"arn:[A-Za-z0-9_:/-]+"
+ },
+ "AssociateOriginationIdentityRequest":{
+ "type":"structure",
+ "required":[
+ "PoolId",
+ "OriginationIdentity",
+ "IsoCountryCode"
+ ],
+ "members":{
+ "PoolId":{"shape":"PoolIdOrArn"},
+ "OriginationIdentity":{"shape":"PhoneOrSenderIdOrArn"},
+ "IsoCountryCode":{"shape":"IsoCountryCode"},
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "AssociateOriginationIdentityResult":{
+ "type":"structure",
+ "members":{
+ "PoolArn":{"shape":"String"},
+ "PoolId":{"shape":"String"},
+ "OriginationIdentityArn":{"shape":"String"},
+ "OriginationIdentity":{"shape":"String"},
+ "IsoCountryCode":{"shape":"IsoCountryCode"}
+ }
+ },
+ "AttachmentBody":{
+ "type":"blob",
+ "max":1572864,
+ "min":1
+ },
+ "AttachmentStatus":{
+ "type":"string",
+ "enum":[
+ "UPLOAD_IN_PROGRESS",
+ "UPLOAD_COMPLETE",
+ "UPLOAD_FAILED",
+ "DELETED"
+ ]
+ },
+ "AttachmentUploadErrorReason":{
+ "type":"string",
+ "enum":["INTERNAL_ERROR"]
+ },
+ "AttachmentUrl":{
+ "type":"string",
+ "max":2048,
+ "min":1,
+ "pattern":"\\S+"
+ },
+ "Boolean":{
+ "type":"boolean",
+ "box":true
+ },
+ "ClientToken":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "pattern":"[!-~]+"
+ },
+ "CloudWatchLogsDestination":{
+ "type":"structure",
+ "required":[
+ "IamRoleArn",
+ "LogGroupArn"
+ ],
+ "members":{
+ "IamRoleArn":{"shape":"IamRoleArn"},
+ "LogGroupArn":{"shape":"LogGroupArn"}
+ }
+ },
+ "ConfigurationSetFilter":{
+ "type":"structure",
+ "required":[
+ "Name",
+ "Values"
+ ],
+ "members":{
+ "Name":{"shape":"ConfigurationSetFilterName"},
+ "Values":{"shape":"FilterValueList"}
+ }
+ },
+ "ConfigurationSetFilterList":{
+ "type":"list",
+ "member":{"shape":"ConfigurationSetFilter"},
+ "max":20,
+ "min":0
+ },
+ "ConfigurationSetFilterName":{
+ "type":"string",
+ "enum":[
+ "event-destination-name",
+ "matching-event-types",
+ "default-message-type",
+ "default-sender-id"
+ ]
+ },
+ "ConfigurationSetInformation":{
+ "type":"structure",
+ "required":[
+ "ConfigurationSetArn",
+ "ConfigurationSetName",
+ "EventDestinations",
+ "CreatedTimestamp"
+ ],
+ "members":{
+ "ConfigurationSetArn":{"shape":"String"},
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestinations":{"shape":"EventDestinationList"},
+ "DefaultMessageType":{"shape":"MessageType"},
+ "DefaultSenderId":{"shape":"SenderId"},
+ "CreatedTimestamp":{"shape":"Timestamp"}
+ }
+ },
+ "ConfigurationSetInformationList":{
+ "type":"list",
+ "member":{"shape":"ConfigurationSetInformation"}
+ },
+ "ConfigurationSetName":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "pattern":"[A-Za-z0-9_-]+"
+ },
+ "ConfigurationSetNameList":{
+ "type":"list",
+ "member":{"shape":"ConfigurationSetNameOrArn"},
+ "max":5,
+ "min":0
+ },
+ "ConfigurationSetNameOrArn":{
+ "type":"string",
+ "max":256,
+ "min":1,
+ "pattern":"[A-Za-z0-9_:/-]+"
+ },
+ "ConflictException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"String"},
+ "Reason":{"shape":"ConflictExceptionReason"},
+ "ResourceType":{"shape":"ResourceType"},
+ "ResourceId":{"shape":"String"}
+ },
"exception":true
},
- "AccessDeniedExceptionReason":{
- "type":"string",
- "enum":[
- "INSUFFICIENT_ACCOUNT_REPUTATION",
- "ACCOUNT_DISABLED"
- ]
+ "ConflictExceptionReason":{
+ "type":"string",
+ "enum":[
+ "CREATE_REGISTRATION_VERSION_NOT_ALLOWED",
+ "DELETION_PROTECTION_ENABLED",
+ "DESTINATION_PHONE_NUMBER_NOT_VERIFIED",
+ "DESTINATION_PHONE_NUMBER_OPTED_OUT",
+ "DISASSOCIATE_REGISTRATION_NOT_ALLOWED",
+ "DISCARD_REGISTRATION_VERSION_NOT_ALLOWED",
+ "EDIT_REGISTRATION_FIELD_VALUES_NOT_ALLOWED",
+ "EVENT_DESTINATION_MISMATCH",
+ "KEYWORD_MISMATCH",
+ "LAST_PHONE_NUMBER",
+ "NUMBER_CAPABILITIES_MISMATCH",
+ "MESSAGE_TYPE_MISMATCH",
+ "NO_ORIGINATION_IDENTITIES_FOUND",
+ "OPT_OUT_LIST_MISMATCH",
+ "PHONE_NUMBER_ASSOCIATED_TO_POOL",
+ "PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION",
+ "PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL",
+ "PHONE_NUMBER_NOT_IN_REGISTRATION_REGION",
+ "REGISTRATION_ALREADY_SUBMITTED",
+ "REGISTRATION_NOT_COMPLETE",
+ "SENDER_ID_ASSOCIATED_TO_POOL",
+ "RESOURCE_ALREADY_EXISTS",
+ "RESOURCE_DELETION_NOT_ALLOWED",
+ "RESOURCE_MODIFICATION_NOT_ALLOWED",
+ "RESOURCE_NOT_ACTIVE",
+ "RESOURCE_NOT_EMPTY",
+ "SELF_MANAGED_OPT_OUTS_MISMATCH",
+ "SUBMIT_REGISTRATION_VERSION_NOT_ALLOWED",
+ "TWO_WAY_CONFIG_MISMATCH",
+ "VERIFICATION_CODE_EXPIRED",
+ "VERIFICATION_ALREADY_COMPLETE"
+ ]
+ },
+ "ContextKey":{
+ "type":"string",
+ "max":100,
+ "min":1,
+ "pattern":"\\S+"
+ },
+ "ContextMap":{
+ "type":"map",
+ "key":{"shape":"ContextKey"},
+ "value":{"shape":"ContextValue"},
+ "max":5,
+ "min":0
+ },
+ "ContextValue":{
+ "type":"string",
+ "max":800,
+ "min":1,
+ "pattern":"(?!\\s)^[\\s\\S]+(?Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference. This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API resources, including supported HTTP methods, parameters, and schemas. Amazon Pinpoint is an Amazon Web Services service that you can use to engage with your recipients across multiple messaging channels. The Amazon Pinpoint SMS and Voice, version 2 API provides programmatic access to options that are unique to the SMS and voice channels and supplements the resources provided by the Amazon Pinpoint API.
If you're new to Amazon Pinpoint, it's also helpful to review the Amazon Pinpoint Developer Guide. The Amazon Pinpoint Developer Guide provides tutorials, code samples, and procedures that demonstrate how to use Amazon Pinpoint features programmatically and how to integrate Amazon Pinpoint functionality into mobile apps and other types of applications. The guide also provides key information, such as Amazon Pinpoint integration with other Amazon Web Services services, and the quotas that apply to use of the service.
",
+ "service": "Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference. This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API resources, including supported HTTP methods, parameters, and schemas.
Amazon Pinpoint is an Amazon Web Services service that you can use to engage with your recipients across multiple messaging channels. The Amazon Pinpoint SMS and Voice, version 2 API provides programmatic access to options that are unique to the SMS and voice channels and supplements the resources provided by the Amazon Pinpoint API.
If you're new to Amazon Pinpoint, it's also helpful to review the Amazon Pinpoint Developer Guide. The Amazon Pinpoint Developer Guide provides tutorials, code samples, and procedures that demonstrate how to use Amazon Pinpoint features programmatically and how to integrate Amazon Pinpoint functionality into mobile apps and other types of applications. The guide also provides key information, such as Amazon Pinpoint integration with other Amazon Web Services services, and the quotas that apply to use of the service.
Regional availability
The Amazon Pinpoint SMS and Voice, version 2 API Reference is available in several Amazon Web Services Regions and it provides an endpoint for each of these Regions. For a list of all the Regions and endpoints where the API is currently available, see Amazon Web Services Service Endpoints and Amazon Pinpoint endpoints and quotas in the Amazon Web Services General Reference. To learn more about Amazon Web Services Regions, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference.
In each Region, Amazon Web Services maintains multiple Availability Zones. These Availability Zones are physically isolated from each other, but are united by private, low-latency, high-throughput, and highly redundant network connections. These Availability Zones enable us to provide very high levels of availability and redundancy, while also minimizing latency. To learn more about the number of Availability Zones that are available in each Region, see Amazon Web Services Global Infrastructure.
",
"operations": {
- "AssociateOriginationIdentity": "Associates the specified origination identity with a pool.
If the origination identity is a phone number and is already associated with another pool, an Error is returned. A sender ID can be associated with multiple pools.
If the origination identity configuration doesn't match the pool's configuration, an Error is returned.
",
+ "AssociateOriginationIdentity": "Associates the specified origination identity with a pool.
If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.
If the origination identity configuration doesn't match the pool's configuration, an error is returned.
",
"CreateConfigurationSet": "Creates a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
A configuration set is a set of rules that you apply to the SMS and voice messages that you send.
When you send a message, you can optionally specify a single configuration set.
",
"CreateEventDestination": "Creates a new event destination in a configuration set.
An event destination is a location where you send message events. The event options are Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon SNS. For example, when a message is delivered successfully, you can send information about that event to an event destination, or send notifications to endpoints that are subscribed to an Amazon SNS topic.
Each configuration set can contain between 0 and 5 event destinations. Each event destination can contain a reference to a single destination, such as a CloudWatch or Kinesis Data Firehose destination.
",
- "CreateOptOutList": "Creates a new opt-out list.
If the opt-out list name already exists, an Error is returned.
An opt-out list is a list of phone numbers that are opted out, meaning you can't send SMS or voice messages to them. If end user replies with the keyword \"STOP,\" an entry for the phone number is added to the opt-out list. In addition to STOP, your recipients can use any supported opt-out keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see SMS opt out in the Amazon Pinpoint User Guide.
",
- "CreatePool": "Creates a new pool and associates the specified origination identity to the pool. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.
The new pool inherits its configuration from the specified origination identity. This includes keywords, message type, opt-out list, two-way configuration, and self-managed opt-out configuration. Deletion protection isn't inherited from the origination identity and defaults to false.
If the origination identity is a phone number and is already associated with another pool, an Error is returned. A sender ID can be associated with multiple pools.
",
+ "CreateOptOutList": "Creates a new opt-out list.
If the opt-out list name already exists, an error is returned.
An opt-out list is a list of phone numbers that are opted out, meaning you can't send SMS or voice messages to them. If end user replies with the keyword \"STOP,\" an entry for the phone number is added to the opt-out list. In addition to STOP, your recipients can use any supported opt-out keyword, such as CANCEL or OPTOUT. For a list of supported opt-out keywords, see SMS opt out in the Amazon Pinpoint User Guide.
",
+ "CreatePool": "Creates a new pool and associates the specified origination identity to the pool. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.
The new pool inherits its configuration from the specified origination identity. This includes keywords, message type, opt-out list, two-way configuration, and self-managed opt-out configuration. Deletion protection isn't inherited from the origination identity and defaults to false.
If the origination identity is a phone number and is already associated with another pool, an error is returned. A sender ID can be associated with multiple pools.
",
+ "CreateRegistration": "Creates a new registration based on the RegistrationType field.
",
+ "CreateRegistrationAssociation": "Associate the registration with an origination identity such as a phone number or sender ID.
",
+ "CreateRegistrationAttachment": "Create a new registration attachment to use for uploading a file or a URL to a file. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG. For example, many sender ID registrations require a signed “letter of authorization” (LOA) to be submitted.
",
+ "CreateRegistrationVersion": "Create a new version of the registration and increase the VersionNumber. The previous version of the registration becomes read-only.
",
+ "CreateVerifiedDestinationNumber": "You can only send messages to verified destination numbers when your account is in the sandbox. You can add up to 10 verified destination numbers.
",
"DeleteConfigurationSet": "Deletes an existing configuration set.
A configuration set is a set of rules that you apply to voice and SMS messages that you send. In a configuration set, you can specify a destination for specific types of events related to voice and SMS messages.
",
"DeleteDefaultMessageType": "Deletes an existing default message type on a configuration set.
A message type is a type of messages that you plan to send. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account.
",
"DeleteDefaultSenderId": "Deletes an existing default sender ID on a configuration set.
A default sender ID is the identity that appears on recipients' devices when they receive SMS messages. Support for sender ID capabilities varies by country or region.
",
"DeleteEventDestination": "Deletes an existing event destination.
An event destination is a location where you send response information about the messages that you send. For example, when a message is delivered successfully, you can send information about that event to an Amazon CloudWatch destination, or send notifications to endpoints that are subscribed to an Amazon SNS topic.
",
"DeleteKeyword": "Deletes an existing keyword from an origination phone number or pool.
A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.
Keywords \"HELP\" and \"STOP\" can't be deleted or modified.
",
- "DeleteOptOutList": "Deletes an existing opt-out list. All opted out phone numbers in the opt-out list are deleted.
If the specified opt-out list name doesn't exist or is in-use by an origination phone number or pool, an Error is returned.
",
- "DeleteOptedOutNumber": "Deletes an existing opted out destination phone number from the specified opt-out list.
Each destination phone number can only be deleted once every 30 days.
If the specified destination phone number doesn't exist or if the opt-out list doesn't exist, an Error is returned.
",
- "DeletePool": "Deletes an existing pool. Deleting a pool disassociates all origination identities from that pool.
If the pool status isn't active or if deletion protection is enabled, an Error is returned.
A pool is a collection of phone numbers and SenderIds. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.
",
+ "DeleteOptOutList": "Deletes an existing opt-out list. All opted out phone numbers in the opt-out list are deleted.
If the specified opt-out list name doesn't exist or is in-use by an origination phone number or pool, an error is returned.
",
+ "DeleteOptedOutNumber": "Deletes an existing opted out destination phone number from the specified opt-out list.
Each destination phone number can only be deleted once every 30 days.
If the specified destination phone number doesn't exist or if the opt-out list doesn't exist, an error is returned.
",
+ "DeletePool": "Deletes an existing pool. Deleting a pool disassociates all origination identities from that pool.
If the pool status isn't active or if deletion protection is enabled, an error is returned.
A pool is a collection of phone numbers and SenderIds. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.
",
+ "DeleteRegistration": "Permanently delete an existing registration from your account.
",
+ "DeleteRegistrationAttachment": "Permanently delete the specified registration attachment.
",
+ "DeleteRegistrationFieldValue": "Delete the value in a registration form field.
",
"DeleteTextMessageSpendLimitOverride": "Deletes an account-level monthly spending limit override for sending text messages. Deleting a spend limit override will set the EnforcedLimit
to equal the MaxLimit
, which is controlled by Amazon Web Services. For more information on spend limits (quotas) see Amazon Pinpoint quotas in the Amazon Pinpoint Developer Guide.
",
+ "DeleteVerifiedDestinationNumber": "Delete a verified destination phone number.
",
"DeleteVoiceMessageSpendLimitOverride": "Deletes an account level monthly spend limit override for sending voice messages. Deleting a spend limit override sets the EnforcedLimit
equal to the MaxLimit
, which is controlled by Amazon Web Services. For more information on spending limits (quotas) see Amazon Pinpoint quotas in the Amazon Pinpoint Developer Guide.
",
"DescribeAccountAttributes": "Describes attributes of your Amazon Web Services account. The supported account attributes include account tier, which indicates whether your account is in the sandbox or production environment. When you're ready to move your account out of the sandbox, create an Amazon Web Services Support case for a service limit increase request.
New Amazon Pinpoint accounts are placed into an SMS or voice sandbox. The sandbox protects both Amazon Web Services end recipients and SMS or voice recipients from fraud and abuse.
",
"DescribeAccountLimits": "Describes the current Amazon Pinpoint SMS Voice V2 resource quotas for your account. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.
When you establish an Amazon Web Services account, the account has initial quotas on the maximum number of configuration sets, opt-out lists, phone numbers, and pools that you can create in a given Region. For more information see Amazon Pinpoint quotas in the Amazon Pinpoint Developer Guide.
",
"DescribeConfigurationSets": "Describes the specified configuration sets or all in your account.
If you specify configuration set names, the output includes information for only the specified configuration sets. If you specify filters, the output includes information for only those configuration sets that meet the filter criteria. If you don't specify configuration set names or filters, the output includes information for all configuration sets.
If you specify a configuration set name that isn't valid, an error is returned.
",
- "DescribeKeywords": "Describes the specified keywords or all keywords on your origination phone number or pool.
A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.
If you specify a keyword that isn't valid, an Error is returned.
",
- "DescribeOptOutLists": "Describes the specified opt-out list or all opt-out lists in your account.
If you specify opt-out list names, the output includes information for only the specified opt-out lists. Opt-out lists include only those that meet the filter criteria. If you don't specify opt-out list names or filters, the output includes information for all opt-out lists.
If you specify an opt-out list name that isn't valid, an Error is returned.
",
- "DescribeOptedOutNumbers": "Describes the specified opted out destination numbers or all opted out destination numbers in an opt-out list.
If you specify opted out numbers, the output includes information for only the specified opted out numbers. If you specify filters, the output includes information for only those opted out numbers that meet the filter criteria. If you don't specify opted out numbers or filters, the output includes information for all opted out destination numbers in your opt-out list.
If you specify an opted out number that isn't valid, an Error is returned.
",
- "DescribePhoneNumbers": "Describes the specified origination phone number, or all the phone numbers in your account.
If you specify phone number IDs, the output includes information for only the specified phone numbers. If you specify filters, the output includes information for only those phone numbers that meet the filter criteria. If you don't specify phone number IDs or filters, the output includes information for all phone numbers.
If you specify a phone number ID that isn't valid, an Error is returned.
",
- "DescribePools": "Retrieves the specified pools or all pools associated with your Amazon Web Services account.
If you specify pool IDs, the output includes information for only the specified pools. If you specify filters, the output includes information for only those pools that meet the filter criteria. If you don't specify pool IDs or filters, the output includes information for all pools.
If you specify a pool ID that isn't valid, an Error is returned.
A pool is a collection of phone numbers and SenderIds. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.
",
- "DescribeSenderIds": "Describes the specified SenderIds or all SenderIds associated with your Amazon Web Services account.
If you specify SenderIds, the output includes information for only the specified SenderIds. If you specify filters, the output includes information for only those SenderIds that meet the filter criteria. If you don't specify SenderIds or filters, the output includes information for all SenderIds.
f you specify a sender ID that isn't valid, an Error is returned.
",
+ "DescribeKeywords": "Describes the specified keywords or all keywords on your origination phone number or pool.
A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.
If you specify a keyword that isn't valid, an error is returned.
",
+ "DescribeOptOutLists": "Describes the specified opt-out list or all opt-out lists in your account.
If you specify opt-out list names, the output includes information for only the specified opt-out lists. Opt-out lists include only those that meet the filter criteria. If you don't specify opt-out list names or filters, the output includes information for all opt-out lists.
If you specify an opt-out list name that isn't valid, an error is returned.
",
+ "DescribeOptedOutNumbers": "Describes the specified opted out destination numbers or all opted out destination numbers in an opt-out list.
If you specify opted out numbers, the output includes information for only the specified opted out numbers. If you specify filters, the output includes information for only those opted out numbers that meet the filter criteria. If you don't specify opted out numbers or filters, the output includes information for all opted out destination numbers in your opt-out list.
If you specify an opted out number that isn't valid, an error is returned.
",
+ "DescribePhoneNumbers": "Describes the specified origination phone number, or all the phone numbers in your account.
If you specify phone number IDs, the output includes information for only the specified phone numbers. If you specify filters, the output includes information for only those phone numbers that meet the filter criteria. If you don't specify phone number IDs or filters, the output includes information for all phone numbers.
If you specify a phone number ID that isn't valid, an error is returned.
",
+ "DescribePools": "Retrieves the specified pools or all pools associated with your Amazon Web Services account.
If you specify pool IDs, the output includes information for only the specified pools. If you specify filters, the output includes information for only those pools that meet the filter criteria. If you don't specify pool IDs or filters, the output includes information for all pools.
If you specify a pool ID that isn't valid, an error is returned.
A pool is a collection of phone numbers and SenderIds. A pool can include one or more phone numbers and SenderIds that are associated with your Amazon Web Services account.
",
+ "DescribeRegistrationAttachments": "Retrieves the specified registration attachments or all registration attachments associated with your Amazon Web Services account.
",
+ "DescribeRegistrationFieldDefinitions": "Retrieves the specified registration type field definitions. You can use DescribeRegistrationFieldDefinitions to view the requirements for creating, filling out, and submitting each registration type.
",
+ "DescribeRegistrationFieldValues": "Retrieves the specified registration field values.
",
+ "DescribeRegistrationSectionDefinitions": "Retrieves the specified registration section definitions. You can use DescribeRegistrationSectionDefinitions to view the requirements for creating, filling out, and submitting each registration type.
",
+ "DescribeRegistrationTypeDefinitions": "Retrieves the specified registration type definitions. You can use DescribeRegistrationTypeDefinitions to view the requirements for creating, filling out, and submitting each registration type.
",
+ "DescribeRegistrationVersions": "Retrieves the specified registration version.
",
+ "DescribeRegistrations": "Retrieves the specified registrations.
",
+ "DescribeSenderIds": "Describes the specified SenderIds or all SenderIds associated with your Amazon Web Services account.
If you specify SenderIds, the output includes information for only the specified SenderIds. If you specify filters, the output includes information for only those SenderIds that meet the filter criteria. If you don't specify SenderIds or filters, the output includes information for all SenderIds.
f you specify a sender ID that isn't valid, an error is returned.
",
"DescribeSpendLimits": "Describes the current Amazon Pinpoint monthly spend limits for sending voice and text messages.
When you establish an Amazon Web Services account, the account has initial monthly spend limit in a given Region. For more information on increasing your monthly spend limit, see Requesting increases to your monthly SMS spending quota for Amazon Pinpoint in the Amazon Pinpoint User Guide.
",
- "DisassociateOriginationIdentity": "Removes the specified origination identity from an existing pool.
If the origination identity isn't associated with the specified pool, an Error is returned.
",
+ "DescribeVerifiedDestinationNumbers": "Retrieves the specified verified destiona numbers.
",
+ "DisassociateOriginationIdentity": "Removes the specified origination identity from an existing pool.
If the origination identity isn't associated with the specified pool, an error is returned.
",
+ "DiscardRegistrationVersion": "Discard the current version of the registration.
",
"ListPoolOriginationIdentities": "Lists all associated origination identities in your pool.
If you specify filters, the output includes information for only those origination identities that meet the filter criteria.
",
+ "ListRegistrationAssociations": "Retreive all of the origination identies that are associated with a registration.
",
"ListTagsForResource": "List all tags associated with a resource.
",
- "PutKeyword": "Creates or updates a keyword configuration on an origination phone number or pool.
A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.
If you specify a keyword that isn't valid, an Error is returned.
",
- "PutOptedOutNumber": "Creates an opted out destination phone number in the opt-out list.
If the destination phone number isn't valid or if the specified opt-out list doesn't exist, an Error is returned.
",
- "ReleasePhoneNumber": "Releases an existing origination phone number in your account. Once released, a phone number is no longer available for sending messages.
If the origination phone number has deletion protection enabled or is associated with a pool, an Error is returned.
",
+ "PutKeyword": "Creates or updates a keyword configuration on an origination phone number or pool.
A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, Amazon Pinpoint responds with a customizable message.
If you specify a keyword that isn't valid, an error is returned.
",
+ "PutOptedOutNumber": "Creates an opted out destination phone number in the opt-out list.
If the destination phone number isn't valid or if the specified opt-out list doesn't exist, an error is returned.
",
+ "PutRegistrationFieldValue": "Creates or updates a field value for a registration.
",
+ "ReleasePhoneNumber": "Releases an existing origination phone number in your account. Once released, a phone number is no longer available for sending messages.
If the origination phone number has deletion protection enabled or is associated with a pool, an error is returned.
",
+ "ReleaseSenderId": "Releases an existing sender ID in your account.
",
"RequestPhoneNumber": "Request an origination phone number for use in your account. For more information on phone number request see Requesting a number in the Amazon Pinpoint User Guide.
",
+ "RequestSenderId": "Request a new sender ID that doesn't require registration.
",
+ "SendDestinationNumberVerificationCode": "Before you can send test messages to a verified destination phone number you need to opt-in the verified destination phone number. Creates a new text message with a verification code and send it to a verified destination phone number. Once you have the verification code use VerifyDestinationNumber to opt-in the verified destination phone number to receive messages.
",
"SendTextMessage": "Creates a new text message and sends it to a recipient's phone number.
SMS throughput limits are measured in Message Parts per Second (MPS). Your MPS limit depends on the destination country of your messages, as well as the type of phone number (origination number) that you use to send the message. For more information, see Message Parts per Second (MPS) limits in the Amazon Pinpoint User Guide.
",
- "SendVoiceMessage": "Allows you to send a request that sends a text message through Amazon Pinpoint. This operation uses Amazon Polly to convert a text script into a voice message.
",
+ "SendVoiceMessage": "Allows you to send a request that sends a voice message through Amazon Pinpoint. This operation uses Amazon Polly to convert a text script into a voice message.
",
"SetDefaultMessageType": "Sets the default message type on a configuration set.
Choose the category of SMS messages that you plan to send from this account. If you send account-related messages or time-sensitive messages such as one-time passcodes, choose Transactional. If you plan to send messages that contain marketing material or other promotional content, choose Promotional. This setting applies to your entire Amazon Web Services account.
",
"SetDefaultSenderId": "Sets default sender ID on a configuration set.
When sending a text message to a destination country that supports sender IDs, the default sender ID on the configuration set specified will be used if no dedicated origination phone numbers or registered sender IDs are available in your account.
",
"SetTextMessageSpendLimitOverride": "Sets an account level monthly spend limit override for sending text messages. The requested spend limit must be less than or equal to the MaxLimit
, which is set by Amazon Web Services.
",
"SetVoiceMessageSpendLimitOverride": "Sets an account level monthly spend limit override for sending voice messages. The requested spend limit must be less than or equal to the MaxLimit
, which is set by Amazon Web Services.
",
+ "SubmitRegistrationVersion": "Submit the specified registration for review and approval.
",
"TagResource": "Adds or overwrites only the specified tags for the specified Amazon Pinpoint SMS Voice, version 2 resource. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see Tagging Amazon Pinpoint resources in the Amazon Pinpoint Developer Guide.
",
"UntagResource": "Removes the association of the specified tags from an Amazon Pinpoint SMS Voice V2 resource. For more information on tags see Tagging Amazon Pinpoint resources in the Amazon Pinpoint Developer Guide.
",
"UpdateEventDestination": "Updates an existing event destination in a configuration set. You can update the IAM role ARN for CloudWatch Logs and Kinesis Data Firehose. You can also enable or disable the event destination.
You may want to update an event destination to change its matching event types or updating the destination resource ARN. You can't change an event destination's type between CloudWatch Logs, Kinesis Data Firehose, and Amazon SNS.
",
- "UpdatePhoneNumber": "Updates the configuration of an existing origination phone number. You can update the opt-out list, enable or disable two-way messaging, change the TwoWayChannelArn, enable or disable self-managed opt-outs, and enable or disable deletion protection.
If the origination phone number is associated with a pool, an Error is returned.
",
- "UpdatePool": "Updates the configuration of an existing pool. You can update the opt-out list, enable or disable two-way messaging, change the TwoWayChannelArn
, enable or disable self-managed opt-outs, enable or disable deletion protection, and enable or disable shared routes.
"
+ "UpdatePhoneNumber": "Updates the configuration of an existing origination phone number. You can update the opt-out list, enable or disable two-way messaging, change the TwoWayChannelArn, enable or disable self-managed opt-outs, and enable or disable deletion protection.
If the origination phone number is associated with a pool, an error is returned.
",
+ "UpdatePool": "Updates the configuration of an existing pool. You can update the opt-out list, enable or disable two-way messaging, change the TwoWayChannelArn
, enable or disable self-managed opt-outs, enable or disable deletion protection, and enable or disable shared routes.
",
+ "UpdateSenderId": "Updates the configuration of an existing sender ID.
",
+ "VerifyDestinationNumber": "Use the verification code that was received by the verified destination phone number to opt-in the verified destination phone number to receive more messages.
"
},
"shapes": {
"AccessDeniedException": {
@@ -113,12 +139,40 @@
"refs": {
}
},
+ "AttachmentBody": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationAttachmentRequest$AttachmentBody": "The registration file to upload. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG.
"
+ }
+ },
+ "AttachmentStatus": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationAttachmentResult$AttachmentStatus": "The status of the registration attachment.
-
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
-
UPLOAD_COMPLETE
The attachment has been uploaded.
-
UPLOAD_FAILED
The attachment failed to uploaded.
-
DELETED
The attachment has been deleted..
",
+ "DeleteRegistrationAttachmentResult$AttachmentStatus": "The status of the registration attachment.
-
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
-
UPLOAD_COMPLETE
The attachment has been uploaded.
-
UPLOAD_FAILED
The attachment failed to uploaded.
-
DELETED
The attachment has been deleted..
",
+ "RegistrationAttachmentsInformation$AttachmentStatus": "The status of the registration attachment.
-
UPLOAD_IN_PROGRESS
The attachment is being uploaded.
-
UPLOAD_COMPLETE
The attachment has been uploaded.
-
UPLOAD_FAILED
The attachment failed to uploaded.
-
DELETED
The attachment has been deleted..
"
+ }
+ },
+ "AttachmentUploadErrorReason": {
+ "base": null,
+ "refs": {
+ "DeleteRegistrationAttachmentResult$AttachmentUploadErrorReason": "The error message if the upload failed.
",
+ "RegistrationAttachmentsInformation$AttachmentUploadErrorReason": "A description of why the upload didn't successfully complete.
"
+ }
+ },
+ "AttachmentUrl": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationAttachmentRequest$AttachmentUrl": "A URL to the required registration file. For example, you can provide the S3 object URL.
"
+ }
+ },
"Boolean": {
"base": null,
"refs": {
"CreatePoolRequest$DeletionProtectionEnabled": "By default this is set to false. When set to true the pool can't be deleted. You can change this value using the UpdatePool action.
",
"EventDestination$Enabled": "When set to true events will be logged.
",
"RequestPhoneNumberRequest$DeletionProtectionEnabled": "By default this is set to false. When set to true the phone number can't be deleted.
",
+ "RequestSenderIdRequest$DeletionProtectionEnabled": "By default this is set to false. When set to true the sender ID can't be deleted.
",
"UpdateEventDestinationRequest$Enabled": "When set to true logging is enabled.
",
"UpdatePhoneNumberRequest$TwoWayEnabled": "By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
",
"UpdatePhoneNumberRequest$SelfManagedOptOutsEnabled": "By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
",
@@ -126,7 +180,8 @@
"UpdatePoolRequest$TwoWayEnabled": "By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
",
"UpdatePoolRequest$SelfManagedOptOutsEnabled": "By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
",
"UpdatePoolRequest$SharedRoutesEnabled": "Indicates whether shared routes are enabled for the pool.
",
- "UpdatePoolRequest$DeletionProtectionEnabled": "When set to true the pool can't be deleted.
"
+ "UpdatePoolRequest$DeletionProtectionEnabled": "When set to true the pool can't be deleted.
",
+ "UpdateSenderIdRequest$DeletionProtectionEnabled": "By default this is set to false. When set to true the sender ID can't be deleted.
"
}
},
"ClientToken": {
@@ -137,8 +192,12 @@
"CreateEventDestinationRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
"CreateOptOutListRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
"CreatePoolRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
+ "CreateRegistrationAttachmentRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
+ "CreateRegistrationRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
+ "CreateVerifiedDestinationNumberRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
"DisassociateOriginationIdentityRequest$ClientToken": "Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
- "RequestPhoneNumberRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
"
+ "RequestPhoneNumberRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
",
+ "RequestSenderIdRequest$ClientToken": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
"
}
},
"CloudWatchLogsDestination": {
@@ -210,6 +269,7 @@
"DeleteDefaultMessageTypeRequest$ConfigurationSetName": "The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default message type from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
",
"DeleteDefaultSenderIdRequest$ConfigurationSetName": "The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default sender ID from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
",
"DeleteEventDestinationRequest$ConfigurationSetName": "The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
",
+ "SendDestinationNumberVerificationCodeRequest$ConfigurationSetName": "The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
",
"SendTextMessageRequest$ConfigurationSetName": "The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
",
"SendVoiceMessageRequest$ConfigurationSetName": "The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
",
"SetDefaultMessageTypeRequest$ConfigurationSetName": "The configuration set to update with a new default message type. This field can be the ConsigurationSetName or ConfigurationSetArn.
",
@@ -237,6 +297,7 @@
"ContextMap": {
"base": null,
"refs": {
+ "SendDestinationNumberVerificationCodeRequest$Context": "You can specify custom data in this field. If you do, that data is logged to the event destination.
",
"SendTextMessageRequest$Context": "You can specify custom data in this field. If you do, that data is logged to the event destination.
",
"SendVoiceMessageRequest$Context": "You can specify custom data in this field. If you do, that data is logged to the event destination.
"
}
@@ -287,6 +348,56 @@
"refs": {
}
},
+ "CreateRegistrationAssociationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRegistrationAssociationResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRegistrationAttachmentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRegistrationAttachmentResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRegistrationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRegistrationResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRegistrationVersionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRegistrationVersionResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateVerifiedDestinationNumberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateVerifiedDestinationNumberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteConfigurationSetRequest": {
"base": null,
"refs": {
@@ -367,6 +478,36 @@
"refs": {
}
},
+ "DeleteRegistrationAttachmentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRegistrationAttachmentResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRegistrationFieldValueRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRegistrationFieldValueResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRegistrationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRegistrationResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteTextMessageSpendLimitOverrideRequest": {
"base": null,
"refs": {
@@ -377,6 +518,16 @@
"refs": {
}
},
+ "DeleteVerifiedDestinationNumberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteVerifiedDestinationNumberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteVoiceMessageSpendLimitOverrideRequest": {
"base": null,
"refs": {
@@ -473,6 +624,76 @@
"refs": {
}
},
+ "DescribeRegistrationAttachmentsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationAttachmentsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationFieldDefinitionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationFieldDefinitionsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationFieldValuesRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationFieldValuesResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationSectionDefinitionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationSectionDefinitionsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationTypeDefinitionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationTypeDefinitionsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationVersionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationVersionsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRegistrationsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeSenderIdsRequest": {
"base": null,
"refs": {
@@ -493,6 +714,16 @@
"refs": {
}
},
+ "DescribeVerifiedDestinationNumbersRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeVerifiedDestinationNumbersResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"DestinationCountryParameterKey": {
"base": null,
"refs": {
@@ -508,9 +739,16 @@
"DestinationCountryParameters": {
"base": null,
"refs": {
+ "SendDestinationNumberVerificationCodeRequest$DestinationCountryParameters": "This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.
",
"SendTextMessageRequest$DestinationCountryParameters": "This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.
"
}
},
+ "DestinationPhoneNumberList": {
+ "base": null,
+ "refs": {
+ "DescribeVerifiedDestinationNumbersRequest$DestinationPhoneNumbers": "An array of verified destination phone number, in E.164 format.
"
+ }
+ },
"DisassociateOriginationIdentityRequest": {
"base": null,
"refs": {
@@ -521,8 +759,18 @@
"refs": {
}
},
+ "DiscardRegistrationVersionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DiscardRegistrationVersionResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"EventDestination": {
- "base": "Contains information about an event destination.
Event destinations are associated with configuration sets, which enable you to publish message sending events to Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon SNS.
",
+ "base": "Contains information about an event destination.
Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Kinesis Data Firehose,or Amazon SNS.
",
"refs": {
"CreateEventDestinationResult$EventDestination": "The details of the destination where events are logged.
",
"DeleteEventDestinationResult$EventDestination": "The event destination object that was deleted.
",
@@ -555,9 +803,40 @@
"EventTypeList": {
"base": null,
"refs": {
- "CreateEventDestinationRequest$MatchingEventTypes": "An array of event types that determine which events to log. If \"ALL\" is used, then Amazon Pinpoint logs every event type.
",
- "EventDestination$MatchingEventTypes": "An array of event types that determine which events to log.
",
- "UpdateEventDestinationRequest$MatchingEventTypes": "An array of event types that determine which events to log.
"
+ "CreateEventDestinationRequest$MatchingEventTypes": "An array of event types that determine which events to log. If \"ALL\" is used, then Amazon Pinpoint logs every event type.
The TEXT_SENT
event type is not supported.
",
+ "EventDestination$MatchingEventTypes": "An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
",
+ "UpdateEventDestinationRequest$MatchingEventTypes": "An array of event types that determine which events to log.
The TEXT_SENT
event type is not supported.
"
+ }
+ },
+ "FieldPath": {
+ "base": null,
+ "refs": {
+ "DeleteRegistrationFieldValueRequest$FieldPath": "The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
",
+ "DeleteRegistrationFieldValueResult$FieldPath": "The path to the registration form field.
",
+ "FieldPathList$member": null,
+ "PutRegistrationFieldValueRequest$FieldPath": "The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
",
+ "PutRegistrationFieldValueResult$FieldPath": "The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
",
+ "RegistrationFieldDefinition$FieldPath": "The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
",
+ "RegistrationFieldValueInformation$FieldPath": "The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
"
+ }
+ },
+ "FieldPathList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationFieldDefinitionsRequest$FieldPaths": "An array of paths to the registration form field.
",
+ "DescribeRegistrationFieldValuesRequest$FieldPaths": "An array of paths to the registration form field.
"
+ }
+ },
+ "FieldRequirement": {
+ "base": null,
+ "refs": {
+ "RegistrationFieldDefinition$FieldRequirement": "Specifies if the field for the registration form is required, conditional or optional.
"
+ }
+ },
+ "FieldType": {
+ "base": null,
+ "refs": {
+ "RegistrationFieldDefinition$FieldType": "The type of field.
"
}
},
"FilterValue": {
@@ -575,14 +854,39 @@
"PhoneNumberFilter$Values": "An array values to filter for.
",
"PoolFilter$Values": "An array values to filter for.
",
"PoolOriginationIdentitiesFilter$Values": "An array values to filter for.
",
- "SenderIdFilter$Values": "An array of values to filter for.
"
+ "RegistrationAssociationFilter$Values": "An array of values to filter for.
",
+ "RegistrationAttachmentFilter$Values": "An array of values to filter on.
",
+ "RegistrationFilter$Values": "An array of values to filter on.
",
+ "RegistrationTypeFilter$Values": "An array of values to filter on.
",
+ "RegistrationVersionFilter$Values": "An array of values to filter on.
",
+ "SenderIdFilter$Values": "An array of values to filter for.
",
+ "VerifiedDestinationNumberFilter$Values": "An array of values to filter on.
"
}
},
"IamRoleArn": {
"base": null,
"refs": {
"CloudWatchLogsDestination$IamRoleArn": "The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.
",
- "KinesisFirehoseDestination$IamRoleArn": "The ARN of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon Firehose destination.
"
+ "CreatePoolResult$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "DeletePoolResult$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "KinesisFirehoseDestination$IamRoleArn": "The ARN of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon Firehose destination.
",
+ "PhoneNumberInformation$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "PoolInformation$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "ReleasePhoneNumberResult$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "RequestPhoneNumberResult$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "UpdatePhoneNumberRequest$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "UpdatePhoneNumberResult$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "UpdatePoolRequest$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
",
+ "UpdatePoolResult$TwoWayChannelRole": "An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
"
+ }
+ },
+ "Integer": {
+ "base": null,
+ "refs": {
+ "SelectValidation$MinChoices": "The minimum number of choices for the select.
",
+ "SelectValidation$MaxChoices": "The maximum number of choices for the select.
",
+ "TextValidation$MinLength": "The minimum number of characters for the text field.
",
+ "TextValidation$MaxLength": "The maximum number of characters for the text field.
"
}
},
"InternalServerException": {
@@ -596,16 +900,25 @@
"AssociateOriginationIdentityRequest$IsoCountryCode": "The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity.
",
"AssociateOriginationIdentityResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"CreatePoolRequest$IsoCountryCode": "The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the new pool.
",
+ "CreateRegistrationAssociationResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"DisassociateOriginationIdentityRequest$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"DisassociateOriginationIdentityResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"OriginationIdentityMetadata$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"PhoneNumberInformation$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "RegistrationAssociationMetadata$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"ReleasePhoneNumberResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "ReleaseSenderIdRequest$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "ReleaseSenderIdResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"RequestPhoneNumberRequest$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"RequestPhoneNumberResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "RequestSenderIdRequest$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "RequestSenderIdResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"SenderIdAndCountry$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
"SenderIdInformation$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
- "UpdatePhoneNumberResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
"
+ "SupportedAssociation$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "UpdatePhoneNumberResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "UpdateSenderIdRequest$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
",
+ "UpdateSenderIdResult$IsoCountryCode": "The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
"
}
},
"Keyword": {
@@ -625,7 +938,7 @@
"refs": {
"DeleteKeywordResult$KeywordAction": "The action that was associated with the deleted keyword.
",
"KeywordInformation$KeywordAction": "The action to perform for the keyword.
",
- "PutKeywordRequest$KeywordAction": "The action to perform for the new keyword when it is received.
",
+ "PutKeywordRequest$KeywordAction": "The action to perform for the new keyword when it is received.
-
AUTOMATIC_RESPONSE: A message is sent to the recipient.
-
OPT_OUT: Keeps the recipient from receiving future messages.
-
OPT_IN: The recipient wants to receive future messages.
",
"PutKeywordResult$KeywordAction": "The action to perform when the keyword is used.
"
}
},
@@ -670,7 +983,7 @@
"refs": {
"DeleteKeywordResult$KeywordMessage": "The message that was associated with the deleted keyword.
",
"KeywordInformation$KeywordMessage": "A custom message that can be used with the keyword.
",
- "PutKeywordRequest$KeywordMessage": "The message associated with the keyword.
-
AUTOMATIC_RESPONSE: A message is sent to the recipient.
-
OPT_OUT: Keeps the recipient from receiving future messages.
-
OPT_IN: The recipient wants to receive future messages.
",
+ "PutKeywordRequest$KeywordMessage": "The message associated with the keyword.
",
"PutKeywordResult$KeywordMessage": "The message associated with the keyword.
"
}
},
@@ -682,6 +995,12 @@
"UpdateEventDestinationRequest$KinesisFirehoseDestination": "An object that contains information about an event destination for logging to Kinesis Data Firehose.
"
}
},
+ "LanguageCode": {
+ "base": null,
+ "refs": {
+ "SendDestinationNumberVerificationCodeRequest$LanguageCode": "Choose the language to use for the message.
"
+ }
+ },
"ListPoolOriginationIdentitiesRequest": {
"base": null,
"refs": {
@@ -692,6 +1011,16 @@
"refs": {
}
},
+ "ListRegistrationAssociationsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListRegistrationAssociationsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTagsForResourceRequest": {
"base": null,
"refs": {
@@ -726,9 +1055,18 @@
"DescribeOptedOutNumbersRequest$MaxResults": "The maximum number of results to return per each request.
",
"DescribePhoneNumbersRequest$MaxResults": "The maximum number of results to return per each request.
",
"DescribePoolsRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "DescribeRegistrationAttachmentsRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "DescribeRegistrationFieldDefinitionsRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "DescribeRegistrationFieldValuesRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "DescribeRegistrationSectionDefinitionsRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "DescribeRegistrationTypeDefinitionsRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "DescribeRegistrationVersionsRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "DescribeRegistrationsRequest$MaxResults": "The maximum number of results to return per each request.
",
"DescribeSenderIdsRequest$MaxResults": "The maximum number of results to return per each request.
",
"DescribeSpendLimitsRequest$MaxResults": "The maximum number of results to return per each request.
",
- "ListPoolOriginationIdentitiesRequest$MaxResults": "The maximum number of results to return per each request.
"
+ "DescribeVerifiedDestinationNumbersRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "ListPoolOriginationIdentitiesRequest$MaxResults": "The maximum number of results to return per each request.
",
+ "ListRegistrationAssociationsRequest$MaxResults": "The maximum number of results to return per each request.
"
}
},
"MessageType": {
@@ -746,7 +1084,7 @@
"ReleasePhoneNumberResult$MessageType": "The message type that was associated with the phone number.
",
"RequestPhoneNumberRequest$MessageType": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
"RequestPhoneNumberResult$MessageType": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
- "SendTextMessageRequest$MessageType": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
+ "SendTextMessageRequest$MessageType": "The type of message. Valid values are for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
"SetDefaultMessageTypeRequest$MessageType": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
"SetDefaultMessageTypeResult$MessageType": "The new default message type of the configuration set.
",
"UpdatePhoneNumberResult$MessageType": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
@@ -756,7 +1094,11 @@
"MessageTypeList": {
"base": null,
"refs": {
- "SenderIdInformation$MessageTypes": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
"
+ "ReleaseSenderIdResult$MessageTypes": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
+ "RequestSenderIdRequest$MessageTypes": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
+ "RequestSenderIdResult$MessageTypes": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
+ "SenderIdInformation$MessageTypes": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
",
+ "UpdateSenderIdResult$MessageTypes": "The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
"
}
},
"MonthlyLimit": {
@@ -789,12 +1131,30 @@
"DescribePhoneNumbersResult$NextToken": "The token to be used for the next set of paginated results. If this field is empty then there are no more results.
",
"DescribePoolsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
"DescribePoolsResult$NextToken": "The token to be used for the next set of paginated results. If this field is empty then there are no more results.
",
+ "DescribeRegistrationAttachmentsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationAttachmentsResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationFieldDefinitionsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationFieldDefinitionsResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationFieldValuesRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationFieldValuesResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationSectionDefinitionsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationSectionDefinitionsResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationTypeDefinitionsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationTypeDefinitionsResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationVersionsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationVersionsResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeRegistrationsResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
"DescribeSenderIdsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
"DescribeSenderIdsResult$NextToken": "The token to be used for the next set of paginated results. If this field is empty then there are no more results.
",
"DescribeSpendLimitsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
"DescribeSpendLimitsResult$NextToken": "The token to be used for the next set of paginated results. If this field is empty then there are no more results.
",
+ "DescribeVerifiedDestinationNumbersRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "DescribeVerifiedDestinationNumbersResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
"ListPoolOriginationIdentitiesRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
- "ListPoolOriginationIdentitiesResult$NextToken": "The token to be used for the next set of paginated results. If this field is empty then there are no more results.
"
+ "ListPoolOriginationIdentitiesResult$NextToken": "The token to be used for the next set of paginated results. If this field is empty then there are no more results.
",
+ "ListRegistrationAssociationsRequest$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
",
+ "ListRegistrationAssociationsResult$NextToken": "The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
"
}
},
"NonEmptyTagList": {
@@ -883,7 +1243,7 @@
"DescribeOptedOutNumbersRequest$OptOutListName": "The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
",
"OptOutListNameList$member": null,
"PutOptedOutNumberRequest$OptOutListName": "The OptOutListName or OptOutListArn to add the phone number to.
",
- "RequestPhoneNumberRequest$OptOutListName": "The name of the OptOutList to associate with the phone number. You can use the OutOutListName or OptPutListArn.
",
+ "RequestPhoneNumberRequest$OptOutListName": "The name of the OptOutList to associate with the phone number. You can use the OptOutListName or OptOutListArn.
",
"UpdatePhoneNumberRequest$OptOutListName": "The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.
",
"UpdatePoolRequest$OptOutListName": "The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
"
}
@@ -939,18 +1299,27 @@
"PhoneNumber": {
"base": null,
"refs": {
+ "CreateRegistrationAssociationResult$PhoneNumber": "The phone number associated with the registration in E.164 format.
",
+ "CreateVerifiedDestinationNumberRequest$DestinationPhoneNumber": "The verified destination phone number, in E.164 format.
",
+ "CreateVerifiedDestinationNumberResult$DestinationPhoneNumber": "The verified destination phone number, in E.164 format.
",
"DeleteOptedOutNumberRequest$OptedOutNumber": "The phone number, in E.164 format, to remove from the OptOutList.
",
"DeleteOptedOutNumberResult$OptedOutNumber": "The phone number that was removed from the OptOutList.
",
+ "DeleteVerifiedDestinationNumberResult$DestinationPhoneNumber": "The verified destination phone number, in E.164 format.
",
+ "DestinationPhoneNumberList$member": null,
"OptedOutNumberInformation$OptedOutNumber": "The phone number that is opted out.
",
"OptedOutNumberList$member": null,
+ "OriginationIdentityMetadata$PhoneNumber": "The phone number in E.164 format.
",
"PhoneNumberInformation$PhoneNumber": "The phone number in E.164 format.
",
"PutOptedOutNumberRequest$OptedOutNumber": "The phone number to add to the OptOutList in E.164 format.
",
"PutOptedOutNumberResult$OptedOutNumber": "The phone number that was added to the OptOutList.
",
+ "RegistrationAssociationMetadata$PhoneNumber": "The phone number associated with the registration in E.164 format.
",
"ReleasePhoneNumberResult$PhoneNumber": "The phone number that was released.
",
"RequestPhoneNumberResult$PhoneNumber": "The new phone number that was requested.
",
"SendTextMessageRequest$DestinationPhoneNumber": "The destination phone number in E.164 format.
",
"SendVoiceMessageRequest$DestinationPhoneNumber": "The destination phone number in E.164 format.
",
- "UpdatePhoneNumberResult$PhoneNumber": "The phone number that was updated.
"
+ "UpdatePhoneNumberResult$PhoneNumber": "The phone number that was updated.
",
+ "VerifiedDestinationNumberInformation$DestinationPhoneNumber": "The verified destination phone number, in E.164 format.
",
+ "VerifyDestinationNumberResult$DestinationPhoneNumber": "The phone number in E.164 format.
"
}
},
"PhoneNumberFilter": {
@@ -986,7 +1355,7 @@
}
},
"PhoneNumberInformation": {
- "base": "The information for a phone number in an Amazon Web Services account.
",
+ "base": "The information for a phone number, in E.164 format, in an Amazon Web Services account.
",
"refs": {
"PhoneNumberInformationList$member": null
}
@@ -1110,11 +1479,16 @@
"PutOptedOutNumberResult$EndUserOptedOut": "This is true if it was the end user who requested their phone number be removed.
",
"ReleasePhoneNumberResult$TwoWayEnabled": "By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
",
"ReleasePhoneNumberResult$SelfManagedOptOutsEnabled": "By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
",
+ "ReleaseSenderIdResult$Registered": "True if the sender ID is registered.
",
"RequestPhoneNumberResult$TwoWayEnabled": "By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
",
"RequestPhoneNumberResult$SelfManagedOptOutsEnabled": "By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
",
"RequestPhoneNumberResult$DeletionProtectionEnabled": "By default this is set to false. When set to true the phone number can't be deleted.
",
+ "RequestSenderIdResult$DeletionProtectionEnabled": "By default this is set to false. When set to true the sender ID can't be deleted.
",
+ "RequestSenderIdResult$Registered": "True if the sender ID is registered.
",
"SendTextMessageRequest$DryRun": "When set to true, the message is checked and validated, but isn't sent to the end recipient.
",
"SendVoiceMessageRequest$DryRun": "When set to true, the message is checked and validated, but isn't sent to the end recipient.
",
+ "SenderIdInformation$DeletionProtectionEnabled": "By default this is set to false. When set to true the sender ID can't be deleted.
",
+ "SenderIdInformation$Registered": "True if the sender ID is registered.
",
"SpendLimit$Overridden": "When set to True
, the value that has been specified in the EnforcedLimit
is used to determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.
",
"UpdatePhoneNumberResult$TwoWayEnabled": "By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
",
"UpdatePhoneNumberResult$SelfManagedOptOutsEnabled": "This is true if self managed opt-out are enabled.
",
@@ -1122,7 +1496,9 @@
"UpdatePoolResult$TwoWayEnabled": "By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
",
"UpdatePoolResult$SelfManagedOptOutsEnabled": "When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
",
"UpdatePoolResult$SharedRoutesEnabled": "Indicates whether shared routes are enabled for the pool.
",
- "UpdatePoolResult$DeletionProtectionEnabled": "When set to true the pool can't be deleted.
"
+ "UpdatePoolResult$DeletionProtectionEnabled": "When set to true the pool can't be deleted.
",
+ "UpdateSenderIdResult$DeletionProtectionEnabled": "By default this is set to false. When set to true the sender ID can't be deleted.
",
+ "UpdateSenderIdResult$Registered": "True if the sender ID is registered..
"
}
},
"PrimitiveLong": {
@@ -1154,172 +1530,609 @@
"refs": {
}
},
- "RegistrationId": {
+ "PutRegistrationFieldValueRequest": {
"base": null,
"refs": {
- "RequestPhoneNumberRequest$RegistrationId": "Use this field to attach your phone number for an external registration process.
"
}
},
- "ReleasePhoneNumberRequest": {
+ "PutRegistrationFieldValueResult": {
"base": null,
"refs": {
}
},
- "ReleasePhoneNumberResult": {
+ "RegistrationAssociationBehavior": {
"base": null,
"refs": {
+ "SupportedAssociation$AssociationBehavior": "The association behavior.
-
ASSOCIATE_BEFORE_SUBMIT
The origination identity has to be supplied when creating a registration.
-
ASSOCIATE_ON_APPROVAL
This applies to all short code registrations. The short code will be automatically provisioned once the registration is approved.
-
ASSOCIATE_AFTER_COMPLETE
This applies to phone number registrations when you must complete a registration first, then associate one or more phone numbers later. For example 10DLC campaigns and long codes.
"
}
},
- "RequestPhoneNumberRequest": {
- "base": null,
+ "RegistrationAssociationFilter": {
+ "base": "The filter definition for filtering registrations that meets a specified criteria.
",
"refs": {
+ "RegistrationAssociationFilterList$member": null
}
},
- "RequestPhoneNumberResult": {
+ "RegistrationAssociationFilterList": {
"base": null,
"refs": {
+ "ListRegistrationAssociationsRequest$Filters": "An array of RegistrationAssociationFilter to apply to the results that are returned.
"
}
},
- "RequestableNumberType": {
+ "RegistrationAssociationFilterName": {
"base": null,
"refs": {
- "RequestPhoneNumberRequest$NumberType": "The type of phone number to request.
",
- "RequestPhoneNumberResult$NumberType": "The type of number that was released.
"
+ "RegistrationAssociationFilter$Name": "The name of the attribute to filter on.
"
}
},
- "ResourceNotFoundException": {
- "base": "A requested resource couldn't be found.
",
+ "RegistrationAssociationMetadata": {
+ "base": "Metadata for the origination identity that is associated with the registration.
",
"refs": {
+ "RegistrationAssociationMetadataList$member": null
}
},
- "ResourceType": {
+ "RegistrationAssociationMetadataList": {
"base": null,
"refs": {
- "ConflictException$ResourceType": "The type of resource that caused the exception.
",
- "ResourceNotFoundException$ResourceType": "The type of resource that caused the exception.
"
+ "ListRegistrationAssociationsResult$RegistrationAssociations": "An array of RegistrationAssociationMetadata objects.
"
}
},
- "SendTextMessageRequest": {
- "base": null,
+ "RegistrationAttachmentFilter": {
+ "base": "The filter definition for filtering registration attachments that meets a specified criteria.
",
"refs": {
+ "RegistrationAttachmentFilterList$member": null
}
},
- "SendTextMessageResult": {
+ "RegistrationAttachmentFilterList": {
"base": null,
"refs": {
+ "DescribeRegistrationAttachmentsRequest$Filters": "An array of RegistrationAttachmentFilter objects to filter the results.
"
}
},
- "SendVoiceMessageRequest": {
+ "RegistrationAttachmentFilterName": {
"base": null,
"refs": {
+ "RegistrationAttachmentFilter$Name": "The name of the attribute to filter on.
"
}
},
- "SendVoiceMessageResult": {
+ "RegistrationAttachmentIdList": {
"base": null,
"refs": {
+ "DescribeRegistrationAttachmentsRequest$RegistrationAttachmentIds": "The unique identifier of registration attachments to find. This is an array of RegistrationAttachmentId.
"
}
},
- "SenderId": {
+ "RegistrationAttachmentIdOrArn": {
"base": null,
"refs": {
- "ConfigurationSetInformation$DefaultSenderId": "The default sender ID used by the ConfigurationSet.
",
- "DeleteConfigurationSetResult$DefaultSenderId": "The default Sender ID of the configuration set that was deleted.
",
- "DeleteDefaultSenderIdResult$SenderId": "The current sender ID for the configuration set.
",
- "SenderIdInformation$SenderId": "The alphanumeric sender ID in a specific country that you'd like to describe.
",
- "SetDefaultSenderIdRequest$SenderId": "The current sender ID for the configuration set. When sending a text message to a destination country which supports SenderIds, the default sender ID on the configuration set specified on SendTextMessage will be used if no dedicated origination phone numbers or registered SenderIds are available in your account, instead of a generic sender ID, such as 'NOTICE'.
",
- "SetDefaultSenderIdResult$SenderId": "The default sender ID to set for the ConfigurationSet.
"
+ "DeleteRegistrationAttachmentRequest$RegistrationAttachmentId": "The unique identifier for the registration attachment.
",
+ "PutRegistrationFieldValueRequest$RegistrationAttachmentId": "The unique identifier for the registration attachment.
",
+ "RegistrationFieldValueInformation$RegistrationAttachmentId": "The unique identifier for the registration attachment.
"
}
},
- "SenderIdAndCountry": {
- "base": " The alphanumeric sender ID in a specific country that you want to describe. For more information on sender IDs see Requesting sender IDs for SMS messaging with Amazon Pinpoint in the Amazon Pinpoint User Guide.
",
+ "RegistrationAttachmentsInformation": {
+ "base": "Provides information on the specified registration attachments.
",
"refs": {
- "SenderIdList$member": null
+ "RegistrationAttachmentsInformationList$member": null
}
},
- "SenderIdFilter": {
- "base": "The information for a sender ID that meets a specified criteria.
",
+ "RegistrationAttachmentsInformationList": {
+ "base": null,
"refs": {
- "SenderIdFilterList$member": null
+ "DescribeRegistrationAttachmentsResult$RegistrationAttachments": "An array of RegistrationAttachments objects that contain the details for the requested registration attachments.
"
}
},
- "SenderIdFilterList": {
- "base": null,
+ "RegistrationDeniedReasonInformation": {
+ "base": "Provides the reason a registration was rejected.
",
"refs": {
- "DescribeSenderIdsRequest$Filters": "An array of SenderIdFilter objects to filter the results.
"
+ "RegistrationDeniedReasonInformationList$member": null
}
},
- "SenderIdFilterName": {
+ "RegistrationDeniedReasonInformationList": {
"base": null,
"refs": {
- "SenderIdFilter$Name": "The name of the attribute to filter on.
"
+ "RegistrationVersionInformation$DeniedReasons": "An array of RegistrationDeniedReasonInformation objects.
"
}
},
- "SenderIdInformation": {
- "base": "The information for all SenderIds in an Amazon Web Services account.
",
+ "RegistrationDisassociationBehavior": {
+ "base": null,
"refs": {
- "SenderIdInformationList$member": null
+ "SupportedAssociation$DisassociationBehavior": "The disassociation behavior.
-
DISASSOCIATE_ALL_CLOSES_REGISTRATION
All origination identities must be disassociated from the registration before the registration can be closed.
-
DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION
All origination identities must be disassociated from the registration before the registration can be deleted.
-
DELETE_REGISTRATION_DISASSOCIATES
The registration can be deleted and all origination identities will be disasscoiated.
"
}
},
- "SenderIdInformationList": {
- "base": null,
+ "RegistrationFieldDefinition": {
+ "base": "Provides a description of the specified field.
",
"refs": {
- "DescribeSenderIdsResult$SenderIds": "An array of SernderIdInformation objects that contain the details for the requested SenderIds.
"
+ "RegistrationFieldDefinitionList$member": null
}
},
- "SenderIdList": {
+ "RegistrationFieldDefinitionList": {
"base": null,
"refs": {
- "DescribeSenderIdsRequest$SenderIds": "An array of SenderIdAndCountry objects to search for.
"
+ "DescribeRegistrationFieldDefinitionsResult$RegistrationFieldDefinitions": "An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.
"
}
},
- "SenderIdOrArn": {
- "base": null,
+ "RegistrationFieldDisplayHints": {
+ "base": "Provides help information on the registration field.
",
"refs": {
- "SenderIdAndCountry$SenderId": "The unique identifier of the sender.
"
+ "RegistrationFieldDefinition$DisplayHints": "An array of RegistrationFieldDisplayHints objects for the field.
"
}
},
- "ServiceQuotaExceededException": {
- "base": "The request would cause a service quota to be exceeded.
",
+ "RegistrationFieldValueInformation": {
+ "base": "Provides the values of the specified field.
",
"refs": {
+ "RegistrationFieldValueInformationList$member": null
}
},
- "ServiceQuotaExceededExceptionReason": {
+ "RegistrationFieldValueInformationList": {
"base": null,
"refs": {
- "ServiceQuotaExceededException$Reason": "The reason for the exception.
"
+ "DescribeRegistrationFieldValuesResult$RegistrationFieldValues": "An array of RegistrationFieldValues objects that contain the values for the requested registration.
"
}
},
- "SetDefaultMessageTypeRequest": {
- "base": null,
+ "RegistrationFilter": {
+ "base": "The filter definition for filtering registrations that meets a specified criteria.
",
"refs": {
+ "RegistrationFilterList$member": null
}
},
- "SetDefaultMessageTypeResult": {
+ "RegistrationFilterList": {
"base": null,
"refs": {
+ "DescribeRegistrationsRequest$Filters": "An array of RegistrationFilter objects to filter the results.
"
}
},
- "SetDefaultSenderIdRequest": {
+ "RegistrationFilterName": {
"base": null,
"refs": {
+ "RegistrationFilter$Name": "The name of the attribute to filter on.
"
}
},
- "SetDefaultSenderIdResult": {
+ "RegistrationIdList": {
"base": null,
"refs": {
+ "DescribeRegistrationsRequest$RegistrationIds": "An array of unique identifiers for each registration.
"
}
},
- "SetTextMessageSpendLimitOverrideRequest": {
+ "RegistrationIdOrArn": {
"base": null,
"refs": {
+ "CreateRegistrationAssociationRequest$RegistrationId": "The unique identifier for the registration.
",
+ "CreateRegistrationVersionRequest$RegistrationId": "The unique identifier for the registration.
",
+ "DeleteRegistrationFieldValueRequest$RegistrationId": "The unique identifier for the registration.
",
+ "DeleteRegistrationRequest$RegistrationId": "The unique identifier for the registration.
",
+ "DescribeRegistrationFieldValuesRequest$RegistrationId": "The unique identifier for the registration.
",
+ "DescribeRegistrationVersionsRequest$RegistrationId": "The unique identifier for the registration.
",
+ "DiscardRegistrationVersionRequest$RegistrationId": "The unique identifier for the registration.
",
+ "ListRegistrationAssociationsRequest$RegistrationId": "The unique identifier for the registration.
",
+ "PutRegistrationFieldValueRequest$RegistrationId": "The unique identifier for the registration.
",
+ "RegistrationAttachmentIdList$member": null,
+ "RegistrationIdList$member": null,
+ "RequestPhoneNumberRequest$RegistrationId": "Use this field to attach your phone number for an external registration process.
",
+ "SubmitRegistrationVersionRequest$RegistrationId": "The unique identifier for the registration.
"
}
},
- "SetTextMessageSpendLimitOverrideResult": {
- "base": null,
+ "RegistrationInformation": {
+ "base": "Provides information about the requested registration.
",
"refs": {
+ "RegistrationInformationList$member": null
}
},
- "SetVoiceMessageSpendLimitOverrideRequest": {
+ "RegistrationInformationList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationsResult$Registrations": "An array of RegistrationInformation objects.
"
+ }
+ },
+ "RegistrationSectionDefinition": {
+ "base": "Provides information on the specified section definition.
",
+ "refs": {
+ "RegistrationSectionDefinitionList$member": null
+ }
+ },
+ "RegistrationSectionDefinitionList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationSectionDefinitionsResult$RegistrationSectionDefinitions": "An array of RegistrationSectionDefinition objects.
"
+ }
+ },
+ "RegistrationSectionDisplayHints": {
+ "base": "Provides help information on the registration section.
",
+ "refs": {
+ "RegistrationSectionDefinition$DisplayHints": "The path to the section of the registration.
"
+ }
+ },
+ "RegistrationStatus": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationResult$RegistrationStatus": "The status of the registration.
-
CREATED
: Your registration is created but not submitted.
-
SUBMITTED
: Your registration has been submitted and is awaiting review.
-
REVIEWING
: Your registration has been accepted and is being reviewed.
-
PROVISIONING
: Your registration has been approved and your origination identity is being created.
-
COMPLETE
: Your registration has been approved and and your origination identity has been created.
-
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
-
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for the number.
-
DELETED
: The registration has been deleted.
",
+ "DeleteRegistrationResult$RegistrationStatus": "The status of the registration.
-
CREATED
: Your registration is created but not submitted.
-
SUBMITTED
: Your registration has been submitted and is awaiting review.
-
REVIEWING
: Your registration has been accepted and is being reviewed.
-
PROVISIONING
: Your registration has been approved and your origination identity is being created.
-
COMPLETE
: Your registration has been approved and and your origination identity has been created.
-
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
-
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for the number.
-
DELETED
: The registration has been deleted.
",
+ "RegistrationInformation$RegistrationStatus": "The status of the registration.
-
CREATED
: Your registration is created but not submitted.
-
SUBMITTED
: Your registration has been submitted and is awaiting review.
-
REVIEWING
: Your registration has been accepted and is being reviewed.
-
PROVISIONING
: Your registration has been approved and your origination identity is being created.
-
COMPLETE
: Your registration has been approved and and your origination identity has been created.
-
REQUIRES_UPDATES
: You must fix your registration and resubmit it.
-
CLOSED
: The phone number or sender ID has been deleted and you must also delete the registration for the number.
-
DELETED
: The registration has been deleted.
"
+ }
+ },
+ "RegistrationType": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationAssociationResult$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "CreateRegistrationRequest$RegistrationType": "The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "CreateRegistrationResult$RegistrationType": "The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "DeleteRegistrationResult$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "DescribeRegistrationFieldDefinitionsRequest$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "DescribeRegistrationFieldDefinitionsResult$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "DescribeRegistrationSectionDefinitionsRequest$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "DescribeRegistrationSectionDefinitionsResult$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "ListRegistrationAssociationsResult$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "RegistrationInformation$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "RegistrationTypeDefinition$RegistrationType": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
",
+ "RegistrationTypeList$member": null
+ }
+ },
+ "RegistrationTypeDefinition": {
+ "base": "Provides information on the supported registration type.
",
+ "refs": {
+ "RegistrationTypeDefinitionList$member": null
+ }
+ },
+ "RegistrationTypeDefinitionList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationTypeDefinitionsResult$RegistrationTypeDefinitions": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
"
+ }
+ },
+ "RegistrationTypeDisplayHints": {
+ "base": "Provides help information on the registration type.
",
+ "refs": {
+ "RegistrationTypeDefinition$DisplayHints": "Provides help information on the registration.
"
+ }
+ },
+ "RegistrationTypeFilter": {
+ "base": "The filter definition for filtering registration types that meets a specified criteria.
",
+ "refs": {
+ "RegistrationTypeFilterList$member": null
+ }
+ },
+ "RegistrationTypeFilterList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationTypeDefinitionsRequest$Filters": "An array of RegistrationFilter objects to filter the results.
"
+ }
+ },
+ "RegistrationTypeFilterName": {
+ "base": null,
+ "refs": {
+ "RegistrationTypeFilter$Name": "The name of the attribute to filter on.
"
+ }
+ },
+ "RegistrationTypeList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationTypeDefinitionsRequest$RegistrationTypes": "The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
"
+ }
+ },
+ "RegistrationVersionFilter": {
+ "base": "The filter definition for filtering registration versions that meets a specified criteria.
",
+ "refs": {
+ "RegistrationVersionFilterList$member": null
+ }
+ },
+ "RegistrationVersionFilterList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationVersionsRequest$Filters": "An array of RegistrationVersionFilter objects to filter the results.
"
+ }
+ },
+ "RegistrationVersionFilterName": {
+ "base": null,
+ "refs": {
+ "RegistrationVersionFilter$Name": "The name of the attribute to filter on.
"
+ }
+ },
+ "RegistrationVersionInformation": {
+ "base": "Provides information about the specified version of the registration.
",
+ "refs": {
+ "RegistrationVersionInformationList$member": null
+ }
+ },
+ "RegistrationVersionInformationList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationVersionsResult$RegistrationVersions": "An array of RegistrationVersions objects.
"
+ }
+ },
+ "RegistrationVersionNumber": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationResult$CurrentVersionNumber": "The current version number of the registration.
",
+ "CreateRegistrationVersionResult$VersionNumber": "The new version number of the registration.
",
+ "DeleteRegistrationFieldValueResult$VersionNumber": "The version number of the registration.
",
+ "DeleteRegistrationResult$CurrentVersionNumber": "The current version number of the registration.
",
+ "DeleteRegistrationResult$ApprovedVersionNumber": "The version number of the registration that was approved.
",
+ "DeleteRegistrationResult$LatestDeniedVersionNumber": "The latest version number of the registration that was denied.
",
+ "DescribeRegistrationFieldValuesRequest$VersionNumber": "The version number of the registration.
",
+ "DescribeRegistrationFieldValuesResult$VersionNumber": "The current version of the registration.
",
+ "DiscardRegistrationVersionResult$VersionNumber": "The version number of the registration.
",
+ "PutRegistrationFieldValueResult$VersionNumber": "The version number of the registration.
",
+ "RegistrationInformation$CurrentVersionNumber": "The current version number of the registration.
",
+ "RegistrationInformation$ApprovedVersionNumber": "The version number of the registration that was approved.
",
+ "RegistrationInformation$LatestDeniedVersionNumber": "The latest version number of the registration that was denied.
",
+ "RegistrationVersionInformation$VersionNumber": "The version number of the registration.
",
+ "RegistrationVersionNumberList$member": null,
+ "SubmitRegistrationVersionResult$VersionNumber": "The version number of the registration.
"
+ }
+ },
+ "RegistrationVersionNumberList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationVersionsRequest$VersionNumbers": "An array of registration version numbers.
"
+ }
+ },
+ "RegistrationVersionStatus": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationVersionResult$RegistrationVersionStatus": "The status of the registration.
-
DRAFT
: The initial status of a registration version after it’s created.
-
SUBMITTED
: Your registration has been submitted.
-
REVIEWING
: Your registration has been accepted and is being reviewed.
-
APPROVED
: Your registration has been approved.
-
DISCARDED
: You've abandon this version of their registration to start over with a new version.
-
DENIED
: You must fix your registration and resubmit it.
-
REVOKED
: Your previously approved registration has been revoked.
-
ARCHIVED
: Your previously approved registration version moves into this status when a more recently submitted version is approved.
",
+ "DiscardRegistrationVersionResult$RegistrationVersionStatus": "The status of the registration version.
-
DRAFT
: The initial status of a registration version after it’s created.
-
SUBMITTED
: Your registration has been submitted.
-
REVIEWING
: Your registration has been accepted and is being reviewed.
-
APPROVED
: Your registration has been approved.
-
DISCARDED
: You've abandon this version of their registration to start over with a new version.
-
DENIED
: You must fix your registration and resubmit it.
-
REVOKED
: Your previously approved registration has been revoked.
-
ARCHIVED
: Your previously approved registration version moves into this status when a more recently submitted version is approved.
",
+ "RegistrationVersionInformation$RegistrationVersionStatus": "The status of the registration.
-
DRAFT
: The initial status of a registration version after it’s created.
-
SUBMITTED
: Your registration has been submitted.
-
REVIEWING
: Your registration has been accepted and is being reviewed.
-
APPROVED
: Your registration has been approved.
-
DISCARDED
: You've abandon this version of their registration to start over with a new version.
-
DENIED
: You must fix your registration and resubmit it.
-
REVOKED
: Your previously approved registration has been revoked.
-
ARCHIVED
: Your previously approved registration version moves into this status when a more recently submitted version is approved.
",
+ "SubmitRegistrationVersionResult$RegistrationVersionStatus": "The status of the registration version.
-
DRAFT
: The initial status of a registration version after it’s created.
-
SUBMITTED
: Your registration has been submitted.
-
REVIEWING
: Your registration has been accepted and is being reviewed.
-
APPROVED
: Your registration has been approved.
-
DISCARDED
: You've abandon this version of their registration to start over with a new version.
-
DENIED
: You must fix your registration and resubmit it.
-
REVOKED
: Your previously approved registration has been revoked.
-
ARCHIVED
: Your previously approved registration version moves into this status when a more recently submitted version is approved.
"
+ }
+ },
+ "RegistrationVersionStatusHistory": {
+ "base": "The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
",
+ "refs": {
+ "CreateRegistrationVersionResult$RegistrationVersionStatusHistory": "A RegistrationVersionStatusHistory object that contains timestamps for the registration.
",
+ "DiscardRegistrationVersionResult$RegistrationVersionStatusHistory": "The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
",
+ "RegistrationVersionInformation$RegistrationVersionStatusHistory": "The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
",
+ "SubmitRegistrationVersionResult$RegistrationVersionStatusHistory": "The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
"
+ }
+ },
+ "ReleasePhoneNumberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ReleasePhoneNumberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ReleaseSenderIdRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ReleaseSenderIdResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RequestPhoneNumberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RequestPhoneNumberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RequestSenderIdRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RequestSenderIdResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RequestableNumberType": {
+ "base": null,
+ "refs": {
+ "RequestPhoneNumberRequest$NumberType": "The type of phone number to request.
",
+ "RequestPhoneNumberResult$NumberType": "The type of number that was released.
"
+ }
+ },
+ "ResourceIdOrArn": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationAssociationRequest$ResourceId": "The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
"
+ }
+ },
+ "ResourceNotFoundException": {
+ "base": "A requested resource couldn't be found.
",
+ "refs": {
+ }
+ },
+ "ResourceType": {
+ "base": null,
+ "refs": {
+ "ConflictException$ResourceType": "The type of resource that caused the exception.
",
+ "ResourceNotFoundException$ResourceType": "The type of resource that caused the exception.
"
+ }
+ },
+ "SectionPath": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationFieldDefinitionsRequest$SectionPath": "The path to the section of the registration.
",
+ "DescribeRegistrationFieldValuesRequest$SectionPath": "The path to the section of the registration.
",
+ "RegistrationFieldDefinition$SectionPath": "The section path of the field.
",
+ "RegistrationSectionDefinition$SectionPath": "The path to the section of the registration.
",
+ "SectionPathList$member": null
+ }
+ },
+ "SectionPathList": {
+ "base": null,
+ "refs": {
+ "DescribeRegistrationSectionDefinitionsRequest$SectionPaths": "An array of paths for the registration form section.
"
+ }
+ },
+ "SelectChoice": {
+ "base": null,
+ "refs": {
+ "SelectChoiceList$member": null
+ }
+ },
+ "SelectChoiceList": {
+ "base": null,
+ "refs": {
+ "DeleteRegistrationFieldValueResult$SelectChoices": "An array of values for the form field.
",
+ "PutRegistrationFieldValueRequest$SelectChoices": "An array of values for the form field.
",
+ "PutRegistrationFieldValueResult$SelectChoices": "An array of values for the form field.
",
+ "RegistrationFieldValueInformation$SelectChoices": "An array of values for the form field.
"
+ }
+ },
+ "SelectOptionDescription": {
+ "base": "A description of each select option.
",
+ "refs": {
+ "SelectOptionDescriptionsList$member": null
+ }
+ },
+ "SelectOptionDescriptionsList": {
+ "base": null,
+ "refs": {
+ "RegistrationFieldDisplayHints$SelectOptionDescriptions": "An array of SelectOptionDescription objects.
"
+ }
+ },
+ "SelectValidation": {
+ "base": "Validation rules for a select field.
",
+ "refs": {
+ "RegistrationFieldDefinition$SelectValidation": "The validation rules for a select field.
"
+ }
+ },
+ "SendDestinationNumberVerificationCodeRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SendDestinationNumberVerificationCodeResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SendTextMessageRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SendTextMessageResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SendVoiceMessageRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SendVoiceMessageResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SenderId": {
+ "base": null,
+ "refs": {
+ "ConfigurationSetInformation$DefaultSenderId": "The default sender ID used by the ConfigurationSet.
",
+ "DeleteConfigurationSetResult$DefaultSenderId": "The default Sender ID of the configuration set that was deleted.
",
+ "DeleteDefaultSenderIdResult$SenderId": "The current sender ID for the configuration set.
",
+ "ReleaseSenderIdResult$SenderId": "The sender ID that was released.
",
+ "RequestSenderIdRequest$SenderId": "The sender ID string to request.
",
+ "RequestSenderIdResult$SenderId": "The sender ID that was requested.
",
+ "SenderIdInformation$SenderId": "The alphanumeric sender ID in a specific country that you'd like to describe.
",
+ "SetDefaultSenderIdRequest$SenderId": "The current sender ID for the configuration set. When sending a text message to a destination country which supports SenderIds, the default sender ID on the configuration set specified on SendTextMessage will be used if no dedicated origination phone numbers or registered SenderIds are available in your account, instead of a generic sender ID, such as 'NOTICE'.
",
+ "SetDefaultSenderIdResult$SenderId": "The default sender ID to set for the ConfigurationSet.
",
+ "UpdateSenderIdResult$SenderId": "The sender ID that was updated.
"
+ }
+ },
+ "SenderIdAndCountry": {
+ "base": " The alphanumeric sender ID in a specific country that you want to describe. For more information on sender IDs see Requesting sender IDs for SMS messaging with Amazon Pinpoint in the Amazon Pinpoint User Guide.
",
+ "refs": {
+ "SenderIdList$member": null
+ }
+ },
+ "SenderIdFilter": {
+ "base": "The information for a sender ID that meets a specified criteria.
",
+ "refs": {
+ "SenderIdFilterList$member": null
+ }
+ },
+ "SenderIdFilterList": {
+ "base": null,
+ "refs": {
+ "DescribeSenderIdsRequest$Filters": "An array of SenderIdFilter objects to filter the results.
"
+ }
+ },
+ "SenderIdFilterName": {
+ "base": null,
+ "refs": {
+ "SenderIdFilter$Name": "The name of the attribute to filter on.
"
+ }
+ },
+ "SenderIdInformation": {
+ "base": "The information for all SenderIds in an Amazon Web Services account.
",
+ "refs": {
+ "SenderIdInformationList$member": null
+ }
+ },
+ "SenderIdInformationList": {
+ "base": null,
+ "refs": {
+ "DescribeSenderIdsResult$SenderIds": "An array of SernderIdInformation objects that contain the details for the requested SenderIds.
"
+ }
+ },
+ "SenderIdList": {
+ "base": null,
+ "refs": {
+ "DescribeSenderIdsRequest$SenderIds": "An array of SenderIdAndCountry objects to search for.
"
+ }
+ },
+ "SenderIdOrArn": {
+ "base": null,
+ "refs": {
+ "ReleaseSenderIdRequest$SenderId": "The sender ID to release.
",
+ "SenderIdAndCountry$SenderId": "The unique identifier of the sender.
",
+ "UpdateSenderIdRequest$SenderId": "The sender ID to update.
"
+ }
+ },
+ "ServiceQuotaExceededException": {
+ "base": "The request would cause a service quota to be exceeded.
",
+ "refs": {
+ }
+ },
+ "ServiceQuotaExceededExceptionReason": {
+ "base": null,
+ "refs": {
+ "ServiceQuotaExceededException$Reason": "The reason for the exception.
"
+ }
+ },
+ "SetDefaultMessageTypeRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SetDefaultMessageTypeResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SetDefaultSenderIdRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SetDefaultSenderIdResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SetTextMessageSpendLimitOverrideRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SetTextMessageSpendLimitOverrideResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SetVoiceMessageSpendLimitOverrideRequest": {
"base": null,
"refs": {
}
@@ -1378,6 +2191,19 @@
"CreateOptOutListResult$OptOutListArn": "The Amazon Resource Name (ARN) for the OptOutList.
",
"CreatePoolResult$PoolArn": "The Amazon Resource Name (ARN) for the pool.
",
"CreatePoolResult$PoolId": "The unique identifier for the pool.
",
+ "CreateRegistrationAssociationResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "CreateRegistrationAssociationResult$RegistrationId": "The unique identifier for the registration.
",
+ "CreateRegistrationAssociationResult$ResourceArn": "The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.
",
+ "CreateRegistrationAssociationResult$ResourceId": "The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
",
+ "CreateRegistrationAssociationResult$ResourceType": "The registration type or origination identity type.
",
+ "CreateRegistrationAttachmentResult$RegistrationAttachmentArn": "The Amazon Resource Name (ARN) for the registration attachment.
",
+ "CreateRegistrationAttachmentResult$RegistrationAttachmentId": "The unique identifier for the registration attachment.
",
+ "CreateRegistrationResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "CreateRegistrationResult$RegistrationId": "The unique identifier for the registration.
",
+ "CreateRegistrationVersionResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "CreateRegistrationVersionResult$RegistrationId": "The unique identifier for the registration.
",
+ "CreateVerifiedDestinationNumberResult$VerifiedDestinationNumberArn": "The Amazon Resource Name (ARN) for the verified destination phone number.
",
+ "CreateVerifiedDestinationNumberResult$VerifiedDestinationNumberId": "The unique identifier for the verified destination phone number.
",
"DeleteConfigurationSetResult$ConfigurationSetArn": "The Amazon Resource Name (ARN) of the deleted configuration set.
",
"DeleteDefaultMessageTypeResult$ConfigurationSetArn": "The Amazon Resource Name (ARN) of the configuration set.
",
"DeleteDefaultSenderIdResult$ConfigurationSetArn": "The Amazon Resource Name (ARN) of the configuration set.
",
@@ -1388,17 +2214,34 @@
"DeleteOptedOutNumberResult$OptOutListArn": "The OptOutListArn that the phone number was removed from.
",
"DeletePoolResult$PoolArn": "The Amazon Resource Name (ARN) of the pool that was deleted.
",
"DeletePoolResult$PoolId": "The PoolId of the pool that was deleted.
",
+ "DeleteRegistrationAttachmentResult$RegistrationAttachmentArn": "The Amazon Resource Name (ARN) for the registration attachment.
",
+ "DeleteRegistrationAttachmentResult$RegistrationAttachmentId": "The unique identifier for the registration attachment.
",
+ "DeleteRegistrationFieldValueResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "DeleteRegistrationFieldValueResult$RegistrationId": "The unique identifier for the registration.
",
+ "DeleteRegistrationFieldValueResult$RegistrationAttachmentId": "The unique identifier for the registration attachment.
",
+ "DeleteRegistrationResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "DeleteRegistrationResult$RegistrationId": "The unique identifier for the registration.
",
+ "DeleteVerifiedDestinationNumberResult$VerifiedDestinationNumberArn": "The Amazon Resource Name (ARN) for the verified destination phone number.
",
+ "DeleteVerifiedDestinationNumberResult$VerifiedDestinationNumberId": "The unique identifier for the verified destination phone number.
",
"DescribeKeywordsResult$OriginationIdentityArn": "The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.
",
"DescribeKeywordsResult$OriginationIdentity": "The PhoneNumberId or PoolId that is associated with the OriginationIdentity.
",
"DescribeOptedOutNumbersResult$OptOutListArn": "The Amazon Resource Name (ARN) of the OptOutList.
",
+ "DescribeRegistrationFieldValuesResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "DescribeRegistrationFieldValuesResult$RegistrationId": "The unique identifier for the registration.
",
+ "DescribeRegistrationVersionsResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "DescribeRegistrationVersionsResult$RegistrationId": "The unique identifier for the registration.
",
"DisassociateOriginationIdentityResult$PoolArn": "The Amazon Resource Name (ARN) of the pool.
",
"DisassociateOriginationIdentityResult$PoolId": "The PoolId of the pool no longer associated with the origination identity.
",
"DisassociateOriginationIdentityResult$OriginationIdentityArn": "The PhoneNumberArn or SenderIdArn of the origination identity.
",
"DisassociateOriginationIdentityResult$OriginationIdentity": "The PhoneNumberId or SenderId of the origination identity.
",
+ "DiscardRegistrationVersionResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "DiscardRegistrationVersionResult$RegistrationId": "The unique identifier for the registration.
",
"InternalServerException$Message": null,
"InternalServerException$RequestId": "The unique identifier of the request.
",
"ListPoolOriginationIdentitiesResult$PoolArn": "The Amazon Resource Name (ARN) for the pool.
",
"ListPoolOriginationIdentitiesResult$PoolId": "The unique PoolId of the pool.
",
+ "ListRegistrationAssociationsResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "ListRegistrationAssociationsResult$RegistrationId": "The unique identifier for the registration.
",
"OptOutListInformation$OptOutListArn": "The Amazon Resource Name (ARN) of the OptOutList.
",
"OriginationIdentityMetadata$OriginationIdentityArn": "The Amazon Resource Name (ARN) associated with the origination identity.
",
"OriginationIdentityMetadata$OriginationIdentity": "The unique identifier of the origination identity.
",
@@ -1406,37 +2249,134 @@
"PhoneNumberInformation$PhoneNumberId": "The unique identifier for the phone number.
",
"PhoneNumberInformation$MonthlyLeasingPrice": "The price, in US dollars, to lease the phone number.
",
"PhoneNumberInformation$PoolId": "The unique identifier of the pool associated with the phone number.
",
+ "PhoneNumberInformation$RegistrationId": "The unique identifier for the registration.
",
"PoolInformation$PoolArn": "The Amazon Resource Name (ARN) for the pool.
",
"PoolInformation$PoolId": "The unique identifier for the pool.
",
"PutKeywordResult$OriginationIdentityArn": "The PhoneNumberArn or PoolArn that the keyword was associated with.
",
"PutKeywordResult$OriginationIdentity": "The PhoneNumberId or PoolId that the keyword was associated with.
",
"PutOptedOutNumberResult$OptOutListArn": "The OptOutListArn that the phone number was removed from.
",
+ "PutRegistrationFieldValueResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "PutRegistrationFieldValueResult$RegistrationId": "The unique identifier for the registration.
",
+ "PutRegistrationFieldValueResult$RegistrationAttachmentId": "The unique identifier for the registration attachment.
",
+ "RegistrationAssociationMetadata$ResourceArn": "The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.
",
+ "RegistrationAssociationMetadata$ResourceId": "The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.
",
+ "RegistrationAssociationMetadata$ResourceType": "The origination identity type.
",
+ "RegistrationAttachmentsInformation$RegistrationAttachmentArn": "The Amazon Resource Name (ARN) for the registration attachment.
",
+ "RegistrationAttachmentsInformation$RegistrationAttachmentId": "The unique identifier for the registration attachment.
",
+ "RegistrationDeniedReasonInformation$Reason": "The reason a registration was rejected.
",
+ "RegistrationDeniedReasonInformation$ShortDescription": "A short description of the rejection reason.
",
+ "RegistrationDeniedReasonInformation$LongDescription": "A long description of the rejection reason.
",
+ "RegistrationDeniedReasonInformation$DocumentationTitle": "The title of the document.
",
+ "RegistrationDeniedReasonInformation$DocumentationLink": "The link to the document.
",
+ "RegistrationFieldDisplayHints$Title": "The title of the display hint.
",
+ "RegistrationFieldDisplayHints$ShortDescription": "A short description of the display hint.
",
+ "RegistrationFieldDisplayHints$LongDescription": "A full description of the display hint.
",
+ "RegistrationFieldDisplayHints$DocumentationTitle": "The title of the document the display hint is associated with.
",
+ "RegistrationFieldDisplayHints$DocumentationLink": "The link to the document the display hint is associated with.
",
+ "RegistrationFieldDisplayHints$TextValidationDescription": "The validation rules for the text field.
",
+ "RegistrationFieldDisplayHints$ExampleTextValue": "Example text of what the value of a field should contain.
",
+ "RegistrationFieldValueInformation$DeniedReason": "A description of why the registration was denied.
",
+ "RegistrationInformation$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "RegistrationInformation$RegistrationId": "The unique identifier for the registration.
",
+ "RegistrationSectionDisplayHints$Title": "The title of the display hint.
",
+ "RegistrationSectionDisplayHints$ShortDescription": "A short description of the display hint.
",
+ "RegistrationSectionDisplayHints$LongDescription": "A full description of the display hint.
",
+ "RegistrationSectionDisplayHints$DocumentationTitle": "The title of the document the display hint is associated with.
",
+ "RegistrationSectionDisplayHints$DocumentationLink": "The link to the document the display hint is associated with.
",
+ "RegistrationTypeDisplayHints$Title": "The title of the display hint.
",
+ "RegistrationTypeDisplayHints$ShortDescription": "A short description of the display hint.
",
+ "RegistrationTypeDisplayHints$LongDescription": "A full description of the display hint.
",
+ "RegistrationTypeDisplayHints$DocumentationTitle": "The title of the document the display hint is associated with.
",
+ "RegistrationTypeDisplayHints$DocumentationLink": "The link to the document the display hint is associated with.
",
"ReleasePhoneNumberResult$PhoneNumberArn": "The PhoneNumberArn of the phone number that was released.
",
"ReleasePhoneNumberResult$PhoneNumberId": "The PhoneNumberId of the phone number that was released.
",
"ReleasePhoneNumberResult$MonthlyLeasingPrice": "The monthly price of the phone number, in US dollars.
",
+ "ReleasePhoneNumberResult$RegistrationId": "The unique identifier for the registration.
",
+ "ReleaseSenderIdResult$SenderIdArn": "The Amazon Resource Name (ARN) associated with the SenderId.
",
+ "ReleaseSenderIdResult$MonthlyLeasingPrice": "The monthly price, in US dollars, to lease the sender ID.
",
+ "ReleaseSenderIdResult$RegistrationId": "The unique identifier for the registration.
",
"RequestPhoneNumberResult$PhoneNumberArn": "The Amazon Resource Name (ARN) of the requested phone number.
",
"RequestPhoneNumberResult$PhoneNumberId": "The unique identifier of the new phone number.
",
"RequestPhoneNumberResult$MonthlyLeasingPrice": "The monthly price, in US dollars, to lease the phone number.
",
"RequestPhoneNumberResult$PoolId": "The unique identifier of the pool associated with the phone number
",
+ "RequestPhoneNumberResult$RegistrationId": "The unique identifier for the registration.
",
+ "RequestSenderIdResult$SenderIdArn": "The Amazon Resource Name (ARN) associated with the SenderId.
",
+ "RequestSenderIdResult$MonthlyLeasingPrice": "The monthly price, in US dollars, to lease the sender ID.
",
"ResourceNotFoundException$Message": null,
"ResourceNotFoundException$ResourceId": "The unique identifier of the resource.
",
+ "SelectOptionDescription$Option": "The value of the option.
",
+ "SelectOptionDescription$Title": "The title of the select option.
",
+ "SelectOptionDescription$Description": "A description of the option meaning.
",
+ "SendDestinationNumberVerificationCodeResult$MessageId": "The unique identifier for the message.
",
"SendTextMessageResult$MessageId": "The unique identifier for the message.
",
"SendVoiceMessageResult$MessageId": "The unique identifier for the message.
",
"SenderIdInformation$SenderIdArn": "The Amazon Resource Name (ARN) associated with the SenderId.
",
"SenderIdInformation$MonthlyLeasingPrice": "The monthly leasing price, in US dollars.
",
+ "SenderIdInformation$RegistrationId": "The unique identifier for the registration.
",
"ServiceQuotaExceededException$Message": null,
"SetDefaultMessageTypeResult$ConfigurationSetArn": "The Amazon Resource Name (ARN) of the updated configuration set.
",
"SetDefaultSenderIdResult$ConfigurationSetArn": "The Amazon Resource Name (ARN) of the updated configuration set.
",
+ "StringList$member": null,
+ "StringMap$key": null,
+ "StringMap$value": null,
+ "SubmitRegistrationVersionResult$RegistrationArn": "The Amazon Resource Name (ARN) for the registration.
",
+ "SubmitRegistrationVersionResult$RegistrationId": "The unique identifier for the registration.
",
+ "SupportedAssociation$ResourceType": "Defines the behavior of when an origination identity and registration can be associated with each other.
",
+ "TextValidation$Pattern": "The regular expression used to validate the text field.
",
"ThrottlingException$Message": null,
"UpdateEventDestinationResult$ConfigurationSetArn": "The Amazon Resource Name (ARN) for the ConfigurationSet that was updated.
",
"UpdatePhoneNumberResult$PhoneNumberArn": "The Amazon Resource Name (ARN) of the updated phone number.
",
"UpdatePhoneNumberResult$PhoneNumberId": "The unique identifier of the phone number.
",
"UpdatePhoneNumberResult$MonthlyLeasingPrice": "The monthly leasing price of the phone number, in US dollars.
",
+ "UpdatePhoneNumberResult$RegistrationId": "The unique identifier for the registration.
",
"UpdatePoolResult$PoolArn": "The ARN of the pool.
",
"UpdatePoolResult$PoolId": "The unique identifier of the pool.
",
+ "UpdateSenderIdResult$SenderIdArn": "The Amazon Resource Name (ARN) associated with the SenderId.
",
+ "UpdateSenderIdResult$MonthlyLeasingPrice": "The monthly price, in US dollars, to lease the sender ID.
",
+ "UpdateSenderIdResult$RegistrationId": "The unique identifier for the registration.
",
"ValidationException$Message": null,
"ValidationExceptionField$Name": "The name of the field.
",
- "ValidationExceptionField$Message": "The message associated with the validation exception with information to help determine its cause.
"
+ "ValidationExceptionField$Message": "The message associated with the validation exception with information to help determine its cause.
",
+ "VerifiedDestinationNumberInformation$VerifiedDestinationNumberArn": "The Amazon Resource Name (ARN) for the verified destination phone number.
",
+ "VerifiedDestinationNumberInformation$VerifiedDestinationNumberId": "The unique identifier for the verified destination phone number.
",
+ "VerifyDestinationNumberResult$VerifiedDestinationNumberArn": "The Amazon Resource Name (ARN) for the verified destination phone number.
",
+ "VerifyDestinationNumberResult$VerifiedDestinationNumberId": "The unique identifier for the verified destination phone number.
"
+ }
+ },
+ "StringList": {
+ "base": null,
+ "refs": {
+ "SelectValidation$Options": "An array of strings for the possible selection options.
"
+ }
+ },
+ "StringMap": {
+ "base": null,
+ "refs": {
+ "CreateRegistrationResult$AdditionalAttributes": "Metadata about a given registration which is specific to that registration type.
",
+ "DeleteRegistrationResult$AdditionalAttributes": "Metadata about a given registration which is specific to that registration type.
",
+ "RegistrationInformation$AdditionalAttributes": "Metadata about a given registration which is specific to that registration type.
"
+ }
+ },
+ "SubmitRegistrationVersionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SubmitRegistrationVersionResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SupportedAssociation": {
+ "base": "The processing rules for when a registration can be associated with an origination identity and disassociated from an origination identity.
",
+ "refs": {
+ "SupportedAssociationList$member": null
+ }
+ },
+ "SupportedAssociationList": {
+ "base": null,
+ "refs": {
+ "RegistrationTypeDefinition$SupportedAssociations": "The supported association behavior for the registration type.
"
}
},
"Tag": {
@@ -1468,9 +2408,17 @@
"CreateOptOutListResult$Tags": "An array of tags (key and value pairs) associated with the new OptOutList.
",
"CreatePoolRequest$Tags": "An array of tags (key and value pairs) associated with the pool.
",
"CreatePoolResult$Tags": "An array of tags (key and value pairs) associated with the pool.
",
+ "CreateRegistrationAttachmentRequest$Tags": "An array of tags (key and value pairs) to associate with the registration attachment.
",
+ "CreateRegistrationAttachmentResult$Tags": "An array of tags (key and value pairs) to associate with the registration attachment.
",
+ "CreateRegistrationRequest$Tags": "An array of tags (key and value pairs) to associate with the registration.
",
+ "CreateRegistrationResult$Tags": "An array of tags (key and value pairs) to associate with the registration.
",
+ "CreateVerifiedDestinationNumberRequest$Tags": "An array of tags (key and value pairs) to associate with the destination number.
",
+ "CreateVerifiedDestinationNumberResult$Tags": "An array of tags (key and value pairs) to associate with the destination number.
",
"ListTagsForResourceResult$Tags": "An array of key and value pair tags that are associated with the resource.
",
"RequestPhoneNumberRequest$Tags": "An array of tags (key and value pairs) associate with the requested phone number.
",
- "RequestPhoneNumberResult$Tags": "An array of key and value pair tags that are associated with the phone number.
"
+ "RequestPhoneNumberResult$Tags": "An array of key and value pair tags that are associated with the phone number.
",
+ "RequestSenderIdRequest$Tags": "An array of tags (key and value pairs) to associate with the sender ID.
",
+ "RequestSenderIdResult$Tags": "An array of tags (key and value pairs) to associate with the sender ID.
"
}
},
"TagResourceRequest": {
@@ -1501,6 +2449,21 @@
"SendTextMessageRequest$OriginationIdentity": "The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
"
}
},
+ "TextValidation": {
+ "base": "Validation rules for a text field.
",
+ "refs": {
+ "RegistrationFieldDefinition$TextValidation": "The validation rules for a text field.
"
+ }
+ },
+ "TextValue": {
+ "base": null,
+ "refs": {
+ "DeleteRegistrationFieldValueResult$TextValue": "The text data for a free form field.
",
+ "PutRegistrationFieldValueRequest$TextValue": "The text data for a free form field.
",
+ "PutRegistrationFieldValueResult$TextValue": "The text data for a free form field.
",
+ "RegistrationFieldValueInformation$TextValue": "The text data for a free form field.
"
+ }
+ },
"ThrottlingException": {
"base": "An error that occurred because too many requests were sent during a certain amount of time.
",
"refs": {
@@ -1520,19 +2483,37 @@
"CreateConfigurationSetResult$CreatedTimestamp": "The time when the configuration set was created, in UNIX epoch time format.
",
"CreateOptOutListResult$CreatedTimestamp": "The time when the pool was created, in UNIX epoch time format.
",
"CreatePoolResult$CreatedTimestamp": "The time when the pool was created, in UNIX epoch time format.
",
+ "CreateRegistrationAttachmentResult$CreatedTimestamp": "The time when the registration attachment was created, in UNIX epoch time format.
",
+ "CreateRegistrationResult$CreatedTimestamp": "The time when the registration was created, in UNIX epoch time format.
",
+ "CreateVerifiedDestinationNumberResult$CreatedTimestamp": "The time when the verified phone number was created, in UNIX epoch time format.
",
"DeleteConfigurationSetResult$CreatedTimestamp": "The time that the deleted configuration set was created in UNIX epoch time format.
",
"DeleteOptOutListResult$CreatedTimestamp": "The time when the OptOutList was created, in UNIX epoch time format.
",
"DeleteOptedOutNumberResult$OptedOutTimestamp": "The time that the number was removed at, in UNIX epoch time format.
",
"DeletePoolResult$CreatedTimestamp": "The time when the pool was created, in UNIX epoch time format.
",
+ "DeleteRegistrationAttachmentResult$CreatedTimestamp": "The time when the registration attachment was created, in UNIX epoch time format.
",
+ "DeleteRegistrationResult$CreatedTimestamp": "The time when the registration was created, in UNIX epoch time format.
",
+ "DeleteVerifiedDestinationNumberResult$CreatedTimestamp": "The time when the destination phone number was created, in UNIX epoch time format.
",
"OptOutListInformation$CreatedTimestamp": "The time when the OutOutList was created, in UNIX epoch time format.
",
"OptedOutNumberInformation$OptedOutTimestamp": "The time that the op tout occurred, in UNIX epoch time format.
",
"PhoneNumberInformation$CreatedTimestamp": "The time when the phone number was created, in UNIX epoch time format.
",
"PoolInformation$CreatedTimestamp": "The time when the pool was created, in UNIX epoch time format.
",
"PutOptedOutNumberResult$OptedOutTimestamp": "The time that the phone number was added to the OptOutList, in UNIX epoch time format.
",
+ "RegistrationAttachmentsInformation$CreatedTimestamp": "The time when the registration attachment was created, in UNIX epoch time format.
",
+ "RegistrationInformation$CreatedTimestamp": "The time when the registration was created, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$DraftTimestamp": "The time when the registration was in the draft state, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$SubmittedTimestamp": "The time when the registration was in the submitted state, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$ReviewingTimestamp": "The time when the registration was in the reviewing state, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$ApprovedTimestamp": "The time when the registration was in the approved state, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$DiscardedTimestamp": "The time when the registration was in the discarded state, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$DeniedTimestamp": "The time when the registration was in the denied state, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$RevokedTimestamp": "The time when the registration was in the revoked state, in UNIX epoch time format.
",
+ "RegistrationVersionStatusHistory$ArchivedTimestamp": "The time when the registration was in the archived state, in UNIX epoch time format.
",
"ReleasePhoneNumberResult$CreatedTimestamp": "The time when the phone number was created, in UNIX epoch time format.
",
"RequestPhoneNumberResult$CreatedTimestamp": "The time when the phone number was created, in UNIX epoch time format.
",
"UpdatePhoneNumberResult$CreatedTimestamp": "The time when the phone number was created, in UNIX epoch time format.
",
- "UpdatePoolResult$CreatedTimestamp": "The time when the pool was created, in UNIX epoch time format.
"
+ "UpdatePoolResult$CreatedTimestamp": "The time when the pool was created, in UNIX epoch time format.
",
+ "VerifiedDestinationNumberInformation$CreatedTimestamp": "The time when the destination phone number was created, in UNIX epoch time format.
",
+ "VerifyDestinationNumberResult$CreatedTimestamp": "The time when the destination phone number was created, in UNIX epoch time format.
"
}
},
"TwoWayChannelArn": {
@@ -1590,6 +2571,16 @@
"refs": {
}
},
+ "UpdateSenderIdRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSenderIdResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"ValidationException": {
"base": "A validation exception for a field.
",
"refs": {
@@ -1613,6 +2604,87 @@
"ValidationException$Reason": "The reason for the exception.
"
}
},
+ "VerificationChannel": {
+ "base": null,
+ "refs": {
+ "SendDestinationNumberVerificationCodeRequest$VerificationChannel": "Choose to send the verification code as an SMS or voice message.
"
+ }
+ },
+ "VerificationCode": {
+ "base": null,
+ "refs": {
+ "VerifyDestinationNumberRequest$VerificationCode": "The verification code that was received by the verified destination phone number.
"
+ }
+ },
+ "VerificationMessageOriginationIdentity": {
+ "base": null,
+ "refs": {
+ "SendDestinationNumberVerificationCodeRequest$OriginationIdentity": "The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
"
+ }
+ },
+ "VerificationStatus": {
+ "base": null,
+ "refs": {
+ "CreateVerifiedDestinationNumberResult$Status": "The status of the verified destination phone number.
",
+ "VerifiedDestinationNumberInformation$Status": "The status of the verified destination phone number.
",
+ "VerifyDestinationNumberResult$Status": "The status for being able to send messages to the phone number.
"
+ }
+ },
+ "VerifiedDestinationNumberFilter": {
+ "base": "The filter definition for filtering verified destination phone numbers that meets a specified criteria.
",
+ "refs": {
+ "VerifiedDestinationNumberFilterList$member": null
+ }
+ },
+ "VerifiedDestinationNumberFilterList": {
+ "base": null,
+ "refs": {
+ "DescribeVerifiedDestinationNumbersRequest$Filters": "An array of VerifiedDestinationNumberFilter objects to filter the results.
"
+ }
+ },
+ "VerifiedDestinationNumberFilterName": {
+ "base": null,
+ "refs": {
+ "VerifiedDestinationNumberFilter$Name": "The name of the attribute to filter on.
"
+ }
+ },
+ "VerifiedDestinationNumberIdList": {
+ "base": null,
+ "refs": {
+ "DescribeVerifiedDestinationNumbersRequest$VerifiedDestinationNumberIds": "An array of VerifiedDestinationNumberid to retreive.
"
+ }
+ },
+ "VerifiedDestinationNumberIdOrArn": {
+ "base": null,
+ "refs": {
+ "DeleteVerifiedDestinationNumberRequest$VerifiedDestinationNumberId": "The unique identifier for the verified destination phone number.
",
+ "SendDestinationNumberVerificationCodeRequest$VerifiedDestinationNumberId": "The unique identifier for the verified destination phone number.
",
+ "VerifiedDestinationNumberIdList$member": null,
+ "VerifyDestinationNumberRequest$VerifiedDestinationNumberId": "The unique identifier for the verififed destination phone number.
"
+ }
+ },
+ "VerifiedDestinationNumberInformation": {
+ "base": "Provides information about the requested verified destintion phone number.
",
+ "refs": {
+ "VerifiedDestinationNumberInformationList$member": null
+ }
+ },
+ "VerifiedDestinationNumberInformationList": {
+ "base": null,
+ "refs": {
+ "DescribeVerifiedDestinationNumbersResult$VerifiedDestinationNumbers": "An array of VerifiedDestinationNumberInformation objects
"
+ }
+ },
+ "VerifyDestinationNumberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "VerifyDestinationNumberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"VoiceId": {
"base": null,
"refs": {
diff --git a/models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-rule-set-1.json b/models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-rule-set-1.json
new file mode 100644
index 00000000000..a04c048b07c
--- /dev/null
+++ b/models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-rule-set-1.json
@@ -0,0 +1,314 @@
+{
+ "version": "1.0",
+ "parameters": {
+ "Region": {
+ "builtIn": "AWS::Region",
+ "required": false,
+ "documentation": "The AWS region used to dispatch the request.",
+ "type": "String"
+ },
+ "UseDualStack": {
+ "builtIn": "AWS::UseDualStack",
+ "required": true,
+ "default": false,
+ "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
+ "type": "Boolean"
+ },
+ "UseFIPS": {
+ "builtIn": "AWS::UseFIPS",
+ "required": true,
+ "default": false,
+ "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
+ "type": "Boolean"
+ },
+ "Endpoint": {
+ "builtIn": "SDK::Endpoint",
+ "required": false,
+ "documentation": "Override the endpoint used to send this request",
+ "type": "String"
+ }
+ },
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Endpoint"
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "aws.partition",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://sms-voice-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://sms-voice-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://sms-voice.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://sms-voice.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-tests-1.json b/models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-tests-1.json
new file mode 100644
index 00000000000..8f3ac65e876
--- /dev/null
+++ b/models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-tests-1.json
@@ -0,0 +1,444 @@
+{
+ "testCases": [
+ {
+ "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.ap-northeast-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "ap-northeast-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.ap-south-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "ap-south-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.ap-southeast-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "ap-southeast-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.ap-southeast-2.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "ap-southeast-2",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.ca-central-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "ca-central-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.eu-central-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "eu-central-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.eu-west-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "eu-west-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.eu-west-2.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "eu-west-2",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-west-2.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-west-2",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "Region": "cn-north-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-gov-west-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-west-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "Region": "us-gov-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "Region": "us-iso-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice-fips.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://sms-voice.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "Region": "us-isob-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips enabled and dualstack disabled",
+ "expect": {
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips disabled and dualstack enabled",
+ "expect": {
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
+ },
+ "params": {
+ "Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "Missing region",
+ "expect": {
+ "error": "Invalid Configuration: Missing Region"
+ }
+ }
+ ],
+ "version": "1.0"
+}
\ No newline at end of file
diff --git a/models/apis/pinpoint-sms-voice-v2/2022-03-31/paginators-1.json b/models/apis/pinpoint-sms-voice-v2/2022-03-31/paginators-1.json
index ecdcd93a201..6a4fd39a6e0 100644
--- a/models/apis/pinpoint-sms-voice-v2/2022-03-31/paginators-1.json
+++ b/models/apis/pinpoint-sms-voice-v2/2022-03-31/paginators-1.json
@@ -48,6 +48,48 @@
"limit_key": "MaxResults",
"result_key": "Pools"
},
+ "DescribeRegistrationAttachments": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "RegistrationAttachments"
+ },
+ "DescribeRegistrationFieldDefinitions": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "RegistrationFieldDefinitions"
+ },
+ "DescribeRegistrationFieldValues": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "RegistrationFieldValues"
+ },
+ "DescribeRegistrationSectionDefinitions": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "RegistrationSectionDefinitions"
+ },
+ "DescribeRegistrationTypeDefinitions": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "RegistrationTypeDefinitions"
+ },
+ "DescribeRegistrationVersions": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "RegistrationVersions"
+ },
+ "DescribeRegistrations": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Registrations"
+ },
"DescribeSenderIds": {
"input_token": "NextToken",
"output_token": "NextToken",
@@ -60,11 +102,23 @@
"limit_key": "MaxResults",
"result_key": "SpendLimits"
},
+ "DescribeVerifiedDestinationNumbers": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "VerifiedDestinationNumbers"
+ },
"ListPoolOriginationIdentities": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "OriginationIdentities"
+ },
+ "ListRegistrationAssociations": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "RegistrationAssociations"
}
}
}
diff --git a/models/apis/polly/2016-06-10/api-2.json b/models/apis/polly/2016-06-10/api-2.json
index 07a4f831a6f..cb5a6beed12 100644
--- a/models/apis/polly/2016-06-10/api-2.json
+++ b/models/apis/polly/2016-06-10/api-2.json
@@ -220,7 +220,8 @@
"type":"string",
"enum":[
"standard",
- "neural"
+ "neural",
+ "long-form"
]
},
"EngineList":{
diff --git a/models/apis/polly/2016-06-10/docs-2.json b/models/apis/polly/2016-06-10/docs-2.json
index 77b509b8b54..0b301a99e47 100644
--- a/models/apis/polly/2016-06-10/docs-2.json
+++ b/models/apis/polly/2016-06-10/docs-2.json
@@ -60,17 +60,17 @@
"Engine": {
"base": null,
"refs": {
- "DescribeVoicesInput$Engine": "Specifies the engine (standard
or neural
) used by Amazon Polly when processing input text for speech synthesis.
",
+ "DescribeVoicesInput$Engine": "Specifies the engine (standard
, neural
or long-form
) used by Amazon Polly when processing input text for speech synthesis.
",
"EngineList$member": null,
- "StartSpeechSynthesisTaskInput$Engine": "Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
",
- "SynthesisTask$Engine": "Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
",
- "SynthesizeSpeechInput$Engine": "Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available in standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
Type: String
Valid Values: standard
| neural
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
"
+ "StartSpeechSynthesisTaskInput$Engine": "Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
",
+ "SynthesisTask$Engine": "Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
",
+ "SynthesizeSpeechInput$Engine": "Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
long-form-only voices
When using long-form-only voices such as Danielle (en-US), this parameter is required and must be set to long-form
. If the engine is not specified, or is set to standard
or neural
, this will result in an error.
Type: String
Valid Values: standard
| neural
| long-form
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
"
}
},
"EngineList": {
"base": null,
"refs": {
- "Voice$SupportedEngines": "Specifies which engines (standard
or neural
) that are supported by a given voice.
"
+ "Voice$SupportedEngines": "Specifies which engines (standard
, neural
or long-form
) are supported by a given voice.
"
}
},
"EngineNotSupportedException": {
@@ -382,9 +382,9 @@
"SampleRate": {
"base": null,
"refs": {
- "StartSpeechSynthesisTaskInput$SampleRate": "The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\".
Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".
",
- "SynthesisTask$SampleRate": "The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\".
Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".
",
- "SynthesizeSpeechInput$SampleRate": "The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\".
Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".
"
+ "StartSpeechSynthesisTaskInput$SampleRate": "The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\". The default value for long-form voices is \"24000\".
Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".
",
+ "SynthesisTask$SampleRate": "The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\". The default value for long-form voices is \"24000\".
Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".
",
+ "SynthesizeSpeechInput$SampleRate": "The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\". The default value for long-form voices is \"24000\".
Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\".
"
}
},
"ServiceFailureException": {
diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json
index 10fca33f837..560f54c5abd 100644
--- a/models/apis/quicksight/2018-04-01/api-2.json
+++ b/models/apis/quicksight/2018-04-01/api-2.json
@@ -297,6 +297,24 @@
{"shape":"InternalFailureException"}
]
},
+ "CreateRoleMembership":{
+ "name":"CreateRoleMembership",
+ "http":{
+ "method":"POST",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members/{MemberName}"
+ },
+ "input":{"shape":"CreateRoleMembershipRequest"},
+ "output":{"shape":"CreateRoleMembershipResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"CreateTemplate":{
"name":"CreateTemplate",
"http":{
@@ -678,6 +696,42 @@
{"shape":"InternalFailureException"}
]
},
+ "DeleteRoleCustomPermission":{
+ "name":"DeleteRoleCustomPermission",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission"
+ },
+ "input":{"shape":"DeleteRoleCustomPermissionRequest"},
+ "output":{"shape":"DeleteRoleCustomPermissionResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
+ "DeleteRoleMembership":{
+ "name":"DeleteRoleMembership",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members/{MemberName}"
+ },
+ "input":{"shape":"DeleteRoleMembershipRequest"},
+ "output":{"shape":"DeleteRoleMembershipResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"DeleteTemplate":{
"name":"DeleteTemplate",
"http":{
@@ -1309,6 +1363,24 @@
{"shape":"InternalFailureException"}
]
},
+ "DescribeRoleCustomPermission":{
+ "name":"DescribeRoleCustomPermission",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission"
+ },
+ "input":{"shape":"DescribeRoleCustomPermissionRequest"},
+ "output":{"shape":"DescribeRoleCustomPermissionResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"DescribeTemplate":{
"name":"DescribeTemplate",
"http":{
@@ -1889,6 +1961,26 @@
{"shape":"InternalFailureException"}
]
},
+ "ListRoleMemberships":{
+ "name":"ListRoleMemberships",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members"
+ },
+ "input":{"shape":"ListRoleMembershipsRequest"},
+ "output":{"shape":"ListRoleMembershipsResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InvalidNextTokenException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"LimitExceededException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
@@ -2668,6 +2760,24 @@
{"shape":"InternalFailureException"}
]
},
+ "UpdateRoleCustomPermission":{
+ "name":"UpdateRoleCustomPermission",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission"
+ },
+ "input":{"shape":"UpdateRoleCustomPermissionRequest"},
+ "output":{"shape":"UpdateRoleCustomPermissionResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"UpdateTemplate":{
"name":"UpdateTemplate",
"http":{
@@ -3014,8 +3124,7 @@
"ThemeArn":{"shape":"Arn"},
"CreatedTime":{"shape":"Timestamp"},
"LastUpdatedTime":{"shape":"Timestamp"},
- "Sheets":{"shape":"SheetList"},
- "Options":{"shape":"AssetOptions"}
+ "Sheets":{"shape":"SheetList"}
}
},
"AnalysisDefaults":{
@@ -3261,7 +3370,10 @@
},
"AssetBundleExportJobAnalysisOverrideProperties":{
"type":"structure",
- "required":["Properties"],
+ "required":[
+ "Arn",
+ "Properties"
+ ],
"members":{
"Arn":{"shape":"Arn"},
"Properties":{"shape":"AssetBundleExportJobAnalysisPropertyToOverrideList"}
@@ -3285,7 +3397,10 @@
},
"AssetBundleExportJobDashboardOverrideProperties":{
"type":"structure",
- "required":["Properties"],
+ "required":[
+ "Arn",
+ "Properties"
+ ],
"members":{
"Arn":{"shape":"Arn"},
"Properties":{"shape":"AssetBundleExportJobDashboardPropertyToOverrideList"}
@@ -3309,7 +3424,10 @@
},
"AssetBundleExportJobDataSetOverrideProperties":{
"type":"structure",
- "required":["Properties"],
+ "required":[
+ "Arn",
+ "Properties"
+ ],
"members":{
"Arn":{"shape":"Arn"},
"Properties":{"shape":"AssetBundleExportJobDataSetPropertyToOverrideList"}
@@ -3333,7 +3451,10 @@
},
"AssetBundleExportJobDataSourceOverrideProperties":{
"type":"structure",
- "required":["Properties"],
+ "required":[
+ "Arn",
+ "Properties"
+ ],
"members":{
"Arn":{"shape":"Arn"},
"Properties":{"shape":"AssetBundleExportJobDataSourcePropertyToOverrideList"}
@@ -3387,7 +3508,10 @@
},
"AssetBundleExportJobRefreshScheduleOverrideProperties":{
"type":"structure",
- "required":["Properties"],
+ "required":[
+ "Arn",
+ "Properties"
+ ],
"members":{
"Arn":{"shape":"Arn"},
"Properties":{"shape":"AssetBundleExportJobRefreshSchedulePropertyToOverrideList"}
@@ -3432,7 +3556,9 @@
"CreatedTime":{"shape":"Timestamp"},
"AssetBundleExportJobId":{"shape":"ShortRestrictiveResourceId"},
"IncludeAllDependencies":{"shape":"Boolean"},
- "ExportFormat":{"shape":"AssetBundleExportFormat"}
+ "ExportFormat":{"shape":"AssetBundleExportFormat"},
+ "IncludePermissions":{"shape":"Boolean"},
+ "IncludeTags":{"shape":"Boolean"}
}
},
"AssetBundleExportJobSummaryList":{
@@ -3441,7 +3567,10 @@
},
"AssetBundleExportJobThemeOverrideProperties":{
"type":"structure",
- "required":["Properties"],
+ "required":[
+ "Arn",
+ "Properties"
+ ],
"members":{
"Arn":{"shape":"Arn"},
"Properties":{"shape":"AssetBundleExportJobThemePropertyToOverrideList"}
@@ -3465,7 +3594,10 @@
},
"AssetBundleExportJobVPCConnectionOverrideProperties":{
"type":"structure",
- "required":["Properties"],
+ "required":[
+ "Arn",
+ "Properties"
+ ],
"members":{
"Arn":{"shape":"Arn"},
"Properties":{"shape":"AssetBundleExportJobVPCConnectionPropertyToOverrideList"}
@@ -3491,6 +3623,23 @@
"max":10,
"min":1
},
+ "AssetBundleExportJobValidationStrategy":{
+ "type":"structure",
+ "members":{
+ "StrictModeForAllResources":{"shape":"Boolean"}
+ }
+ },
+ "AssetBundleExportJobWarning":{
+ "type":"structure",
+ "members":{
+ "Arn":{"shape":"Arn"},
+ "Message":{"shape":"NonEmptyString"}
+ }
+ },
+ "AssetBundleExportJobWarningList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleExportJobWarning"}
+ },
"AssetBundleImportBodyBlob":{
"type":"blob",
"max":20971520,
@@ -3518,6 +3667,40 @@
"max":50,
"min":1
},
+ "AssetBundleImportJobAnalysisOverridePermissions":{
+ "type":"structure",
+ "required":[
+ "AnalysisIds",
+ "Permissions"
+ ],
+ "members":{
+ "AnalysisIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Permissions":{"shape":"AssetBundleResourcePermissions"}
+ }
+ },
+ "AssetBundleImportJobAnalysisOverridePermissionsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobAnalysisOverridePermissions"},
+ "max":1,
+ "min":1
+ },
+ "AssetBundleImportJobAnalysisOverrideTags":{
+ "type":"structure",
+ "required":[
+ "AnalysisIds",
+ "Tags"
+ ],
+ "members":{
+ "AnalysisIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Tags":{"shape":"TagList"}
+ }
+ },
+ "AssetBundleImportJobAnalysisOverrideTagsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobAnalysisOverrideTags"},
+ "max":5,
+ "min":1
+ },
"AssetBundleImportJobDashboardOverrideParameters":{
"type":"structure",
"required":["DashboardId"],
@@ -3532,6 +3715,38 @@
"max":50,
"min":1
},
+ "AssetBundleImportJobDashboardOverridePermissions":{
+ "type":"structure",
+ "required":["DashboardIds"],
+ "members":{
+ "DashboardIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Permissions":{"shape":"AssetBundleResourcePermissions"},
+ "LinkSharingConfiguration":{"shape":"AssetBundleResourceLinkSharingConfiguration"}
+ }
+ },
+ "AssetBundleImportJobDashboardOverridePermissionsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobDashboardOverridePermissions"},
+ "max":2,
+ "min":1
+ },
+ "AssetBundleImportJobDashboardOverrideTags":{
+ "type":"structure",
+ "required":[
+ "DashboardIds",
+ "Tags"
+ ],
+ "members":{
+ "DashboardIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Tags":{"shape":"TagList"}
+ }
+ },
+ "AssetBundleImportJobDashboardOverrideTagsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobDashboardOverrideTags"},
+ "max":5,
+ "min":1
+ },
"AssetBundleImportJobDataSetOverrideParameters":{
"type":"structure",
"required":["DataSetId"],
@@ -3546,6 +3761,40 @@
"max":50,
"min":1
},
+ "AssetBundleImportJobDataSetOverridePermissions":{
+ "type":"structure",
+ "required":[
+ "DataSetIds",
+ "Permissions"
+ ],
+ "members":{
+ "DataSetIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Permissions":{"shape":"AssetBundleResourcePermissions"}
+ }
+ },
+ "AssetBundleImportJobDataSetOverridePermissionsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobDataSetOverridePermissions"},
+ "max":2,
+ "min":1
+ },
+ "AssetBundleImportJobDataSetOverrideTags":{
+ "type":"structure",
+ "required":[
+ "DataSetIds",
+ "Tags"
+ ],
+ "members":{
+ "DataSetIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Tags":{"shape":"TagList"}
+ }
+ },
+ "AssetBundleImportJobDataSetOverrideTagsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobDataSetOverrideTags"},
+ "max":5,
+ "min":1
+ },
"AssetBundleImportJobDataSourceCredentialPair":{
"type":"structure",
"required":[
@@ -3583,6 +3832,40 @@
"max":50,
"min":1
},
+ "AssetBundleImportJobDataSourceOverridePermissions":{
+ "type":"structure",
+ "required":[
+ "DataSourceIds",
+ "Permissions"
+ ],
+ "members":{
+ "DataSourceIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Permissions":{"shape":"AssetBundleResourcePermissions"}
+ }
+ },
+ "AssetBundleImportJobDataSourceOverridePermissionsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobDataSourceOverridePermissions"},
+ "max":2,
+ "min":1
+ },
+ "AssetBundleImportJobDataSourceOverrideTags":{
+ "type":"structure",
+ "required":[
+ "DataSourceIds",
+ "Tags"
+ ],
+ "members":{
+ "DataSourceIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Tags":{"shape":"TagList"}
+ }
+ },
+ "AssetBundleImportJobDataSourceOverrideTagsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobDataSourceOverrideTags"},
+ "max":5,
+ "min":1
+ },
"AssetBundleImportJobError":{
"type":"structure",
"members":{
@@ -3608,6 +3891,33 @@
"Dashboards":{"shape":"AssetBundleImportJobDashboardOverrideParametersList"}
}
},
+ "AssetBundleImportJobOverridePermissions":{
+ "type":"structure",
+ "members":{
+ "DataSources":{"shape":"AssetBundleImportJobDataSourceOverridePermissionsList"},
+ "DataSets":{"shape":"AssetBundleImportJobDataSetOverridePermissionsList"},
+ "Themes":{"shape":"AssetBundleImportJobThemeOverridePermissionsList"},
+ "Analyses":{"shape":"AssetBundleImportJobAnalysisOverridePermissionsList"},
+ "Dashboards":{"shape":"AssetBundleImportJobDashboardOverridePermissionsList"}
+ }
+ },
+ "AssetBundleImportJobOverrideTags":{
+ "type":"structure",
+ "members":{
+ "VPCConnections":{"shape":"AssetBundleImportJobVPCConnectionOverrideTagsList"},
+ "DataSources":{"shape":"AssetBundleImportJobDataSourceOverrideTagsList"},
+ "DataSets":{"shape":"AssetBundleImportJobDataSetOverrideTagsList"},
+ "Themes":{"shape":"AssetBundleImportJobThemeOverrideTagsList"},
+ "Analyses":{"shape":"AssetBundleImportJobAnalysisOverrideTagsList"},
+ "Dashboards":{"shape":"AssetBundleImportJobDashboardOverrideTagsList"}
+ }
+ },
+ "AssetBundleImportJobOverrideValidationStrategy":{
+ "type":"structure",
+ "members":{
+ "StrictModeForAllResources":{"shape":"Boolean"}
+ }
+ },
"AssetBundleImportJobRefreshScheduleOverrideParameters":{
"type":"structure",
"required":[
@@ -3672,6 +3982,40 @@
"max":50,
"min":1
},
+ "AssetBundleImportJobThemeOverridePermissions":{
+ "type":"structure",
+ "required":[
+ "ThemeIds",
+ "Permissions"
+ ],
+ "members":{
+ "ThemeIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Permissions":{"shape":"AssetBundleResourcePermissions"}
+ }
+ },
+ "AssetBundleImportJobThemeOverridePermissionsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobThemeOverridePermissions"},
+ "max":2,
+ "min":1
+ },
+ "AssetBundleImportJobThemeOverrideTags":{
+ "type":"structure",
+ "required":[
+ "ThemeIds",
+ "Tags"
+ ],
+ "members":{
+ "ThemeIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Tags":{"shape":"TagList"}
+ }
+ },
+ "AssetBundleImportJobThemeOverrideTagsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobThemeOverrideTags"},
+ "max":5,
+ "min":1
+ },
"AssetBundleImportJobVPCConnectionOverrideParameters":{
"type":"structure",
"required":["VPCConnectionId"],
@@ -3690,6 +4034,23 @@
"max":50,
"min":1
},
+ "AssetBundleImportJobVPCConnectionOverrideTags":{
+ "type":"structure",
+ "required":[
+ "VPCConnectionIds",
+ "Tags"
+ ],
+ "members":{
+ "VPCConnectionIds":{"shape":"AssetBundleRestrictiveResourceIdList"},
+ "Tags":{"shape":"TagList"}
+ }
+ },
+ "AssetBundleImportJobVPCConnectionOverrideTagsList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleImportJobVPCConnectionOverrideTags"},
+ "max":5,
+ "min":1
+ },
"AssetBundleImportSource":{
"type":"structure",
"members":{
@@ -3700,16 +4061,49 @@
"AssetBundleImportSourceDescription":{
"type":"structure",
"members":{
- "Body":{"shape":"String"},
+ "Body":{"shape":"SensitiveS3Uri"},
"S3Uri":{"shape":"S3Uri"}
}
},
+ "AssetBundlePrincipalList":{
+ "type":"list",
+ "member":{"shape":"Principal"},
+ "max":64,
+ "min":1
+ },
"AssetBundleResourceArns":{
"type":"list",
"member":{"shape":"Arn"},
"max":100,
"min":1
},
+ "AssetBundleResourceLinkSharingConfiguration":{
+ "type":"structure",
+ "members":{
+ "Permissions":{"shape":"AssetBundleResourcePermissions"}
+ }
+ },
+ "AssetBundleResourcePermissions":{
+ "type":"structure",
+ "required":[
+ "Principals",
+ "Actions"
+ ],
+ "members":{
+ "Principals":{"shape":"AssetBundlePrincipalList"},
+ "Actions":{"shape":"ActionList"}
+ }
+ },
+ "AssetBundleRestrictiveResourceId":{
+ "type":"string",
+ "pattern":"\\*|[\\w\\-]{1,2048}"
+ },
+ "AssetBundleRestrictiveResourceIdList":{
+ "type":"list",
+ "member":{"shape":"AssetBundleRestrictiveResourceId"},
+ "max":50,
+ "min":1
+ },
"AssetOptions":{
"type":"structure",
"members":{
@@ -4008,6 +4402,14 @@
"IMAGERY"
]
},
+ "BigQueryParameters":{
+ "type":"structure",
+ "required":["ProjectId"],
+ "members":{
+ "ProjectId":{"shape":"ProjectId"},
+ "DataSetRegion":{"shape":"DataSetRegion"}
+ }
+ },
"BinCountLimit":{
"type":"long",
"max":1000,
@@ -5088,7 +5490,8 @@
"ThemeArn":{"shape":"Arn"},
"Definition":{"shape":"DashboardVersionDefinition"},
"ValidationStrategy":{"shape":"ValidationStrategy"},
- "FolderArns":{"shape":"FolderArnList"}
+ "FolderArns":{"shape":"FolderArnList"},
+ "LinkSharingConfiguration":{"shape":"LinkSharingConfiguration"}
}
},
"CreateDashboardResponse":{
@@ -5486,6 +5889,47 @@
"Arn":{"shape":"Arn"}
}
},
+ "CreateRoleMembershipRequest":{
+ "type":"structure",
+ "required":[
+ "MemberName",
+ "AwsAccountId",
+ "Namespace",
+ "Role"
+ ],
+ "members":{
+ "MemberName":{
+ "shape":"GroupName",
+ "location":"uri",
+ "locationName":"MemberName"
+ },
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"uri",
+ "locationName":"Namespace"
+ },
+ "Role":{
+ "shape":"Role",
+ "location":"uri",
+ "locationName":"Role"
+ }
+ }
+ },
+ "CreateRoleMembershipResponse":{
+ "type":"structure",
+ "members":{
+ "RequestId":{"shape":"String"},
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ }
+ }
+ },
"CreateTemplateAliasRequest":{
"type":"structure",
"required":[
@@ -6107,8 +6551,7 @@
"DataSetArns":{"shape":"DataSetArnsList"},
"Description":{"shape":"VersionDescription"},
"ThemeArn":{"shape":"Arn"},
- "Sheets":{"shape":"SheetList"},
- "Options":{"shape":"AssetOptions"}
+ "Sheets":{"shape":"SheetList"}
}
},
"DashboardVersionDefinition":{
@@ -6444,6 +6887,11 @@
"RefreshConfiguration":{"shape":"RefreshConfiguration"}
}
},
+ "DataSetRegion":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
"DataSetSchema":{
"type":"structure",
"members":{
@@ -6581,7 +7029,8 @@
"ExasolParameters":{"shape":"ExasolParameters"},
"DatabricksParameters":{"shape":"DatabricksParameters"},
"StarburstParameters":{"shape":"StarburstParameters"},
- "TrinoParameters":{"shape":"TrinoParameters"}
+ "TrinoParameters":{"shape":"TrinoParameters"},
+ "BigQueryParameters":{"shape":"BigQueryParameters"}
}
},
"DataSourceParametersList":{
@@ -6652,7 +7101,10 @@
"TIMESTREAM",
"AMAZON_OPENSEARCH",
"EXASOL",
- "DATABRICKS"
+ "DATABRICKS",
+ "STARBURST",
+ "TRINO",
+ "BIGQUERY"
]
},
"Database":{
@@ -7541,6 +7993,79 @@
"Arn":{"shape":"Arn"}
}
},
+ "DeleteRoleCustomPermissionRequest":{
+ "type":"structure",
+ "required":[
+ "Role",
+ "AwsAccountId",
+ "Namespace"
+ ],
+ "members":{
+ "Role":{
+ "shape":"Role",
+ "location":"uri",
+ "locationName":"Role"
+ },
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"uri",
+ "locationName":"Namespace"
+ }
+ }
+ },
+ "DeleteRoleCustomPermissionResponse":{
+ "type":"structure",
+ "members":{
+ "RequestId":{"shape":"String"},
+ "Status":{"shape":"StatusCode"}
+ }
+ },
+ "DeleteRoleMembershipRequest":{
+ "type":"structure",
+ "required":[
+ "MemberName",
+ "Role",
+ "AwsAccountId",
+ "Namespace"
+ ],
+ "members":{
+ "MemberName":{
+ "shape":"GroupName",
+ "location":"uri",
+ "locationName":"MemberName"
+ },
+ "Role":{
+ "shape":"Role",
+ "location":"uri",
+ "locationName":"Role"
+ },
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"uri",
+ "locationName":"Namespace"
+ }
+ }
+ },
+ "DeleteRoleMembershipResponse":{
+ "type":"structure",
+ "members":{
+ "RequestId":{"shape":"String"},
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ }
+ }
+ },
"DeleteTemplateAliasRequest":{
"type":"structure",
"required":[
@@ -8065,7 +8590,7 @@
"type":"structure",
"members":{
"JobStatus":{"shape":"AssetBundleExportJobStatus"},
- "DownloadUrl":{"shape":"String"},
+ "DownloadUrl":{"shape":"SensitiveS3Uri"},
"Errors":{"shape":"AssetBundleExportJobErrorList"},
"Arn":{"shape":"Arn"},
"CreatedTime":{"shape":"Timestamp"},
@@ -8079,7 +8604,11 @@
"Status":{
"shape":"StatusCode",
"location":"statusCode"
- }
+ },
+ "IncludePermissions":{"shape":"Boolean"},
+ "IncludeTags":{"shape":"Boolean"},
+ "ValidationStrategy":{"shape":"AssetBundleExportJobValidationStrategy"},
+ "Warnings":{"shape":"AssetBundleExportJobWarningList"}
}
},
"DescribeAssetBundleImportJobRequest":{
@@ -8118,7 +8647,10 @@
"Status":{
"shape":"StatusCode",
"location":"statusCode"
- }
+ },
+ "OverridePermissions":{"shape":"AssetBundleImportJobOverridePermissions"},
+ "OverrideTags":{"shape":"AssetBundleImportJobOverrideTags"},
+ "OverrideValidationStrategy":{"shape":"AssetBundleImportJobOverrideValidationStrategy"}
}
},
"DescribeDashboardDefinitionRequest":{
@@ -8845,6 +9377,39 @@
"Arn":{"shape":"Arn"}
}
},
+ "DescribeRoleCustomPermissionRequest":{
+ "type":"structure",
+ "required":[
+ "Role",
+ "AwsAccountId",
+ "Namespace"
+ ],
+ "members":{
+ "Role":{
+ "shape":"Role",
+ "location":"uri",
+ "locationName":"Role"
+ },
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"uri",
+ "locationName":"Namespace"
+ }
+ }
+ },
+ "DescribeRoleCustomPermissionResponse":{
+ "type":"structure",
+ "members":{
+ "CustomPermissionsName":{"shape":"RoleName"},
+ "RequestId":{"shape":"String"},
+ "Status":{"shape":"StatusCode"}
+ }
+ },
"DescribeTemplateAliasRequest":{
"type":"structure",
"required":[
@@ -12551,6 +13116,54 @@
"RequestId":{"shape":"String"}
}
},
+ "ListRoleMembershipsRequest":{
+ "type":"structure",
+ "required":[
+ "Role",
+ "AwsAccountId",
+ "Namespace"
+ ],
+ "members":{
+ "Role":{
+ "shape":"Role",
+ "location":"uri",
+ "locationName":"Role"
+ },
+ "NextToken":{
+ "shape":"String",
+ "location":"querystring",
+ "locationName":"next-token"
+ },
+ "MaxResults":{
+ "shape":"MaxResults",
+ "box":true,
+ "location":"querystring",
+ "locationName":"max-results"
+ },
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"uri",
+ "locationName":"Namespace"
+ }
+ }
+ },
+ "ListRoleMembershipsResponse":{
+ "type":"structure",
+ "members":{
+ "MembersList":{"shape":"GroupsList"},
+ "NextToken":{"shape":"String"},
+ "RequestId":{"shape":"String"},
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ }
+ }
+ },
"ListTagsForResourceRequest":{
"type":"structure",
"required":["ResourceArn"],
@@ -14467,6 +15080,11 @@
"Visibility":{"shape":"Visibility"}
}
},
+ "ProjectId":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
"ProjectOperation":{
"type":"structure",
"required":["ProjectedColumns"],
@@ -15162,6 +15780,14 @@
"min":1,
"pattern":"[\\w\\-]+"
},
+ "Role":{
+ "type":"string",
+ "enum":[
+ "ADMIN",
+ "AUTHOR",
+ "READER"
+ ]
+ },
"RoleArn":{
"type":"string",
"max":2048,
@@ -16554,7 +17180,10 @@
"ResourceArns":{"shape":"AssetBundleResourceArns"},
"IncludeAllDependencies":{"shape":"Boolean"},
"ExportFormat":{"shape":"AssetBundleExportFormat"},
- "CloudFormationOverridePropertyConfiguration":{"shape":"AssetBundleCloudFormationOverridePropertyConfiguration"}
+ "CloudFormationOverridePropertyConfiguration":{"shape":"AssetBundleCloudFormationOverridePropertyConfiguration"},
+ "IncludePermissions":{"shape":"Boolean"},
+ "IncludeTags":{"shape":"Boolean"},
+ "ValidationStrategy":{"shape":"AssetBundleExportJobValidationStrategy"}
}
},
"StartAssetBundleExportJobResponse":{
@@ -16585,7 +17214,10 @@
"AssetBundleImportJobId":{"shape":"ShortRestrictiveResourceId"},
"AssetBundleImportSource":{"shape":"AssetBundleImportSource"},
"OverrideParameters":{"shape":"AssetBundleImportJobOverrideParameters"},
- "FailureAction":{"shape":"AssetBundleImportFailureAction"}
+ "FailureAction":{"shape":"AssetBundleImportFailureAction"},
+ "OverridePermissions":{"shape":"AssetBundleImportJobOverridePermissions"},
+ "OverrideTags":{"shape":"AssetBundleImportJobOverrideTags"},
+ "OverrideValidationStrategy":{"shape":"AssetBundleImportJobOverrideValidationStrategy"}
}
},
"StartAssetBundleImportJobResponse":{
@@ -17261,8 +17893,7 @@
"Description":{"shape":"VersionDescription"},
"SourceEntityArn":{"shape":"Arn"},
"ThemeArn":{"shape":"Arn"},
- "Sheets":{"shape":"SheetList"},
- "Options":{"shape":"AssetOptions"}
+ "Sheets":{"shape":"SheetList"}
}
},
"TemplateVersionDefinition":{
@@ -18833,7 +19464,7 @@
"UpdateLinkPermissionList":{
"type":"list",
"member":{"shape":"ResourcePermission"},
- "max":2
+ "max":100
},
"UpdatePublicSharingSettingsRequest":{
"type":"structure",
@@ -18895,6 +19526,40 @@
"member":{"shape":"ResourcePermission"},
"max":100
},
+ "UpdateRoleCustomPermissionRequest":{
+ "type":"structure",
+ "required":[
+ "CustomPermissionsName",
+ "Role",
+ "AwsAccountId",
+ "Namespace"
+ ],
+ "members":{
+ "CustomPermissionsName":{"shape":"RoleName"},
+ "Role":{
+ "shape":"Role",
+ "location":"uri",
+ "locationName":"Role"
+ },
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"uri",
+ "locationName":"Namespace"
+ }
+ }
+ },
+ "UpdateRoleCustomPermissionResponse":{
+ "type":"structure",
+ "members":{
+ "RequestId":{"shape":"String"},
+ "Status":{"shape":"StatusCode"}
+ }
+ },
"UpdateTemplateAliasRequest":{
"type":"structure",
"required":[
diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json
index a5357b12400..8e323781e87 100644
--- a/models/apis/quicksight/2018-04-01/docs-2.json
+++ b/models/apis/quicksight/2018-04-01/docs-2.json
@@ -17,6 +17,7 @@
"CreateIngestion": "Creates and starts a new SPICE ingestion for a dataset. You can manually refresh datasets in an Enterprise edition account 32 times in a 24-hour period. You can manually refresh datasets in a Standard edition account 8 times in a 24-hour period. Each 24-hour period is measured starting 24 hours before the current date and time.
Any ingestions operating on tagged datasets inherit the same tags automatically for use in access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using tags? in the Amazon Web Services Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.
",
"CreateNamespace": "(Enterprise edition only) Creates a new namespace for you to use with Amazon QuickSight.
A namespace allows you to isolate the Amazon QuickSight users and groups that are registered for that namespace. Users that access the namespace can share assets only with other users or groups in the same namespace. They can't see users and groups in other namespaces. You can create a namespace after your Amazon Web Services account is subscribed to Amazon QuickSight. The namespace must be unique within the Amazon Web Services account. By default, there is a limit of 100 namespaces per Amazon Web Services account. To increase your limit, create a ticket with Amazon Web Services Support.
",
"CreateRefreshSchedule": "Creates a refresh schedule for a dataset. You can create up to 5 different schedules for a single dataset.
",
+ "CreateRoleMembership": "Use CreateRoleMembership
to add an existing Amazon QuickSight group to an existing role.
",
"CreateTemplate": "Creates a template either from a TemplateDefinition
or from an existing Amazon QuickSight analysis or template. You can use the resulting template to create additional dashboards, templates, or analyses.
A template is an entity in Amazon QuickSight that encapsulates the metadata required to create an analysis and that you can use to create s dashboard. A template adds a layer of abstraction by using placeholders to replace the dataset associated with the analysis. You can use templates to create dashboards by replacing dataset placeholders with datasets that follow the same schema that was used to create the source analysis and template.
",
"CreateTemplateAlias": "Creates a template alias for a template.
",
"CreateTheme": "Creates a theme.
A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.
",
@@ -38,6 +39,8 @@
"DeleteIAMPolicyAssignment": "Deletes an existing IAM policy assignment.
",
"DeleteNamespace": "Deletes a namespace and the users and groups that are associated with the namespace. This is an asynchronous process. Assets including dashboards, analyses, datasets and data sources are not deleted. To delete these assets, you use the API operations for the relevant asset.
",
"DeleteRefreshSchedule": "Deletes a refresh schedule from a dataset.
",
+ "DeleteRoleCustomPermission": "Removes custom permissions from the role.
",
+ "DeleteRoleMembership": "Removes a group from a role.
",
"DeleteTemplate": "Deletes a template.
",
"DeleteTemplateAlias": "Deletes the item that the specified template alias points to. If you provide a specific alias, you delete the version of the template that the alias points to.
",
"DeleteTheme": "Deletes a theme.
",
@@ -75,6 +78,7 @@
"DescribeIpRestriction": "Provides a summary and status of IP rules.
",
"DescribeNamespace": "Describes the current namespace.
",
"DescribeRefreshSchedule": "Provides a summary of a refresh schedule.
",
+ "DescribeRoleCustomPermission": "Describes all custom permissions that are mapped to a role.
",
"DescribeTemplate": "Describes a template's metadata.
",
"DescribeTemplateAlias": "Describes the template alias for a template.
",
"DescribeTemplateDefinition": "Provides a detailed description of the definition of a template.
If you do not need to know details about the content of a template, for instance if you are trying to check the status of a recently created or updated template, use the DescribeTemplate
instead.
",
@@ -108,6 +112,7 @@
"ListIngestions": "Lists the history of SPICE ingestions for a dataset.
",
"ListNamespaces": "Lists the namespaces for the specified Amazon Web Services account. This operation doesn't list deleted namespaces.
",
"ListRefreshSchedules": "Lists the refresh schedules of a dataset. Each dataset can have up to 5 schedules.
",
+ "ListRoleMemberships": "Lists all groups that are associated with a role.
",
"ListTagsForResource": "Lists the tags assigned to a resource.
",
"ListTemplateAliases": "Lists all the aliases of a template.
",
"ListTemplateVersions": "Lists all the versions of the templates in the current Amazon QuickSight account.
",
@@ -152,6 +157,7 @@
"UpdateIpRestriction": "Updates the content and status of IP rules. To use this operation, you must provide the entire map of rules. You can use the DescribeIpRestriction
operation to get the current rule map.
",
"UpdatePublicSharingSettings": "Use the UpdatePublicSharingSettings
operation to turn on or turn off the public sharing settings of an Amazon QuickSight dashboard.
To use this operation, turn on session capacity pricing for your Amazon QuickSight account.
Before you can turn on public sharing on your account, make sure to give public sharing permissions to an administrative user in the Identity and Access Management (IAM) console. For more information on using IAM with Amazon QuickSight, see Using Amazon QuickSight with IAM in the Amazon QuickSight User Guide.
",
"UpdateRefreshSchedule": "Updates a refresh schedule for a dataset.
",
+ "UpdateRoleCustomPermission": "Updates the custom permissions that are associated with a role.
",
"UpdateTemplate": "Updates a template from an existing Amazon QuickSight analysis or another template.
",
"UpdateTemplateAlias": "Updates the template alias of a template.
",
"UpdateTemplatePermissions": "Updates the resource permissions for a template.
",
@@ -201,6 +207,7 @@
"ActionList": {
"base": null,
"refs": {
+ "AssetBundleResourcePermissions$Actions": "A list of IAM actions to grant permissions on.
",
"ResourcePermission$Actions": "The IAM action to grant or revoke permissions on.
"
}
},
@@ -496,6 +503,7 @@
"AssetBundleExportJobSummary$Arn": "The ARN of the export job.
",
"AssetBundleExportJobThemeOverrideProperties$Arn": "The ARN of the specific Theme
resource whose override properties are configured in this structure.
",
"AssetBundleExportJobVPCConnectionOverrideProperties$Arn": "The ARN of the specific VPCConnection
resource whose override properties are configured in this structure.
",
+ "AssetBundleExportJobWarning$Arn": "The ARN of the resource whose processing caused a warning.
",
"AssetBundleImportJobError$Arn": "The ARN of the resource whose processing caused an error.
",
"AssetBundleImportJobSummary$Arn": "The ARN of the import job.
",
"AssetBundleResourceArns$member": null,
@@ -884,6 +892,25 @@
"AssetBundleExportJobVPCConnectionOverrideProperties$Properties": "A list of VPCConnection
resource properties to generate variables for in the returned CloudFormation template.
"
}
},
+ "AssetBundleExportJobValidationStrategy": {
+ "base": "The option to relax the validation that is required to export each asset. When StrictModeForAllResource
is set to true, validation is skipped for specific UI errors.
",
+ "refs": {
+ "DescribeAssetBundleExportJobResponse$ValidationStrategy": "The validation strategy that is used to export the analysis or dashboard.
",
+ "StartAssetBundleExportJobRequest$ValidationStrategy": "An optional parameter that determines which validation strategy to use for the export job. If StrictModeForAllResources
is set to TRUE
, strict validation for every error is enforced. If it is set to FALSE
, validation is skipped for specific UI errors that are shown as warnings. The default value for StrictModeForAllResources
is FALSE
.
"
+ }
+ },
+ "AssetBundleExportJobWarning": {
+ "base": "Describes a warning that occurred during an Asset Bundle export job.
",
+ "refs": {
+ "AssetBundleExportJobWarningList$member": null
+ }
+ },
+ "AssetBundleExportJobWarningList": {
+ "base": null,
+ "refs": {
+ "DescribeAssetBundleExportJobResponse$Warnings": "An array of warning records that describe the analysis or dashboard that is exported. This array includes UI errors that can be skipped during the validation process.
This property only appears if StrictModeForAllResources
in ValidationStrategy
is set to FALSE
.
"
+ }
+ },
"AssetBundleImportBodyBlob": {
"base": null,
"refs": {
@@ -910,6 +937,30 @@
"AssetBundleImportJobOverrideParameters$Analyses": "A list of overrides for any Analysis
resources that are present in the asset bundle that is imported.
"
}
},
+ "AssetBundleImportJobAnalysisOverridePermissions": {
+ "base": "An object that contains a list of permissions to be applied to a list of analysis IDs.
",
+ "refs": {
+ "AssetBundleImportJobAnalysisOverridePermissionsList$member": null
+ }
+ },
+ "AssetBundleImportJobAnalysisOverridePermissionsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverridePermissions$Analyses": "A list of permissions overrides for any Analysis
resources that are present in the asset bundle that is imported.
"
+ }
+ },
+ "AssetBundleImportJobAnalysisOverrideTags": {
+ "base": "An object that contains a list of tags to be assigned to a list of analysis IDs.
",
+ "refs": {
+ "AssetBundleImportJobAnalysisOverrideTagsList$member": null
+ }
+ },
+ "AssetBundleImportJobAnalysisOverrideTagsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverrideTags$Analyses": "A list of tag overrides for any Analysis
resources that are present in the asset bundle that is imported.
"
+ }
+ },
"AssetBundleImportJobDashboardOverrideParameters": {
"base": "The override parameters for a single dashboard that is being imported.
",
"refs": {
@@ -922,6 +973,30 @@
"AssetBundleImportJobOverrideParameters$Dashboards": "A list of overrides for any Dashboard
resources that are present in the asset bundle that is imported.
"
}
},
+ "AssetBundleImportJobDashboardOverridePermissions": {
+ "base": "An object that contains a list of permissions to be applied to a list of dashboard IDs.
",
+ "refs": {
+ "AssetBundleImportJobDashboardOverridePermissionsList$member": null
+ }
+ },
+ "AssetBundleImportJobDashboardOverridePermissionsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverridePermissions$Dashboards": "A list of permissions overrides for any Dashboard
resources that are present in the asset bundle that is imported.
"
+ }
+ },
+ "AssetBundleImportJobDashboardOverrideTags": {
+ "base": "An object that contains a list of tags to be assigned to a list of dashboard IDs.
",
+ "refs": {
+ "AssetBundleImportJobDashboardOverrideTagsList$member": null
+ }
+ },
+ "AssetBundleImportJobDashboardOverrideTagsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverrideTags$Dashboards": "A list of tag overrides for any Dashboard
resources that are present in the asset bundle that is imported.
"
+ }
+ },
"AssetBundleImportJobDataSetOverrideParameters": {
"base": "The override parameters for a single dataset that is being imported.
",
"refs": {
@@ -934,6 +1009,30 @@
"AssetBundleImportJobOverrideParameters$DataSets": "A list of overrides for any DataSet
resources that are present in the asset bundle that is imported.
"
}
},
+ "AssetBundleImportJobDataSetOverridePermissions": {
+ "base": "An object that contains a list of permissions to be applied to a list of dataset IDs.
",
+ "refs": {
+ "AssetBundleImportJobDataSetOverridePermissionsList$member": null
+ }
+ },
+ "AssetBundleImportJobDataSetOverridePermissionsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverridePermissions$DataSets": "A list of permissions overrides for any DataSet
resources that are present in the asset bundle that is imported.
"
+ }
+ },
+ "AssetBundleImportJobDataSetOverrideTags": {
+ "base": "An object that contains a list of tags to be assigned to a list of dataset IDs.
",
+ "refs": {
+ "AssetBundleImportJobDataSetOverrideTagsList$member": null
+ }
+ },
+ "AssetBundleImportJobDataSetOverrideTagsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverrideTags$DataSets": "A list of tag overrides for any DataSet
resources that are present in the asset bundle that is imported.
"
+ }
+ },
"AssetBundleImportJobDataSourceCredentialPair": {
"base": "A username and password credential pair to use to import a data source resource.
",
"refs": {
@@ -958,6 +1057,30 @@
"AssetBundleImportJobOverrideParameters$DataSources": " A list of overrides for any DataSource
resources that are present in the asset bundle that is imported.
"
}
},
+ "AssetBundleImportJobDataSourceOverridePermissions": {
+ "base": "An object that contains a list of permissions to be applied to a list of data source IDs.
",
+ "refs": {
+ "AssetBundleImportJobDataSourceOverridePermissionsList$member": null
+ }
+ },
+ "AssetBundleImportJobDataSourceOverridePermissionsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverridePermissions$DataSources": "A list of permissions overrides for any DataSource
resources that are present in the asset bundle that is imported.
"
+ }
+ },
+ "AssetBundleImportJobDataSourceOverrideTags": {
+ "base": "An object that contains a list of tags to be assigned to a list of data source IDs.
",
+ "refs": {
+ "AssetBundleImportJobDataSourceOverrideTagsList$member": null
+ }
+ },
+ "AssetBundleImportJobDataSourceOverrideTagsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverrideTags$DataSources": "A list of tag overrides for any DataSource
resources that are present in the asset bundle that is imported.
"
+ }
+ },
"AssetBundleImportJobError": {
"base": "Describes an error that occurred within an Asset Bundle import execution.
",
"refs": {
@@ -974,8 +1097,29 @@
"AssetBundleImportJobOverrideParameters": {
"base": "A list of overrides that modify the asset bundle resource configuration before the resource is imported.
",
"refs": {
- "DescribeAssetBundleImportJobResponse$OverrideParameters": "Optional overrides to be applied to the resource configuration before import.
",
- "StartAssetBundleImportJobRequest$OverrideParameters": "Optional overrides to be applied to the resource configuration before import.
"
+ "DescribeAssetBundleImportJobResponse$OverrideParameters": "Optional overrides that are applied to the resource configuration before import.
",
+ "StartAssetBundleImportJobRequest$OverrideParameters": "Optional overrides that are applied to the resource configuration before import.
"
+ }
+ },
+ "AssetBundleImportJobOverridePermissions": {
+ "base": "A structure that contains the override permission configurations that modify the permissions for specified resources before the resource is imported.
",
+ "refs": {
+ "DescribeAssetBundleImportJobResponse$OverridePermissions": "Optional permission overrides that are applied to the resource configuration before import.
",
+ "StartAssetBundleImportJobRequest$OverridePermissions": "Optional permission overrides that are applied to the resource configuration before import.
"
+ }
+ },
+ "AssetBundleImportJobOverrideTags": {
+ "base": "A structure that contains the override tag configuration that modify the tags that are assigned to specified resources before the resource is imported.
",
+ "refs": {
+ "DescribeAssetBundleImportJobResponse$OverrideTags": "Optional tag overrides that are applied to the resource configuration before import.
",
+ "StartAssetBundleImportJobRequest$OverrideTags": "Optional tag overrides that are applied to the resource configuration before import.
"
+ }
+ },
+ "AssetBundleImportJobOverrideValidationStrategy": {
+ "base": "An optional parameter that overrides the validation strategy for all analyses and dashboards before the resource is imported.
",
+ "refs": {
+ "DescribeAssetBundleImportJobResponse$OverrideValidationStrategy": "An optional validation strategy override for all analyses and dashboards to be applied to the resource configuration before import.
",
+ "StartAssetBundleImportJobRequest$OverrideValidationStrategy": "An optional validation strategy override for all analyses and dashboards that is applied to the resource configuration before import.
"
}
},
"AssetBundleImportJobRefreshScheduleOverrideParameters": {
@@ -1027,6 +1171,30 @@
"AssetBundleImportJobOverrideParameters$Themes": "A list of overrides for any Theme
resources that are present in the asset bundle that is imported.
"
}
},
+ "AssetBundleImportJobThemeOverridePermissions": {
+ "base": "An object that contains a list of permissions to be applied to a list of theme IDs.
",
+ "refs": {
+ "AssetBundleImportJobThemeOverridePermissionsList$member": null
+ }
+ },
+ "AssetBundleImportJobThemeOverridePermissionsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverridePermissions$Themes": "A list of permissions overrides for any Theme
resources that are present in the asset bundle that is imported.
"
+ }
+ },
+ "AssetBundleImportJobThemeOverrideTags": {
+ "base": "An object that contains a list of tags to be assigned to a list of theme IDs.
",
+ "refs": {
+ "AssetBundleImportJobThemeOverrideTagsList$member": null
+ }
+ },
+ "AssetBundleImportJobThemeOverrideTagsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverrideTags$Themes": "A list of tag overrides for any Theme
resources that are present in the asset bundle that is imported.
"
+ }
+ },
"AssetBundleImportJobVPCConnectionOverrideParameters": {
"base": "The override parameters for a single VPC connection that is imported.
",
"refs": {
@@ -1039,6 +1207,18 @@
"AssetBundleImportJobOverrideParameters$VPCConnections": "A list of overrides for any VPCConnection
resources that are present in the asset bundle that is imported.
"
}
},
+ "AssetBundleImportJobVPCConnectionOverrideTags": {
+ "base": "An object that contains a list of tags to be assigned to a list of VPC connection IDs.
",
+ "refs": {
+ "AssetBundleImportJobVPCConnectionOverrideTagsList$member": null
+ }
+ },
+ "AssetBundleImportJobVPCConnectionOverrideTagsList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobOverrideTags$VPCConnections": "A list of tag overrides for any VPCConnection
resources that are present in the asset bundle that is imported.
"
+ }
+ },
"AssetBundleImportSource": {
"base": "The source of the asset bundle zip file that contains the data that you want to import. The file must be in QUICKSIGHT_JSON
format.
",
"refs": {
@@ -1051,6 +1231,12 @@
"DescribeAssetBundleImportJobResponse$AssetBundleImportSource": "The source of the asset bundle zip file that contains the data that is imported by the job.
"
}
},
+ "AssetBundlePrincipalList": {
+ "base": null,
+ "refs": {
+ "AssetBundleResourcePermissions$Principals": "A list of principals to grant permissions on.
"
+ }
+ },
"AssetBundleResourceArns": {
"base": null,
"refs": {
@@ -1058,14 +1244,50 @@
"StartAssetBundleExportJobRequest$ResourceArns": "An array of resource ARNs to export. The following resources are supported.
-
Analysis
-
Dashboard
-
DataSet
-
DataSource
-
RefreshSchedule
-
Theme
-
VPCConnection
The API caller must have the necessary permissions in their IAM role to access each resource before the resources can be exported.
"
}
},
+ "AssetBundleResourceLinkSharingConfiguration": {
+ "base": "A structure that contains the configuration of a shared link to an Amazon QuickSight dashboard.
",
+ "refs": {
+ "AssetBundleImportJobDashboardOverridePermissions$LinkSharingConfiguration": "A structure that contains the link sharing configurations that you want to apply overrides to.
"
+ }
+ },
+ "AssetBundleResourcePermissions": {
+ "base": "A structure that contains the permissions for the resource that you want to override in an asset bundle import job.
",
+ "refs": {
+ "AssetBundleImportJobAnalysisOverridePermissions$Permissions": "A list of permissions for the analyses that you want to apply overrides to.
",
+ "AssetBundleImportJobDashboardOverridePermissions$Permissions": "A list of permissions for the dashboards that you want to apply overrides to.
",
+ "AssetBundleImportJobDataSetOverridePermissions$Permissions": "A list of permissions for the datasets that you want to apply overrides to.
",
+ "AssetBundleImportJobDataSourceOverridePermissions$Permissions": "A list of permissions for the data source that you want to apply overrides to.
",
+ "AssetBundleImportJobThemeOverridePermissions$Permissions": "A list of permissions for the themes that you want to apply overrides to.
",
+ "AssetBundleResourceLinkSharingConfiguration$Permissions": "A list of link sharing permissions for the dashboards that you want to apply overrides to.
"
+ }
+ },
+ "AssetBundleRestrictiveResourceId": {
+ "base": null,
+ "refs": {
+ "AssetBundleRestrictiveResourceIdList$member": null
+ }
+ },
+ "AssetBundleRestrictiveResourceIdList": {
+ "base": null,
+ "refs": {
+ "AssetBundleImportJobAnalysisOverridePermissions$AnalysisIds": "A list of analysis IDs that you want to apply overrides to. You can use *
to override all analyses in this asset bundle.
",
+ "AssetBundleImportJobAnalysisOverrideTags$AnalysisIds": "A list of analysis IDs that you want to apply overrides to. You can use *
to override all analyses in this asset bundle.
",
+ "AssetBundleImportJobDashboardOverridePermissions$DashboardIds": "A list of dashboard IDs that you want to apply overrides to. You can use *
to override all dashboards in this asset bundle.
",
+ "AssetBundleImportJobDashboardOverrideTags$DashboardIds": "A list of dashboard IDs that you want to apply overrides to. You can use *
to override all dashboards in this asset bundle.
",
+ "AssetBundleImportJobDataSetOverridePermissions$DataSetIds": "A list of dataset IDs that you want to apply overrides to. You can use *
to override all datasets in this asset bundle.
",
+ "AssetBundleImportJobDataSetOverrideTags$DataSetIds": "A list of dataset IDs that you want to apply overrides to. You can use *
to override all datasets in this asset bundle.
",
+ "AssetBundleImportJobDataSourceOverridePermissions$DataSourceIds": "A list of data source IDs that you want to apply overrides to. You can use *
to override all data sources in this asset bundle.
",
+ "AssetBundleImportJobDataSourceOverrideTags$DataSourceIds": "A list of data source IDs that you want to apply overrides to. You can use *
to override all data sources in this asset bundle.
",
+ "AssetBundleImportJobThemeOverridePermissions$ThemeIds": "A list of theme IDs that you want to apply overrides to. You can use *
to override all themes in this asset bundle.
",
+ "AssetBundleImportJobThemeOverrideTags$ThemeIds": "A list of theme IDs that you want to apply overrides to. You can use *
to override all themes in this asset bundle.
",
+ "AssetBundleImportJobVPCConnectionOverrideTags$VPCConnectionIds": "A list of VPC connection IDs that you want to apply overrides to. You can use *
to override all VPC connections in this asset bundle.
"
+ }
+ },
"AssetOptions": {
"base": "An array of analysis level configurations.
",
"refs": {
- "Analysis$Options": null,
"AnalysisDefinition$Options": "An array of option definitions for an analysis.
",
- "DashboardVersion$Options": null,
"DashboardVersionDefinition$Options": "An array of option definitions for a dashboard.
",
- "TemplateVersion$Options": null,
"TemplateVersionDefinition$Options": "An array of option definitions for a template.
"
}
},
@@ -1108,7 +1330,7 @@
"AuthenticationMethodOption": {
"base": null,
"refs": {
- "CreateAccountSubscriptionRequest$AuthenticationMethod": "The method that you want to use to authenticate your Amazon QuickSight account. Currently, the valid values for this parameter are IAM_AND_QUICKSIGHT
, IAM_ONLY
, and ACTIVE_DIRECTORY
.
If you choose ACTIVE_DIRECTORY
, provide an ActiveDirectoryName
and an AdminGroup
associated with your Active Directory.
"
+ "CreateAccountSubscriptionRequest$AuthenticationMethod": "The method that you want to use to authenticate your Amazon QuickSight account.
If you choose ACTIVE_DIRECTORY
, provide an ActiveDirectoryName
and an AdminGroup
associated with your Active Directory.
If you choose IAM_IDENTITY_CENTER
, provide an AdminGroup
associated with your IAM Identity Center account.
"
}
},
"AuthorSpecifiedAggregation": {
@@ -1145,6 +1367,7 @@
"CreateIngestionRequest$AwsAccountId": "The Amazon Web Services account ID.
",
"CreateNamespaceRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to create the Amazon QuickSight namespace in.
",
"CreateRefreshScheduleRequest$AwsAccountId": "The Amazon Web Services account ID.
",
+ "CreateRoleMembershipRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
",
"CreateTemplateAliasRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template that you creating an alias for.
",
"CreateTemplateRequest$AwsAccountId": "The ID for the Amazon Web Services account that the group is in. You use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
",
"CreateThemeAliasRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the theme for the new theme alias.
",
@@ -1166,6 +1389,8 @@
"DeleteIAMPolicyAssignmentRequest$AwsAccountId": "The Amazon Web Services account ID where you want to delete the IAM policy assignment.
",
"DeleteNamespaceRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to delete the Amazon QuickSight namespace from.
",
"DeleteRefreshScheduleRequest$AwsAccountId": "The Amazon Web Services account ID.
",
+ "DeleteRoleCustomPermissionRequest$AwsAccountId": "The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
",
+ "DeleteRoleMembershipRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
",
"DeleteTemplateAliasRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the item to delete.
",
"DeleteTemplateRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template that you're deleting.
",
"DeleteThemeAliasRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the theme alias to delete.
",
@@ -1208,6 +1433,7 @@
"DescribeIpRestrictionResponse$AwsAccountId": "The ID of the Amazon Web Services account that contains the IP rules.
",
"DescribeNamespaceRequest$AwsAccountId": "The ID for the Amazon Web Services account that contains the Amazon QuickSight namespace that you want to describe.
",
"DescribeRefreshScheduleRequest$AwsAccountId": "The Amazon Web Services account ID.
",
+ "DescribeRoleCustomPermissionRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
",
"DescribeTemplateAliasRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template alias that you're describing.
",
"DescribeTemplateDefinitionRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template. You must be using the Amazon Web Services account that the template is in.
",
"DescribeTemplatePermissionsRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template that you're describing.
",
@@ -1241,6 +1467,7 @@
"ListIngestionsRequest$AwsAccountId": "The Amazon Web Services account ID.
",
"ListNamespacesRequest$AwsAccountId": "The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.
",
"ListRefreshSchedulesRequest$AwsAccountId": "The Amazon Web Services account ID.
",
+ "ListRoleMembershipsRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
",
"ListTemplateAliasesRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template aliases that you're listing.
",
"ListTemplateVersionsRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the templates that you're listing.
",
"ListTemplatesRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the templates that you're listing.
",
@@ -1284,6 +1511,7 @@
"UpdateIpRestrictionResponse$AwsAccountId": "The ID of the Amazon Web Services account that contains the IP rules.
",
"UpdatePublicSharingSettingsRequest$AwsAccountId": "The Amazon Web Services account ID associated with your Amazon QuickSight subscription.
",
"UpdateRefreshScheduleRequest$AwsAccountId": "The Amazon Web Services account ID.
",
+ "UpdateRoleCustomPermissionRequest$AwsAccountId": "The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
",
"UpdateTemplateAliasRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template alias that you're updating.
",
"UpdateTemplatePermissionsRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template.
",
"UpdateTemplateRequest$AwsAccountId": "The ID of the Amazon Web Services account that contains the template that you're updating.
",
@@ -1455,6 +1683,12 @@
"GeospatialMapStyleOptions$BaseMapStyle": "The base map style of the geospatial map.
"
}
},
+ "BigQueryParameters": {
+ "base": "The parameters that are required to connect to a Google BigQuery data source.
",
+ "refs": {
+ "DataSourceParameters$BigQueryParameters": "The parameters that are required to connect to a Google BigQuery data source.
"
+ }
+ },
"BinCountLimit": {
"base": null,
"refs": {
@@ -1516,6 +1750,10 @@
"AccountSettings$TerminationProtectionEnabled": "A boolean value that determines whether or not an Amazon QuickSight account can be deleted. A True
value doesn't allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubsctiption
request. A False
value will allow the ccount to be deleted.
",
"AssetBundleExportJobResourceIdOverrideConfiguration$PrefixForAllResources": "An option to request a CloudFormation variable for a prefix to be prepended to each resource's ID before import. The prefix is only added to the asset IDs and does not change the name of the asset.
",
"AssetBundleExportJobSummary$IncludeAllDependencies": "The flag that determines the inclusion of resource dependencies in the returned asset bundle.
",
+ "AssetBundleExportJobSummary$IncludePermissions": "The flag that determines the inclusion of permissions associated with each resource ARN.
",
+ "AssetBundleExportJobSummary$IncludeTags": "The flag that determines the inclusion of tags associated with each resource ARN.
",
+ "AssetBundleExportJobValidationStrategy$StrictModeForAllResources": "A Boolean value that indicates whether to export resources under strict or lenient mode.
",
+ "AssetBundleImportJobOverrideValidationStrategy$StrictModeForAllResources": "A Boolean value that indicates whether to import all analyses and dashboards under strict or lenient mode.
",
"BookmarksConfigurations$Enabled": "A Boolean value that determines whether a user can bookmark an embedded dashboard.
",
"BorderStyle$Show": "The option to enable display of borders for visuals.
",
"DataSetSummary$RowLevelPermissionTagConfigurationApplied": "Whether or not the row level permission tags are applied.
",
@@ -1524,6 +1762,8 @@
"DataSetUsageConfiguration$DisableUseAsImportedSource": "An option that controls whether a child dataset that's stored in QuickSight can use this dataset as a source.
",
"DeleteAnalysisRequest$ForceDeleteWithoutRecovery": "This option defaults to the value NoForceDeleteWithoutRecovery
. To immediately delete the analysis, add the ForceDeleteWithoutRecovery
option. You can't restore an analysis after it's deleted.
",
"DescribeAssetBundleExportJobResponse$IncludeAllDependencies": "The include dependencies flag.
",
+ "DescribeAssetBundleExportJobResponse$IncludePermissions": "The include permissions flag.
",
+ "DescribeAssetBundleExportJobResponse$IncludeTags": "The include tags flag.
",
"DisplayFormatOptions$UseBlankCellFormat": "A Boolean value that indicates whether to use blank cell format.
",
"DisplayFormatOptions$UseGrouping": "A Boolean value that indicates whether to use grouping.
",
"GetDashboardEmbedUrlRequest$UndoRedoDisabled": "Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.
",
@@ -1538,6 +1778,8 @@
"SignupResponse$IAMUser": "A Boolean that is TRUE
if the Amazon QuickSight uses IAM as an authentication method.
",
"SslProperties$DisableSsl": "A Boolean option to control whether SSL should be disabled.
",
"StartAssetBundleExportJobRequest$IncludeAllDependencies": "A Boolean that determines whether all dependencies of each resource ARN are recursively exported with the job. For example, say you provided a Dashboard ARN to the ResourceArns
parameter. If you set IncludeAllDependencies
to TRUE
, any theme, dataset, and data source resource that is a dependency of the dashboard is also exported.
",
+ "StartAssetBundleExportJobRequest$IncludePermissions": "A Boolean that determines whether all permissions for each resource ARN are exported with the job. If you set IncludePermissions
to TRUE
, any permissions associated with each resource are exported.
",
+ "StartAssetBundleExportJobRequest$IncludeTags": " A Boolean that determines whether all tags for each resource ARN are exported with the job. If you set IncludeTags
to TRUE
, any tags associated with each resource are exported.
",
"StatePersistenceConfigurations$Enabled": "Determines if a Amazon QuickSight dashboard's state persistence settings are turned on or off.
",
"TimeRangeFilter$IncludeMinimum": "Determines whether the minimum value in the filter value range should be included in the filtered results.
",
"TimeRangeFilter$IncludeMaximum": "Determines whether the maximum value in the filter value range should be included in the filtered results.
",
@@ -2498,6 +2740,16 @@
"refs": {
}
},
+ "CreateRoleMembershipRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateRoleMembershipResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CreateTemplateAliasRequest": {
"base": null,
"refs": {
@@ -3090,6 +3342,12 @@
"PutDataSetRefreshPropertiesRequest$DataSetRefreshProperties": "The dataset refresh properties.
"
}
},
+ "DataSetRegion": {
+ "base": null,
+ "refs": {
+ "BigQueryParameters$DataSetRegion": "The storage location where you create a Google BigQuery data source.
"
+ }
+ },
"DataSetSchema": {
"base": "Dataset schema.
",
"refs": {
@@ -3718,6 +3976,26 @@
"refs": {
}
},
+ "DeleteRoleCustomPermissionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRoleCustomPermissionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRoleMembershipRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteRoleMembershipResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteTemplateAliasRequest": {
"base": null,
"refs": {
@@ -4094,6 +4372,16 @@
"refs": {
}
},
+ "DescribeRoleCustomPermissionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeRoleCustomPermissionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeTemplateAliasRequest": {
"base": null,
"refs": {
@@ -5508,8 +5796,10 @@
"refs": {
"CreateGroupMembershipRequest$GroupName": "The name of the group that you want to add the user to.
",
"CreateGroupRequest$GroupName": "A name for the group that you want to create.
",
+ "CreateRoleMembershipRequest$MemberName": "The name of the group that you want to add to the role.
",
"DeleteGroupMembershipRequest$GroupName": "The name of the group that you want to delete the user from.
",
"DeleteGroupRequest$GroupName": "The name of the group that you want to delete.
",
+ "DeleteRoleMembershipRequest$MemberName": "The name of the group.
",
"DescribeGroupMembershipRequest$GroupName": "The name of the group that you want to search.
",
"DescribeGroupRequest$GroupName": "The name of the group that you want to describe.
",
"Group$GroupName": "The name of the group.
",
@@ -5532,9 +5822,10 @@
"GroupsList": {
"base": null,
"refs": {
- "CreateAccountSubscriptionRequest$AdminGroup": "The admin group associated with your Active Directory. This field is required if ACTIVE_DIRECTORY
is the selected authentication method of the new Amazon QuickSight account. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
",
- "CreateAccountSubscriptionRequest$AuthorGroup": "The author group associated with your Active Directory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
",
- "CreateAccountSubscriptionRequest$ReaderGroup": "The reader group associated with your Active Direcrtory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
"
+ "CreateAccountSubscriptionRequest$AdminGroup": "The admin group associated with your Active Directory or IAM Identity Center account. This field is required if ACTIVE_DIRECTORY
or IAM_IDENTITY_CENTER
is the selected authentication method of the new Amazon QuickSight account.
For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
",
+ "CreateAccountSubscriptionRequest$AuthorGroup": "The author group associated with your Active Directory or IAM Identity Center account.
For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
",
+ "CreateAccountSubscriptionRequest$ReaderGroup": "The reader group associated with your Active Directory or IAM Identity Center account.
For more information about using IAM Identity Center in Amazon QuickSight, see Using IAM Identity Center with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
",
+ "ListRoleMembershipsResponse$MembersList": "The list of groups associated with a role
"
}
},
"GrowthRateComputation": {
@@ -6419,6 +6710,7 @@
"LinkSharingConfiguration": {
"base": "A structure that contains the configuration of a shareable link to the dashboard.
",
"refs": {
+ "CreateDashboardRequest$LinkSharingConfiguration": "A structure that contains the permissions of a shareable link to the dashboard.
",
"DescribeDashboardPermissionsResponse$LinkSharingConfiguration": "A structure that contains the configuration of a shareable link that grants access to the dashboard. Your users can use the link to view and interact with the dashboard, if the dashboard has been shared with them. For more information about sharing dashboards, see Sharing Dashboards.
",
"UpdateDashboardPermissionsResponse$LinkSharingConfiguration": "Updates the permissions of a shared link to an Amazon QuickSight dashboard.
"
}
@@ -6603,6 +6895,16 @@
"refs": {
}
},
+ "ListRoleMembershipsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListRoleMembershipsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTagsForResourceRequest": {
"base": null,
"refs": {
@@ -6877,6 +7179,7 @@
"ListIAMPolicyAssignmentsForUserRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListIAMPolicyAssignmentsRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListNamespacesRequest$MaxResults": "The maximum number of results to return.
",
+ "ListRoleMembershipsRequest$MaxResults": "The maximum number of results to return.
",
"ListTemplateAliasesRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListTemplateVersionsRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListTemplatesRequest$MaxResults": "The maximum number of results to be returned per request.
",
@@ -7058,11 +7361,14 @@
"CreateIAMPolicyAssignmentRequest$Namespace": "The namespace that contains the assignment.
",
"CreateNamespaceRequest$Namespace": "The name that you want to use to describe the new namespace.
",
"CreateNamespaceResponse$Name": "The name of the new namespace that you created.
",
+ "CreateRoleMembershipRequest$Namespace": "The namespace that the role belongs to.
",
"DeleteAccountCustomizationRequest$Namespace": "The Amazon QuickSight namespace that you're deleting the customizations from.
",
"DeleteGroupMembershipRequest$Namespace": "The namespace of the group that you want to remove a user from.
",
"DeleteGroupRequest$Namespace": "The namespace of the group that you want to delete.
",
"DeleteIAMPolicyAssignmentRequest$Namespace": "The namespace that contains the assignment.
",
"DeleteNamespaceRequest$Namespace": "The namespace that you want to delete.
",
+ "DeleteRoleCustomPermissionRequest$Namespace": "The namespace that includes the role.
",
+ "DeleteRoleMembershipRequest$Namespace": "The namespace that contains the role.
",
"DeleteUserByPrincipalIdRequest$Namespace": "The namespace. Currently, you should set this to default
.
",
"DeleteUserRequest$Namespace": "The namespace. Currently, you should set this to default
.
",
"DescribeAccountCustomizationRequest$Namespace": "The Amazon QuickSight namespace that you want to describe Amazon QuickSight customizations for.
",
@@ -7073,6 +7379,7 @@
"DescribeGroupRequest$Namespace": "The namespace of the group that you want described.
",
"DescribeIAMPolicyAssignmentRequest$Namespace": "The namespace that contains the assignment.
",
"DescribeNamespaceRequest$Namespace": "The namespace that you want to describe.
",
+ "DescribeRoleCustomPermissionRequest$Namespace": "The namespace that contains the role.
",
"DescribeUserRequest$Namespace": "The namespace. Currently, you should set this to default
.
",
"GenerateEmbedUrlForAnonymousUserRequest$Namespace": "The Amazon QuickSight namespace that the anonymous user virtually belongs to. If you are not using an Amazon QuickSight custom namespace, set this to default
.
",
"GetDashboardEmbedUrlRequest$Namespace": "The Amazon QuickSight namespace that contains the dashboard IDs in this request. If you're not using a custom namespace, set Namespace = default
.
",
@@ -7080,6 +7387,7 @@
"ListGroupsRequest$Namespace": "The namespace that you want a list of groups from.
",
"ListIAMPolicyAssignmentsForUserRequest$Namespace": "The namespace of the assignment.
",
"ListIAMPolicyAssignmentsRequest$Namespace": "The namespace for the assignments.
",
+ "ListRoleMembershipsRequest$Namespace": "The namespace that includes the role.
",
"ListUserGroupsRequest$Namespace": "The namespace. Currently, you should set this to default
.
",
"ListUsersRequest$Namespace": "The namespace. Currently, you should set this to default
.
",
"NamespaceInfoV2$Name": "The name of the error.
",
@@ -7091,6 +7399,7 @@
"UpdateAccountSettingsRequest$DefaultNamespace": "The default namespace for this Amazon Web Services account. Currently, the default is default
. IAM users that register for the first time with Amazon QuickSight provide an email address that becomes associated with the default namespace.
",
"UpdateGroupRequest$Namespace": "The namespace of the group that you want to update.
",
"UpdateIAMPolicyAssignmentRequest$Namespace": "The namespace of the assignment.
",
+ "UpdateRoleCustomPermissionRequest$Namespace": "The namespace that contains the role that you want to update.
",
"UpdateUserRequest$Namespace": "The namespace. Currently, you should set this to default
.
"
}
},
@@ -7189,6 +7498,7 @@
"AnalysisError$Message": "The message associated with the analysis error.
",
"AssetBundleExportJobError$Type": "The specific error type of the error that occurred.
",
"AssetBundleExportJobError$Message": "A description of the error.
",
+ "AssetBundleExportJobWarning$Message": "A description of the warning.
",
"AssetBundleImportJobError$Type": "The specific error type or the error that occurred.
",
"AssetBundleImportJobError$Message": "A description of the error.
",
"DashboardError$Message": "Message.
",
@@ -8018,6 +8328,7 @@
"Principal": {
"base": null,
"refs": {
+ "AssetBundlePrincipalList$member": null,
"ResourcePermission$Principal": "The Amazon Resource Name (ARN) of the principal. This can be one of the following:
-
The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
-
The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
-
The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)
"
}
},
@@ -8033,6 +8344,12 @@
"KPIOptions$ProgressBar": "The options that determine the presentation of the progress bar of a KPI visual.
"
}
},
+ "ProjectId": {
+ "base": null,
+ "refs": {
+ "BigQueryParameters$ProjectId": "The Google Cloud Platform project ID where your datasource was created.
"
+ }
+ },
"ProjectOperation": {
"base": "A transform operation that projects columns. Operations that come after a projection can only refer to projected columns.
",
"refs": {
@@ -8627,6 +8944,17 @@
"UpdateFolderResponse$FolderId": "The ID of the folder.
"
}
},
+ "Role": {
+ "base": null,
+ "refs": {
+ "CreateRoleMembershipRequest$Role": "The role that you want to add a group to.
",
+ "DeleteRoleCustomPermissionRequest$Role": "The role that you want to remove permissions from.
",
+ "DeleteRoleMembershipRequest$Role": "The role that you want to remove permissions from.
",
+ "DescribeRoleCustomPermissionRequest$Role": "The name of the role whose permissions you want described.
",
+ "ListRoleMembershipsRequest$Role": "The name of the role.
",
+ "UpdateRoleCustomPermissionRequest$Role": "The name of role tht you want to update.
"
+ }
+ },
"RoleArn": {
"base": null,
"refs": {
@@ -8641,7 +8969,9 @@
"RoleName": {
"base": null,
"refs": {
+ "DescribeRoleCustomPermissionResponse$CustomPermissionsName": "The name of the custom permission that is described.
",
"RegisterUserRequest$CustomPermissionsName": "(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:
-
Create and update data sources
-
Create and update datasets
-
Create and update email reports
-
Subscribe to email reports
To add custom permissions to an existing user, use UpdateUser
instead.
A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser
API operation to assign the named set of permissions to a Amazon QuickSight user.
Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).
This feature is available only to Amazon QuickSight Enterprise edition subscriptions.
",
+ "UpdateRoleCustomPermissionRequest$CustomPermissionsName": "The name of the custom permission that you want to update the role with.
",
"UpdateUserRequest$CustomPermissionsName": "(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:
-
Create and update data sources
-
Create and update datasets
-
Create and update email reports
-
Subscribe to email reports
A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the Amazon QuickSight console. Then, you use the RegisterUser
API operation to assign the named set of permissions to a Amazon QuickSight user.
Amazon QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning Amazon QuickSight users to one of the default security cohorts in Amazon QuickSight (admin, author, reader).
This feature is available only to Amazon QuickSight Enterprise edition subscriptions.
",
"User$CustomPermissionsName": "The custom permissions profile associated with this user.
"
}
@@ -9091,6 +9421,8 @@
"SensitiveS3Uri": {
"base": null,
"refs": {
+ "AssetBundleImportSourceDescription$Body": "An HTTPS download URL for the provided asset bundle that you optionally provided at the start of the import job. This URL is valid for five minutes after issuance. Call DescribeAssetBundleExportJob
again for a fresh URL if needed. The downloaded asset bundle is a .qs
zip file.
",
+ "DescribeAssetBundleExportJobResponse$DownloadUrl": "The URL to download the exported asset bundle data from.
This URL is available only after the job has succeeded. This URL is valid for 5 minutes after issuance. Call DescribeAssetBundleExportJob
again for a fresh URL if needed.
The downloaded asset bundle is a zip file named assetbundle-{jobId}.qs
. The file has a .qs
extension.
This URL can't be used in a StartAssetBundleImportJob
API call and should only be used for download purposes.
",
"SnapshotJobS3Result$S3Uri": "The Amazon S3 Uri.
"
}
},
@@ -10010,6 +10342,7 @@
"CreateIngestionResponse$Status": "The HTTP status of the request.
",
"CreateNamespaceResponse$Status": "The HTTP status of the request.
",
"CreateRefreshScheduleResponse$Status": "The HTTP status of the request.
",
+ "CreateRoleMembershipResponse$Status": "The HTTP status of the request.
",
"CreateTemplateAliasResponse$Status": "The HTTP status of the request.
",
"CreateTemplateResponse$Status": "The HTTP status of the request.
",
"CreateThemeAliasResponse$Status": "The HTTP status of the request.
",
@@ -10031,6 +10364,8 @@
"DeleteIAMPolicyAssignmentResponse$Status": "The HTTP status of the request.
",
"DeleteNamespaceResponse$Status": "The HTTP status of the request.
",
"DeleteRefreshScheduleResponse$Status": "The HTTP status of the request.
",
+ "DeleteRoleCustomPermissionResponse$Status": "The HTTP status of the request.
",
+ "DeleteRoleMembershipResponse$Status": "The HTTP status of the request.
",
"DeleteTemplateAliasResponse$Status": "The HTTP status of the request.
",
"DeleteTemplateResponse$Status": "The HTTP status of the request.
",
"DeleteThemeAliasResponse$Status": "The HTTP status of the request.
",
@@ -10068,6 +10403,7 @@
"DescribeIpRestrictionResponse$Status": "The HTTP status of the request.
",
"DescribeNamespaceResponse$Status": "The HTTP status of the request.
",
"DescribeRefreshScheduleResponse$Status": "The HTTP status of the request.
",
+ "DescribeRoleCustomPermissionResponse$Status": "The HTTP status of the request.
",
"DescribeTemplateAliasResponse$Status": "The HTTP status of the request.
",
"DescribeTemplateDefinitionResponse$Status": "The HTTP status of the request.
",
"DescribeTemplatePermissionsResponse$Status": "The HTTP status of the request.
",
@@ -10101,6 +10437,7 @@
"ListIngestionsResponse$Status": "The HTTP status of the request.
",
"ListNamespacesResponse$Status": "The HTTP status of the request.
",
"ListRefreshSchedulesResponse$Status": "The HTTP status of the request.
",
+ "ListRoleMembershipsResponse$Status": "The HTTP status of the request.
",
"ListTagsForResourceResponse$Status": "The HTTP status of the request.
",
"ListTemplateAliasesResponse$Status": "The HTTP status of the request.
",
"ListTemplateVersionsResponse$Status": "The HTTP status of the request.
",
@@ -10145,6 +10482,7 @@
"UpdateIpRestrictionResponse$Status": "The HTTP status of the request.
",
"UpdatePublicSharingSettingsResponse$Status": "The HTTP status of the request.
",
"UpdateRefreshScheduleResponse$Status": "The HTTP status of the request.
",
+ "UpdateRoleCustomPermissionResponse$Status": "The HTTP status of the request.
",
"UpdateTemplateAliasResponse$Status": "The HTTP status of the request.
",
"UpdateTemplatePermissionsResponse$Status": "The HTTP status of the request.
",
"UpdateTemplateResponse$Status": "The HTTP status of the request.
",
@@ -10174,7 +10512,6 @@
"AnalysisSearchFilter$Value": "The value of the named item, in this case QUICKSIGHT_USER
, that you want to use as a filter, for example \"Value\"
. An example is \"arn:aws:quicksight:us-east-1:1:user/default/UserName1\"
.
",
"AssetBundleImportJobRefreshScheduleOverrideParameters$ScheduleId": "A partial identifier for the specific RefreshSchedule
resource being overridden. This structure is used together with the DataSetId
structure.
",
"AssetBundleImportJobResourceIdOverrideConfiguration$PrefixForAllResources": "An option to request a CloudFormation variable for a prefix to be prepended to each resource's ID before import. The prefix is only added to the asset IDs and does not change the name of the asset.
",
- "AssetBundleImportSourceDescription$Body": "An HTTPS download URL for the provided asset bundle that you optionally provided at the start of the import job. This URL is valid for five minutes after issuance. Call DescribeAssetBundleExportJob
again for a fresh URL if needed. The downloaded asset bundle is a .qs
zip file.
",
"AssetOptions$Timezone": "Determines the timezone for the analysis.
",
"AttributeAggregationFunction$ValueForMultipleValues": "Used by the UNIQUE_VALUE
aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'.
",
"AxisLabelOptions$CustomLabel": "The text for the axis label.
",
@@ -10218,6 +10555,7 @@
"CreateNamespaceResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"CreateRefreshScheduleResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"CreateRefreshScheduleResponse$ScheduleId": "The ID of the refresh schedule.
",
+ "CreateRoleMembershipResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"CreateTemplateAliasResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"CreateTemplateResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"CreateThemeAliasResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
@@ -10247,6 +10585,8 @@
"DeleteRefreshScheduleRequest$ScheduleId": "The ID of the refresh schedule.
",
"DeleteRefreshScheduleResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DeleteRefreshScheduleResponse$ScheduleId": "The ID of the refresh schedule.
",
+ "DeleteRoleCustomPermissionResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
+ "DeleteRoleMembershipResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DeleteTemplateAliasResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DeleteTemplateResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DeleteThemeAliasResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
@@ -10264,7 +10604,6 @@
"DescribeAnalysisDefinitionResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeAnalysisPermissionsResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeAnalysisResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
- "DescribeAssetBundleExportJobResponse$DownloadUrl": "The URL to download the exported asset bundle data from.
This URL is available only after the job has succeeded. This URL is valid for 5 minutes after issuance. Call DescribeAssetBundleExportJob
again for a fresh URL if needed.
The downloaded asset bundle is a zip file named assetbundle-{jobId}.qs
. The file has a .qs
extension.
This URL can't be used in a StartAssetBundleImportJob
API call and should only be used for download purposes.
",
"DescribeDashboardDefinitionResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeDashboardPermissionsResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeDashboardResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
@@ -10289,6 +10628,7 @@
"DescribeNamespaceResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeRefreshScheduleRequest$ScheduleId": "The ID of the refresh schedule.
",
"DescribeRefreshScheduleResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
+ "DescribeRoleCustomPermissionResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeTemplateAliasResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeTemplateDefinitionResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"DescribeTemplatePermissionsResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
@@ -10380,6 +10720,9 @@
"ListNamespacesResponse$NextToken": "A unique pagination token that can be used in a subsequent request. Receiving NextToken
in your response inticates that there is more data that can be returned. To receive the data, make another ListNamespaces
API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token, you will receive a HTTP 400 InvalidNextTokenException
error.
",
"ListNamespacesResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"ListRefreshSchedulesResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
+ "ListRoleMembershipsRequest$NextToken": "A pagination token that can be used in a subsequent request.
",
+ "ListRoleMembershipsResponse$NextToken": "A pagination token that can be used in a subsequent request.
",
+ "ListRoleMembershipsResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"ListTagsForResourceResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"ListTemplateAliasesRequest$NextToken": "The token for the next set of results, or null if there are no more results.
",
"ListTemplateAliasesResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
@@ -10515,6 +10858,7 @@
"UpdatePublicSharingSettingsResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"UpdateRefreshScheduleResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"UpdateRefreshScheduleResponse$ScheduleId": "The ID of the refresh schedule.
",
+ "UpdateRoleCustomPermissionResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"UpdateTemplateAliasResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"UpdateTemplatePermissionsResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"UpdateTemplateResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
@@ -10958,6 +11302,12 @@
"TagList": {
"base": null,
"refs": {
+ "AssetBundleImportJobAnalysisOverrideTags$Tags": "A list of tags for the analyses that you want to apply overrides to.
",
+ "AssetBundleImportJobDashboardOverrideTags$Tags": "A list of tags for the dashboards that you want to apply overrides to.
",
+ "AssetBundleImportJobDataSetOverrideTags$Tags": "A list of tags for the datasets that you want to apply overrides to.
",
+ "AssetBundleImportJobDataSourceOverrideTags$Tags": "A list of tags for the data source that you want to apply overrides to.
",
+ "AssetBundleImportJobThemeOverrideTags$Tags": "A list of tags for the themes that you want to apply overrides to.
",
+ "AssetBundleImportJobVPCConnectionOverrideTags$Tags": "A list of tags for the VPC connections that you want to apply overrides to.
",
"CreateAccountCustomizationRequest$Tags": "A list of the tags that you want to attach to this resource.
",
"CreateAnalysisRequest$Tags": "Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis.
",
"CreateDashboardRequest$Tags": "Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
",
@@ -12084,6 +12434,16 @@
"UpdateTopicPermissionsRequest$RevokePermissions": "The resource permissions that you want to revoke from the topic.
"
}
},
+ "UpdateRoleCustomPermissionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateRoleCustomPermissionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"UpdateTemplateAliasRequest": {
"base": null,
"refs": {
@@ -12307,7 +12667,7 @@
"ValidationStrategyMode": {
"base": null,
"refs": {
- "ValidationStrategy$Mode": "The mode of validation for the asset to be creaed or updated. When you set this value to STRICT
, strict validation for every error is enforced. When you set this value to LENIENT
, validation is skipped for specific UI errors.
"
+ "ValidationStrategy$Mode": "The mode of validation for the asset to be created or updated. When you set this value to STRICT
, strict validation for every error is enforced. When you set this value to LENIENT
, validation is skipped for specific UI errors.
"
}
},
"ValueWhenUnsetOption": {
diff --git a/models/apis/quicksight/2018-04-01/paginators-1.json b/models/apis/quicksight/2018-04-01/paginators-1.json
index 512e1e44b04..e310b5d69c0 100644
--- a/models/apis/quicksight/2018-04-01/paginators-1.json
+++ b/models/apis/quicksight/2018-04-01/paginators-1.json
@@ -102,6 +102,12 @@
"limit_key": "MaxResults",
"result_key": "Namespaces"
},
+ "ListRoleMemberships": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "MembersList"
+ },
"ListTemplateAliases": {
"input_token": "NextToken",
"output_token": "NextToken",
diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json
index ed16f19c124..e14c29b4c25 100644
--- a/models/apis/sagemaker/2017-07-24/api-2.json
+++ b/models/apis/sagemaker/2017-07-24/api-2.json
@@ -3811,7 +3811,10 @@
"ml.g5.48xlarge",
"ml.geospatial.interactive",
"ml.p4d.24xlarge",
- "ml.p4de.24xlarge"
+ "ml.p4de.24xlarge",
+ "ml.trn1.2xlarge",
+ "ml.trn1.32xlarge",
+ "ml.trn1n.32xlarge"
]
},
"AppList":{
@@ -8219,6 +8222,7 @@
"DomainName":{"shape":"DomainName"},
"HomeEfsFileSystemId":{"shape":"ResourceId"},
"SingleSignOnManagedApplicationInstanceId":{"shape":"String256"},
+ "SingleSignOnApplicationArn":{"shape":"SingleSignOnApplicationArn"},
"Status":{"shape":"DomainStatus"},
"CreationTime":{"shape":"CreationTime"},
"LastModifiedTime":{"shape":"LastModifiedTime"},
@@ -9662,7 +9666,7 @@
"type":"string",
"max":40,
"min":1,
- "pattern":"[\\S\\s]+"
+ "pattern":"^[-a-zA-Z0-9_.,;:! ]*$"
},
"DeviceFleetArn":{
"type":"string",
@@ -9672,7 +9676,7 @@
"type":"string",
"max":800,
"min":1,
- "pattern":"[\\S\\s]+"
+ "pattern":"^[-a-zA-Z0-9_.,;:! ]*$"
},
"DeviceFleetSummaries":{
"type":"list",
@@ -14605,6 +14609,11 @@
"type":"integer",
"min":0
},
+ "MaxPendingTimeInSeconds":{
+ "type":"integer",
+ "max":2419200,
+ "min":7200
+ },
"MaxPercentageOfInputDatasetLabeled":{
"type":"integer",
"max":100,
@@ -15462,7 +15471,6 @@
"ModelPackageSummary":{
"type":"structure",
"required":[
- "ModelPackageName",
"ModelPackageArn",
"CreationTime",
"ModelPackageStatus"
@@ -15897,7 +15905,7 @@
"type":"string",
"max":63,
"min":1,
- "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*$"
+ "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$"
},
"MonitoringJobDefinitionSortKey":{
"type":"string",
@@ -16870,7 +16878,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,255}$"
+ "pattern":"^[A-Za-z0-9\\-_]*$"
},
"PipelineStatus":{
"type":"string",
@@ -18966,6 +18974,10 @@
"Seed":{"shape":"Seed"}
}
},
+ "SingleSignOnApplicationArn":{
+ "type":"string",
+ "pattern":"^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::[0-9]+:application\\/[a-zA-Z0-9-_.]+\\/apl-[a-zA-Z0-9]+$"
+ },
"SingleSignOnUserIdentifier":{
"type":"string",
"pattern":"UserName"
@@ -19437,7 +19449,8 @@
"type":"structure",
"members":{
"MaxRuntimeInSeconds":{"shape":"MaxRuntimeInSeconds"},
- "MaxWaitTimeInSeconds":{"shape":"MaxWaitTimeInSeconds"}
+ "MaxWaitTimeInSeconds":{"shape":"MaxWaitTimeInSeconds"},
+ "MaxPendingTimeInSeconds":{"shape":"MaxPendingTimeInSeconds"}
}
},
"StorageType":{
diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json
index 7aca195274a..19a932bd93f 100644
--- a/models/apis/sagemaker/2017-07-24/docs-2.json
+++ b/models/apis/sagemaker/2017-07-24/docs-2.json
@@ -8435,6 +8435,12 @@
"TransformJobDefinition$MaxPayloadInMB": "The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).
"
}
},
+ "MaxPendingTimeInSeconds": {
+ "base": "Maximum job scheduler pending time in seconds.",
+ "refs": {
+ "StoppingCondition$MaxPendingTimeInSeconds": "The maximum pending time in seconds.
"
+ }
+ },
"MaxPercentageOfInputDatasetLabeled": {
"base": null,
"refs": {
@@ -12634,6 +12640,12 @@
"Channel$ShuffleConfig": "A configuration for a shuffle option for input data in a channel. If you use S3Prefix
for S3DataType
, this shuffles the results of the S3 key prefix matches. If you use ManifestFile
, the order of the S3 object references in the ManifestFile
is shuffled. If you use AugmentedManifestFile
, the order of the JSON lines in the AugmentedManifestFile
is shuffled. The shuffling order is determined using the Seed
value.
For Pipe input mode, shuffling is done at the start of every epoch. With large datasets this ensures that the order of the training data is different for each epoch, it helps reduce bias and possible overfitting. In a multi-node training job when ShuffleConfig is combined with S3DataDistributionType
of ShardedByS3Key
, the data is shuffled across nodes so that the content sent to a particular node on the first epoch might be sent to a different node on the second epoch.
"
}
},
+ "SingleSignOnApplicationArn": {
+ "base": null,
+ "refs": {
+ "DescribeDomainResponse$SingleSignOnApplicationArn": "The ARN of the associated Amazon Web Services Single Sign-On application for this Domain.
"
+ }
+ },
"SingleSignOnUserIdentifier": {
"base": null,
"refs": {
diff --git a/models/apis/ssm-incidents/2018-05-10/api-2.json b/models/apis/ssm-incidents/2018-05-10/api-2.json
index f0df214e79a..f0eb43292e0 100644
--- a/models/apis/ssm-incidents/2018-05-10/api-2.json
+++ b/models/apis/ssm-incidents/2018-05-10/api-2.json
@@ -13,6 +13,23 @@
"uid":"ssm-incidents-2018-05-10"
},
"operations":{
+ "BatchGetIncidentFindings":{
+ "name":"BatchGetIncidentFindings",
+ "http":{
+ "method":"POST",
+ "requestUri":"/batchGetIncidentFindings",
+ "responseCode":200
+ },
+ "input":{"shape":"BatchGetIncidentFindingsInput"},
+ "output":{"shape":"BatchGetIncidentFindingsOutput"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
"CreateReplicationSet":{
"name":"CreateReplicationSet",
"http":{
@@ -239,6 +256,23 @@
{"shape":"InternalServerException"}
]
},
+ "ListIncidentFindings":{
+ "name":"ListIncidentFindings",
+ "http":{
+ "method":"POST",
+ "requestUri":"/listIncidentFindings",
+ "responseCode":200
+ },
+ "input":{"shape":"ListIncidentFindingsInput"},
+ "output":{"shape":"ListIncidentFindingsOutput"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ValidationException"},
+ {"shape":"InternalServerException"}
+ ]
+ },
"ListIncidentRecords":{
"name":"ListIncidentRecords",
"http":{
@@ -583,6 +617,45 @@
"max":100,
"min":0
},
+ "BatchGetIncidentFindingsError":{
+ "type":"structure",
+ "required":[
+ "code",
+ "findingId",
+ "message"
+ ],
+ "members":{
+ "code":{"shape":"String"},
+ "findingId":{"shape":"FindingId"},
+ "message":{"shape":"String"}
+ }
+ },
+ "BatchGetIncidentFindingsErrorList":{
+ "type":"list",
+ "member":{"shape":"BatchGetIncidentFindingsError"}
+ },
+ "BatchGetIncidentFindingsInput":{
+ "type":"structure",
+ "required":[
+ "findingIds",
+ "incidentRecordArn"
+ ],
+ "members":{
+ "findingIds":{"shape":"FindingIdList"},
+ "incidentRecordArn":{"shape":"Arn"}
+ }
+ },
+ "BatchGetIncidentFindingsOutput":{
+ "type":"structure",
+ "required":[
+ "errors",
+ "findings"
+ ],
+ "members":{
+ "errors":{"shape":"BatchGetIncidentFindingsErrorList"},
+ "findings":{"shape":"FindingList"}
+ }
+ },
"Boolean":{
"type":"boolean",
"box":true
@@ -606,6 +679,37 @@
"max":128,
"min":0
},
+ "CloudFormationStackUpdate":{
+ "type":"structure",
+ "required":[
+ "stackArn",
+ "startTime"
+ ],
+ "members":{
+ "endTime":{"shape":"Timestamp"},
+ "stackArn":{"shape":"Arn"},
+ "startTime":{"shape":"Timestamp"}
+ }
+ },
+ "CodeDeployDeployment":{
+ "type":"structure",
+ "required":[
+ "deploymentGroupArn",
+ "deploymentId",
+ "startTime"
+ ],
+ "members":{
+ "deploymentGroupArn":{"shape":"Arn"},
+ "deploymentId":{"shape":"CodeDeployDeploymentDeploymentIdString"},
+ "endTime":{"shape":"Timestamp"},
+ "startTime":{"shape":"Timestamp"}
+ }
+ },
+ "CodeDeployDeploymentDeploymentIdString":{
+ "type":"string",
+ "max":128,
+ "min":0
+ },
"Condition":{
"type":"structure",
"members":{
@@ -888,6 +992,60 @@
"max":5,
"min":0
},
+ "Finding":{
+ "type":"structure",
+ "required":[
+ "creationTime",
+ "id",
+ "lastModifiedTime"
+ ],
+ "members":{
+ "creationTime":{"shape":"Timestamp"},
+ "details":{"shape":"FindingDetails"},
+ "id":{"shape":"FindingId"},
+ "lastModifiedTime":{"shape":"Timestamp"}
+ }
+ },
+ "FindingDetails":{
+ "type":"structure",
+ "members":{
+ "cloudFormationStackUpdate":{"shape":"CloudFormationStackUpdate"},
+ "codeDeployDeployment":{"shape":"CodeDeployDeployment"}
+ },
+ "union":true
+ },
+ "FindingId":{
+ "type":"string",
+ "max":128,
+ "min":0
+ },
+ "FindingIdList":{
+ "type":"list",
+ "member":{"shape":"FindingId"},
+ "max":20,
+ "min":0
+ },
+ "FindingList":{
+ "type":"list",
+ "member":{"shape":"Finding"}
+ },
+ "FindingSummary":{
+ "type":"structure",
+ "required":[
+ "id",
+ "lastModifiedTime"
+ ],
+ "members":{
+ "id":{"shape":"FindingId"},
+ "lastModifiedTime":{"shape":"Timestamp"}
+ }
+ },
+ "FindingSummaryList":{
+ "type":"list",
+ "member":{"shape":"FindingSummary"},
+ "max":100,
+ "min":0
+ },
"GeneratedId":{
"type":"string",
"max":200,
@@ -1186,6 +1344,29 @@
},
"union":true
},
+ "ListIncidentFindingsInput":{
+ "type":"structure",
+ "required":["incidentRecordArn"],
+ "members":{
+ "incidentRecordArn":{"shape":"Arn"},
+ "maxResults":{"shape":"ListIncidentFindingsInputMaxResultsInteger"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListIncidentFindingsInputMaxResultsInteger":{
+ "type":"integer",
+ "box":true,
+ "max":20,
+ "min":1
+ },
+ "ListIncidentFindingsOutput":{
+ "type":"structure",
+ "required":["findings"],
+ "members":{
+ "findings":{"shape":"FindingSummaryList"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
"ListIncidentRecordsInput":{
"type":"structure",
"members":{
diff --git a/models/apis/ssm-incidents/2018-05-10/docs-2.json b/models/apis/ssm-incidents/2018-05-10/docs-2.json
index 3a6f3c87e9e..7dd418824cf 100644
--- a/models/apis/ssm-incidents/2018-05-10/docs-2.json
+++ b/models/apis/ssm-incidents/2018-05-10/docs-2.json
@@ -2,6 +2,7 @@
"version": "2.0",
"service": "Systems Manager Incident Manager is an incident management console designed to help users mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An incident is any unplanned interruption or reduction in quality of services.
Incident Manager increases incident resolution by notifying responders of impact, highlighting relevant troubleshooting data, and providing collaboration tools to get services back up and running. To achieve the primary goal of reducing the time-to-resolution of critical incidents, Incident Manager automates response plans and enables responder team escalation.
",
"operations": {
+ "BatchGetIncidentFindings": "Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding represents a recent application environment change made by an CodeDeploy deployment or an CloudFormation stack creation or update that can be investigated as a potential cause of the incident.
",
"CreateReplicationSet": "A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
",
"CreateResponsePlan": "Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.
",
"CreateTimelineEvent": "Creates a custom timeline event on the incident details page of an incident record. Incident Manager automatically creates timeline events that mark key moments during an incident. You can create custom timeline events to mark important events that Incident Manager can detect automatically.
",
@@ -15,11 +16,12 @@
"GetResourcePolicies": "Retrieves the resource policies attached to the specified response plan.
",
"GetResponsePlan": "Retrieves the details of the specified response plan.
",
"GetTimelineEvent": "Retrieves a timeline event based on its ID and incident record.
",
+ "ListIncidentFindings": "Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident. A finding represents a recent application environment change made by an CloudFormation stack creation or update or an CodeDeploy deployment that can be investigated as a potential cause of the incident.
",
"ListIncidentRecords": "Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
",
"ListRelatedItems": "List all related items for an incident record.
",
"ListReplicationSets": "Lists details about the replication set configured in your account.
",
"ListResponsePlans": "Lists all response plans in your account.
",
- "ListTagsForResource": "Lists the tags that are attached to the specified response plan.
",
+ "ListTagsForResource": "Lists the tags that are attached to the specified response plan or incident.
",
"ListTimelineEvents": "Lists timeline events for the specified incident record.
",
"PutResourcePolicy": "Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.
",
"StartIncident": "Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
",
@@ -62,6 +64,9 @@
"base": null,
"refs": {
"AutomationExecution$ssmExecutionArn": "The Amazon Resource Name (ARN) of the automation process.
",
+ "BatchGetIncidentFindingsInput$incidentRecordArn": "The Amazon Resource Name (ARN) of the incident for which you want to view finding details.
",
+ "CloudFormationStackUpdate$stackArn": "The Amazon Resource Name (ARN) of the CloudFormation stack involved in the update.
",
+ "CodeDeployDeployment$deploymentGroupArn": "The Amazon Resource Name (ARN) of the CodeDeploy deployment group associated with the deployment.
",
"CreateReplicationSetOutput$arn": "The Amazon Resource Name (ARN) of the replication set.
",
"CreateResponsePlanOutput$arn": "The Amazon Resource Name (ARN) of the response plan.
",
"CreateTimelineEventInput$incidentRecordArn": "The Amazon Resource Name (ARN) of the incident record that the action adds the incident to.
",
@@ -85,6 +90,7 @@
"IncidentRecordSource$resourceArn": "The resource that caused the incident to be created.
",
"IncidentRecordSummary$arn": "The Amazon Resource Name (ARN) of the incident.
",
"ItemValue$arn": "The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
",
+ "ListIncidentFindingsInput$incidentRecordArn": "The Amazon Resource Name (ARN) of the incident for which you want to view associated findings.
",
"ListRelatedItemsInput$incidentRecordArn": "The Amazon Resource Name (ARN) of the incident record containing the listed related items.
",
"ListTimelineEventsInput$incidentRecordArn": "The Amazon Resource Name (ARN) of the incident that includes the timeline event.
",
"NotificationTargetItem$snsTopicArn": "The Amazon Resource Name (ARN) of the SNS topic.
",
@@ -124,6 +130,28 @@
"IncidentRecord$automationExecutions": "The runbook, or automation document, that's run at the beginning of the incident.
"
}
},
+ "BatchGetIncidentFindingsError": {
+ "base": "Details about an error returned for a BatchGetIncidentFindings operation.
",
+ "refs": {
+ "BatchGetIncidentFindingsErrorList$member": null
+ }
+ },
+ "BatchGetIncidentFindingsErrorList": {
+ "base": null,
+ "refs": {
+ "BatchGetIncidentFindingsOutput$errors": "A list of errors encountered during the operation.
"
+ }
+ },
+ "BatchGetIncidentFindingsInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "BatchGetIncidentFindingsOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"Boolean": {
"base": null,
"refs": {
@@ -163,6 +191,24 @@
"UpdateTimelineEventInput$clientToken": "A token that ensures that a client calls the operation only once with the specified details.
"
}
},
+ "CloudFormationStackUpdate": {
+ "base": "Information about an CloudFormation stack creation or update that occurred around the time of an incident and could be a potential cause of the incident.
",
+ "refs": {
+ "FindingDetails$cloudFormationStackUpdate": "Information about the CloudFormation stack creation or update associated with the finding.
"
+ }
+ },
+ "CodeDeployDeployment": {
+ "base": "Information about a CodeDeploy deployment that occurred around the time of an incident and could be a possible cause of the incident.
",
+ "refs": {
+ "FindingDetails$codeDeployDeployment": "Information about the CodeDeploy deployment associated with the finding.
"
+ }
+ },
+ "CodeDeployDeploymentDeploymentIdString": {
+ "base": null,
+ "refs": {
+ "CodeDeployDeployment$deploymentId": "The ID of the CodeDeploy deployment.
"
+ }
+ },
"Condition": {
"base": "A conditional statement with which to compare a value, after a timestamp, before a timestamp, or equal to a string or integer. If multiple conditions are specified, the conditionals become an AND
ed statement. If multiple values are specified for a conditional, the values are OR
d.
",
"refs": {
@@ -208,7 +254,7 @@
"base": null,
"refs": {
"IncidentRecord$dedupeString": "The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
",
- "IncidentTemplate$dedupeString": "Used to stop Incident Manager from creating multiple incident records for the same incident.
",
+ "IncidentTemplate$dedupeString": "The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same account.
A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you specify a deduplication string, Incident Manager searches for open incidents that contain the same string in the dedupeString
field when it creates the incident. If a duplicate is detected, Incident Manager deduplicates the newer incident into the existing incident.
By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
",
"UpdateResponsePlanInput$incidentTemplateDedupeString": "The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
"
}
},
@@ -363,7 +409,52 @@
"base": null,
"refs": {
"ListIncidentRecordsInput$filters": "Filters the list of incident records you want to search through. You can filter on the following keys:
-
creationTime
-
impact
-
status
-
createdBy
Note the following when when you use Filters:
-
If you don't specify a Filter, the response includes all incident records.
-
If you specify more than one filter in a single request, the response returns incident records that match all filters.
-
If you specify a filter with more than one value, the response returns incident records that match any of the values provided.
",
- "ListTimelineEventsInput$filters": "Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys:
Note the following when deciding how to use Filters:
-
If you don't specify a Filter, the response includes all timeline events.
-
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
-
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
"
+ "ListTimelineEventsInput$filters": "Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys:
-
eventReference
-
eventTime
-
eventType
Note the following when deciding how to use Filters:
-
If you don't specify a Filter, the response includes all timeline events.
-
If you specify more than one filter in a single request, the response returns timeline events that match all filters.
-
If you specify a filter with more than one value, the response returns timeline events that match any of the values provided.
"
+ }
+ },
+ "Finding": {
+ "base": "Information about a specific CodeDeploy deployment or CloudFormation stack creation or update that occurred around the time of a reported incident. These activities can be investigated as a potential cause of the incident.
",
+ "refs": {
+ "FindingList$member": null
+ }
+ },
+ "FindingDetails": {
+ "base": "Extended textual information about the finding.
",
+ "refs": {
+ "Finding$details": "Details about the finding.
"
+ }
+ },
+ "FindingId": {
+ "base": null,
+ "refs": {
+ "BatchGetIncidentFindingsError$findingId": "The ID of a specified finding for which an error was returned for a BatchGetIncidentFindings
operation.
",
+ "Finding$id": "The ID assigned to the finding.
",
+ "FindingIdList$member": null,
+ "FindingSummary$id": "The ID of the finding.
"
+ }
+ },
+ "FindingIdList": {
+ "base": null,
+ "refs": {
+ "BatchGetIncidentFindingsInput$findingIds": "A list of IDs of findings for which you want to view details.
"
+ }
+ },
+ "FindingList": {
+ "base": null,
+ "refs": {
+ "BatchGetIncidentFindingsOutput$findings": "Information about the requested findings.
"
+ }
+ },
+ "FindingSummary": {
+ "base": "Identifying information about the finding.
",
+ "refs": {
+ "FindingSummaryList$member": null
+ }
+ },
+ "FindingSummaryList": {
+ "base": null,
+ "refs": {
+ "ListIncidentFindingsOutput$findings": "A list of findings that represent deployments that might be the potential cause of the incident.
"
}
},
"GeneratedId": {
@@ -426,12 +517,12 @@
"Impact": {
"base": null,
"refs": {
- "IncidentRecord$impact": "The impact of the incident on customers and applications.
",
+ "IncidentRecord$impact": "The impact of the incident on customers and applications.
Supported impact codes
-
1
- Critical
-
2
- High
-
3
- Medium
-
4
- Low
-
5
- No Impact
",
"IncidentRecordSummary$impact": "Defines the impact to customers and applications.
",
- "IncidentTemplate$impact": "The impact of the incident on your customers and applications.
",
- "StartIncidentInput$impact": "Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Possible impacts:
-
1
- Critical impact, this typically relates to full application failure that impacts many to all customers.
-
2
- High impact, partial application failure with impact to many customers.
-
3
- Medium impact, the application is providing reduced service to customers.
-
4
- Low impact, customer might aren't impacted by the problem yet.
-
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
",
- "UpdateIncidentRecordInput$impact": "Defines the impact of the incident to customers and applications. If you provide an impact for an incident, it overwrites the impact provided by the response plan.
Possible impacts:
-
1
- Critical impact, full application failure that impacts many to all customers.
-
2
- High impact, partial application failure with impact to many customers.
-
3
- Medium impact, the application is providing reduced service to customers.
-
4
- Low impact, customer aren't impacted by the problem yet.
-
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
",
- "UpdateResponsePlanInput$incidentTemplateImpact": "Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Possible impacts:
-
5
- Severe impact
-
4
- High impact
-
3
- Medium impact
-
2
- Low impact
-
1
- No impact
"
+ "IncidentTemplate$impact": "The impact of the incident on your customers and applications.
Supported impact codes
-
1
- Critical
-
2
- High
-
3
- Medium
-
4
- Low
-
5
- No Impact
",
+ "StartIncidentInput$impact": "Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Supported impact codes
-
1
- Critical
-
2
- High
-
3
- Medium
-
4
- Low
-
5
- No Impact
",
+ "UpdateIncidentRecordInput$impact": "Defines the impact of the incident to customers and applications. If you provide an impact for an incident, it overwrites the impact provided by the response plan.
Supported impact codes
-
1
- Critical
-
2
- High
-
3
- Medium
-
4
- Low
-
5
- No Impact
",
+ "UpdateResponsePlanInput$incidentTemplateImpact": "Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Supported impact codes
-
1
- Critical
-
2
- High
-
3
- Medium
-
4
- Low
-
5
- No Impact
"
}
},
"IncidentRecord": {
@@ -551,6 +642,22 @@
"ItemIdentifier$value": "Details about the related item.
"
}
},
+ "ListIncidentFindingsInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListIncidentFindingsInputMaxResultsInteger": {
+ "base": null,
+ "refs": {
+ "ListIncidentFindingsInput$maxResults": "The maximum number of findings to retrieve per call.
"
+ }
+ },
+ "ListIncidentFindingsOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListIncidentRecordsInput": {
"base": null,
"refs": {
@@ -631,18 +738,20 @@
"NextToken": {
"base": null,
"refs": {
- "GetResourcePoliciesInput$nextToken": "The pagination token to continue to the next page of results.
",
- "GetResourcePoliciesOutput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListIncidentRecordsInput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListIncidentRecordsOutput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListRelatedItemsInput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListRelatedItemsOutput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListReplicationSetsInput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListReplicationSetsOutput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListResponsePlansInput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListResponsePlansOutput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListTimelineEventsInput$nextToken": "The pagination token to continue to the next page of results.
",
- "ListTimelineEventsOutput$nextToken": "The pagination token to continue to the next page of results.
"
+ "GetResourcePoliciesInput$nextToken": "The pagination token for the next set of items to return. (You received this token from a previous call.)
",
+ "GetResourcePoliciesOutput$nextToken": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
",
+ "ListIncidentFindingsInput$nextToken": "The pagination token for the next set of items to return. (You received this token from a previous call.)
",
+ "ListIncidentFindingsOutput$nextToken": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
",
+ "ListIncidentRecordsInput$nextToken": "The pagination token for the next set of items to return. (You received this token from a previous call.)
",
+ "ListIncidentRecordsOutput$nextToken": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
",
+ "ListRelatedItemsInput$nextToken": "The pagination token for the next set of items to return. (You received this token from a previous call.)
",
+ "ListRelatedItemsOutput$nextToken": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
",
+ "ListReplicationSetsInput$nextToken": "The pagination token for the next set of items to return. (You received this token from a previous call.)
",
+ "ListReplicationSetsOutput$nextToken": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
",
+ "ListResponsePlansInput$nextToken": "The pagination token for the next set of items to return. (You received this token from a previous call.)
",
+ "ListResponsePlansOutput$nextToken": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
",
+ "ListTimelineEventsInput$nextToken": "The pagination token for the next set of items to return. (You received this token from a previous call.)
",
+ "ListTimelineEventsOutput$nextToken": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.
"
}
},
"NotificationTargetItem": {
@@ -987,8 +1096,10 @@
"String": {
"base": null,
"refs": {
+ "BatchGetIncidentFindingsError$code": "The code associated with an error that was returned for a BatchGetIncidentFindings
operation.
",
+ "BatchGetIncidentFindingsError$message": "The description for an error that was returned for a BatchGetIncidentFindings
operation.
",
"ConflictException$resourceIdentifier": "The identifier of the requested resource
",
- "ListTagsForResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the response plan.
",
+ "ListTagsForResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the response plan or incident.
",
"RegionInfo$statusMessage": "Information displayed about the status of the Amazon Web Services Region.
",
"ResourceNotFoundException$resourceIdentifier": "The identifier for the requested resource
",
"ResourcePolicy$ramResourceShareRegion": "The Amazon Web Services Region that policy allows resources to be used in.
",
@@ -1031,7 +1142,7 @@
"CreateReplicationSetInput$tags": "A list of tags to add to the replication set.
",
"CreateResponsePlanInput$tags": "A list of tags that you are adding to the response plan.
",
"IncidentTemplate$incidentTags": "Tags to assign to the template. When the StartIncident
API action is called, Incident Manager assigns the tags specified in the template to the incident.
",
- "ListTagsForResourceResponse$tags": "A list of tags for the response plan.
",
+ "ListTagsForResourceResponse$tags": "A list of tags for the response plan or incident.
",
"TagResourceRequest$tags": "A list of tags to add to the response plan.
"
}
},
@@ -1078,33 +1189,40 @@
"TimelineEventType": {
"base": null,
"refs": {
- "CreateTimelineEventInput$eventType": "The type of event. You can create timeline events of type Custom Event
.
",
- "EventSummary$eventType": "The type of event. The timeline event must be Custom Event
.
",
- "TimelineEvent$eventType": "The type of event that occurred. Currently Incident Manager supports only the Custom Event
type.
",
- "UpdateTimelineEventInput$eventType": "The type of event. You can update events of type Custom Event
.
"
+ "CreateTimelineEventInput$eventType": "The type of event. You can create timeline events of type Custom Event
and Note
.
To make a Note-type event appear on the Incident notes panel in the console, specify eventType
as Note
and enter the Amazon Resource Name (ARN) of the incident as the value for eventReference
.
",
+ "EventSummary$eventType": "The type of event. The timeline event must be Custom Event
or Note
.
",
+ "TimelineEvent$eventType": "The type of event that occurred. Currently Incident Manager supports only the Custom Event
and Note
types.
",
+ "UpdateTimelineEventInput$eventType": "The type of event. You can update events of type Custom Event
and Note
.
"
}
},
"Timestamp": {
"base": null,
"refs": {
+ "CloudFormationStackUpdate$endTime": "The timestamp for when the CloudFormation stack creation or update ended. Not reported for deployments that are still in progress.
",
+ "CloudFormationStackUpdate$startTime": "The timestamp for when the CloudFormation stack creation or update began.
",
+ "CodeDeployDeployment$endTime": "The timestamp for when the CodeDeploy deployment ended. Not reported for deployments that are still in progress.
",
+ "CodeDeployDeployment$startTime": "The timestamp for when the CodeDeploy deployment began.
",
"Condition$after": "After the specified timestamp.
",
"Condition$before": "Before the specified timestamp
",
"ConflictException$retryAfter": "If present in the output, the operation can be retried after this time
",
- "CreateTimelineEventInput$eventTime": "The time that the event occurred.
",
- "EventSummary$eventTime": "The time that the event occurred.
",
- "EventSummary$eventUpdatedTime": "The time that the timeline event was last updated.
",
- "IncidentRecord$creationTime": "The time that Incident Manager created the incident record.
",
- "IncidentRecord$lastModifiedTime": "The time at which the incident was most recently modified.
",
- "IncidentRecord$resolvedTime": "The time at which the incident was resolved. This appears as a timeline event.
",
- "IncidentRecordSummary$creationTime": "The time the incident was created.
",
- "IncidentRecordSummary$resolvedTime": "The time the incident was resolved.
",
- "RegionInfo$statusUpdateDateTime": "The most recent date and time that Incident Manager updated the Amazon Web Services Region's status.
",
+ "CreateTimelineEventInput$eventTime": "The timestamp for when the event occurred.
",
+ "EventSummary$eventTime": "The timestamp for when the event occurred.
",
+ "EventSummary$eventUpdatedTime": "The timestamp for when the timeline event was last updated.
",
+ "Finding$creationTime": "The timestamp for when a finding was created.
",
+ "Finding$lastModifiedTime": "The timestamp for when the finding was most recently updated with additional information.
",
+ "FindingSummary$lastModifiedTime": "The timestamp for when the finding was last updated.
",
+ "IncidentRecord$creationTime": "The timestamp for when Incident Manager created the incident record.
",
+ "IncidentRecord$lastModifiedTime": "The timestamp for when the incident was most recently modified.
",
+ "IncidentRecord$resolvedTime": "The timestamp for when the incident was resolved. This appears as a timeline event.
",
+ "IncidentRecordSummary$creationTime": "The timestamp for when the incident was created.
",
+ "IncidentRecordSummary$resolvedTime": "The timestamp for when the incident was resolved.
",
+ "RegionInfo$statusUpdateDateTime": "The timestamp for when Incident Manager updated the status of the Amazon Web Services Region.
",
"ReplicationSet$createdTime": "When the replication set was created.
",
"ReplicationSet$lastModifiedTime": "When the replication set was last updated.
",
- "TimelineEvent$eventTime": "The time that the event occurred.
",
- "TimelineEvent$eventUpdatedTime": "The time that the timeline event was last updated.
",
- "TriggerDetails$timestamp": "The time that the incident was detected.
",
- "UpdateTimelineEventInput$eventTime": "The time that the event occurred.
"
+ "TimelineEvent$eventTime": "The timestamp for when the event occurred.
",
+ "TimelineEvent$eventUpdatedTime": "The timestamp for when the timeline event was last updated.
",
+ "TriggerDetails$timestamp": "The timestamp for when the incident was detected.
",
+ "UpdateTimelineEventInput$eventTime": "The timestamp for when the event occurred.
"
}
},
"TriggerDetails": {
diff --git a/models/apis/ssm-incidents/2018-05-10/endpoint-rule-set-1.json b/models/apis/ssm-incidents/2018-05-10/endpoint-rule-set-1.json
index 5f7f42b0b30..4c942208449 100644
--- a/models/apis/ssm-incidents/2018-05-10/endpoint-rule-set-1.json
+++ b/models/apis/ssm-incidents/2018-05-10/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -58,293 +57,258 @@
"type": "error"
},
{
- "conditions": [],
- "type": "tree",
- "rules": [
+ "conditions": [
{
- "conditions": [
+ "fn": "booleanEquals",
+ "argv": [
{
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
- "type": "error"
- },
- {
- "conditions": [],
- "endpoint": {
- "url": {
- "ref": "Endpoint"
+ "ref": "UseDualStack"
},
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ true
+ ]
}
- ]
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
- "conditions": [],
- "type": "tree",
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
"rules": [
{
"conditions": [
{
- "fn": "isSet",
+ "fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
- ]
+ ],
+ "assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
- "fn": "aws.partition",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "Region"
- }
- ],
- "assign": "PartitionResult"
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseFIPS"
- },
- true
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
]
},
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
+ "fn": "getAttr",
"argv": [
- true,
{
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsFIPS"
- ]
- }
- ]
- },
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
]
}
]
- },
+ }
+ ],
+ "rules": [
{
"conditions": [],
- "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
- "type": "error"
+ "endpoint": {
+ "url": "https://ssm-incidents-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
- "ref": "UseFIPS"
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
},
true
]
}
],
- "type": "tree",
"rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsFIPS"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
- }
- ]
- },
{
"conditions": [],
- "error": "FIPS is enabled but this partition does not support FIPS",
- "type": "error"
+ "endpoint": {
+ "url": "https://ssm-incidents-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
+ "fn": "getAttr",
"argv": [
- true,
{
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
]
}
]
- },
- {
- "conditions": [],
- "error": "DualStack is enabled but this partition does not support DualStack",
- "type": "error"
}
- ]
- },
- {
- "conditions": [],
- "type": "tree",
+ ],
"rules": [
{
"conditions": [],
"endpoint": {
- "url": "https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}",
+ "url": "https://ssm-incidents.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://ssm-incidents.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
- },
- {
- "conditions": [],
- "error": "Invalid Configuration: Missing Region",
- "type": "error"
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
}
]
}
\ No newline at end of file
diff --git a/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json b/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json
index de782db5e9c..ad2bc5e79f7 100644
--- a/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json
+++ b/models/apis/ssm-incidents/2018-05-10/endpoint-tests-1.json
@@ -8,9 +8,9 @@
}
},
"params": {
+ "Region": "ap-northeast-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "ap-northeast-1"
+ "UseDualStack": false
}
},
{
@@ -21,9 +21,9 @@
}
},
"params": {
+ "Region": "ap-northeast-2",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "ap-northeast-2"
+ "UseDualStack": false
}
},
{
@@ -34,9 +34,9 @@
}
},
"params": {
+ "Region": "ap-south-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "ap-south-1"
+ "UseDualStack": false
}
},
{
@@ -47,9 +47,9 @@
}
},
"params": {
+ "Region": "ap-southeast-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "ap-southeast-1"
+ "UseDualStack": false
}
},
{
@@ -60,9 +60,9 @@
}
},
"params": {
+ "Region": "ap-southeast-2",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "ap-southeast-2"
+ "UseDualStack": false
}
},
{
@@ -73,9 +73,9 @@
}
},
"params": {
+ "Region": "ca-central-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "ca-central-1"
+ "UseDualStack": false
}
},
{
@@ -86,9 +86,9 @@
}
},
"params": {
+ "Region": "eu-central-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "eu-central-1"
+ "UseDualStack": false
}
},
{
@@ -99,9 +99,9 @@
}
},
"params": {
+ "Region": "eu-north-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "eu-north-1"
+ "UseDualStack": false
}
},
{
@@ -112,9 +112,9 @@
}
},
"params": {
+ "Region": "eu-west-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "eu-west-1"
+ "UseDualStack": false
}
},
{
@@ -125,9 +125,9 @@
}
},
"params": {
+ "Region": "eu-west-2",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "eu-west-2"
+ "UseDualStack": false
}
},
{
@@ -138,9 +138,9 @@
}
},
"params": {
+ "Region": "eu-west-3",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "eu-west-3"
+ "UseDualStack": false
}
},
{
@@ -151,9 +151,9 @@
}
},
"params": {
+ "Region": "sa-east-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "sa-east-1"
+ "UseDualStack": false
}
},
{
@@ -164,9 +164,9 @@
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-east-1"
+ "UseDualStack": false
}
},
{
@@ -177,9 +177,9 @@
}
},
"params": {
+ "Region": "us-east-2",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-east-2"
+ "UseDualStack": false
}
},
{
@@ -190,9 +190,9 @@
}
},
"params": {
+ "Region": "us-west-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-west-1"
+ "UseDualStack": false
}
},
{
@@ -203,9 +203,9 @@
}
},
"params": {
+ "Region": "us-west-2",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-west-2"
+ "UseDualStack": false
}
},
{
@@ -216,9 +216,9 @@
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": true,
- "UseDualStack": true,
- "Region": "us-east-1"
+ "UseDualStack": true
}
},
{
@@ -229,9 +229,9 @@
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": true,
- "UseDualStack": false,
- "Region": "us-east-1"
+ "UseDualStack": false
}
},
{
@@ -242,9 +242,9 @@
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": false,
- "UseDualStack": true,
- "Region": "us-east-1"
+ "UseDualStack": true
}
},
{
@@ -255,9 +255,9 @@
}
},
"params": {
+ "Region": "cn-north-1",
"UseFIPS": true,
- "UseDualStack": true,
- "Region": "cn-north-1"
+ "UseDualStack": true
}
},
{
@@ -268,9 +268,9 @@
}
},
"params": {
+ "Region": "cn-north-1",
"UseFIPS": true,
- "UseDualStack": false,
- "Region": "cn-north-1"
+ "UseDualStack": false
}
},
{
@@ -281,9 +281,9 @@
}
},
"params": {
+ "Region": "cn-north-1",
"UseFIPS": false,
- "UseDualStack": true,
- "Region": "cn-north-1"
+ "UseDualStack": true
}
},
{
@@ -294,9 +294,9 @@
}
},
"params": {
+ "Region": "cn-north-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "cn-north-1"
+ "UseDualStack": false
}
},
{
@@ -307,9 +307,9 @@
}
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": true,
- "UseDualStack": true,
- "Region": "us-gov-east-1"
+ "UseDualStack": true
}
},
{
@@ -320,9 +320,9 @@
}
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": true,
- "UseDualStack": false,
- "Region": "us-gov-east-1"
+ "UseDualStack": false
}
},
{
@@ -333,9 +333,9 @@
}
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": false,
- "UseDualStack": true,
- "Region": "us-gov-east-1"
+ "UseDualStack": true
}
},
{
@@ -346,9 +346,9 @@
}
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-gov-east-1"
+ "UseDualStack": false
}
},
{
@@ -357,9 +357,9 @@
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": true,
- "UseDualStack": true,
- "Region": "us-iso-east-1"
+ "UseDualStack": true
}
},
{
@@ -370,9 +370,9 @@
}
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": true,
- "UseDualStack": false,
- "Region": "us-iso-east-1"
+ "UseDualStack": false
}
},
{
@@ -381,9 +381,9 @@
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": false,
- "UseDualStack": true,
- "Region": "us-iso-east-1"
+ "UseDualStack": true
}
},
{
@@ -394,9 +394,9 @@
}
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-iso-east-1"
+ "UseDualStack": false
}
},
{
@@ -405,9 +405,9 @@
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
+ "Region": "us-isob-east-1",
"UseFIPS": true,
- "UseDualStack": true,
- "Region": "us-isob-east-1"
+ "UseDualStack": true
}
},
{
@@ -418,9 +418,9 @@
}
},
"params": {
+ "Region": "us-isob-east-1",
"UseFIPS": true,
- "UseDualStack": false,
- "Region": "us-isob-east-1"
+ "UseDualStack": false
}
},
{
@@ -429,9 +429,9 @@
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
+ "Region": "us-isob-east-1",
"UseFIPS": false,
- "UseDualStack": true,
- "Region": "us-isob-east-1"
+ "UseDualStack": true
}
},
{
@@ -442,9 +442,9 @@
}
},
"params": {
+ "Region": "us-isob-east-1",
"UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-isob-east-1"
+ "UseDualStack": false
}
},
{
@@ -455,9 +455,9 @@
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
- "Region": "us-east-1",
"Endpoint": "https://example.com"
}
},
@@ -480,9 +480,9 @@
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false,
- "Region": "us-east-1",
"Endpoint": "https://example.com"
}
},
@@ -492,9 +492,9 @@
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true,
- "Region": "us-east-1",
"Endpoint": "https://example.com"
}
},
diff --git a/models/apis/ssm-incidents/2018-05-10/paginators-1.json b/models/apis/ssm-incidents/2018-05-10/paginators-1.json
index 9a2433c8926..a18f3e7a820 100644
--- a/models/apis/ssm-incidents/2018-05-10/paginators-1.json
+++ b/models/apis/ssm-incidents/2018-05-10/paginators-1.json
@@ -6,6 +6,12 @@
"limit_key": "maxResults",
"result_key": "resourcePolicies"
},
+ "ListIncidentFindings": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "findings"
+ },
"ListIncidentRecords": {
"input_token": "nextToken",
"output_token": "nextToken",
diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json
index ba6e38c3226..79f5d0ab11c 100644
--- a/models/apis/ssm/2014-11-06/api-2.json
+++ b/models/apis/ssm/2014-11-06/api-2.json
@@ -2739,7 +2739,8 @@
"Runbooks":{"shape":"Runbooks"},
"OpsItemId":{"shape":"String"},
"AssociationId":{"shape":"String"},
- "ChangeRequestName":{"shape":"ChangeRequestName"}
+ "ChangeRequestName":{"shape":"ChangeRequestName"},
+ "Variables":{"shape":"AutomationParameterMap"}
}
},
"AutomationExecutionFilter":{
@@ -2865,7 +2866,8 @@
"ChangeCalendarOverrideApproved",
"ChangeCalendarOverrideRejected",
"CompletedWithSuccess",
- "CompletedWithFailure"
+ "CompletedWithFailure",
+ "Exited"
]
},
"AutomationParameterKey":{
@@ -8529,6 +8531,19 @@
"max":50,
"min":1
},
+ "ParentStepDetails":{
+ "type":"structure",
+ "members":{
+ "StepExecutionId":{"shape":"String"},
+ "StepName":{"shape":"String"},
+ "Action":{"shape":"AutomationActionName"},
+ "Iteration":{
+ "shape":"Integer",
+ "box":true
+ },
+ "IteratorValue":{"shape":"String"}
+ }
+ },
"Patch":{
"type":"structure",
"members":{
@@ -10135,7 +10150,8 @@
"shape":"TargetLocation",
"box":true
},
- "TriggeredAlarms":{"shape":"AlarmStateInformationList"}
+ "TriggeredAlarms":{"shape":"AlarmStateInformationList"},
+ "ParentStepDetails":{"shape":"ParentStepDetails"}
}
},
"StepExecutionFilter":{
@@ -10157,7 +10173,10 @@
"StepExecutionStatus",
"StepExecutionId",
"StepName",
- "Action"
+ "Action",
+ "ParentStepExecutionId",
+ "ParentStepIteration",
+ "ParentStepIteratorValue"
]
},
"StepExecutionFilterList":{
diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json
index 0f75ced0326..d731e752c21 100644
--- a/models/apis/ssm/2014-11-06/docs-2.json
+++ b/models/apis/ssm/2014-11-06/docs-2.json
@@ -1,6 +1,6 @@
{
"version": "2.0",
- "service": "Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure end-to-end management solution for hybrid cloud environments that enables safe and secure operations at scale.
This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.
Related resources
",
+ "service": "Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure end-to-end management solution for hybrid cloud environments that enables safe and secure operations at scale.
This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.
Related resources
",
"operations": {
"AddTagsToResource": "Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store parameters, and patch baselines. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed nodes that helps you track each node's owner and stack level. For example:
-
Key=Owner,Value=DbAdmin
-
Key=Owner,Value=SysAdmin
-
Key=Owner,Value=Dev
-
Key=Stack,Value=Production
-
Key=Stack,Value=Pre-Production
-
Key=Stack,Value=Test
Most resources can have a maximum of 50 tags. Automations can have a maximum of 5 tags.
We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to and are interpreted strictly as a string of characters.
For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide.
",
"AssociateOpsItemRelatedItem": "Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.
",
@@ -736,6 +736,7 @@
"AutomationActionName": {
"base": null,
"refs": {
+ "ParentStepDetails$Action": "The name of the automation action.
",
"StepExecution$Action": "The action this step performs. The action determines the behavior of the step.
"
}
},
@@ -850,6 +851,7 @@
"refs": {
"AutomationExecution$Parameters": "The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
",
"AutomationExecution$Outputs": "The list of execution outputs as defined in the Automation runbook.
",
+ "AutomationExecution$Variables": "Variables defined for the automation.
",
"AutomationExecutionMetadata$Outputs": "The list of execution outputs as defined in the Automation runbook.
",
"FailureDetails$Details": "Detailed information about the Automation step failure.
",
"MaintenanceWindowAutomationParameters$Parameters": "The parameters for the AUTOMATION
task.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters
option in the TaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
For AUTOMATION
task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.
",
@@ -3334,6 +3336,7 @@
"DescribePatchGroupStateResult$InstancesWithNotApplicablePatches": "The number of managed nodes with patches that aren't applicable.
",
"DescribePatchGroupStateResult$InstancesWithUnreportedNotApplicablePatches": "The number of managed nodes with NotApplicable
patches beyond the supported limit, which aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.
",
"OpsItemLimitExceededException$Limit": null,
+ "ParentStepDetails$Iteration": "The current repetition of the loop represented by an integer.
",
"ProgressCounters$TotalSteps": "The total number of steps run in all specified Amazon Web Services Regions and Amazon Web Services accounts for the current Automation execution.
",
"ProgressCounters$SuccessSteps": "The total number of steps that successfully completed in all specified Amazon Web Services Regions and Amazon Web Services accounts for the current Automation execution.
",
"ProgressCounters$FailedSteps": "The total number of steps that failed to run in all specified Amazon Web Services Regions and Amazon Web Services accounts for the current Automation execution.
",
@@ -5544,9 +5547,9 @@
"OpsItemType": {
"base": null,
"refs": {
- "CreateOpsItemRequest$OpsItemType": "The type of OpsItem to create. Systems Manager supports the following types of OpsItems:
-
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
-
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
-
/aws/insights
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
",
- "OpsItem$OpsItemType": "The type of OpsItem. Systems Manager supports the following types of OpsItems:
-
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
-
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
-
/aws/insights
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
",
- "OpsItemSummary$OpsItemType": "The type of OpsItem. Systems Manager supports the following types of OpsItems:
-
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
-
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
-
/aws/insights
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
"
+ "CreateOpsItemRequest$OpsItemType": "The type of OpsItem to create. Systems Manager supports the following types of OpsItems:
-
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
-
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
-
/aws/insight
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
",
+ "OpsItem$OpsItemType": "The type of OpsItem. Systems Manager supports the following types of OpsItems:
-
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
-
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
-
/aws/insight
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
",
+ "OpsItemSummary$OpsItemType": "The type of OpsItem. Systems Manager supports the following types of OpsItems:
-
/aws/issue
This type of OpsItem is used for default OpsItems created by OpsCenter.
-
/aws/changerequest
This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests.
-
/aws/insight
This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems.
"
}
},
"OpsMetadata": {
@@ -5985,6 +5988,12 @@
"ParametersFilter$Values": "The filter values.
"
}
},
+ "ParentStepDetails": {
+ "base": "A detailed status of the parent step.
",
+ "refs": {
+ "StepExecution$ParentStepDetails": "Information about the parent step.
"
+ }
+ },
"Patch": {
"base": "Represents metadata about a patch.
",
"refs": {
@@ -6345,7 +6354,7 @@
"base": null,
"refs": {
"DescribeAvailablePatchesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Windows Server
Supported keys for Windows Server managed node patches include the following:
-
PATCH_SET
Sample values: OS
| APPLICATION
-
PRODUCT
Sample values: WindowsServer2012
| Office 2010
| MicrosoftDefenderAntivirus
-
PRODUCT_FAMILY
Sample values: Windows
| Office
-
MSRC_SEVERITY
Sample values: ServicePacks
| Important
| Moderate
-
CLASSIFICATION
Sample values: ServicePacks
| SecurityUpdates
| DefinitionUpdates
-
PATCH_ID
Sample values: KB123456
| KB4516046
Linux
When specifying filters for Linux patches, you must specify a key-pair for PRODUCT
. For example, using the Command Line Interface (CLI), the following command fails:
aws ssm describe-available-patches --filters Key=CVE_ID,Values=CVE-2018-3615
However, the following command succeeds:
aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03 Key=CVE_ID,Values=CVE-2018-3615
Supported keys for Linux managed node patches include the following:
-
PRODUCT
Sample values: AmazonLinux2018.03
| AmazonLinux2.0
-
NAME
Sample values: kernel-headers
| samba-python
| php
-
SEVERITY
Sample values: Critical
| Important
| Medium
| Low
-
EPOCH
Sample values: 0
| 1
-
VERSION
Sample values: 78.6.1
| 4.10.16
-
RELEASE
Sample values: 9.56.amzn1
| 1.amzn2
-
ARCH
Sample values: i686
| x86_64
-
REPOSITORY
Sample values: Core
| Updates
-
ADVISORY_ID
Sample values: ALAS-2018-1058
| ALAS2-2021-1594
-
CVE_ID
Sample values: CVE-2018-3615
| CVE-2020-1472
-
BUGZILLA_ID
Sample values: 1463241
",
- "DescribeInstancePatchesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
-
Classification
Sample values: Security
| SecurityUpdates
-
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
-
Severity
Sample values: Important
| Medium
| Low
-
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
",
+ "DescribeInstancePatchesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
-
Classification
Sample values: Security
| SecurityUpdates
-
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
-
Severity
Sample values: Important
| Medium
| Low
-
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
",
"DescribeMaintenanceWindowScheduleRequest$Filters": "Filters used to limit the range of results. For example, you can limit maintenance window executions to only those scheduled before or after a certain date and time.
",
"DescribePatchBaselinesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchBaselines
include the following:
-
NAME_PREFIX
Sample values: AWS-
| My-
-
OWNER
Sample values: AWS
| Self
-
OPERATING_SYSTEM
Sample values: AMAZON_LINUX
| SUSE
| WINDOWS
",
"DescribePatchGroupsRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchGroups
include the following:
"
@@ -7293,7 +7302,7 @@
"base": null,
"refs": {
"ServiceSetting$SettingValue": "The value of the service setting.
",
- "UpdateServiceSettingRequest$SettingValue": "The new value to specify for the service setting. The following list specifies the available values for each setting.
-
/ssm/managed-instance/default-ec2-instance-management-role: The name of an IAM role
-
/ssm/automation/customer-script-log-destination
: CloudWatch
-
/ssm/automation/customer-script-log-group-name
: The name of an Amazon CloudWatch Logs log group
-
/ssm/documents/console/public-sharing-permission
: Enable
or Disable
-
/ssm/managed-instance/activation-tier
: standard
or advanced
-
/ssm/opsinsights/opscenter
: Enabled
or Disabled
-
/ssm/parameter-store/default-parameter-tier
: Standard
, Advanced
, Intelligent-Tiering
-
/ssm/parameter-store/high-throughput-enabled
: true
or false
"
+ "UpdateServiceSettingRequest$SettingValue": "The new value to specify for the service setting. The following list specifies the available values for each setting.
-
For /ssm/managed-instance/default-ec2-instance-management-role
, enter the name of an IAM role.
-
For /ssm/automation/customer-script-log-destination
, enter CloudWatch
.
-
For /ssm/automation/customer-script-log-group-name
, enter the name of an Amazon CloudWatch Logs log group.
-
For /ssm/documents/console/public-sharing-permission
, enter Enable
or Disable
.
-
For /ssm/managed-instance/activation-tier
, enter standard
or advanced
.
-
For /ssm/opsinsights/opscenter
, enter Enabled
or Disabled
.
-
For /ssm/parameter-store/default-parameter-tier
, enter Standard
, Advanced
, or Intelligent-Tiering
-
For /ssm/parameter-store/high-throughput-enabled
, enter true
or false
.
"
}
},
"Session": {
@@ -7587,7 +7596,7 @@
"StepExecutionFilterKey": {
"base": null,
"refs": {
- "StepExecutionFilter$Key": "One or more keys to limit the results. Valid filter keys include the following: StepName, Action, StepExecutionId, StepExecutionStatus, StartTimeBefore, StartTimeAfter.
"
+ "StepExecutionFilter$Key": "One or more keys to limit the results.
"
}
},
"StepExecutionFilterList": {
@@ -7787,6 +7796,9 @@
"ParameterPatternMismatchException$message": "The parameter name isn't valid.
",
"ParameterVersionLabelLimitExceeded$message": null,
"ParameterVersionNotFound$message": null,
+ "ParentStepDetails$StepExecutionId": "The unique ID of a step execution.
",
+ "ParentStepDetails$StepName": "The name of the step.
",
+ "ParentStepDetails$IteratorValue": "The current value of the specified iterator in the loop.
",
"PoliciesLimitExceededException$message": null,
"RelatedOpsItem$OpsItemId": "The ID of an OpsItem related to the current OpsItem.
",
"ResourceDataSyncConflictException$Message": null,
diff --git a/models/apis/sso-admin/2020-07-20/api-2.json b/models/apis/sso-admin/2020-07-20/api-2.json
index 74cff33261b..138d192aa06 100644
--- a/models/apis/sso-admin/2020-07-20/api-2.json
+++ b/models/apis/sso-admin/2020-07-20/api-2.json
@@ -1,1731 +1,5417 @@
{
- "version":"2.0",
- "metadata":{
- "apiVersion":"2020-07-20",
- "endpointPrefix":"sso",
- "jsonVersion":"1.1",
- "protocol":"json",
- "serviceAbbreviation":"SSO Admin",
- "serviceFullName":"AWS Single Sign-On Admin",
- "serviceId":"SSO Admin",
- "signatureVersion":"v4",
- "signingName":"sso",
- "targetPrefix":"SWBExternalService",
- "uid":"sso-admin-2020-07-20"
+ "metadata": {
+ "apiVersion": "2020-07-20",
+ "endpointPrefix": "sso",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceAbbreviation": "SSO Admin",
+ "serviceFullName": "AWS Single Sign-On Admin",
+ "serviceId": "SSO Admin",
+ "signatureVersion": "v4",
+ "signingName": "sso",
+ "targetPrefix": "SWBExternalService",
+ "uid": "sso-admin-2020-07-20"
},
- "operations":{
- "AttachCustomerManagedPolicyReferenceToPermissionSet":{
- "name":"AttachCustomerManagedPolicyReferenceToPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"AttachCustomerManagedPolicyReferenceToPermissionSetRequest"},
- "output":{"shape":"AttachCustomerManagedPolicyReferenceToPermissionSetResponse"},
- "errors":[
- {"shape":"ServiceQuotaExceededException"},
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "AttachManagedPolicyToPermissionSet":{
- "name":"AttachManagedPolicyToPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"AttachManagedPolicyToPermissionSetRequest"},
- "output":{"shape":"AttachManagedPolicyToPermissionSetResponse"},
- "errors":[
- {"shape":"ServiceQuotaExceededException"},
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "CreateAccountAssignment":{
- "name":"CreateAccountAssignment",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreateAccountAssignmentRequest"},
- "output":{"shape":"CreateAccountAssignmentResponse"},
- "errors":[
- {"shape":"ServiceQuotaExceededException"},
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "CreateInstanceAccessControlAttributeConfiguration":{
- "name":"CreateInstanceAccessControlAttributeConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreateInstanceAccessControlAttributeConfigurationRequest"},
- "output":{"shape":"CreateInstanceAccessControlAttributeConfigurationResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "CreatePermissionSet":{
- "name":"CreatePermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreatePermissionSetRequest"},
- "output":{"shape":"CreatePermissionSetResponse"},
- "errors":[
- {"shape":"ServiceQuotaExceededException"},
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "DeleteAccountAssignment":{
- "name":"DeleteAccountAssignment",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteAccountAssignmentRequest"},
- "output":{"shape":"DeleteAccountAssignmentResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "DeleteInlinePolicyFromPermissionSet":{
- "name":"DeleteInlinePolicyFromPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteInlinePolicyFromPermissionSetRequest"},
- "output":{"shape":"DeleteInlinePolicyFromPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "DeleteInstanceAccessControlAttributeConfiguration":{
- "name":"DeleteInstanceAccessControlAttributeConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteInstanceAccessControlAttributeConfigurationRequest"},
- "output":{"shape":"DeleteInstanceAccessControlAttributeConfigurationResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "DeletePermissionSet":{
- "name":"DeletePermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeletePermissionSetRequest"},
- "output":{"shape":"DeletePermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "DeletePermissionsBoundaryFromPermissionSet":{
- "name":"DeletePermissionsBoundaryFromPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeletePermissionsBoundaryFromPermissionSetRequest"},
- "output":{"shape":"DeletePermissionsBoundaryFromPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "DescribeAccountAssignmentCreationStatus":{
- "name":"DescribeAccountAssignmentCreationStatus",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeAccountAssignmentCreationStatusRequest"},
- "output":{"shape":"DescribeAccountAssignmentCreationStatusResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "DescribeAccountAssignmentDeletionStatus":{
- "name":"DescribeAccountAssignmentDeletionStatus",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeAccountAssignmentDeletionStatusRequest"},
- "output":{"shape":"DescribeAccountAssignmentDeletionStatusResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "DescribeInstanceAccessControlAttributeConfiguration":{
- "name":"DescribeInstanceAccessControlAttributeConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeInstanceAccessControlAttributeConfigurationRequest"},
- "output":{"shape":"DescribeInstanceAccessControlAttributeConfigurationResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "DescribePermissionSet":{
- "name":"DescribePermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribePermissionSetRequest"},
- "output":{"shape":"DescribePermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "DescribePermissionSetProvisioningStatus":{
- "name":"DescribePermissionSetProvisioningStatus",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribePermissionSetProvisioningStatusRequest"},
- "output":{"shape":"DescribePermissionSetProvisioningStatusResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "DetachCustomerManagedPolicyReferenceFromPermissionSet":{
- "name":"DetachCustomerManagedPolicyReferenceFromPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DetachCustomerManagedPolicyReferenceFromPermissionSetRequest"},
- "output":{"shape":"DetachCustomerManagedPolicyReferenceFromPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "DetachManagedPolicyFromPermissionSet":{
- "name":"DetachManagedPolicyFromPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DetachManagedPolicyFromPermissionSetRequest"},
- "output":{"shape":"DetachManagedPolicyFromPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "GetInlinePolicyForPermissionSet":{
- "name":"GetInlinePolicyForPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetInlinePolicyForPermissionSetRequest"},
- "output":{"shape":"GetInlinePolicyForPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "GetPermissionsBoundaryForPermissionSet":{
- "name":"GetPermissionsBoundaryForPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetPermissionsBoundaryForPermissionSetRequest"},
- "output":{"shape":"GetPermissionsBoundaryForPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListAccountAssignmentCreationStatus":{
- "name":"ListAccountAssignmentCreationStatus",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListAccountAssignmentCreationStatusRequest"},
- "output":{"shape":"ListAccountAssignmentCreationStatusResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListAccountAssignmentDeletionStatus":{
- "name":"ListAccountAssignmentDeletionStatus",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListAccountAssignmentDeletionStatusRequest"},
- "output":{"shape":"ListAccountAssignmentDeletionStatusResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListAccountAssignments":{
- "name":"ListAccountAssignments",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListAccountAssignmentsRequest"},
- "output":{"shape":"ListAccountAssignmentsResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListAccountsForProvisionedPermissionSet":{
- "name":"ListAccountsForProvisionedPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListAccountsForProvisionedPermissionSetRequest"},
- "output":{"shape":"ListAccountsForProvisionedPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListCustomerManagedPolicyReferencesInPermissionSet":{
- "name":"ListCustomerManagedPolicyReferencesInPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListCustomerManagedPolicyReferencesInPermissionSetRequest"},
- "output":{"shape":"ListCustomerManagedPolicyReferencesInPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListInstances":{
- "name":"ListInstances",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListInstancesRequest"},
- "output":{"shape":"ListInstancesResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListManagedPoliciesInPermissionSet":{
- "name":"ListManagedPoliciesInPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListManagedPoliciesInPermissionSetRequest"},
- "output":{"shape":"ListManagedPoliciesInPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListPermissionSetProvisioningStatus":{
- "name":"ListPermissionSetProvisioningStatus",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListPermissionSetProvisioningStatusRequest"},
- "output":{"shape":"ListPermissionSetProvisioningStatusResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListPermissionSets":{
- "name":"ListPermissionSets",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListPermissionSetsRequest"},
- "output":{"shape":"ListPermissionSetsResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListPermissionSetsProvisionedToAccount":{
- "name":"ListPermissionSetsProvisionedToAccount",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListPermissionSetsProvisionedToAccountRequest"},
- "output":{"shape":"ListPermissionSetsProvisionedToAccountResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ListTagsForResource":{
- "name":"ListTagsForResource",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListTagsForResourceRequest"},
- "output":{"shape":"ListTagsForResourceResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"}
- ]
- },
- "ProvisionPermissionSet":{
- "name":"ProvisionPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ProvisionPermissionSetRequest"},
- "output":{"shape":"ProvisionPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "PutInlinePolicyToPermissionSet":{
- "name":"PutInlinePolicyToPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"PutInlinePolicyToPermissionSetRequest"},
- "output":{"shape":"PutInlinePolicyToPermissionSetResponse"},
- "errors":[
- {"shape":"ServiceQuotaExceededException"},
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "PutPermissionsBoundaryToPermissionSet":{
- "name":"PutPermissionsBoundaryToPermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"PutPermissionsBoundaryToPermissionSetRequest"},
- "output":{"shape":"PutPermissionsBoundaryToPermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "TagResource":{
- "name":"TagResource",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"TagResourceRequest"},
- "output":{"shape":"TagResourceResponse"},
- "errors":[
- {"shape":"ServiceQuotaExceededException"},
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "UntagResource":{
- "name":"UntagResource",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"UntagResourceRequest"},
- "output":{"shape":"UntagResourceResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "UpdateInstanceAccessControlAttributeConfiguration":{
- "name":"UpdateInstanceAccessControlAttributeConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"UpdateInstanceAccessControlAttributeConfigurationRequest"},
- "output":{"shape":"UpdateInstanceAccessControlAttributeConfigurationResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- },
- "UpdatePermissionSet":{
- "name":"UpdatePermissionSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"UpdatePermissionSetRequest"},
- "output":{"shape":"UpdatePermissionSetResponse"},
- "errors":[
- {"shape":"ThrottlingException"},
- {"shape":"InternalServerException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"AccessDeniedException"},
- {"shape":"ValidationException"},
- {"shape":"ConflictException"}
- ]
- }
- },
- "shapes":{
- "AccessControlAttribute":{
- "type":"structure",
- "required":[
- "Key",
- "Value"
- ],
- "members":{
- "Key":{"shape":"AccessControlAttributeKey"},
- "Value":{"shape":"AccessControlAttributeValue"}
- }
- },
- "AccessControlAttributeKey":{
- "type":"string",
- "max":128,
- "min":1,
- "pattern":"^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]+$"
- },
- "AccessControlAttributeList":{
- "type":"list",
- "member":{"shape":"AccessControlAttribute"},
- "max":50,
- "min":0
- },
- "AccessControlAttributeValue":{
- "type":"structure",
- "required":["Source"],
- "members":{
- "Source":{"shape":"AccessControlAttributeValueSourceList"}
- }
- },
- "AccessControlAttributeValueSource":{
- "type":"string",
- "max":256,
- "min":0,
- "pattern":"^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@\\[\\]\\{\\}\\$\\\\\"]*$"
- },
- "AccessControlAttributeValueSourceList":{
- "type":"list",
- "member":{"shape":"AccessControlAttributeValueSource"},
- "max":1,
- "min":1
- },
- "AccessDeniedException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"AccessDeniedExceptionMessage"}
- },
- "exception":true
- },
- "AccessDeniedExceptionMessage":{"type":"string"},
- "AccountAssignment":{
- "type":"structure",
- "members":{
- "AccountId":{"shape":"AccountId"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "PrincipalId":{"shape":"PrincipalId"},
- "PrincipalType":{"shape":"PrincipalType"}
- }
- },
- "AccountAssignmentList":{
- "type":"list",
- "member":{"shape":"AccountAssignment"}
- },
- "AccountAssignmentOperationStatus":{
- "type":"structure",
- "members":{
- "CreatedDate":{"shape":"Date"},
- "FailureReason":{"shape":"Reason"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "PrincipalId":{"shape":"PrincipalId"},
- "PrincipalType":{"shape":"PrincipalType"},
- "RequestId":{"shape":"UUId"},
- "Status":{"shape":"StatusValues"},
- "TargetId":{"shape":"TargetId"},
- "TargetType":{"shape":"TargetType"}
- }
- },
- "AccountAssignmentOperationStatusList":{
- "type":"list",
- "member":{"shape":"AccountAssignmentOperationStatusMetadata"}
- },
- "AccountAssignmentOperationStatusMetadata":{
- "type":"structure",
- "members":{
- "CreatedDate":{"shape":"Date"},
- "RequestId":{"shape":"UUId"},
- "Status":{"shape":"StatusValues"}
- }
- },
- "AccountId":{
- "type":"string",
- "max":12,
- "min":12,
- "pattern":"^\\d{12}$"
- },
- "AccountList":{
- "type":"list",
- "member":{"shape":"AccountId"}
- },
- "AttachCustomerManagedPolicyReferenceToPermissionSetRequest":{
- "type":"structure",
- "required":[
- "CustomerManagedPolicyReference",
- "InstanceArn",
- "PermissionSetArn"
+ "operations": {
+ "AttachCustomerManagedPolicyReferenceToPermissionSet": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "CustomerManagedPolicyReference":{"shape":"CustomerManagedPolicyReference"},
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "AttachCustomerManagedPolicyReferenceToPermissionSetRequest"
+ },
+ "name": "AttachCustomerManagedPolicyReferenceToPermissionSet",
+ "output": {
+ "shape": "AttachCustomerManagedPolicyReferenceToPermissionSetResponse"
}
},
- "AttachCustomerManagedPolicyReferenceToPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "AttachManagedPolicyToPermissionSet": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "AttachManagedPolicyToPermissionSetRequest"
+ },
+ "name": "AttachManagedPolicyToPermissionSet",
+ "output": {
+ "shape": "AttachManagedPolicyToPermissionSetResponse"
}
},
- "AttachManagedPolicyToPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "ManagedPolicyArn",
- "PermissionSetArn"
+ "CreateAccountAssignment": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "ManagedPolicyArn":{"shape":"ManagedPolicyArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "CreateAccountAssignmentRequest"
+ },
+ "name": "CreateAccountAssignment",
+ "output": {
+ "shape": "CreateAccountAssignmentResponse"
}
},
- "AttachManagedPolicyToPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "CreateApplication": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "CreateApplicationRequest"
+ },
+ "name": "CreateApplication",
+ "output": {
+ "shape": "CreateApplicationResponse"
}
},
- "AttachedManagedPolicy":{
- "type":"structure",
- "members":{
- "Arn":{"shape":"ManagedPolicyArn"},
- "Name":{"shape":"Name"}
+ "CreateApplicationAssignment": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "CreateApplicationAssignmentRequest"
+ },
+ "name": "CreateApplicationAssignment",
+ "output": {
+ "shape": "CreateApplicationAssignmentResponse"
}
},
- "AttachedManagedPolicyList":{
- "type":"list",
- "member":{"shape":"AttachedManagedPolicy"}
- },
- "ConflictException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ConflictExceptionMessage"}
+ "CreateInstance": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
},
- "exception":true
+ "input": {
+ "shape": "CreateInstanceRequest"
+ },
+ "name": "CreateInstance",
+ "output": {
+ "shape": "CreateInstanceResponse"
+ }
},
- "ConflictExceptionMessage":{"type":"string"},
- "CreateAccountAssignmentRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn",
- "PrincipalId",
- "PrincipalType",
- "TargetId",
- "TargetType"
+ "CreateInstanceAccessControlAttributeConfiguration": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "PrincipalId":{"shape":"PrincipalId"},
- "PrincipalType":{"shape":"PrincipalType"},
- "TargetId":{"shape":"TargetId"},
- "TargetType":{"shape":"TargetType"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "CreateInstanceAccessControlAttributeConfigurationRequest"
+ },
+ "name": "CreateInstanceAccessControlAttributeConfiguration",
+ "output": {
+ "shape": "CreateInstanceAccessControlAttributeConfigurationResponse"
}
},
- "CreateAccountAssignmentResponse":{
- "type":"structure",
- "members":{
- "AccountAssignmentCreationStatus":{"shape":"AccountAssignmentOperationStatus"}
+ "CreatePermissionSet": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "CreatePermissionSetRequest"
+ },
+ "name": "CreatePermissionSet",
+ "output": {
+ "shape": "CreatePermissionSetResponse"
}
},
- "CreateInstanceAccessControlAttributeConfigurationRequest":{
- "type":"structure",
- "required":[
- "InstanceAccessControlAttributeConfiguration",
- "InstanceArn"
+ "CreateTrustedTokenIssuer": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceAccessControlAttributeConfiguration":{"shape":"InstanceAccessControlAttributeConfiguration"},
- "InstanceArn":{"shape":"InstanceArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "CreateTrustedTokenIssuerRequest"
+ },
+ "name": "CreateTrustedTokenIssuer",
+ "output": {
+ "shape": "CreateTrustedTokenIssuerResponse"
}
},
- "CreateInstanceAccessControlAttributeConfigurationResponse":{
- "type":"structure",
- "members":{
+ "DeleteAccountAssignment": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeleteAccountAssignmentRequest"
+ },
+ "name": "DeleteAccountAssignment",
+ "output": {
+ "shape": "DeleteAccountAssignmentResponse"
}
},
- "CreatePermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "Name"
+ "DeleteApplication": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "Description":{"shape":"PermissionSetDescription"},
- "InstanceArn":{"shape":"InstanceArn"},
- "Name":{"shape":"PermissionSetName"},
- "RelayState":{"shape":"RelayState"},
- "SessionDuration":{"shape":"Duration"},
- "Tags":{"shape":"TagList"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeleteApplicationRequest"
+ },
+ "name": "DeleteApplication",
+ "output": {
+ "shape": "DeleteApplicationResponse"
}
},
- "CreatePermissionSetResponse":{
- "type":"structure",
- "members":{
- "PermissionSet":{"shape":"PermissionSet"}
+ "DeleteApplicationAccessScope": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "DeleteApplicationAccessScopeRequest"
+ },
+ "name": "DeleteApplicationAccessScope"
+ },
+ "DeleteApplicationAssignment": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "DeleteApplicationAssignmentRequest"
+ },
+ "name": "DeleteApplicationAssignment",
+ "output": {
+ "shape": "DeleteApplicationAssignmentResponse"
}
},
- "CustomerManagedPolicyReference":{
- "type":"structure",
- "required":["Name"],
- "members":{
- "Name":{"shape":"ManagedPolicyName"},
- "Path":{"shape":"ManagedPolicyPath"}
+ "DeleteApplicationAuthenticationMethod": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "DeleteApplicationAuthenticationMethodRequest"
+ },
+ "name": "DeleteApplicationAuthenticationMethod"
+ },
+ "DeleteApplicationGrant": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "DeleteApplicationGrantRequest"
+ },
+ "name": "DeleteApplicationGrant"
+ },
+ "DeleteInlinePolicyFromPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeleteInlinePolicyFromPermissionSetRequest"
+ },
+ "name": "DeleteInlinePolicyFromPermissionSet",
+ "output": {
+ "shape": "DeleteInlinePolicyFromPermissionSetResponse"
}
},
- "CustomerManagedPolicyReferenceList":{
- "type":"list",
- "member":{"shape":"CustomerManagedPolicyReference"}
- },
- "Date":{"type":"timestamp"},
- "DeleteAccountAssignmentRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn",
- "PrincipalId",
- "PrincipalType",
- "TargetId",
- "TargetType"
+ "DeleteInstance": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "PrincipalId":{"shape":"PrincipalId"},
- "PrincipalType":{"shape":"PrincipalType"},
- "TargetId":{"shape":"TargetId"},
- "TargetType":{"shape":"TargetType"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeleteInstanceRequest"
+ },
+ "name": "DeleteInstance",
+ "output": {
+ "shape": "DeleteInstanceResponse"
}
},
- "DeleteAccountAssignmentResponse":{
- "type":"structure",
- "members":{
- "AccountAssignmentDeletionStatus":{"shape":"AccountAssignmentOperationStatus"}
+ "DeleteInstanceAccessControlAttributeConfiguration": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeleteInstanceAccessControlAttributeConfigurationRequest"
+ },
+ "name": "DeleteInstanceAccessControlAttributeConfiguration",
+ "output": {
+ "shape": "DeleteInstanceAccessControlAttributeConfigurationResponse"
}
},
- "DeleteInlinePolicyFromPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "DeletePermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeletePermissionSetRequest"
+ },
+ "name": "DeletePermissionSet",
+ "output": {
+ "shape": "DeletePermissionSetResponse"
}
},
- "DeleteInlinePolicyFromPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "DeletePermissionsBoundaryFromPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeletePermissionsBoundaryFromPermissionSetRequest"
+ },
+ "name": "DeletePermissionsBoundaryFromPermissionSet",
+ "output": {
+ "shape": "DeletePermissionsBoundaryFromPermissionSetResponse"
}
},
- "DeleteInstanceAccessControlAttributeConfigurationRequest":{
- "type":"structure",
- "required":["InstanceArn"],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"}
+ "DeleteTrustedTokenIssuer": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DeleteTrustedTokenIssuerRequest"
+ },
+ "name": "DeleteTrustedTokenIssuer",
+ "output": {
+ "shape": "DeleteTrustedTokenIssuerResponse"
}
},
- "DeleteInstanceAccessControlAttributeConfigurationResponse":{
- "type":"structure",
- "members":{
+ "DescribeAccountAssignmentCreationStatus": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeAccountAssignmentCreationStatusRequest"
+ },
+ "name": "DescribeAccountAssignmentCreationStatus",
+ "output": {
+ "shape": "DescribeAccountAssignmentCreationStatusResponse"
}
},
- "DeletePermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "DescribeAccountAssignmentDeletionStatus": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeAccountAssignmentDeletionStatusRequest"
+ },
+ "name": "DescribeAccountAssignmentDeletionStatus",
+ "output": {
+ "shape": "DescribeAccountAssignmentDeletionStatusResponse"
}
},
- "DeletePermissionSetResponse":{
- "type":"structure",
- "members":{
+ "DescribeApplication": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeApplicationRequest"
+ },
+ "name": "DescribeApplication",
+ "output": {
+ "shape": "DescribeApplicationResponse"
}
},
- "DeletePermissionsBoundaryFromPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "DescribeApplicationAssignment": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeApplicationAssignmentRequest"
+ },
+ "name": "DescribeApplicationAssignment",
+ "output": {
+ "shape": "DescribeApplicationAssignmentResponse"
}
},
- "DeletePermissionsBoundaryFromPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "DescribeApplicationProvider": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeApplicationProviderRequest"
+ },
+ "name": "DescribeApplicationProvider",
+ "output": {
+ "shape": "DescribeApplicationProviderResponse"
}
},
- "DescribeAccountAssignmentCreationStatusRequest":{
- "type":"structure",
- "required":[
- "AccountAssignmentCreationRequestId",
- "InstanceArn"
+ "DescribeInstance": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "AccountAssignmentCreationRequestId":{"shape":"UUId"},
- "InstanceArn":{"shape":"InstanceArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeInstanceRequest"
+ },
+ "name": "DescribeInstance",
+ "output": {
+ "shape": "DescribeInstanceResponse"
}
},
- "DescribeAccountAssignmentCreationStatusResponse":{
- "type":"structure",
- "members":{
- "AccountAssignmentCreationStatus":{"shape":"AccountAssignmentOperationStatus"}
+ "DescribeInstanceAccessControlAttributeConfiguration": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeInstanceAccessControlAttributeConfigurationRequest"
+ },
+ "name": "DescribeInstanceAccessControlAttributeConfiguration",
+ "output": {
+ "shape": "DescribeInstanceAccessControlAttributeConfigurationResponse"
}
},
- "DescribeAccountAssignmentDeletionStatusRequest":{
- "type":"structure",
- "required":[
- "AccountAssignmentDeletionRequestId",
- "InstanceArn"
+ "DescribePermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "AccountAssignmentDeletionRequestId":{"shape":"UUId"},
- "InstanceArn":{"shape":"InstanceArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribePermissionSetRequest"
+ },
+ "name": "DescribePermissionSet",
+ "output": {
+ "shape": "DescribePermissionSetResponse"
}
},
- "DescribeAccountAssignmentDeletionStatusResponse":{
- "type":"structure",
- "members":{
- "AccountAssignmentDeletionStatus":{"shape":"AccountAssignmentOperationStatus"}
+ "DescribePermissionSetProvisioningStatus": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribePermissionSetProvisioningStatusRequest"
+ },
+ "name": "DescribePermissionSetProvisioningStatus",
+ "output": {
+ "shape": "DescribePermissionSetProvisioningStatusResponse"
}
},
- "DescribeInstanceAccessControlAttributeConfigurationRequest":{
- "type":"structure",
- "required":["InstanceArn"],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"}
+ "DescribeTrustedTokenIssuer": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeTrustedTokenIssuerRequest"
+ },
+ "name": "DescribeTrustedTokenIssuer",
+ "output": {
+ "shape": "DescribeTrustedTokenIssuerResponse"
}
},
- "DescribeInstanceAccessControlAttributeConfigurationResponse":{
- "type":"structure",
- "members":{
- "InstanceAccessControlAttributeConfiguration":{"shape":"InstanceAccessControlAttributeConfiguration"},
- "Status":{"shape":"InstanceAccessControlAttributeConfigurationStatus"},
- "StatusReason":{"shape":"InstanceAccessControlAttributeConfigurationStatusReason"}
+ "DetachCustomerManagedPolicyReferenceFromPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DetachCustomerManagedPolicyReferenceFromPermissionSetRequest"
+ },
+ "name": "DetachCustomerManagedPolicyReferenceFromPermissionSet",
+ "output": {
+ "shape": "DetachCustomerManagedPolicyReferenceFromPermissionSetResponse"
}
},
- "DescribePermissionSetProvisioningStatusRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "ProvisionPermissionSetRequestId"
+ "DetachManagedPolicyFromPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "ProvisionPermissionSetRequestId":{"shape":"UUId"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DetachManagedPolicyFromPermissionSetRequest"
+ },
+ "name": "DetachManagedPolicyFromPermissionSet",
+ "output": {
+ "shape": "DetachManagedPolicyFromPermissionSetResponse"
}
},
- "DescribePermissionSetProvisioningStatusResponse":{
- "type":"structure",
- "members":{
- "PermissionSetProvisioningStatus":{"shape":"PermissionSetProvisioningStatus"}
+ "GetApplicationAccessScope": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "GetApplicationAccessScopeRequest"
+ },
+ "name": "GetApplicationAccessScope",
+ "output": {
+ "shape": "GetApplicationAccessScopeResponse"
}
},
- "DescribePermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "GetApplicationAssignmentConfiguration": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "GetApplicationAssignmentConfigurationRequest"
+ },
+ "name": "GetApplicationAssignmentConfiguration",
+ "output": {
+ "shape": "GetApplicationAssignmentConfigurationResponse"
}
},
- "DescribePermissionSetResponse":{
- "type":"structure",
- "members":{
- "PermissionSet":{"shape":"PermissionSet"}
+ "GetApplicationAuthenticationMethod": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "GetApplicationAuthenticationMethodRequest"
+ },
+ "name": "GetApplicationAuthenticationMethod",
+ "output": {
+ "shape": "GetApplicationAuthenticationMethodResponse"
}
},
- "DetachCustomerManagedPolicyReferenceFromPermissionSetRequest":{
- "type":"structure",
- "required":[
- "CustomerManagedPolicyReference",
- "InstanceArn",
- "PermissionSetArn"
+ "GetApplicationGrant": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "CustomerManagedPolicyReference":{"shape":"CustomerManagedPolicyReference"},
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "GetApplicationGrantRequest"
+ },
+ "name": "GetApplicationGrant",
+ "output": {
+ "shape": "GetApplicationGrantResponse"
}
},
- "DetachCustomerManagedPolicyReferenceFromPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "GetInlinePolicyForPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "GetInlinePolicyForPermissionSetRequest"
+ },
+ "name": "GetInlinePolicyForPermissionSet",
+ "output": {
+ "shape": "GetInlinePolicyForPermissionSetResponse"
}
},
- "DetachManagedPolicyFromPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "ManagedPolicyArn",
- "PermissionSetArn"
+ "GetPermissionsBoundaryForPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "ManagedPolicyArn":{"shape":"ManagedPolicyArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "GetPermissionsBoundaryForPermissionSetRequest"
+ },
+ "name": "GetPermissionsBoundaryForPermissionSet",
+ "output": {
+ "shape": "GetPermissionsBoundaryForPermissionSetResponse"
}
},
- "DetachManagedPolicyFromPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "ListAccountAssignmentCreationStatus": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListAccountAssignmentCreationStatusRequest"
+ },
+ "name": "ListAccountAssignmentCreationStatus",
+ "output": {
+ "shape": "ListAccountAssignmentCreationStatusResponse"
}
},
- "Duration":{
- "type":"string",
- "max":100,
- "min":1,
- "pattern":"^(-?)P(?=\\d|T\\d)(?:(\\d+)Y)?(?:(\\d+)M)?(?:(\\d+)([DW]))?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+(?:\\.\\d+)?)S)?)?$"
- },
- "GetInlinePolicyForPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "ListAccountAssignmentDeletionStatus": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListAccountAssignmentDeletionStatusRequest"
+ },
+ "name": "ListAccountAssignmentDeletionStatus",
+ "output": {
+ "shape": "ListAccountAssignmentDeletionStatusResponse"
}
},
- "GetInlinePolicyForPermissionSetResponse":{
- "type":"structure",
- "members":{
- "InlinePolicy":{"shape":"PermissionSetPolicyDocument"}
+ "ListAccountAssignments": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListAccountAssignmentsRequest"
+ },
+ "name": "ListAccountAssignments",
+ "output": {
+ "shape": "ListAccountAssignmentsResponse"
}
},
- "GetPermissionsBoundaryForPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "ListAccountAssignmentsForPrincipal": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListAccountAssignmentsForPrincipalRequest"
+ },
+ "name": "ListAccountAssignmentsForPrincipal",
+ "output": {
+ "shape": "ListAccountAssignmentsForPrincipalResponse"
}
},
- "GetPermissionsBoundaryForPermissionSetResponse":{
- "type":"structure",
- "members":{
- "PermissionsBoundary":{"shape":"PermissionsBoundary"}
+ "ListAccountsForProvisionedPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListAccountsForProvisionedPermissionSetRequest"
+ },
+ "name": "ListAccountsForProvisionedPermissionSet",
+ "output": {
+ "shape": "ListAccountsForProvisionedPermissionSetResponse"
}
},
- "Id":{
- "type":"string",
- "max":64,
- "min":1,
- "pattern":"^[a-zA-Z0-9-]*$"
- },
- "InstanceAccessControlAttributeConfiguration":{
- "type":"structure",
- "required":["AccessControlAttributes"],
- "members":{
- "AccessControlAttributes":{"shape":"AccessControlAttributeList"}
+ "ListApplicationAccessScopes": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListApplicationAccessScopesRequest"
+ },
+ "name": "ListApplicationAccessScopes",
+ "output": {
+ "shape": "ListApplicationAccessScopesResponse"
}
},
- "InstanceAccessControlAttributeConfigurationStatus":{
- "type":"string",
- "enum":[
- "ENABLED",
- "CREATION_IN_PROGRESS",
- "CREATION_FAILED"
- ]
- },
- "InstanceAccessControlAttributeConfigurationStatusReason":{"type":"string"},
- "InstanceArn":{
- "type":"string",
- "max":1224,
- "min":10,
- "pattern":"^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$"
- },
- "InstanceList":{
- "type":"list",
- "member":{"shape":"InstanceMetadata"}
- },
- "InstanceMetadata":{
- "type":"structure",
- "members":{
- "IdentityStoreId":{"shape":"Id"},
- "InstanceArn":{"shape":"InstanceArn"}
- }
- },
- "InternalFailureMessage":{"type":"string"},
- "InternalServerException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"InternalFailureMessage"}
- },
- "exception":true,
- "fault":true
- },
- "ListAccountAssignmentCreationStatusRequest":{
- "type":"structure",
- "required":["InstanceArn"],
- "members":{
- "Filter":{"shape":"OperationStatusFilter"},
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"}
- }
- },
- "ListAccountAssignmentCreationStatusResponse":{
- "type":"structure",
- "members":{
- "AccountAssignmentsCreationStatus":{"shape":"AccountAssignmentOperationStatusList"},
- "NextToken":{"shape":"Token"}
- }
- },
- "ListAccountAssignmentDeletionStatusRequest":{
- "type":"structure",
- "required":["InstanceArn"],
- "members":{
- "Filter":{"shape":"OperationStatusFilter"},
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"}
- }
- },
- "ListAccountAssignmentDeletionStatusResponse":{
- "type":"structure",
- "members":{
- "AccountAssignmentsDeletionStatus":{"shape":"AccountAssignmentOperationStatusList"},
- "NextToken":{"shape":"Token"}
- }
- },
- "ListAccountAssignmentsRequest":{
- "type":"structure",
- "required":[
- "AccountId",
- "InstanceArn",
- "PermissionSetArn"
+ "ListApplicationAssignments": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "AccountId":{"shape":"TargetId"},
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListApplicationAssignmentsRequest"
+ },
+ "name": "ListApplicationAssignments",
+ "output": {
+ "shape": "ListApplicationAssignmentsResponse"
}
},
- "ListAccountAssignmentsResponse":{
- "type":"structure",
- "members":{
- "AccountAssignments":{"shape":"AccountAssignmentList"},
- "NextToken":{"shape":"Token"}
+ "ListApplicationAssignmentsForPrincipal": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListApplicationAssignmentsForPrincipalRequest"
+ },
+ "name": "ListApplicationAssignmentsForPrincipal",
+ "output": {
+ "shape": "ListApplicationAssignmentsForPrincipalResponse"
}
},
- "ListAccountsForProvisionedPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "ListApplicationAuthenticationMethods": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "ProvisioningStatus":{"shape":"ProvisioningStatus"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListApplicationAuthenticationMethodsRequest"
+ },
+ "name": "ListApplicationAuthenticationMethods",
+ "output": {
+ "shape": "ListApplicationAuthenticationMethodsResponse"
}
},
- "ListAccountsForProvisionedPermissionSetResponse":{
- "type":"structure",
- "members":{
- "AccountIds":{"shape":"AccountList"},
- "NextToken":{"shape":"Token"}
+ "ListApplicationGrants": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListApplicationGrantsRequest"
+ },
+ "name": "ListApplicationGrants",
+ "output": {
+ "shape": "ListApplicationGrantsResponse"
}
},
- "ListCustomerManagedPolicyReferencesInPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "ListApplicationProviders": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListApplicationProvidersRequest"
+ },
+ "name": "ListApplicationProviders",
+ "output": {
+ "shape": "ListApplicationProvidersResponse"
}
},
- "ListCustomerManagedPolicyReferencesInPermissionSetResponse":{
- "type":"structure",
- "members":{
- "CustomerManagedPolicyReferences":{"shape":"CustomerManagedPolicyReferenceList"},
- "NextToken":{"shape":"Token"}
+ "ListApplications": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListApplicationsRequest"
+ },
+ "name": "ListApplications",
+ "output": {
+ "shape": "ListApplicationsResponse"
}
},
- "ListInstancesRequest":{
- "type":"structure",
- "members":{
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"}
+ "ListCustomerManagedPolicyReferencesInPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListCustomerManagedPolicyReferencesInPermissionSetRequest"
+ },
+ "name": "ListCustomerManagedPolicyReferencesInPermissionSet",
+ "output": {
+ "shape": "ListCustomerManagedPolicyReferencesInPermissionSetResponse"
}
},
- "ListInstancesResponse":{
- "type":"structure",
- "members":{
- "Instances":{"shape":"InstanceList"},
- "NextToken":{"shape":"Token"}
+ "ListInstances": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListInstancesRequest"
+ },
+ "name": "ListInstances",
+ "output": {
+ "shape": "ListInstancesResponse"
}
},
- "ListManagedPoliciesInPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn"
+ "ListManagedPoliciesInPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListManagedPoliciesInPermissionSetRequest"
+ },
+ "name": "ListManagedPoliciesInPermissionSet",
+ "output": {
+ "shape": "ListManagedPoliciesInPermissionSetResponse"
}
},
- "ListManagedPoliciesInPermissionSetResponse":{
- "type":"structure",
- "members":{
- "AttachedManagedPolicies":{"shape":"AttachedManagedPolicyList"},
- "NextToken":{"shape":"Token"}
+ "ListPermissionSetProvisioningStatus": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListPermissionSetProvisioningStatusRequest"
+ },
+ "name": "ListPermissionSetProvisioningStatus",
+ "output": {
+ "shape": "ListPermissionSetProvisioningStatusResponse"
}
},
- "ListPermissionSetProvisioningStatusRequest":{
- "type":"structure",
- "required":["InstanceArn"],
- "members":{
- "Filter":{"shape":"OperationStatusFilter"},
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"}
+ "ListPermissionSets": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListPermissionSetsRequest"
+ },
+ "name": "ListPermissionSets",
+ "output": {
+ "shape": "ListPermissionSetsResponse"
}
},
- "ListPermissionSetProvisioningStatusResponse":{
- "type":"structure",
- "members":{
- "NextToken":{"shape":"Token"},
- "PermissionSetsProvisioningStatus":{"shape":"PermissionSetProvisioningStatusList"}
+ "ListPermissionSetsProvisionedToAccount": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListPermissionSetsProvisionedToAccountRequest"
+ },
+ "name": "ListPermissionSetsProvisionedToAccount",
+ "output": {
+ "shape": "ListPermissionSetsProvisionedToAccountResponse"
}
},
- "ListPermissionSetsProvisionedToAccountRequest":{
- "type":"structure",
- "required":[
- "AccountId",
- "InstanceArn"
+ "ListTagsForResource": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
],
- "members":{
- "AccountId":{"shape":"AccountId"},
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"},
- "ProvisioningStatus":{"shape":"ProvisioningStatus"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListTagsForResourceRequest"
+ },
+ "name": "ListTagsForResource",
+ "output": {
+ "shape": "ListTagsForResourceResponse"
}
},
- "ListPermissionSetsProvisionedToAccountResponse":{
- "type":"structure",
- "members":{
- "NextToken":{"shape":"Token"},
- "PermissionSets":{"shape":"PermissionSetList"}
+ "ListTrustedTokenIssuers": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ListTrustedTokenIssuersRequest"
+ },
+ "name": "ListTrustedTokenIssuers",
+ "output": {
+ "shape": "ListTrustedTokenIssuersResponse"
}
},
- "ListPermissionSetsRequest":{
- "type":"structure",
- "required":["InstanceArn"],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"Token"}
+ "ProvisionPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ProvisionPermissionSetRequest"
+ },
+ "name": "ProvisionPermissionSet",
+ "output": {
+ "shape": "ProvisionPermissionSetResponse"
}
},
- "ListPermissionSetsResponse":{
- "type":"structure",
- "members":{
- "NextToken":{"shape":"Token"},
- "PermissionSets":{"shape":"PermissionSetList"}
+ "PutApplicationAccessScope": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "PutApplicationAccessScopeRequest"
+ },
+ "name": "PutApplicationAccessScope"
+ },
+ "PutApplicationAssignmentConfiguration": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "PutApplicationAssignmentConfigurationRequest"
+ },
+ "name": "PutApplicationAssignmentConfiguration",
+ "output": {
+ "shape": "PutApplicationAssignmentConfigurationResponse"
}
},
- "ListTagsForResourceRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "ResourceArn"
+ "PutApplicationAuthenticationMethod": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "NextToken":{"shape":"Token"},
- "ResourceArn":{"shape":"TaggableResourceArn"}
- }
- },
- "ListTagsForResourceResponse":{
- "type":"structure",
- "members":{
- "NextToken":{"shape":"Token"},
- "Tags":{"shape":"TagList"}
- }
- },
- "ManagedPolicyArn":{
- "type":"string",
- "max":2048,
- "min":20,
- "pattern":"^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):iam::aws:policy/[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}]+$"
- },
- "ManagedPolicyName":{
- "type":"string",
- "max":128,
- "min":1,
- "pattern":"^[\\w+=,.@-]+$"
- },
- "ManagedPolicyPath":{
- "type":"string",
- "max":512,
- "min":1,
- "pattern":"^((/[A-Za-z0-9\\.,\\+@=_-]+)*)/$"
- },
- "MaxResults":{
- "type":"integer",
- "box":true,
- "max":100,
- "min":1
- },
- "Name":{
- "type":"string",
- "max":100,
- "min":1
- },
- "OperationStatusFilter":{
- "type":"structure",
- "members":{
- "Status":{"shape":"StatusValues"}
- }
- },
- "PermissionSet":{
- "type":"structure",
- "members":{
- "CreatedDate":{"shape":"Date"},
- "Description":{"shape":"PermissionSetDescription"},
- "Name":{"shape":"PermissionSetName"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "RelayState":{"shape":"RelayState"},
- "SessionDuration":{"shape":"Duration"}
- }
- },
- "PermissionSetArn":{
- "type":"string",
- "max":1224,
- "min":10,
- "pattern":"^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}$"
- },
- "PermissionSetDescription":{
- "type":"string",
- "max":700,
- "min":1,
- "pattern":"^[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]*$"
- },
- "PermissionSetList":{
- "type":"list",
- "member":{"shape":"PermissionSetArn"}
- },
- "PermissionSetName":{
- "type":"string",
- "max":32,
- "min":1,
- "pattern":"^[\\w+=,.@-]+$"
- },
- "PermissionSetPolicyDocument":{
- "type":"string",
- "max":32768,
- "min":1,
- "pattern":"^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$"
- },
- "PermissionSetProvisioningStatus":{
- "type":"structure",
- "members":{
- "AccountId":{"shape":"AccountId"},
- "CreatedDate":{"shape":"Date"},
- "FailureReason":{"shape":"Reason"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "RequestId":{"shape":"UUId"},
- "Status":{"shape":"StatusValues"}
- }
- },
- "PermissionSetProvisioningStatusList":{
- "type":"list",
- "member":{"shape":"PermissionSetProvisioningStatusMetadata"}
- },
- "PermissionSetProvisioningStatusMetadata":{
- "type":"structure",
- "members":{
- "CreatedDate":{"shape":"Date"},
- "RequestId":{"shape":"UUId"},
- "Status":{"shape":"StatusValues"}
- }
- },
- "PermissionsBoundary":{
- "type":"structure",
- "members":{
- "CustomerManagedPolicyReference":{"shape":"CustomerManagedPolicyReference"},
- "ManagedPolicyArn":{"shape":"ManagedPolicyArn"}
- }
- },
- "PrincipalId":{
- "type":"string",
- "max":47,
- "min":1,
- "pattern":"^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$"
- },
- "PrincipalType":{
- "type":"string",
- "enum":[
- "USER",
- "GROUP"
- ]
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "PutApplicationAuthenticationMethodRequest"
+ },
+ "name": "PutApplicationAuthenticationMethod"
+ },
+ "PutApplicationGrant": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "PutApplicationGrantRequest"
+ },
+ "name": "PutApplicationGrant"
+ },
+ "PutInlinePolicyToPermissionSet": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "PutInlinePolicyToPermissionSetRequest"
+ },
+ "name": "PutInlinePolicyToPermissionSet",
+ "output": {
+ "shape": "PutInlinePolicyToPermissionSetResponse"
+ }
},
- "ProvisionPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn",
- "TargetType"
+ "PutPermissionsBoundaryToPermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "TargetId":{"shape":"TargetId"},
- "TargetType":{"shape":"ProvisionTargetType"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "PutPermissionsBoundaryToPermissionSetRequest"
+ },
+ "name": "PutPermissionsBoundaryToPermissionSet",
+ "output": {
+ "shape": "PutPermissionsBoundaryToPermissionSetResponse"
}
},
- "ProvisionPermissionSetResponse":{
- "type":"structure",
- "members":{
- "PermissionSetProvisioningStatus":{"shape":"PermissionSetProvisioningStatus"}
+ "TagResource": {
+ "errors": [
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "TagResourceRequest"
+ },
+ "name": "TagResource",
+ "output": {
+ "shape": "TagResourceResponse"
}
},
- "ProvisionTargetType":{
- "type":"string",
- "enum":[
- "AWS_ACCOUNT",
- "ALL_PROVISIONED_ACCOUNTS"
- ]
+ "UntagResource": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "UntagResourceRequest"
+ },
+ "name": "UntagResource",
+ "output": {
+ "shape": "UntagResourceResponse"
+ }
},
- "ProvisioningStatus":{
- "type":"string",
- "enum":[
- "LATEST_PERMISSION_SET_PROVISIONED",
- "LATEST_PERMISSION_SET_NOT_PROVISIONED"
- ]
+ "UpdateApplication": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "UpdateApplicationRequest"
+ },
+ "name": "UpdateApplication",
+ "output": {
+ "shape": "UpdateApplicationResponse"
+ }
},
- "PutInlinePolicyToPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InlinePolicy",
- "InstanceArn",
- "PermissionSetArn"
+ "UpdateInstance": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InlinePolicy":{"shape":"PermissionSetPolicyDocument"},
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "UpdateInstanceRequest"
+ },
+ "name": "UpdateInstance",
+ "output": {
+ "shape": "UpdateInstanceResponse"
}
},
- "PutInlinePolicyToPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "UpdateInstanceAccessControlAttributeConfiguration": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "UpdateInstanceAccessControlAttributeConfigurationRequest"
+ },
+ "name": "UpdateInstanceAccessControlAttributeConfiguration",
+ "output": {
+ "shape": "UpdateInstanceAccessControlAttributeConfigurationResponse"
}
},
- "PutPermissionsBoundaryToPermissionSetRequest":{
- "type":"structure",
- "required":[
- "InstanceArn",
- "PermissionSetArn",
- "PermissionsBoundary"
+ "UpdatePermissionSet": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "PermissionsBoundary":{"shape":"PermissionsBoundary"}
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "UpdatePermissionSetRequest"
+ },
+ "name": "UpdatePermissionSet",
+ "output": {
+ "shape": "UpdatePermissionSetResponse"
}
},
- "PutPermissionsBoundaryToPermissionSetResponse":{
- "type":"structure",
- "members":{
+ "UpdateTrustedTokenIssuer": {
+ "errors": [
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "UpdateTrustedTokenIssuerRequest"
+ },
+ "name": "UpdateTrustedTokenIssuer",
+ "output": {
+ "shape": "UpdateTrustedTokenIssuerResponse"
}
+ }
+ },
+ "shapes": {
+ "AccessControlAttribute": {
+ "members": {
+ "Key": {
+ "shape": "AccessControlAttributeKey"
+ },
+ "Value": {
+ "shape": "AccessControlAttributeValue"
+ }
+ },
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "type": "structure"
+ },
+ "AccessControlAttributeKey": {
+ "max": 128,
+ "min": 1,
+ "pattern": "^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@]+$",
+ "type": "string"
+ },
+ "AccessControlAttributeList": {
+ "max": 50,
+ "member": {
+ "shape": "AccessControlAttribute"
+ },
+ "min": 0,
+ "type": "list"
+ },
+ "AccessControlAttributeValue": {
+ "members": {
+ "Source": {
+ "shape": "AccessControlAttributeValueSourceList"
+ }
+ },
+ "required": [
+ "Source"
+ ],
+ "type": "structure"
+ },
+ "AccessControlAttributeValueSource": {
+ "max": 256,
+ "min": 0,
+ "pattern": "^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@\\[\\]\\{\\}\\$\\\\\"]*$",
+ "type": "string"
+ },
+ "AccessControlAttributeValueSourceList": {
+ "max": 1,
+ "member": {
+ "shape": "AccessControlAttributeValueSource"
+ },
+ "min": 1,
+ "type": "list"
+ },
+ "AccessDeniedException": {
+ "exception": true,
+ "members": {
+ "Message": {
+ "shape": "AccessDeniedExceptionMessage"
+ }
+ },
+ "type": "structure"
+ },
+ "AccessDeniedExceptionMessage": {
+ "type": "string"
+ },
+ "AccountAssignment": {
+ "members": {
+ "AccountId": {
+ "shape": "AccountId"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "type": "structure"
+ },
+ "AccountAssignmentForPrincipal": {
+ "members": {
+ "AccountId": {
+ "shape": "AccountId"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "type": "structure"
+ },
+ "AccountAssignmentList": {
+ "member": {
+ "shape": "AccountAssignment"
+ },
+ "type": "list"
+ },
+ "AccountAssignmentListForPrincipal": {
+ "member": {
+ "shape": "AccountAssignmentForPrincipal"
+ },
+ "type": "list"
+ },
+ "AccountAssignmentOperationStatus": {
+ "members": {
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "FailureReason": {
+ "shape": "Reason"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ },
+ "RequestId": {
+ "shape": "UUId"
+ },
+ "Status": {
+ "shape": "StatusValues"
+ },
+ "TargetId": {
+ "shape": "TargetId"
+ },
+ "TargetType": {
+ "shape": "TargetType"
+ }
+ },
+ "type": "structure"
},
- "Reason":{
- "type":"string",
- "pattern":"^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}]*$"
+ "AccountAssignmentOperationStatusList": {
+ "member": {
+ "shape": "AccountAssignmentOperationStatusMetadata"
+ },
+ "type": "list"
+ },
+ "AccountAssignmentOperationStatusMetadata": {
+ "members": {
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "RequestId": {
+ "shape": "UUId"
+ },
+ "Status": {
+ "shape": "StatusValues"
+ }
+ },
+ "type": "structure"
},
- "RelayState":{
- "type":"string",
- "max":240,
- "min":1,
- "pattern":"^[a-zA-Z0-9&$@#\\\\\\/%?=~\\-_'\"|!:,.;*+\\[\\]\\ \\(\\)\\{\\}]+$"
+ "AccountId": {
+ "max": 12,
+ "min": 12,
+ "pattern": "^\\d{12}$",
+ "type": "string"
},
- "ResourceNotFoundException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ResourceNotFoundMessage"}
+ "AccountList": {
+ "member": {
+ "shape": "AccountId"
+ },
+ "type": "list"
+ },
+ "Application": {
+ "members": {
+ "ApplicationAccount": {
+ "shape": "AccountId"
+ },
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "ApplicationProviderArn": {
+ "shape": "ApplicationProviderArn"
+ },
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "Description": {
+ "shape": "Description"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "NameType"
+ },
+ "PortalOptions": {
+ "shape": "PortalOptions"
+ },
+ "Status": {
+ "shape": "ApplicationStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "ApplicationArn": {
+ "max": 1224,
+ "min": 10,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}$",
+ "type": "string"
+ },
+ "ApplicationAssignment": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
},
- "exception":true
+ "required": [
+ "ApplicationArn",
+ "PrincipalId",
+ "PrincipalType"
+ ],
+ "type": "structure"
+ },
+ "ApplicationAssignmentForPrincipal": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "type": "structure"
},
- "ResourceNotFoundMessage":{"type":"string"},
- "ServiceQuotaExceededException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ServiceQuotaExceededMessage"}
+ "ApplicationAssignmentListForPrincipal": {
+ "member": {
+ "shape": "ApplicationAssignmentForPrincipal"
},
- "exception":true
+ "type": "list"
},
- "ServiceQuotaExceededMessage":{"type":"string"},
- "StatusValues":{
- "type":"string",
- "enum":[
- "IN_PROGRESS",
- "FAILED",
- "SUCCEEDED"
- ]
+ "ApplicationAssignmentsList": {
+ "member": {
+ "shape": "ApplicationAssignment"
+ },
+ "type": "list"
},
- "Tag":{
- "type":"structure",
- "required":[
- "Key",
- "Value"
+ "ApplicationList": {
+ "max": 50,
+ "member": {
+ "shape": "Application"
+ },
+ "min": 0,
+ "type": "list"
+ },
+ "ApplicationProvider": {
+ "members": {
+ "ApplicationProviderArn": {
+ "shape": "ApplicationProviderArn"
+ },
+ "DisplayData": {
+ "shape": "DisplayData"
+ },
+ "FederationProtocol": {
+ "shape": "FederationProtocol"
+ },
+ "ResourceServerConfig": {
+ "shape": "ResourceServerConfig"
+ }
+ },
+ "required": [
+ "ApplicationProviderArn"
],
- "members":{
- "Key":{"shape":"TagKey"},
- "Value":{"shape":"TagValue"}
- }
+ "type": "structure"
},
- "TagKey":{
- "type":"string",
- "max":128,
- "min":1,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ "ApplicationProviderArn": {
+ "max": 1224,
+ "min": 10,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::aws:applicationProvider/[a-zA-Z0-9-/]+$",
+ "type": "string"
},
- "TagKeyList":{
- "type":"list",
- "member":{"shape":"TagKey"},
- "max":50,
- "min":1
+ "ApplicationProviderList": {
+ "member": {
+ "shape": "ApplicationProvider"
+ },
+ "type": "list"
+ },
+ "ApplicationStatus": {
+ "enum": [
+ "ENABLED",
+ "DISABLED"
+ ],
+ "type": "string"
},
- "TagList":{
- "type":"list",
- "member":{"shape":"Tag"},
- "max":50,
- "min":0
+ "ApplicationUrl": {
+ "max": 512,
+ "min": 1,
+ "pattern": "^http(s)?:\\/\\/[-a-zA-Z0-9+\u0026@#\\/%?=~_|!:,.;]*[-a-zA-Z0-9+\u0026bb@#\\/%?=~_|]$",
+ "type": "string"
},
- "TagResourceRequest":{
- "type":"structure",
- "required":[
+ "ApplicationVisibility": {
+ "enum": [
+ "ENABLED",
+ "DISABLED"
+ ],
+ "type": "string"
+ },
+ "AssignmentRequired": {
+ "box": true,
+ "type": "boolean"
+ },
+ "AttachCustomerManagedPolicyReferenceToPermissionSetRequest": {
+ "members": {
+ "CustomerManagedPolicyReference": {
+ "shape": "CustomerManagedPolicyReference"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "CustomerManagedPolicyReference",
"InstanceArn",
- "ResourceArn",
- "Tags"
+ "PermissionSetArn"
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "ResourceArn":{"shape":"TaggableResourceArn"},
- "Tags":{"shape":"TagList"}
- }
- },
- "TagResourceResponse":{
- "type":"structure",
- "members":{
- }
- },
- "TagValue":{
- "type":"string",
- "max":256,
- "min":0,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
- },
- "TaggableResourceArn":{
- "type":"string",
- "max":2048,
- "min":10,
- "pattern":"^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}$"
- },
- "TargetId":{
- "type":"string",
- "max":12,
- "min":12,
- "pattern":"^\\d{12}$"
- },
- "TargetType":{
- "type":"string",
- "enum":["AWS_ACCOUNT"]
- },
- "ThrottlingException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ThrottlingExceptionMessage"}
- },
- "exception":true
- },
- "ThrottlingExceptionMessage":{"type":"string"},
- "Token":{
- "type":"string",
- "max":2048,
- "min":0,
- "pattern":"^[-a-zA-Z0-9+=/_]*$"
- },
- "UUId":{
- "type":"string",
- "max":36,
- "min":36,
- "pattern":"^\\b[0-9a-f]{8}\\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\\b[0-9a-f]{12}\\b$"
- },
- "UntagResourceRequest":{
- "type":"structure",
- "required":[
+ "type": "structure"
+ },
+ "AttachCustomerManagedPolicyReferenceToPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "AttachManagedPolicyToPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "ManagedPolicyArn": {
+ "shape": "ManagedPolicyArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
"InstanceArn",
- "ResourceArn",
- "TagKeys"
+ "ManagedPolicyArn",
+ "PermissionSetArn"
],
- "members":{
- "InstanceArn":{"shape":"InstanceArn"},
- "ResourceArn":{"shape":"TaggableResourceArn"},
- "TagKeys":{"shape":"TagKeyList"}
- }
+ "type": "structure"
+ },
+ "AttachManagedPolicyToPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "AttachedManagedPolicy": {
+ "members": {
+ "Arn": {
+ "shape": "ManagedPolicyArn"
+ },
+ "Name": {
+ "shape": "Name"
+ }
+ },
+ "type": "structure"
},
- "UntagResourceResponse":{
- "type":"structure",
- "members":{
- }
+ "AttachedManagedPolicyList": {
+ "member": {
+ "shape": "AttachedManagedPolicy"
+ },
+ "type": "list"
+ },
+ "AuthenticationMethod": {
+ "members": {},
+ "type": "structure",
+ "union": true
+ },
+ "AuthenticationMethodItem": {
+ "members": {
+ "AuthenticationMethod": {
+ "shape": "AuthenticationMethod"
+ },
+ "AuthenticationMethodType": {
+ "shape": "AuthenticationMethodType"
+ }
+ },
+ "type": "structure"
+ },
+ "AuthenticationMethodType": {
+ "enum": [
+ "IAM"
+ ],
+ "type": "string"
+ },
+ "AuthenticationMethods": {
+ "member": {
+ "shape": "AuthenticationMethodItem"
+ },
+ "type": "list"
+ },
+ "AuthorizationCodeGrant": {
+ "members": {
+ "RedirectUris": {
+ "shape": "RedirectUris"
+ }
+ },
+ "type": "structure"
+ },
+ "AuthorizedTokenIssuer": {
+ "members": {
+ "AuthorizedAudiences": {
+ "shape": "TokenIssuerAudiences"
+ },
+ "TrustedTokenIssuerArn": {
+ "shape": "TrustedTokenIssuerArn"
+ }
+ },
+ "type": "structure"
},
- "UpdateInstanceAccessControlAttributeConfigurationRequest":{
- "type":"structure",
- "required":[
+ "AuthorizedTokenIssuers": {
+ "max": 10,
+ "member": {
+ "shape": "AuthorizedTokenIssuer"
+ },
+ "min": 1,
+ "type": "list"
+ },
+ "ClaimAttributePath": {
+ "max": 255,
+ "min": 1,
+ "pattern": "^\\p{L}+(?:(\\.|\\_)\\p{L}+){0,2}$",
+ "type": "string"
+ },
+ "ClientToken": {
+ "max": 64,
+ "min": 1,
+ "pattern": "^[!-~]+$",
+ "type": "string"
+ },
+ "ConflictException": {
+ "exception": true,
+ "members": {
+ "Message": {
+ "shape": "ConflictExceptionMessage"
+ }
+ },
+ "type": "structure"
+ },
+ "ConflictExceptionMessage": {
+ "type": "string"
+ },
+ "CreateAccountAssignmentRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ },
+ "TargetId": {
+ "shape": "TargetId"
+ },
+ "TargetType": {
+ "shape": "TargetType"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn",
+ "PrincipalId",
+ "PrincipalType",
+ "TargetId",
+ "TargetType"
+ ],
+ "type": "structure"
+ },
+ "CreateAccountAssignmentResponse": {
+ "members": {
+ "AccountAssignmentCreationStatus": {
+ "shape": "AccountAssignmentOperationStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "CreateApplicationAssignmentRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "PrincipalId",
+ "PrincipalType"
+ ],
+ "type": "structure"
+ },
+ "CreateApplicationAssignmentResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "CreateApplicationRequest": {
+ "members": {
+ "ApplicationProviderArn": {
+ "shape": "ApplicationProviderArn"
+ },
+ "ClientToken": {
+ "idempotencyToken": true,
+ "shape": "ClientToken"
+ },
+ "Description": {
+ "shape": "Description"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "NameType"
+ },
+ "PortalOptions": {
+ "shape": "PortalOptions"
+ },
+ "Status": {
+ "shape": "ApplicationStatus"
+ },
+ "Tags": {
+ "shape": "TagList"
+ }
+ },
+ "required": [
+ "ApplicationProviderArn",
+ "InstanceArn",
+ "Name"
+ ],
+ "type": "structure"
+ },
+ "CreateApplicationResponse": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ }
+ },
+ "type": "structure"
+ },
+ "CreateInstanceAccessControlAttributeConfigurationRequest": {
+ "members": {
+ "InstanceAccessControlAttributeConfiguration": {
+ "shape": "InstanceAccessControlAttributeConfiguration"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
"InstanceAccessControlAttributeConfiguration",
"InstanceArn"
],
- "members":{
- "InstanceAccessControlAttributeConfiguration":{"shape":"InstanceAccessControlAttributeConfiguration"},
- "InstanceArn":{"shape":"InstanceArn"}
- }
+ "type": "structure"
+ },
+ "CreateInstanceAccessControlAttributeConfigurationResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "CreateInstanceRequest": {
+ "members": {
+ "ClientToken": {
+ "idempotencyToken": true,
+ "shape": "ClientToken"
+ },
+ "Name": {
+ "shape": "NameType"
+ },
+ "Tags": {
+ "shape": "TagList"
+ }
+ },
+ "type": "structure"
},
- "UpdateInstanceAccessControlAttributeConfigurationResponse":{
- "type":"structure",
- "members":{
- }
+ "CreateInstanceResponse": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "type": "structure"
+ },
+ "CreatePermissionSetRequest": {
+ "members": {
+ "Description": {
+ "shape": "PermissionSetDescription"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "PermissionSetName"
+ },
+ "RelayState": {
+ "shape": "RelayState"
+ },
+ "SessionDuration": {
+ "shape": "Duration"
+ },
+ "Tags": {
+ "shape": "TagList"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "Name"
+ ],
+ "type": "structure"
},
- "UpdatePermissionSetRequest":{
- "type":"structure",
- "required":[
+ "CreatePermissionSetResponse": {
+ "members": {
+ "PermissionSet": {
+ "shape": "PermissionSet"
+ }
+ },
+ "type": "structure"
+ },
+ "CreateTrustedTokenIssuerRequest": {
+ "members": {
+ "ClientToken": {
+ "idempotencyToken": true,
+ "shape": "ClientToken"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "TrustedTokenIssuerName"
+ },
+ "Tags": {
+ "shape": "TagList"
+ },
+ "TrustedTokenIssuerConfiguration": {
+ "shape": "TrustedTokenIssuerConfiguration"
+ },
+ "TrustedTokenIssuerType": {
+ "shape": "TrustedTokenIssuerType"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "Name",
+ "TrustedTokenIssuerConfiguration",
+ "TrustedTokenIssuerType"
+ ],
+ "type": "structure"
+ },
+ "CreateTrustedTokenIssuerResponse": {
+ "members": {
+ "TrustedTokenIssuerArn": {
+ "shape": "TrustedTokenIssuerArn"
+ }
+ },
+ "type": "structure"
+ },
+ "CustomerManagedPolicyReference": {
+ "members": {
+ "Name": {
+ "shape": "ManagedPolicyName"
+ },
+ "Path": {
+ "shape": "ManagedPolicyPath"
+ }
+ },
+ "required": [
+ "Name"
+ ],
+ "type": "structure"
+ },
+ "CustomerManagedPolicyReferenceList": {
+ "member": {
+ "shape": "CustomerManagedPolicyReference"
+ },
+ "type": "list"
+ },
+ "Date": {
+ "type": "timestamp"
+ },
+ "DeleteAccountAssignmentRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ },
+ "TargetId": {
+ "shape": "TargetId"
+ },
+ "TargetType": {
+ "shape": "TargetType"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn",
+ "PrincipalId",
+ "PrincipalType",
+ "TargetId",
+ "TargetType"
+ ],
+ "type": "structure"
+ },
+ "DeleteAccountAssignmentResponse": {
+ "members": {
+ "AccountAssignmentDeletionStatus": {
+ "shape": "AccountAssignmentOperationStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "DeleteApplicationAccessScopeRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "Scope": {
+ "shape": "Scope"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "Scope"
+ ],
+ "type": "structure"
+ },
+ "DeleteApplicationAssignmentRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "PrincipalId",
+ "PrincipalType"
+ ],
+ "type": "structure"
+ },
+ "DeleteApplicationAssignmentResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DeleteApplicationAuthenticationMethodRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "AuthenticationMethodType": {
+ "shape": "AuthenticationMethodType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "AuthenticationMethodType"
+ ],
+ "type": "structure"
+ },
+ "DeleteApplicationGrantRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "GrantType": {
+ "shape": "GrantType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "GrantType"
+ ],
+ "type": "structure"
+ },
+ "DeleteApplicationRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "DeleteApplicationResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DeleteInlinePolicyFromPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
"InstanceArn",
"PermissionSetArn"
],
- "members":{
- "Description":{"shape":"PermissionSetDescription"},
- "InstanceArn":{"shape":"InstanceArn"},
- "PermissionSetArn":{"shape":"PermissionSetArn"},
- "RelayState":{"shape":"RelayState"},
- "SessionDuration":{"shape":"Duration"}
- }
+ "type": "structure"
+ },
+ "DeleteInlinePolicyFromPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DeleteInstanceAccessControlAttributeConfigurationRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "DeleteInstanceAccessControlAttributeConfigurationResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DeleteInstanceRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "DeleteInstanceResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DeletePermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "DeletePermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DeletePermissionsBoundaryFromPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "DeletePermissionsBoundaryFromPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DeleteTrustedTokenIssuerRequest": {
+ "members": {
+ "TrustedTokenIssuerArn": {
+ "shape": "TrustedTokenIssuerArn"
+ }
+ },
+ "required": [
+ "TrustedTokenIssuerArn"
+ ],
+ "type": "structure"
+ },
+ "DeleteTrustedTokenIssuerResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DescribeAccountAssignmentCreationStatusRequest": {
+ "members": {
+ "AccountAssignmentCreationRequestId": {
+ "shape": "UUId"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
+ "AccountAssignmentCreationRequestId",
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeAccountAssignmentCreationStatusResponse": {
+ "members": {
+ "AccountAssignmentCreationStatus": {
+ "shape": "AccountAssignmentOperationStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribeAccountAssignmentDeletionStatusRequest": {
+ "members": {
+ "AccountAssignmentDeletionRequestId": {
+ "shape": "UUId"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
+ "AccountAssignmentDeletionRequestId",
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeAccountAssignmentDeletionStatusResponse": {
+ "members": {
+ "AccountAssignmentDeletionStatus": {
+ "shape": "AccountAssignmentOperationStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribeApplicationAssignmentRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "PrincipalId",
+ "PrincipalType"
+ ],
+ "type": "structure"
+ },
+ "DescribeApplicationAssignmentResponse": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribeApplicationProviderRequest": {
+ "members": {
+ "ApplicationProviderArn": {
+ "shape": "ApplicationProviderArn"
+ }
+ },
+ "required": [
+ "ApplicationProviderArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeApplicationProviderResponse": {
+ "members": {
+ "ApplicationProviderArn": {
+ "shape": "ApplicationProviderArn"
+ },
+ "DisplayData": {
+ "shape": "DisplayData"
+ },
+ "FederationProtocol": {
+ "shape": "FederationProtocol"
+ },
+ "ResourceServerConfig": {
+ "shape": "ResourceServerConfig"
+ }
+ },
+ "required": [
+ "ApplicationProviderArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeApplicationRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeApplicationResponse": {
+ "members": {
+ "ApplicationAccount": {
+ "shape": "AccountId"
+ },
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "ApplicationProviderArn": {
+ "shape": "ApplicationProviderArn"
+ },
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "Description": {
+ "shape": "Description"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "NameType"
+ },
+ "PortalOptions": {
+ "shape": "PortalOptions"
+ },
+ "Status": {
+ "shape": "ApplicationStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribeInstanceAccessControlAttributeConfigurationRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeInstanceAccessControlAttributeConfigurationResponse": {
+ "members": {
+ "InstanceAccessControlAttributeConfiguration": {
+ "shape": "InstanceAccessControlAttributeConfiguration"
+ },
+ "Status": {
+ "shape": "InstanceAccessControlAttributeConfigurationStatus"
+ },
+ "StatusReason": {
+ "shape": "InstanceAccessControlAttributeConfigurationStatusReason"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribeInstanceRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeInstanceResponse": {
+ "members": {
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "IdentityStoreId": {
+ "shape": "Id"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "NameType"
+ },
+ "OwnerAccountId": {
+ "shape": "AccountId"
+ },
+ "Status": {
+ "shape": "InstanceStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribePermissionSetProvisioningStatusRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "ProvisionPermissionSetRequestId": {
+ "shape": "UUId"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "ProvisionPermissionSetRequestId"
+ ],
+ "type": "structure"
+ },
+ "DescribePermissionSetProvisioningStatusResponse": {
+ "members": {
+ "PermissionSetProvisioningStatus": {
+ "shape": "PermissionSetProvisioningStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribePermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "DescribePermissionSetResponse": {
+ "members": {
+ "PermissionSet": {
+ "shape": "PermissionSet"
+ }
+ },
+ "type": "structure"
+ },
+ "DescribeTrustedTokenIssuerRequest": {
+ "members": {
+ "TrustedTokenIssuerArn": {
+ "shape": "TrustedTokenIssuerArn"
+ }
+ },
+ "required": [
+ "TrustedTokenIssuerArn"
+ ],
+ "type": "structure"
+ },
+ "DescribeTrustedTokenIssuerResponse": {
+ "members": {
+ "Name": {
+ "shape": "TrustedTokenIssuerName"
+ },
+ "TrustedTokenIssuerArn": {
+ "shape": "TrustedTokenIssuerArn"
+ },
+ "TrustedTokenIssuerConfiguration": {
+ "shape": "TrustedTokenIssuerConfiguration"
+ },
+ "TrustedTokenIssuerType": {
+ "shape": "TrustedTokenIssuerType"
+ }
+ },
+ "type": "structure"
+ },
+ "Description": {
+ "max": 128,
+ "min": 1,
+ "type": "string"
+ },
+ "DetachCustomerManagedPolicyReferenceFromPermissionSetRequest": {
+ "members": {
+ "CustomerManagedPolicyReference": {
+ "shape": "CustomerManagedPolicyReference"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "CustomerManagedPolicyReference",
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "DetachCustomerManagedPolicyReferenceFromPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DetachManagedPolicyFromPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "ManagedPolicyArn": {
+ "shape": "ManagedPolicyArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "ManagedPolicyArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "DetachManagedPolicyFromPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "DisplayData": {
+ "members": {
+ "Description": {
+ "shape": "Description"
+ },
+ "DisplayName": {
+ "shape": "Name"
+ },
+ "IconUrl": {
+ "shape": "IconUrl"
+ }
+ },
+ "type": "structure"
+ },
+ "Duration": {
+ "max": 100,
+ "min": 1,
+ "pattern": "^(-?)P(?=\\d|T\\d)(?:(\\d+)Y)?(?:(\\d+)M)?(?:(\\d+)([DW]))?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+(?:\\.\\d+)?)S)?)?$",
+ "type": "string"
+ },
+ "FederationProtocol": {
+ "enum": [
+ "SAML",
+ "OAUTH"
+ ],
+ "type": "string"
+ },
+ "GetApplicationAccessScopeRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "Scope": {
+ "shape": "Scope"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "Scope"
+ ],
+ "type": "structure"
+ },
+ "GetApplicationAccessScopeResponse": {
+ "members": {
+ "AuthorizedTargets": {
+ "shape": "ScopeTargets"
+ },
+ "Scope": {
+ "shape": "Scope"
+ }
+ },
+ "required": [
+ "Scope"
+ ],
+ "type": "structure"
+ },
+ "GetApplicationAssignmentConfigurationRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "GetApplicationAssignmentConfigurationResponse": {
+ "members": {
+ "AssignmentRequired": {
+ "shape": "AssignmentRequired"
+ }
+ },
+ "required": [
+ "AssignmentRequired"
+ ],
+ "type": "structure"
+ },
+ "GetApplicationAuthenticationMethodRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "AuthenticationMethodType": {
+ "shape": "AuthenticationMethodType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "AuthenticationMethodType"
+ ],
+ "type": "structure"
+ },
+ "GetApplicationAuthenticationMethodResponse": {
+ "members": {
+ "AuthenticationMethod": {
+ "shape": "AuthenticationMethod"
+ }
+ },
+ "type": "structure"
+ },
+ "GetApplicationGrantRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "GrantType": {
+ "shape": "GrantType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "GrantType"
+ ],
+ "type": "structure"
+ },
+ "GetApplicationGrantResponse": {
+ "members": {
+ "Grant": {
+ "shape": "Grant"
+ }
+ },
+ "required": [
+ "Grant"
+ ],
+ "type": "structure"
+ },
+ "GetInlinePolicyForPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "GetInlinePolicyForPermissionSetResponse": {
+ "members": {
+ "InlinePolicy": {
+ "shape": "PermissionSetPolicyDocument"
+ }
+ },
+ "type": "structure"
+ },
+ "GetPermissionsBoundaryForPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "GetPermissionsBoundaryForPermissionSetResponse": {
+ "members": {
+ "PermissionsBoundary": {
+ "shape": "PermissionsBoundary"
+ }
+ },
+ "type": "structure"
+ },
+ "Grant": {
+ "members": {
+ "AuthorizationCode": {
+ "shape": "AuthorizationCodeGrant"
+ },
+ "JwtBearer": {
+ "shape": "JwtBearerGrant"
+ }
+ },
+ "type": "structure",
+ "union": true
+ },
+ "GrantItem": {
+ "members": {
+ "Grant": {
+ "shape": "Grant"
+ },
+ "GrantType": {
+ "shape": "GrantType"
+ }
+ },
+ "required": [
+ "Grant",
+ "GrantType"
+ ],
+ "type": "structure"
+ },
+ "GrantType": {
+ "enum": [
+ "authorization_code",
+ "refresh_token",
+ "urn:ietf:params:oauth:grant-type:jwt-bearer",
+ "urn:ietf:params:oauth:grant-type:token-exchange"
+ ],
+ "type": "string"
+ },
+ "Grants": {
+ "member": {
+ "shape": "GrantItem"
+ },
+ "type": "list"
+ },
+ "IconUrl": {
+ "max": 768,
+ "min": 1,
+ "pattern": "^(http|https):\\/\\/.*$",
+ "type": "string"
+ },
+ "Id": {
+ "max": 64,
+ "min": 1,
+ "pattern": "^[a-zA-Z0-9-]*$",
+ "type": "string"
+ },
+ "InstanceAccessControlAttributeConfiguration": {
+ "members": {
+ "AccessControlAttributes": {
+ "shape": "AccessControlAttributeList"
+ }
+ },
+ "required": [
+ "AccessControlAttributes"
+ ],
+ "type": "structure"
+ },
+ "InstanceAccessControlAttributeConfigurationStatus": {
+ "enum": [
+ "ENABLED",
+ "CREATION_IN_PROGRESS",
+ "CREATION_FAILED"
+ ],
+ "type": "string"
+ },
+ "InstanceAccessControlAttributeConfigurationStatusReason": {
+ "type": "string"
+ },
+ "InstanceArn": {
+ "max": 1224,
+ "min": 10,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$",
+ "type": "string"
+ },
+ "InstanceList": {
+ "max": 10,
+ "member": {
+ "shape": "InstanceMetadata"
+ },
+ "min": 0,
+ "type": "list"
+ },
+ "InstanceMetadata": {
+ "members": {
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "IdentityStoreId": {
+ "shape": "Id"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "NameType"
+ },
+ "OwnerAccountId": {
+ "shape": "AccountId"
+ },
+ "Status": {
+ "shape": "InstanceStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "InstanceStatus": {
+ "enum": [
+ "CREATE_IN_PROGRESS",
+ "DELETE_IN_PROGRESS",
+ "ACTIVE"
+ ],
+ "type": "string"
+ },
+ "InternalFailureMessage": {
+ "type": "string"
+ },
+ "InternalServerException": {
+ "exception": true,
+ "fault": true,
+ "members": {
+ "Message": {
+ "shape": "InternalFailureMessage"
+ }
+ },
+ "type": "structure"
+ },
+ "JMESPath": {
+ "max": 255,
+ "min": 1,
+ "pattern": "^\\p{L}+(?:\\.\\p{L}+){0,2}$",
+ "type": "string"
+ },
+ "JwksRetrievalOption": {
+ "enum": [
+ "OPEN_ID_DISCOVERY"
+ ],
+ "type": "string"
+ },
+ "JwtBearerGrant": {
+ "members": {
+ "AuthorizedTokenIssuers": {
+ "shape": "AuthorizedTokenIssuers"
+ }
+ },
+ "type": "structure"
+ },
+ "ListAccountAssignmentCreationStatusRequest": {
+ "members": {
+ "Filter": {
+ "shape": "OperationStatusFilter"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "ListAccountAssignmentCreationStatusResponse": {
+ "members": {
+ "AccountAssignmentsCreationStatus": {
+ "shape": "AccountAssignmentOperationStatusList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListAccountAssignmentDeletionStatusRequest": {
+ "members": {
+ "Filter": {
+ "shape": "OperationStatusFilter"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "ListAccountAssignmentDeletionStatusResponse": {
+ "members": {
+ "AccountAssignmentsDeletionStatus": {
+ "shape": "AccountAssignmentOperationStatusList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
},
- "UpdatePermissionSetResponse":{
- "type":"structure",
- "members":{
+ "ListAccountAssignmentsFilter": {
+ "members": {
+ "AccountId": {
+ "shape": "AccountId"
+ }
+ },
+ "type": "structure"
+ },
+ "ListAccountAssignmentsForPrincipalRequest": {
+ "members": {
+ "Filter": {
+ "shape": "ListAccountAssignmentsFilter"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PrincipalId",
+ "PrincipalType"
+ ],
+ "type": "structure"
+ },
+ "ListAccountAssignmentsForPrincipalResponse": {
+ "members": {
+ "AccountAssignments": {
+ "shape": "AccountAssignmentListForPrincipal"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListAccountAssignmentsRequest": {
+ "members": {
+ "AccountId": {
+ "shape": "TargetId"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "AccountId",
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "ListAccountAssignmentsResponse": {
+ "members": {
+ "AccountAssignments": {
+ "shape": "AccountAssignmentList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListAccountsForProvisionedPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "ProvisioningStatus": {
+ "shape": "ProvisioningStatus"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "ListAccountsForProvisionedPermissionSetResponse": {
+ "members": {
+ "AccountIds": {
+ "shape": "AccountList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationAccessScopesRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "MaxResults": {
+ "shape": "ListApplicationAccessScopesRequestMaxResultsInteger"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationAccessScopesRequestMaxResultsInteger": {
+ "box": true,
+ "max": 10,
+ "min": 1,
+ "type": "integer"
+ },
+ "ListApplicationAccessScopesResponse": {
+ "members": {
+ "NextToken": {
+ "shape": "Token"
+ },
+ "Scopes": {
+ "shape": "Scopes"
+ }
+ },
+ "required": [
+ "Scopes"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationAssignmentsFilter": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationAssignmentsForPrincipalRequest": {
+ "members": {
+ "Filter": {
+ "shape": "ListApplicationAssignmentsFilter"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PrincipalId": {
+ "shape": "PrincipalId"
+ },
+ "PrincipalType": {
+ "shape": "PrincipalType"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PrincipalId",
+ "PrincipalType"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationAssignmentsForPrincipalResponse": {
+ "members": {
+ "ApplicationAssignments": {
+ "shape": "ApplicationAssignmentListForPrincipal"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationAssignmentsRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationAssignmentsResponse": {
+ "members": {
+ "ApplicationAssignments": {
+ "shape": "ApplicationAssignmentsList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationAuthenticationMethodsRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationAuthenticationMethodsResponse": {
+ "members": {
+ "AuthenticationMethods": {
+ "shape": "AuthenticationMethods"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationGrantsRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationGrantsResponse": {
+ "members": {
+ "Grants": {
+ "shape": "Grants"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "Grants"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationProvidersRequest": {
+ "members": {
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationProvidersResponse": {
+ "members": {
+ "ApplicationProviders": {
+ "shape": "ApplicationProviderList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationsFilter": {
+ "members": {
+ "ApplicationAccount": {
+ "shape": "AccountId"
+ },
+ "ApplicationProvider": {
+ "shape": "ApplicationProviderArn"
+ }
+ },
+ "type": "structure"
+ },
+ "ListApplicationsRequest": {
+ "members": {
+ "Filter": {
+ "shape": "ListApplicationsFilter"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "ListApplicationsResponse": {
+ "members": {
+ "Applications": {
+ "shape": "ApplicationList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListCustomerManagedPolicyReferencesInPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "ListCustomerManagedPolicyReferencesInPermissionSetResponse": {
+ "members": {
+ "CustomerManagedPolicyReferences": {
+ "shape": "CustomerManagedPolicyReferenceList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListInstancesRequest": {
+ "members": {
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListInstancesResponse": {
+ "members": {
+ "Instances": {
+ "shape": "InstanceList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListManagedPoliciesInPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "ListManagedPoliciesInPermissionSetResponse": {
+ "members": {
+ "AttachedManagedPolicies": {
+ "shape": "AttachedManagedPolicyList"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "type": "structure"
+ },
+ "ListPermissionSetProvisioningStatusRequest": {
+ "members": {
+ "Filter": {
+ "shape": "OperationStatusFilter"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "ListPermissionSetProvisioningStatusResponse": {
+ "members": {
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PermissionSetsProvisioningStatus": {
+ "shape": "PermissionSetProvisioningStatusList"
+ }
+ },
+ "type": "structure"
+ },
+ "ListPermissionSetsProvisionedToAccountRequest": {
+ "members": {
+ "AccountId": {
+ "shape": "AccountId"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "ProvisioningStatus": {
+ "shape": "ProvisioningStatus"
+ }
+ },
+ "required": [
+ "AccountId",
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "ListPermissionSetsProvisionedToAccountResponse": {
+ "members": {
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PermissionSets": {
+ "shape": "PermissionSetList"
+ }
+ },
+ "type": "structure"
+ },
+ "ListPermissionSetsRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "ListPermissionSetsResponse": {
+ "members": {
+ "NextToken": {
+ "shape": "Token"
+ },
+ "PermissionSets": {
+ "shape": "PermissionSetList"
+ }
+ },
+ "type": "structure"
+ },
+ "ListTagsForResourceRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "NextToken": {
+ "shape": "Token"
+ },
+ "ResourceArn": {
+ "shape": "TaggableResourceArn"
+ }
+ },
+ "required": [
+ "ResourceArn"
+ ],
+ "type": "structure"
+ },
+ "ListTagsForResourceResponse": {
+ "members": {
+ "NextToken": {
+ "shape": "Token"
+ },
+ "Tags": {
+ "shape": "TagList"
+ }
+ },
+ "type": "structure"
+ },
+ "ListTrustedTokenIssuersRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "MaxResults": {
+ "shape": "MaxResults"
+ },
+ "NextToken": {
+ "shape": "Token"
+ }
+ },
+ "required": [
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "ListTrustedTokenIssuersResponse": {
+ "members": {
+ "NextToken": {
+ "shape": "Token"
+ },
+ "TrustedTokenIssuers": {
+ "shape": "TrustedTokenIssuerList"
+ }
+ },
+ "type": "structure"
+ },
+ "ManagedPolicyArn": {
+ "max": 2048,
+ "min": 20,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):iam::aws:policy/[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}]+$",
+ "type": "string"
+ },
+ "ManagedPolicyName": {
+ "max": 128,
+ "min": 1,
+ "pattern": "^[\\w+=,.@-]+$",
+ "type": "string"
+ },
+ "ManagedPolicyPath": {
+ "max": 512,
+ "min": 1,
+ "pattern": "^((/[A-Za-z0-9\\.,\\+@=_-]+)*)/$",
+ "type": "string"
+ },
+ "MaxResults": {
+ "box": true,
+ "max": 100,
+ "min": 1,
+ "type": "integer"
+ },
+ "Name": {
+ "max": 100,
+ "min": 1,
+ "type": "string"
+ },
+ "NameType": {
+ "max": 255,
+ "min": 0,
+ "pattern": "^[\\w+=,.@-]+$",
+ "type": "string"
+ },
+ "OidcJwtConfiguration": {
+ "members": {
+ "ClaimAttributePath": {
+ "shape": "ClaimAttributePath"
+ },
+ "IdentityStoreAttributePath": {
+ "shape": "JMESPath"
+ },
+ "IssuerUrl": {
+ "shape": "TrustedTokenIssuerUrl"
+ },
+ "JwksRetrievalOption": {
+ "shape": "JwksRetrievalOption"
+ }
+ },
+ "required": [
+ "ClaimAttributePath",
+ "IdentityStoreAttributePath",
+ "IssuerUrl",
+ "JwksRetrievalOption"
+ ],
+ "type": "structure"
+ },
+ "OidcJwtUpdateConfiguration": {
+ "members": {
+ "ClaimAttributePath": {
+ "shape": "ClaimAttributePath"
+ },
+ "IdentityStoreAttributePath": {
+ "shape": "JMESPath"
+ },
+ "JwksRetrievalOption": {
+ "shape": "JwksRetrievalOption"
+ }
+ },
+ "type": "structure"
+ },
+ "OperationStatusFilter": {
+ "members": {
+ "Status": {
+ "shape": "StatusValues"
+ }
+ },
+ "type": "structure"
+ },
+ "PermissionSet": {
+ "members": {
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "Description": {
+ "shape": "PermissionSetDescription"
+ },
+ "Name": {
+ "shape": "PermissionSetName"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "RelayState": {
+ "shape": "RelayState"
+ },
+ "SessionDuration": {
+ "shape": "Duration"
+ }
+ },
+ "type": "structure"
+ },
+ "PermissionSetArn": {
+ "max": 1224,
+ "min": 10,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16}$",
+ "type": "string"
+ },
+ "PermissionSetDescription": {
+ "max": 700,
+ "min": 1,
+ "pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]*$",
+ "type": "string"
+ },
+ "PermissionSetList": {
+ "member": {
+ "shape": "PermissionSetArn"
+ },
+ "type": "list"
+ },
+ "PermissionSetName": {
+ "max": 32,
+ "min": 1,
+ "pattern": "^[\\w+=,.@-]+$",
+ "type": "string"
+ },
+ "PermissionSetPolicyDocument": {
+ "max": 32768,
+ "min": 1,
+ "pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$",
+ "type": "string"
+ },
+ "PermissionSetProvisioningStatus": {
+ "members": {
+ "AccountId": {
+ "shape": "AccountId"
+ },
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "FailureReason": {
+ "shape": "Reason"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "RequestId": {
+ "shape": "UUId"
+ },
+ "Status": {
+ "shape": "StatusValues"
+ }
+ },
+ "type": "structure"
+ },
+ "PermissionSetProvisioningStatusList": {
+ "member": {
+ "shape": "PermissionSetProvisioningStatusMetadata"
+ },
+ "type": "list"
+ },
+ "PermissionSetProvisioningStatusMetadata": {
+ "members": {
+ "CreatedDate": {
+ "shape": "Date"
+ },
+ "RequestId": {
+ "shape": "UUId"
+ },
+ "Status": {
+ "shape": "StatusValues"
+ }
+ },
+ "type": "structure"
+ },
+ "PermissionsBoundary": {
+ "members": {
+ "CustomerManagedPolicyReference": {
+ "shape": "CustomerManagedPolicyReference"
+ },
+ "ManagedPolicyArn": {
+ "shape": "ManagedPolicyArn"
+ }
+ },
+ "type": "structure"
+ },
+ "PortalOptions": {
+ "members": {
+ "SignInOptions": {
+ "shape": "SignInOptions"
+ },
+ "Visibility": {
+ "shape": "ApplicationVisibility"
+ }
+ },
+ "type": "structure"
+ },
+ "PrincipalId": {
+ "max": 47,
+ "min": 1,
+ "pattern": "^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$",
+ "type": "string"
+ },
+ "PrincipalType": {
+ "enum": [
+ "USER",
+ "GROUP"
+ ],
+ "type": "string"
+ },
+ "ProvisionPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "TargetId": {
+ "shape": "TargetId"
+ },
+ "TargetType": {
+ "shape": "ProvisionTargetType"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn",
+ "TargetType"
+ ],
+ "type": "structure"
+ },
+ "ProvisionPermissionSetResponse": {
+ "members": {
+ "PermissionSetProvisioningStatus": {
+ "shape": "PermissionSetProvisioningStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "ProvisionTargetType": {
+ "enum": [
+ "AWS_ACCOUNT",
+ "ALL_PROVISIONED_ACCOUNTS"
+ ],
+ "type": "string"
+ },
+ "ProvisioningStatus": {
+ "enum": [
+ "LATEST_PERMISSION_SET_PROVISIONED",
+ "LATEST_PERMISSION_SET_NOT_PROVISIONED"
+ ],
+ "type": "string"
+ },
+ "PutApplicationAccessScopeRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "AuthorizedTargets": {
+ "shape": "ScopeTargets"
+ },
+ "Scope": {
+ "shape": "Scope"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "Scope"
+ ],
+ "type": "structure"
+ },
+ "PutApplicationAssignmentConfigurationRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "AssignmentRequired": {
+ "shape": "AssignmentRequired"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "AssignmentRequired"
+ ],
+ "type": "structure"
+ },
+ "PutApplicationAssignmentConfigurationResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "PutApplicationAuthenticationMethodRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "AuthenticationMethod": {
+ "shape": "AuthenticationMethod"
+ },
+ "AuthenticationMethodType": {
+ "shape": "AuthenticationMethodType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "AuthenticationMethod",
+ "AuthenticationMethodType"
+ ],
+ "type": "structure"
+ },
+ "PutApplicationGrantRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "Grant": {
+ "shape": "Grant"
+ },
+ "GrantType": {
+ "shape": "GrantType"
+ }
+ },
+ "required": [
+ "ApplicationArn",
+ "Grant",
+ "GrantType"
+ ],
+ "type": "structure"
+ },
+ "PutInlinePolicyToPermissionSetRequest": {
+ "members": {
+ "InlinePolicy": {
+ "shape": "PermissionSetPolicyDocument"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ }
+ },
+ "required": [
+ "InlinePolicy",
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "PutInlinePolicyToPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "PutPermissionsBoundaryToPermissionSetRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "PermissionsBoundary": {
+ "shape": "PermissionsBoundary"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn",
+ "PermissionsBoundary"
+ ],
+ "type": "structure"
+ },
+ "PutPermissionsBoundaryToPermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "Reason": {
+ "pattern": "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}]*$",
+ "type": "string"
+ },
+ "RedirectUris": {
+ "max": 10,
+ "member": {
+ "shape": "URI"
+ },
+ "min": 1,
+ "type": "list"
+ },
+ "RelayState": {
+ "max": 240,
+ "min": 1,
+ "pattern": "^[a-zA-Z0-9\u0026$@#\\\\\\/%?=~\\-_'\"|!:,.;*+\\[\\]\\ \\(\\)\\{\\}]+$",
+ "type": "string"
+ },
+ "ResourceNotFoundException": {
+ "exception": true,
+ "members": {
+ "Message": {
+ "shape": "ResourceNotFoundMessage"
+ }
+ },
+ "type": "structure"
+ },
+ "ResourceNotFoundMessage": {
+ "type": "string"
+ },
+ "ResourceServerConfig": {
+ "members": {
+ "Scopes": {
+ "shape": "ResourceServerScopes"
+ }
+ },
+ "type": "structure"
+ },
+ "ResourceServerScope": {
+ "max": 80,
+ "min": 1,
+ "pattern": "^[^:=\\-\\.\\s][0-9a-zA-Z_:\\-\\.]+$",
+ "type": "string"
+ },
+ "ResourceServerScopeDetails": {
+ "members": {
+ "DetailedTitle": {
+ "shape": "Description"
+ },
+ "LongDescription": {
+ "shape": "Description"
+ }
+ },
+ "type": "structure"
+ },
+ "ResourceServerScopes": {
+ "key": {
+ "shape": "ResourceServerScope"
+ },
+ "type": "map",
+ "value": {
+ "shape": "ResourceServerScopeDetails"
}
},
- "ValidationException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ValidationExceptionMessage"}
+ "Scope": {
+ "pattern": "^([A-Za-z0-9_]{1,50})(:[A-Za-z0-9_]{1,50}){0,1}(:[A-Za-z0-9_]{1,50}){0,1}$",
+ "type": "string"
+ },
+ "ScopeDetails": {
+ "members": {
+ "AuthorizedTargets": {
+ "shape": "ScopeTargets"
+ },
+ "Scope": {
+ "shape": "Scope"
+ }
},
- "exception":true
+ "required": [
+ "Scope"
+ ],
+ "type": "structure"
+ },
+ "ScopeTarget": {
+ "max": 100,
+ "min": 1,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::(\\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}|:instance/(sso)?ins-[a-zA-Z0-9-.]{16})$",
+ "type": "string"
+ },
+ "ScopeTargets": {
+ "max": 10,
+ "member": {
+ "shape": "ScopeTarget"
+ },
+ "min": 1,
+ "type": "list"
+ },
+ "Scopes": {
+ "max": 10,
+ "member": {
+ "shape": "ScopeDetails"
+ },
+ "min": 0,
+ "type": "list"
+ },
+ "ServiceQuotaExceededException": {
+ "exception": true,
+ "members": {
+ "Message": {
+ "shape": "ServiceQuotaExceededMessage"
+ }
+ },
+ "type": "structure"
+ },
+ "ServiceQuotaExceededMessage": {
+ "type": "string"
+ },
+ "SignInOptions": {
+ "members": {
+ "ApplicationUrl": {
+ "shape": "ApplicationUrl"
+ },
+ "Origin": {
+ "shape": "SignInOrigin"
+ }
+ },
+ "required": [
+ "Origin"
+ ],
+ "type": "structure"
+ },
+ "SignInOrigin": {
+ "enum": [
+ "IDENTITY_CENTER",
+ "APPLICATION"
+ ],
+ "type": "string"
+ },
+ "StatusValues": {
+ "enum": [
+ "IN_PROGRESS",
+ "FAILED",
+ "SUCCEEDED"
+ ],
+ "type": "string"
+ },
+ "Tag": {
+ "members": {
+ "Key": {
+ "shape": "TagKey"
+ },
+ "Value": {
+ "shape": "TagValue"
+ }
+ },
+ "required": [
+ "Key",
+ "Value"
+ ],
+ "type": "structure"
+ },
+ "TagKey": {
+ "max": 128,
+ "min": 1,
+ "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
+ "type": "string"
+ },
+ "TagKeyList": {
+ "max": 75,
+ "member": {
+ "shape": "TagKey"
+ },
+ "min": 1,
+ "type": "list"
+ },
+ "TagList": {
+ "max": 75,
+ "member": {
+ "shape": "Tag"
+ },
+ "min": 0,
+ "type": "list"
+ },
+ "TagResourceRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "ResourceArn": {
+ "shape": "TaggableResourceArn"
+ },
+ "Tags": {
+ "shape": "TagList"
+ }
+ },
+ "required": [
+ "ResourceArn",
+ "Tags"
+ ],
+ "type": "structure"
+ },
+ "TagResourceResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "TagValue": {
+ "max": 256,
+ "min": 0,
+ "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
+ "type": "string"
+ },
+ "TaggableResourceArn": {
+ "max": 2048,
+ "min": 10,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::((:instance/(sso)?ins-[a-zA-Z0-9-.]{16})|(:permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16})|(\\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16})|(\\d{12}:trustedTokenIssuer/(sso)?ins-[a-zA-Z0-9-.]{16}/tti-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}))$",
+ "type": "string"
+ },
+ "TargetId": {
+ "max": 12,
+ "min": 12,
+ "pattern": "^\\d{12}$",
+ "type": "string"
+ },
+ "TargetType": {
+ "enum": [
+ "AWS_ACCOUNT"
+ ],
+ "type": "string"
+ },
+ "ThrottlingException": {
+ "exception": true,
+ "members": {
+ "Message": {
+ "shape": "ThrottlingExceptionMessage"
+ }
+ },
+ "type": "structure"
+ },
+ "ThrottlingExceptionMessage": {
+ "type": "string"
+ },
+ "Token": {
+ "max": 2048,
+ "min": 0,
+ "pattern": "^[-a-zA-Z0-9+=/_]*$",
+ "type": "string"
+ },
+ "TokenIssuerAudience": {
+ "max": 512,
+ "min": 1,
+ "type": "string"
+ },
+ "TokenIssuerAudiences": {
+ "max": 10,
+ "member": {
+ "shape": "TokenIssuerAudience"
+ },
+ "min": 1,
+ "type": "list"
+ },
+ "TrustedTokenIssuerArn": {
+ "max": 1224,
+ "min": 10,
+ "pattern": "^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\\d{12}:trustedTokenIssuer/(sso)?ins-[a-zA-Z0-9-.]{16}/tti-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
+ "type": "string"
+ },
+ "TrustedTokenIssuerConfiguration": {
+ "members": {
+ "OidcJwtConfiguration": {
+ "shape": "OidcJwtConfiguration"
+ }
+ },
+ "type": "structure",
+ "union": true
+ },
+ "TrustedTokenIssuerList": {
+ "member": {
+ "shape": "TrustedTokenIssuerMetadata"
+ },
+ "type": "list"
+ },
+ "TrustedTokenIssuerMetadata": {
+ "members": {
+ "Name": {
+ "shape": "TrustedTokenIssuerName"
+ },
+ "TrustedTokenIssuerArn": {
+ "shape": "TrustedTokenIssuerArn"
+ },
+ "TrustedTokenIssuerType": {
+ "shape": "TrustedTokenIssuerType"
+ }
+ },
+ "type": "structure"
},
- "ValidationExceptionMessage":{"type":"string"}
- }
-}
+ "TrustedTokenIssuerName": {
+ "max": 255,
+ "min": 1,
+ "pattern": "^[\\w+=,.@-]+$",
+ "type": "string"
+ },
+ "TrustedTokenIssuerType": {
+ "enum": [
+ "OIDC_JWT"
+ ],
+ "type": "string"
+ },
+ "TrustedTokenIssuerUpdateConfiguration": {
+ "members": {
+ "OidcJwtConfiguration": {
+ "shape": "OidcJwtUpdateConfiguration"
+ }
+ },
+ "type": "structure",
+ "union": true
+ },
+ "TrustedTokenIssuerUrl": {
+ "max": 512,
+ "min": 1,
+ "pattern": "^https?:\\/\\/[-a-zA-Z0-9+\u0026@\\/%=~_|!:,.;]*[-a-zA-Z0-9+\u0026@\\/%=~_|]$",
+ "type": "string"
+ },
+ "URI": {
+ "type": "string"
+ },
+ "UUId": {
+ "max": 36,
+ "min": 36,
+ "pattern": "^\\b[0-9a-f]{8}\\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\\b[0-9a-f]{12}\\b$",
+ "type": "string"
+ },
+ "UntagResourceRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "ResourceArn": {
+ "shape": "TaggableResourceArn"
+ },
+ "TagKeys": {
+ "shape": "TagKeyList"
+ }
+ },
+ "required": [
+ "ResourceArn",
+ "TagKeys"
+ ],
+ "type": "structure"
+ },
+ "UntagResourceResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "UpdateApplicationPortalOptions": {
+ "members": {
+ "SignInOptions": {
+ "shape": "SignInOptions"
+ }
+ },
+ "type": "structure"
+ },
+ "UpdateApplicationRequest": {
+ "members": {
+ "ApplicationArn": {
+ "shape": "ApplicationArn"
+ },
+ "Description": {
+ "shape": "Description"
+ },
+ "Name": {
+ "shape": "NameType"
+ },
+ "PortalOptions": {
+ "shape": "UpdateApplicationPortalOptions"
+ },
+ "Status": {
+ "shape": "ApplicationStatus"
+ }
+ },
+ "required": [
+ "ApplicationArn"
+ ],
+ "type": "structure"
+ },
+ "UpdateApplicationResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "UpdateInstanceAccessControlAttributeConfigurationRequest": {
+ "members": {
+ "InstanceAccessControlAttributeConfiguration": {
+ "shape": "InstanceAccessControlAttributeConfiguration"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ }
+ },
+ "required": [
+ "InstanceAccessControlAttributeConfiguration",
+ "InstanceArn"
+ ],
+ "type": "structure"
+ },
+ "UpdateInstanceAccessControlAttributeConfigurationResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "UpdateInstanceRequest": {
+ "members": {
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "Name": {
+ "shape": "NameType"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "Name"
+ ],
+ "type": "structure"
+ },
+ "UpdateInstanceResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "UpdatePermissionSetRequest": {
+ "members": {
+ "Description": {
+ "shape": "PermissionSetDescription"
+ },
+ "InstanceArn": {
+ "shape": "InstanceArn"
+ },
+ "PermissionSetArn": {
+ "shape": "PermissionSetArn"
+ },
+ "RelayState": {
+ "shape": "RelayState"
+ },
+ "SessionDuration": {
+ "shape": "Duration"
+ }
+ },
+ "required": [
+ "InstanceArn",
+ "PermissionSetArn"
+ ],
+ "type": "structure"
+ },
+ "UpdatePermissionSetResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "UpdateTrustedTokenIssuerRequest": {
+ "members": {
+ "Name": {
+ "shape": "TrustedTokenIssuerName"
+ },
+ "TrustedTokenIssuerArn": {
+ "shape": "TrustedTokenIssuerArn"
+ },
+ "TrustedTokenIssuerConfiguration": {
+ "shape": "TrustedTokenIssuerUpdateConfiguration"
+ }
+ },
+ "required": [
+ "TrustedTokenIssuerArn"
+ ],
+ "type": "structure"
+ },
+ "UpdateTrustedTokenIssuerResponse": {
+ "members": {},
+ "type": "structure"
+ },
+ "ValidationException": {
+ "exception": true,
+ "members": {
+ "Message": {
+ "shape": "ValidationExceptionMessage"
+ }
+ },
+ "type": "structure"
+ },
+ "ValidationExceptionMessage": {
+ "type": "string"
+ }
+ },
+ "version": "2.0"
+}
\ No newline at end of file
diff --git a/models/apis/sso-admin/2020-07-20/docs-2.json b/models/apis/sso-admin/2020-07-20/docs-2.json
index e6290d2b687..038a3518797 100644
--- a/models/apis/sso-admin/2020-07-20/docs-2.json
+++ b/models/apis/sso-admin/2020-07-20/docs-2.json
@@ -5,40 +5,76 @@
"AttachCustomerManagedPolicyReferenceToPermissionSet": "Attaches the specified customer managed policy to the specified PermissionSet.
",
"AttachManagedPolicyToPermissionSet": "Attaches an Amazon Web Services managed policy ARN to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet
after this operation. Calling ProvisionPermissionSet
applies the corresponding IAM policy updates to all assigned accounts.
",
"CreateAccountAssignment": "Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.
The term principal here refers to a user or group that is defined in IAM Identity Center.
As part of a successful CreateAccountAssignment
call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the IAM role created in IAM Identity Center. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call ProvisionPermissionSet
to make these updates.
After a successful response, call DescribeAccountAssignmentCreationStatus
to describe the status of an assignment creation request.
",
+ "CreateApplication": "Creates an application in IAM Identity Center for the given application provider.
",
+ "CreateApplicationAssignment": "Grant application access to a user or group.
",
+ "CreateInstance": "Creates an instance of IAM Identity Center for a standalone Amazon Web Services account that is not managed by Organizations or a member Amazon Web Services account in an organization. You can create only one instance per account and across all Amazon Web Services Regions.
The CreateInstance request is rejected if the following apply:
",
"CreateInstanceAccessControlAttributeConfiguration": "Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
After a successful response, call DescribeInstanceAccessControlAttributeConfiguration
to validate that InstanceAccessControlAttributeConfiguration
was created.
",
"CreatePermissionSet": "Creates a permission set within a specified IAM Identity Center instance.
To grant users and groups access to Amazon Web Services account resources, use CreateAccountAssignment
.
",
+ "CreateTrustedTokenIssuer": "Creates a connection to a trusted token issuer in an instance of IAM Identity Center. A trusted token issuer enables trusted identity propagation to be used with applications that authenticate outside of Amazon Web Services.
This trusted token issuer describes an external identity provider (IdP) that can generate claims or assertions in the form of access tokens for a user. Applications enabled for IAM Identity Center can use these tokens for authentication.
",
"DeleteAccountAssignment": "Deletes a principal's access from a specified Amazon Web Services account using a specified permission set.
After a successful response, call DescribeAccountAssignmentDeletionStatus
to describe the status of an assignment deletion request.
",
+ "DeleteApplication": "Deletes the association with the application. The connected service resource still exists.
",
+ "DeleteApplicationAccessScope": "Deletes an IAM Identity Center access scope from an application.
",
+ "DeleteApplicationAssignment": "Revoke application access to an application by deleting application assignments for a user or group.
",
+ "DeleteApplicationAuthenticationMethod": "Deletes an authentication method from an application.
",
+ "DeleteApplicationGrant": "Deletes a grant from an application.
",
"DeleteInlinePolicyFromPermissionSet": "Deletes the inline policy from a specified permission set.
",
+ "DeleteInstance": "Deletes the instance of IAM Identity Center. Only the account that owns the instance can call this API. Neither the delegated administrator nor member account can delete the organization instance, but those roles can delete their own instance.
",
"DeleteInstanceAccessControlAttributeConfiguration": "Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
",
"DeletePermissionSet": "Deletes the specified permission set.
",
"DeletePermissionsBoundaryFromPermissionSet": "Deletes the permissions boundary from a specified PermissionSet.
",
+ "DeleteTrustedTokenIssuer": "Deletes a trusted token issuer configuration from an instance of IAM Identity Center.
Deleting this trusted token issuer configuration will cause users to lose access to any applications that are configured to use the trusted token issuer.
",
"DescribeAccountAssignmentCreationStatus": "Describes the status of the assignment creation request.
",
"DescribeAccountAssignmentDeletionStatus": "Describes the status of the assignment deletion request.
",
+ "DescribeApplication": "Retrieves the details of an application associated with an instance of IAM Identity Center.
",
+ "DescribeApplicationAssignment": "Retrieves a direct assignment of a user or group to an application. If the user doesn’t have a direct assignment to the application, the user may still have access to the application through a group. Therefore, don’t use this API to test access to an application for a user. Instead use ListApplicationAssignmentsForPrincipal.
",
+ "DescribeApplicationProvider": "Retrieves details about a provider that can be used to connect an Amazon Web Services managed application or customer managed application to IAM Identity Center.
",
+ "DescribeInstance": "Returns the details of an instance of IAM Identity Center. The status can be one of the following:
-
CREATE_IN_PROGRESS
- The instance is in the process of being created. When the instance is ready for use, DescribeInstance returns the status of ACTIVE
. While the instance is in the CREATE_IN_PROGRESS
state, you can call only DescribeInstance and DeleteInstance operations.
-
DELETE_IN_PROGRESS
- The instance is being deleted. Returns AccessDeniedException
after the delete operation completes.
-
ACTIVE
- The instance is active.
",
"DescribeInstanceAccessControlAttributeConfiguration": "Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center instance. This will not return attributes configured and sent by an external identity provider. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
",
"DescribePermissionSet": "Gets the details of the permission set.
",
"DescribePermissionSetProvisioningStatus": "Describes the status for the given permission set provisioning request.
",
+ "DescribeTrustedTokenIssuer": "Retrieves details about a trusted token issuer configuration stored in an instance of IAM Identity Center. Details include the name of the trusted token issuer, the issuer URL, and the path of the source attribute and the destination attribute for a trusted token issuer configuration.
",
"DetachCustomerManagedPolicyReferenceFromPermissionSet": "Detaches the specified customer managed policy from the specified PermissionSet.
",
"DetachManagedPolicyFromPermissionSet": "Detaches the attached Amazon Web Services managed policy ARN from the specified permission set.
",
+ "GetApplicationAccessScope": "Retrieves the authorized targets for an IAM Identity Center access scope for an application.
",
+ "GetApplicationAssignmentConfiguration": "Retrieves the configuration of PutApplicationAssignmentConfiguration.
",
+ "GetApplicationAuthenticationMethod": "Retrieves details about an authentication method used by an application.
",
+ "GetApplicationGrant": "Retrieves details about an application grant.
",
"GetInlinePolicyForPermissionSet": "Obtains the inline policy assigned to the permission set.
",
"GetPermissionsBoundaryForPermissionSet": "Obtains the permissions boundary for a specified PermissionSet.
",
"ListAccountAssignmentCreationStatus": "Lists the status of the Amazon Web Services account assignment creation requests for a specified IAM Identity Center instance.
",
"ListAccountAssignmentDeletionStatus": "Lists the status of the Amazon Web Services account assignment deletion requests for a specified IAM Identity Center instance.
",
"ListAccountAssignments": "Lists the assignee of the specified Amazon Web Services account with the specified permission set.
",
+ "ListAccountAssignmentsForPrincipal": "Retrieves a list of the IAM Identity Center associated Amazon Web Services accounts that the principal has access to.
",
"ListAccountsForProvisionedPermissionSet": "Lists all the Amazon Web Services accounts where the specified permission set is provisioned.
",
+ "ListApplicationAccessScopes": "Lists the access scopes and authorized targets associated with an application.
",
+ "ListApplicationAssignments": "Lists Amazon Web Services account users that are assigned to an application.
",
+ "ListApplicationAssignmentsForPrincipal": "Lists the applications to which a specified principal is assigned.
",
+ "ListApplicationAuthenticationMethods": "Lists all of the authentication methods supported by the specified application.
",
+ "ListApplicationGrants": "List the grants associated with an application.
",
+ "ListApplicationProviders": "Lists the application providers configured in the IAM Identity Center identity store.
",
+ "ListApplications": "Lists all applications associated with the instance of IAM Identity Center. When listing applications for an instance in the management account, member accounts must use the applicationAccount
parameter to filter the list to only applications created from that account.
",
"ListCustomerManagedPolicyReferencesInPermissionSet": "Lists all customer managed policies attached to a specified PermissionSet.
",
- "ListInstances": "Lists the IAM Identity Center instances that the caller has access to.
",
+ "ListInstances": "Lists the details of the organization and account instances of IAM Identity Center that were created in or visible to the account calling this API.
",
"ListManagedPoliciesInPermissionSet": "Lists the Amazon Web Services managed policy that is attached to a specified permission set.
",
"ListPermissionSetProvisioningStatus": "Lists the status of the permission set provisioning requests for a specified IAM Identity Center instance.
",
"ListPermissionSets": "Lists the PermissionSets in an IAM Identity Center instance.
",
"ListPermissionSetsProvisionedToAccount": "Lists all the permission sets that are provisioned to a specified Amazon Web Services account.
",
"ListTagsForResource": "Lists the tags that are attached to a specified resource.
",
+ "ListTrustedTokenIssuers": "Lists all the trusted token issuers configured in an instance of IAM Identity Center.
",
"ProvisionPermissionSet": "The process by which a specified permission set is provisioned to the specified target.
",
+ "PutApplicationAccessScope": "Adds or updates the list of authorized targets for an IAM Identity Center access scope for an application.
",
+ "PutApplicationAssignmentConfiguration": "Configure how users gain access to an application. If AssignmentsRequired
is true
(default value), users don’t have access to the application unless an assignment is created using the CreateApplicationAssignment API. If false
, all users have access to the application. If an assignment is created using CreateApplicationAssignment., the user retains access if AssignmentsRequired
is set to true
.
",
+ "PutApplicationAuthenticationMethod": "Adds or updates an authentication method for an application.
",
+ "PutApplicationGrant": "Adds a grant to an application.
",
"PutInlinePolicyToPermissionSet": "Attaches an inline policy to a permission set.
If the permission set is already referenced by one or more account assignments, you will need to call ProvisionPermissionSet
after this action to apply the corresponding IAM policy updates to all assigned accounts.
",
"PutPermissionsBoundaryToPermissionSet": "Attaches an Amazon Web Services managed or customer managed policy to the specified PermissionSet as a permissions boundary.
",
"TagResource": "Associates a set of tags with a specified resource.
",
"UntagResource": "Disassociates a set of tags from a specified resource.
",
+ "UpdateApplication": "Updates application properties.
",
+ "UpdateInstance": "Update the details for the instance of IAM Identity Center that is owned by the Amazon Web Services account.
",
"UpdateInstanceAccessControlAttributeConfiguration": "Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center identity store. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
",
- "UpdatePermissionSet": "Updates an existing permission set.
"
+ "UpdatePermissionSet": "Updates an existing permission set.
",
+ "UpdateTrustedTokenIssuer": "Updates the name of the trusted token issuer, or the path of a source attribute or destination attribute for a trusted token issuer configuration.
Updating this trusted token issuer configuration might cause users to lose access to any applications that are configured to use the trusted token issuer.
"
},
"shapes": {
"AccessControlAttribute": {
@@ -94,12 +130,24 @@
"AccountAssignmentList$member": null
}
},
+ "AccountAssignmentForPrincipal": {
+ "base": "A structure that describes an assignment of an Amazon Web Services account to a principal and the permissions that principal has in the account.
",
+ "refs": {
+ "AccountAssignmentListForPrincipal$member": null
+ }
+ },
"AccountAssignmentList": {
"base": null,
"refs": {
"ListAccountAssignmentsResponse$AccountAssignments": "The list of assignments that match the input Amazon Web Services account and permission set.
"
}
},
+ "AccountAssignmentListForPrincipal": {
+ "base": null,
+ "refs": {
+ "ListAccountAssignmentsForPrincipalResponse$AccountAssignments": "An array list of the account assignments for the principal.
"
+ }
+ },
"AccountAssignmentOperationStatus": {
"base": "The status of the creation or deletion operation of an assignment that a principal needs to access an account.
",
"refs": {
@@ -126,7 +174,14 @@
"base": null,
"refs": {
"AccountAssignment$AccountId": "The identifier of the Amazon Web Services account.
",
+ "AccountAssignmentForPrincipal$AccountId": "The account ID number of the Amazon Web Services account.
",
"AccountList$member": null,
+ "Application$ApplicationAccount": "The Amazon Web Services account ID number of the application.
",
+ "DescribeApplicationResponse$ApplicationAccount": "The account ID.
",
+ "DescribeInstanceResponse$OwnerAccountId": "The identifier of the Amazon Web Services account for which the instance was created.
",
+ "InstanceMetadata$OwnerAccountId": "The Amazon Web Services account ID number of the owner of the Identity Center instance.
",
+ "ListAccountAssignmentsFilter$AccountId": "The ID number of an Amazon Web Services account that filters the results in the response.
",
+ "ListApplicationsFilter$ApplicationAccount": "An Amazon Web Services account ID number that filters the results in the response.
",
"ListPermissionSetsProvisionedToAccountRequest$AccountId": "The identifier of the Amazon Web Services account from which to list the assignments.
",
"PermissionSetProvisioningStatus$AccountId": "The identifier of the Amazon Web Services account from which to list the assignments.
"
}
@@ -137,6 +192,133 @@
"ListAccountsForProvisionedPermissionSetResponse$AccountIds": "The list of Amazon Web Services AccountIds
.
"
}
},
+ "ActorPolicyDocument": {
+ "base": null,
+ "refs": {
+ "IamAuthenticationMethod$ActorPolicy": "An IAM policy document in JSON.
"
+ }
+ },
+ "Application": {
+ "base": "A structure that describes an application that uses IAM Identity Center for access management.
",
+ "refs": {
+ "ApplicationList$member": null
+ }
+ },
+ "ApplicationArn": {
+ "base": null,
+ "refs": {
+ "Application$ApplicationArn": "The ARN of the application.
",
+ "ApplicationAssignment$ApplicationArn": "The ARN of the application that has principals assigned.
",
+ "ApplicationAssignmentForPrincipal$ApplicationArn": "The ARN of the application to which the specified principal is assigned.
",
+ "CreateApplicationAssignmentRequest$ApplicationArn": "The ARN of the application provider under which the operation will run.
",
+ "CreateApplicationResponse$ApplicationArn": "Specifies the ARN of the application.
",
+ "DeleteApplicationAccessScopeRequest$ApplicationArn": "Specifies the ARN of the application with the access scope to delete.
",
+ "DeleteApplicationAssignmentRequest$ApplicationArn": "Specifies the ARN of the application.
",
+ "DeleteApplicationAuthenticationMethodRequest$ApplicationArn": "Specifies the ARN of the application with the authentication method to delete.
",
+ "DeleteApplicationGrantRequest$ApplicationArn": "Specifies the ARN of the application with the grant to delete.
",
+ "DeleteApplicationRequest$ApplicationArn": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeApplicationAssignmentRequest$ApplicationArn": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeApplicationAssignmentResponse$ApplicationArn": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeApplicationRequest$ApplicationArn": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeApplicationResponse$ApplicationArn": "Specifies the ARN of the application.
",
+ "GetApplicationAccessScopeRequest$ApplicationArn": "Specifies the ARN of the application with the access scope that you want to retrieve.
",
+ "GetApplicationAssignmentConfigurationRequest$ApplicationArn": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "GetApplicationAuthenticationMethodRequest$ApplicationArn": "Specifies the ARN of the application.
",
+ "GetApplicationGrantRequest$ApplicationArn": "Specifies the ARN of the application that contains the grant.
",
+ "ListApplicationAccessScopesRequest$ApplicationArn": "Specifies the ARN of the application.
",
+ "ListApplicationAssignmentsFilter$ApplicationArn": "The ARN of an application.
",
+ "ListApplicationAssignmentsRequest$ApplicationArn": "Specifies the ARN of the application.
",
+ "ListApplicationAuthenticationMethodsRequest$ApplicationArn": "Specifies the ARN of the application with the authentication methods you want to list.
",
+ "ListApplicationGrantsRequest$ApplicationArn": "Specifies the ARN of the application whose grants you want to list.
",
+ "PutApplicationAccessScopeRequest$ApplicationArn": "Specifies the ARN of the application with the access scope with the targets to add or update.
",
+ "PutApplicationAssignmentConfigurationRequest$ApplicationArn": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "PutApplicationAuthenticationMethodRequest$ApplicationArn": "Specifies the ARN of the application with the authentication method to add or update.
",
+ "PutApplicationGrantRequest$ApplicationArn": "Specifies the ARN of the application to update.
",
+ "UpdateApplicationRequest$ApplicationArn": "Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
"
+ }
+ },
+ "ApplicationAssignment": {
+ "base": "A structure that describes an assignment of a principal to an application.
",
+ "refs": {
+ "ApplicationAssignmentsList$member": null
+ }
+ },
+ "ApplicationAssignmentForPrincipal": {
+ "base": "A structure that describes an application to which a principal is assigned.
",
+ "refs": {
+ "ApplicationAssignmentListForPrincipal$member": null
+ }
+ },
+ "ApplicationAssignmentListForPrincipal": {
+ "base": null,
+ "refs": {
+ "ListApplicationAssignmentsForPrincipalResponse$ApplicationAssignments": "An array list of the application assignments for the specified principal.
"
+ }
+ },
+ "ApplicationAssignmentsList": {
+ "base": null,
+ "refs": {
+ "ListApplicationAssignmentsResponse$ApplicationAssignments": "The list of users assigned to an application.
"
+ }
+ },
+ "ApplicationList": {
+ "base": null,
+ "refs": {
+ "ListApplicationsResponse$Applications": "Retrieves all applications associated with the instance.
"
+ }
+ },
+ "ApplicationProvider": {
+ "base": "A structure that describes a provider that can be used to connect an Amazon Web Services managed application or customer managed application to IAM Identity Center.
",
+ "refs": {
+ "ApplicationProviderList$member": null
+ }
+ },
+ "ApplicationProviderArn": {
+ "base": null,
+ "refs": {
+ "Application$ApplicationProviderArn": "The ARN of the application provider for this application.
",
+ "ApplicationProvider$ApplicationProviderArn": "The ARN of the application provider.
",
+ "CreateApplicationRequest$ApplicationProviderArn": "The ARN of the application provider under which the operation will run.
",
+ "DescribeApplicationProviderRequest$ApplicationProviderArn": "Specifies the ARN of the application provider for which you want details.
",
+ "DescribeApplicationProviderResponse$ApplicationProviderArn": "The ARN of the application provider.
",
+ "DescribeApplicationResponse$ApplicationProviderArn": "The ARN of the application provider under which the operation will run.
",
+ "ListApplicationsFilter$ApplicationProvider": "The ARN of an application provider that can filter the results in the response.
"
+ }
+ },
+ "ApplicationProviderList": {
+ "base": null,
+ "refs": {
+ "ListApplicationProvidersResponse$ApplicationProviders": "An array list of structures that describe application providers.
"
+ }
+ },
+ "ApplicationStatus": {
+ "base": null,
+ "refs": {
+ "Application$Status": "The current status of the application in this instance of IAM Identity Center.
",
+ "CreateApplicationRequest$Status": "Specifies whether the application is enabled or disabled.
",
+ "DescribeApplicationResponse$Status": "Specifies whether the application is enabled or disabled.
",
+ "UpdateApplicationRequest$Status": "Specifies whether the application is enabled or disabled.
"
+ }
+ },
+ "ApplicationUrl": {
+ "base": null,
+ "refs": {
+ "SignInOptions$ApplicationUrl": "The URL that accepts authentication requests for an application. This is a required parameter if the Origin
parameter is APPLICATION
.
"
+ }
+ },
+ "ApplicationVisibility": {
+ "base": null,
+ "refs": {
+ "PortalOptions$Visibility": "Indicates whether this application is visible in the access portal.
"
+ }
+ },
+ "AssignmentRequired": {
+ "base": null,
+ "refs": {
+ "GetApplicationAssignmentConfigurationResponse$AssignmentRequired": "If AssignmentsRequired
is true
(default value), users don’t have access to the application unless an assignment is created using the CreateApplicationAssignment API. If false
, all users have access to the application.
",
+ "PutApplicationAssignmentConfigurationRequest$AssignmentRequired": "If AssignmentsRequired
is true
(default value), users don’t have access to the application unless an assignment is created using the CreateApplicationAssignment API. If false
, all users have access to the application.
"
+ }
+ },
"AttachCustomerManagedPolicyReferenceToPermissionSetRequest": {
"base": null,
"refs": {
@@ -169,6 +351,68 @@
"ListManagedPoliciesInPermissionSetResponse$AttachedManagedPolicies": "An array of the AttachedManagedPolicy data type object.
"
}
},
+ "AuthenticationMethod": {
+ "base": "A structure that describes an authentication method that can be used by an application.
",
+ "refs": {
+ "AuthenticationMethodItem$AuthenticationMethod": "A structure that describes an authentication method. The contents of this structure is determined by the AuthenticationMethodType
.
",
+ "GetApplicationAuthenticationMethodResponse$AuthenticationMethod": "A structure that contains details about the requested authentication method.
",
+ "PutApplicationAuthenticationMethodRequest$AuthenticationMethod": "Specifies a structure that describes the authentication method to add or update. The structure type you provide is determined by the AuthenticationMethodType
parameter.
"
+ }
+ },
+ "AuthenticationMethodItem": {
+ "base": "A structure that describes an authentication method and its type.
",
+ "refs": {
+ "AuthenticationMethods$member": null
+ }
+ },
+ "AuthenticationMethodType": {
+ "base": null,
+ "refs": {
+ "AuthenticationMethodItem$AuthenticationMethodType": "The type of authentication that is used by this method.
",
+ "DeleteApplicationAuthenticationMethodRequest$AuthenticationMethodType": "Specifies the authentication method type to delete from the application.
",
+ "GetApplicationAuthenticationMethodRequest$AuthenticationMethodType": "Specifies the type of authentication method for which you want details.
",
+ "PutApplicationAuthenticationMethodRequest$AuthenticationMethodType": "Specifies the type of the authentication method that you want to add or update.
"
+ }
+ },
+ "AuthenticationMethods": {
+ "base": null,
+ "refs": {
+ "ListApplicationAuthenticationMethodsResponse$AuthenticationMethods": "An array list of authentication methods for the specified application.
"
+ }
+ },
+ "AuthorizationCodeGrant": {
+ "base": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
",
+ "refs": {
+ "Grant$AuthorizationCode": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
"
+ }
+ },
+ "AuthorizedTokenIssuer": {
+ "base": "A structure that describes a trusted token issuer and associates it with a set of authorized audiences.
",
+ "refs": {
+ "AuthorizedTokenIssuers$member": null
+ }
+ },
+ "AuthorizedTokenIssuers": {
+ "base": null,
+ "refs": {
+ "JwtBearerGrant$AuthorizedTokenIssuers": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
"
+ }
+ },
+ "ClaimAttributePath": {
+ "base": null,
+ "refs": {
+ "OidcJwtConfiguration$ClaimAttributePath": "The path of the source attribute in the JWT from the trusted token issuer. The attribute mapped by this JMESPath expression is compared against the attribute mapped by IdentityStoreAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
",
+ "OidcJwtUpdateConfiguration$ClaimAttributePath": "The path of the source attribute in the JWT from the trusted token issuer. The attribute mapped by this JMESPath expression is compared against the attribute mapped by IdentityStoreAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
"
+ }
+ },
+ "ClientToken": {
+ "base": null,
+ "refs": {
+ "CreateApplicationRequest$ClientToken": "Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
",
+ "CreateInstanceRequest$ClientToken": "Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
",
+ "CreateTrustedTokenIssuerRequest$ClientToken": "Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
"
+ }
+ },
"ConflictException": {
"base": "Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
",
"refs": {
@@ -190,6 +434,26 @@
"refs": {
}
},
+ "CreateApplicationAssignmentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateApplicationAssignmentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateApplicationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateApplicationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CreateInstanceAccessControlAttributeConfigurationRequest": {
"base": null,
"refs": {
@@ -200,6 +464,16 @@
"refs": {
}
},
+ "CreateInstanceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateInstanceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CreatePermissionSetRequest": {
"base": null,
"refs": {
@@ -210,6 +484,16 @@
"refs": {
}
},
+ "CreateTrustedTokenIssuerRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateTrustedTokenIssuerResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CustomerManagedPolicyReference": {
"base": "Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
",
"refs": {
@@ -230,6 +514,10 @@
"refs": {
"AccountAssignmentOperationStatus$CreatedDate": "The date that the permission set was created.
",
"AccountAssignmentOperationStatusMetadata$CreatedDate": "The date that the permission set was created.
",
+ "Application$CreatedDate": "The date and time when the application was originally created.
",
+ "DescribeApplicationResponse$CreatedDate": "The date the application was created.
",
+ "DescribeInstanceResponse$CreatedDate": "The date the instance was created.
",
+ "InstanceMetadata$CreatedDate": "The date and time that the Identity Center instance was created.
",
"PermissionSet$CreatedDate": "The date that the permission set was created.
",
"PermissionSetProvisioningStatus$CreatedDate": "The date that the permission set was created.
",
"PermissionSetProvisioningStatusMetadata$CreatedDate": "The date that the permission set was created.
"
@@ -245,6 +533,41 @@
"refs": {
}
},
+ "DeleteApplicationAccessScopeRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteApplicationAssignmentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteApplicationAssignmentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteApplicationAuthenticationMethodRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteApplicationGrantRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteApplicationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteApplicationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteInlinePolicyFromPermissionSetRequest": {
"base": null,
"refs": {
@@ -265,6 +588,16 @@
"refs": {
}
},
+ "DeleteInstanceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteInstanceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeletePermissionSetRequest": {
"base": null,
"refs": {
@@ -285,6 +618,16 @@
"refs": {
}
},
+ "DeleteTrustedTokenIssuerRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteTrustedTokenIssuerResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeAccountAssignmentCreationStatusRequest": {
"base": null,
"refs": {
@@ -305,6 +648,36 @@
"refs": {
}
},
+ "DescribeApplicationAssignmentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeApplicationAssignmentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeApplicationProviderRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeApplicationProviderResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeApplicationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeApplicationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeInstanceAccessControlAttributeConfigurationRequest": {
"base": null,
"refs": {
@@ -315,6 +688,16 @@
"refs": {
}
},
+ "DescribeInstanceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeInstanceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribePermissionSetProvisioningStatusRequest": {
"base": null,
"refs": {
@@ -335,6 +718,28 @@
"refs": {
}
},
+ "DescribeTrustedTokenIssuerRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeTrustedTokenIssuerResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "Description": {
+ "base": null,
+ "refs": {
+ "Application$Description": "The description of the application.
",
+ "CreateApplicationRequest$Description": "The description of the .
",
+ "DescribeApplicationResponse$Description": "The description of the .
",
+ "DisplayData$Description": "The description of the application provider that appears in the portal.
",
+ "ResourceServerScopeDetails$DetailedTitle": "The title of an access scope for a resource server.
",
+ "ResourceServerScopeDetails$LongDescription": "The description of an access scope for a resource server.
",
+ "UpdateApplicationRequest$Description": "The description of the .
"
+ }
+ },
"DetachCustomerManagedPolicyReferenceFromPermissionSetRequest": {
"base": null,
"refs": {
@@ -355,38 +760,134 @@
"refs": {
}
},
- "Duration": {
- "base": null,
+ "DisplayData": {
+ "base": "A structure that describes how the portal represents an application provider.
",
+ "refs": {
+ "ApplicationProvider$DisplayData": "A structure that describes how IAM Identity Center represents the application provider in the portal.
",
+ "DescribeApplicationProviderResponse$DisplayData": "A structure with details about the display data for the application provider.
"
+ }
+ },
+ "Duration": {
+ "base": null,
+ "refs": {
+ "CreatePermissionSetRequest$SessionDuration": "The length of time that the application user sessions are valid in the ISO-8601 standard.
",
+ "PermissionSet$SessionDuration": "The length of time that the application user sessions are valid for in the ISO-8601 standard.
",
+ "UpdatePermissionSetRequest$SessionDuration": "The length of time that the application user sessions are valid for in the ISO-8601 standard.
"
+ }
+ },
+ "FederationProtocol": {
+ "base": null,
+ "refs": {
+ "ApplicationProvider$FederationProtocol": "The protocol that the application provider uses to perform federation.
",
+ "DescribeApplicationProviderResponse$FederationProtocol": "The protocol used to federate to the application provider.
"
+ }
+ },
+ "GetApplicationAccessScopeRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetApplicationAccessScopeResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetApplicationAssignmentConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetApplicationAssignmentConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetApplicationAuthenticationMethodRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetApplicationAuthenticationMethodResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetApplicationGrantRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetApplicationGrantResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetInlinePolicyForPermissionSetRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetInlinePolicyForPermissionSetResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetPermissionsBoundaryForPermissionSetRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetPermissionsBoundaryForPermissionSetResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "Grant": {
+ "base": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
",
+ "refs": {
+ "GetApplicationGrantResponse$Grant": "A structure that describes the requested grant.
",
+ "GrantItem$Grant": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
",
+ "PutApplicationGrantRequest$Grant": "Specifies a structure that describes the grant to update.
"
+ }
+ },
+ "GrantItem": {
+ "base": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
",
"refs": {
- "CreatePermissionSetRequest$SessionDuration": "The length of time that the application user sessions are valid in the ISO-8601 standard.
",
- "PermissionSet$SessionDuration": "The length of time that the application user sessions are valid for in the ISO-8601 standard.
",
- "UpdatePermissionSetRequest$SessionDuration": "The length of time that the application user sessions are valid for in the ISO-8601 standard.
"
+ "Grants$member": null
}
},
- "GetInlinePolicyForPermissionSetRequest": {
+ "GrantType": {
"base": null,
"refs": {
+ "DeleteApplicationGrantRequest$GrantType": "Specifies the type of grant to delete from the application.
",
+ "GetApplicationGrantRequest$GrantType": "Specifies the type of grant.
",
+ "GrantItem$GrantType": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
",
+ "PutApplicationGrantRequest$GrantType": "Specifies the type of grant to update.
"
}
},
- "GetInlinePolicyForPermissionSetResponse": {
+ "Grants": {
"base": null,
"refs": {
+ "ListApplicationGrantsResponse$Grants": "An array list of structures that describe the requested grants.
"
}
},
- "GetPermissionsBoundaryForPermissionSetRequest": {
- "base": null,
+ "IamAuthenticationMethod": {
+ "base": "A structure that describes details for authentication that uses IAM.
",
"refs": {
+ "AuthenticationMethod$Iam": "A structure that describes details for IAM authentication.
"
}
},
- "GetPermissionsBoundaryForPermissionSetResponse": {
+ "IconUrl": {
"base": null,
"refs": {
+ "DisplayData$IconUrl": "A URL that points to an icon that represents the application provider.
"
}
},
"Id": {
"base": null,
"refs": {
- "InstanceMetadata$IdentityStoreId": "The identifier of the identity store that is connected to the IAM Identity Center instance.
"
+ "DescribeInstanceResponse$IdentityStoreId": "The identifier of the identity store that is connected to the instance of IAM Identity Center.
",
+ "InstanceMetadata$IdentityStoreId": "The identifier of the identity store that is connected to the Identity Center instance.
"
}
},
"InstanceAccessControlAttributeConfiguration": {
@@ -412,42 +913,55 @@
"InstanceArn": {
"base": null,
"refs": {
+ "Application$InstanceArn": "The ARN of the instance of IAM Identity Center that is configured with this application.
",
"AttachCustomerManagedPolicyReferenceToPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
"AttachManagedPolicyToPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"CreateAccountAssignmentRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "CreateApplicationRequest$InstanceArn": "The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"CreateInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
+ "CreateInstanceResponse$InstanceArn": "The ARN of the instance of IAM Identity Center under which the operation will run.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"CreatePermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "CreateTrustedTokenIssuerRequest$InstanceArn": "Specifies the ARN of the instance of IAM Identity Center to contain the new trusted token issuer configuration.
",
"DeleteAccountAssignmentRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DeleteInlinePolicyFromPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DeleteInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
+ "DeleteInstanceRequest$InstanceArn": "The ARN of the instance of IAM Identity Center under which the operation will run.
",
"DeletePermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DeletePermissionsBoundaryFromPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
"DescribeAccountAssignmentCreationStatusRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DescribeAccountAssignmentDeletionStatusRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeApplicationResponse$InstanceArn": "The ARN of the IAM Identity Center application under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DescribeInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
+ "DescribeInstanceRequest$InstanceArn": "The ARN of the instance of IAM Identity Center under which the operation will run.
",
+ "DescribeInstanceResponse$InstanceArn": "The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DescribePermissionSetProvisioningStatusRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DescribePermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"DetachCustomerManagedPolicyReferenceFromPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
"DetachManagedPolicyFromPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"GetInlinePolicyForPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"GetPermissionsBoundaryForPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
- "InstanceMetadata$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "InstanceMetadata$InstanceArn": "The ARN of the Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListAccountAssignmentCreationStatusRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListAccountAssignmentDeletionStatusRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "ListAccountAssignmentsForPrincipalRequest$InstanceArn": "Specifies the ARN of the instance of IAM Identity Center that contains the principal.
",
"ListAccountAssignmentsRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListAccountsForProvisionedPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "ListApplicationAssignmentsForPrincipalRequest$InstanceArn": "Specifies the instance of IAM Identity Center that contains principal and applications.
",
+ "ListApplicationsRequest$InstanceArn": "The ARN of the IAM Identity Center application under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListCustomerManagedPolicyReferencesInPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
"ListManagedPoliciesInPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListPermissionSetProvisioningStatusRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListPermissionSetsProvisionedToAccountRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListPermissionSetsRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"ListTagsForResourceRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "ListTrustedTokenIssuersRequest$InstanceArn": "Specifies the ARN of the instance of IAM Identity Center with the trusted token issuer configurations that you want to list.
",
"ProvisionPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"PutInlinePolicyToPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"PutPermissionsBoundaryToPermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
"TagResourceRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"UntagResourceRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"UpdateInstanceAccessControlAttributeConfigurationRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed.
",
+ "UpdateInstanceRequest$InstanceArn": "The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"UpdatePermissionSetRequest$InstanceArn": "The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
"
}
},
@@ -463,6 +977,13 @@
"InstanceList$member": null
}
},
+ "InstanceStatus": {
+ "base": null,
+ "refs": {
+ "DescribeInstanceResponse$Status": "The status of the instance.
",
+ "InstanceMetadata$Status": "The current status of this Identity Center instance.
"
+ }
+ },
"InternalFailureMessage": {
"base": null,
"refs": {
@@ -474,6 +995,26 @@
"refs": {
}
},
+ "JMESPath": {
+ "base": null,
+ "refs": {
+ "OidcJwtConfiguration$IdentityStoreAttributePath": "The path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by ClaimAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
",
+ "OidcJwtUpdateConfiguration$IdentityStoreAttributePath": "The path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by ClaimAttributePath
when a trusted token issuer token is exchanged for an IAM Identity Center token.
"
+ }
+ },
+ "JwksRetrievalOption": {
+ "base": null,
+ "refs": {
+ "OidcJwtConfiguration$JwksRetrievalOption": "The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT.
",
+ "OidcJwtUpdateConfiguration$JwksRetrievalOption": "The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT.
"
+ }
+ },
+ "JwtBearerGrant": {
+ "base": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
",
+ "refs": {
+ "Grant$JwtBearer": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
"
+ }
+ },
"ListAccountAssignmentCreationStatusRequest": {
"base": null,
"refs": {
@@ -494,6 +1035,22 @@
"refs": {
}
},
+ "ListAccountAssignmentsFilter": {
+ "base": "A structure that describes a filter for account assignments.
",
+ "refs": {
+ "ListAccountAssignmentsForPrincipalRequest$Filter": "Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.
"
+ }
+ },
+ "ListAccountAssignmentsForPrincipalRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListAccountAssignmentsForPrincipalResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListAccountAssignmentsRequest": {
"base": null,
"refs": {
@@ -514,6 +1071,94 @@
"refs": {
}
},
+ "ListApplicationAccessScopesRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationAccessScopesRequestMaxResultsInteger": {
+ "base": null,
+ "refs": {
+ "ListApplicationAccessScopesRequest$MaxResults": "Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
"
+ }
+ },
+ "ListApplicationAccessScopesResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationAssignmentsFilter": {
+ "base": "A structure that describes a filter for application assignments.
",
+ "refs": {
+ "ListApplicationAssignmentsForPrincipalRequest$Filter": "Filters the output to include only assignments associated with the application that has the specified ARN.
"
+ }
+ },
+ "ListApplicationAssignmentsForPrincipalRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationAssignmentsForPrincipalResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationAssignmentsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationAssignmentsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationAuthenticationMethodsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationAuthenticationMethodsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationGrantsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationGrantsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationProvidersRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationProvidersResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationsFilter": {
+ "base": "A structure that describes a filter for applications.
",
+ "refs": {
+ "ListApplicationsRequest$Filter": "Filters response results.
"
+ }
+ },
+ "ListApplicationsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListApplicationsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListCustomerManagedPolicyReferencesInPermissionSetRequest": {
"base": null,
"refs": {
@@ -584,6 +1229,16 @@
"refs": {
}
},
+ "ListTrustedTokenIssuersRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListTrustedTokenIssuersResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ManagedPolicyArn": {
"base": null,
"refs": {
@@ -610,24 +1265,56 @@
"refs": {
"ListAccountAssignmentCreationStatusRequest$MaxResults": "The maximum number of results to display for the assignment.
",
"ListAccountAssignmentDeletionStatusRequest$MaxResults": "The maximum number of results to display for the assignment.
",
+ "ListAccountAssignmentsForPrincipalRequest$MaxResults": "Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
",
"ListAccountAssignmentsRequest$MaxResults": "The maximum number of results to display for the assignment.
",
"ListAccountsForProvisionedPermissionSetRequest$MaxResults": "The maximum number of results to display for the PermissionSet.
",
+ "ListApplicationAssignmentsForPrincipalRequest$MaxResults": "Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
",
+ "ListApplicationAssignmentsRequest$MaxResults": "Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
",
+ "ListApplicationProvidersRequest$MaxResults": "Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
",
+ "ListApplicationsRequest$MaxResults": "Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
",
"ListCustomerManagedPolicyReferencesInPermissionSetRequest$MaxResults": "The maximum number of results to display for the list call.
",
"ListInstancesRequest$MaxResults": "The maximum number of results to display for the instance.
",
"ListManagedPoliciesInPermissionSetRequest$MaxResults": "The maximum number of results to display for the PermissionSet.
",
"ListPermissionSetProvisioningStatusRequest$MaxResults": "The maximum number of results to display for the assignment.
",
"ListPermissionSetsProvisionedToAccountRequest$MaxResults": "The maximum number of results to display for the assignment.
",
- "ListPermissionSetsRequest$MaxResults": "The maximum number of results to display for the assignment.
"
+ "ListPermissionSetsRequest$MaxResults": "The maximum number of results to display for the assignment.
",
+ "ListTrustedTokenIssuersRequest$MaxResults": "Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken
response element is returned with a value (not null). Include the specified value as the NextToken
request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.
"
}
},
"Name": {
"base": null,
"refs": {
- "AttachedManagedPolicy$Name": "The name of the Amazon Web Services managed policy.
"
+ "AttachedManagedPolicy$Name": "The name of the Amazon Web Services managed policy.
",
+ "DisplayData$DisplayName": "The name of the application provider that appears in the portal.
"
+ }
+ },
+ "NameType": {
+ "base": null,
+ "refs": {
+ "Application$Name": "The name of the application.
",
+ "CreateApplicationRequest$Name": "The name of the .
",
+ "CreateInstanceRequest$Name": "The name of the instance of IAM Identity Center.
",
+ "DescribeApplicationResponse$Name": "The application name.
",
+ "DescribeInstanceResponse$Name": "Specifies the instance name.
",
+ "InstanceMetadata$Name": "The name of the Identity Center instance.
",
+ "UpdateApplicationRequest$Name": "Specifies the updated name for the application.
",
+ "UpdateInstanceRequest$Name": "Updates the instance name.
"
+ }
+ },
+ "OidcJwtConfiguration": {
+ "base": "A structure that describes configuration settings for a trusted token issuer that supports OpenID Connect (OIDC) and JSON Web Tokens (JWTs).
",
+ "refs": {
+ "TrustedTokenIssuerConfiguration$OidcJwtConfiguration": "A structure that describes the settings for a trusted token issuer that works with OpenID Connect (OIDC) by using JSON Web Tokens (JWT).
"
+ }
+ },
+ "OidcJwtUpdateConfiguration": {
+ "base": "A structure that describes updated configuration settings for a trusted token issuer that supports OpenID Connect (OIDC) and JSON Web Tokens (JWTs).
",
+ "refs": {
+ "TrustedTokenIssuerUpdateConfiguration$OidcJwtConfiguration": "A structure that describes an updated configuration for a trusted token issuer that uses OpenID Connect (OIDC) with JSON web tokens (JWT).
"
}
},
"OperationStatusFilter": {
- "base": "Filters he operation status list based on the passed attribute value.
",
+ "base": "Filters the operation status list based on the passed attribute value.
",
"refs": {
"ListAccountAssignmentCreationStatusRequest$Filter": "Filters results based on the passed attribute value.
",
"ListAccountAssignmentDeletionStatusRequest$Filter": "Filters results based on the passed attribute value.
",
@@ -645,6 +1332,7 @@
"base": null,
"refs": {
"AccountAssignment$PermissionSetArn": "The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
+ "AccountAssignmentForPrincipal$PermissionSetArn": "The ARN of the IAM Identity Center permission set assigned to this principal for this Amazon Web Services account.
",
"AccountAssignmentOperationStatus$PermissionSetArn": "The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
",
"AttachCustomerManagedPolicyReferenceToPermissionSetRequest$PermissionSetArn": "The ARN of the PermissionSet
.
",
"AttachManagedPolicyToPermissionSetRequest$PermissionSetArn": "The ARN of the PermissionSet that the managed policy should be attached to.
",
@@ -726,22 +1414,48 @@
"PutPermissionsBoundaryToPermissionSetRequest$PermissionsBoundary": "The permissions boundary that you want to attach to a PermissionSet
.
"
}
},
+ "PortalOptions": {
+ "base": "A structure that describes the options for the access portal associated with an application.
",
+ "refs": {
+ "Application$PortalOptions": "A structure that describes the options for the access portal associated with this application.
",
+ "CreateApplicationRequest$PortalOptions": "A structure that describes the options for the portal associated with an application.
",
+ "DescribeApplicationResponse$PortalOptions": "A structure that describes the options for the portal associated with an application.
"
+ }
+ },
"PrincipalId": {
"base": null,
"refs": {
"AccountAssignment$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
+ "AccountAssignmentForPrincipal$PrincipalId": "The ID of the principal.
",
"AccountAssignmentOperationStatus$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
+ "ApplicationAssignment$PrincipalId": "The unique identifier of the principal assigned to the application.
",
+ "ApplicationAssignmentForPrincipal$PrincipalId": "The unique identifier of the principal assigned to the application.
",
"CreateAccountAssignmentRequest$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
- "DeleteAccountAssignmentRequest$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
"
+ "CreateApplicationAssignmentRequest$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
+ "DeleteAccountAssignmentRequest$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
+ "DeleteApplicationAssignmentRequest$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
+ "DescribeApplicationAssignmentRequest$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
+ "DescribeApplicationAssignmentResponse$PrincipalId": "An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
",
+ "ListAccountAssignmentsForPrincipalRequest$PrincipalId": "Specifies the principal for which you want to retrieve the list of account assignments.
",
+ "ListApplicationAssignmentsForPrincipalRequest$PrincipalId": "Specifies the unique identifier of the principal for which you want to retrieve its assignments.
"
}
},
"PrincipalType": {
"base": null,
"refs": {
"AccountAssignment$PrincipalType": "The entity type for which the assignment will be created.
",
+ "AccountAssignmentForPrincipal$PrincipalType": "The type of the principal.
",
"AccountAssignmentOperationStatus$PrincipalType": "The entity type for which the assignment will be created.
",
+ "ApplicationAssignment$PrincipalType": "The type of the principal assigned to the application.
",
+ "ApplicationAssignmentForPrincipal$PrincipalType": "The type of the principal assigned to the application.
",
"CreateAccountAssignmentRequest$PrincipalType": "The entity type for which the assignment will be created.
",
- "DeleteAccountAssignmentRequest$PrincipalType": "The entity type for which the assignment will be deleted.
"
+ "CreateApplicationAssignmentRequest$PrincipalType": "The entity type for which the assignment will be created.
",
+ "DeleteAccountAssignmentRequest$PrincipalType": "The entity type for which the assignment will be deleted.
",
+ "DeleteApplicationAssignmentRequest$PrincipalType": "The entity type for which the assignment will be deleted.
",
+ "DescribeApplicationAssignmentRequest$PrincipalType": "The entity type for which the assignment will be created.
",
+ "DescribeApplicationAssignmentResponse$PrincipalType": "The entity type for which the assignment will be created.
",
+ "ListAccountAssignmentsForPrincipalRequest$PrincipalType": "Specifies the type of the principal.
",
+ "ListApplicationAssignmentsForPrincipalRequest$PrincipalType": "Specifies the type of the principal for which you want to retrieve its assignments.
"
}
},
"ProvisionPermissionSetRequest": {
@@ -767,6 +1481,31 @@
"ListPermissionSetsProvisionedToAccountRequest$ProvisioningStatus": "The status object for the permission set provisioning operation.
"
}
},
+ "PutApplicationAccessScopeRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutApplicationAssignmentConfigurationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutApplicationAssignmentConfigurationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutApplicationAuthenticationMethodRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutApplicationGrantRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
"PutInlinePolicyToPermissionSetRequest": {
"base": null,
"refs": {
@@ -794,6 +1533,12 @@
"PermissionSetProvisioningStatus$FailureReason": "The message that contains an error or exception in case of an operation failure.
"
}
},
+ "RedirectUris": {
+ "base": null,
+ "refs": {
+ "AuthorizationCodeGrant$RedirectUris": "~~~[ TODO: ADD DESCRIPTION HERE ]~~~
"
+ }
+ },
"RelayState": {
"base": null,
"refs": {
@@ -813,6 +1558,67 @@
"ResourceNotFoundException$Message": null
}
},
+ "ResourceServerConfig": {
+ "base": "A structure that describes the configuration of a resource server.
",
+ "refs": {
+ "ApplicationProvider$ResourceServerConfig": "A structure that describes the application provider's resource server.
",
+ "DescribeApplicationProviderResponse$ResourceServerConfig": "A structure with details about the receiving application.
"
+ }
+ },
+ "ResourceServerScope": {
+ "base": null,
+ "refs": {
+ "ResourceServerScopes$key": null
+ }
+ },
+ "ResourceServerScopeDetails": {
+ "base": "A structure that describes details for an IAM Identity Center access scope that is associated with a resource server.
",
+ "refs": {
+ "ResourceServerScopes$value": null
+ }
+ },
+ "ResourceServerScopes": {
+ "base": null,
+ "refs": {
+ "ResourceServerConfig$Scopes": "A list of the IAM Identity Center access scopes that are associated with this resource server.
"
+ }
+ },
+ "Scope": {
+ "base": null,
+ "refs": {
+ "DeleteApplicationAccessScopeRequest$Scope": "Specifies the name of the access scope to remove from the application.
",
+ "GetApplicationAccessScopeRequest$Scope": "Specifies the name of the access scope for which you want the authorized targets.
",
+ "GetApplicationAccessScopeResponse$Scope": "The name of the access scope that can be used with the authorized targets.
",
+ "PutApplicationAccessScopeRequest$Scope": "Specifies the name of the access scope to be associated with the specified targets.
",
+ "ScopeDetails$Scope": "The name of the access scope.
"
+ }
+ },
+ "ScopeDetails": {
+ "base": "A structure that describes an IAM Identity Center access scope and its authorized targets.
",
+ "refs": {
+ "Scopes$member": null
+ }
+ },
+ "ScopeTarget": {
+ "base": null,
+ "refs": {
+ "ScopeTargets$member": null
+ }
+ },
+ "ScopeTargets": {
+ "base": null,
+ "refs": {
+ "GetApplicationAccessScopeResponse$AuthorizedTargets": "An array of authorized targets associated with this access scope.
",
+ "PutApplicationAccessScopeRequest$AuthorizedTargets": "Specifies an array list of ARNs that represent the authorized targets for this access scope.
",
+ "ScopeDetails$AuthorizedTargets": "An array list of ARNs of applications.
"
+ }
+ },
+ "Scopes": {
+ "base": null,
+ "refs": {
+ "ListApplicationAccessScopesResponse$Scopes": "An array list of access scopes and their authorized targets that are associated with the application.
"
+ }
+ },
"ServiceQuotaExceededException": {
"base": "Indicates that the principal has crossed the permitted number of resources that can be created.
",
"refs": {
@@ -824,6 +1630,19 @@
"ServiceQuotaExceededException$Message": null
}
},
+ "SignInOptions": {
+ "base": "A structure that describes the sign-in options for an application portal.
",
+ "refs": {
+ "PortalOptions$SignInOptions": "A structure that describes the sign-in options for the access portal.
",
+ "UpdateApplicationPortalOptions$SignInOptions": null
+ }
+ },
+ "SignInOrigin": {
+ "base": null,
+ "refs": {
+ "SignInOptions$Origin": "This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values:
-
APPLICATION
: IAM Identity Center redirects the customer to the configured ApplicationUrl
.
-
IDENTITY_CENTER
: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
"
+ }
+ },
"StatusValues": {
"base": null,
"refs": {
@@ -856,7 +1675,10 @@
"TagList": {
"base": null,
"refs": {
+ "CreateApplicationRequest$Tags": "Specifies tags to be attached to the application.
",
+ "CreateInstanceRequest$Tags": "Specifies tags to be attached to the instance of IAM Identity Center.
",
"CreatePermissionSetRequest$Tags": "The tags to attach to the new PermissionSet.
",
+ "CreateTrustedTokenIssuerRequest$Tags": "Specifies tags to be attached to the new trusted token issuer configuration.
",
"ListTagsForResourceResponse$Tags": "A set of key-value pairs that are used to manage the resource.
",
"TagResourceRequest$Tags": "A set of key-value pairs that are used to manage the resource.
"
}
@@ -921,10 +1743,26 @@
"ListAccountAssignmentCreationStatusResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListAccountAssignmentDeletionStatusRequest$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListAccountAssignmentDeletionStatusResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
+ "ListAccountAssignmentsForPrincipalRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListAccountAssignmentsForPrincipalResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
"ListAccountAssignmentsRequest$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListAccountAssignmentsResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListAccountsForProvisionedPermissionSetRequest$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListAccountsForProvisionedPermissionSetResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
+ "ListApplicationAccessScopesRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListApplicationAccessScopesResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
+ "ListApplicationAssignmentsForPrincipalRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListApplicationAssignmentsForPrincipalResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
+ "ListApplicationAssignmentsRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListApplicationAssignmentsResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
+ "ListApplicationAuthenticationMethodsRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListApplicationAuthenticationMethodsResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
+ "ListApplicationGrantsRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListApplicationGrantsResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
+ "ListApplicationProvidersRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListApplicationProvidersResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
+ "ListApplicationsRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListApplicationsResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
",
"ListCustomerManagedPolicyReferencesInPermissionSetRequest$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListCustomerManagedPolicyReferencesInPermissionSetResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListInstancesRequest$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
@@ -938,7 +1776,87 @@
"ListPermissionSetsRequest$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListPermissionSetsResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
"ListTagsForResourceRequest$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
- "ListTagsForResourceResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
"
+ "ListTagsForResourceResponse$NextToken": "The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
",
+ "ListTrustedTokenIssuersRequest$NextToken": "Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.
",
+ "ListTrustedTokenIssuersResponse$NextToken": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
"
+ }
+ },
+ "TokenIssuerAudience": {
+ "base": null,
+ "refs": {
+ "TokenIssuerAudiences$member": null
+ }
+ },
+ "TokenIssuerAudiences": {
+ "base": null,
+ "refs": {
+ "AuthorizedTokenIssuer$AuthorizedAudiences": "An array list of authorized audiences, or applications, that can consume the tokens generated by the associated trusted token issuer.
"
+ }
+ },
+ "TrustedTokenIssuerArn": {
+ "base": null,
+ "refs": {
+ "AuthorizedTokenIssuer$TrustedTokenIssuerArn": "The ARN of the trusted token issuer.
",
+ "CreateTrustedTokenIssuerResponse$TrustedTokenIssuerArn": "The ARN of the new trusted token issuer configuration.
",
+ "DeleteTrustedTokenIssuerRequest$TrustedTokenIssuerArn": "Specifies the ARN of the trusted token issuer configuration to delete.
",
+ "DescribeTrustedTokenIssuerRequest$TrustedTokenIssuerArn": "Specifies the ARN of the trusted token issuer configuration that you want details about.
",
+ "DescribeTrustedTokenIssuerResponse$TrustedTokenIssuerArn": "The ARN of the trusted token issuer configuration.
",
+ "TrustedTokenIssuerMetadata$TrustedTokenIssuerArn": "The ARN of the trusted token issuer configuration in the instance of IAM Identity Center.
",
+ "UpdateTrustedTokenIssuerRequest$TrustedTokenIssuerArn": "Specifies the ARN of the trusted token issuer configuration that you want to update.
"
+ }
+ },
+ "TrustedTokenIssuerConfiguration": {
+ "base": "A structure that describes the configuration of a trusted token issuer. The structure and available settings are determined by the type of the trusted token issuer.
",
+ "refs": {
+ "CreateTrustedTokenIssuerRequest$TrustedTokenIssuerConfiguration": "Specifies settings that apply to the new trusted token issuer configuration. The settings that are available depend on what TrustedTokenIssuerType
you specify.
",
+ "DescribeTrustedTokenIssuerResponse$TrustedTokenIssuerConfiguration": "A structure the describes the settings that apply of this trusted token issuer.
"
+ }
+ },
+ "TrustedTokenIssuerList": {
+ "base": null,
+ "refs": {
+ "ListTrustedTokenIssuersResponse$TrustedTokenIssuers": "An array list of the trusted token issuer configurations.
"
+ }
+ },
+ "TrustedTokenIssuerMetadata": {
+ "base": "A structure that describes a trusted token issuer.
",
+ "refs": {
+ "TrustedTokenIssuerList$member": null
+ }
+ },
+ "TrustedTokenIssuerName": {
+ "base": null,
+ "refs": {
+ "CreateTrustedTokenIssuerRequest$Name": "Specifies the name of the new trusted token issuer configuration.
",
+ "DescribeTrustedTokenIssuerResponse$Name": "The name of the trusted token issuer configuration.
",
+ "TrustedTokenIssuerMetadata$Name": "The name of the trusted token issuer configuration in the instance of IAM Identity Center.
",
+ "UpdateTrustedTokenIssuerRequest$Name": "Specifies the updated name to be applied to the trusted token issuer configuration.
"
+ }
+ },
+ "TrustedTokenIssuerType": {
+ "base": null,
+ "refs": {
+ "CreateTrustedTokenIssuerRequest$TrustedTokenIssuerType": "Specifies the type of the new trusted token issuer.
",
+ "DescribeTrustedTokenIssuerResponse$TrustedTokenIssuerType": "The type of the trusted token issuer.
",
+ "TrustedTokenIssuerMetadata$TrustedTokenIssuerType": "The type of trusted token issuer.
"
+ }
+ },
+ "TrustedTokenIssuerUpdateConfiguration": {
+ "base": "A structure that contains details to be updated for a trusted token issuer configuration. The structure and settings that you can include depend on the type of the trusted token issuer being updated.
",
+ "refs": {
+ "UpdateTrustedTokenIssuerRequest$TrustedTokenIssuerConfiguration": "Specifies a structure with settings to apply to the specified trusted token issuer. The settings that you can provide are determined by the type of the trusted token issuer that you are updating.
"
+ }
+ },
+ "TrustedTokenIssuerUrl": {
+ "base": null,
+ "refs": {
+ "OidcJwtConfiguration$IssuerUrl": "The URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
"
+ }
+ },
+ "URI": {
+ "base": null,
+ "refs": {
+ "RedirectUris$member": null
}
},
"UUId": {
@@ -963,6 +1881,22 @@
"refs": {
}
},
+ "UpdateApplicationPortalOptions": {
+ "base": "",
+ "refs": {
+ "UpdateApplicationRequest$PortalOptions": "A structure that describes the options for the portal associated with an application.
"
+ }
+ },
+ "UpdateApplicationRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateApplicationResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"UpdateInstanceAccessControlAttributeConfigurationRequest": {
"base": null,
"refs": {
@@ -973,6 +1907,16 @@
"refs": {
}
},
+ "UpdateInstanceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateInstanceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"UpdatePermissionSetRequest": {
"base": null,
"refs": {
@@ -983,6 +1927,16 @@
"refs": {
}
},
+ "UpdateTrustedTokenIssuerRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateTrustedTokenIssuerResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ValidationException": {
"base": "The request failed because it contains a syntax error.
",
"refs": {
diff --git a/models/apis/sso-admin/2020-07-20/endpoint-rule-set-1.json b/models/apis/sso-admin/2020-07-20/endpoint-rule-set-1.json
index 16c56f9d87a..ea85cd59470 100644
--- a/models/apis/sso-admin/2020-07-20/endpoint-rule-set-1.json
+++ b/models/apis/sso-admin/2020-07-20/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -83,7 +82,8 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -96,7 +96,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -110,7 +109,6 @@
"assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -133,7 +131,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -168,7 +165,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -179,14 +175,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -200,14 +198,12 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
@@ -216,18 +212,17 @@
},
"supportsFIPS"
]
- }
+ },
+ true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
- "aws-us-gov",
{
"fn": "getAttr",
"argv": [
@@ -236,7 +231,8 @@
},
"name"
]
- }
+ },
+ "aws-us-gov"
]
}
],
@@ -256,14 +252,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -277,7 +275,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -297,7 +294,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -308,14 +304,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
@@ -326,9 +324,11 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
diff --git a/models/apis/sso-admin/2020-07-20/paginators-1.json b/models/apis/sso-admin/2020-07-20/paginators-1.json
index 759b37c3608..d725a1f6b4d 100644
--- a/models/apis/sso-admin/2020-07-20/paginators-1.json
+++ b/models/apis/sso-admin/2020-07-20/paginators-1.json
@@ -18,12 +18,58 @@
"limit_key": "MaxResults",
"result_key": "AccountAssignments"
},
+ "ListAccountAssignmentsForPrincipal": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "AccountAssignments"
+ },
"ListAccountsForProvisionedPermissionSet": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "AccountIds"
},
+ "ListApplicationAccessScopes": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Scopes"
+ },
+ "ListApplicationAssignments": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "ApplicationAssignments"
+ },
+ "ListApplicationAssignmentsForPrincipal": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "ApplicationAssignments"
+ },
+ "ListApplicationAuthenticationMethods": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "AuthenticationMethods"
+ },
+ "ListApplicationGrants": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "result_key": "Grants"
+ },
+ "ListApplicationProviders": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "ApplicationProviders"
+ },
+ "ListApplications": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Applications"
+ },
"ListCustomerManagedPolicyReferencesInPermissionSet": {
"input_token": "NextToken",
"output_token": "NextToken",
@@ -64,6 +110,12 @@
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Tags"
+ },
+ "ListTrustedTokenIssuers": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "TrustedTokenIssuers"
}
}
}
diff --git a/models/apis/transfer/2018-11-05/api-2.json b/models/apis/transfer/2018-11-05/api-2.json
index d804ae2cbc1..a08012a432a 100644
--- a/models/apis/transfer/2018-11-05/api-2.json
+++ b/models/apis/transfer/2018-11-05/api-2.json
@@ -963,7 +963,7 @@
"type":"string",
"max":1600,
"min":20,
- "pattern":"arn:.*"
+ "pattern":"arn:\\S+"
},
"As2ConnectorConfig":{
"type":"structure",
@@ -1210,7 +1210,8 @@
"SecurityPolicyName":{"shape":"SecurityPolicyName"},
"Tags":{"shape":"Tags"},
"WorkflowDetails":{"shape":"WorkflowDetails"},
- "StructuredLogDestinations":{"shape":"StructuredLogDestinations"}
+ "StructuredLogDestinations":{"shape":"StructuredLogDestinations"},
+ "S3StorageOptions":{"shape":"S3StorageOptions"}
}
},
"CreateServerResponse":{
@@ -1731,7 +1732,8 @@
"Tags":{"shape":"Tags"},
"UserCount":{"shape":"UserCount"},
"WorkflowDetails":{"shape":"WorkflowDetails"},
- "StructuredLogDestinations":{"shape":"StructuredLogDestinations"}
+ "StructuredLogDestinations":{"shape":"StructuredLogDestinations"},
+ "S3StorageOptions":{"shape":"S3StorageOptions"}
}
},
"DescribedUser":{
@@ -1774,6 +1776,13 @@
"min":12,
"pattern":"d-[0-9a-f]{10}"
},
+ "DirectoryListingOptimization":{
+ "type":"string",
+ "enum":[
+ "ENABLED",
+ "DISABLED"
+ ]
+ },
"Domain":{
"type":"string",
"enum":[
@@ -1931,7 +1940,7 @@
"type":"string",
"max":1024,
"min":0,
- "pattern":"$|/.*"
+ "pattern":"(|/.*)"
},
"HomeDirectoryMapEntry":{
"type":"structure",
@@ -1941,13 +1950,14 @@
],
"members":{
"Entry":{"shape":"MapEntry"},
- "Target":{"shape":"MapTarget"}
+ "Target":{"shape":"MapTarget"},
+ "Type":{"shape":"MapType"}
}
},
"HomeDirectoryMappings":{
"type":"list",
"member":{"shape":"HomeDirectoryMapEntry"},
- "max":50,
+ "max":50000,
"min":1
},
"HomeDirectoryType":{
@@ -2482,6 +2492,13 @@
"min":0,
"pattern":"/.*"
},
+ "MapType":{
+ "type":"string",
+ "enum":[
+ "FILE",
+ "DIRECTORY"
+ ]
+ },
"MaxResults":{
"type":"integer",
"box":true,
@@ -2522,7 +2539,7 @@
"type":"string",
"max":2048,
"min":0,
- "pattern":"$|arn:.*role/.*"
+ "pattern":"(|arn:.*role/\\S+)"
},
"OnPartialUploadWorkflowDetails":{
"type":"list",
@@ -2663,7 +2680,7 @@
"type":"string",
"max":2048,
"min":20,
- "pattern":"arn:.*role/.*"
+ "pattern":"arn:.*role/\\S+"
},
"S3Bucket":{
"type":"string",
@@ -2699,6 +2716,12 @@
"min":0,
"pattern":"[\\P{M}\\p{M}]*"
},
+ "S3StorageOptions":{
+ "type":"structure",
+ "members":{
+ "DirectoryListingOptimization":{"shape":"DirectoryListingOptimization"}
+ }
+ },
"S3Tag":{
"type":"structure",
"required":[
@@ -3243,7 +3266,8 @@
"SecurityPolicyName":{"shape":"SecurityPolicyName"},
"ServerId":{"shape":"ServerId"},
"WorkflowDetails":{"shape":"WorkflowDetails"},
- "StructuredLogDestinations":{"shape":"StructuredLogDestinations"}
+ "StructuredLogDestinations":{"shape":"StructuredLogDestinations"},
+ "S3StorageOptions":{"shape":"S3StorageOptions"}
}
},
"UpdateServerResponse":{
diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json
index 55d775b3802..d687273402e 100644
--- a/models/apis/transfer/2018-11-05/docs-2.json
+++ b/models/apis/transfer/2018-11-05/docs-2.json
@@ -644,6 +644,12 @@
"IdentityProviderDetails$DirectoryId": "The identifier of the Directory Service directory that you want to stop sharing.
"
}
},
+ "DirectoryListingOptimization": {
+ "base": "Indicates whether optimization to directory listing on S3 servers is used. Disabled by default for compatibility.
",
+ "refs": {
+ "S3StorageOptions$DirectoryListingOptimization": "Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE
of DIRECTORY
. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry
Type
to FILE
if you want a mapping to have a file target.
"
+ }
+ },
"Domain": {
"base": null,
"refs": {
@@ -1219,7 +1225,13 @@
"MapTarget": {
"base": null,
"refs": {
- "HomeDirectoryMapEntry$Target": "Represents the map target that is used in a HomeDirectorymapEntry
.
"
+ "HomeDirectoryMapEntry$Target": "Represents the map target that is used in a HomeDirectoryMapEntry
.
"
+ }
+ },
+ "MapType": {
+ "base": null,
+ "refs": {
+ "HomeDirectoryMapEntry$Type": "Specifies the type of mapping. Set the type to FILE
if you want the mapping to point to a file, or DIRECTORY
for the directory to point to a directory.
By default, home directory mappings have a Type
of DIRECTORY
when you create a Transfer Family server. You would need to explicitly set Type
to FILE
if you want a mapping to have a file target.
"
}
},
"MaxResults": {
@@ -1534,6 +1546,14 @@
"S3InputFileLocation$Key": "The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
"
}
},
+ "S3StorageOptions": {
+ "base": "The Amazon S3 storage options that are configured for your server.
",
+ "refs": {
+ "CreateServerRequest$S3StorageOptions": "Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE
of DIRECTORY
. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry
Type
to FILE
if you want a mapping to have a file target.
",
+ "DescribedServer$S3StorageOptions": "Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE
of DIRECTORY
. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry
Type
to FILE
if you want a mapping to have a file target.
",
+ "UpdateServerRequest$S3StorageOptions": "Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.
By default, home directory mappings have a TYPE
of DIRECTORY
. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry
Type
to FILE
if you want a mapping to have a file target.
"
+ }
+ },
"S3Tag": {
"base": "Specifies the key-value pair that are assigned to a file during the execution of a Tagging step.
",
"refs": {
diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json
index da18dcca156..22fb61dd03e 100644
--- a/models/endpoints/endpoints.json
+++ b/models/endpoints/endpoints.json
@@ -2208,7 +2208,12 @@
"ap-southeast-2" : { },
"ap-southeast-3" : { },
"ap-southeast-4" : { },
- "ca-central-1" : { },
+ "ca-central-1" : {
+ "variants" : [ {
+ "hostname" : "autoscaling-fips.ca-central-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
"eu-central-1" : { },
"eu-central-2" : { },
"eu-north-1" : { },
@@ -2217,14 +2222,69 @@
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
+ "fips-ca-central-1" : {
+ "credentialScope" : {
+ "region" : "ca-central-1"
+ },
+ "deprecated" : true,
+ "hostname" : "autoscaling-fips.ca-central-1.amazonaws.com"
+ },
+ "fips-us-east-1" : {
+ "credentialScope" : {
+ "region" : "us-east-1"
+ },
+ "deprecated" : true,
+ "hostname" : "autoscaling-fips.us-east-1.amazonaws.com"
+ },
+ "fips-us-east-2" : {
+ "credentialScope" : {
+ "region" : "us-east-2"
+ },
+ "deprecated" : true,
+ "hostname" : "autoscaling-fips.us-east-2.amazonaws.com"
+ },
+ "fips-us-west-1" : {
+ "credentialScope" : {
+ "region" : "us-west-1"
+ },
+ "deprecated" : true,
+ "hostname" : "autoscaling-fips.us-west-1.amazonaws.com"
+ },
+ "fips-us-west-2" : {
+ "credentialScope" : {
+ "region" : "us-west-2"
+ },
+ "deprecated" : true,
+ "hostname" : "autoscaling-fips.us-west-2.amazonaws.com"
+ },
"il-central-1" : { },
"me-central-1" : { },
"me-south-1" : { },
"sa-east-1" : { },
- "us-east-1" : { },
- "us-east-2" : { },
- "us-west-1" : { },
- "us-west-2" : { }
+ "us-east-1" : {
+ "variants" : [ {
+ "hostname" : "autoscaling-fips.us-east-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
+ "us-east-2" : {
+ "variants" : [ {
+ "hostname" : "autoscaling-fips.us-east-2.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
+ "us-west-1" : {
+ "variants" : [ {
+ "hostname" : "autoscaling-fips.us-west-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
+ "us-west-2" : {
+ "variants" : [ {
+ "hostname" : "autoscaling-fips.us-west-2.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ }
}
},
"autoscaling-plans" : {
@@ -6697,12 +6757,15 @@
},
"emr-serverless" : {
"endpoints" : {
+ "af-south-1" : { },
"ap-east-1" : { },
"ap-northeast-1" : { },
"ap-northeast-2" : { },
+ "ap-northeast-3" : { },
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
+ "ap-southeast-3" : { },
"ca-central-1" : {
"variants" : [ {
"hostname" : "emr-serverless-fips.ca-central-1.amazonaws.com",
@@ -6711,6 +6774,7 @@
},
"eu-central-1" : { },
"eu-north-1" : { },
+ "eu-south-1" : { },
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
@@ -24176,17 +24240,31 @@
},
"simspaceweaver" : {
"endpoints" : {
- "us-gov-east-1" : {
+ "fips-us-gov-east-1" : {
"credentialScope" : {
"region" : "us-gov-east-1"
},
+ "deprecated" : true,
"hostname" : "simspaceweaver.us-gov-east-1.amazonaws.com"
},
- "us-gov-west-1" : {
+ "fips-us-gov-west-1" : {
"credentialScope" : {
"region" : "us-gov-west-1"
},
+ "deprecated" : true,
"hostname" : "simspaceweaver.us-gov-west-1.amazonaws.com"
+ },
+ "us-gov-east-1" : {
+ "variants" : [ {
+ "hostname" : "simspaceweaver.us-gov-east-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
+ "us-gov-west-1" : {
+ "variants" : [ {
+ "hostname" : "simspaceweaver.us-gov-west-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
}
}
},
@@ -25101,7 +25179,8 @@
},
"ebs" : {
"endpoints" : {
- "us-iso-east-1" : { }
+ "us-iso-east-1" : { },
+ "us-iso-west-1" : { }
}
},
"ec2" : {
diff --git a/service/dlm/api.go b/service/dlm/api.go
index 6c8f29e0281..38220b05990 100644
--- a/service/dlm/api.go
+++ b/service/dlm/api.go
@@ -56,8 +56,23 @@ func (c *DLM) CreateLifecyclePolicyRequest(input *CreateLifecyclePolicyInput) (r
// CreateLifecyclePolicy API operation for Amazon Data Lifecycle Manager.
//
-// Creates a policy to manage the lifecycle of the specified Amazon Web Services
-// resources. You can create up to 100 lifecycle policies.
+// Creates an Amazon Data Lifecycle Manager lifecycle policy. Amazon Data Lifecycle
+// Manager supports the following policy types:
+//
+// - Custom EBS snapshot policy
+//
+// - Custom EBS-backed AMI policy
+//
+// - Cross-account copy event policy
+//
+// - Default policy for EBS snapshots
+//
+// - Default policy for EBS-backed AMIs
+//
+// For more information, see Default policies vs custom policies (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/policy-differences.html).
+//
+// If you create a default policy, you can specify the request parameters either
+// in the request body, or in the PolicyDetails request structure, but not both.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -128,7 +143,7 @@ func (c *DLM) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (r
op := &request.Operation{
Name: opDeleteLifecyclePolicy,
HTTPMethod: "DELETE",
- HTTPPath: "/policies/{policyId}/",
+ HTTPPath: "/policies/{policyId}",
}
if input == nil {
@@ -308,7 +323,7 @@ func (c *DLM) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *re
op := &request.Operation{
Name: opGetLifecyclePolicy,
HTTPMethod: "GET",
- HTTPPath: "/policies/{policyId}/",
+ HTTPPath: "/policies/{policyId}",
}
if input == nil {
@@ -784,7 +799,7 @@ func (s *Action) SetName(v string) *Action {
return s
}
-// [Snapshot policies only] Specifies information about the archive storage
+// [Custom snapshot policies only] Specifies information about the archive storage
// tier retention period.
type ArchiveRetainRule struct {
_ struct{} `type:"structure"`
@@ -838,7 +853,8 @@ func (s *ArchiveRetainRule) SetRetentionArchiveTier(v *RetentionArchiveTier) *Ar
return s
}
-// [Snapshot policies only] Specifies a snapshot archiving rule for a schedule.
+// [Custom snapshot policies only] Specifies a snapshot archiving rule for a
+// schedule.
type ArchiveRule struct {
_ struct{} `type:"structure"`
@@ -893,24 +909,95 @@ func (s *ArchiveRule) SetRetainRule(v *ArchiveRetainRule) *ArchiveRule {
type CreateLifecyclePolicyInput struct {
_ struct{} `type:"structure"`
+ // [Default policies only] Indicates whether the policy should copy tags from
+ // the source resource to the snapshot or AMI. If you do not specify a value,
+ // the default is false.
+ //
+ // Default: false
+ CopyTags *bool `type:"boolean"`
+
+ // [Default policies only] Specifies how often the policy should run and create
+ // snapshots or AMIs. The creation frequency can range from 1 to 7 days. If
+ // you do not specify a value, the default is 1.
+ //
+ // Default: 1
+ CreateInterval *int64 `min:"1" type:"integer"`
+
+ // [Default policies only] Specifies destination Regions for snapshot or AMI
+ // copies. You can specify up to 3 destination Regions. If you do not want to
+ // create cross-Region copies, omit this parameter.
+ CrossRegionCopyTargets []*CrossRegionCopyTarget `type:"list"`
+
+ // [Default policies only] Specify the type of default policy to create.
+ //
+ // * To create a default policy for EBS snapshots, that creates snapshots
+ // of all volumes in the Region that do not have recent backups, specify
+ // VOLUME.
+ //
+ // * To create a default policy for EBS-backed AMIs, that creates EBS-backed
+ // AMIs from all instances in the Region that do not have recent backups,
+ // specify INSTANCE.
+ DefaultPolicy *string `type:"string" enum:"DefaultPolicyTypeValues"`
+
// A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are
// supported.
//
// Description is a required field
Description *string `type:"string" required:"true"`
+ // [Default policies only] Specifies exclusion parameters for volumes or instances
+ // for which you do not want to create snapshots or AMIs. The policy will not
+ // create snapshots or AMIs for target resources that match any of the specified
+ // exclusion parameters.
+ Exclusions *Exclusions `type:"structure"`
+
// The Amazon Resource Name (ARN) of the IAM role used to run the operations
// specified by the lifecycle policy.
//
// ExecutionRoleArn is a required field
ExecutionRoleArn *string `type:"string" required:"true"`
+ // [Default policies only] Defines the snapshot or AMI retention behavior for
+ // the policy if the source volume or instance is deleted, or if the policy
+ // enters the error, disabled, or deleted state.
+ //
+ // By default (ExtendDeletion=false):
+ //
+ // * If a source resource is deleted, Amazon Data Lifecycle Manager will
+ // continue to delete previously created snapshots or AMIs, up to but not
+ // including the last one, based on the specified retention period. If you
+ // want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including
+ // the last one, specify true.
+ //
+ // * If a policy enters the error, disabled, or deleted state, Amazon Data
+ // Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon
+ // Data Lifecycle Manager to continue deleting snapshots or AMIs, including
+ // the last one, if the policy enters one of these states, specify true.
+ //
+ // If you enable extended deletion (ExtendDeletion=true), you override both
+ // default behaviors simultaneously.
+ //
+ // If you do not specify a value, the default is false.
+ //
+ // Default: false
+ ExtendDeletion *bool `type:"boolean"`
+
// The configuration details of the lifecycle policy.
//
- // PolicyDetails is a required field
- PolicyDetails *PolicyDetails `type:"structure" required:"true"`
+ // If you create a default policy, you can specify the request parameters either
+ // in the request body, or in the PolicyDetails request structure, but not both.
+ PolicyDetails *PolicyDetails `type:"structure"`
- // The desired activation state of the lifecycle policy after creation.
+ // [Default policies only] Specifies how long the policy should retain snapshots
+ // or AMIs before deleting them. The retention period can range from 2 to 14
+ // days, but it must be greater than the creation frequency to ensure that the
+ // policy retains at least 1 snapshot or AMI at any given time. If you do not
+ // specify a value, the default is 7.
+ //
+ // Default: 7
+ RetainInterval *int64 `min:"1" type:"integer"`
+
+ // The activation state of the lifecycle policy after creation.
//
// State is a required field
State *string `type:"string" required:"true" enum:"SettablePolicyStateValues"`
@@ -940,14 +1027,17 @@ func (s CreateLifecyclePolicyInput) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateLifecyclePolicyInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateLifecyclePolicyInput"}
+ if s.CreateInterval != nil && *s.CreateInterval < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("CreateInterval", 1))
+ }
if s.Description == nil {
invalidParams.Add(request.NewErrParamRequired("Description"))
}
if s.ExecutionRoleArn == nil {
invalidParams.Add(request.NewErrParamRequired("ExecutionRoleArn"))
}
- if s.PolicyDetails == nil {
- invalidParams.Add(request.NewErrParamRequired("PolicyDetails"))
+ if s.RetainInterval != nil && *s.RetainInterval < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("RetainInterval", 1))
}
if s.State == nil {
invalidParams.Add(request.NewErrParamRequired("State"))
@@ -955,6 +1045,11 @@ func (s *CreateLifecyclePolicyInput) Validate() error {
if s.Tags != nil && len(s.Tags) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
}
+ if s.Exclusions != nil {
+ if err := s.Exclusions.Validate(); err != nil {
+ invalidParams.AddNested("Exclusions", err.(request.ErrInvalidParams))
+ }
+ }
if s.PolicyDetails != nil {
if err := s.PolicyDetails.Validate(); err != nil {
invalidParams.AddNested("PolicyDetails", err.(request.ErrInvalidParams))
@@ -967,24 +1062,66 @@ func (s *CreateLifecyclePolicyInput) Validate() error {
return nil
}
+// SetCopyTags sets the CopyTags field's value.
+func (s *CreateLifecyclePolicyInput) SetCopyTags(v bool) *CreateLifecyclePolicyInput {
+ s.CopyTags = &v
+ return s
+}
+
+// SetCreateInterval sets the CreateInterval field's value.
+func (s *CreateLifecyclePolicyInput) SetCreateInterval(v int64) *CreateLifecyclePolicyInput {
+ s.CreateInterval = &v
+ return s
+}
+
+// SetCrossRegionCopyTargets sets the CrossRegionCopyTargets field's value.
+func (s *CreateLifecyclePolicyInput) SetCrossRegionCopyTargets(v []*CrossRegionCopyTarget) *CreateLifecyclePolicyInput {
+ s.CrossRegionCopyTargets = v
+ return s
+}
+
+// SetDefaultPolicy sets the DefaultPolicy field's value.
+func (s *CreateLifecyclePolicyInput) SetDefaultPolicy(v string) *CreateLifecyclePolicyInput {
+ s.DefaultPolicy = &v
+ return s
+}
+
// SetDescription sets the Description field's value.
func (s *CreateLifecyclePolicyInput) SetDescription(v string) *CreateLifecyclePolicyInput {
s.Description = &v
return s
}
+// SetExclusions sets the Exclusions field's value.
+func (s *CreateLifecyclePolicyInput) SetExclusions(v *Exclusions) *CreateLifecyclePolicyInput {
+ s.Exclusions = v
+ return s
+}
+
// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (s *CreateLifecyclePolicyInput) SetExecutionRoleArn(v string) *CreateLifecyclePolicyInput {
s.ExecutionRoleArn = &v
return s
}
+// SetExtendDeletion sets the ExtendDeletion field's value.
+func (s *CreateLifecyclePolicyInput) SetExtendDeletion(v bool) *CreateLifecyclePolicyInput {
+ s.ExtendDeletion = &v
+ return s
+}
+
// SetPolicyDetails sets the PolicyDetails field's value.
func (s *CreateLifecyclePolicyInput) SetPolicyDetails(v *PolicyDetails) *CreateLifecyclePolicyInput {
s.PolicyDetails = v
return s
}
+// SetRetainInterval sets the RetainInterval field's value.
+func (s *CreateLifecyclePolicyInput) SetRetainInterval(v int64) *CreateLifecyclePolicyInput {
+ s.RetainInterval = &v
+ return s
+}
+
// SetState sets the State field's value.
func (s *CreateLifecyclePolicyInput) SetState(v string) *CreateLifecyclePolicyInput {
s.State = &v
@@ -1028,8 +1165,8 @@ func (s *CreateLifecyclePolicyOutput) SetPolicyId(v string) *CreateLifecyclePoli
return s
}
-// [Snapshot and AMI policies only] Specifies when the policy should create
-// snapshots or AMIs.
+// [Custom snapshot and AMI policies only] Specifies when the policy should
+// create snapshots or AMIs.
//
// - You must specify either CronExpression, or Interval, IntervalUnit, and
// Times.
@@ -1052,7 +1189,7 @@ type CreateRule struct {
// The interval unit.
IntervalUnit *string `type:"string" enum:"IntervalUnitValues"`
- // [Snapshot policies only] Specifies the destination for snapshots created
+ // [Custom snapshot policies only] Specifies the destination for snapshots created
// by the policy. To create snapshots in the same Region as the source resource,
// specify CLOUD. To create snapshots on the same Outpost as the source resource,
// specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default.
@@ -1063,11 +1200,11 @@ type CreateRule struct {
// Outpost as the source resource, or in the Region of that Outpost.
Location *string `type:"string" enum:"LocationValues"`
- // [Snapshot policies that target instances only] Specifies pre and/or post
- // scripts for a snapshot lifecycle policy that targets instances. This is useful
- // for creating application-consistent snapshots, or for performing specific
- // administrative tasks before or after Amazon Data Lifecycle Manager initiates
- // snapshot creation.
+ // [Custom snapshot policies that target instances only] Specifies pre and/or
+ // post scripts for a snapshot lifecycle policy that targets instances. This
+ // is useful for creating application-consistent snapshots, or for performing
+ // specific administrative tasks before or after Amazon Data Lifecycle Manager
+ // initiates snapshot creation.
//
// For more information, see Automating application-consistent snapshots with
// pre and post scripts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/automate-app-consistent-backups.html).
@@ -1247,8 +1384,8 @@ func (s *CrossRegionCopyAction) SetTarget(v string) *CrossRegionCopyAction {
return s
}
-// [AMI policies only] Specifies an AMI deprecation rule for cross-Region AMI
-// copies created by an AMI policy.
+// [Custom AMI policies only] Specifies an AMI deprecation rule for cross-Region
+// AMI copies created by an AMI policy.
type CrossRegionCopyDeprecateRule struct {
_ struct{} `type:"structure"`
@@ -1364,8 +1501,8 @@ func (s *CrossRegionCopyRetainRule) SetIntervalUnit(v string) *CrossRegionCopyRe
return s
}
-// [Snapshot and AMI policies only] Specifies a cross-Region copy rule for a
-// snapshot and AMI policies.
+// [Custom snapshot and AMI policies only] Specifies a cross-Region copy rule
+// for a snapshot and AMI policies.
//
// To specify a cross-Region copy action for event-based polices, use CrossRegionCopyAction
// (https://docs.aws.amazon.com/dlm/latest/APIReference/API_CrossRegionCopyAction.html).
@@ -1381,8 +1518,8 @@ type CrossRegionCopyRule struct {
// or AMI to the cross-Region copy.
CopyTags *bool `type:"boolean"`
- // [AMI policies only] The AMI deprecation rule for cross-Region AMI copies
- // created by the rule.
+ // [Custom AMI policies only] The AMI deprecation rule for cross-Region AMI
+ // copies created by the rule.
DeprecateRule *CrossRegionCopyDeprecateRule `type:"structure"`
// To encrypt a copy of an unencrypted snapshot if encryption by default is
@@ -1401,8 +1538,8 @@ type CrossRegionCopyRule struct {
// Use this parameter for snapshot policies only. For AMI policies, use TargetRegion
// instead.
//
- // [Snapshot policies only] The target Region or the Amazon Resource Name (ARN)
- // of the target Outpost for the snapshot copies.
+ // [Custom snapshot policies only] The target Region or the Amazon Resource
+ // Name (ARN) of the target Outpost for the snapshot copies.
Target *string `type:"string"`
//
@@ -1410,8 +1547,8 @@ type CrossRegionCopyRule struct {
// instead. For snapshot policies created before the Target parameter was introduced,
// this parameter indicates the target Region for snapshot copies.
//
- // [AMI policies only] The target Region or the Amazon Resource Name (ARN) of
- // the target Outpost for the snapshot copies.
+ // [Custom AMI policies only] The target Region or the Amazon Resource Name
+ // (ARN) of the target Outpost for the snapshot copies.
TargetRegion *string `type:"string"`
}
@@ -1498,6 +1635,39 @@ func (s *CrossRegionCopyRule) SetTargetRegion(v string) *CrossRegionCopyRule {
return s
}
+// [Default policies only] Specifies a destination Region for cross-Region copy
+// actions.
+type CrossRegionCopyTarget struct {
+ _ struct{} `type:"structure"`
+
+ // The target Region, for example us-east-1.
+ TargetRegion *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CrossRegionCopyTarget) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CrossRegionCopyTarget) GoString() string {
+ return s.String()
+}
+
+// SetTargetRegion sets the TargetRegion field's value.
+func (s *CrossRegionCopyTarget) SetTargetRegion(v string) *CrossRegionCopyTarget {
+ s.TargetRegion = &v
+ return s
+}
+
type DeleteLifecyclePolicyInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -1569,8 +1739,8 @@ func (s DeleteLifecyclePolicyOutput) GoString() string {
return s.String()
}
-// [AMI policies only] Specifies an AMI deprecation rule for AMIs created by
-// an AMI lifecycle policy.
+// [Custom AMI policies only] Specifies an AMI deprecation rule for AMIs created
+// by an AMI lifecycle policy.
//
// For age-based schedules, you must specify Interval and IntervalUnit. For
// count-based schedules, you must specify Count.
@@ -1855,8 +2025,86 @@ func (s *EventSource) SetType(v string) *EventSource {
return s
}
-// [Snapshot policies only] Specifies a rule for enabling fast snapshot restore
-// for snapshots created by snapshot policies. You can enable fast snapshot
+// [Default policies only] Specifies exclusion parameters for volumes or instances
+// for which you do not want to create snapshots or AMIs. The policy will not
+// create snapshots or AMIs for target resources that match any of the specified
+// exclusion parameters.
+type Exclusions struct {
+ _ struct{} `type:"structure"`
+
+ // [Default policies for EBS snapshots only] Indicates whether to exclude volumes
+ // that are attached to instances as the boot volume. If you exclude boot volumes,
+ // only volumes attached as data (non-boot) volumes will be backed up by the
+ // policy. To exclude boot volumes, specify true.
+ ExcludeBootVolumes *bool `type:"boolean"`
+
+ // [Default policies for EBS-backed AMIs only] Specifies whether to exclude
+ // volumes that have specific tags.
+ ExcludeTags []*Tag `type:"list"`
+
+ // [Default policies for EBS snapshots only] Specifies the volume types to exclude.
+ // Volumes of the specified types will not be targeted by the policy.
+ ExcludeVolumeTypes []*string `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Exclusions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Exclusions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Exclusions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Exclusions"}
+ if s.ExcludeTags != nil {
+ for i, v := range s.ExcludeTags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExcludeTags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetExcludeBootVolumes sets the ExcludeBootVolumes field's value.
+func (s *Exclusions) SetExcludeBootVolumes(v bool) *Exclusions {
+ s.ExcludeBootVolumes = &v
+ return s
+}
+
+// SetExcludeTags sets the ExcludeTags field's value.
+func (s *Exclusions) SetExcludeTags(v []*Tag) *Exclusions {
+ s.ExcludeTags = v
+ return s
+}
+
+// SetExcludeVolumeTypes sets the ExcludeVolumeTypes field's value.
+func (s *Exclusions) SetExcludeVolumeTypes(v []*string) *Exclusions {
+ s.ExcludeVolumeTypes = v
+ return s
+}
+
+// [Custom snapshot policies only] Specifies a rule for enabling fast snapshot
+// restore for snapshots created by snapshot policies. You can enable fast snapshot
// restore based on either a count or a time interval.
type FastRestoreRule struct {
_ struct{} `type:"structure"`
@@ -1944,6 +2192,16 @@ func (s *FastRestoreRule) SetIntervalUnit(v string) *FastRestoreRule {
type GetLifecyclePoliciesInput struct {
_ struct{} `type:"structure" nopayload:"true"`
+ // [Default policies only] Specifies the type of default policy to get. Specify
+ // one of the following:
+ //
+ // * VOLUME - To get only the default policy for EBS snapshots
+ //
+ // * INSTANCE - To get only the default policy for EBS-backed AMIs
+ //
+ // * ALL - To get all default policies
+ DefaultPolicyType *string `location:"querystring" locationName:"defaultPolicyType" type:"string" enum:"DefaultPoliciesTypeValues"`
+
// The identifiers of the data lifecycle policies.
PolicyIds []*string `location:"querystring" locationName:"policyIds" type:"list"`
@@ -2001,6 +2259,12 @@ func (s *GetLifecyclePoliciesInput) Validate() error {
return nil
}
+// SetDefaultPolicyType sets the DefaultPolicyType field's value.
+func (s *GetLifecyclePoliciesInput) SetDefaultPolicyType(v string) *GetLifecyclePoliciesInput {
+ s.DefaultPolicyType = &v
+ return s
+}
+
// SetPolicyIds sets the PolicyIds field's value.
func (s *GetLifecyclePoliciesInput) SetPolicyIds(v []*string) *GetLifecyclePoliciesInput {
s.PolicyIds = v
@@ -2280,7 +2544,7 @@ func (s *InvalidRequestException) RequestID() string {
return s.RespMetadata.RequestID
}
-// [All policy types] Detailed information about a snapshot, AMI, or event-based
+// [Custom policies only] Detailed information about a snapshot, AMI, or event-based
// lifecycle policy.
type LifecyclePolicy struct {
_ struct{} `type:"structure"`
@@ -2291,6 +2555,13 @@ type LifecyclePolicy struct {
// The local date and time when the lifecycle policy was last modified.
DateModified *time.Time `type:"timestamp" timestampFormat:"iso8601"`
+ // [Default policies only] The type of default policy. Values include:
+ //
+ // * VOLUME - Default policy for EBS snapshots
+ //
+ // * INSTANCE - Default policy for EBS-backed AMIs
+ DefaultPolicy *bool `type:"boolean"`
+
// The description of the lifecycle policy.
Description *string `type:"string"`
@@ -2347,6 +2618,12 @@ func (s *LifecyclePolicy) SetDateModified(v time.Time) *LifecyclePolicy {
return s
}
+// SetDefaultPolicy sets the DefaultPolicy field's value.
+func (s *LifecyclePolicy) SetDefaultPolicy(v bool) *LifecyclePolicy {
+ s.DefaultPolicy = &v
+ return s
+}
+
// SetDescription sets the Description field's value.
func (s *LifecyclePolicy) SetDescription(v string) *LifecyclePolicy {
s.Description = &v
@@ -2399,6 +2676,13 @@ func (s *LifecyclePolicy) SetTags(v map[string]*string) *LifecyclePolicy {
type LifecyclePolicySummary struct {
_ struct{} `type:"structure"`
+ // [Default policies only] The type of default policy. Values include:
+ //
+ // * VOLUME - Default policy for EBS snapshots
+ //
+ // * INSTANCE - Default policy for EBS-backed AMIs
+ DefaultPolicy *bool `type:"boolean"`
+
// The description of the lifecycle policy.
Description *string `type:"string"`
@@ -2437,6 +2721,12 @@ func (s LifecyclePolicySummary) GoString() string {
return s.String()
}
+// SetDefaultPolicy sets the DefaultPolicy field's value.
+func (s *LifecyclePolicySummary) SetDefaultPolicy(v bool) *LifecyclePolicySummary {
+ s.DefaultPolicy = &v
+ return s
+}
+
// SetDescription sets the Description field's value.
func (s *LifecyclePolicySummary) SetDescription(v string) *LifecyclePolicySummary {
s.Description = &v
@@ -2616,8 +2906,8 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe
return s
}
-// [Snapshot and AMI policies only] Specifies optional parameters for snapshot
-// and AMI policies. The set of valid parameters depends on the combination
+// [Custom snapshot and AMI policies only] Specifies optional parameters for
+// snapshot and AMI policies. The set of valid parameters depends on the combination
// of policy type and target resource type.
//
// If you choose to exclude boot volumes and you specify tags that consequently
@@ -2628,13 +2918,13 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe
type Parameters struct {
_ struct{} `type:"structure"`
- // [Snapshot policies that target instances only] Indicates whether to exclude
- // the root volume from multi-volume snapshot sets. The default is false. If
- // you specify true, then the root volumes attached to targeted instances will
- // be excluded from the multi-volume snapshot sets created by the policy.
+ // [Custom snapshot policies that target instances only] Indicates whether to
+ // exclude the root volume from multi-volume snapshot sets. The default is false.
+ // If you specify true, then the root volumes attached to targeted instances
+ // will be excluded from the multi-volume snapshot sets created by the policy.
ExcludeBootVolume *bool `type:"boolean"`
- // [Snapshot policies that target instances only] The tags used to identify
+ // [Custom snapshot policies that target instances only] The tags used to identify
// data (non-root) volumes to exclude from multi-volume snapshot sets.
//
// If you create a snapshot lifecycle policy that targets instances and you
@@ -2643,10 +2933,11 @@ type Parameters struct {
// snapshot sets created by the policy.
ExcludeDataVolumeTags []*Tag `type:"list"`
- // [AMI policies only] Indicates whether targeted instances are rebooted when
- // the lifecycle policy runs. true indicates that targeted instances are not
- // rebooted when the policy runs. false indicates that target instances are
- // rebooted when the policy runs. The default is true (instances are not rebooted).
+ // [Custom AMI policies only] Indicates whether targeted instances are rebooted
+ // when the lifecycle policy runs. true indicates that targeted instances are
+ // not rebooted when the policy runs. false indicates that target instances
+ // are rebooted when the policy runs. The default is true (instances are not
+ // rebooted).
NoReboot *bool `type:"boolean"`
}
@@ -2706,7 +2997,7 @@ func (s *Parameters) SetNoReboot(v bool) *Parameters {
return s
}
-// [All policy types] Specifies the configuration of a lifecycle policy.
+// Specifies the configuration of a lifecycle policy.
type PolicyDetails struct {
_ struct{} `type:"structure"`
@@ -2714,11 +3005,61 @@ type PolicyDetails struct {
// policy is activated. You can specify only one action per policy.
Actions []*Action `min:"1" type:"list"`
+ // [Default policies only] Indicates whether the policy should copy tags from
+ // the source resource to the snapshot or AMI. If you do not specify a value,
+ // the default is false.
+ //
+ // Default: false
+ CopyTags *bool `type:"boolean"`
+
+ // [Default policies only] Specifies how often the policy should run and create
+ // snapshots or AMIs. The creation frequency can range from 1 to 7 days. If
+ // you do not specify a value, the default is 1.
+ //
+ // Default: 1
+ CreateInterval *int64 `min:"1" type:"integer"`
+
+ // [Default policies only] Specifies destination Regions for snapshot or AMI
+ // copies. You can specify up to 3 destination Regions. If you do not want to
+ // create cross-Region copies, omit this parameter.
+ CrossRegionCopyTargets []*CrossRegionCopyTarget `type:"list"`
+
// [Event-based policies only] The event that activates the event-based policy.
EventSource *EventSource `type:"structure"`
- // [Snapshot and AMI policies only] A set of optional parameters for snapshot
- // and AMI lifecycle policies.
+ // [Default policies only] Specifies exclusion parameters for volumes or instances
+ // for which you do not want to create snapshots or AMIs. The policy will not
+ // create snapshots or AMIs for target resources that match any of the specified
+ // exclusion parameters.
+ Exclusions *Exclusions `type:"structure"`
+
+ // [Default policies only] Defines the snapshot or AMI retention behavior for
+ // the policy if the source volume or instance is deleted, or if the policy
+ // enters the error, disabled, or deleted state.
+ //
+ // By default (ExtendDeletion=false):
+ //
+ // * If a source resource is deleted, Amazon Data Lifecycle Manager will
+ // continue to delete previously created snapshots or AMIs, up to but not
+ // including the last one, based on the specified retention period. If you
+ // want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including
+ // the last one, specify true.
+ //
+ // * If a policy enters the error, disabled, or deleted state, Amazon Data
+ // Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon
+ // Data Lifecycle Manager to continue deleting snapshots or AMIs, including
+ // the last one, if the policy enters one of these states, specify true.
+ //
+ // If you enable extended deletion (ExtendDeletion=true), you override both
+ // default behaviors simultaneously.
+ //
+ // If you do not specify a value, the default is false.
+ //
+ // Default: false
+ ExtendDeletion *bool `type:"boolean"`
+
+ // [Custom snapshot and AMI policies only] A set of optional parameters for
+ // snapshot and AMI lifecycle policies.
//
// If you are modifying a policy that was created or previously modified using
// the Amazon Data Lifecycle Manager console, then you must include this parameter
@@ -2726,10 +3067,17 @@ type PolicyDetails struct {
// You can't omit this parameter or set its values to null.
Parameters *Parameters `type:"structure"`
- // [All policy types] The valid target resource types and actions a policy can
- // manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that
- // manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to
- // create a lifecycle policy that manages the lifecycle of EBS-backed AMIs.
+ // The type of policy to create. Specify one of the following:
+ //
+ // * SIMPLIFIED To create a default policy.
+ //
+ // * STANDARD To create a custom policy.
+ PolicyLanguage *string `type:"string" enum:"PolicyLanguageValues"`
+
+ // [Custom policies only] The valid target resource types and actions a policy
+ // can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy
+ // that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT
+ // to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs.
// Specify EVENT_BASED_POLICY to create an event-based policy that performs
// specific actions when a defined event occurs in your Amazon Web Services
// account.
@@ -2737,27 +3085,48 @@ type PolicyDetails struct {
// The default is EBS_SNAPSHOT_MANAGEMENT.
PolicyType *string `type:"string" enum:"PolicyTypeValues"`
- // [Snapshot and AMI policies only] The location of the resources to backup.
- // If the source resources are located in an Amazon Web Services Region, specify
- // CLOUD. If the source resources are located on an Outpost in your account,
- // specify OUTPOST.
+ // [Custom snapshot and AMI policies only] The location of the resources to
+ // backup. If the source resources are located in an Amazon Web Services Region,
+ // specify CLOUD. If the source resources are located on an Outpost in your
+ // account, specify OUTPOST.
//
// If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources
// of the specified type with matching target tags across all of the Outposts
// in your account.
ResourceLocations []*string `min:"1" type:"list" enum:"ResourceLocationValues"`
- // [Snapshot policies only] The target resource type for snapshot and AMI lifecycle
- // policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE
- // to create multi-volume snapshots from the volumes for an instance.
+ // [Default policies only] Specify the type of default policy to create.
+ //
+ // * To create a default policy for EBS snapshots, that creates snapshots
+ // of all volumes in the Region that do not have recent backups, specify
+ // VOLUME.
+ //
+ // * To create a default policy for EBS-backed AMIs, that creates EBS-backed
+ // AMIs from all instances in the Region that do not have recent backups,
+ // specify INSTANCE.
+ ResourceType *string `type:"string" enum:"ResourceTypeValues"`
+
+ // [Custom snapshot policies only] The target resource type for snapshot and
+ // AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes
+ // or use INSTANCE to create multi-volume snapshots from the volumes for an
+ // instance.
ResourceTypes []*string `min:"1" type:"list" enum:"ResourceTypeValues"`
- // [Snapshot and AMI policies only] The schedules of policy-defined actions
+ // [Default policies only] Specifies how long the policy should retain snapshots
+ // or AMIs before deleting them. The retention period can range from 2 to 14
+ // days, but it must be greater than the creation frequency to ensure that the
+ // policy retains at least 1 snapshot or AMI at any given time. If you do not
+ // specify a value, the default is 7.
+ //
+ // Default: 7
+ RetainInterval *int64 `min:"1" type:"integer"`
+
+ // [Custom snapshot and AMI policies only] The schedules of policy-defined actions
// for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one
// mandatory schedule and up to three optional schedules.
Schedules []*Schedule `min:"1" type:"list"`
- // [Snapshot and AMI policies only] The single tag that identifies targeted
+ // [Custom snapshot and AMI policies only] The single tag that identifies targeted
// resources for this policy.
TargetTags []*Tag `min:"1" type:"list"`
}
@@ -2786,12 +3155,18 @@ func (s *PolicyDetails) Validate() error {
if s.Actions != nil && len(s.Actions) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Actions", 1))
}
+ if s.CreateInterval != nil && *s.CreateInterval < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("CreateInterval", 1))
+ }
if s.ResourceLocations != nil && len(s.ResourceLocations) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ResourceLocations", 1))
}
if s.ResourceTypes != nil && len(s.ResourceTypes) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ResourceTypes", 1))
}
+ if s.RetainInterval != nil && *s.RetainInterval < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("RetainInterval", 1))
+ }
if s.Schedules != nil && len(s.Schedules) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Schedules", 1))
}
@@ -2813,6 +3188,11 @@ func (s *PolicyDetails) Validate() error {
invalidParams.AddNested("EventSource", err.(request.ErrInvalidParams))
}
}
+ if s.Exclusions != nil {
+ if err := s.Exclusions.Validate(); err != nil {
+ invalidParams.AddNested("Exclusions", err.(request.ErrInvalidParams))
+ }
+ }
if s.Parameters != nil {
if err := s.Parameters.Validate(); err != nil {
invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
@@ -2851,18 +3231,54 @@ func (s *PolicyDetails) SetActions(v []*Action) *PolicyDetails {
return s
}
+// SetCopyTags sets the CopyTags field's value.
+func (s *PolicyDetails) SetCopyTags(v bool) *PolicyDetails {
+ s.CopyTags = &v
+ return s
+}
+
+// SetCreateInterval sets the CreateInterval field's value.
+func (s *PolicyDetails) SetCreateInterval(v int64) *PolicyDetails {
+ s.CreateInterval = &v
+ return s
+}
+
+// SetCrossRegionCopyTargets sets the CrossRegionCopyTargets field's value.
+func (s *PolicyDetails) SetCrossRegionCopyTargets(v []*CrossRegionCopyTarget) *PolicyDetails {
+ s.CrossRegionCopyTargets = v
+ return s
+}
+
// SetEventSource sets the EventSource field's value.
func (s *PolicyDetails) SetEventSource(v *EventSource) *PolicyDetails {
s.EventSource = v
return s
}
+// SetExclusions sets the Exclusions field's value.
+func (s *PolicyDetails) SetExclusions(v *Exclusions) *PolicyDetails {
+ s.Exclusions = v
+ return s
+}
+
+// SetExtendDeletion sets the ExtendDeletion field's value.
+func (s *PolicyDetails) SetExtendDeletion(v bool) *PolicyDetails {
+ s.ExtendDeletion = &v
+ return s
+}
+
// SetParameters sets the Parameters field's value.
func (s *PolicyDetails) SetParameters(v *Parameters) *PolicyDetails {
s.Parameters = v
return s
}
+// SetPolicyLanguage sets the PolicyLanguage field's value.
+func (s *PolicyDetails) SetPolicyLanguage(v string) *PolicyDetails {
+ s.PolicyLanguage = &v
+ return s
+}
+
// SetPolicyType sets the PolicyType field's value.
func (s *PolicyDetails) SetPolicyType(v string) *PolicyDetails {
s.PolicyType = &v
@@ -2875,12 +3291,24 @@ func (s *PolicyDetails) SetResourceLocations(v []*string) *PolicyDetails {
return s
}
+// SetResourceType sets the ResourceType field's value.
+func (s *PolicyDetails) SetResourceType(v string) *PolicyDetails {
+ s.ResourceType = &v
+ return s
+}
+
// SetResourceTypes sets the ResourceTypes field's value.
func (s *PolicyDetails) SetResourceTypes(v []*string) *PolicyDetails {
s.ResourceTypes = v
return s
}
+// SetRetainInterval sets the RetainInterval field's value.
+func (s *PolicyDetails) SetRetainInterval(v int64) *PolicyDetails {
+ s.RetainInterval = &v
+ return s
+}
+
// SetSchedules sets the Schedules field's value.
func (s *PolicyDetails) SetSchedules(v []*Schedule) *PolicyDetails {
s.Schedules = v
@@ -2965,7 +3393,7 @@ func (s *ResourceNotFoundException) RequestID() string {
return s.RespMetadata.RequestID
}
-// [Snapshot and AMI policies only] Specifies a retention rule for snapshots
+// [Custom snapshot and AMI policies only] Specifies a retention rule for snapshots
// created by snapshot policies, or for AMIs created by AMI policies.
//
// For snapshot policies that have an ArchiveRule (https://docs.aws.amazon.com/dlm/latest/APIReference/API_ArchiveRule.html),
@@ -3050,9 +3478,9 @@ func (s *RetainRule) SetIntervalUnit(v string) *RetainRule {
return s
}
-// [Snapshot policies only] Describes the retention rule for archived snapshots.
-// Once the archive retention threshold is met, the snapshots are permanently
-// deleted from the archive tier.
+// [Custom snapshot policies only] Describes the retention rule for archived
+// snapshots. Once the archive retention threshold is met, the snapshots are
+// permanently deleted from the archive tier.
//
// The archive retention rule must retain snapshots in the archive tier for
// a minimum of 90 days.
@@ -3133,16 +3561,16 @@ func (s *RetentionArchiveTier) SetIntervalUnit(v string) *RetentionArchiveTier {
return s
}
-// [Snapshot and AMI policies only] Specifies a schedule for a snapshot or AMI
-// lifecycle policy.
+// [Custom snapshot and AMI policies only] Specifies a schedule for a snapshot
+// or AMI lifecycle policy.
type Schedule struct {
_ struct{} `type:"structure"`
- // [Snapshot policies that target volumes only] The snapshot archiving rule
- // for the schedule. When you specify an archiving rule, snapshots are automatically
- // moved from the standard tier to the archive tier once the schedule's retention
- // threshold is met. Snapshots are then retained in the archive tier for the
- // archive retention period that you specify.
+ // [Custom snapshot policies that target volumes only] The snapshot archiving
+ // rule for the schedule. When you specify an archiving rule, snapshots are
+ // automatically moved from the standard tier to the archive tier once the schedule's
+ // retention threshold is met. Snapshots are then retained in the archive tier
+ // for the archive retention period that you specify.
//
// For more information about using snapshot archiving, see Considerations for
// snapshot lifecycle policies (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-ami-policy.html#dlm-archive).
@@ -3162,10 +3590,10 @@ type Schedule struct {
// can be copied to up to three Regions or Outposts.
CrossRegionCopyRules []*CrossRegionCopyRule `type:"list"`
- // [AMI policies only] The AMI deprecation rule for the schedule.
+ // [Custom AMI policies only] The AMI deprecation rule for the schedule.
DeprecateRule *DeprecateRule `type:"structure"`
- // [Snapshot policies only] The rule for enabling fast snapshot restore.
+ // [Custom snapshot policies only] The rule for enabling fast snapshot restore.
FastRestoreRule *FastRestoreRule `type:"structure"`
// The name of the schedule.
@@ -3174,8 +3602,8 @@ type Schedule struct {
// The retention rule for snapshots or AMIs created by the policy.
RetainRule *RetainRule `type:"structure"`
- // [Snapshot policies only] The rule for sharing snapshots with other Amazon
- // Web Services accounts.
+ // [Custom snapshot policies only] The rule for sharing snapshots with other
+ // Amazon Web Services accounts.
ShareRules []*ShareRule `type:"list"`
// The tags to apply to policy-created resources. These user-defined tags are
@@ -3344,10 +3772,10 @@ func (s *Schedule) SetVariableTags(v []*Tag) *Schedule {
return s
}
-// [Snapshot policies that target instances only] Information about pre and/or
-// post scripts for a snapshot lifecycle policy that targets instances. For
-// more information, see Automating application-consistent snapshots with pre
-// and post scripts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/automate-app-consistent-backups.html).
+// [Custom snapshot policies that target instances only] Information about pre
+// and/or post scripts for a snapshot lifecycle policy that targets instances.
+// For more information, see Automating application-consistent snapshots with
+// pre and post scripts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/automate-app-consistent-backups.html).
type Script struct {
_ struct{} `type:"structure"`
@@ -3513,8 +3941,8 @@ func (s *Script) SetStages(v []*string) *Script {
return s
}
-// [Snapshot policies only] Specifies a rule for sharing snapshots across Amazon
-// Web Services accounts.
+// [Custom snapshot policies only] Specifies a rule for sharing snapshots across
+// Amazon Web Services accounts.
type ShareRule struct {
_ struct{} `type:"structure"`
@@ -3826,13 +4254,55 @@ func (s UntagResourceOutput) GoString() string {
type UpdateLifecyclePolicyInput struct {
_ struct{} `type:"structure"`
+ // [Default policies only] Indicates whether the policy should copy tags from
+ // the source resource to the snapshot or AMI.
+ CopyTags *bool `type:"boolean"`
+
+ // [Default policies only] Specifies how often the policy should run and create
+ // snapshots or AMIs. The creation frequency can range from 1 to 7 days.
+ CreateInterval *int64 `min:"1" type:"integer"`
+
+ // [Default policies only] Specifies destination Regions for snapshot or AMI
+ // copies. You can specify up to 3 destination Regions. If you do not want to
+ // create cross-Region copies, omit this parameter.
+ CrossRegionCopyTargets []*CrossRegionCopyTarget `type:"list"`
+
// A description of the lifecycle policy.
Description *string `type:"string"`
+ // [Default policies only] Specifies exclusion parameters for volumes or instances
+ // for which you do not want to create snapshots or AMIs. The policy will not
+ // create snapshots or AMIs for target resources that match any of the specified
+ // exclusion parameters.
+ Exclusions *Exclusions `type:"structure"`
+
// The Amazon Resource Name (ARN) of the IAM role used to run the operations
// specified by the lifecycle policy.
ExecutionRoleArn *string `type:"string"`
+ // [Default policies only] Defines the snapshot or AMI retention behavior for
+ // the policy if the source volume or instance is deleted, or if the policy
+ // enters the error, disabled, or deleted state.
+ //
+ // By default (ExtendDeletion=false):
+ //
+ // * If a source resource is deleted, Amazon Data Lifecycle Manager will
+ // continue to delete previously created snapshots or AMIs, up to but not
+ // including the last one, based on the specified retention period. If you
+ // want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including
+ // the last one, specify true.
+ //
+ // * If a policy enters the error, disabled, or deleted state, Amazon Data
+ // Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon
+ // Data Lifecycle Manager to continue deleting snapshots or AMIs, including
+ // the last one, if the policy enters one of these states, specify true.
+ //
+ // If you enable extended deletion (ExtendDeletion=true), you override both
+ // default behaviors simultaneously.
+ //
+ // Default: false
+ ExtendDeletion *bool `type:"boolean"`
+
// The configuration of the lifecycle policy. You cannot update the policy type
// or the resource type.
PolicyDetails *PolicyDetails `type:"structure"`
@@ -3842,6 +4312,12 @@ type UpdateLifecyclePolicyInput struct {
// PolicyId is a required field
PolicyId *string `location:"uri" locationName:"policyId" type:"string" required:"true"`
+ // [Default policies only] Specifies how long the policy should retain snapshots
+ // or AMIs before deleting them. The retention period can range from 2 to 14
+ // days, but it must be greater than the creation frequency to ensure that the
+ // policy retains at least 1 snapshot or AMI at any given time.
+ RetainInterval *int64 `min:"1" type:"integer"`
+
// The desired activation state of the lifecycle policy after creation.
State *string `type:"string" enum:"SettablePolicyStateValues"`
}
@@ -3867,12 +4343,23 @@ func (s UpdateLifecyclePolicyInput) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateLifecyclePolicyInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UpdateLifecyclePolicyInput"}
+ if s.CreateInterval != nil && *s.CreateInterval < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("CreateInterval", 1))
+ }
if s.PolicyId == nil {
invalidParams.Add(request.NewErrParamRequired("PolicyId"))
}
if s.PolicyId != nil && len(*s.PolicyId) < 1 {
invalidParams.Add(request.NewErrParamMinLen("PolicyId", 1))
}
+ if s.RetainInterval != nil && *s.RetainInterval < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("RetainInterval", 1))
+ }
+ if s.Exclusions != nil {
+ if err := s.Exclusions.Validate(); err != nil {
+ invalidParams.AddNested("Exclusions", err.(request.ErrInvalidParams))
+ }
+ }
if s.PolicyDetails != nil {
if err := s.PolicyDetails.Validate(); err != nil {
invalidParams.AddNested("PolicyDetails", err.(request.ErrInvalidParams))
@@ -3885,18 +4372,48 @@ func (s *UpdateLifecyclePolicyInput) Validate() error {
return nil
}
+// SetCopyTags sets the CopyTags field's value.
+func (s *UpdateLifecyclePolicyInput) SetCopyTags(v bool) *UpdateLifecyclePolicyInput {
+ s.CopyTags = &v
+ return s
+}
+
+// SetCreateInterval sets the CreateInterval field's value.
+func (s *UpdateLifecyclePolicyInput) SetCreateInterval(v int64) *UpdateLifecyclePolicyInput {
+ s.CreateInterval = &v
+ return s
+}
+
+// SetCrossRegionCopyTargets sets the CrossRegionCopyTargets field's value.
+func (s *UpdateLifecyclePolicyInput) SetCrossRegionCopyTargets(v []*CrossRegionCopyTarget) *UpdateLifecyclePolicyInput {
+ s.CrossRegionCopyTargets = v
+ return s
+}
+
// SetDescription sets the Description field's value.
func (s *UpdateLifecyclePolicyInput) SetDescription(v string) *UpdateLifecyclePolicyInput {
s.Description = &v
return s
}
+// SetExclusions sets the Exclusions field's value.
+func (s *UpdateLifecyclePolicyInput) SetExclusions(v *Exclusions) *UpdateLifecyclePolicyInput {
+ s.Exclusions = v
+ return s
+}
+
// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
func (s *UpdateLifecyclePolicyInput) SetExecutionRoleArn(v string) *UpdateLifecyclePolicyInput {
s.ExecutionRoleArn = &v
return s
}
+// SetExtendDeletion sets the ExtendDeletion field's value.
+func (s *UpdateLifecyclePolicyInput) SetExtendDeletion(v bool) *UpdateLifecyclePolicyInput {
+ s.ExtendDeletion = &v
+ return s
+}
+
// SetPolicyDetails sets the PolicyDetails field's value.
func (s *UpdateLifecyclePolicyInput) SetPolicyDetails(v *PolicyDetails) *UpdateLifecyclePolicyInput {
s.PolicyDetails = v
@@ -3909,6 +4426,12 @@ func (s *UpdateLifecyclePolicyInput) SetPolicyId(v string) *UpdateLifecyclePolic
return s
}
+// SetRetainInterval sets the RetainInterval field's value.
+func (s *UpdateLifecyclePolicyInput) SetRetainInterval(v int64) *UpdateLifecyclePolicyInput {
+ s.RetainInterval = &v
+ return s
+}
+
// SetState sets the State field's value.
func (s *UpdateLifecyclePolicyInput) SetState(v string) *UpdateLifecyclePolicyInput {
s.State = &v
@@ -3937,6 +4460,42 @@ func (s UpdateLifecyclePolicyOutput) GoString() string {
return s.String()
}
+const (
+ // DefaultPoliciesTypeValuesVolume is a DefaultPoliciesTypeValues enum value
+ DefaultPoliciesTypeValuesVolume = "VOLUME"
+
+ // DefaultPoliciesTypeValuesInstance is a DefaultPoliciesTypeValues enum value
+ DefaultPoliciesTypeValuesInstance = "INSTANCE"
+
+ // DefaultPoliciesTypeValuesAll is a DefaultPoliciesTypeValues enum value
+ DefaultPoliciesTypeValuesAll = "ALL"
+)
+
+// DefaultPoliciesTypeValues_Values returns all elements of the DefaultPoliciesTypeValues enum
+func DefaultPoliciesTypeValues_Values() []string {
+ return []string{
+ DefaultPoliciesTypeValuesVolume,
+ DefaultPoliciesTypeValuesInstance,
+ DefaultPoliciesTypeValuesAll,
+ }
+}
+
+const (
+ // DefaultPolicyTypeValuesVolume is a DefaultPolicyTypeValues enum value
+ DefaultPolicyTypeValuesVolume = "VOLUME"
+
+ // DefaultPolicyTypeValuesInstance is a DefaultPolicyTypeValues enum value
+ DefaultPolicyTypeValuesInstance = "INSTANCE"
+)
+
+// DefaultPolicyTypeValues_Values returns all elements of the DefaultPolicyTypeValues enum
+func DefaultPolicyTypeValues_Values() []string {
+ return []string{
+ DefaultPolicyTypeValuesVolume,
+ DefaultPolicyTypeValuesInstance,
+ }
+}
+
const (
// EventSourceValuesManagedCwe is a EventSourceValues enum value
EventSourceValuesManagedCwe = "MANAGED_CWE"
@@ -4021,6 +4580,22 @@ func LocationValues_Values() []string {
}
}
+const (
+ // PolicyLanguageValuesSimplified is a PolicyLanguageValues enum value
+ PolicyLanguageValuesSimplified = "SIMPLIFIED"
+
+ // PolicyLanguageValuesStandard is a PolicyLanguageValues enum value
+ PolicyLanguageValuesStandard = "STANDARD"
+)
+
+// PolicyLanguageValues_Values returns all elements of the PolicyLanguageValues enum
+func PolicyLanguageValues_Values() []string {
+ return []string{
+ PolicyLanguageValuesSimplified,
+ PolicyLanguageValuesStandard,
+ }
+}
+
const (
// PolicyTypeValuesEbsSnapshotManagement is a PolicyTypeValues enum value
PolicyTypeValuesEbsSnapshotManagement = "EBS_SNAPSHOT_MANAGEMENT"
diff --git a/service/ec2/api.go b/service/ec2/api.go
index 83ed458da1c..c31b5118e2c 100644
--- a/service/ec2/api.go
+++ b/service/ec2/api.go
@@ -79609,6 +79609,10 @@ func (s *CreateVerifiedAccessInstanceOutput) SetVerifiedAccessInstance(v *Verifi
type CreateVerifiedAccessTrustProviderDeviceOptions struct {
_ struct{} `type:"structure"`
+ // The URL Amazon Web Services Verified Access will use to verify the authenticity
+ // of the device tokens.
+ PublicSigningKeyUrl *string `type:"string"`
+
// The ID of the tenant application with the device-identity provider.
TenantId *string `type:"string"`
}
@@ -79631,6 +79635,12 @@ func (s CreateVerifiedAccessTrustProviderDeviceOptions) GoString() string {
return s.String()
}
+// SetPublicSigningKeyUrl sets the PublicSigningKeyUrl field's value.
+func (s *CreateVerifiedAccessTrustProviderDeviceOptions) SetPublicSigningKeyUrl(v string) *CreateVerifiedAccessTrustProviderDeviceOptions {
+ s.PublicSigningKeyUrl = &v
+ return s
+}
+
// SetTenantId sets the TenantId field's value.
func (s *CreateVerifiedAccessTrustProviderDeviceOptions) SetTenantId(v string) *CreateVerifiedAccessTrustProviderDeviceOptions {
s.TenantId = &v
@@ -111594,6 +111604,10 @@ func (s DetachVpnGatewayOutput) GoString() string {
type DeviceOptions struct {
_ struct{} `type:"structure"`
+ // The URL Amazon Web Services Verified Access will use to verify the authenticity
+ // of the device tokens.
+ PublicSigningKeyUrl *string `locationName:"publicSigningKeyUrl" type:"string"`
+
// The ID of the tenant application with the device-identity provider.
TenantId *string `locationName:"tenantId" type:"string"`
}
@@ -111616,6 +111630,12 @@ func (s DeviceOptions) GoString() string {
return s.String()
}
+// SetPublicSigningKeyUrl sets the PublicSigningKeyUrl field's value.
+func (s *DeviceOptions) SetPublicSigningKeyUrl(v string) *DeviceOptions {
+ s.PublicSigningKeyUrl = &v
+ return s
+}
+
// SetTenantId sets the TenantId field's value.
func (s *DeviceOptions) SetTenantId(v string) *DeviceOptions {
s.TenantId = &v
@@ -151237,6 +151257,40 @@ func (s *ModifyVerifiedAccessInstanceOutput) SetVerifiedAccessInstance(v *Verifi
return s
}
+// Modifies the configuration of the specified device-based Amazon Web Services
+// Verified Access trust provider.
+type ModifyVerifiedAccessTrustProviderDeviceOptions struct {
+ _ struct{} `type:"structure"`
+
+ // The URL Amazon Web Services Verified Access will use to verify the authenticity
+ // of the device tokens.
+ PublicSigningKeyUrl *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ModifyVerifiedAccessTrustProviderDeviceOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ModifyVerifiedAccessTrustProviderDeviceOptions) GoString() string {
+ return s.String()
+}
+
+// SetPublicSigningKeyUrl sets the PublicSigningKeyUrl field's value.
+func (s *ModifyVerifiedAccessTrustProviderDeviceOptions) SetPublicSigningKeyUrl(v string) *ModifyVerifiedAccessTrustProviderDeviceOptions {
+ s.PublicSigningKeyUrl = &v
+ return s
+}
+
type ModifyVerifiedAccessTrustProviderInput struct {
_ struct{} `type:"structure"`
@@ -151248,6 +151302,10 @@ type ModifyVerifiedAccessTrustProviderInput struct {
// A description for the Verified Access trust provider.
Description *string `type:"string"`
+ // The options for a device-based trust provider. This parameter is required
+ // when the provider type is device.
+ DeviceOptions *ModifyVerifiedAccessTrustProviderDeviceOptions `type:"structure"`
+
// Checks whether you have the required permissions for the action, without
// actually making the request, and provides an error response. If you have
// the required permissions, the error response is DryRunOperation. Otherwise,
@@ -151309,6 +151367,12 @@ func (s *ModifyVerifiedAccessTrustProviderInput) SetDescription(v string) *Modif
return s
}
+// SetDeviceOptions sets the DeviceOptions field's value.
+func (s *ModifyVerifiedAccessTrustProviderInput) SetDeviceOptions(v *ModifyVerifiedAccessTrustProviderDeviceOptions) *ModifyVerifiedAccessTrustProviderInput {
+ s.DeviceOptions = v
+ return s
+}
+
// SetDryRun sets the DryRun field's value.
func (s *ModifyVerifiedAccessTrustProviderInput) SetDryRun(v bool) *ModifyVerifiedAccessTrustProviderInput {
s.DryRun = &v
@@ -188048,6 +188112,9 @@ const (
// DeviceTrustProviderTypeCrowdstrike is a DeviceTrustProviderType enum value
DeviceTrustProviderTypeCrowdstrike = "crowdstrike"
+
+ // DeviceTrustProviderTypeJumpcloud is a DeviceTrustProviderType enum value
+ DeviceTrustProviderTypeJumpcloud = "jumpcloud"
)
// DeviceTrustProviderType_Values returns all elements of the DeviceTrustProviderType enum
@@ -188055,6 +188122,7 @@ func DeviceTrustProviderType_Values() []string {
return []string{
DeviceTrustProviderTypeJamf,
DeviceTrustProviderTypeCrowdstrike,
+ DeviceTrustProviderTypeJumpcloud,
}
}
diff --git a/service/fsx/api.go b/service/fsx/api.go
index 301eb92f49b..13fea25c7cb 100644
--- a/service/fsx/api.go
+++ b/service/fsx/api.go
@@ -4703,6 +4703,8 @@ func (c *FSx) UpdateFileSystemRequest(input *UpdateFileSystemInput) (req *reques
//
// - LustreRootSquashConfiguration
//
+// - PerUnitStorageThroughput
+//
// - StorageCapacity
//
// - WeeklyMaintenanceStartTime
@@ -5237,7 +5239,7 @@ type AdministrativeAction struct {
// completed successfully, the parent FILE_SYSTEM_UPDATE action status changes
// to COMPLETED. For more information, see Managing storage capacity (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html)
// in the Amazon FSx for Windows File Server User Guide, Managing storage
- // and throughput capacity (https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html)
+ // capacity (https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html)
// in the Amazon FSx for Lustre User Guide, and Managing storage capacity
// and provisioned IOPS (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-storage-capacity.html)
// in the Amazon FSx for NetApp ONTAP User Guide.
@@ -21433,6 +21435,20 @@ type UpdateFileSystemLustreConfiguration struct {
// Logs.
LogConfiguration *LustreLogCreateConfiguration `type:"structure"`
+ // The throughput of an Amazon FSx for Lustre Persistent SSD-based file system,
+ // measured in megabytes per second per tebibyte (MB/s/TiB). You can increase
+ // or decrease your file system's throughput. Valid values depend on the deployment
+ // type of the file system, as follows:
+ //
+ // * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100,
+ // and 200 MB/s/TiB.
+ //
+ // * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250,
+ // 500, and 1000 MB/s/TiB.
+ //
+ // For more information, see Managing throughput capacity (https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-throughput-capacity.html).
+ PerUnitStorageThroughput *int64 `min:"12" type:"integer"`
+
// The Lustre root squash configuration used when updating an Amazon FSx for
// Lustre file system. When enabled, root squash restricts root-level access
// from clients that try to access your file system as a root user.
@@ -21468,6 +21484,9 @@ func (s *UpdateFileSystemLustreConfiguration) Validate() error {
if s.DailyAutomaticBackupStartTime != nil && len(*s.DailyAutomaticBackupStartTime) < 5 {
invalidParams.Add(request.NewErrParamMinLen("DailyAutomaticBackupStartTime", 5))
}
+ if s.PerUnitStorageThroughput != nil && *s.PerUnitStorageThroughput < 12 {
+ invalidParams.Add(request.NewErrParamMinValue("PerUnitStorageThroughput", 12))
+ }
if s.WeeklyMaintenanceStartTime != nil && len(*s.WeeklyMaintenanceStartTime) < 7 {
invalidParams.Add(request.NewErrParamMinLen("WeeklyMaintenanceStartTime", 7))
}
@@ -21518,6 +21537,12 @@ func (s *UpdateFileSystemLustreConfiguration) SetLogConfiguration(v *LustreLogCr
return s
}
+// SetPerUnitStorageThroughput sets the PerUnitStorageThroughput field's value.
+func (s *UpdateFileSystemLustreConfiguration) SetPerUnitStorageThroughput(v int64) *UpdateFileSystemLustreConfiguration {
+ s.PerUnitStorageThroughput = &v
+ return s
+}
+
// SetRootSquashConfiguration sets the RootSquashConfiguration field's value.
func (s *UpdateFileSystemLustreConfiguration) SetRootSquashConfiguration(v *LustreRootSquashConfiguration) *UpdateFileSystemLustreConfiguration {
s.RootSquashConfiguration = v
@@ -21734,7 +21759,7 @@ type UpdateFileSystemOpenZFSConfiguration struct {
// as follows:
//
// * For MULTI_AZ_1 and SINGLE_AZ_2, valid values are 160, 320, 640, 1280,
- // 2560, 3840, 5120, 7680, or 10240 MBps.
+ // 2560, 3840, 5120, 7680, or 10240 MB/s.
//
// * For SINGLE_AZ_1, valid values are 64, 128, 256, 512, 1024, 2048, 3072,
// or 4096 MB/s.
@@ -23589,7 +23614,7 @@ func ActiveDirectoryErrorType_Values() []string {
// completed successfully, the parent FILE_SYSTEM_UPDATE action status changes
// to COMPLETED. For more information, see Managing storage capacity (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html)
// in the Amazon FSx for Windows File Server User Guide, Managing storage
-// and throughput capacity (https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html)
+// capacity (https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html)
// in the Amazon FSx for Lustre User Guide, and Managing storage capacity
// and provisioned IOPS (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-storage-capacity.html)
// in the Amazon FSx for NetApp ONTAP User Guide.
diff --git a/service/glue/api.go b/service/glue/api.go
index ecff23b795e..5d74718d01b 100644
--- a/service/glue/api.go
+++ b/service/glue/api.go
@@ -7285,6 +7285,227 @@ func (c *Glue) GetColumnStatisticsForTableWithContext(ctx aws.Context, input *Ge
return out, req.Send()
}
+const opGetColumnStatisticsTaskRun = "GetColumnStatisticsTaskRun"
+
+// GetColumnStatisticsTaskRunRequest generates a "aws/request.Request" representing the
+// client's request for the GetColumnStatisticsTaskRun operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetColumnStatisticsTaskRun for more information on using the GetColumnStatisticsTaskRun
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetColumnStatisticsTaskRunRequest method.
+// req, resp := client.GetColumnStatisticsTaskRunRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRun
+func (c *Glue) GetColumnStatisticsTaskRunRequest(input *GetColumnStatisticsTaskRunInput) (req *request.Request, output *GetColumnStatisticsTaskRunOutput) {
+ op := &request.Operation{
+ Name: opGetColumnStatisticsTaskRun,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &GetColumnStatisticsTaskRunInput{}
+ }
+
+ output = &GetColumnStatisticsTaskRunOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetColumnStatisticsTaskRun API operation for AWS Glue.
+//
+// Get the associated metadata/information for a task run, given a task run
+// ID.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Glue's
+// API operation GetColumnStatisticsTaskRun for usage and error information.
+//
+// Returned Error Types:
+//
+// - EntityNotFoundException
+// A specified entity does not exist
+//
+// - OperationTimeoutException
+// The operation timed out.
+//
+// - InvalidInputException
+// The input provided was not valid.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRun
+func (c *Glue) GetColumnStatisticsTaskRun(input *GetColumnStatisticsTaskRunInput) (*GetColumnStatisticsTaskRunOutput, error) {
+ req, out := c.GetColumnStatisticsTaskRunRequest(input)
+ return out, req.Send()
+}
+
+// GetColumnStatisticsTaskRunWithContext is the same as GetColumnStatisticsTaskRun with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetColumnStatisticsTaskRun for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Glue) GetColumnStatisticsTaskRunWithContext(ctx aws.Context, input *GetColumnStatisticsTaskRunInput, opts ...request.Option) (*GetColumnStatisticsTaskRunOutput, error) {
+ req, out := c.GetColumnStatisticsTaskRunRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetColumnStatisticsTaskRuns = "GetColumnStatisticsTaskRuns"
+
+// GetColumnStatisticsTaskRunsRequest generates a "aws/request.Request" representing the
+// client's request for the GetColumnStatisticsTaskRuns operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetColumnStatisticsTaskRuns for more information on using the GetColumnStatisticsTaskRuns
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetColumnStatisticsTaskRunsRequest method.
+// req, resp := client.GetColumnStatisticsTaskRunsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRuns
+func (c *Glue) GetColumnStatisticsTaskRunsRequest(input *GetColumnStatisticsTaskRunsInput) (req *request.Request, output *GetColumnStatisticsTaskRunsOutput) {
+ op := &request.Operation{
+ Name: opGetColumnStatisticsTaskRuns,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &GetColumnStatisticsTaskRunsInput{}
+ }
+
+ output = &GetColumnStatisticsTaskRunsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetColumnStatisticsTaskRuns API operation for AWS Glue.
+//
+// Retrieves information about all runs associated with the specified table.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Glue's
+// API operation GetColumnStatisticsTaskRuns for usage and error information.
+//
+// Returned Error Types:
+// - OperationTimeoutException
+// The operation timed out.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsTaskRuns
+func (c *Glue) GetColumnStatisticsTaskRuns(input *GetColumnStatisticsTaskRunsInput) (*GetColumnStatisticsTaskRunsOutput, error) {
+ req, out := c.GetColumnStatisticsTaskRunsRequest(input)
+ return out, req.Send()
+}
+
+// GetColumnStatisticsTaskRunsWithContext is the same as GetColumnStatisticsTaskRuns with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetColumnStatisticsTaskRuns for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Glue) GetColumnStatisticsTaskRunsWithContext(ctx aws.Context, input *GetColumnStatisticsTaskRunsInput, opts ...request.Option) (*GetColumnStatisticsTaskRunsOutput, error) {
+ req, out := c.GetColumnStatisticsTaskRunsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// GetColumnStatisticsTaskRunsPages iterates over the pages of a GetColumnStatisticsTaskRuns operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See GetColumnStatisticsTaskRuns method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a GetColumnStatisticsTaskRuns operation.
+// pageNum := 0
+// err := client.GetColumnStatisticsTaskRunsPages(params,
+// func(page *glue.GetColumnStatisticsTaskRunsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Glue) GetColumnStatisticsTaskRunsPages(input *GetColumnStatisticsTaskRunsInput, fn func(*GetColumnStatisticsTaskRunsOutput, bool) bool) error {
+ return c.GetColumnStatisticsTaskRunsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// GetColumnStatisticsTaskRunsPagesWithContext same as GetColumnStatisticsTaskRunsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Glue) GetColumnStatisticsTaskRunsPagesWithContext(ctx aws.Context, input *GetColumnStatisticsTaskRunsInput, fn func(*GetColumnStatisticsTaskRunsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *GetColumnStatisticsTaskRunsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.GetColumnStatisticsTaskRunsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*GetColumnStatisticsTaskRunsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
const opGetConnection = "GetConnection"
// GetConnectionRequest generates a "aws/request.Request" representing the
@@ -13837,6 +14058,141 @@ func (c *Glue) ListBlueprintsPagesWithContext(ctx aws.Context, input *ListBluepr
return p.Err()
}
+const opListColumnStatisticsTaskRuns = "ListColumnStatisticsTaskRuns"
+
+// ListColumnStatisticsTaskRunsRequest generates a "aws/request.Request" representing the
+// client's request for the ListColumnStatisticsTaskRuns operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListColumnStatisticsTaskRuns for more information on using the ListColumnStatisticsTaskRuns
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListColumnStatisticsTaskRunsRequest method.
+// req, resp := client.ListColumnStatisticsTaskRunsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListColumnStatisticsTaskRuns
+func (c *Glue) ListColumnStatisticsTaskRunsRequest(input *ListColumnStatisticsTaskRunsInput) (req *request.Request, output *ListColumnStatisticsTaskRunsOutput) {
+ op := &request.Operation{
+ Name: opListColumnStatisticsTaskRuns,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListColumnStatisticsTaskRunsInput{}
+ }
+
+ output = &ListColumnStatisticsTaskRunsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListColumnStatisticsTaskRuns API operation for AWS Glue.
+//
+// List all task runs for a particular account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Glue's
+// API operation ListColumnStatisticsTaskRuns for usage and error information.
+//
+// Returned Error Types:
+// - OperationTimeoutException
+// The operation timed out.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListColumnStatisticsTaskRuns
+func (c *Glue) ListColumnStatisticsTaskRuns(input *ListColumnStatisticsTaskRunsInput) (*ListColumnStatisticsTaskRunsOutput, error) {
+ req, out := c.ListColumnStatisticsTaskRunsRequest(input)
+ return out, req.Send()
+}
+
+// ListColumnStatisticsTaskRunsWithContext is the same as ListColumnStatisticsTaskRuns with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListColumnStatisticsTaskRuns for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Glue) ListColumnStatisticsTaskRunsWithContext(ctx aws.Context, input *ListColumnStatisticsTaskRunsInput, opts ...request.Option) (*ListColumnStatisticsTaskRunsOutput, error) {
+ req, out := c.ListColumnStatisticsTaskRunsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListColumnStatisticsTaskRunsPages iterates over the pages of a ListColumnStatisticsTaskRuns operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListColumnStatisticsTaskRuns method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListColumnStatisticsTaskRuns operation.
+// pageNum := 0
+// err := client.ListColumnStatisticsTaskRunsPages(params,
+// func(page *glue.ListColumnStatisticsTaskRunsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Glue) ListColumnStatisticsTaskRunsPages(input *ListColumnStatisticsTaskRunsInput, fn func(*ListColumnStatisticsTaskRunsOutput, bool) bool) error {
+ return c.ListColumnStatisticsTaskRunsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListColumnStatisticsTaskRunsPagesWithContext same as ListColumnStatisticsTaskRunsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Glue) ListColumnStatisticsTaskRunsPagesWithContext(ctx aws.Context, input *ListColumnStatisticsTaskRunsInput, fn func(*ListColumnStatisticsTaskRunsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListColumnStatisticsTaskRunsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListColumnStatisticsTaskRunsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListColumnStatisticsTaskRunsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
const opListCrawlers = "ListCrawlers"
// ListCrawlersRequest generates a "aws/request.Request" representing the
@@ -17545,6 +17901,101 @@ func (c *Glue) StartBlueprintRunWithContext(ctx aws.Context, input *StartBluepri
return out, req.Send()
}
+const opStartColumnStatisticsTaskRun = "StartColumnStatisticsTaskRun"
+
+// StartColumnStatisticsTaskRunRequest generates a "aws/request.Request" representing the
+// client's request for the StartColumnStatisticsTaskRun operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See StartColumnStatisticsTaskRun for more information on using the StartColumnStatisticsTaskRun
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the StartColumnStatisticsTaskRunRequest method.
+// req, resp := client.StartColumnStatisticsTaskRunRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartColumnStatisticsTaskRun
+func (c *Glue) StartColumnStatisticsTaskRunRequest(input *StartColumnStatisticsTaskRunInput) (req *request.Request, output *StartColumnStatisticsTaskRunOutput) {
+ op := &request.Operation{
+ Name: opStartColumnStatisticsTaskRun,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &StartColumnStatisticsTaskRunInput{}
+ }
+
+ output = &StartColumnStatisticsTaskRunOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// StartColumnStatisticsTaskRun API operation for AWS Glue.
+//
+// Starts a column statistics task run, for a specified table and columns.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Glue's
+// API operation StartColumnStatisticsTaskRun for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// Access to a resource was denied.
+//
+// - EntityNotFoundException
+// A specified entity does not exist
+//
+// - ColumnStatisticsTaskRunningException
+// An exception thrown when you try to start another job while running a column
+// stats generation job.
+//
+// - OperationTimeoutException
+// The operation timed out.
+//
+// - ResourceNumberLimitExceededException
+// A resource numerical limit was exceeded.
+//
+// - InvalidInputException
+// The input provided was not valid.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartColumnStatisticsTaskRun
+func (c *Glue) StartColumnStatisticsTaskRun(input *StartColumnStatisticsTaskRunInput) (*StartColumnStatisticsTaskRunOutput, error) {
+ req, out := c.StartColumnStatisticsTaskRunRequest(input)
+ return out, req.Send()
+}
+
+// StartColumnStatisticsTaskRunWithContext is the same as StartColumnStatisticsTaskRun with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StartColumnStatisticsTaskRun for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Glue) StartColumnStatisticsTaskRunWithContext(ctx aws.Context, input *StartColumnStatisticsTaskRunInput, opts ...request.Option) (*StartColumnStatisticsTaskRunOutput, error) {
+ req, out := c.StartColumnStatisticsTaskRunRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opStartCrawler = "StartCrawler"
// StartCrawlerRequest generates a "aws/request.Request" representing the
@@ -18612,6 +19063,96 @@ func (c *Glue) StartWorkflowRunWithContext(ctx aws.Context, input *StartWorkflow
return out, req.Send()
}
+const opStopColumnStatisticsTaskRun = "StopColumnStatisticsTaskRun"
+
+// StopColumnStatisticsTaskRunRequest generates a "aws/request.Request" representing the
+// client's request for the StopColumnStatisticsTaskRun operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See StopColumnStatisticsTaskRun for more information on using the StopColumnStatisticsTaskRun
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the StopColumnStatisticsTaskRunRequest method.
+// req, resp := client.StopColumnStatisticsTaskRunRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopColumnStatisticsTaskRun
+func (c *Glue) StopColumnStatisticsTaskRunRequest(input *StopColumnStatisticsTaskRunInput) (req *request.Request, output *StopColumnStatisticsTaskRunOutput) {
+ op := &request.Operation{
+ Name: opStopColumnStatisticsTaskRun,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &StopColumnStatisticsTaskRunInput{}
+ }
+
+ output = &StopColumnStatisticsTaskRunOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// StopColumnStatisticsTaskRun API operation for AWS Glue.
+//
+// Stops a task run for the specified table.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Glue's
+// API operation StopColumnStatisticsTaskRun for usage and error information.
+//
+// Returned Error Types:
+//
+// - EntityNotFoundException
+// A specified entity does not exist
+//
+// - ColumnStatisticsTaskNotRunningException
+// An exception thrown when you try to stop a task run when there is no task
+// running.
+//
+// - ColumnStatisticsTaskStoppingException
+// An exception thrown when you try to stop a task run.
+//
+// - OperationTimeoutException
+// The operation timed out.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopColumnStatisticsTaskRun
+func (c *Glue) StopColumnStatisticsTaskRun(input *StopColumnStatisticsTaskRunInput) (*StopColumnStatisticsTaskRunOutput, error) {
+ req, out := c.StopColumnStatisticsTaskRunRequest(input)
+ return out, req.Send()
+}
+
+// StopColumnStatisticsTaskRunWithContext is the same as StopColumnStatisticsTaskRun with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StopColumnStatisticsTaskRun for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Glue) StopColumnStatisticsTaskRunWithContext(ctx aws.Context, input *StopColumnStatisticsTaskRunInput, opts ...request.Option) (*StopColumnStatisticsTaskRunOutput, error) {
+ req, out := c.StopColumnStatisticsTaskRunRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opStopCrawler = "StopCrawler"
// StopCrawlerRequest generates a "aws/request.Request" representing the
@@ -28383,6 +28924,393 @@ func (s *ColumnStatisticsError) SetError(v *ErrorDetail) *ColumnStatisticsError
return s
}
+// An exception thrown when you try to stop a task run when there is no task
+// running.
+type ColumnStatisticsTaskNotRunningException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // A message describing the problem.
+ Message_ *string `locationName:"Message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskNotRunningException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskNotRunningException) GoString() string {
+ return s.String()
+}
+
+func newErrorColumnStatisticsTaskNotRunningException(v protocol.ResponseMetadata) error {
+ return &ColumnStatisticsTaskNotRunningException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ColumnStatisticsTaskNotRunningException) Code() string {
+ return "ColumnStatisticsTaskNotRunningException"
+}
+
+// Message returns the exception's message.
+func (s *ColumnStatisticsTaskNotRunningException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ColumnStatisticsTaskNotRunningException) OrigErr() error {
+ return nil
+}
+
+func (s *ColumnStatisticsTaskNotRunningException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ColumnStatisticsTaskNotRunningException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ColumnStatisticsTaskNotRunningException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// The object that shows the details of the column stats run.
+type ColumnStatisticsTaskRun struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the Data Catalog where the table resides. If none is supplied,
+ // the Amazon Web Services account ID is used by default.
+ CatalogID *string `min:"1" type:"string"`
+
+ // A list of the column names. If none is supplied, all column names for the
+ // table will be used by default.
+ ColumnNameList []*string `type:"list"`
+
+ // The identifier for the particular column statistics task run.
+ ColumnStatisticsTaskRunId *string `min:"1" type:"string"`
+
+ // The time that this task was created.
+ CreationTime *time.Time `type:"timestamp"`
+
+ // The Amazon Web Services account ID.
+ CustomerId *string `type:"string"`
+
+ // The calculated DPU usage in seconds for all autoscaled workers.
+ DPUSeconds *float64 `type:"double"`
+
+ // The database where the table resides.
+ DatabaseName *string `type:"string"`
+
+ // The end time of the task.
+ EndTime *time.Time `type:"timestamp"`
+
+ // The error message for the job.
+ ErrorMessage *string `type:"string"`
+
+ // The last point in time when this task was modified.
+ LastUpdated *time.Time `type:"timestamp"`
+
+ // The number of workers used to generate column statistics. The job is preconfigured
+ // to autoscale up to 25 instances.
+ NumberOfWorkers *int64 `min:"1" type:"integer"`
+
+ // The IAM role that the service assumes to generate statistics.
+ Role *string `type:"string"`
+
+ // The percentage of rows used to generate statistics. If none is supplied,
+ // the entire table will be used to generate stats.
+ SampleSize *float64 `type:"double"`
+
+ // Name of the security configuration that is used to encrypt CloudWatch logs
+ // for the column stats task run.
+ SecurityConfiguration *string `type:"string"`
+
+ // The start time of the task.
+ StartTime *time.Time `type:"timestamp"`
+
+ // The status of the task run.
+ Status *string `type:"string" enum:"ColumnStatisticsState"`
+
+ // The name of the table for which column statistics is generated.
+ TableName *string `type:"string"`
+
+ // The type of workers being used for generating stats. The default is g.1x.
+ WorkerType *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskRun) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskRun) GoString() string {
+ return s.String()
+}
+
+// SetCatalogID sets the CatalogID field's value.
+func (s *ColumnStatisticsTaskRun) SetCatalogID(v string) *ColumnStatisticsTaskRun {
+ s.CatalogID = &v
+ return s
+}
+
+// SetColumnNameList sets the ColumnNameList field's value.
+func (s *ColumnStatisticsTaskRun) SetColumnNameList(v []*string) *ColumnStatisticsTaskRun {
+ s.ColumnNameList = v
+ return s
+}
+
+// SetColumnStatisticsTaskRunId sets the ColumnStatisticsTaskRunId field's value.
+func (s *ColumnStatisticsTaskRun) SetColumnStatisticsTaskRunId(v string) *ColumnStatisticsTaskRun {
+ s.ColumnStatisticsTaskRunId = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *ColumnStatisticsTaskRun) SetCreationTime(v time.Time) *ColumnStatisticsTaskRun {
+ s.CreationTime = &v
+ return s
+}
+
+// SetCustomerId sets the CustomerId field's value.
+func (s *ColumnStatisticsTaskRun) SetCustomerId(v string) *ColumnStatisticsTaskRun {
+ s.CustomerId = &v
+ return s
+}
+
+// SetDPUSeconds sets the DPUSeconds field's value.
+func (s *ColumnStatisticsTaskRun) SetDPUSeconds(v float64) *ColumnStatisticsTaskRun {
+ s.DPUSeconds = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *ColumnStatisticsTaskRun) SetDatabaseName(v string) *ColumnStatisticsTaskRun {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *ColumnStatisticsTaskRun) SetEndTime(v time.Time) *ColumnStatisticsTaskRun {
+ s.EndTime = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *ColumnStatisticsTaskRun) SetErrorMessage(v string) *ColumnStatisticsTaskRun {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetLastUpdated sets the LastUpdated field's value.
+func (s *ColumnStatisticsTaskRun) SetLastUpdated(v time.Time) *ColumnStatisticsTaskRun {
+ s.LastUpdated = &v
+ return s
+}
+
+// SetNumberOfWorkers sets the NumberOfWorkers field's value.
+func (s *ColumnStatisticsTaskRun) SetNumberOfWorkers(v int64) *ColumnStatisticsTaskRun {
+ s.NumberOfWorkers = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *ColumnStatisticsTaskRun) SetRole(v string) *ColumnStatisticsTaskRun {
+ s.Role = &v
+ return s
+}
+
+// SetSampleSize sets the SampleSize field's value.
+func (s *ColumnStatisticsTaskRun) SetSampleSize(v float64) *ColumnStatisticsTaskRun {
+ s.SampleSize = &v
+ return s
+}
+
+// SetSecurityConfiguration sets the SecurityConfiguration field's value.
+func (s *ColumnStatisticsTaskRun) SetSecurityConfiguration(v string) *ColumnStatisticsTaskRun {
+ s.SecurityConfiguration = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ColumnStatisticsTaskRun) SetStartTime(v time.Time) *ColumnStatisticsTaskRun {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ColumnStatisticsTaskRun) SetStatus(v string) *ColumnStatisticsTaskRun {
+ s.Status = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *ColumnStatisticsTaskRun) SetTableName(v string) *ColumnStatisticsTaskRun {
+ s.TableName = &v
+ return s
+}
+
+// SetWorkerType sets the WorkerType field's value.
+func (s *ColumnStatisticsTaskRun) SetWorkerType(v string) *ColumnStatisticsTaskRun {
+ s.WorkerType = &v
+ return s
+}
+
+// An exception thrown when you try to start another job while running a column
+// stats generation job.
+type ColumnStatisticsTaskRunningException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // A message describing the problem.
+ Message_ *string `locationName:"Message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskRunningException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskRunningException) GoString() string {
+ return s.String()
+}
+
+func newErrorColumnStatisticsTaskRunningException(v protocol.ResponseMetadata) error {
+ return &ColumnStatisticsTaskRunningException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ColumnStatisticsTaskRunningException) Code() string {
+ return "ColumnStatisticsTaskRunningException"
+}
+
+// Message returns the exception's message.
+func (s *ColumnStatisticsTaskRunningException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ColumnStatisticsTaskRunningException) OrigErr() error {
+ return nil
+}
+
+func (s *ColumnStatisticsTaskRunningException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ColumnStatisticsTaskRunningException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ColumnStatisticsTaskRunningException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// An exception thrown when you try to stop a task run.
+type ColumnStatisticsTaskStoppingException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // A message describing the problem.
+ Message_ *string `locationName:"Message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskStoppingException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ColumnStatisticsTaskStoppingException) GoString() string {
+ return s.String()
+}
+
+func newErrorColumnStatisticsTaskStoppingException(v protocol.ResponseMetadata) error {
+ return &ColumnStatisticsTaskStoppingException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ColumnStatisticsTaskStoppingException) Code() string {
+ return "ColumnStatisticsTaskStoppingException"
+}
+
+// Message returns the exception's message.
+func (s *ColumnStatisticsTaskStoppingException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ColumnStatisticsTaskStoppingException) OrigErr() error {
+ return nil
+}
+
+func (s *ColumnStatisticsTaskStoppingException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ColumnStatisticsTaskStoppingException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ColumnStatisticsTaskStoppingException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
// Two processes are trying to modify a resource simultaneously.
type ConcurrentModificationException struct {
_ struct{} `type:"structure"`
@@ -43196,6 +44124,211 @@ func (s *GetColumnStatisticsForTableOutput) SetErrors(v []*ColumnError) *GetColu
return s
}
+type GetColumnStatisticsTaskRunInput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier for the particular column statistics task run.
+ //
+ // ColumnStatisticsTaskRunId is a required field
+ ColumnStatisticsTaskRunId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetColumnStatisticsTaskRunInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetColumnStatisticsTaskRunInput"}
+ if s.ColumnStatisticsTaskRunId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ColumnStatisticsTaskRunId"))
+ }
+ if s.ColumnStatisticsTaskRunId != nil && len(*s.ColumnStatisticsTaskRunId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ColumnStatisticsTaskRunId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetColumnStatisticsTaskRunId sets the ColumnStatisticsTaskRunId field's value.
+func (s *GetColumnStatisticsTaskRunInput) SetColumnStatisticsTaskRunId(v string) *GetColumnStatisticsTaskRunInput {
+ s.ColumnStatisticsTaskRunId = &v
+ return s
+}
+
+type GetColumnStatisticsTaskRunOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A ColumnStatisticsTaskRun object representing the details of the column stats
+ // run.
+ ColumnStatisticsTaskRun *ColumnStatisticsTaskRun `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunOutput) GoString() string {
+ return s.String()
+}
+
+// SetColumnStatisticsTaskRun sets the ColumnStatisticsTaskRun field's value.
+func (s *GetColumnStatisticsTaskRunOutput) SetColumnStatisticsTaskRun(v *ColumnStatisticsTaskRun) *GetColumnStatisticsTaskRunOutput {
+ s.ColumnStatisticsTaskRun = v
+ return s
+}
+
+type GetColumnStatisticsTaskRunsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the database where the table resides.
+ //
+ // DatabaseName is a required field
+ DatabaseName *string `type:"string" required:"true"`
+
+ // The maximum size of the response.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // A continuation token, if this is a continuation call.
+ NextToken *string `type:"string"`
+
+ // The name of the table.
+ //
+ // TableName is a required field
+ TableName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetColumnStatisticsTaskRunsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetColumnStatisticsTaskRunsInput"}
+ if s.DatabaseName == nil {
+ invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.TableName == nil {
+ invalidParams.Add(request.NewErrParamRequired("TableName"))
+ }
+ if s.TableName != nil && len(*s.TableName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *GetColumnStatisticsTaskRunsInput) SetDatabaseName(v string) *GetColumnStatisticsTaskRunsInput {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *GetColumnStatisticsTaskRunsInput) SetMaxResults(v int64) *GetColumnStatisticsTaskRunsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetColumnStatisticsTaskRunsInput) SetNextToken(v string) *GetColumnStatisticsTaskRunsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *GetColumnStatisticsTaskRunsInput) SetTableName(v string) *GetColumnStatisticsTaskRunsInput {
+ s.TableName = &v
+ return s
+}
+
+type GetColumnStatisticsTaskRunsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of column statistics task runs.
+ ColumnStatisticsTaskRuns []*ColumnStatisticsTaskRun `type:"list"`
+
+ // A continuation token, if not all task runs have yet been returned.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetColumnStatisticsTaskRunsOutput) GoString() string {
+ return s.String()
+}
+
+// SetColumnStatisticsTaskRuns sets the ColumnStatisticsTaskRuns field's value.
+func (s *GetColumnStatisticsTaskRunsOutput) SetColumnStatisticsTaskRuns(v []*ColumnStatisticsTaskRun) *GetColumnStatisticsTaskRunsOutput {
+ s.ColumnStatisticsTaskRuns = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetColumnStatisticsTaskRunsOutput) SetNextToken(v string) *GetColumnStatisticsTaskRunsOutput {
+ s.NextToken = &v
+ return s
+}
+
type GetConnectionInput struct {
_ struct{} `type:"structure"`
@@ -54827,6 +55960,99 @@ func (s *ListBlueprintsOutput) SetNextToken(v string) *ListBlueprintsOutput {
return s
}
+type ListColumnStatisticsTaskRunsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The maximum size of the response.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // A continuation token, if this is a continuation call.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListColumnStatisticsTaskRunsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListColumnStatisticsTaskRunsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListColumnStatisticsTaskRunsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListColumnStatisticsTaskRunsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListColumnStatisticsTaskRunsInput) SetMaxResults(v int64) *ListColumnStatisticsTaskRunsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListColumnStatisticsTaskRunsInput) SetNextToken(v string) *ListColumnStatisticsTaskRunsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListColumnStatisticsTaskRunsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of column statistics task run IDs.
+ ColumnStatisticsTaskRunIds []*string `type:"list"`
+
+ // A continuation token, if not all task run IDs have yet been returned.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListColumnStatisticsTaskRunsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListColumnStatisticsTaskRunsOutput) GoString() string {
+ return s.String()
+}
+
+// SetColumnStatisticsTaskRunIds sets the ColumnStatisticsTaskRunIds field's value.
+func (s *ListColumnStatisticsTaskRunsOutput) SetColumnStatisticsTaskRunIds(v []*string) *ListColumnStatisticsTaskRunsOutput {
+ s.ColumnStatisticsTaskRunIds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListColumnStatisticsTaskRunsOutput) SetNextToken(v string) *ListColumnStatisticsTaskRunsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListCrawlersInput struct {
_ struct{} `type:"structure"`
@@ -67296,6 +68522,166 @@ func (s *StartBlueprintRunOutput) SetRunId(v string) *StartBlueprintRunOutput {
return s
}
+type StartColumnStatisticsTaskRunInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the Data Catalog where the table reside. If none is supplied, the
+ // Amazon Web Services account ID is used by default.
+ CatalogID *string `min:"1" type:"string"`
+
+ // A list of the column names to generate statistics. If none is supplied, all
+ // column names for the table will be used by default.
+ ColumnNameList []*string `type:"list"`
+
+ // The name of the database where the table resides.
+ //
+ // DatabaseName is a required field
+ DatabaseName *string `min:"1" type:"string" required:"true"`
+
+ // The IAM role that the service assumes to generate statistics.
+ //
+ // Role is a required field
+ Role *string `min:"1" type:"string" required:"true"`
+
+ // The percentage of rows used to generate statistics. If none is supplied,
+ // the entire table will be used to generate stats.
+ SampleSize *float64 `type:"double"`
+
+ // Name of the security configuration that is used to encrypt CloudWatch logs
+ // for the column stats task run.
+ SecurityConfiguration *string `min:"1" type:"string"`
+
+ // The name of the table to generate statistics.
+ //
+ // TableName is a required field
+ TableName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartColumnStatisticsTaskRunInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartColumnStatisticsTaskRunInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartColumnStatisticsTaskRunInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartColumnStatisticsTaskRunInput"}
+ if s.CatalogID != nil && len(*s.CatalogID) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("CatalogID", 1))
+ }
+ if s.DatabaseName == nil {
+ invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
+ }
+ if s.DatabaseName != nil && len(*s.DatabaseName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1))
+ }
+ if s.Role == nil {
+ invalidParams.Add(request.NewErrParamRequired("Role"))
+ }
+ if s.Role != nil && len(*s.Role) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Role", 1))
+ }
+ if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1))
+ }
+ if s.TableName == nil {
+ invalidParams.Add(request.NewErrParamRequired("TableName"))
+ }
+ if s.TableName != nil && len(*s.TableName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCatalogID sets the CatalogID field's value.
+func (s *StartColumnStatisticsTaskRunInput) SetCatalogID(v string) *StartColumnStatisticsTaskRunInput {
+ s.CatalogID = &v
+ return s
+}
+
+// SetColumnNameList sets the ColumnNameList field's value.
+func (s *StartColumnStatisticsTaskRunInput) SetColumnNameList(v []*string) *StartColumnStatisticsTaskRunInput {
+ s.ColumnNameList = v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *StartColumnStatisticsTaskRunInput) SetDatabaseName(v string) *StartColumnStatisticsTaskRunInput {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *StartColumnStatisticsTaskRunInput) SetRole(v string) *StartColumnStatisticsTaskRunInput {
+ s.Role = &v
+ return s
+}
+
+// SetSampleSize sets the SampleSize field's value.
+func (s *StartColumnStatisticsTaskRunInput) SetSampleSize(v float64) *StartColumnStatisticsTaskRunInput {
+ s.SampleSize = &v
+ return s
+}
+
+// SetSecurityConfiguration sets the SecurityConfiguration field's value.
+func (s *StartColumnStatisticsTaskRunInput) SetSecurityConfiguration(v string) *StartColumnStatisticsTaskRunInput {
+ s.SecurityConfiguration = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *StartColumnStatisticsTaskRunInput) SetTableName(v string) *StartColumnStatisticsTaskRunInput {
+ s.TableName = &v
+ return s
+}
+
+type StartColumnStatisticsTaskRunOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier for the column statistics task run.
+ ColumnStatisticsTaskRunId *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartColumnStatisticsTaskRunOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartColumnStatisticsTaskRunOutput) GoString() string {
+ return s.String()
+}
+
+// SetColumnStatisticsTaskRunId sets the ColumnStatisticsTaskRunId field's value.
+func (s *StartColumnStatisticsTaskRunOutput) SetColumnStatisticsTaskRunId(v string) *StartColumnStatisticsTaskRunOutput {
+ s.ColumnStatisticsTaskRunId = &v
+ return s
+}
+
type StartCrawlerInput struct {
_ struct{} `type:"structure"`
@@ -68830,6 +70216,91 @@ func (s *StatementOutput_) SetTraceback(v []*string) *StatementOutput_ {
return s
}
+type StopColumnStatisticsTaskRunInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the database where the table resides.
+ //
+ // DatabaseName is a required field
+ DatabaseName *string `type:"string" required:"true"`
+
+ // The name of the table.
+ //
+ // TableName is a required field
+ TableName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopColumnStatisticsTaskRunInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopColumnStatisticsTaskRunInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StopColumnStatisticsTaskRunInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StopColumnStatisticsTaskRunInput"}
+ if s.DatabaseName == nil {
+ invalidParams.Add(request.NewErrParamRequired("DatabaseName"))
+ }
+ if s.TableName == nil {
+ invalidParams.Add(request.NewErrParamRequired("TableName"))
+ }
+ if s.TableName != nil && len(*s.TableName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *StopColumnStatisticsTaskRunInput) SetDatabaseName(v string) *StopColumnStatisticsTaskRunInput {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *StopColumnStatisticsTaskRunInput) SetTableName(v string) *StopColumnStatisticsTaskRunInput {
+ s.TableName = &v
+ return s
+}
+
+type StopColumnStatisticsTaskRunOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopColumnStatisticsTaskRunOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopColumnStatisticsTaskRunOutput) GoString() string {
+ return s.String()
+}
+
type StopCrawlerInput struct {
_ struct{} `type:"structure"`
@@ -76109,6 +77580,34 @@ func CloudWatchEncryptionMode_Values() []string {
}
}
+const (
+ // ColumnStatisticsStateStarting is a ColumnStatisticsState enum value
+ ColumnStatisticsStateStarting = "STARTING"
+
+ // ColumnStatisticsStateRunning is a ColumnStatisticsState enum value
+ ColumnStatisticsStateRunning = "RUNNING"
+
+ // ColumnStatisticsStateSucceeded is a ColumnStatisticsState enum value
+ ColumnStatisticsStateSucceeded = "SUCCEEDED"
+
+ // ColumnStatisticsStateFailed is a ColumnStatisticsState enum value
+ ColumnStatisticsStateFailed = "FAILED"
+
+ // ColumnStatisticsStateStopped is a ColumnStatisticsState enum value
+ ColumnStatisticsStateStopped = "STOPPED"
+)
+
+// ColumnStatisticsState_Values returns all elements of the ColumnStatisticsState enum
+func ColumnStatisticsState_Values() []string {
+ return []string{
+ ColumnStatisticsStateStarting,
+ ColumnStatisticsStateRunning,
+ ColumnStatisticsStateSucceeded,
+ ColumnStatisticsStateFailed,
+ ColumnStatisticsStateStopped,
+ }
+}
+
const (
// ColumnStatisticsTypeBoolean is a ColumnStatisticsType enum value
ColumnStatisticsTypeBoolean = "BOOLEAN"
diff --git a/service/glue/errors.go b/service/glue/errors.go
index 185d5c72319..35e95ae27d1 100644
--- a/service/glue/errors.go
+++ b/service/glue/errors.go
@@ -20,6 +20,26 @@ const (
// A resource to be created or added already exists.
ErrCodeAlreadyExistsException = "AlreadyExistsException"
+ // ErrCodeColumnStatisticsTaskNotRunningException for service response error code
+ // "ColumnStatisticsTaskNotRunningException".
+ //
+ // An exception thrown when you try to stop a task run when there is no task
+ // running.
+ ErrCodeColumnStatisticsTaskNotRunningException = "ColumnStatisticsTaskNotRunningException"
+
+ // ErrCodeColumnStatisticsTaskRunningException for service response error code
+ // "ColumnStatisticsTaskRunningException".
+ //
+ // An exception thrown when you try to start another job while running a column
+ // stats generation job.
+ ErrCodeColumnStatisticsTaskRunningException = "ColumnStatisticsTaskRunningException"
+
+ // ErrCodeColumnStatisticsTaskStoppingException for service response error code
+ // "ColumnStatisticsTaskStoppingException".
+ //
+ // An exception thrown when you try to stop a task run.
+ ErrCodeColumnStatisticsTaskStoppingException = "ColumnStatisticsTaskStoppingException"
+
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
@@ -202,6 +222,9 @@ const (
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccessDeniedException": newErrorAccessDeniedException,
"AlreadyExistsException": newErrorAlreadyExistsException,
+ "ColumnStatisticsTaskNotRunningException": newErrorColumnStatisticsTaskNotRunningException,
+ "ColumnStatisticsTaskRunningException": newErrorColumnStatisticsTaskRunningException,
+ "ColumnStatisticsTaskStoppingException": newErrorColumnStatisticsTaskStoppingException,
"ConcurrentModificationException": newErrorConcurrentModificationException,
"ConcurrentRunsExceededException": newErrorConcurrentRunsExceededException,
"ConditionCheckFailureException": newErrorConditionCheckFailureException,
diff --git a/service/glue/glueiface/interface.go b/service/glue/glueiface/interface.go
index 99aa7bfc192..8f83920dda6 100644
--- a/service/glue/glueiface/interface.go
+++ b/service/glue/glueiface/interface.go
@@ -378,6 +378,17 @@ type GlueAPI interface {
GetColumnStatisticsForTableWithContext(aws.Context, *glue.GetColumnStatisticsForTableInput, ...request.Option) (*glue.GetColumnStatisticsForTableOutput, error)
GetColumnStatisticsForTableRequest(*glue.GetColumnStatisticsForTableInput) (*request.Request, *glue.GetColumnStatisticsForTableOutput)
+ GetColumnStatisticsTaskRun(*glue.GetColumnStatisticsTaskRunInput) (*glue.GetColumnStatisticsTaskRunOutput, error)
+ GetColumnStatisticsTaskRunWithContext(aws.Context, *glue.GetColumnStatisticsTaskRunInput, ...request.Option) (*glue.GetColumnStatisticsTaskRunOutput, error)
+ GetColumnStatisticsTaskRunRequest(*glue.GetColumnStatisticsTaskRunInput) (*request.Request, *glue.GetColumnStatisticsTaskRunOutput)
+
+ GetColumnStatisticsTaskRuns(*glue.GetColumnStatisticsTaskRunsInput) (*glue.GetColumnStatisticsTaskRunsOutput, error)
+ GetColumnStatisticsTaskRunsWithContext(aws.Context, *glue.GetColumnStatisticsTaskRunsInput, ...request.Option) (*glue.GetColumnStatisticsTaskRunsOutput, error)
+ GetColumnStatisticsTaskRunsRequest(*glue.GetColumnStatisticsTaskRunsInput) (*request.Request, *glue.GetColumnStatisticsTaskRunsOutput)
+
+ GetColumnStatisticsTaskRunsPages(*glue.GetColumnStatisticsTaskRunsInput, func(*glue.GetColumnStatisticsTaskRunsOutput, bool) bool) error
+ GetColumnStatisticsTaskRunsPagesWithContext(aws.Context, *glue.GetColumnStatisticsTaskRunsInput, func(*glue.GetColumnStatisticsTaskRunsOutput, bool) bool, ...request.Option) error
+
GetConnection(*glue.GetConnectionInput) (*glue.GetConnectionOutput, error)
GetConnectionWithContext(aws.Context, *glue.GetConnectionInput, ...request.Option) (*glue.GetConnectionOutput, error)
GetConnectionRequest(*glue.GetConnectionInput) (*request.Request, *glue.GetConnectionOutput)
@@ -678,6 +689,13 @@ type GlueAPI interface {
ListBlueprintsPages(*glue.ListBlueprintsInput, func(*glue.ListBlueprintsOutput, bool) bool) error
ListBlueprintsPagesWithContext(aws.Context, *glue.ListBlueprintsInput, func(*glue.ListBlueprintsOutput, bool) bool, ...request.Option) error
+ ListColumnStatisticsTaskRuns(*glue.ListColumnStatisticsTaskRunsInput) (*glue.ListColumnStatisticsTaskRunsOutput, error)
+ ListColumnStatisticsTaskRunsWithContext(aws.Context, *glue.ListColumnStatisticsTaskRunsInput, ...request.Option) (*glue.ListColumnStatisticsTaskRunsOutput, error)
+ ListColumnStatisticsTaskRunsRequest(*glue.ListColumnStatisticsTaskRunsInput) (*request.Request, *glue.ListColumnStatisticsTaskRunsOutput)
+
+ ListColumnStatisticsTaskRunsPages(*glue.ListColumnStatisticsTaskRunsInput, func(*glue.ListColumnStatisticsTaskRunsOutput, bool) bool) error
+ ListColumnStatisticsTaskRunsPagesWithContext(aws.Context, *glue.ListColumnStatisticsTaskRunsInput, func(*glue.ListColumnStatisticsTaskRunsOutput, bool) bool, ...request.Option) error
+
ListCrawlers(*glue.ListCrawlersInput) (*glue.ListCrawlersOutput, error)
ListCrawlersWithContext(aws.Context, *glue.ListCrawlersInput, ...request.Option) (*glue.ListCrawlersOutput, error)
ListCrawlersRequest(*glue.ListCrawlersInput) (*request.Request, *glue.ListCrawlersOutput)
@@ -849,6 +867,10 @@ type GlueAPI interface {
StartBlueprintRunWithContext(aws.Context, *glue.StartBlueprintRunInput, ...request.Option) (*glue.StartBlueprintRunOutput, error)
StartBlueprintRunRequest(*glue.StartBlueprintRunInput) (*request.Request, *glue.StartBlueprintRunOutput)
+ StartColumnStatisticsTaskRun(*glue.StartColumnStatisticsTaskRunInput) (*glue.StartColumnStatisticsTaskRunOutput, error)
+ StartColumnStatisticsTaskRunWithContext(aws.Context, *glue.StartColumnStatisticsTaskRunInput, ...request.Option) (*glue.StartColumnStatisticsTaskRunOutput, error)
+ StartColumnStatisticsTaskRunRequest(*glue.StartColumnStatisticsTaskRunInput) (*request.Request, *glue.StartColumnStatisticsTaskRunOutput)
+
StartCrawler(*glue.StartCrawlerInput) (*glue.StartCrawlerOutput, error)
StartCrawlerWithContext(aws.Context, *glue.StartCrawlerInput, ...request.Option) (*glue.StartCrawlerOutput, error)
StartCrawlerRequest(*glue.StartCrawlerInput) (*request.Request, *glue.StartCrawlerOutput)
@@ -893,6 +915,10 @@ type GlueAPI interface {
StartWorkflowRunWithContext(aws.Context, *glue.StartWorkflowRunInput, ...request.Option) (*glue.StartWorkflowRunOutput, error)
StartWorkflowRunRequest(*glue.StartWorkflowRunInput) (*request.Request, *glue.StartWorkflowRunOutput)
+ StopColumnStatisticsTaskRun(*glue.StopColumnStatisticsTaskRunInput) (*glue.StopColumnStatisticsTaskRunOutput, error)
+ StopColumnStatisticsTaskRunWithContext(aws.Context, *glue.StopColumnStatisticsTaskRunInput, ...request.Option) (*glue.StopColumnStatisticsTaskRunOutput, error)
+ StopColumnStatisticsTaskRunRequest(*glue.StopColumnStatisticsTaskRunInput) (*request.Request, *glue.StopColumnStatisticsTaskRunOutput)
+
StopCrawler(*glue.StopCrawlerInput) (*glue.StopCrawlerOutput, error)
StopCrawlerWithContext(aws.Context, *glue.StopCrawlerInput, ...request.Option) (*glue.StopCrawlerOutput, error)
StopCrawlerRequest(*glue.StopCrawlerInput) (*request.Request, *glue.StopCrawlerOutput)
diff --git a/service/imagebuilder/api.go b/service/imagebuilder/api.go
index 445fb380615..5bceb2dff59 100644
--- a/service/imagebuilder/api.go
+++ b/service/imagebuilder/api.go
@@ -118,6 +118,110 @@ func (c *Imagebuilder) CancelImageCreationWithContext(ctx aws.Context, input *Ca
return out, req.Send()
}
+const opCancelLifecycleExecution = "CancelLifecycleExecution"
+
+// CancelLifecycleExecutionRequest generates a "aws/request.Request" representing the
+// client's request for the CancelLifecycleExecution operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CancelLifecycleExecution for more information on using the CancelLifecycleExecution
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CancelLifecycleExecutionRequest method.
+// req, resp := client.CancelLifecycleExecutionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelLifecycleExecution
+func (c *Imagebuilder) CancelLifecycleExecutionRequest(input *CancelLifecycleExecutionInput) (req *request.Request, output *CancelLifecycleExecutionOutput) {
+ op := &request.Operation{
+ Name: opCancelLifecycleExecution,
+ HTTPMethod: "PUT",
+ HTTPPath: "/CancelLifecycleExecution",
+ }
+
+ if input == nil {
+ input = &CancelLifecycleExecutionInput{}
+ }
+
+ output = &CancelLifecycleExecutionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CancelLifecycleExecution API operation for EC2 Image Builder.
+//
+// Cancel a specific image lifecycle policy runtime instance.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation CancelLifecycleExecution for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - IdempotentParameterMismatchException
+// You have specified a client token for an operation using parameter values
+// that differ from a previous request that used the same client token.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// - ResourceInUseException
+// The resource that you are trying to operate on is currently in use. Review
+// the message details and retry later.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelLifecycleExecution
+func (c *Imagebuilder) CancelLifecycleExecution(input *CancelLifecycleExecutionInput) (*CancelLifecycleExecutionOutput, error) {
+ req, out := c.CancelLifecycleExecutionRequest(input)
+ return out, req.Send()
+}
+
+// CancelLifecycleExecutionWithContext is the same as CancelLifecycleExecution with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CancelLifecycleExecution for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) CancelLifecycleExecutionWithContext(ctx aws.Context, input *CancelLifecycleExecutionInput, opts ...request.Option) (*CancelLifecycleExecutionOutput, error) {
+ req, out := c.CancelLifecycleExecutionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateComponent = "CreateComponent"
// CreateComponentRequest generates a "aws/request.Request" representing the
@@ -921,6 +1025,117 @@ func (c *Imagebuilder) CreateInfrastructureConfigurationWithContext(ctx aws.Cont
return out, req.Send()
}
+const opCreateLifecyclePolicy = "CreateLifecyclePolicy"
+
+// CreateLifecyclePolicyRequest generates a "aws/request.Request" representing the
+// client's request for the CreateLifecyclePolicy operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateLifecyclePolicy for more information on using the CreateLifecyclePolicy
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateLifecyclePolicyRequest method.
+// req, resp := client.CreateLifecyclePolicyRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateLifecyclePolicy
+func (c *Imagebuilder) CreateLifecyclePolicyRequest(input *CreateLifecyclePolicyInput) (req *request.Request, output *CreateLifecyclePolicyOutput) {
+ op := &request.Operation{
+ Name: opCreateLifecyclePolicy,
+ HTTPMethod: "PUT",
+ HTTPPath: "/CreateLifecyclePolicy",
+ }
+
+ if input == nil {
+ input = &CreateLifecyclePolicyInput{}
+ }
+
+ output = &CreateLifecyclePolicyOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateLifecyclePolicy API operation for EC2 Image Builder.
+//
+// Create a lifecycle policy resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation CreateLifecyclePolicy for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - IdempotentParameterMismatchException
+// You have specified a client token for an operation using parameter values
+// that differ from a previous request that used the same client token.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// - ResourceInUseException
+// The resource that you are trying to operate on is currently in use. Review
+// the message details and retry later.
+//
+// - ResourceAlreadyExistsException
+// The resource that you are trying to create already exists.
+//
+// - ServiceQuotaExceededException
+// You have exceeded the number of permitted resources or operations for this
+// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder).
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateLifecyclePolicy
+func (c *Imagebuilder) CreateLifecyclePolicy(input *CreateLifecyclePolicyInput) (*CreateLifecyclePolicyOutput, error) {
+ req, out := c.CreateLifecyclePolicyRequest(input)
+ return out, req.Send()
+}
+
+// CreateLifecyclePolicyWithContext is the same as CreateLifecyclePolicy with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateLifecyclePolicy for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) CreateLifecyclePolicyWithContext(ctx aws.Context, input *CreateLifecyclePolicyInput, opts ...request.Option) (*CreateLifecyclePolicyOutput, error) {
+ req, out := c.CreateLifecyclePolicyRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opDeleteComponent = "DeleteComponent"
// DeleteComponentRequest generates a "aws/request.Request" representing the
@@ -1633,6 +1848,106 @@ func (c *Imagebuilder) DeleteInfrastructureConfigurationWithContext(ctx aws.Cont
return out, req.Send()
}
+const opDeleteLifecyclePolicy = "DeleteLifecyclePolicy"
+
+// DeleteLifecyclePolicyRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteLifecyclePolicy operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteLifecyclePolicy for more information on using the DeleteLifecyclePolicy
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteLifecyclePolicyRequest method.
+// req, resp := client.DeleteLifecyclePolicyRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteLifecyclePolicy
+func (c *Imagebuilder) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (req *request.Request, output *DeleteLifecyclePolicyOutput) {
+ op := &request.Operation{
+ Name: opDeleteLifecyclePolicy,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/DeleteLifecyclePolicy",
+ }
+
+ if input == nil {
+ input = &DeleteLifecyclePolicyInput{}
+ }
+
+ output = &DeleteLifecyclePolicyOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteLifecyclePolicy API operation for EC2 Image Builder.
+//
+// Delete the specified lifecycle policy resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation DeleteLifecyclePolicy for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// - ResourceDependencyException
+// You have attempted to mutate or delete a resource with a dependency that
+// prohibits this action. See the error message for more details.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteLifecyclePolicy
+func (c *Imagebuilder) DeleteLifecyclePolicy(input *DeleteLifecyclePolicyInput) (*DeleteLifecyclePolicyOutput, error) {
+ req, out := c.DeleteLifecyclePolicyRequest(input)
+ return out, req.Send()
+}
+
+// DeleteLifecyclePolicyWithContext is the same as DeleteLifecyclePolicy with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteLifecyclePolicy for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) DeleteLifecyclePolicyWithContext(ctx aws.Context, input *DeleteLifecyclePolicyInput, opts ...request.Option) (*DeleteLifecyclePolicyOutput, error) {
+ req, out := c.DeleteLifecyclePolicyRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opGetComponent = "GetComponent"
// GetComponentRequest generates a "aws/request.Request" representing the
@@ -2681,31 +2996,224 @@ func (c *Imagebuilder) GetInfrastructureConfigurationWithContext(ctx aws.Context
return out, req.Send()
}
-const opGetWorkflowExecution = "GetWorkflowExecution"
+const opGetLifecycleExecution = "GetLifecycleExecution"
-// GetWorkflowExecutionRequest generates a "aws/request.Request" representing the
-// client's request for the GetWorkflowExecution operation. The "output" return
+// GetLifecycleExecutionRequest generates a "aws/request.Request" representing the
+// client's request for the GetLifecycleExecution operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See GetWorkflowExecution for more information on using the GetWorkflowExecution
+// See GetLifecycleExecution for more information on using the GetLifecycleExecution
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the GetWorkflowExecutionRequest method.
-// req, resp := client.GetWorkflowExecutionRequest(params)
+// // Example sending a request using the GetLifecycleExecutionRequest method.
+// req, resp := client.GetLifecycleExecutionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowExecution
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecycleExecution
+func (c *Imagebuilder) GetLifecycleExecutionRequest(input *GetLifecycleExecutionInput) (req *request.Request, output *GetLifecycleExecutionOutput) {
+ op := &request.Operation{
+ Name: opGetLifecycleExecution,
+ HTTPMethod: "GET",
+ HTTPPath: "/GetLifecycleExecution",
+ }
+
+ if input == nil {
+ input = &GetLifecycleExecutionInput{}
+ }
+
+ output = &GetLifecycleExecutionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetLifecycleExecution API operation for EC2 Image Builder.
+//
+// Get the runtime information that was logged for a specific runtime instance
+// of the lifecycle policy.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation GetLifecycleExecution for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecycleExecution
+func (c *Imagebuilder) GetLifecycleExecution(input *GetLifecycleExecutionInput) (*GetLifecycleExecutionOutput, error) {
+ req, out := c.GetLifecycleExecutionRequest(input)
+ return out, req.Send()
+}
+
+// GetLifecycleExecutionWithContext is the same as GetLifecycleExecution with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetLifecycleExecution for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) GetLifecycleExecutionWithContext(ctx aws.Context, input *GetLifecycleExecutionInput, opts ...request.Option) (*GetLifecycleExecutionOutput, error) {
+ req, out := c.GetLifecycleExecutionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetLifecyclePolicy = "GetLifecyclePolicy"
+
+// GetLifecyclePolicyRequest generates a "aws/request.Request" representing the
+// client's request for the GetLifecyclePolicy operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetLifecyclePolicy for more information on using the GetLifecyclePolicy
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetLifecyclePolicyRequest method.
+// req, resp := client.GetLifecyclePolicyRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecyclePolicy
+func (c *Imagebuilder) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *request.Request, output *GetLifecyclePolicyOutput) {
+ op := &request.Operation{
+ Name: opGetLifecyclePolicy,
+ HTTPMethod: "GET",
+ HTTPPath: "/GetLifecyclePolicy",
+ }
+
+ if input == nil {
+ input = &GetLifecyclePolicyInput{}
+ }
+
+ output = &GetLifecyclePolicyOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetLifecyclePolicy API operation for EC2 Image Builder.
+//
+// Get details for the specified image lifecycle policy.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation GetLifecyclePolicy for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecyclePolicy
+func (c *Imagebuilder) GetLifecyclePolicy(input *GetLifecyclePolicyInput) (*GetLifecyclePolicyOutput, error) {
+ req, out := c.GetLifecyclePolicyRequest(input)
+ return out, req.Send()
+}
+
+// GetLifecyclePolicyWithContext is the same as GetLifecyclePolicy with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetLifecyclePolicy for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) GetLifecyclePolicyWithContext(ctx aws.Context, input *GetLifecyclePolicyInput, opts ...request.Option) (*GetLifecyclePolicyOutput, error) {
+ req, out := c.GetLifecyclePolicyRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetWorkflowExecution = "GetWorkflowExecution"
+
+// GetWorkflowExecutionRequest generates a "aws/request.Request" representing the
+// client's request for the GetWorkflowExecution operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetWorkflowExecution for more information on using the GetWorkflowExecution
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetWorkflowExecutionRequest method.
+// req, resp := client.GetWorkflowExecutionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowExecution
func (c *Imagebuilder) GetWorkflowExecutionRequest(input *GetWorkflowExecutionInput) (req *request.Request, output *GetWorkflowExecutionOutput) {
op := &request.Operation{
Name: opGetWorkflowExecution,
@@ -5149,122 +5657,193 @@ func (c *Imagebuilder) ListInfrastructureConfigurationsPagesWithContext(ctx aws.
return p.Err()
}
-const opListTagsForResource = "ListTagsForResource"
+const opListLifecycleExecutionResources = "ListLifecycleExecutionResources"
-// ListTagsForResourceRequest generates a "aws/request.Request" representing the
-// client's request for the ListTagsForResource operation. The "output" return
+// ListLifecycleExecutionResourcesRequest generates a "aws/request.Request" representing the
+// client's request for the ListLifecycleExecutionResources operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListTagsForResource for more information on using the ListTagsForResource
+// See ListLifecycleExecutionResources for more information on using the ListLifecycleExecutionResources
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListTagsForResourceRequest method.
-// req, resp := client.ListTagsForResourceRequest(params)
+// // Example sending a request using the ListLifecycleExecutionResourcesRequest method.
+// req, resp := client.ListLifecycleExecutionResourcesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource
-func (c *Imagebuilder) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutionResources
+func (c *Imagebuilder) ListLifecycleExecutionResourcesRequest(input *ListLifecycleExecutionResourcesInput) (req *request.Request, output *ListLifecycleExecutionResourcesOutput) {
op := &request.Operation{
- Name: opListTagsForResource,
- HTTPMethod: "GET",
- HTTPPath: "/tags/{resourceArn}",
+ Name: opListLifecycleExecutionResources,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListLifecycleExecutionResources",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &ListTagsForResourceInput{}
+ input = &ListLifecycleExecutionResourcesInput{}
}
- output = &ListTagsForResourceOutput{}
+ output = &ListLifecycleExecutionResourcesOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListTagsForResource API operation for EC2 Image Builder.
+// ListLifecycleExecutionResources API operation for EC2 Image Builder.
//
-// Returns the list of tags for the specified resource.
+// List resources that the runtime instance of the image lifecycle identified
+// for lifecycle actions.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation ListTagsForResource for usage and error information.
+// API operation ListLifecycleExecutionResources for usage and error information.
//
// Returned Error Types:
//
// - ServiceException
// This exception is thrown when the service encounters an unrecoverable exception.
//
-// - InvalidParameterException
-// The specified parameter is invalid. Review the available parameters for the
-// API request.
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
//
-// - ResourceNotFoundException
-// At least one of the resources referenced by your request does not exist.
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource
-func (c *Imagebuilder) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - InvalidPaginationTokenException
+// You have provided an invalid pagination token in your request.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutionResources
+func (c *Imagebuilder) ListLifecycleExecutionResources(input *ListLifecycleExecutionResourcesInput) (*ListLifecycleExecutionResourcesOutput, error) {
+ req, out := c.ListLifecycleExecutionResourcesRequest(input)
return out, req.Send()
}
-// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// ListLifecycleExecutionResourcesWithContext is the same as ListLifecycleExecutionResources with the addition of
// the ability to pass a context and additional request options.
//
-// See ListTagsForResource for details on how to use this API operation.
+// See ListLifecycleExecutionResources for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+func (c *Imagebuilder) ListLifecycleExecutionResourcesWithContext(ctx aws.Context, input *ListLifecycleExecutionResourcesInput, opts ...request.Option) (*ListLifecycleExecutionResourcesOutput, error) {
+ req, out := c.ListLifecycleExecutionResourcesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opListWorkflowExecutions = "ListWorkflowExecutions"
+// ListLifecycleExecutionResourcesPages iterates over the pages of a ListLifecycleExecutionResources operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListLifecycleExecutionResources method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListLifecycleExecutionResources operation.
+// pageNum := 0
+// err := client.ListLifecycleExecutionResourcesPages(params,
+// func(page *imagebuilder.ListLifecycleExecutionResourcesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Imagebuilder) ListLifecycleExecutionResourcesPages(input *ListLifecycleExecutionResourcesInput, fn func(*ListLifecycleExecutionResourcesOutput, bool) bool) error {
+ return c.ListLifecycleExecutionResourcesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// ListWorkflowExecutionsRequest generates a "aws/request.Request" representing the
-// client's request for the ListWorkflowExecutions operation. The "output" return
+// ListLifecycleExecutionResourcesPagesWithContext same as ListLifecycleExecutionResourcesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) ListLifecycleExecutionResourcesPagesWithContext(ctx aws.Context, input *ListLifecycleExecutionResourcesInput, fn func(*ListLifecycleExecutionResourcesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListLifecycleExecutionResourcesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListLifecycleExecutionResourcesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListLifecycleExecutionResourcesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListLifecycleExecutions = "ListLifecycleExecutions"
+
+// ListLifecycleExecutionsRequest generates a "aws/request.Request" representing the
+// client's request for the ListLifecycleExecutions operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListWorkflowExecutions for more information on using the ListWorkflowExecutions
+// See ListLifecycleExecutions for more information on using the ListLifecycleExecutions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListWorkflowExecutionsRequest method.
-// req, resp := client.ListWorkflowExecutionsRequest(params)
+// // Example sending a request using the ListLifecycleExecutionsRequest method.
+// req, resp := client.ListLifecycleExecutionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowExecutions
-func (c *Imagebuilder) ListWorkflowExecutionsRequest(input *ListWorkflowExecutionsInput) (req *request.Request, output *ListWorkflowExecutionsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutions
+func (c *Imagebuilder) ListLifecycleExecutionsRequest(input *ListLifecycleExecutionsInput) (req *request.Request, output *ListLifecycleExecutionsOutput) {
op := &request.Operation{
- Name: opListWorkflowExecutions,
+ Name: opListLifecycleExecutions,
HTTPMethod: "POST",
- HTTPPath: "/ListWorkflowExecutions",
+ HTTPPath: "/ListLifecycleExecutions",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -5274,25 +5853,24 @@ func (c *Imagebuilder) ListWorkflowExecutionsRequest(input *ListWorkflowExecutio
}
if input == nil {
- input = &ListWorkflowExecutionsInput{}
+ input = &ListLifecycleExecutionsInput{}
}
- output = &ListWorkflowExecutionsOutput{}
+ output = &ListLifecycleExecutionsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListWorkflowExecutions API operation for EC2 Image Builder.
+// ListLifecycleExecutions API operation for EC2 Image Builder.
//
-// Returns a list of workflow runtime instance metadata objects for a specific
-// image build version.
+// Get the lifecycle runtime history for the specified resource.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation ListWorkflowExecutions for usage and error information.
+// API operation ListLifecycleExecutions for usage and error information.
//
// Returned Error Types:
//
@@ -5319,64 +5897,64 @@ func (c *Imagebuilder) ListWorkflowExecutionsRequest(input *ListWorkflowExecutio
// - CallRateLimitExceededException
// You have exceeded the permitted request rate for the specific operation.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowExecutions
-func (c *Imagebuilder) ListWorkflowExecutions(input *ListWorkflowExecutionsInput) (*ListWorkflowExecutionsOutput, error) {
- req, out := c.ListWorkflowExecutionsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutions
+func (c *Imagebuilder) ListLifecycleExecutions(input *ListLifecycleExecutionsInput) (*ListLifecycleExecutionsOutput, error) {
+ req, out := c.ListLifecycleExecutionsRequest(input)
return out, req.Send()
}
-// ListWorkflowExecutionsWithContext is the same as ListWorkflowExecutions with the addition of
+// ListLifecycleExecutionsWithContext is the same as ListLifecycleExecutions with the addition of
// the ability to pass a context and additional request options.
//
-// See ListWorkflowExecutions for details on how to use this API operation.
+// See ListLifecycleExecutions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) ListWorkflowExecutionsWithContext(ctx aws.Context, input *ListWorkflowExecutionsInput, opts ...request.Option) (*ListWorkflowExecutionsOutput, error) {
- req, out := c.ListWorkflowExecutionsRequest(input)
+func (c *Imagebuilder) ListLifecycleExecutionsWithContext(ctx aws.Context, input *ListLifecycleExecutionsInput, opts ...request.Option) (*ListLifecycleExecutionsOutput, error) {
+ req, out := c.ListLifecycleExecutionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListWorkflowExecutionsPages iterates over the pages of a ListWorkflowExecutions operation,
+// ListLifecycleExecutionsPages iterates over the pages of a ListLifecycleExecutions operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListWorkflowExecutions method for more information on how to use this operation.
+// See ListLifecycleExecutions method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListWorkflowExecutions operation.
+// // Example iterating over at most 3 pages of a ListLifecycleExecutions operation.
// pageNum := 0
-// err := client.ListWorkflowExecutionsPages(params,
-// func(page *imagebuilder.ListWorkflowExecutionsOutput, lastPage bool) bool {
+// err := client.ListLifecycleExecutionsPages(params,
+// func(page *imagebuilder.ListLifecycleExecutionsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *Imagebuilder) ListWorkflowExecutionsPages(input *ListWorkflowExecutionsInput, fn func(*ListWorkflowExecutionsOutput, bool) bool) error {
- return c.ListWorkflowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *Imagebuilder) ListLifecycleExecutionsPages(input *ListLifecycleExecutionsInput, fn func(*ListLifecycleExecutionsOutput, bool) bool) error {
+ return c.ListLifecycleExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListWorkflowExecutionsPagesWithContext same as ListWorkflowExecutionsPages except
+// ListLifecycleExecutionsPagesWithContext same as ListLifecycleExecutionsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) ListWorkflowExecutionsPagesWithContext(ctx aws.Context, input *ListWorkflowExecutionsInput, fn func(*ListWorkflowExecutionsOutput, bool) bool, opts ...request.Option) error {
+func (c *Imagebuilder) ListLifecycleExecutionsPagesWithContext(ctx aws.Context, input *ListLifecycleExecutionsInput, fn func(*ListLifecycleExecutionsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListWorkflowExecutionsInput
+ var inCpy *ListLifecycleExecutionsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListWorkflowExecutionsRequest(inCpy)
+ req, _ := c.ListLifecycleExecutionsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -5384,7 +5962,7 @@ func (c *Imagebuilder) ListWorkflowExecutionsPagesWithContext(ctx aws.Context, i
}
for p.Next() {
- if !fn(p.Page().(*ListWorkflowExecutionsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListLifecycleExecutionsOutput), !p.HasNextPage()) {
break
}
}
@@ -5392,36 +5970,36 @@ func (c *Imagebuilder) ListWorkflowExecutionsPagesWithContext(ctx aws.Context, i
return p.Err()
}
-const opListWorkflowStepExecutions = "ListWorkflowStepExecutions"
+const opListLifecyclePolicies = "ListLifecyclePolicies"
-// ListWorkflowStepExecutionsRequest generates a "aws/request.Request" representing the
-// client's request for the ListWorkflowStepExecutions operation. The "output" return
+// ListLifecyclePoliciesRequest generates a "aws/request.Request" representing the
+// client's request for the ListLifecyclePolicies operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListWorkflowStepExecutions for more information on using the ListWorkflowStepExecutions
+// See ListLifecyclePolicies for more information on using the ListLifecyclePolicies
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListWorkflowStepExecutionsRequest method.
-// req, resp := client.ListWorkflowStepExecutionsRequest(params)
+// // Example sending a request using the ListLifecyclePoliciesRequest method.
+// req, resp := client.ListLifecyclePoliciesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutions
-func (c *Imagebuilder) ListWorkflowStepExecutionsRequest(input *ListWorkflowStepExecutionsInput) (req *request.Request, output *ListWorkflowStepExecutionsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecyclePolicies
+func (c *Imagebuilder) ListLifecyclePoliciesRequest(input *ListLifecyclePoliciesInput) (req *request.Request, output *ListLifecyclePoliciesOutput) {
op := &request.Operation{
- Name: opListWorkflowStepExecutions,
+ Name: opListLifecyclePolicies,
HTTPMethod: "POST",
- HTTPPath: "/ListWorkflowStepExecutions",
+ HTTPPath: "/ListLifecyclePolicies",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -5431,25 +6009,24 @@ func (c *Imagebuilder) ListWorkflowStepExecutionsRequest(input *ListWorkflowStep
}
if input == nil {
- input = &ListWorkflowStepExecutionsInput{}
+ input = &ListLifecyclePoliciesInput{}
}
- output = &ListWorkflowStepExecutionsOutput{}
+ output = &ListLifecyclePoliciesOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListWorkflowStepExecutions API operation for EC2 Image Builder.
+// ListLifecyclePolicies API operation for EC2 Image Builder.
//
-// Shows runtime data for each step in a runtime instance of the workflow that
-// you specify in the request.
+// Get a list of lifecycle policies in your Amazon Web Services account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation ListWorkflowStepExecutions for usage and error information.
+// API operation ListLifecyclePolicies for usage and error information.
//
// Returned Error Types:
//
@@ -5476,64 +6053,64 @@ func (c *Imagebuilder) ListWorkflowStepExecutionsRequest(input *ListWorkflowStep
// - CallRateLimitExceededException
// You have exceeded the permitted request rate for the specific operation.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutions
-func (c *Imagebuilder) ListWorkflowStepExecutions(input *ListWorkflowStepExecutionsInput) (*ListWorkflowStepExecutionsOutput, error) {
- req, out := c.ListWorkflowStepExecutionsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecyclePolicies
+func (c *Imagebuilder) ListLifecyclePolicies(input *ListLifecyclePoliciesInput) (*ListLifecyclePoliciesOutput, error) {
+ req, out := c.ListLifecyclePoliciesRequest(input)
return out, req.Send()
}
-// ListWorkflowStepExecutionsWithContext is the same as ListWorkflowStepExecutions with the addition of
+// ListLifecyclePoliciesWithContext is the same as ListLifecyclePolicies with the addition of
// the ability to pass a context and additional request options.
//
-// See ListWorkflowStepExecutions for details on how to use this API operation.
+// See ListLifecyclePolicies for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) ListWorkflowStepExecutionsWithContext(ctx aws.Context, input *ListWorkflowStepExecutionsInput, opts ...request.Option) (*ListWorkflowStepExecutionsOutput, error) {
- req, out := c.ListWorkflowStepExecutionsRequest(input)
+func (c *Imagebuilder) ListLifecyclePoliciesWithContext(ctx aws.Context, input *ListLifecyclePoliciesInput, opts ...request.Option) (*ListLifecyclePoliciesOutput, error) {
+ req, out := c.ListLifecyclePoliciesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListWorkflowStepExecutionsPages iterates over the pages of a ListWorkflowStepExecutions operation,
+// ListLifecyclePoliciesPages iterates over the pages of a ListLifecyclePolicies operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListWorkflowStepExecutions method for more information on how to use this operation.
+// See ListLifecyclePolicies method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListWorkflowStepExecutions operation.
+// // Example iterating over at most 3 pages of a ListLifecyclePolicies operation.
// pageNum := 0
-// err := client.ListWorkflowStepExecutionsPages(params,
-// func(page *imagebuilder.ListWorkflowStepExecutionsOutput, lastPage bool) bool {
+// err := client.ListLifecyclePoliciesPages(params,
+// func(page *imagebuilder.ListLifecyclePoliciesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *Imagebuilder) ListWorkflowStepExecutionsPages(input *ListWorkflowStepExecutionsInput, fn func(*ListWorkflowStepExecutionsOutput, bool) bool) error {
- return c.ListWorkflowStepExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *Imagebuilder) ListLifecyclePoliciesPages(input *ListLifecyclePoliciesInput, fn func(*ListLifecyclePoliciesOutput, bool) bool) error {
+ return c.ListLifecyclePoliciesPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListWorkflowStepExecutionsPagesWithContext same as ListWorkflowStepExecutionsPages except
+// ListLifecyclePoliciesPagesWithContext same as ListLifecyclePoliciesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) ListWorkflowStepExecutionsPagesWithContext(ctx aws.Context, input *ListWorkflowStepExecutionsInput, fn func(*ListWorkflowStepExecutionsOutput, bool) bool, opts ...request.Option) error {
+func (c *Imagebuilder) ListLifecyclePoliciesPagesWithContext(ctx aws.Context, input *ListLifecyclePoliciesInput, fn func(*ListLifecyclePoliciesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListWorkflowStepExecutionsInput
+ var inCpy *ListLifecyclePoliciesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListWorkflowStepExecutionsRequest(inCpy)
+ req, _ := c.ListLifecyclePoliciesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -5541,7 +6118,7 @@ func (c *Imagebuilder) ListWorkflowStepExecutionsPagesWithContext(ctx aws.Contex
}
for p.Next() {
- if !fn(p.Page().(*ListWorkflowStepExecutionsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListLifecyclePoliciesOutput), !p.HasNextPage()) {
break
}
}
@@ -5549,169 +6126,150 @@ func (c *Imagebuilder) ListWorkflowStepExecutionsPagesWithContext(ctx aws.Contex
return p.Err()
}
-const opPutComponentPolicy = "PutComponentPolicy"
+const opListTagsForResource = "ListTagsForResource"
-// PutComponentPolicyRequest generates a "aws/request.Request" representing the
-// client's request for the PutComponentPolicy operation. The "output" return
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// client's request for the ListTagsForResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PutComponentPolicy for more information on using the PutComponentPolicy
+// See ListTagsForResource for more information on using the ListTagsForResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutComponentPolicyRequest method.
-// req, resp := client.PutComponentPolicyRequest(params)
+// // Example sending a request using the ListTagsForResourceRequest method.
+// req, resp := client.ListTagsForResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy
-func (c *Imagebuilder) PutComponentPolicyRequest(input *PutComponentPolicyInput) (req *request.Request, output *PutComponentPolicyOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource
+func (c *Imagebuilder) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
op := &request.Operation{
- Name: opPutComponentPolicy,
- HTTPMethod: "PUT",
- HTTPPath: "/PutComponentPolicy",
+ Name: opListTagsForResource,
+ HTTPMethod: "GET",
+ HTTPPath: "/tags/{resourceArn}",
}
if input == nil {
- input = &PutComponentPolicyInput{}
+ input = &ListTagsForResourceInput{}
}
- output = &PutComponentPolicyOutput{}
+ output = &ListTagsForResourceOutput{}
req = c.newRequest(op, input, output)
return
}
-// PutComponentPolicy API operation for EC2 Image Builder.
+// ListTagsForResource API operation for EC2 Image Builder.
//
-// Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare
-// (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html)
-// to share resources. If you call the Image Builder API PutComponentPolicy,
-// you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
-// in order for the resource to be visible to all principals with whom the resource
-// is shared.
+// Returns the list of tags for the specified resource.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation PutComponentPolicy for usage and error information.
+// API operation ListTagsForResource for usage and error information.
//
// Returned Error Types:
//
// - ServiceException
// This exception is thrown when the service encounters an unrecoverable exception.
//
-// - ClientException
-// These errors are usually caused by a client action, such as using an action
-// or resource on behalf of a user that doesn't have permissions to use the
-// action or resource, or specifying an invalid resource identifier.
-//
-// - ServiceUnavailableException
-// The service is unable to process your request at this time.
-//
-// - InvalidRequestException
-// You have requested an action that that the service doesn't support.
-//
-// - InvalidParameterValueException
-// The value that you provided for the specified parameter is invalid.
+// - InvalidParameterException
+// The specified parameter is invalid. Review the available parameters for the
+// API request.
//
// - ResourceNotFoundException
// At least one of the resources referenced by your request does not exist.
//
-// - ForbiddenException
-// You are not authorized to perform the requested operation.
-//
-// - CallRateLimitExceededException
-// You have exceeded the permitted request rate for the specific operation.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy
-func (c *Imagebuilder) PutComponentPolicy(input *PutComponentPolicyInput) (*PutComponentPolicyOutput, error) {
- req, out := c.PutComponentPolicyRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource
+func (c *Imagebuilder) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
return out, req.Send()
}
-// PutComponentPolicyWithContext is the same as PutComponentPolicy with the addition of
+// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
// the ability to pass a context and additional request options.
//
-// See PutComponentPolicy for details on how to use this API operation.
+// See ListTagsForResource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) PutComponentPolicyWithContext(ctx aws.Context, input *PutComponentPolicyInput, opts ...request.Option) (*PutComponentPolicyOutput, error) {
- req, out := c.PutComponentPolicyRequest(input)
+func (c *Imagebuilder) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutContainerRecipePolicy = "PutContainerRecipePolicy"
+const opListWorkflowExecutions = "ListWorkflowExecutions"
-// PutContainerRecipePolicyRequest generates a "aws/request.Request" representing the
-// client's request for the PutContainerRecipePolicy operation. The "output" return
+// ListWorkflowExecutionsRequest generates a "aws/request.Request" representing the
+// client's request for the ListWorkflowExecutions operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PutContainerRecipePolicy for more information on using the PutContainerRecipePolicy
+// See ListWorkflowExecutions for more information on using the ListWorkflowExecutions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutContainerRecipePolicyRequest method.
-// req, resp := client.PutContainerRecipePolicyRequest(params)
+// // Example sending a request using the ListWorkflowExecutionsRequest method.
+// req, resp := client.ListWorkflowExecutionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy
-func (c *Imagebuilder) PutContainerRecipePolicyRequest(input *PutContainerRecipePolicyInput) (req *request.Request, output *PutContainerRecipePolicyOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowExecutions
+func (c *Imagebuilder) ListWorkflowExecutionsRequest(input *ListWorkflowExecutionsInput) (req *request.Request, output *ListWorkflowExecutionsOutput) {
op := &request.Operation{
- Name: opPutContainerRecipePolicy,
- HTTPMethod: "PUT",
- HTTPPath: "/PutContainerRecipePolicy",
+ Name: opListWorkflowExecutions,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListWorkflowExecutions",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &PutContainerRecipePolicyInput{}
+ input = &ListWorkflowExecutionsInput{}
}
- output = &PutContainerRecipePolicyOutput{}
+ output = &ListWorkflowExecutionsOutput{}
req = c.newRequest(op, input, output)
return
}
-// PutContainerRecipePolicy API operation for EC2 Image Builder.
+// ListWorkflowExecutions API operation for EC2 Image Builder.
//
-// Applies a policy to a container image. We recommend that you call the RAM
-// API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html)
-// to share resources. If you call the Image Builder API PutContainerImagePolicy,
-// you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
-// in order for the resource to be visible to all principals with whom the resource
-// is shared.
+// Returns a list of workflow runtime instance metadata objects for a specific
+// image build version.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation PutContainerRecipePolicy for usage and error information.
+// API operation ListWorkflowExecutions for usage and error information.
//
// Returned Error Types:
//
@@ -5729,11 +6287,8 @@ func (c *Imagebuilder) PutContainerRecipePolicyRequest(input *PutContainerRecipe
// - InvalidRequestException
// You have requested an action that that the service doesn't support.
//
-// - InvalidParameterValueException
-// The value that you provided for the specified parameter is invalid.
-//
-// - ResourceNotFoundException
-// At least one of the resources referenced by your request does not exist.
+// - InvalidPaginationTokenException
+// You have provided an invalid pagination token in your request.
//
// - ForbiddenException
// You are not authorized to perform the requested operation.
@@ -5741,84 +6296,137 @@ func (c *Imagebuilder) PutContainerRecipePolicyRequest(input *PutContainerRecipe
// - CallRateLimitExceededException
// You have exceeded the permitted request rate for the specific operation.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy
-func (c *Imagebuilder) PutContainerRecipePolicy(input *PutContainerRecipePolicyInput) (*PutContainerRecipePolicyOutput, error) {
- req, out := c.PutContainerRecipePolicyRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowExecutions
+func (c *Imagebuilder) ListWorkflowExecutions(input *ListWorkflowExecutionsInput) (*ListWorkflowExecutionsOutput, error) {
+ req, out := c.ListWorkflowExecutionsRequest(input)
return out, req.Send()
}
-// PutContainerRecipePolicyWithContext is the same as PutContainerRecipePolicy with the addition of
+// ListWorkflowExecutionsWithContext is the same as ListWorkflowExecutions with the addition of
// the ability to pass a context and additional request options.
//
-// See PutContainerRecipePolicy for details on how to use this API operation.
+// See ListWorkflowExecutions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) PutContainerRecipePolicyWithContext(ctx aws.Context, input *PutContainerRecipePolicyInput, opts ...request.Option) (*PutContainerRecipePolicyOutput, error) {
- req, out := c.PutContainerRecipePolicyRequest(input)
+func (c *Imagebuilder) ListWorkflowExecutionsWithContext(ctx aws.Context, input *ListWorkflowExecutionsInput, opts ...request.Option) (*ListWorkflowExecutionsOutput, error) {
+ req, out := c.ListWorkflowExecutionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutImagePolicy = "PutImagePolicy"
-
-// PutImagePolicyRequest generates a "aws/request.Request" representing the
-// client's request for the PutImagePolicy operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
-//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
-//
-// See PutImagePolicy for more information on using the PutImagePolicy
-// API call, and error handling.
-//
-// This method is useful when you want to inject custom logic or configuration
-// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+// ListWorkflowExecutionsPages iterates over the pages of a ListWorkflowExecutions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
//
-// // Example sending a request using the PutImagePolicyRequest method.
-// req, resp := client.PutImagePolicyRequest(params)
+// See ListWorkflowExecutions method for more information on how to use this operation.
//
-// err := req.Send()
-// if err == nil { // resp is now filled
-// fmt.Println(resp)
-// }
+// Note: This operation can generate multiple requests to a service.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy
-func (c *Imagebuilder) PutImagePolicyRequest(input *PutImagePolicyInput) (req *request.Request, output *PutImagePolicyOutput) {
- op := &request.Operation{
- Name: opPutImagePolicy,
- HTTPMethod: "PUT",
- HTTPPath: "/PutImagePolicy",
- }
-
- if input == nil {
- input = &PutImagePolicyInput{}
- }
-
- output = &PutImagePolicyOutput{}
- req = c.newRequest(op, input, output)
- return
+// // Example iterating over at most 3 pages of a ListWorkflowExecutions operation.
+// pageNum := 0
+// err := client.ListWorkflowExecutionsPages(params,
+// func(page *imagebuilder.ListWorkflowExecutionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Imagebuilder) ListWorkflowExecutionsPages(input *ListWorkflowExecutionsInput, fn func(*ListWorkflowExecutionsOutput, bool) bool) error {
+ return c.ListWorkflowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// PutImagePolicy API operation for EC2 Image Builder.
+// ListWorkflowExecutionsPagesWithContext same as ListWorkflowExecutionsPages except
+// it takes a Context and allows setting request options on the pages.
//
-// Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare
-// (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html)
-// to share resources. If you call the Image Builder API PutImagePolicy, you
-// must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
-// in order for the resource to be visible to all principals with whom the resource
-// is shared.
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) ListWorkflowExecutionsPagesWithContext(ctx aws.Context, input *ListWorkflowExecutionsInput, fn func(*ListWorkflowExecutionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListWorkflowExecutionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListWorkflowExecutionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListWorkflowExecutionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListWorkflowStepExecutions = "ListWorkflowStepExecutions"
+
+// ListWorkflowStepExecutionsRequest generates a "aws/request.Request" representing the
+// client's request for the ListWorkflowStepExecutions operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListWorkflowStepExecutions for more information on using the ListWorkflowStepExecutions
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListWorkflowStepExecutionsRequest method.
+// req, resp := client.ListWorkflowStepExecutionsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutions
+func (c *Imagebuilder) ListWorkflowStepExecutionsRequest(input *ListWorkflowStepExecutionsInput) (req *request.Request, output *ListWorkflowStepExecutionsOutput) {
+ op := &request.Operation{
+ Name: opListWorkflowStepExecutions,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListWorkflowStepExecutions",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListWorkflowStepExecutionsInput{}
+ }
+
+ output = &ListWorkflowStepExecutionsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListWorkflowStepExecutions API operation for EC2 Image Builder.
+//
+// Shows runtime data for each step in a runtime instance of the workflow that
+// you specify in the request.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation PutImagePolicy for usage and error information.
+// API operation ListWorkflowStepExecutions for usage and error information.
//
// Returned Error Types:
//
@@ -5836,11 +6444,8 @@ func (c *Imagebuilder) PutImagePolicyRequest(input *PutImagePolicyInput) (req *r
// - InvalidRequestException
// You have requested an action that that the service doesn't support.
//
-// - InvalidParameterValueException
-// The value that you provided for the specified parameter is invalid.
-//
-// - ResourceNotFoundException
-// At least one of the resources referenced by your request does not exist.
+// - InvalidPaginationTokenException
+// You have provided an invalid pagination token in your request.
//
// - ForbiddenException
// You are not authorized to perform the requested operation.
@@ -5848,74 +6453,125 @@ func (c *Imagebuilder) PutImagePolicyRequest(input *PutImagePolicyInput) (req *r
// - CallRateLimitExceededException
// You have exceeded the permitted request rate for the specific operation.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy
-func (c *Imagebuilder) PutImagePolicy(input *PutImagePolicyInput) (*PutImagePolicyOutput, error) {
- req, out := c.PutImagePolicyRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutions
+func (c *Imagebuilder) ListWorkflowStepExecutions(input *ListWorkflowStepExecutionsInput) (*ListWorkflowStepExecutionsOutput, error) {
+ req, out := c.ListWorkflowStepExecutionsRequest(input)
return out, req.Send()
}
-// PutImagePolicyWithContext is the same as PutImagePolicy with the addition of
+// ListWorkflowStepExecutionsWithContext is the same as ListWorkflowStepExecutions with the addition of
// the ability to pass a context and additional request options.
//
-// See PutImagePolicy for details on how to use this API operation.
+// See ListWorkflowStepExecutions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) PutImagePolicyWithContext(ctx aws.Context, input *PutImagePolicyInput, opts ...request.Option) (*PutImagePolicyOutput, error) {
- req, out := c.PutImagePolicyRequest(input)
+func (c *Imagebuilder) ListWorkflowStepExecutionsWithContext(ctx aws.Context, input *ListWorkflowStepExecutionsInput, opts ...request.Option) (*ListWorkflowStepExecutionsOutput, error) {
+ req, out := c.ListWorkflowStepExecutionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutImageRecipePolicy = "PutImageRecipePolicy"
+// ListWorkflowStepExecutionsPages iterates over the pages of a ListWorkflowStepExecutions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListWorkflowStepExecutions method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListWorkflowStepExecutions operation.
+// pageNum := 0
+// err := client.ListWorkflowStepExecutionsPages(params,
+// func(page *imagebuilder.ListWorkflowStepExecutionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Imagebuilder) ListWorkflowStepExecutionsPages(input *ListWorkflowStepExecutionsInput, fn func(*ListWorkflowStepExecutionsOutput, bool) bool) error {
+ return c.ListWorkflowStepExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// PutImageRecipePolicyRequest generates a "aws/request.Request" representing the
-// client's request for the PutImageRecipePolicy operation. The "output" return
+// ListWorkflowStepExecutionsPagesWithContext same as ListWorkflowStepExecutionsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) ListWorkflowStepExecutionsPagesWithContext(ctx aws.Context, input *ListWorkflowStepExecutionsInput, fn func(*ListWorkflowStepExecutionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListWorkflowStepExecutionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListWorkflowStepExecutionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListWorkflowStepExecutionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opPutComponentPolicy = "PutComponentPolicy"
+
+// PutComponentPolicyRequest generates a "aws/request.Request" representing the
+// client's request for the PutComponentPolicy operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PutImageRecipePolicy for more information on using the PutImageRecipePolicy
+// See PutComponentPolicy for more information on using the PutComponentPolicy
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutImageRecipePolicyRequest method.
-// req, resp := client.PutImageRecipePolicyRequest(params)
+// // Example sending a request using the PutComponentPolicyRequest method.
+// req, resp := client.PutComponentPolicyRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy
-func (c *Imagebuilder) PutImageRecipePolicyRequest(input *PutImageRecipePolicyInput) (req *request.Request, output *PutImageRecipePolicyOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy
+func (c *Imagebuilder) PutComponentPolicyRequest(input *PutComponentPolicyInput) (req *request.Request, output *PutComponentPolicyOutput) {
op := &request.Operation{
- Name: opPutImageRecipePolicy,
+ Name: opPutComponentPolicy,
HTTPMethod: "PUT",
- HTTPPath: "/PutImageRecipePolicy",
+ HTTPPath: "/PutComponentPolicy",
}
if input == nil {
- input = &PutImageRecipePolicyInput{}
+ input = &PutComponentPolicyInput{}
}
- output = &PutImageRecipePolicyOutput{}
+ output = &PutComponentPolicyOutput{}
req = c.newRequest(op, input, output)
return
}
-// PutImageRecipePolicy API operation for EC2 Image Builder.
+// PutComponentPolicy API operation for EC2 Image Builder.
//
-// Applies a policy to an image recipe. We recommend that you call the RAM API
-// CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html)
-// to share resources. If you call the Image Builder API PutImageRecipePolicy,
+// Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare
+// (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html)
+// to share resources. If you call the Image Builder API PutComponentPolicy,
// you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
// in order for the resource to be visible to all principals with whom the resource
// is shared.
@@ -5925,7 +6581,7 @@ func (c *Imagebuilder) PutImageRecipePolicyRequest(input *PutImageRecipePolicyIn
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation PutImageRecipePolicy for usage and error information.
+// API operation PutComponentPolicy for usage and error information.
//
// Returned Error Types:
//
@@ -5955,79 +6611,84 @@ func (c *Imagebuilder) PutImageRecipePolicyRequest(input *PutImageRecipePolicyIn
// - CallRateLimitExceededException
// You have exceeded the permitted request rate for the specific operation.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy
-func (c *Imagebuilder) PutImageRecipePolicy(input *PutImageRecipePolicyInput) (*PutImageRecipePolicyOutput, error) {
- req, out := c.PutImageRecipePolicyRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy
+func (c *Imagebuilder) PutComponentPolicy(input *PutComponentPolicyInput) (*PutComponentPolicyOutput, error) {
+ req, out := c.PutComponentPolicyRequest(input)
return out, req.Send()
}
-// PutImageRecipePolicyWithContext is the same as PutImageRecipePolicy with the addition of
+// PutComponentPolicyWithContext is the same as PutComponentPolicy with the addition of
// the ability to pass a context and additional request options.
//
-// See PutImageRecipePolicy for details on how to use this API operation.
+// See PutComponentPolicy for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) PutImageRecipePolicyWithContext(ctx aws.Context, input *PutImageRecipePolicyInput, opts ...request.Option) (*PutImageRecipePolicyOutput, error) {
- req, out := c.PutImageRecipePolicyRequest(input)
+func (c *Imagebuilder) PutComponentPolicyWithContext(ctx aws.Context, input *PutComponentPolicyInput, opts ...request.Option) (*PutComponentPolicyOutput, error) {
+ req, out := c.PutComponentPolicyRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opStartImagePipelineExecution = "StartImagePipelineExecution"
+const opPutContainerRecipePolicy = "PutContainerRecipePolicy"
-// StartImagePipelineExecutionRequest generates a "aws/request.Request" representing the
-// client's request for the StartImagePipelineExecution operation. The "output" return
+// PutContainerRecipePolicyRequest generates a "aws/request.Request" representing the
+// client's request for the PutContainerRecipePolicy operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See StartImagePipelineExecution for more information on using the StartImagePipelineExecution
+// See PutContainerRecipePolicy for more information on using the PutContainerRecipePolicy
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the StartImagePipelineExecutionRequest method.
-// req, resp := client.StartImagePipelineExecutionRequest(params)
+// // Example sending a request using the PutContainerRecipePolicyRequest method.
+// req, resp := client.PutContainerRecipePolicyRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution
-func (c *Imagebuilder) StartImagePipelineExecutionRequest(input *StartImagePipelineExecutionInput) (req *request.Request, output *StartImagePipelineExecutionOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy
+func (c *Imagebuilder) PutContainerRecipePolicyRequest(input *PutContainerRecipePolicyInput) (req *request.Request, output *PutContainerRecipePolicyOutput) {
op := &request.Operation{
- Name: opStartImagePipelineExecution,
+ Name: opPutContainerRecipePolicy,
HTTPMethod: "PUT",
- HTTPPath: "/StartImagePipelineExecution",
+ HTTPPath: "/PutContainerRecipePolicy",
}
if input == nil {
- input = &StartImagePipelineExecutionInput{}
+ input = &PutContainerRecipePolicyInput{}
}
- output = &StartImagePipelineExecutionOutput{}
+ output = &PutContainerRecipePolicyOutput{}
req = c.newRequest(op, input, output)
return
}
-// StartImagePipelineExecution API operation for EC2 Image Builder.
+// PutContainerRecipePolicy API operation for EC2 Image Builder.
//
-// Manually triggers a pipeline to create an image.
+// Applies a policy to a container image. We recommend that you call the RAM
+// API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html)
+// to share resources. If you call the Image Builder API PutContainerImagePolicy,
+// you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
+// in order for the resource to be visible to all principals with whom the resource
+// is shared.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation StartImagePipelineExecution for usage and error information.
+// API operation PutContainerRecipePolicy for usage and error information.
//
// Returned Error Types:
//
@@ -6045,271 +6706,305 @@ func (c *Imagebuilder) StartImagePipelineExecutionRequest(input *StartImagePipel
// - InvalidRequestException
// You have requested an action that that the service doesn't support.
//
+// - InvalidParameterValueException
+// The value that you provided for the specified parameter is invalid.
+//
// - ResourceNotFoundException
// At least one of the resources referenced by your request does not exist.
//
-// - IdempotentParameterMismatchException
-// You have specified a client token for an operation using parameter values
-// that differ from a previous request that used the same client token.
-//
// - ForbiddenException
// You are not authorized to perform the requested operation.
//
// - CallRateLimitExceededException
// You have exceeded the permitted request rate for the specific operation.
//
-// - ResourceInUseException
-// The resource that you are trying to operate on is currently in use. Review
-// the message details and retry later.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution
-func (c *Imagebuilder) StartImagePipelineExecution(input *StartImagePipelineExecutionInput) (*StartImagePipelineExecutionOutput, error) {
- req, out := c.StartImagePipelineExecutionRequest(input)
- return out, req.Send()
-}
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy
+func (c *Imagebuilder) PutContainerRecipePolicy(input *PutContainerRecipePolicyInput) (*PutContainerRecipePolicyOutput, error) {
+ req, out := c.PutContainerRecipePolicyRequest(input)
+ return out, req.Send()
+}
-// StartImagePipelineExecutionWithContext is the same as StartImagePipelineExecution with the addition of
+// PutContainerRecipePolicyWithContext is the same as PutContainerRecipePolicy with the addition of
// the ability to pass a context and additional request options.
//
-// See StartImagePipelineExecution for details on how to use this API operation.
+// See PutContainerRecipePolicy for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) StartImagePipelineExecutionWithContext(ctx aws.Context, input *StartImagePipelineExecutionInput, opts ...request.Option) (*StartImagePipelineExecutionOutput, error) {
- req, out := c.StartImagePipelineExecutionRequest(input)
+func (c *Imagebuilder) PutContainerRecipePolicyWithContext(ctx aws.Context, input *PutContainerRecipePolicyInput, opts ...request.Option) (*PutContainerRecipePolicyOutput, error) {
+ req, out := c.PutContainerRecipePolicyRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opTagResource = "TagResource"
+const opPutImagePolicy = "PutImagePolicy"
-// TagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the TagResource operation. The "output" return
+// PutImagePolicyRequest generates a "aws/request.Request" representing the
+// client's request for the PutImagePolicy operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See TagResource for more information on using the TagResource
+// See PutImagePolicy for more information on using the PutImagePolicy
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the TagResourceRequest method.
-// req, resp := client.TagResourceRequest(params)
+// // Example sending a request using the PutImagePolicyRequest method.
+// req, resp := client.PutImagePolicyRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource
-func (c *Imagebuilder) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy
+func (c *Imagebuilder) PutImagePolicyRequest(input *PutImagePolicyInput) (req *request.Request, output *PutImagePolicyOutput) {
op := &request.Operation{
- Name: opTagResource,
- HTTPMethod: "POST",
- HTTPPath: "/tags/{resourceArn}",
+ Name: opPutImagePolicy,
+ HTTPMethod: "PUT",
+ HTTPPath: "/PutImagePolicy",
}
if input == nil {
- input = &TagResourceInput{}
+ input = &PutImagePolicyInput{}
}
- output = &TagResourceOutput{}
+ output = &PutImagePolicyOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// TagResource API operation for EC2 Image Builder.
+// PutImagePolicy API operation for EC2 Image Builder.
//
-// Adds a tag to a resource.
+// Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare
+// (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html)
+// to share resources. If you call the Image Builder API PutImagePolicy, you
+// must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
+// in order for the resource to be visible to all principals with whom the resource
+// is shared.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation TagResource for usage and error information.
+// API operation PutImagePolicy for usage and error information.
//
// Returned Error Types:
//
// - ServiceException
// This exception is thrown when the service encounters an unrecoverable exception.
//
-// - InvalidParameterException
-// The specified parameter is invalid. Review the available parameters for the
-// API request.
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - InvalidParameterValueException
+// The value that you provided for the specified parameter is invalid.
//
// - ResourceNotFoundException
// At least one of the resources referenced by your request does not exist.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource
-func (c *Imagebuilder) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy
+func (c *Imagebuilder) PutImagePolicy(input *PutImagePolicyInput) (*PutImagePolicyOutput, error) {
+ req, out := c.PutImagePolicyRequest(input)
return out, req.Send()
}
-// TagResourceWithContext is the same as TagResource with the addition of
+// PutImagePolicyWithContext is the same as PutImagePolicy with the addition of
// the ability to pass a context and additional request options.
//
-// See TagResource for details on how to use this API operation.
+// See PutImagePolicy for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+func (c *Imagebuilder) PutImagePolicyWithContext(ctx aws.Context, input *PutImagePolicyInput, opts ...request.Option) (*PutImagePolicyOutput, error) {
+ req, out := c.PutImagePolicyRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUntagResource = "UntagResource"
+const opPutImageRecipePolicy = "PutImageRecipePolicy"
-// UntagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the UntagResource operation. The "output" return
+// PutImageRecipePolicyRequest generates a "aws/request.Request" representing the
+// client's request for the PutImageRecipePolicy operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UntagResource for more information on using the UntagResource
+// See PutImageRecipePolicy for more information on using the PutImageRecipePolicy
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UntagResourceRequest method.
-// req, resp := client.UntagResourceRequest(params)
+// // Example sending a request using the PutImageRecipePolicyRequest method.
+// req, resp := client.PutImageRecipePolicyRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource
-func (c *Imagebuilder) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy
+func (c *Imagebuilder) PutImageRecipePolicyRequest(input *PutImageRecipePolicyInput) (req *request.Request, output *PutImageRecipePolicyOutput) {
op := &request.Operation{
- Name: opUntagResource,
- HTTPMethod: "DELETE",
- HTTPPath: "/tags/{resourceArn}",
+ Name: opPutImageRecipePolicy,
+ HTTPMethod: "PUT",
+ HTTPPath: "/PutImageRecipePolicy",
}
if input == nil {
- input = &UntagResourceInput{}
+ input = &PutImageRecipePolicyInput{}
}
- output = &UntagResourceOutput{}
+ output = &PutImageRecipePolicyOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// UntagResource API operation for EC2 Image Builder.
+// PutImageRecipePolicy API operation for EC2 Image Builder.
//
-// Removes a tag from a resource.
+// Applies a policy to an image recipe. We recommend that you call the RAM API
+// CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html)
+// to share resources. If you call the Image Builder API PutImageRecipePolicy,
+// you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
+// in order for the resource to be visible to all principals with whom the resource
+// is shared.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation UntagResource for usage and error information.
+// API operation PutImageRecipePolicy for usage and error information.
//
// Returned Error Types:
//
// - ServiceException
// This exception is thrown when the service encounters an unrecoverable exception.
//
-// - InvalidParameterException
-// The specified parameter is invalid. Review the available parameters for the
-// API request.
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - InvalidParameterValueException
+// The value that you provided for the specified parameter is invalid.
//
// - ResourceNotFoundException
// At least one of the resources referenced by your request does not exist.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource
-func (c *Imagebuilder) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy
+func (c *Imagebuilder) PutImageRecipePolicy(input *PutImageRecipePolicyInput) (*PutImageRecipePolicyOutput, error) {
+ req, out := c.PutImageRecipePolicyRequest(input)
return out, req.Send()
}
-// UntagResourceWithContext is the same as UntagResource with the addition of
+// PutImageRecipePolicyWithContext is the same as PutImageRecipePolicy with the addition of
// the ability to pass a context and additional request options.
//
-// See UntagResource for details on how to use this API operation.
+// See PutImageRecipePolicy for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+func (c *Imagebuilder) PutImageRecipePolicyWithContext(ctx aws.Context, input *PutImageRecipePolicyInput, opts ...request.Option) (*PutImageRecipePolicyOutput, error) {
+ req, out := c.PutImageRecipePolicyRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateDistributionConfiguration = "UpdateDistributionConfiguration"
+const opStartImagePipelineExecution = "StartImagePipelineExecution"
-// UpdateDistributionConfigurationRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateDistributionConfiguration operation. The "output" return
+// StartImagePipelineExecutionRequest generates a "aws/request.Request" representing the
+// client's request for the StartImagePipelineExecution operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateDistributionConfiguration for more information on using the UpdateDistributionConfiguration
+// See StartImagePipelineExecution for more information on using the StartImagePipelineExecution
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateDistributionConfigurationRequest method.
-// req, resp := client.UpdateDistributionConfigurationRequest(params)
+// // Example sending a request using the StartImagePipelineExecutionRequest method.
+// req, resp := client.StartImagePipelineExecutionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration
-func (c *Imagebuilder) UpdateDistributionConfigurationRequest(input *UpdateDistributionConfigurationInput) (req *request.Request, output *UpdateDistributionConfigurationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution
+func (c *Imagebuilder) StartImagePipelineExecutionRequest(input *StartImagePipelineExecutionInput) (req *request.Request, output *StartImagePipelineExecutionOutput) {
op := &request.Operation{
- Name: opUpdateDistributionConfiguration,
+ Name: opStartImagePipelineExecution,
HTTPMethod: "PUT",
- HTTPPath: "/UpdateDistributionConfiguration",
+ HTTPPath: "/StartImagePipelineExecution",
}
if input == nil {
- input = &UpdateDistributionConfigurationInput{}
+ input = &StartImagePipelineExecutionInput{}
}
- output = &UpdateDistributionConfigurationOutput{}
+ output = &StartImagePipelineExecutionOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateDistributionConfiguration API operation for EC2 Image Builder.
+// StartImagePipelineExecution API operation for EC2 Image Builder.
//
-// Updates a new distribution configuration. Distribution configurations define
-// and configure the outputs of your pipeline.
+// Manually triggers a pipeline to create an image.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation UpdateDistributionConfiguration for usage and error information.
+// API operation StartImagePipelineExecution for usage and error information.
//
// Returned Error Types:
//
@@ -6327,6 +7022,9 @@ func (c *Imagebuilder) UpdateDistributionConfigurationRequest(input *UpdateDistr
// - InvalidRequestException
// You have requested an action that that the service doesn't support.
//
+// - ResourceNotFoundException
+// At least one of the resources referenced by your request does not exist.
+//
// - IdempotentParameterMismatchException
// You have specified a client token for an operation using parameter values
// that differ from a previous request that used the same client token.
@@ -6341,88 +7039,80 @@ func (c *Imagebuilder) UpdateDistributionConfigurationRequest(input *UpdateDistr
// The resource that you are trying to operate on is currently in use. Review
// the message details and retry later.
//
-// - InvalidParameterCombinationException
-// You have specified two or more mutually exclusive parameters. Review the
-// error message for details.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration
-func (c *Imagebuilder) UpdateDistributionConfiguration(input *UpdateDistributionConfigurationInput) (*UpdateDistributionConfigurationOutput, error) {
- req, out := c.UpdateDistributionConfigurationRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution
+func (c *Imagebuilder) StartImagePipelineExecution(input *StartImagePipelineExecutionInput) (*StartImagePipelineExecutionOutput, error) {
+ req, out := c.StartImagePipelineExecutionRequest(input)
return out, req.Send()
}
-// UpdateDistributionConfigurationWithContext is the same as UpdateDistributionConfiguration with the addition of
+// StartImagePipelineExecutionWithContext is the same as StartImagePipelineExecution with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateDistributionConfiguration for details on how to use this API operation.
+// See StartImagePipelineExecution for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) UpdateDistributionConfigurationWithContext(ctx aws.Context, input *UpdateDistributionConfigurationInput, opts ...request.Option) (*UpdateDistributionConfigurationOutput, error) {
- req, out := c.UpdateDistributionConfigurationRequest(input)
+func (c *Imagebuilder) StartImagePipelineExecutionWithContext(ctx aws.Context, input *StartImagePipelineExecutionInput, opts ...request.Option) (*StartImagePipelineExecutionOutput, error) {
+ req, out := c.StartImagePipelineExecutionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateImagePipeline = "UpdateImagePipeline"
+const opStartResourceStateUpdate = "StartResourceStateUpdate"
-// UpdateImagePipelineRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateImagePipeline operation. The "output" return
+// StartResourceStateUpdateRequest generates a "aws/request.Request" representing the
+// client's request for the StartResourceStateUpdate operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateImagePipeline for more information on using the UpdateImagePipeline
+// See StartResourceStateUpdate for more information on using the StartResourceStateUpdate
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateImagePipelineRequest method.
-// req, resp := client.UpdateImagePipelineRequest(params)
+// // Example sending a request using the StartResourceStateUpdateRequest method.
+// req, resp := client.StartResourceStateUpdateRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline
-func (c *Imagebuilder) UpdateImagePipelineRequest(input *UpdateImagePipelineInput) (req *request.Request, output *UpdateImagePipelineOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartResourceStateUpdate
+func (c *Imagebuilder) StartResourceStateUpdateRequest(input *StartResourceStateUpdateInput) (req *request.Request, output *StartResourceStateUpdateOutput) {
op := &request.Operation{
- Name: opUpdateImagePipeline,
+ Name: opStartResourceStateUpdate,
HTTPMethod: "PUT",
- HTTPPath: "/UpdateImagePipeline",
+ HTTPPath: "/StartResourceStateUpdate",
}
if input == nil {
- input = &UpdateImagePipelineInput{}
+ input = &StartResourceStateUpdateInput{}
}
- output = &UpdateImagePipelineOutput{}
+ output = &StartResourceStateUpdateOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateImagePipeline API operation for EC2 Image Builder.
-//
-// Updates an image pipeline. Image pipelines enable you to automate the creation
-// and distribution of images.
+// StartResourceStateUpdate API operation for EC2 Image Builder.
//
-// UpdateImagePipeline does not support selective updates for the pipeline.
-// You must specify all of the required properties in the update request, not
-// just the properties that have changed.
+// Begin asynchronous resource state update for lifecycle changes to the specified
+// image resources.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation UpdateImagePipeline for usage and error information.
+// API operation StartResourceStateUpdate for usage and error information.
//
// Returned Error Types:
//
@@ -6440,6 +7130,9 @@ func (c *Imagebuilder) UpdateImagePipelineRequest(input *UpdateImagePipelineInpu
// - InvalidRequestException
// You have requested an action that that the service doesn't support.
//
+// - ResourceNotFoundException
+// At least one of the resources referenced by your request does not exist.
+//
// - IdempotentParameterMismatchException
// You have specified a client token for an operation using parameter values
// that differ from a previous request that used the same client token.
@@ -6454,80 +7147,254 @@ func (c *Imagebuilder) UpdateImagePipelineRequest(input *UpdateImagePipelineInpu
// The resource that you are trying to operate on is currently in use. Review
// the message details and retry later.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline
-func (c *Imagebuilder) UpdateImagePipeline(input *UpdateImagePipelineInput) (*UpdateImagePipelineOutput, error) {
- req, out := c.UpdateImagePipelineRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartResourceStateUpdate
+func (c *Imagebuilder) StartResourceStateUpdate(input *StartResourceStateUpdateInput) (*StartResourceStateUpdateOutput, error) {
+ req, out := c.StartResourceStateUpdateRequest(input)
return out, req.Send()
}
-// UpdateImagePipelineWithContext is the same as UpdateImagePipeline with the addition of
+// StartResourceStateUpdateWithContext is the same as StartResourceStateUpdate with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateImagePipeline for details on how to use this API operation.
+// See StartResourceStateUpdate for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) UpdateImagePipelineWithContext(ctx aws.Context, input *UpdateImagePipelineInput, opts ...request.Option) (*UpdateImagePipelineOutput, error) {
- req, out := c.UpdateImagePipelineRequest(input)
+func (c *Imagebuilder) StartResourceStateUpdateWithContext(ctx aws.Context, input *StartResourceStateUpdateInput, opts ...request.Option) (*StartResourceStateUpdateOutput, error) {
+ req, out := c.StartResourceStateUpdateRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateInfrastructureConfiguration = "UpdateInfrastructureConfiguration"
+const opTagResource = "TagResource"
-// UpdateInfrastructureConfigurationRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateInfrastructureConfiguration operation. The "output" return
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateInfrastructureConfiguration for more information on using the UpdateInfrastructureConfiguration
+// See TagResource for more information on using the TagResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateInfrastructureConfigurationRequest method.
-// req, resp := client.UpdateInfrastructureConfigurationRequest(params)
+// // Example sending a request using the TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration
-func (c *Imagebuilder) UpdateInfrastructureConfigurationRequest(input *UpdateInfrastructureConfigurationInput) (req *request.Request, output *UpdateInfrastructureConfigurationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource
+func (c *Imagebuilder) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
op := &request.Operation{
- Name: opUpdateInfrastructureConfiguration,
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ output = &TagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// TagResource API operation for EC2 Image Builder.
+//
+// Adds a tag to a resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - InvalidParameterException
+// The specified parameter is invalid. Review the available parameters for the
+// API request.
+//
+// - ResourceNotFoundException
+// At least one of the resources referenced by your request does not exist.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource
+func (c *Imagebuilder) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ return out, req.Send()
+}
+
+// TagResourceWithContext is the same as TagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UntagResource for more information on using the UntagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource
+func (c *Imagebuilder) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ output = &UntagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UntagResource API operation for EC2 Image Builder.
+//
+// Removes a tag from a resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - InvalidParameterException
+// The specified parameter is invalid. Review the available parameters for the
+// API request.
+//
+// - ResourceNotFoundException
+// At least one of the resources referenced by your request does not exist.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource
+func (c *Imagebuilder) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ return out, req.Send()
+}
+
+// UntagResourceWithContext is the same as UntagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UntagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateDistributionConfiguration = "UpdateDistributionConfiguration"
+
+// UpdateDistributionConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateDistributionConfiguration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateDistributionConfiguration for more information on using the UpdateDistributionConfiguration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateDistributionConfigurationRequest method.
+// req, resp := client.UpdateDistributionConfigurationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration
+func (c *Imagebuilder) UpdateDistributionConfigurationRequest(input *UpdateDistributionConfigurationInput) (req *request.Request, output *UpdateDistributionConfigurationOutput) {
+ op := &request.Operation{
+ Name: opUpdateDistributionConfiguration,
HTTPMethod: "PUT",
- HTTPPath: "/UpdateInfrastructureConfiguration",
+ HTTPPath: "/UpdateDistributionConfiguration",
}
if input == nil {
- input = &UpdateInfrastructureConfigurationInput{}
+ input = &UpdateDistributionConfigurationInput{}
}
- output = &UpdateInfrastructureConfigurationOutput{}
+ output = &UpdateDistributionConfigurationOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateInfrastructureConfiguration API operation for EC2 Image Builder.
+// UpdateDistributionConfiguration API operation for EC2 Image Builder.
//
-// Updates a new infrastructure configuration. An infrastructure configuration
-// defines the environment in which your image will be built and tested.
+// Updates a new distribution configuration. Distribution configurations define
+// and configure the outputs of your pipeline.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for EC2 Image Builder's
-// API operation UpdateInfrastructureConfiguration for usage and error information.
+// API operation UpdateDistributionConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -6559,107 +7426,2907 @@ func (c *Imagebuilder) UpdateInfrastructureConfigurationRequest(input *UpdateInf
// The resource that you are trying to operate on is currently in use. Review
// the message details and retry later.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration
-func (c *Imagebuilder) UpdateInfrastructureConfiguration(input *UpdateInfrastructureConfigurationInput) (*UpdateInfrastructureConfigurationOutput, error) {
- req, out := c.UpdateInfrastructureConfigurationRequest(input)
+// - InvalidParameterCombinationException
+// You have specified two or more mutually exclusive parameters. Review the
+// error message for details.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration
+func (c *Imagebuilder) UpdateDistributionConfiguration(input *UpdateDistributionConfigurationInput) (*UpdateDistributionConfigurationOutput, error) {
+ req, out := c.UpdateDistributionConfigurationRequest(input)
return out, req.Send()
}
-// UpdateInfrastructureConfigurationWithContext is the same as UpdateInfrastructureConfiguration with the addition of
+// UpdateDistributionConfigurationWithContext is the same as UpdateDistributionConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateInfrastructureConfiguration for details on how to use this API operation.
+// See UpdateDistributionConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *Imagebuilder) UpdateInfrastructureConfigurationWithContext(ctx aws.Context, input *UpdateInfrastructureConfigurationInput, opts ...request.Option) (*UpdateInfrastructureConfigurationOutput, error) {
- req, out := c.UpdateInfrastructureConfigurationRequest(input)
+func (c *Imagebuilder) UpdateDistributionConfigurationWithContext(ctx aws.Context, input *UpdateDistributionConfigurationInput, opts ...request.Option) (*UpdateDistributionConfigurationOutput, error) {
+ req, out := c.UpdateDistributionConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// Contains counts of vulnerability findings from image scans that run when
-// you create new Image Builder images, or build new versions of existing images.
-// The vulnerability counts are grouped by severity level. The counts are aggregated
-// across resources to create the final tally for the account that owns them.
-type AccountAggregation struct {
- _ struct{} `type:"structure"`
-
- // Identifies the account that owns the aggregated resource findings.
- AccountId *string `locationName:"accountId" min:"1" type:"string"`
-
- // Counts by severity level for medium severity and higher level findings, plus
- // a total for all of the findings.
- SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
-}
+const opUpdateImagePipeline = "UpdateImagePipeline"
-// String returns the string representation.
+// UpdateImagePipelineRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateImagePipeline operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccountAggregation) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccountAggregation) GoString() string {
- return s.String()
-}
-
-// SetAccountId sets the AccountId field's value.
-func (s *AccountAggregation) SetAccountId(v string) *AccountAggregation {
- s.AccountId = &v
- return s
-}
-
-// SetSeverityCounts sets the SeverityCounts field's value.
-func (s *AccountAggregation) SetSeverityCounts(v *SeverityCounts) *AccountAggregation {
+// See UpdateImagePipeline for more information on using the UpdateImagePipeline
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateImagePipelineRequest method.
+// req, resp := client.UpdateImagePipelineRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline
+func (c *Imagebuilder) UpdateImagePipelineRequest(input *UpdateImagePipelineInput) (req *request.Request, output *UpdateImagePipelineOutput) {
+ op := &request.Operation{
+ Name: opUpdateImagePipeline,
+ HTTPMethod: "PUT",
+ HTTPPath: "/UpdateImagePipeline",
+ }
+
+ if input == nil {
+ input = &UpdateImagePipelineInput{}
+ }
+
+ output = &UpdateImagePipelineOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateImagePipeline API operation for EC2 Image Builder.
+//
+// Updates an image pipeline. Image pipelines enable you to automate the creation
+// and distribution of images.
+//
+// UpdateImagePipeline does not support selective updates for the pipeline.
+// You must specify all of the required properties in the update request, not
+// just the properties that have changed.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation UpdateImagePipeline for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - IdempotentParameterMismatchException
+// You have specified a client token for an operation using parameter values
+// that differ from a previous request that used the same client token.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// - ResourceInUseException
+// The resource that you are trying to operate on is currently in use. Review
+// the message details and retry later.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline
+func (c *Imagebuilder) UpdateImagePipeline(input *UpdateImagePipelineInput) (*UpdateImagePipelineOutput, error) {
+ req, out := c.UpdateImagePipelineRequest(input)
+ return out, req.Send()
+}
+
+// UpdateImagePipelineWithContext is the same as UpdateImagePipeline with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateImagePipeline for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) UpdateImagePipelineWithContext(ctx aws.Context, input *UpdateImagePipelineInput, opts ...request.Option) (*UpdateImagePipelineOutput, error) {
+ req, out := c.UpdateImagePipelineRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateInfrastructureConfiguration = "UpdateInfrastructureConfiguration"
+
+// UpdateInfrastructureConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateInfrastructureConfiguration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateInfrastructureConfiguration for more information on using the UpdateInfrastructureConfiguration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateInfrastructureConfigurationRequest method.
+// req, resp := client.UpdateInfrastructureConfigurationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration
+func (c *Imagebuilder) UpdateInfrastructureConfigurationRequest(input *UpdateInfrastructureConfigurationInput) (req *request.Request, output *UpdateInfrastructureConfigurationOutput) {
+ op := &request.Operation{
+ Name: opUpdateInfrastructureConfiguration,
+ HTTPMethod: "PUT",
+ HTTPPath: "/UpdateInfrastructureConfiguration",
+ }
+
+ if input == nil {
+ input = &UpdateInfrastructureConfigurationInput{}
+ }
+
+ output = &UpdateInfrastructureConfigurationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateInfrastructureConfiguration API operation for EC2 Image Builder.
+//
+// Updates a new infrastructure configuration. An infrastructure configuration
+// defines the environment in which your image will be built and tested.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation UpdateInfrastructureConfiguration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - IdempotentParameterMismatchException
+// You have specified a client token for an operation using parameter values
+// that differ from a previous request that used the same client token.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// - ResourceInUseException
+// The resource that you are trying to operate on is currently in use. Review
+// the message details and retry later.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration
+func (c *Imagebuilder) UpdateInfrastructureConfiguration(input *UpdateInfrastructureConfigurationInput) (*UpdateInfrastructureConfigurationOutput, error) {
+ req, out := c.UpdateInfrastructureConfigurationRequest(input)
+ return out, req.Send()
+}
+
+// UpdateInfrastructureConfigurationWithContext is the same as UpdateInfrastructureConfiguration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateInfrastructureConfiguration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) UpdateInfrastructureConfigurationWithContext(ctx aws.Context, input *UpdateInfrastructureConfigurationInput, opts ...request.Option) (*UpdateInfrastructureConfigurationOutput, error) {
+ req, out := c.UpdateInfrastructureConfigurationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateLifecyclePolicy = "UpdateLifecyclePolicy"
+
+// UpdateLifecyclePolicyRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateLifecyclePolicy operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateLifecyclePolicy for more information on using the UpdateLifecyclePolicy
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateLifecyclePolicyRequest method.
+// req, resp := client.UpdateLifecyclePolicyRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateLifecyclePolicy
+func (c *Imagebuilder) UpdateLifecyclePolicyRequest(input *UpdateLifecyclePolicyInput) (req *request.Request, output *UpdateLifecyclePolicyOutput) {
+ op := &request.Operation{
+ Name: opUpdateLifecyclePolicy,
+ HTTPMethod: "PUT",
+ HTTPPath: "/UpdateLifecyclePolicy",
+ }
+
+ if input == nil {
+ input = &UpdateLifecyclePolicyInput{}
+ }
+
+ output = &UpdateLifecyclePolicyOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateLifecyclePolicy API operation for EC2 Image Builder.
+//
+// Update the specified lifecycle policy.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for EC2 Image Builder's
+// API operation UpdateLifecyclePolicy for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceException
+// This exception is thrown when the service encounters an unrecoverable exception.
+//
+// - ClientException
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+//
+// - ServiceUnavailableException
+// The service is unable to process your request at this time.
+//
+// - InvalidRequestException
+// You have requested an action that that the service doesn't support.
+//
+// - IdempotentParameterMismatchException
+// You have specified a client token for an operation using parameter values
+// that differ from a previous request that used the same client token.
+//
+// - ForbiddenException
+// You are not authorized to perform the requested operation.
+//
+// - CallRateLimitExceededException
+// You have exceeded the permitted request rate for the specific operation.
+//
+// - ResourceInUseException
+// The resource that you are trying to operate on is currently in use. Review
+// the message details and retry later.
+//
+// - InvalidParameterCombinationException
+// You have specified two or more mutually exclusive parameters. Review the
+// error message for details.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateLifecyclePolicy
+func (c *Imagebuilder) UpdateLifecyclePolicy(input *UpdateLifecyclePolicyInput) (*UpdateLifecyclePolicyOutput, error) {
+ req, out := c.UpdateLifecyclePolicyRequest(input)
+ return out, req.Send()
+}
+
+// UpdateLifecyclePolicyWithContext is the same as UpdateLifecyclePolicy with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateLifecyclePolicy for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Imagebuilder) UpdateLifecyclePolicyWithContext(ctx aws.Context, input *UpdateLifecyclePolicyInput, opts ...request.Option) (*UpdateLifecyclePolicyOutput, error) {
+ req, out := c.UpdateLifecyclePolicyRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// Contains counts of vulnerability findings from image scans that run when
+// you create new Image Builder images, or build new versions of existing images.
+// The vulnerability counts are grouped by severity level. The counts are aggregated
+// across resources to create the final tally for the account that owns them.
+type AccountAggregation struct {
+ _ struct{} `type:"structure"`
+
+ // Identifies the account that owns the aggregated resource findings.
+ AccountId *string `locationName:"accountId" min:"1" type:"string"`
+
+ // Counts by severity level for medium severity and higher level findings, plus
+ // a total for all of the findings.
+ SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAggregation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAggregation) GoString() string {
+ return s.String()
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *AccountAggregation) SetAccountId(v string) *AccountAggregation {
+ s.AccountId = &v
+ return s
+}
+
+// SetSeverityCounts sets the SeverityCounts field's value.
+func (s *AccountAggregation) SetSeverityCounts(v *SeverityCounts) *AccountAggregation {
s.SeverityCounts = v
return s
}
-// In addition to your infrastructure configuration, these settings provide
-// an extra layer of control over your build instances. You can also specify
-// commands to run on launch for all of your build instances.
+// In addition to your infrastructure configuration, these settings provide
+// an extra layer of control over your build instances. You can also specify
+// commands to run on launch for all of your build instances.
+//
+// Image Builder does not automatically install the Systems Manager agent on
+// Windows instances. If your base image includes the Systems Manager agent,
+// then the AMI that you create will also include the agent. For Linux instances,
+// if the base image does not already include the Systems Manager agent, Image
+// Builder installs it. For Linux instances where Image Builder installs the
+// Systems Manager agent, you can choose whether to keep it for the AMI that
+// you create.
+type AdditionalInstanceConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // Contains settings for the Systems Manager agent on your build instance.
+ SystemsManagerAgent *SystemsManagerAgent `locationName:"systemsManagerAgent" type:"structure"`
+
+ // Use this property to provide commands or a command script to run when you
+ // launch your build instance.
+ //
+ // The userDataOverride property replaces any commands that Image Builder might
+ // have added to ensure that Systems Manager is installed on your Linux build
+ // instance. If you override the user data, make sure that you add commands
+ // to install Systems Manager, if it is not pre-installed on your base image.
+ //
+ // The user data is always base 64 encoded. For example, the following commands
+ // are encoded as IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
+ //
+ // #!/bin/bash
+ //
+ // mkdir -p /var/bb/
+ //
+ // touch /var
+ UserDataOverride *string `locationName:"userDataOverride" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AdditionalInstanceConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AdditionalInstanceConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AdditionalInstanceConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AdditionalInstanceConfiguration"}
+ if s.UserDataOverride != nil && len(*s.UserDataOverride) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("UserDataOverride", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetSystemsManagerAgent sets the SystemsManagerAgent field's value.
+func (s *AdditionalInstanceConfiguration) SetSystemsManagerAgent(v *SystemsManagerAgent) *AdditionalInstanceConfiguration {
+ s.SystemsManagerAgent = v
+ return s
+}
+
+// SetUserDataOverride sets the UserDataOverride field's value.
+func (s *AdditionalInstanceConfiguration) SetUserDataOverride(v string) *AdditionalInstanceConfiguration {
+ s.UserDataOverride = &v
+ return s
+}
+
+// Details of an Amazon EC2 AMI.
+type Ami struct {
+ _ struct{} `type:"structure"`
+
+ // The account ID of the owner of the AMI.
+ AccountId *string `locationName:"accountId" min:"1" type:"string"`
+
+ // The description of the Amazon EC2 AMI. Minimum and maximum length are in
+ // characters.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The AMI ID of the Amazon EC2 AMI.
+ Image *string `locationName:"image" min:"1" type:"string"`
+
+ // The name of the Amazon EC2 AMI.
+ Name *string `locationName:"name" min:"1" type:"string"`
+
+ // The Amazon Web Services Region of the Amazon EC2 AMI.
+ Region *string `locationName:"region" min:"1" type:"string"`
+
+ // Image status and the reason for that status.
+ State *ImageState `locationName:"state" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Ami) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Ami) GoString() string {
+ return s.String()
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *Ami) SetAccountId(v string) *Ami {
+ s.AccountId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Ami) SetDescription(v string) *Ami {
+ s.Description = &v
+ return s
+}
+
+// SetImage sets the Image field's value.
+func (s *Ami) SetImage(v string) *Ami {
+ s.Image = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Ami) SetName(v string) *Ami {
+ s.Name = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *Ami) SetRegion(v string) *Ami {
+ s.Region = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Ami) SetState(v *ImageState) *Ami {
+ s.State = v
+ return s
+}
+
+// Define and configure the output AMIs of the pipeline.
+type AmiDistributionConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // The tags to apply to AMIs distributed to this Region.
+ AmiTags map[string]*string `locationName:"amiTags" min:"1" type:"map"`
+
+ // The description of the AMI distribution configuration. Minimum and maximum
+ // length are in characters.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The KMS key identifier used to encrypt the distributed image.
+ KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+
+ // Launch permissions can be used to configure which Amazon Web Services accounts
+ // can use the AMI to launch instances.
+ LaunchPermission *LaunchPermissionConfiguration `locationName:"launchPermission" type:"structure"`
+
+ // The name of the output AMI.
+ Name *string `locationName:"name" min:"1" type:"string"`
+
+ // The ID of an account to which you want to distribute an image.
+ TargetAccountIds []*string `locationName:"targetAccountIds" min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AmiDistributionConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AmiDistributionConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AmiDistributionConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AmiDistributionConfiguration"}
+ if s.AmiTags != nil && len(s.AmiTags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AmiTags", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.TargetAccountIds != nil && len(s.TargetAccountIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TargetAccountIds", 1))
+ }
+ if s.LaunchPermission != nil {
+ if err := s.LaunchPermission.Validate(); err != nil {
+ invalidParams.AddNested("LaunchPermission", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAmiTags sets the AmiTags field's value.
+func (s *AmiDistributionConfiguration) SetAmiTags(v map[string]*string) *AmiDistributionConfiguration {
+ s.AmiTags = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *AmiDistributionConfiguration) SetDescription(v string) *AmiDistributionConfiguration {
+ s.Description = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *AmiDistributionConfiguration) SetKmsKeyId(v string) *AmiDistributionConfiguration {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLaunchPermission sets the LaunchPermission field's value.
+func (s *AmiDistributionConfiguration) SetLaunchPermission(v *LaunchPermissionConfiguration) *AmiDistributionConfiguration {
+ s.LaunchPermission = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AmiDistributionConfiguration) SetName(v string) *AmiDistributionConfiguration {
+ s.Name = &v
+ return s
+}
+
+// SetTargetAccountIds sets the TargetAccountIds field's value.
+func (s *AmiDistributionConfiguration) SetTargetAccountIds(v []*string) *AmiDistributionConfiguration {
+ s.TargetAccountIds = v
+ return s
+}
+
+// You have exceeded the permitted request rate for the specific operation.
+type CallRateLimitExceededException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CallRateLimitExceededException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CallRateLimitExceededException) GoString() string {
+ return s.String()
+}
+
+func newErrorCallRateLimitExceededException(v protocol.ResponseMetadata) error {
+ return &CallRateLimitExceededException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *CallRateLimitExceededException) Code() string {
+ return "CallRateLimitExceededException"
+}
+
+// Message returns the exception's message.
+func (s *CallRateLimitExceededException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *CallRateLimitExceededException) OrigErr() error {
+ return nil
+}
+
+func (s *CallRateLimitExceededException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *CallRateLimitExceededException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *CallRateLimitExceededException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type CancelImageCreationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The Amazon Resource Name (ARN) of the image that you want to cancel creation
+ // for.
+ //
+ // ImageBuildVersionArn is a required field
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelImageCreationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelImageCreationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CancelImageCreationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CancelImageCreationInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.ImageBuildVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CancelImageCreationInput) SetClientToken(v string) *CancelImageCreationInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *CancelImageCreationInput) SetImageBuildVersionArn(v string) *CancelImageCreationInput {
+ s.ImageBuildVersionArn = &v
+ return s
+}
+
+type CancelImageCreationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The ARN of the image whose creation this request canceled.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelImageCreationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelImageCreationOutput) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CancelImageCreationOutput) SetClientToken(v string) *CancelImageCreationOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *CancelImageCreationOutput) SetImageBuildVersionArn(v string) *CancelImageCreationOutput {
+ s.ImageBuildVersionArn = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *CancelImageCreationOutput) SetRequestId(v string) *CancelImageCreationOutput {
+ s.RequestId = &v
+ return s
+}
+
+type CancelLifecycleExecutionInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // Identifies the specific runtime instance of the image lifecycle to cancel.
+ //
+ // LifecycleExecutionId is a required field
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelLifecycleExecutionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelLifecycleExecutionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CancelLifecycleExecutionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CancelLifecycleExecutionInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.LifecycleExecutionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("LifecycleExecutionId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CancelLifecycleExecutionInput) SetClientToken(v string) *CancelLifecycleExecutionInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *CancelLifecycleExecutionInput) SetLifecycleExecutionId(v string) *CancelLifecycleExecutionInput {
+ s.LifecycleExecutionId = &v
+ return s
+}
+
+type CancelLifecycleExecutionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the image lifecycle runtime instance that was canceled.
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelLifecycleExecutionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelLifecycleExecutionOutput) GoString() string {
+ return s.String()
+}
+
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *CancelLifecycleExecutionOutput) SetLifecycleExecutionId(v string) *CancelLifecycleExecutionOutput {
+ s.LifecycleExecutionId = &v
+ return s
+}
+
+// These errors are usually caused by a client action, such as using an action
+// or resource on behalf of a user that doesn't have permissions to use the
+// action or resource, or specifying an invalid resource identifier.
+type ClientException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ClientException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ClientException) GoString() string {
+ return s.String()
+}
+
+func newErrorClientException(v protocol.ResponseMetadata) error {
+ return &ClientException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ClientException) Code() string {
+ return "ClientException"
+}
+
+// Message returns the exception's message.
+func (s *ClientException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ClientException) OrigErr() error {
+ return nil
+}
+
+func (s *ClientException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ClientException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ClientException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// A detailed view of a component.
+type Component struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the component.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // The change description of the component.
+ ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
+
+ // Component data contains the YAML document content for the component.
+ Data *string `locationName:"data" type:"string"`
+
+ // The date that Image Builder created the component.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The description of the component.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The encryption status of the component.
+ Encrypted *bool `locationName:"encrypted" type:"boolean"`
+
+ // The KMS key identifier used to encrypt the component.
+ KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+
+ // The name of the component.
+ Name *string `locationName:"name" type:"string"`
+
+ // Indicates whether component source is hidden from view in the console, and
+ // from component detail results for API, CLI, or SDK operations.
+ Obfuscate *bool `locationName:"obfuscate" type:"boolean"`
+
+ // The owner of the component.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
+ // Contains parameter details for each of the parameters that the component
+ // document defined for the component.
+ Parameters []*ComponentParameterDetail `locationName:"parameters" type:"list"`
+
+ // The operating system platform of the component.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+
+ // Contains the name of the publisher if this is a third-party component. Otherwise,
+ // this property is empty.
+ Publisher *string `locationName:"publisher" min:"1" type:"string"`
+
+ // Describes the current status of the component. This is used for components
+ // that are no longer active.
+ State *ComponentState `locationName:"state" type:"structure"`
+
+ // The operating system (OS) version supported by the component. If the OS information
+ // is available, Image Builder performs a prefix match against the base image
+ // OS version during image recipe creation.
+ SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
+
+ // The tags that apply to the component.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The component type specifies whether Image Builder uses the component to
+ // build the image or only to test it.
+ Type *string `locationName:"type" type:"string" enum:"ComponentType"`
+
+ // The version of the component.
+ Version *string `locationName:"version" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Component) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Component) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *Component) SetArn(v string) *Component {
+ s.Arn = &v
+ return s
+}
+
+// SetChangeDescription sets the ChangeDescription field's value.
+func (s *Component) SetChangeDescription(v string) *Component {
+ s.ChangeDescription = &v
+ return s
+}
+
+// SetData sets the Data field's value.
+func (s *Component) SetData(v string) *Component {
+ s.Data = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *Component) SetDateCreated(v string) *Component {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Component) SetDescription(v string) *Component {
+ s.Description = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *Component) SetEncrypted(v bool) *Component {
+ s.Encrypted = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *Component) SetKmsKeyId(v string) *Component {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Component) SetName(v string) *Component {
+ s.Name = &v
+ return s
+}
+
+// SetObfuscate sets the Obfuscate field's value.
+func (s *Component) SetObfuscate(v bool) *Component {
+ s.Obfuscate = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *Component) SetOwner(v string) *Component {
+ s.Owner = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *Component) SetParameters(v []*ComponentParameterDetail) *Component {
+ s.Parameters = v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *Component) SetPlatform(v string) *Component {
+ s.Platform = &v
+ return s
+}
+
+// SetPublisher sets the Publisher field's value.
+func (s *Component) SetPublisher(v string) *Component {
+ s.Publisher = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Component) SetState(v *ComponentState) *Component {
+ s.State = v
+ return s
+}
+
+// SetSupportedOsVersions sets the SupportedOsVersions field's value.
+func (s *Component) SetSupportedOsVersions(v []*string) *Component {
+ s.SupportedOsVersions = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Component) SetTags(v map[string]*string) *Component {
+ s.Tags = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Component) SetType(v string) *Component {
+ s.Type = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *Component) SetVersion(v string) *Component {
+ s.Version = &v
+ return s
+}
+
+// Configuration details of the component.
+type ComponentConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the component.
+ //
+ // ComponentArn is a required field
+ ComponentArn *string `locationName:"componentArn" type:"string" required:"true"`
+
+ // A group of parameter settings that Image Builder uses to configure the component
+ // for a specific recipe.
+ Parameters []*ComponentParameter `locationName:"parameters" min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ComponentConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ComponentConfiguration"}
+ if s.ComponentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ComponentArn"))
+ }
+ if s.Parameters != nil && len(s.Parameters) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Parameters", 1))
+ }
+ if s.Parameters != nil {
+ for i, v := range s.Parameters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Parameters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetComponentArn sets the ComponentArn field's value.
+func (s *ComponentConfiguration) SetComponentArn(v string) *ComponentConfiguration {
+ s.ComponentArn = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ComponentConfiguration) SetParameters(v []*ComponentParameter) *ComponentConfiguration {
+ s.Parameters = v
+ return s
+}
+
+// Contains a key/value pair that sets the named component parameter.
+type ComponentParameter struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the component parameter to set.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+
+ // Sets the value for the named component parameter.
+ //
+ // Value is a required field
+ Value []*string `locationName:"value" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentParameter) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentParameter) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ComponentParameter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ComponentParameter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.Value == nil {
+ invalidParams.Add(request.NewErrParamRequired("Value"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *ComponentParameter) SetName(v string) *ComponentParameter {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ComponentParameter) SetValue(v []*string) *ComponentParameter {
+ s.Value = v
+ return s
+}
+
+// Defines a parameter that is used to provide configuration details for the
+// component.
+type ComponentParameterDetail struct {
+ _ struct{} `type:"structure"`
+
+ // The default value of this parameter if no input is provided.
+ DefaultValue []*string `locationName:"defaultValue" type:"list"`
+
+ // Describes this parameter.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of this input parameter.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+
+ // The type of input this parameter provides. The currently supported value
+ // is "string".
+ //
+ // Type is a required field
+ Type *string `locationName:"type" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentParameterDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentParameterDetail) GoString() string {
+ return s.String()
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *ComponentParameterDetail) SetDefaultValue(v []*string) *ComponentParameterDetail {
+ s.DefaultValue = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ComponentParameterDetail) SetDescription(v string) *ComponentParameterDetail {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ComponentParameterDetail) SetName(v string) *ComponentParameterDetail {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ComponentParameterDetail) SetType(v string) *ComponentParameterDetail {
+ s.Type = &v
+ return s
+}
+
+// A group of fields that describe the current status of components that are
+// no longer active.
+type ComponentState struct {
+ _ struct{} `type:"structure"`
+
+ // Describes how or why the component changed state.
+ Reason *string `locationName:"reason" min:"1" type:"string"`
+
+ // The current state of the component.
+ Status *string `locationName:"status" type:"string" enum:"ComponentStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentState) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentState) GoString() string {
+ return s.String()
+}
+
+// SetReason sets the Reason field's value.
+func (s *ComponentState) SetReason(v string) *ComponentState {
+ s.Reason = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ComponentState) SetStatus(v string) *ComponentState {
+ s.Status = &v
+ return s
+}
+
+// A high-level summary of a component.
+type ComponentSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the component.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // The change description for the current version of the component.
+ ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
+
+ // The original creation date of the component.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The description of the component.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of the component.
+ Name *string `locationName:"name" type:"string"`
+
+ // Indicates whether component source is hidden from view in the console, and
+ // from component detail results for API, CLI, or SDK operations.
+ Obfuscate *bool `locationName:"obfuscate" type:"boolean"`
+
+ // The owner of the component.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
+ // The operating system platform of the component.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+
+ // Contains the name of the publisher if this is a third-party component. Otherwise,
+ // this property is empty.
+ Publisher *string `locationName:"publisher" min:"1" type:"string"`
+
+ // Describes the current status of the component.
+ State *ComponentState `locationName:"state" type:"structure"`
+
+ // The operating system (OS) version that the component supports. If the OS
+ // information is available, Image Builder performs a prefix match against the
+ // base image OS version during image recipe creation.
+ SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
+
+ // The tags that apply to the component.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The component type specifies whether Image Builder uses the component to
+ // build the image or only to test it.
+ Type *string `locationName:"type" type:"string" enum:"ComponentType"`
+
+ // The version of the component.
+ Version *string `locationName:"version" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentSummary) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ComponentSummary) SetArn(v string) *ComponentSummary {
+ s.Arn = &v
+ return s
+}
+
+// SetChangeDescription sets the ChangeDescription field's value.
+func (s *ComponentSummary) SetChangeDescription(v string) *ComponentSummary {
+ s.ChangeDescription = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *ComponentSummary) SetDateCreated(v string) *ComponentSummary {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ComponentSummary) SetDescription(v string) *ComponentSummary {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ComponentSummary) SetName(v string) *ComponentSummary {
+ s.Name = &v
+ return s
+}
+
+// SetObfuscate sets the Obfuscate field's value.
+func (s *ComponentSummary) SetObfuscate(v bool) *ComponentSummary {
+ s.Obfuscate = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ComponentSummary) SetOwner(v string) *ComponentSummary {
+ s.Owner = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ComponentSummary) SetPlatform(v string) *ComponentSummary {
+ s.Platform = &v
+ return s
+}
+
+// SetPublisher sets the Publisher field's value.
+func (s *ComponentSummary) SetPublisher(v string) *ComponentSummary {
+ s.Publisher = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ComponentSummary) SetState(v *ComponentState) *ComponentSummary {
+ s.State = v
+ return s
+}
+
+// SetSupportedOsVersions sets the SupportedOsVersions field's value.
+func (s *ComponentSummary) SetSupportedOsVersions(v []*string) *ComponentSummary {
+ s.SupportedOsVersions = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ComponentSummary) SetTags(v map[string]*string) *ComponentSummary {
+ s.Tags = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ComponentSummary) SetType(v string) *ComponentSummary {
+ s.Type = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *ComponentSummary) SetVersion(v string) *ComponentSummary {
+ s.Version = &v
+ return s
+}
+
+// The defining characteristics of a specific version of an Amazon Web Services
+// TOE component.
+type ComponentVersion struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the component.
+ //
+ // Semantic versioning is included in each object's Amazon Resource Name (ARN),
+ // at the level that applies to that object as follows:
+ //
+ // Versionless ARNs and Name ARNs do not include specific values in any of the
+ // nodes. The nodes are either left off entirely, or they are specified as wildcards,
+ // for example: x.x.x.
+ //
+ // Version ARNs have only the first three nodes: ..
+ //
+ // Build version ARNs have all four nodes, and point to a specific build for
+ // a specific version of an object.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // The date that the component was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The description of the component.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of the component.
+ Name *string `locationName:"name" type:"string"`
+
+ // The owner of the component.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
+ // The platform of the component.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+
+ // he operating system (OS) version supported by the component. If the OS information
+ // is available, a prefix match is performed against the base image OS version
+ // during image recipe creation.
+ SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
+
+ // The type of the component denotes whether the component is used to build
+ // the image or only to test it.
+ Type *string `locationName:"type" type:"string" enum:"ComponentType"`
+
+ // The semantic version of the component.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // Filtering: With semantic versioning, you have the flexibility to use wildcards
+ // (x) to specify the most recent versions or nodes when selecting the base
+ // image or components for your recipe. When you use a wildcard in any node,
+ // all nodes to the right of the first wildcard must also be wildcards.
+ Version *string `locationName:"version" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentVersion) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentVersion) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ComponentVersion) SetArn(v string) *ComponentVersion {
+ s.Arn = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *ComponentVersion) SetDateCreated(v string) *ComponentVersion {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ComponentVersion) SetDescription(v string) *ComponentVersion {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ComponentVersion) SetName(v string) *ComponentVersion {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ComponentVersion) SetOwner(v string) *ComponentVersion {
+ s.Owner = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ComponentVersion) SetPlatform(v string) *ComponentVersion {
+ s.Platform = &v
+ return s
+}
+
+// SetSupportedOsVersions sets the SupportedOsVersions field's value.
+func (s *ComponentVersion) SetSupportedOsVersions(v []*string) *ComponentVersion {
+ s.SupportedOsVersions = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ComponentVersion) SetType(v string) *ComponentVersion {
+ s.Type = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *ComponentVersion) SetVersion(v string) *ComponentVersion {
+ s.Version = &v
+ return s
+}
+
+// A container encapsulates the runtime environment for an application.
+type Container struct {
+ _ struct{} `type:"structure"`
+
+ // A list of URIs for containers created in the context Region.
+ ImageUris []*string `locationName:"imageUris" type:"list"`
+
+ // Containers and container images are Region-specific. This is the Region context
+ // for the container.
+ Region *string `locationName:"region" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Container) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Container) GoString() string {
+ return s.String()
+}
+
+// SetImageUris sets the ImageUris field's value.
+func (s *Container) SetImageUris(v []*string) *Container {
+ s.ImageUris = v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *Container) SetRegion(v string) *Container {
+ s.Region = &v
+ return s
+}
+
+// Container distribution settings for encryption, licensing, and sharing in
+// a specific Region.
+type ContainerDistributionConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // Tags that are attached to the container distribution configuration.
+ ContainerTags []*string `locationName:"containerTags" type:"list"`
+
+ // The description of the container distribution configuration.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The destination repository for the container distribution configuration.
+ //
+ // TargetRepository is a required field
+ TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ContainerDistributionConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ContainerDistributionConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ContainerDistributionConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ContainerDistributionConfiguration"}
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.TargetRepository == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetRepository"))
+ }
+ if s.TargetRepository != nil {
+ if err := s.TargetRepository.Validate(); err != nil {
+ invalidParams.AddNested("TargetRepository", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetContainerTags sets the ContainerTags field's value.
+func (s *ContainerDistributionConfiguration) SetContainerTags(v []*string) *ContainerDistributionConfiguration {
+ s.ContainerTags = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ContainerDistributionConfiguration) SetDescription(v string) *ContainerDistributionConfiguration {
+ s.Description = &v
+ return s
+}
+
+// SetTargetRepository sets the TargetRepository field's value.
+func (s *ContainerDistributionConfiguration) SetTargetRepository(v *TargetContainerRepository) *ContainerDistributionConfiguration {
+ s.TargetRepository = v
+ return s
+}
+
+// A container recipe.
+type ContainerRecipe struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the container recipe.
+ //
+ // Semantic versioning is included in each object's Amazon Resource Name (ARN),
+ // at the level that applies to that object as follows:
+ //
+ // Versionless ARNs and Name ARNs do not include specific values in any of the
+ // nodes. The nodes are either left off entirely, or they are specified as wildcards,
+ // for example: x.x.x.
+ //
+ // Version ARNs have only the first three nodes: ..
+ //
+ // Build version ARNs have all four nodes, and point to a specific build for
+ // a specific version of an object.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // Build and test components that are included in the container recipe. Recipes
+ // require a minimum of one build component, and can have a maximum of 20 build
+ // and test components in any combination.
+ Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list"`
+
+ // Specifies the type of container, such as Docker.
+ ContainerType *string `locationName:"containerType" type:"string" enum:"ContainerType"`
+
+ // The date when this container recipe was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The description of the container recipe.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // Dockerfiles are text documents that are used to build Docker containers,
+ // and ensure that they contain all of the elements required by the application
+ // running inside. The template data consists of contextual variables where
+ // Image Builder places build information or scripts, based on your container
+ // image recipe.
+ DockerfileTemplateData *string `locationName:"dockerfileTemplateData" type:"string"`
+
+ // A flag that indicates if the target container is encrypted.
+ Encrypted *bool `locationName:"encrypted" type:"boolean"`
+
+ // A group of options that can be used to configure an instance for building
+ // and testing container images.
+ InstanceConfiguration *InstanceConfiguration `locationName:"instanceConfiguration" type:"structure"`
+
+ // Identifies which KMS key is used to encrypt the container image for distribution
+ // to the target Region.
+ KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+
+ // The name of the container recipe.
+ Name *string `locationName:"name" type:"string"`
+
+ // The owner of the container recipe.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
+ // The base image for the container recipe.
+ ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
+
+ // The system platform for the container, such as Windows or Linux.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+
+ // Tags that are attached to the container recipe.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The destination repository for the container image.
+ TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure"`
+
+ // The semantic version of the container recipe.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // Filtering: With semantic versioning, you have the flexibility to use wildcards
+ // (x) to specify the most recent versions or nodes when selecting the base
+ // image or components for your recipe. When you use a wildcard in any node,
+ // all nodes to the right of the first wildcard must also be wildcards.
+ Version *string `locationName:"version" type:"string"`
+
+ // The working directory for use during build and test workflows.
+ WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ContainerRecipe) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ContainerRecipe) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ContainerRecipe) SetArn(v string) *ContainerRecipe {
+ s.Arn = &v
+ return s
+}
+
+// SetComponents sets the Components field's value.
+func (s *ContainerRecipe) SetComponents(v []*ComponentConfiguration) *ContainerRecipe {
+ s.Components = v
+ return s
+}
+
+// SetContainerType sets the ContainerType field's value.
+func (s *ContainerRecipe) SetContainerType(v string) *ContainerRecipe {
+ s.ContainerType = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *ContainerRecipe) SetDateCreated(v string) *ContainerRecipe {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ContainerRecipe) SetDescription(v string) *ContainerRecipe {
+ s.Description = &v
+ return s
+}
+
+// SetDockerfileTemplateData sets the DockerfileTemplateData field's value.
+func (s *ContainerRecipe) SetDockerfileTemplateData(v string) *ContainerRecipe {
+ s.DockerfileTemplateData = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *ContainerRecipe) SetEncrypted(v bool) *ContainerRecipe {
+ s.Encrypted = &v
+ return s
+}
+
+// SetInstanceConfiguration sets the InstanceConfiguration field's value.
+func (s *ContainerRecipe) SetInstanceConfiguration(v *InstanceConfiguration) *ContainerRecipe {
+ s.InstanceConfiguration = v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *ContainerRecipe) SetKmsKeyId(v string) *ContainerRecipe {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ContainerRecipe) SetName(v string) *ContainerRecipe {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ContainerRecipe) SetOwner(v string) *ContainerRecipe {
+ s.Owner = &v
+ return s
+}
+
+// SetParentImage sets the ParentImage field's value.
+func (s *ContainerRecipe) SetParentImage(v string) *ContainerRecipe {
+ s.ParentImage = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ContainerRecipe) SetPlatform(v string) *ContainerRecipe {
+ s.Platform = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ContainerRecipe) SetTags(v map[string]*string) *ContainerRecipe {
+ s.Tags = v
+ return s
+}
+
+// SetTargetRepository sets the TargetRepository field's value.
+func (s *ContainerRecipe) SetTargetRepository(v *TargetContainerRepository) *ContainerRecipe {
+ s.TargetRepository = v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *ContainerRecipe) SetVersion(v string) *ContainerRecipe {
+ s.Version = &v
+ return s
+}
+
+// SetWorkingDirectory sets the WorkingDirectory field's value.
+func (s *ContainerRecipe) SetWorkingDirectory(v string) *ContainerRecipe {
+ s.WorkingDirectory = &v
+ return s
+}
+
+// A summary of a container recipe
+type ContainerRecipeSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the container recipe.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // Specifies the type of container, such as "Docker".
+ ContainerType *string `locationName:"containerType" type:"string" enum:"ContainerType"`
+
+ // The date when this container recipe was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The name of the container recipe.
+ Name *string `locationName:"name" type:"string"`
+
+ // The owner of the container recipe.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
+ // The base image for the container recipe.
+ ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
+
+ // The system platform for the container, such as Windows or Linux.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+
+ // Tags that are attached to the container recipe.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ContainerRecipeSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ContainerRecipeSummary) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ContainerRecipeSummary) SetArn(v string) *ContainerRecipeSummary {
+ s.Arn = &v
+ return s
+}
+
+// SetContainerType sets the ContainerType field's value.
+func (s *ContainerRecipeSummary) SetContainerType(v string) *ContainerRecipeSummary {
+ s.ContainerType = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *ContainerRecipeSummary) SetDateCreated(v string) *ContainerRecipeSummary {
+ s.DateCreated = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ContainerRecipeSummary) SetName(v string) *ContainerRecipeSummary {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ContainerRecipeSummary) SetOwner(v string) *ContainerRecipeSummary {
+ s.Owner = &v
+ return s
+}
+
+// SetParentImage sets the ParentImage field's value.
+func (s *ContainerRecipeSummary) SetParentImage(v string) *ContainerRecipeSummary {
+ s.ParentImage = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ContainerRecipeSummary) SetPlatform(v string) *ContainerRecipeSummary {
+ s.Platform = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ContainerRecipeSummary) SetTags(v map[string]*string) *ContainerRecipeSummary {
+ s.Tags = v
+ return s
+}
+
+type CreateComponentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The change description of the component. Describes what change has been made
+ // in this version, or what makes this version different from other versions
+ // of this component.
+ ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
+
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // Component data contains inline YAML document content for the component. Alternatively,
+ // you can specify the uri of a YAML document file stored in Amazon S3. However,
+ // you cannot specify both properties.
+ Data *string `locationName:"data" min:"1" type:"string"`
+
+ // Describes the contents of the component.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The ID of the KMS key that is used to encrypt this component.
+ KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+
+ // The name of the component.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The operating system platform of the component.
+ //
+ // Platform is a required field
+ Platform *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`
+
+ // The semantic version of the component. This version follows the semantic
+ // version syntax.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // SemanticVersion is a required field
+ SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
+
+ // The operating system (OS) version supported by the component. If the OS information
+ // is available, a prefix match is performed against the base image OS version
+ // during image recipe creation.
+ SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
+
+ // The tags that apply to the component.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The uri of a YAML component document file. This must be an S3 URL (s3://bucket/key),
+ // and the requester must have permission to access the S3 bucket it points
+ // to. If you use Amazon S3, you can specify component content up to your service
+ // quota.
+ //
+ // Alternatively, you can specify the YAML document inline, using the component
+ // data property. You cannot specify both properties.
+ Uri *string `locationName:"uri" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateComponentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateComponentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateComponentInput"}
+ if s.ChangeDescription != nil && len(*s.ChangeDescription) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ChangeDescription", 1))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Data != nil && len(*s.Data) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Data", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Platform == nil {
+ invalidParams.Add(request.NewErrParamRequired("Platform"))
+ }
+ if s.SemanticVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
+ }
+ if s.SupportedOsVersions != nil && len(s.SupportedOsVersions) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SupportedOsVersions", 1))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetChangeDescription sets the ChangeDescription field's value.
+func (s *CreateComponentInput) SetChangeDescription(v string) *CreateComponentInput {
+ s.ChangeDescription = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateComponentInput) SetClientToken(v string) *CreateComponentInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetData sets the Data field's value.
+func (s *CreateComponentInput) SetData(v string) *CreateComponentInput {
+ s.Data = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateComponentInput) SetDescription(v string) *CreateComponentInput {
+ s.Description = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateComponentInput) SetKmsKeyId(v string) *CreateComponentInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateComponentInput) SetName(v string) *CreateComponentInput {
+ s.Name = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *CreateComponentInput) SetPlatform(v string) *CreateComponentInput {
+ s.Platform = &v
+ return s
+}
+
+// SetSemanticVersion sets the SemanticVersion field's value.
+func (s *CreateComponentInput) SetSemanticVersion(v string) *CreateComponentInput {
+ s.SemanticVersion = &v
+ return s
+}
+
+// SetSupportedOsVersions sets the SupportedOsVersions field's value.
+func (s *CreateComponentInput) SetSupportedOsVersions(v []*string) *CreateComponentInput {
+ s.SupportedOsVersions = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateComponentInput) SetTags(v map[string]*string) *CreateComponentInput {
+ s.Tags = v
+ return s
+}
+
+// SetUri sets the Uri field's value.
+func (s *CreateComponentInput) SetUri(v string) *CreateComponentInput {
+ s.Uri = &v
+ return s
+}
+
+type CreateComponentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the component that the request created.
+ ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateComponentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateComponentOutput) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateComponentOutput) SetClientToken(v string) *CreateComponentOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
+func (s *CreateComponentOutput) SetComponentBuildVersionArn(v string) *CreateComponentOutput {
+ s.ComponentBuildVersionArn = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *CreateComponentOutput) SetRequestId(v string) *CreateComponentOutput {
+ s.RequestId = &v
+ return s
+}
+
+type CreateContainerRecipeInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // Components for build and test that are included in the container recipe.
+ // Recipes require a minimum of one build component, and can have a maximum
+ // of 20 build and test components in any combination.
+ //
+ // Components is a required field
+ Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list" required:"true"`
+
+ // The type of container to create.
+ //
+ // ContainerType is a required field
+ ContainerType *string `locationName:"containerType" type:"string" required:"true" enum:"ContainerType"`
+
+ // The description of the container recipe.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The Dockerfile template used to build your image as an inline data blob.
+ DockerfileTemplateData *string `locationName:"dockerfileTemplateData" min:"1" type:"string"`
+
+ // The Amazon S3 URI for the Dockerfile that will be used to build your container
+ // image.
+ DockerfileTemplateUri *string `locationName:"dockerfileTemplateUri" type:"string"`
+
+ // Specifies the operating system version for the base image.
+ ImageOsVersionOverride *string `locationName:"imageOsVersionOverride" min:"1" type:"string"`
+
+ // A group of options that can be used to configure an instance for building
+ // and testing container images.
+ InstanceConfiguration *InstanceConfiguration `locationName:"instanceConfiguration" type:"structure"`
+
+ // Identifies which KMS key is used to encrypt the container image.
+ KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+
+ // The name of the container recipe.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The base image for the container recipe.
+ //
+ // ParentImage is a required field
+ ParentImage *string `locationName:"parentImage" min:"1" type:"string" required:"true"`
+
+ // Specifies the operating system platform when you use a custom base image.
+ PlatformOverride *string `locationName:"platformOverride" type:"string" enum:"Platform"`
+
+ // The semantic version of the container recipe. This version follows the semantic
+ // version syntax.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // SemanticVersion is a required field
+ SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
+
+ // Tags that are attached to the container recipe.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The destination repository for the container image.
+ //
+ // TargetRepository is a required field
+ TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure" required:"true"`
+
+ // The working directory for use during build and test workflows.
+ WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateContainerRecipeInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateContainerRecipeInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateContainerRecipeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateContainerRecipeInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Components == nil {
+ invalidParams.Add(request.NewErrParamRequired("Components"))
+ }
+ if s.Components != nil && len(s.Components) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Components", 1))
+ }
+ if s.ContainerType == nil {
+ invalidParams.Add(request.NewErrParamRequired("ContainerType"))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.DockerfileTemplateData != nil && len(*s.DockerfileTemplateData) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DockerfileTemplateData", 1))
+ }
+ if s.ImageOsVersionOverride != nil && len(*s.ImageOsVersionOverride) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ImageOsVersionOverride", 1))
+ }
+ if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.ParentImage == nil {
+ invalidParams.Add(request.NewErrParamRequired("ParentImage"))
+ }
+ if s.ParentImage != nil && len(*s.ParentImage) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ParentImage", 1))
+ }
+ if s.SemanticVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.TargetRepository == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetRepository"))
+ }
+ if s.WorkingDirectory != nil && len(*s.WorkingDirectory) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("WorkingDirectory", 1))
+ }
+ if s.Components != nil {
+ for i, v := range s.Components {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Components", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.InstanceConfiguration != nil {
+ if err := s.InstanceConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("InstanceConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.TargetRepository != nil {
+ if err := s.TargetRepository.Validate(); err != nil {
+ invalidParams.AddNested("TargetRepository", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateContainerRecipeInput) SetClientToken(v string) *CreateContainerRecipeInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetComponents sets the Components field's value.
+func (s *CreateContainerRecipeInput) SetComponents(v []*ComponentConfiguration) *CreateContainerRecipeInput {
+ s.Components = v
+ return s
+}
+
+// SetContainerType sets the ContainerType field's value.
+func (s *CreateContainerRecipeInput) SetContainerType(v string) *CreateContainerRecipeInput {
+ s.ContainerType = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateContainerRecipeInput) SetDescription(v string) *CreateContainerRecipeInput {
+ s.Description = &v
+ return s
+}
+
+// SetDockerfileTemplateData sets the DockerfileTemplateData field's value.
+func (s *CreateContainerRecipeInput) SetDockerfileTemplateData(v string) *CreateContainerRecipeInput {
+ s.DockerfileTemplateData = &v
+ return s
+}
+
+// SetDockerfileTemplateUri sets the DockerfileTemplateUri field's value.
+func (s *CreateContainerRecipeInput) SetDockerfileTemplateUri(v string) *CreateContainerRecipeInput {
+ s.DockerfileTemplateUri = &v
+ return s
+}
+
+// SetImageOsVersionOverride sets the ImageOsVersionOverride field's value.
+func (s *CreateContainerRecipeInput) SetImageOsVersionOverride(v string) *CreateContainerRecipeInput {
+ s.ImageOsVersionOverride = &v
+ return s
+}
+
+// SetInstanceConfiguration sets the InstanceConfiguration field's value.
+func (s *CreateContainerRecipeInput) SetInstanceConfiguration(v *InstanceConfiguration) *CreateContainerRecipeInput {
+ s.InstanceConfiguration = v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateContainerRecipeInput) SetKmsKeyId(v string) *CreateContainerRecipeInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateContainerRecipeInput) SetName(v string) *CreateContainerRecipeInput {
+ s.Name = &v
+ return s
+}
+
+// SetParentImage sets the ParentImage field's value.
+func (s *CreateContainerRecipeInput) SetParentImage(v string) *CreateContainerRecipeInput {
+ s.ParentImage = &v
+ return s
+}
+
+// SetPlatformOverride sets the PlatformOverride field's value.
+func (s *CreateContainerRecipeInput) SetPlatformOverride(v string) *CreateContainerRecipeInput {
+ s.PlatformOverride = &v
+ return s
+}
+
+// SetSemanticVersion sets the SemanticVersion field's value.
+func (s *CreateContainerRecipeInput) SetSemanticVersion(v string) *CreateContainerRecipeInput {
+ s.SemanticVersion = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateContainerRecipeInput) SetTags(v map[string]*string) *CreateContainerRecipeInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetRepository sets the TargetRepository field's value.
+func (s *CreateContainerRecipeInput) SetTargetRepository(v *TargetContainerRepository) *CreateContainerRecipeInput {
+ s.TargetRepository = v
+ return s
+}
+
+// SetWorkingDirectory sets the WorkingDirectory field's value.
+func (s *CreateContainerRecipeInput) SetWorkingDirectory(v string) *CreateContainerRecipeInput {
+ s.WorkingDirectory = &v
+ return s
+}
+
+type CreateContainerRecipeOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // Returns the Amazon Resource Name (ARN) of the container recipe that the request
+ // created.
+ ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
+}
+
+// String returns the string representation.
//
-// Image Builder does not automatically install the Systems Manager agent on
-// Windows instances. If your base image includes the Systems Manager agent,
-// then the AMI that you create will also include the agent. For Linux instances,
-// if the base image does not already include the Systems Manager agent, Image
-// Builder installs it. For Linux instances where Image Builder installs the
-// Systems Manager agent, you can choose whether to keep it for the AMI that
-// you create.
-type AdditionalInstanceConfiguration struct {
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateContainerRecipeOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateContainerRecipeOutput) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateContainerRecipeOutput) SetClientToken(v string) *CreateContainerRecipeOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *CreateContainerRecipeOutput) SetContainerRecipeArn(v string) *CreateContainerRecipeOutput {
+ s.ContainerRecipeArn = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *CreateContainerRecipeOutput) SetRequestId(v string) *CreateContainerRecipeOutput {
+ s.RequestId = &v
+ return s
+}
+
+type CreateDistributionConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The description of the distribution configuration.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The distributions of the distribution configuration.
+ //
+ // Distributions is a required field
+ Distributions []*Distribution `locationName:"distributions" type:"list" required:"true"`
+
+ // The name of the distribution configuration.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The tags of the distribution configuration.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateDistributionConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateDistributionConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateDistributionConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateDistributionConfigurationInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.Distributions == nil {
+ invalidParams.Add(request.NewErrParamRequired("Distributions"))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Distributions != nil {
+ for i, v := range s.Distributions {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Distributions", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateDistributionConfigurationInput) SetClientToken(v string) *CreateDistributionConfigurationInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateDistributionConfigurationInput) SetDescription(v string) *CreateDistributionConfigurationInput {
+ s.Description = &v
+ return s
+}
+
+// SetDistributions sets the Distributions field's value.
+func (s *CreateDistributionConfigurationInput) SetDistributions(v []*Distribution) *CreateDistributionConfigurationInput {
+ s.Distributions = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateDistributionConfigurationInput) SetName(v string) *CreateDistributionConfigurationInput {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDistributionConfigurationInput) SetTags(v map[string]*string) *CreateDistributionConfigurationInput {
+ s.Tags = v
+ return s
+}
+
+type CreateDistributionConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the distribution configuration that was
+ // created by this request.
+ DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateDistributionConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateDistributionConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateDistributionConfigurationOutput) SetClientToken(v string) *CreateDistributionConfigurationOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
+func (s *CreateDistributionConfigurationOutput) SetDistributionConfigurationArn(v string) *CreateDistributionConfigurationOutput {
+ s.DistributionConfigurationArn = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *CreateDistributionConfigurationOutput) SetRequestId(v string) *CreateDistributionConfigurationOutput {
+ s.RequestId = &v
+ return s
+}
+
+type CreateImageInput struct {
_ struct{} `type:"structure"`
- // Contains settings for the Systems Manager agent on your build instance.
- SystemsManagerAgent *SystemsManagerAgent `locationName:"systemsManagerAgent" type:"structure"`
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The Amazon Resource Name (ARN) of the container recipe that defines how images
+ // are configured and tested.
+ ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the distribution configuration that defines
+ // and configures the outputs of your pipeline.
+ DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
+
+ // Collects additional information about the image being created, including
+ // the operating system (OS) version and package list. This information is used
+ // to enhance the overall experience of using EC2 Image Builder. Enabled by
+ // default.
+ EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
- // Use this property to provide commands or a command script to run when you
- // launch your build instance.
- //
- // The userDataOverride property replaces any commands that Image Builder might
- // have added to ensure that Systems Manager is installed on your Linux build
- // instance. If you override the user data, make sure that you add commands
- // to install Systems Manager, if it is not pre-installed on your base image.
- //
- // The user data is always base 64 encoded. For example, the following commands
- // are encoded as IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
- //
- // #!/bin/bash
- //
- // mkdir -p /var/bb/
+ // The Amazon Resource Name (ARN) of the image recipe that defines how images
+ // are configured, tested, and assessed.
+ ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
+
+ // Contains settings for vulnerability scans.
+ ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
+
+ // The image tests configuration of the image.
+ ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the infrastructure configuration that defines
+ // the environment in which your image will be built and tested.
//
- // touch /var
- UserDataOverride *string `locationName:"userDataOverride" min:"1" type:"string"`
+ // InfrastructureConfigurationArn is a required field
+ InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"`
+
+ // The tags of the image.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -6667,7 +10334,7 @@ type AdditionalInstanceConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AdditionalInstanceConfiguration) String() string {
+func (s CreateImageInput) String() string {
return awsutil.Prettify(s)
}
@@ -6676,15 +10343,31 @@ func (s AdditionalInstanceConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AdditionalInstanceConfiguration) GoString() string {
+func (s CreateImageInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *AdditionalInstanceConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AdditionalInstanceConfiguration"}
- if s.UserDataOverride != nil && len(*s.UserDataOverride) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("UserDataOverride", 1))
+func (s *CreateImageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateImageInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.InfrastructureConfigurationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InfrastructureConfigurationArn"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.ImageScanningConfiguration != nil {
+ if err := s.ImageScanningConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("ImageScanningConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.ImageTestsConfiguration != nil {
+ if err := s.ImageTestsConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("ImageTestsConfiguration", err.(request.ErrInvalidParams))
+ }
}
if invalidParams.Len() > 0 {
@@ -6693,40 +10376,71 @@ func (s *AdditionalInstanceConfiguration) Validate() error {
return nil
}
-// SetSystemsManagerAgent sets the SystemsManagerAgent field's value.
-func (s *AdditionalInstanceConfiguration) SetSystemsManagerAgent(v *SystemsManagerAgent) *AdditionalInstanceConfiguration {
- s.SystemsManagerAgent = v
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateImageInput) SetClientToken(v string) *CreateImageInput {
+ s.ClientToken = &v
return s
}
-// SetUserDataOverride sets the UserDataOverride field's value.
-func (s *AdditionalInstanceConfiguration) SetUserDataOverride(v string) *AdditionalInstanceConfiguration {
- s.UserDataOverride = &v
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *CreateImageInput) SetContainerRecipeArn(v string) *CreateImageInput {
+ s.ContainerRecipeArn = &v
return s
}
-// Details of an Amazon EC2 AMI.
-type Ami struct {
- _ struct{} `type:"structure"`
+// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
+func (s *CreateImageInput) SetDistributionConfigurationArn(v string) *CreateImageInput {
+ s.DistributionConfigurationArn = &v
+ return s
+}
- // The account ID of the owner of the AMI.
- AccountId *string `locationName:"accountId" min:"1" type:"string"`
+// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
+func (s *CreateImageInput) SetEnhancedImageMetadataEnabled(v bool) *CreateImageInput {
+ s.EnhancedImageMetadataEnabled = &v
+ return s
+}
- // The description of the Amazon EC2 AMI. Minimum and maximum length are in
- // characters.
- Description *string `locationName:"description" min:"1" type:"string"`
+// SetImageRecipeArn sets the ImageRecipeArn field's value.
+func (s *CreateImageInput) SetImageRecipeArn(v string) *CreateImageInput {
+ s.ImageRecipeArn = &v
+ return s
+}
- // The AMI ID of the Amazon EC2 AMI.
- Image *string `locationName:"image" min:"1" type:"string"`
+// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
+func (s *CreateImageInput) SetImageScanningConfiguration(v *ImageScanningConfiguration) *CreateImageInput {
+ s.ImageScanningConfiguration = v
+ return s
+}
- // The name of the Amazon EC2 AMI.
- Name *string `locationName:"name" min:"1" type:"string"`
+// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
+func (s *CreateImageInput) SetImageTestsConfiguration(v *ImageTestsConfiguration) *CreateImageInput {
+ s.ImageTestsConfiguration = v
+ return s
+}
- // The Amazon Web Services Region of the Amazon EC2 AMI.
- Region *string `locationName:"region" min:"1" type:"string"`
+// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
+func (s *CreateImageInput) SetInfrastructureConfigurationArn(v string) *CreateImageInput {
+ s.InfrastructureConfigurationArn = &v
+ return s
+}
- // Image status and the reason for that status.
- State *ImageState `locationName:"state" type:"structure"`
+// SetTags sets the Tags field's value.
+func (s *CreateImageInput) SetTags(v map[string]*string) *CreateImageInput {
+ s.Tags = v
+ return s
+}
+
+type CreateImageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the image that the request created.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -6734,7 +10448,7 @@ type Ami struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Ami) String() string {
+func (s CreateImageOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6743,69 +10457,82 @@ func (s Ami) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Ami) GoString() string {
+func (s CreateImageOutput) GoString() string {
return s.String()
}
-// SetAccountId sets the AccountId field's value.
-func (s *Ami) SetAccountId(v string) *Ami {
- s.AccountId = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateImageOutput) SetClientToken(v string) *CreateImageOutput {
+ s.ClientToken = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *Ami) SetDescription(v string) *Ami {
- s.Description = &v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *CreateImageOutput) SetImageBuildVersionArn(v string) *CreateImageOutput {
+ s.ImageBuildVersionArn = &v
return s
}
-// SetImage sets the Image field's value.
-func (s *Ami) SetImage(v string) *Ami {
- s.Image = &v
+// SetRequestId sets the RequestId field's value.
+func (s *CreateImageOutput) SetRequestId(v string) *CreateImageOutput {
+ s.RequestId = &v
return s
}
-// SetName sets the Name field's value.
-func (s *Ami) SetName(v string) *Ami {
- s.Name = &v
- return s
-}
+type CreateImagePipelineInput struct {
+ _ struct{} `type:"structure"`
-// SetRegion sets the Region field's value.
-func (s *Ami) SetRegion(v string) *Ami {
- s.Region = &v
- return s
-}
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-// SetState sets the State field's value.
-func (s *Ami) SetState(v *ImageState) *Ami {
- s.State = v
- return s
-}
+ // The Amazon Resource Name (ARN) of the container recipe that is used to configure
+ // images created by this container pipeline.
+ ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
-// Define and configure the output AMIs of the pipeline.
-type AmiDistributionConfiguration struct {
- _ struct{} `type:"structure"`
+ // The description of the image pipeline.
+ Description *string `locationName:"description" min:"1" type:"string"`
- // The tags to apply to AMIs distributed to this Region.
- AmiTags map[string]*string `locationName:"amiTags" min:"1" type:"map"`
+ // The Amazon Resource Name (ARN) of the distribution configuration that will
+ // be used to configure and distribute images created by this image pipeline.
+ DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
- // The description of the AMI distribution configuration. Minimum and maximum
- // length are in characters.
- Description *string `locationName:"description" min:"1" type:"string"`
+ // Collects additional information about the image being created, including
+ // the operating system (OS) version and package list. This information is used
+ // to enhance the overall experience of using EC2 Image Builder. Enabled by
+ // default.
+ EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
- // The KMS key identifier used to encrypt the distributed image.
- KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the image recipe that will be used to configure
+ // images created by this image pipeline.
+ ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
- // Launch permissions can be used to configure which Amazon Web Services accounts
- // can use the AMI to launch instances.
- LaunchPermission *LaunchPermissionConfiguration `locationName:"launchPermission" type:"structure"`
+ // Contains settings for vulnerability scans.
+ ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
- // The name of the output AMI.
- Name *string `locationName:"name" min:"1" type:"string"`
+ // The image test configuration of the image pipeline.
+ ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
- // The ID of an account to which you want to distribute an image.
- TargetAccountIds []*string `locationName:"targetAccountIds" min:"1" type:"list"`
+ // The Amazon Resource Name (ARN) of the infrastructure configuration that will
+ // be used to build images created by this image pipeline.
+ //
+ // InfrastructureConfigurationArn is a required field
+ InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"`
+
+ // The name of the image pipeline.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The schedule of the image pipeline.
+ Schedule *Schedule `locationName:"schedule" type:"structure"`
+
+ // The status of the image pipeline.
+ Status *string `locationName:"status" type:"string" enum:"PipelineStatus"`
+
+ // The tags of the image pipeline.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -6813,7 +10540,7 @@ type AmiDistributionConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AmiDistributionConfiguration) String() string {
+func (s CreateImagePipelineInput) String() string {
return awsutil.Prettify(s)
}
@@ -6822,31 +10549,41 @@ func (s AmiDistributionConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AmiDistributionConfiguration) GoString() string {
+func (s CreateImagePipelineInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *AmiDistributionConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AmiDistributionConfiguration"}
- if s.AmiTags != nil && len(s.AmiTags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("AmiTags", 1))
+func (s *CreateImagePipelineInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateImagePipelineInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
}
if s.Description != nil && len(*s.Description) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Description", 1))
}
- if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
+ if s.InfrastructureConfigurationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InfrastructureConfigurationArn"))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
}
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
}
- if s.TargetAccountIds != nil && len(s.TargetAccountIds) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("TargetAccountIds", 1))
+ if s.ImageScanningConfiguration != nil {
+ if err := s.ImageScanningConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("ImageScanningConfiguration", err.(request.ErrInvalidParams))
+ }
}
- if s.LaunchPermission != nil {
- if err := s.LaunchPermission.Validate(); err != nil {
- invalidParams.AddNested("LaunchPermission", err.(request.ErrInvalidParams))
+ if s.ImageTestsConfiguration != nil {
+ if err := s.ImageTestsConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("ImageTestsConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Schedule != nil {
+ if err := s.Schedule.Validate(); err != nil {
+ invalidParams.AddNested("Schedule", err.(request.ErrInvalidParams))
}
}
@@ -6856,48 +10593,96 @@ func (s *AmiDistributionConfiguration) Validate() error {
return nil
}
-// SetAmiTags sets the AmiTags field's value.
-func (s *AmiDistributionConfiguration) SetAmiTags(v map[string]*string) *AmiDistributionConfiguration {
- s.AmiTags = v
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateImagePipelineInput) SetClientToken(v string) *CreateImagePipelineInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *CreateImagePipelineInput) SetContainerRecipeArn(v string) *CreateImagePipelineInput {
+ s.ContainerRecipeArn = &v
return s
}
// SetDescription sets the Description field's value.
-func (s *AmiDistributionConfiguration) SetDescription(v string) *AmiDistributionConfiguration {
+func (s *CreateImagePipelineInput) SetDescription(v string) *CreateImagePipelineInput {
s.Description = &v
return s
}
-// SetKmsKeyId sets the KmsKeyId field's value.
-func (s *AmiDistributionConfiguration) SetKmsKeyId(v string) *AmiDistributionConfiguration {
- s.KmsKeyId = &v
+// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
+func (s *CreateImagePipelineInput) SetDistributionConfigurationArn(v string) *CreateImagePipelineInput {
+ s.DistributionConfigurationArn = &v
return s
}
-// SetLaunchPermission sets the LaunchPermission field's value.
-func (s *AmiDistributionConfiguration) SetLaunchPermission(v *LaunchPermissionConfiguration) *AmiDistributionConfiguration {
- s.LaunchPermission = v
+// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
+func (s *CreateImagePipelineInput) SetEnhancedImageMetadataEnabled(v bool) *CreateImagePipelineInput {
+ s.EnhancedImageMetadataEnabled = &v
+ return s
+}
+
+// SetImageRecipeArn sets the ImageRecipeArn field's value.
+func (s *CreateImagePipelineInput) SetImageRecipeArn(v string) *CreateImagePipelineInput {
+ s.ImageRecipeArn = &v
+ return s
+}
+
+// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
+func (s *CreateImagePipelineInput) SetImageScanningConfiguration(v *ImageScanningConfiguration) *CreateImagePipelineInput {
+ s.ImageScanningConfiguration = v
+ return s
+}
+
+// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
+func (s *CreateImagePipelineInput) SetImageTestsConfiguration(v *ImageTestsConfiguration) *CreateImagePipelineInput {
+ s.ImageTestsConfiguration = v
+ return s
+}
+
+// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
+func (s *CreateImagePipelineInput) SetInfrastructureConfigurationArn(v string) *CreateImagePipelineInput {
+ s.InfrastructureConfigurationArn = &v
return s
}
// SetName sets the Name field's value.
-func (s *AmiDistributionConfiguration) SetName(v string) *AmiDistributionConfiguration {
+func (s *CreateImagePipelineInput) SetName(v string) *CreateImagePipelineInput {
s.Name = &v
return s
}
-// SetTargetAccountIds sets the TargetAccountIds field's value.
-func (s *AmiDistributionConfiguration) SetTargetAccountIds(v []*string) *AmiDistributionConfiguration {
- s.TargetAccountIds = v
+// SetSchedule sets the Schedule field's value.
+func (s *CreateImagePipelineInput) SetSchedule(v *Schedule) *CreateImagePipelineInput {
+ s.Schedule = v
return s
}
-// You have exceeded the permitted request rate for the specific operation.
-type CallRateLimitExceededException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+// SetStatus sets the Status field's value.
+func (s *CreateImagePipelineInput) SetStatus(v string) *CreateImagePipelineInput {
+ s.Status = &v
+ return s
+}
- Message_ *string `locationName:"message" type:"string"`
+// SetTags sets the Tags field's value.
+func (s *CreateImagePipelineInput) SetTags(v map[string]*string) *CreateImagePipelineInput {
+ s.Tags = v
+ return s
+}
+
+type CreateImagePipelineOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the image pipeline that was created by
+ // this request.
+ ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -6905,7 +10690,7 @@ type CallRateLimitExceededException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CallRateLimitExceededException) String() string {
+func (s CreateImagePipelineOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6914,61 +10699,89 @@ func (s CallRateLimitExceededException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CallRateLimitExceededException) GoString() string {
+func (s CreateImagePipelineOutput) GoString() string {
return s.String()
}
-func newErrorCallRateLimitExceededException(v protocol.ResponseMetadata) error {
- return &CallRateLimitExceededException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *CallRateLimitExceededException) Code() string {
- return "CallRateLimitExceededException"
-}
-
-// Message returns the exception's message.
-func (s *CallRateLimitExceededException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateImagePipelineOutput) SetClientToken(v string) *CreateImagePipelineOutput {
+ s.ClientToken = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *CallRateLimitExceededException) OrigErr() error {
- return nil
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *CreateImagePipelineOutput) SetImagePipelineArn(v string) *CreateImagePipelineOutput {
+ s.ImagePipelineArn = &v
+ return s
}
-func (s *CallRateLimitExceededException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetRequestId sets the RequestId field's value.
+func (s *CreateImagePipelineOutput) SetRequestId(v string) *CreateImagePipelineOutput {
+ s.RequestId = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *CallRateLimitExceededException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
+type CreateImageRecipeInput struct {
+ _ struct{} `type:"structure"`
-// RequestID returns the service's response RequestID for request.
-func (s *CallRateLimitExceededException) RequestID() string {
- return s.RespMetadata.RequestID
-}
+ // Specify additional settings and launch scripts for your build instances.
+ AdditionalInstanceConfiguration *AdditionalInstanceConfiguration `locationName:"additionalInstanceConfiguration" type:"structure"`
-type CancelImageCreationInput struct {
- _ struct{} `type:"structure"`
+ // The block device mappings of the image recipe.
+ BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"`
// Unique, case-sensitive identifier you provide to ensure idempotency of the
// request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
// in the Amazon EC2 API Reference.
ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
- // The Amazon Resource Name (ARN) of the image that you want to cancel creation
- // for.
+ // The components included in the image recipe.
//
- // ImageBuildVersionArn is a required field
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string" required:"true"`
+ // Components is a required field
+ Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list" required:"true"`
+
+ // The description of the image recipe.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of the image recipe.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The base image of the image recipe. The value of the string can be the ARN
+ // of the base image or an AMI ID. The format for the ARN follows this example:
+ // arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x.
+ // You can provide the specific version that you want to use, or you can use
+ // a wildcard in all of the fields. If you enter an AMI ID for the string value,
+ // you must have access to the AMI, and the AMI must be in the same Region in
+ // which you are using Image Builder.
+ //
+ // ParentImage is a required field
+ ParentImage *string `locationName:"parentImage" min:"1" type:"string" required:"true"`
+
+ // The semantic version of the image recipe. This version follows the semantic
+ // version syntax.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // SemanticVersion is a required field
+ SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
+
+ // The tags of the image recipe.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The working directory used during build and test workflows.
+ WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
}
// String returns the string representation.
@@ -6976,7 +10789,7 @@ type CancelImageCreationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CancelImageCreationInput) String() string {
+func (s CreateImageRecipeInput) String() string {
return awsutil.Prettify(s)
}
@@ -6985,18 +10798,67 @@ func (s CancelImageCreationInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CancelImageCreationInput) GoString() string {
+func (s CreateImageRecipeInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CancelImageCreationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CancelImageCreationInput"}
+func (s *CreateImageRecipeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateImageRecipeInput"}
if s.ClientToken != nil && len(*s.ClientToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
}
- if s.ImageBuildVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
+ if s.Components == nil {
+ invalidParams.Add(request.NewErrParamRequired("Components"))
+ }
+ if s.Components != nil && len(s.Components) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Components", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.ParentImage == nil {
+ invalidParams.Add(request.NewErrParamRequired("ParentImage"))
+ }
+ if s.ParentImage != nil && len(*s.ParentImage) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ParentImage", 1))
+ }
+ if s.SemanticVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.WorkingDirectory != nil && len(*s.WorkingDirectory) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("WorkingDirectory", 1))
+ }
+ if s.AdditionalInstanceConfiguration != nil {
+ if err := s.AdditionalInstanceConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("AdditionalInstanceConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.BlockDeviceMappings != nil {
+ for i, v := range s.BlockDeviceMappings {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BlockDeviceMappings", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.Components != nil {
+ for i, v := range s.Components {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Components", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -7005,75 +10867,78 @@ func (s *CancelImageCreationInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CancelImageCreationInput) SetClientToken(v string) *CancelImageCreationInput {
- s.ClientToken = &v
+// SetAdditionalInstanceConfiguration sets the AdditionalInstanceConfiguration field's value.
+func (s *CreateImageRecipeInput) SetAdditionalInstanceConfiguration(v *AdditionalInstanceConfiguration) *CreateImageRecipeInput {
+ s.AdditionalInstanceConfiguration = v
return s
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *CancelImageCreationInput) SetImageBuildVersionArn(v string) *CancelImageCreationInput {
- s.ImageBuildVersionArn = &v
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *CreateImageRecipeInput) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *CreateImageRecipeInput {
+ s.BlockDeviceMappings = v
return s
}
-type CancelImageCreationOutput struct {
- _ struct{} `type:"structure"`
-
- // The idempotency token that was used for this request.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateImageRecipeInput) SetClientToken(v string) *CreateImageRecipeInput {
+ s.ClientToken = &v
+ return s
+}
- // The ARN of the image whose creation this request canceled.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+// SetComponents sets the Components field's value.
+func (s *CreateImageRecipeInput) SetComponents(v []*ComponentConfiguration) *CreateImageRecipeInput {
+ s.Components = v
+ return s
+}
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+// SetDescription sets the Description field's value.
+func (s *CreateImageRecipeInput) SetDescription(v string) *CreateImageRecipeInput {
+ s.Description = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s CancelImageCreationOutput) String() string {
- return awsutil.Prettify(s)
+// SetName sets the Name field's value.
+func (s *CreateImageRecipeInput) SetName(v string) *CreateImageRecipeInput {
+ s.Name = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s CancelImageCreationOutput) GoString() string {
- return s.String()
+// SetParentImage sets the ParentImage field's value.
+func (s *CreateImageRecipeInput) SetParentImage(v string) *CreateImageRecipeInput {
+ s.ParentImage = &v
+ return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CancelImageCreationOutput) SetClientToken(v string) *CancelImageCreationOutput {
- s.ClientToken = &v
+// SetSemanticVersion sets the SemanticVersion field's value.
+func (s *CreateImageRecipeInput) SetSemanticVersion(v string) *CreateImageRecipeInput {
+ s.SemanticVersion = &v
return s
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *CancelImageCreationOutput) SetImageBuildVersionArn(v string) *CancelImageCreationOutput {
- s.ImageBuildVersionArn = &v
+// SetTags sets the Tags field's value.
+func (s *CreateImageRecipeInput) SetTags(v map[string]*string) *CreateImageRecipeInput {
+ s.Tags = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *CancelImageCreationOutput) SetRequestId(v string) *CancelImageCreationOutput {
- s.RequestId = &v
+// SetWorkingDirectory sets the WorkingDirectory field's value.
+func (s *CreateImageRecipeInput) SetWorkingDirectory(v string) *CreateImageRecipeInput {
+ s.WorkingDirectory = &v
return s
}
-// These errors are usually caused by a client action, such as using an action
-// or resource on behalf of a user that doesn't have permissions to use the
-// action or resource, or specifying an invalid resource identifier.
-type ClientException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+type CreateImageRecipeOutput struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"message" type:"string"`
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the image recipe that was created by this
+ // request.
+ ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -7081,7 +10946,7 @@ type ClientException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ClientException) String() string {
+func (s CreateImageRecipeOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7090,112 +10955,93 @@ func (s ClientException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ClientException) GoString() string {
+func (s CreateImageRecipeOutput) GoString() string {
return s.String()
}
-func newErrorClientException(v protocol.ResponseMetadata) error {
- return &ClientException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *ClientException) Code() string {
- return "ClientException"
-}
-
-// Message returns the exception's message.
-func (s *ClientException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ClientException) OrigErr() error {
- return nil
-}
-
-func (s *ClientException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateImageRecipeOutput) SetClientToken(v string) *CreateImageRecipeOutput {
+ s.ClientToken = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *ClientException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetImageRecipeArn sets the ImageRecipeArn field's value.
+func (s *CreateImageRecipeOutput) SetImageRecipeArn(v string) *CreateImageRecipeOutput {
+ s.ImageRecipeArn = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *ClientException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetRequestId sets the RequestId field's value.
+func (s *CreateImageRecipeOutput) SetRequestId(v string) *CreateImageRecipeOutput {
+ s.RequestId = &v
+ return s
}
-// A detailed view of a component.
-type Component struct {
+type CreateInfrastructureConfigurationInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the component.
- Arn *string `locationName:"arn" type:"string"`
-
- // The change description of the component.
- ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
-
- // Component data contains the YAML document content for the component.
- Data *string `locationName:"data" type:"string"`
-
- // The date that Image Builder created the component.
- DateCreated *string `locationName:"dateCreated" type:"string"`
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
- // The description of the component.
+ // The description of the infrastructure configuration.
Description *string `locationName:"description" min:"1" type:"string"`
- // The encryption status of the component.
- Encrypted *bool `locationName:"encrypted" type:"boolean"`
+ // The instance metadata options that you can set for the HTTP requests that
+ // pipeline builds use to launch EC2 build and test instances.
+ InstanceMetadataOptions *InstanceMetadataOptions `locationName:"instanceMetadataOptions" type:"structure"`
- // The KMS key identifier used to encrypt the component.
- KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+ // The instance profile to associate with the instance used to customize your
+ // Amazon EC2 AMI.
+ //
+ // InstanceProfileName is a required field
+ InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string" required:"true"`
- // The name of the component.
- Name *string `locationName:"name" type:"string"`
+ // The instance types of the infrastructure configuration. You can specify one
+ // or more instance types to use for this build. The service will pick one of
+ // these instance types based on availability.
+ InstanceTypes []*string `locationName:"instanceTypes" type:"list"`
- // Indicates whether component source is hidden from view in the console, and
- // from component detail results for API, CLI, or SDK operations.
- Obfuscate *bool `locationName:"obfuscate" type:"boolean"`
+ // The key pair of the infrastructure configuration. You can use this to log
+ // on to and debug the instance used to create your image.
+ KeyPair *string `locationName:"keyPair" min:"1" type:"string"`
- // The owner of the component.
- Owner *string `locationName:"owner" min:"1" type:"string"`
+ // The logging configuration of the infrastructure configuration.
+ Logging *Logging `locationName:"logging" type:"structure"`
- // Contains parameter details for each of the parameters that the component
- // document defined for the component.
- Parameters []*ComponentParameterDetail `locationName:"parameters" type:"list"`
+ // The name of the infrastructure configuration.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
- // The operating system platform of the component.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+ // The tags attached to the resource created by Image Builder.
+ ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`
- // Contains the name of the publisher if this is a third-party component. Otherwise,
- // this property is empty.
- Publisher *string `locationName:"publisher" min:"1" type:"string"`
+ // The security group IDs to associate with the instance used to customize your
+ // Amazon EC2 AMI.
+ SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`
- // Describes the current status of the component. This is used for components
- // that are no longer active.
- State *ComponentState `locationName:"state" type:"structure"`
+ // The Amazon Resource Name (ARN) for the SNS topic to which we send image build
+ // event notifications.
+ //
+ // EC2 Image Builder is unable to send notifications to SNS topics that are
+ // encrypted using keys from other accounts. The key that is used to encrypt
+ // the SNS topic must reside in the account that the Image Builder service runs
+ // under.
+ SnsTopicArn *string `locationName:"snsTopicArn" type:"string"`
- // The operating system (OS) version supported by the component. If the OS information
- // is available, Image Builder performs a prefix match against the base image
- // OS version during image recipe creation.
- SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
+ // The subnet ID in which to place the instance used to customize your Amazon
+ // EC2 AMI.
+ SubnetId *string `locationName:"subnetId" min:"1" type:"string"`
- // The tags that apply to the component.
+ // The tags of the infrastructure configuration.
Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
- // The component type specifies whether Image Builder uses the component to
- // build the image or only to test it.
- Type *string `locationName:"type" type:"string" enum:"ComponentType"`
-
- // The version of the component.
- Version *string `locationName:"version" type:"string"`
+ // The terminate instance on failure setting of the infrastructure configuration.
+ // Set to false if you want Image Builder to retain the instance used to configure
+ // your AMI if the build or test phase of your workflow fails.
+ TerminateInstanceOnFailure *bool `locationName:"terminateInstanceOnFailure" type:"boolean"`
}
// String returns the string representation.
@@ -7203,7 +11049,7 @@ type Component struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Component) String() string {
+func (s CreateInfrastructureConfigurationInput) String() string {
return awsutil.Prettify(s)
}
@@ -7212,130 +11058,233 @@ func (s Component) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Component) GoString() string {
+func (s CreateInfrastructureConfigurationInput) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *Component) SetArn(v string) *Component {
- s.Arn = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateInfrastructureConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateInfrastructureConfigurationInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.InstanceProfileName == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceProfileName"))
+ }
+ if s.InstanceProfileName != nil && len(*s.InstanceProfileName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceProfileName", 1))
+ }
+ if s.KeyPair != nil && len(*s.KeyPair) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KeyPair", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.ResourceTags != nil && len(s.ResourceTags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceTags", 1))
+ }
+ if s.SubnetId != nil && len(*s.SubnetId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SubnetId", 1))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.InstanceMetadataOptions != nil {
+ if err := s.InstanceMetadataOptions.Validate(); err != nil {
+ invalidParams.AddNested("InstanceMetadataOptions", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Logging != nil {
+ if err := s.Logging.Validate(); err != nil {
+ invalidParams.AddNested("Logging", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateInfrastructureConfigurationInput) SetClientToken(v string) *CreateInfrastructureConfigurationInput {
+ s.ClientToken = &v
return s
}
-// SetChangeDescription sets the ChangeDescription field's value.
-func (s *Component) SetChangeDescription(v string) *Component {
- s.ChangeDescription = &v
+// SetDescription sets the Description field's value.
+func (s *CreateInfrastructureConfigurationInput) SetDescription(v string) *CreateInfrastructureConfigurationInput {
+ s.Description = &v
return s
}
-// SetData sets the Data field's value.
-func (s *Component) SetData(v string) *Component {
- s.Data = &v
+// SetInstanceMetadataOptions sets the InstanceMetadataOptions field's value.
+func (s *CreateInfrastructureConfigurationInput) SetInstanceMetadataOptions(v *InstanceMetadataOptions) *CreateInfrastructureConfigurationInput {
+ s.InstanceMetadataOptions = v
return s
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *Component) SetDateCreated(v string) *Component {
- s.DateCreated = &v
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *CreateInfrastructureConfigurationInput) SetInstanceProfileName(v string) *CreateInfrastructureConfigurationInput {
+ s.InstanceProfileName = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *Component) SetDescription(v string) *Component {
- s.Description = &v
+// SetInstanceTypes sets the InstanceTypes field's value.
+func (s *CreateInfrastructureConfigurationInput) SetInstanceTypes(v []*string) *CreateInfrastructureConfigurationInput {
+ s.InstanceTypes = v
return s
}
-// SetEncrypted sets the Encrypted field's value.
-func (s *Component) SetEncrypted(v bool) *Component {
- s.Encrypted = &v
+// SetKeyPair sets the KeyPair field's value.
+func (s *CreateInfrastructureConfigurationInput) SetKeyPair(v string) *CreateInfrastructureConfigurationInput {
+ s.KeyPair = &v
return s
}
-// SetKmsKeyId sets the KmsKeyId field's value.
-func (s *Component) SetKmsKeyId(v string) *Component {
- s.KmsKeyId = &v
+// SetLogging sets the Logging field's value.
+func (s *CreateInfrastructureConfigurationInput) SetLogging(v *Logging) *CreateInfrastructureConfigurationInput {
+ s.Logging = v
return s
}
// SetName sets the Name field's value.
-func (s *Component) SetName(v string) *Component {
+func (s *CreateInfrastructureConfigurationInput) SetName(v string) *CreateInfrastructureConfigurationInput {
s.Name = &v
return s
}
-// SetObfuscate sets the Obfuscate field's value.
-func (s *Component) SetObfuscate(v bool) *Component {
- s.Obfuscate = &v
+// SetResourceTags sets the ResourceTags field's value.
+func (s *CreateInfrastructureConfigurationInput) SetResourceTags(v map[string]*string) *CreateInfrastructureConfigurationInput {
+ s.ResourceTags = v
return s
}
-// SetOwner sets the Owner field's value.
-func (s *Component) SetOwner(v string) *Component {
- s.Owner = &v
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *CreateInfrastructureConfigurationInput) SetSecurityGroupIds(v []*string) *CreateInfrastructureConfigurationInput {
+ s.SecurityGroupIds = v
return s
}
-// SetParameters sets the Parameters field's value.
-func (s *Component) SetParameters(v []*ComponentParameterDetail) *Component {
- s.Parameters = v
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *CreateInfrastructureConfigurationInput) SetSnsTopicArn(v string) *CreateInfrastructureConfigurationInput {
+ s.SnsTopicArn = &v
return s
}
-// SetPlatform sets the Platform field's value.
-func (s *Component) SetPlatform(v string) *Component {
- s.Platform = &v
+// SetSubnetId sets the SubnetId field's value.
+func (s *CreateInfrastructureConfigurationInput) SetSubnetId(v string) *CreateInfrastructureConfigurationInput {
+ s.SubnetId = &v
return s
}
-// SetPublisher sets the Publisher field's value.
-func (s *Component) SetPublisher(v string) *Component {
- s.Publisher = &v
+// SetTags sets the Tags field's value.
+func (s *CreateInfrastructureConfigurationInput) SetTags(v map[string]*string) *CreateInfrastructureConfigurationInput {
+ s.Tags = v
return s
}
-// SetState sets the State field's value.
-func (s *Component) SetState(v *ComponentState) *Component {
- s.State = v
+// SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.
+func (s *CreateInfrastructureConfigurationInput) SetTerminateInstanceOnFailure(v bool) *CreateInfrastructureConfigurationInput {
+ s.TerminateInstanceOnFailure = &v
return s
}
-// SetSupportedOsVersions sets the SupportedOsVersions field's value.
-func (s *Component) SetSupportedOsVersions(v []*string) *Component {
- s.SupportedOsVersions = v
- return s
+type CreateInfrastructureConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the infrastructure configuration that was
+ // created by this request.
+ InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
-// SetTags sets the Tags field's value.
-func (s *Component) SetTags(v map[string]*string) *Component {
- s.Tags = v
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInfrastructureConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInfrastructureConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateInfrastructureConfigurationOutput) SetClientToken(v string) *CreateInfrastructureConfigurationOutput {
+ s.ClientToken = &v
return s
}
-// SetType sets the Type field's value.
-func (s *Component) SetType(v string) *Component {
- s.Type = &v
+// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
+func (s *CreateInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn(v string) *CreateInfrastructureConfigurationOutput {
+ s.InfrastructureConfigurationArn = &v
return s
}
-// SetVersion sets the Version field's value.
-func (s *Component) SetVersion(v string) *Component {
- s.Version = &v
+// SetRequestId sets the RequestId field's value.
+func (s *CreateInfrastructureConfigurationOutput) SetRequestId(v string) *CreateInfrastructureConfigurationOutput {
+ s.RequestId = &v
return s
}
-// Configuration details of the component.
-type ComponentConfiguration struct {
+type CreateLifecyclePolicyInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the component.
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // Optional description for the lifecycle policy.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The role name or Amazon Resource Name (ARN) for the IAM role that grants
+ // Image Builder access to run lifecycle actions.
//
- // ComponentArn is a required field
- ComponentArn *string `locationName:"componentArn" type:"string" required:"true"`
+ // ExecutionRole is a required field
+ ExecutionRole *string `locationName:"executionRole" min:"1" type:"string" required:"true"`
- // A group of parameter settings that Image Builder uses to configure the component
- // for a specific recipe.
- Parameters []*ComponentParameter `locationName:"parameters" min:"1" type:"list"`
+ // The name of the lifecycle policy to create.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // Configuration details for the lifecycle policy rules.
+ //
+ // PolicyDetails is a required field
+ PolicyDetails []*LifecyclePolicyDetail `locationName:"policyDetails" min:"1" type:"list" required:"true"`
+
+ // Selection criteria for the resources that the lifecycle policy applies to.
+ //
+ // ResourceSelection is a required field
+ ResourceSelection *LifecyclePolicyResourceSelection `locationName:"resourceSelection" type:"structure" required:"true"`
+
+ // The type of Image Builder resource that the lifecycle policy applies to.
+ //
+ // ResourceType is a required field
+ ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"LifecyclePolicyResourceType"`
+
+ // Indicates whether the lifecycle policy resource is enabled.
+ Status *string `locationName:"status" type:"string" enum:"LifecyclePolicyStatus"`
+
+ // Tags to apply to the lifecycle policy resource.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -7343,7 +11292,7 @@ type ComponentConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentConfiguration) String() string {
+func (s CreateLifecyclePolicyInput) String() string {
return awsutil.Prettify(s)
}
@@ -7352,61 +11301,127 @@ func (s ComponentConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentConfiguration) GoString() string {
+func (s CreateLifecyclePolicyInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ComponentConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ComponentConfiguration"}
- if s.ComponentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ComponentArn"))
+func (s *CreateLifecyclePolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateLifecyclePolicyInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
}
- if s.Parameters != nil && len(s.Parameters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Parameters", 1))
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
}
- if s.Parameters != nil {
- for i, v := range s.Parameters {
+ if s.ExecutionRole == nil {
+ invalidParams.Add(request.NewErrParamRequired("ExecutionRole"))
+ }
+ if s.ExecutionRole != nil && len(*s.ExecutionRole) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.PolicyDetails == nil {
+ invalidParams.Add(request.NewErrParamRequired("PolicyDetails"))
+ }
+ if s.PolicyDetails != nil && len(s.PolicyDetails) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PolicyDetails", 1))
+ }
+ if s.ResourceSelection == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceSelection"))
+ }
+ if s.ResourceType == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceType"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.PolicyDetails != nil {
+ for i, v := range s.PolicyDetails {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Parameters", i), err.(request.ErrInvalidParams))
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PolicyDetails", i), err.(request.ErrInvalidParams))
}
}
}
+ if s.ResourceSelection != nil {
+ if err := s.ResourceSelection.Validate(); err != nil {
+ invalidParams.AddNested("ResourceSelection", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateLifecyclePolicyInput) SetClientToken(v string) *CreateLifecyclePolicyInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateLifecyclePolicyInput) SetDescription(v string) *CreateLifecyclePolicyInput {
+ s.Description = &v
+ return s
+}
+
+// SetExecutionRole sets the ExecutionRole field's value.
+func (s *CreateLifecyclePolicyInput) SetExecutionRole(v string) *CreateLifecyclePolicyInput {
+ s.ExecutionRole = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateLifecyclePolicyInput) SetName(v string) *CreateLifecyclePolicyInput {
+ s.Name = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetPolicyDetails sets the PolicyDetails field's value.
+func (s *CreateLifecyclePolicyInput) SetPolicyDetails(v []*LifecyclePolicyDetail) *CreateLifecyclePolicyInput {
+ s.PolicyDetails = v
+ return s
}
-// SetComponentArn sets the ComponentArn field's value.
-func (s *ComponentConfiguration) SetComponentArn(v string) *ComponentConfiguration {
- s.ComponentArn = &v
+// SetResourceSelection sets the ResourceSelection field's value.
+func (s *CreateLifecyclePolicyInput) SetResourceSelection(v *LifecyclePolicyResourceSelection) *CreateLifecyclePolicyInput {
+ s.ResourceSelection = v
return s
}
-// SetParameters sets the Parameters field's value.
-func (s *ComponentConfiguration) SetParameters(v []*ComponentParameter) *ComponentConfiguration {
- s.Parameters = v
+// SetResourceType sets the ResourceType field's value.
+func (s *CreateLifecyclePolicyInput) SetResourceType(v string) *CreateLifecyclePolicyInput {
+ s.ResourceType = &v
return s
}
-// Contains a key/value pair that sets the named component parameter.
-type ComponentParameter struct {
+// SetStatus sets the Status field's value.
+func (s *CreateLifecyclePolicyInput) SetStatus(v string) *CreateLifecyclePolicyInput {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateLifecyclePolicyInput) SetTags(v map[string]*string) *CreateLifecyclePolicyInput {
+ s.Tags = v
+ return s
+}
+
+type CreateLifecyclePolicyOutput struct {
_ struct{} `type:"structure"`
- // The name of the component parameter to set.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
- // Sets the value for the named component parameter.
- //
- // Value is a required field
- Value []*string `locationName:"value" type:"list" required:"true"`
+ // The Amazon Resource Name (ARN) of the lifecycle policy that the request created.
+ LifecyclePolicyArn *string `locationName:"lifecyclePolicyArn" type:"string"`
}
// String returns the string representation.
@@ -7414,7 +11429,7 @@ type ComponentParameter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentParameter) String() string {
+func (s CreateLifecyclePolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7423,62 +11438,44 @@ func (s ComponentParameter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentParameter) GoString() string {
+func (s CreateLifecyclePolicyOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ComponentParameter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ComponentParameter"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if s.Value == nil {
- invalidParams.Add(request.NewErrParamRequired("Value"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetName sets the Name field's value.
-func (s *ComponentParameter) SetName(v string) *ComponentParameter {
- s.Name = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateLifecyclePolicyOutput) SetClientToken(v string) *CreateLifecyclePolicyOutput {
+ s.ClientToken = &v
return s
}
-// SetValue sets the Value field's value.
-func (s *ComponentParameter) SetValue(v []*string) *ComponentParameter {
- s.Value = v
+// SetLifecyclePolicyArn sets the LifecyclePolicyArn field's value.
+func (s *CreateLifecyclePolicyOutput) SetLifecyclePolicyArn(v string) *CreateLifecyclePolicyOutput {
+ s.LifecyclePolicyArn = &v
return s
}
-// Defines a parameter that is used to provide configuration details for the
-// component.
-type ComponentParameterDetail struct {
+// Amazon Inspector generates a risk score for each finding. This score helps
+// you to prioritize findings, to focus on the most critical findings and the
+// most vulnerable resources. The score uses the Common Vulnerability Scoring
+// System (CVSS) format. This format is a modification of the base CVSS score
+// that the National Vulnerability Database (NVD) provides. For more information
+// about severity levels, see Severity levels for Amazon Inspector findings
+// (https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html)
+// in the Amazon Inspector User Guide.
+type CvssScore struct {
_ struct{} `type:"structure"`
- // The default value of this parameter if no input is provided.
- DefaultValue []*string `locationName:"defaultValue" type:"list"`
+ // The CVSS base score.
+ BaseScore *float64 `locationName:"baseScore" type:"double"`
- // Describes this parameter.
- Description *string `locationName:"description" min:"1" type:"string"`
+ // The vector string of the CVSS score.
+ ScoringVector *string `locationName:"scoringVector" min:"1" type:"string"`
- // The name of this input parameter.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+ // The source of the CVSS score.
+ Source *string `locationName:"source" min:"1" type:"string"`
- // The type of input this parameter provides. The currently supported value
- // is "string".
- //
- // Type is a required field
- Type *string `locationName:"type" min:"1" type:"string" required:"true"`
+ // The CVSS version that generated the score.
+ Version *string `locationName:"version" min:"1" type:"string"`
}
// String returns the string representation.
@@ -7486,7 +11483,7 @@ type ComponentParameterDetail struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentParameterDetail) String() string {
+func (s CvssScore) String() string {
return awsutil.Prettify(s)
}
@@ -7495,44 +11492,44 @@ func (s ComponentParameterDetail) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentParameterDetail) GoString() string {
+func (s CvssScore) GoString() string {
return s.String()
}
-// SetDefaultValue sets the DefaultValue field's value.
-func (s *ComponentParameterDetail) SetDefaultValue(v []*string) *ComponentParameterDetail {
- s.DefaultValue = v
+// SetBaseScore sets the BaseScore field's value.
+func (s *CvssScore) SetBaseScore(v float64) *CvssScore {
+ s.BaseScore = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *ComponentParameterDetail) SetDescription(v string) *ComponentParameterDetail {
- s.Description = &v
+// SetScoringVector sets the ScoringVector field's value.
+func (s *CvssScore) SetScoringVector(v string) *CvssScore {
+ s.ScoringVector = &v
return s
}
-// SetName sets the Name field's value.
-func (s *ComponentParameterDetail) SetName(v string) *ComponentParameterDetail {
- s.Name = &v
+// SetSource sets the Source field's value.
+func (s *CvssScore) SetSource(v string) *CvssScore {
+ s.Source = &v
return s
}
-// SetType sets the Type field's value.
-func (s *ComponentParameterDetail) SetType(v string) *ComponentParameterDetail {
- s.Type = &v
+// SetVersion sets the Version field's value.
+func (s *CvssScore) SetVersion(v string) *CvssScore {
+ s.Version = &v
return s
}
-// A group of fields that describe the current status of components that are
-// no longer active.
-type ComponentState struct {
+// Details about an adjustment that Amazon Inspector made to the CVSS score
+// for a finding.
+type CvssScoreAdjustment struct {
_ struct{} `type:"structure"`
- // Describes how or why the component changed state.
- Reason *string `locationName:"reason" min:"1" type:"string"`
+ // The metric that Amazon Inspector used to adjust the CVSS score.
+ Metric *string `locationName:"metric" min:"1" type:"string"`
- // The current state of the component.
- Status *string `locationName:"status" type:"string" enum:"ComponentStatus"`
+ // The reason for the CVSS score adjustment.
+ Reason *string `locationName:"reason" min:"1" type:"string"`
}
// String returns the string representation.
@@ -7540,7 +11537,7 @@ type ComponentState struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentState) String() string {
+func (s CvssScoreAdjustment) String() string {
return awsutil.Prettify(s)
}
@@ -7549,72 +11546,108 @@ func (s ComponentState) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentState) GoString() string {
+func (s CvssScoreAdjustment) GoString() string {
return s.String()
}
-// SetReason sets the Reason field's value.
-func (s *ComponentState) SetReason(v string) *ComponentState {
- s.Reason = &v
+// SetMetric sets the Metric field's value.
+func (s *CvssScoreAdjustment) SetMetric(v string) *CvssScoreAdjustment {
+ s.Metric = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *ComponentState) SetStatus(v string) *ComponentState {
- s.Status = &v
+// SetReason sets the Reason field's value.
+func (s *CvssScoreAdjustment) SetReason(v string) *CvssScoreAdjustment {
+ s.Reason = &v
return s
}
-// A high-level summary of a component.
-type ComponentSummary struct {
+// Details about the source of the score, and the factors that determined the
+// adjustments to create the final score.
+type CvssScoreDetails struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the component.
- Arn *string `locationName:"arn" type:"string"`
+ // An object that contains details about an adjustment that Amazon Inspector
+ // made to the CVSS score for the finding.
+ Adjustments []*CvssScoreAdjustment `locationName:"adjustments" type:"list"`
- // The change description for the current version of the component.
- ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
+ // The source of the finding.
+ CvssSource *string `locationName:"cvssSource" min:"1" type:"string"`
- // The original creation date of the component.
- DateCreated *string `locationName:"dateCreated" type:"string"`
+ // The CVSS score.
+ Score *float64 `locationName:"score" type:"double"`
- // The description of the component.
- Description *string `locationName:"description" min:"1" type:"string"`
+ // The source for the CVSS score.
+ ScoreSource *string `locationName:"scoreSource" min:"1" type:"string"`
- // The name of the component.
- Name *string `locationName:"name" type:"string"`
+ // A vector that measures the severity of the vulnerability.
+ ScoringVector *string `locationName:"scoringVector" min:"1" type:"string"`
- // Indicates whether component source is hidden from view in the console, and
- // from component detail results for API, CLI, or SDK operations.
- Obfuscate *bool `locationName:"obfuscate" type:"boolean"`
+ // The CVSS version that generated the score.
+ Version *string `locationName:"version" min:"1" type:"string"`
+}
- // The owner of the component.
- Owner *string `locationName:"owner" min:"1" type:"string"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CvssScoreDetails) String() string {
+ return awsutil.Prettify(s)
+}
- // The operating system platform of the component.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CvssScoreDetails) GoString() string {
+ return s.String()
+}
- // Contains the name of the publisher if this is a third-party component. Otherwise,
- // this property is empty.
- Publisher *string `locationName:"publisher" min:"1" type:"string"`
+// SetAdjustments sets the Adjustments field's value.
+func (s *CvssScoreDetails) SetAdjustments(v []*CvssScoreAdjustment) *CvssScoreDetails {
+ s.Adjustments = v
+ return s
+}
- // Describes the current status of the component.
- State *ComponentState `locationName:"state" type:"structure"`
+// SetCvssSource sets the CvssSource field's value.
+func (s *CvssScoreDetails) SetCvssSource(v string) *CvssScoreDetails {
+ s.CvssSource = &v
+ return s
+}
- // The operating system (OS) version that the component supports. If the OS
- // information is available, Image Builder performs a prefix match against the
- // base image OS version during image recipe creation.
- SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
+// SetScore sets the Score field's value.
+func (s *CvssScoreDetails) SetScore(v float64) *CvssScoreDetails {
+ s.Score = &v
+ return s
+}
- // The tags that apply to the component.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+// SetScoreSource sets the ScoreSource field's value.
+func (s *CvssScoreDetails) SetScoreSource(v string) *CvssScoreDetails {
+ s.ScoreSource = &v
+ return s
+}
- // The component type specifies whether Image Builder uses the component to
- // build the image or only to test it.
- Type *string `locationName:"type" type:"string" enum:"ComponentType"`
+// SetScoringVector sets the ScoringVector field's value.
+func (s *CvssScoreDetails) SetScoringVector(v string) *CvssScoreDetails {
+ s.ScoringVector = &v
+ return s
+}
- // The version of the component.
- Version *string `locationName:"version" type:"string"`
+// SetVersion sets the Version field's value.
+func (s *CvssScoreDetails) SetVersion(v string) *CvssScoreDetails {
+ s.Version = &v
+ return s
+}
+
+type DeleteComponentInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The Amazon Resource Name (ARN) of the component build version to delete.
+ //
+ // ComponentBuildVersionArn is a required field
+ ComponentBuildVersionArn *string `location:"querystring" locationName:"componentBuildVersionArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7622,7 +11655,7 @@ type ComponentSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentSummary) String() string {
+func (s DeleteComponentInput) String() string {
return awsutil.Prettify(s)
}
@@ -7631,157 +11664,123 @@ func (s ComponentSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentSummary) GoString() string {
+func (s DeleteComponentInput) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *ComponentSummary) SetArn(v string) *ComponentSummary {
- s.Arn = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteComponentInput"}
+ if s.ComponentBuildVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ComponentBuildVersionArn"))
+ }
-// SetChangeDescription sets the ChangeDescription field's value.
-func (s *ComponentSummary) SetChangeDescription(v string) *ComponentSummary {
- s.ChangeDescription = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *ComponentSummary) SetDateCreated(v string) *ComponentSummary {
- s.DateCreated = &v
+// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
+func (s *DeleteComponentInput) SetComponentBuildVersionArn(v string) *DeleteComponentInput {
+ s.ComponentBuildVersionArn = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *ComponentSummary) SetDescription(v string) *ComponentSummary {
- s.Description = &v
- return s
-}
+type DeleteComponentOutput struct {
+ _ struct{} `type:"structure"`
-// SetName sets the Name field's value.
-func (s *ComponentSummary) SetName(v string) *ComponentSummary {
- s.Name = &v
- return s
+ // The ARN of the component build version that this request deleted.
+ ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
-// SetObfuscate sets the Obfuscate field's value.
-func (s *ComponentSummary) SetObfuscate(v bool) *ComponentSummary {
- s.Obfuscate = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteComponentOutput) String() string {
+ return awsutil.Prettify(s)
}
-// SetOwner sets the Owner field's value.
-func (s *ComponentSummary) SetOwner(v string) *ComponentSummary {
- s.Owner = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteComponentOutput) GoString() string {
+ return s.String()
}
-// SetPlatform sets the Platform field's value.
-func (s *ComponentSummary) SetPlatform(v string) *ComponentSummary {
- s.Platform = &v
+// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
+func (s *DeleteComponentOutput) SetComponentBuildVersionArn(v string) *DeleteComponentOutput {
+ s.ComponentBuildVersionArn = &v
return s
}
-// SetPublisher sets the Publisher field's value.
-func (s *ComponentSummary) SetPublisher(v string) *ComponentSummary {
- s.Publisher = &v
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteComponentOutput) SetRequestId(v string) *DeleteComponentOutput {
+ s.RequestId = &v
return s
}
-// SetState sets the State field's value.
-func (s *ComponentSummary) SetState(v *ComponentState) *ComponentSummary {
- s.State = v
- return s
+type DeleteContainerRecipeInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The Amazon Resource Name (ARN) of the container recipe to delete.
+ //
+ // ContainerRecipeArn is a required field
+ ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
}
-// SetSupportedOsVersions sets the SupportedOsVersions field's value.
-func (s *ComponentSummary) SetSupportedOsVersions(v []*string) *ComponentSummary {
- s.SupportedOsVersions = v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteContainerRecipeInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetTags sets the Tags field's value.
-func (s *ComponentSummary) SetTags(v map[string]*string) *ComponentSummary {
- s.Tags = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteContainerRecipeInput) GoString() string {
+ return s.String()
}
-// SetType sets the Type field's value.
-func (s *ComponentSummary) SetType(v string) *ComponentSummary {
- s.Type = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteContainerRecipeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteContainerRecipeInput"}
+ if s.ContainerRecipeArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ContainerRecipeArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetVersion sets the Version field's value.
-func (s *ComponentSummary) SetVersion(v string) *ComponentSummary {
- s.Version = &v
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *DeleteContainerRecipeInput) SetContainerRecipeArn(v string) *DeleteContainerRecipeInput {
+ s.ContainerRecipeArn = &v
return s
}
-// The defining characteristics of a specific version of an Amazon Web Services
-// TOE component.
-type ComponentVersion struct {
+type DeleteContainerRecipeOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the component.
- //
- // Semantic versioning is included in each object's Amazon Resource Name (ARN),
- // at the level that applies to that object as follows:
- //
- // Versionless ARNs and Name ARNs do not include specific values in any of the
- // nodes. The nodes are either left off entirely, or they are specified as wildcards,
- // for example: x.x.x.
- //
- // Version ARNs have only the first three nodes: ..
- //
- // Build version ARNs have all four nodes, and point to a specific build for
- // a specific version of an object.
- Arn *string `locationName:"arn" type:"string"`
-
- // The date that the component was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The description of the component.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The name of the component.
- Name *string `locationName:"name" type:"string"`
-
- // The owner of the component.
- Owner *string `locationName:"owner" min:"1" type:"string"`
-
- // The platform of the component.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
-
- // he operating system (OS) version supported by the component. If the OS information
- // is available, a prefix match is performed against the base image OS version
- // during image recipe creation.
- SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
-
- // The type of the component denotes whether the component is used to build
- // the image or only to test it.
- Type *string `locationName:"type" type:"string" enum:"ComponentType"`
+ // The Amazon Resource Name (ARN) of the container recipe that was deleted.
+ ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
- // The semantic version of the component.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // Filtering: With semantic versioning, you have the flexibility to use wildcards
- // (x) to specify the most recent versions or nodes when selecting the base
- // image or components for your recipe. When you use a wildcard in any node,
- // all nodes to the right of the first wildcard must also be wildcards.
- Version *string `locationName:"version" type:"string"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -7789,7 +11788,7 @@ type ComponentVersion struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentVersion) String() string {
+func (s DeleteContainerRecipeOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7798,74 +11797,77 @@ func (s ComponentVersion) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentVersion) GoString() string {
+func (s DeleteContainerRecipeOutput) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *ComponentVersion) SetArn(v string) *ComponentVersion {
- s.Arn = &v
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *DeleteContainerRecipeOutput) SetContainerRecipeArn(v string) *DeleteContainerRecipeOutput {
+ s.ContainerRecipeArn = &v
return s
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *ComponentVersion) SetDateCreated(v string) *ComponentVersion {
- s.DateCreated = &v
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteContainerRecipeOutput) SetRequestId(v string) *DeleteContainerRecipeOutput {
+ s.RequestId = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *ComponentVersion) SetDescription(v string) *ComponentVersion {
- s.Description = &v
- return s
-}
+type DeleteDistributionConfigurationInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
-// SetName sets the Name field's value.
-func (s *ComponentVersion) SetName(v string) *ComponentVersion {
- s.Name = &v
- return s
+ // The Amazon Resource Name (ARN) of the distribution configuration to delete.
+ //
+ // DistributionConfigurationArn is a required field
+ DistributionConfigurationArn *string `location:"querystring" locationName:"distributionConfigurationArn" type:"string" required:"true"`
}
-// SetOwner sets the Owner field's value.
-func (s *ComponentVersion) SetOwner(v string) *ComponentVersion {
- s.Owner = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDistributionConfigurationInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetPlatform sets the Platform field's value.
-func (s *ComponentVersion) SetPlatform(v string) *ComponentVersion {
- s.Platform = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDistributionConfigurationInput) GoString() string {
+ return s.String()
}
-// SetSupportedOsVersions sets the SupportedOsVersions field's value.
-func (s *ComponentVersion) SetSupportedOsVersions(v []*string) *ComponentVersion {
- s.SupportedOsVersions = v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteDistributionConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteDistributionConfigurationInput"}
+ if s.DistributionConfigurationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("DistributionConfigurationArn"))
+ }
-// SetType sets the Type field's value.
-func (s *ComponentVersion) SetType(v string) *ComponentVersion {
- s.Type = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetVersion sets the Version field's value.
-func (s *ComponentVersion) SetVersion(v string) *ComponentVersion {
- s.Version = &v
+// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
+func (s *DeleteDistributionConfigurationInput) SetDistributionConfigurationArn(v string) *DeleteDistributionConfigurationInput {
+ s.DistributionConfigurationArn = &v
return s
}
-// A container encapsulates the runtime environment for an application.
-type Container struct {
+type DeleteDistributionConfigurationOutput struct {
_ struct{} `type:"structure"`
- // A list of URIs for containers created in the context Region.
- ImageUris []*string `locationName:"imageUris" type:"list"`
+ // The Amazon Resource Name (ARN) of the distribution configuration that was
+ // deleted.
+ DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
- // Containers and container images are Region-specific. This is the Region context
- // for the container.
- Region *string `locationName:"region" min:"1" type:"string"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -7873,7 +11875,7 @@ type Container struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Container) String() string {
+func (s DeleteDistributionConfigurationOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7882,37 +11884,29 @@ func (s Container) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Container) GoString() string {
+func (s DeleteDistributionConfigurationOutput) GoString() string {
return s.String()
}
-// SetImageUris sets the ImageUris field's value.
-func (s *Container) SetImageUris(v []*string) *Container {
- s.ImageUris = v
+// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
+func (s *DeleteDistributionConfigurationOutput) SetDistributionConfigurationArn(v string) *DeleteDistributionConfigurationOutput {
+ s.DistributionConfigurationArn = &v
return s
}
-// SetRegion sets the Region field's value.
-func (s *Container) SetRegion(v string) *Container {
- s.Region = &v
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteDistributionConfigurationOutput) SetRequestId(v string) *DeleteDistributionConfigurationOutput {
+ s.RequestId = &v
return s
}
-// Container distribution settings for encryption, licensing, and sharing in
-// a specific Region.
-type ContainerDistributionConfiguration struct {
- _ struct{} `type:"structure"`
-
- // Tags that are attached to the container distribution configuration.
- ContainerTags []*string `locationName:"containerTags" type:"list"`
-
- // The description of the container distribution configuration.
- Description *string `locationName:"description" min:"1" type:"string"`
+type DeleteImageInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The destination repository for the container distribution configuration.
+ // The Amazon Resource Name (ARN) of the Image Builder image resource to delete.
//
- // TargetRepository is a required field
- TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure" required:"true"`
+ // ImageBuildVersionArn is a required field
+ ImageBuildVersionArn *string `location:"querystring" locationName:"imageBuildVersionArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7920,7 +11914,7 @@ type ContainerDistributionConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ContainerDistributionConfiguration) String() string {
+func (s DeleteImageInput) String() string {
return awsutil.Prettify(s)
}
@@ -7929,23 +11923,15 @@ func (s ContainerDistributionConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ContainerDistributionConfiguration) GoString() string {
+func (s DeleteImageInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ContainerDistributionConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ContainerDistributionConfiguration"}
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.TargetRepository == nil {
- invalidParams.Add(request.NewErrParamRequired("TargetRepository"))
- }
- if s.TargetRepository != nil {
- if err := s.TargetRepository.Validate(); err != nil {
- invalidParams.AddNested("TargetRepository", err.(request.ErrInvalidParams))
- }
+func (s *DeleteImageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteImageInput"}
+ if s.ImageBuildVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
}
if invalidParams.Len() > 0 {
@@ -7954,115 +11940,20 @@ func (s *ContainerDistributionConfiguration) Validate() error {
return nil
}
-// SetContainerTags sets the ContainerTags field's value.
-func (s *ContainerDistributionConfiguration) SetContainerTags(v []*string) *ContainerDistributionConfiguration {
- s.ContainerTags = v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *ContainerDistributionConfiguration) SetDescription(v string) *ContainerDistributionConfiguration {
- s.Description = &v
- return s
-}
-
-// SetTargetRepository sets the TargetRepository field's value.
-func (s *ContainerDistributionConfiguration) SetTargetRepository(v *TargetContainerRepository) *ContainerDistributionConfiguration {
- s.TargetRepository = v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *DeleteImageInput) SetImageBuildVersionArn(v string) *DeleteImageInput {
+ s.ImageBuildVersionArn = &v
return s
}
-// A container recipe.
-type ContainerRecipe struct {
+type DeleteImageOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the container recipe.
- //
- // Semantic versioning is included in each object's Amazon Resource Name (ARN),
- // at the level that applies to that object as follows:
- //
- // Versionless ARNs and Name ARNs do not include specific values in any of the
- // nodes. The nodes are either left off entirely, or they are specified as wildcards,
- // for example: x.x.x.
- //
- // Version ARNs have only the first three nodes: ..
- //
- // Build version ARNs have all four nodes, and point to a specific build for
- // a specific version of an object.
- Arn *string `locationName:"arn" type:"string"`
-
- // Build and test components that are included in the container recipe. Recipes
- // require a minimum of one build component, and can have a maximum of 20 build
- // and test components in any combination.
- Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list"`
-
- // Specifies the type of container, such as Docker.
- ContainerType *string `locationName:"containerType" type:"string" enum:"ContainerType"`
-
- // The date when this container recipe was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The description of the container recipe.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // Dockerfiles are text documents that are used to build Docker containers,
- // and ensure that they contain all of the elements required by the application
- // running inside. The template data consists of contextual variables where
- // Image Builder places build information or scripts, based on your container
- // image recipe.
- DockerfileTemplateData *string `locationName:"dockerfileTemplateData" type:"string"`
-
- // A flag that indicates if the target container is encrypted.
- Encrypted *bool `locationName:"encrypted" type:"boolean"`
-
- // A group of options that can be used to configure an instance for building
- // and testing container images.
- InstanceConfiguration *InstanceConfiguration `locationName:"instanceConfiguration" type:"structure"`
-
- // Identifies which KMS key is used to encrypt the container image for distribution
- // to the target Region.
- KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
-
- // The name of the container recipe.
- Name *string `locationName:"name" type:"string"`
-
- // The owner of the container recipe.
- Owner *string `locationName:"owner" min:"1" type:"string"`
-
- // The base image for the container recipe.
- ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
-
- // The system platform for the container, such as Windows or Linux.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
-
- // Tags that are attached to the container recipe.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
-
- // The destination repository for the container image.
- TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure"`
-
- // The semantic version of the container recipe.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // Filtering: With semantic versioning, you have the flexibility to use wildcards
- // (x) to specify the most recent versions or nodes when selecting the base
- // image or components for your recipe. When you use a wildcard in any node,
- // all nodes to the right of the first wildcard must also be wildcards.
- Version *string `locationName:"version" type:"string"`
+ // The ARN of the Image Builder image resource that this request deleted.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
- // The working directory for use during build and test workflows.
- WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -8070,7 +11961,7 @@ type ContainerRecipe struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ContainerRecipe) String() string {
+func (s DeleteImageOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8079,139 +11970,76 @@ func (s ContainerRecipe) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ContainerRecipe) GoString() string {
- return s.String()
-}
-
-// SetArn sets the Arn field's value.
-func (s *ContainerRecipe) SetArn(v string) *ContainerRecipe {
- s.Arn = &v
- return s
-}
-
-// SetComponents sets the Components field's value.
-func (s *ContainerRecipe) SetComponents(v []*ComponentConfiguration) *ContainerRecipe {
- s.Components = v
- return s
-}
-
-// SetContainerType sets the ContainerType field's value.
-func (s *ContainerRecipe) SetContainerType(v string) *ContainerRecipe {
- s.ContainerType = &v
- return s
-}
-
-// SetDateCreated sets the DateCreated field's value.
-func (s *ContainerRecipe) SetDateCreated(v string) *ContainerRecipe {
- s.DateCreated = &v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *ContainerRecipe) SetDescription(v string) *ContainerRecipe {
- s.Description = &v
- return s
-}
-
-// SetDockerfileTemplateData sets the DockerfileTemplateData field's value.
-func (s *ContainerRecipe) SetDockerfileTemplateData(v string) *ContainerRecipe {
- s.DockerfileTemplateData = &v
- return s
-}
-
-// SetEncrypted sets the Encrypted field's value.
-func (s *ContainerRecipe) SetEncrypted(v bool) *ContainerRecipe {
- s.Encrypted = &v
- return s
-}
-
-// SetInstanceConfiguration sets the InstanceConfiguration field's value.
-func (s *ContainerRecipe) SetInstanceConfiguration(v *InstanceConfiguration) *ContainerRecipe {
- s.InstanceConfiguration = v
- return s
+func (s DeleteImageOutput) GoString() string {
+ return s.String()
}
-// SetKmsKeyId sets the KmsKeyId field's value.
-func (s *ContainerRecipe) SetKmsKeyId(v string) *ContainerRecipe {
- s.KmsKeyId = &v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *DeleteImageOutput) SetImageBuildVersionArn(v string) *DeleteImageOutput {
+ s.ImageBuildVersionArn = &v
return s
}
-// SetName sets the Name field's value.
-func (s *ContainerRecipe) SetName(v string) *ContainerRecipe {
- s.Name = &v
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteImageOutput) SetRequestId(v string) *DeleteImageOutput {
+ s.RequestId = &v
return s
}
-// SetOwner sets the Owner field's value.
-func (s *ContainerRecipe) SetOwner(v string) *ContainerRecipe {
- s.Owner = &v
- return s
-}
+type DeleteImagePipelineInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
-// SetParentImage sets the ParentImage field's value.
-func (s *ContainerRecipe) SetParentImage(v string) *ContainerRecipe {
- s.ParentImage = &v
- return s
+ // The Amazon Resource Name (ARN) of the image pipeline to delete.
+ //
+ // ImagePipelineArn is a required field
+ ImagePipelineArn *string `location:"querystring" locationName:"imagePipelineArn" type:"string" required:"true"`
}
-// SetPlatform sets the Platform field's value.
-func (s *ContainerRecipe) SetPlatform(v string) *ContainerRecipe {
- s.Platform = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteImagePipelineInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetTags sets the Tags field's value.
-func (s *ContainerRecipe) SetTags(v map[string]*string) *ContainerRecipe {
- s.Tags = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteImagePipelineInput) GoString() string {
+ return s.String()
}
-// SetTargetRepository sets the TargetRepository field's value.
-func (s *ContainerRecipe) SetTargetRepository(v *TargetContainerRepository) *ContainerRecipe {
- s.TargetRepository = v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteImagePipelineInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteImagePipelineInput"}
+ if s.ImagePipelineArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImagePipelineArn"))
+ }
-// SetVersion sets the Version field's value.
-func (s *ContainerRecipe) SetVersion(v string) *ContainerRecipe {
- s.Version = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetWorkingDirectory sets the WorkingDirectory field's value.
-func (s *ContainerRecipe) SetWorkingDirectory(v string) *ContainerRecipe {
- s.WorkingDirectory = &v
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *DeleteImagePipelineInput) SetImagePipelineArn(v string) *DeleteImagePipelineInput {
+ s.ImagePipelineArn = &v
return s
}
-// A summary of a container recipe
-type ContainerRecipeSummary struct {
+type DeleteImagePipelineOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the container recipe.
- Arn *string `locationName:"arn" type:"string"`
-
- // Specifies the type of container, such as "Docker".
- ContainerType *string `locationName:"containerType" type:"string" enum:"ContainerType"`
-
- // The date when this container recipe was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The name of the container recipe.
- Name *string `locationName:"name" type:"string"`
-
- // The owner of the container recipe.
- Owner *string `locationName:"owner" min:"1" type:"string"`
-
- // The base image for the container recipe.
- ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
-
- // The system platform for the container, such as Windows or Linux.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+ // The Amazon Resource Name (ARN) of the image pipeline that was deleted.
+ ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
- // Tags that are attached to the container recipe.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -8219,7 +12047,7 @@ type ContainerRecipeSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ContainerRecipeSummary) String() string {
+func (s DeleteImagePipelineOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8228,124 +12056,115 @@ func (s ContainerRecipeSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ContainerRecipeSummary) GoString() string {
+func (s DeleteImagePipelineOutput) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *ContainerRecipeSummary) SetArn(v string) *ContainerRecipeSummary {
- s.Arn = &v
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *DeleteImagePipelineOutput) SetImagePipelineArn(v string) *DeleteImagePipelineOutput {
+ s.ImagePipelineArn = &v
return s
}
-// SetContainerType sets the ContainerType field's value.
-func (s *ContainerRecipeSummary) SetContainerType(v string) *ContainerRecipeSummary {
- s.ContainerType = &v
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteImagePipelineOutput) SetRequestId(v string) *DeleteImagePipelineOutput {
+ s.RequestId = &v
return s
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *ContainerRecipeSummary) SetDateCreated(v string) *ContainerRecipeSummary {
- s.DateCreated = &v
- return s
-}
+type DeleteImageRecipeInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
-// SetName sets the Name field's value.
-func (s *ContainerRecipeSummary) SetName(v string) *ContainerRecipeSummary {
- s.Name = &v
- return s
+ // The Amazon Resource Name (ARN) of the image recipe to delete.
+ //
+ // ImageRecipeArn is a required field
+ ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"`
}
-// SetOwner sets the Owner field's value.
-func (s *ContainerRecipeSummary) SetOwner(v string) *ContainerRecipeSummary {
- s.Owner = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteImageRecipeInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetParentImage sets the ParentImage field's value.
-func (s *ContainerRecipeSummary) SetParentImage(v string) *ContainerRecipeSummary {
- s.ParentImage = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteImageRecipeInput) GoString() string {
+ return s.String()
}
-// SetPlatform sets the Platform field's value.
-func (s *ContainerRecipeSummary) SetPlatform(v string) *ContainerRecipeSummary {
- s.Platform = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteImageRecipeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteImageRecipeInput"}
+ if s.ImageRecipeArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageRecipeArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTags sets the Tags field's value.
-func (s *ContainerRecipeSummary) SetTags(v map[string]*string) *ContainerRecipeSummary {
- s.Tags = v
+// SetImageRecipeArn sets the ImageRecipeArn field's value.
+func (s *DeleteImageRecipeInput) SetImageRecipeArn(v string) *DeleteImageRecipeInput {
+ s.ImageRecipeArn = &v
return s
}
-type CreateComponentInput struct {
+type DeleteImageRecipeOutput struct {
_ struct{} `type:"structure"`
- // The change description of the component. Describes what change has been made
- // in this version, or what makes this version different from other versions
- // of this component.
- ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
-
- // The idempotency token of the component.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // Component data contains inline YAML document content for the component. Alternatively,
- // you can specify the uri of a YAML document file stored in Amazon S3. However,
- // you cannot specify both properties.
- Data *string `locationName:"data" min:"1" type:"string"`
-
- // Describes the contents of the component.
- Description *string `locationName:"description" min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the image recipe that was deleted.
+ ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
- // The ID of the KMS key that is used to encrypt this component.
- KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
+}
- // The name of the component.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteImageRecipeOutput) String() string {
+ return awsutil.Prettify(s)
+}
- // The operating system platform of the component.
- //
- // Platform is a required field
- Platform *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteImageRecipeOutput) GoString() string {
+ return s.String()
+}
- // The semantic version of the component. This version follows the semantic
- // version syntax.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // SemanticVersion is a required field
- SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
+// SetImageRecipeArn sets the ImageRecipeArn field's value.
+func (s *DeleteImageRecipeOutput) SetImageRecipeArn(v string) *DeleteImageRecipeOutput {
+ s.ImageRecipeArn = &v
+ return s
+}
- // The operating system (OS) version supported by the component. If the OS information
- // is available, a prefix match is performed against the base image OS version
- // during image recipe creation.
- SupportedOsVersions []*string `locationName:"supportedOsVersions" min:"1" type:"list"`
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteImageRecipeOutput) SetRequestId(v string) *DeleteImageRecipeOutput {
+ s.RequestId = &v
+ return s
+}
- // The tags that apply to the component.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+type DeleteInfrastructureConfigurationInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The uri of a YAML component document file. This must be an S3 URL (s3://bucket/key),
- // and the requester must have permission to access the S3 bucket it points
- // to. If you use Amazon S3, you can specify component content up to your service
- // quota.
+ // The Amazon Resource Name (ARN) of the infrastructure configuration to delete.
//
- // Alternatively, you can specify the YAML document inline, using the component
- // data property. You cannot specify both properties.
- Uri *string `locationName:"uri" type:"string"`
+ // InfrastructureConfigurationArn is a required field
+ InfrastructureConfigurationArn *string `location:"querystring" locationName:"infrastructureConfigurationArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -8353,7 +12172,7 @@ type CreateComponentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateComponentInput) String() string {
+func (s DeleteInfrastructureConfigurationInput) String() string {
return awsutil.Prettify(s)
}
@@ -8362,42 +12181,15 @@ func (s CreateComponentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateComponentInput) GoString() string {
+func (s DeleteInfrastructureConfigurationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateComponentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateComponentInput"}
- if s.ChangeDescription != nil && len(*s.ChangeDescription) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ChangeDescription", 1))
- }
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Data != nil && len(*s.Data) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Data", 1))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Platform == nil {
- invalidParams.Add(request.NewErrParamRequired("Platform"))
- }
- if s.SemanticVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
- }
- if s.SupportedOsVersions != nil && len(s.SupportedOsVersions) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("SupportedOsVersions", 1))
- }
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+func (s *DeleteInfrastructureConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteInfrastructureConfigurationInput"}
+ if s.InfrastructureConfigurationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InfrastructureConfigurationArn"))
}
if invalidParams.Len() > 0 {
@@ -8406,83 +12198,104 @@ func (s *CreateComponentInput) Validate() error {
return nil
}
-// SetChangeDescription sets the ChangeDescription field's value.
-func (s *CreateComponentInput) SetChangeDescription(v string) *CreateComponentInput {
- s.ChangeDescription = &v
+// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
+func (s *DeleteInfrastructureConfigurationInput) SetInfrastructureConfigurationArn(v string) *DeleteInfrastructureConfigurationInput {
+ s.InfrastructureConfigurationArn = &v
return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateComponentInput) SetClientToken(v string) *CreateComponentInput {
- s.ClientToken = &v
- return s
+type DeleteInfrastructureConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the infrastructure configuration that was
+ // deleted.
+ InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
-// SetData sets the Data field's value.
-func (s *CreateComponentInput) SetData(v string) *CreateComponentInput {
- s.Data = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInfrastructureConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
}
-// SetDescription sets the Description field's value.
-func (s *CreateComponentInput) SetDescription(v string) *CreateComponentInput {
- s.Description = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInfrastructureConfigurationOutput) GoString() string {
+ return s.String()
}
-// SetKmsKeyId sets the KmsKeyId field's value.
-func (s *CreateComponentInput) SetKmsKeyId(v string) *CreateComponentInput {
- s.KmsKeyId = &v
+// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
+func (s *DeleteInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn(v string) *DeleteInfrastructureConfigurationOutput {
+ s.InfrastructureConfigurationArn = &v
return s
}
-// SetName sets the Name field's value.
-func (s *CreateComponentInput) SetName(v string) *CreateComponentInput {
- s.Name = &v
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteInfrastructureConfigurationOutput) SetRequestId(v string) *DeleteInfrastructureConfigurationOutput {
+ s.RequestId = &v
return s
}
-// SetPlatform sets the Platform field's value.
-func (s *CreateComponentInput) SetPlatform(v string) *CreateComponentInput {
- s.Platform = &v
- return s
+type DeleteLifecyclePolicyInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.
+ //
+ // LifecyclePolicyArn is a required field
+ LifecyclePolicyArn *string `location:"querystring" locationName:"lifecyclePolicyArn" type:"string" required:"true"`
}
-// SetSemanticVersion sets the SemanticVersion field's value.
-func (s *CreateComponentInput) SetSemanticVersion(v string) *CreateComponentInput {
- s.SemanticVersion = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteLifecyclePolicyInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetSupportedOsVersions sets the SupportedOsVersions field's value.
-func (s *CreateComponentInput) SetSupportedOsVersions(v []*string) *CreateComponentInput {
- s.SupportedOsVersions = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteLifecyclePolicyInput) GoString() string {
+ return s.String()
}
-// SetTags sets the Tags field's value.
-func (s *CreateComponentInput) SetTags(v map[string]*string) *CreateComponentInput {
- s.Tags = v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteLifecyclePolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteLifecyclePolicyInput"}
+ if s.LifecyclePolicyArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("LifecyclePolicyArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetUri sets the Uri field's value.
-func (s *CreateComponentInput) SetUri(v string) *CreateComponentInput {
- s.Uri = &v
+// SetLifecyclePolicyArn sets the LifecyclePolicyArn field's value.
+func (s *DeleteLifecyclePolicyInput) SetLifecyclePolicyArn(v string) *DeleteLifecyclePolicyInput {
+ s.LifecyclePolicyArn = &v
return s
}
-type CreateComponentOutput struct {
+type DeleteLifecyclePolicyOutput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
-
- // The Amazon Resource Name (ARN) of the component that this request created.
- ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The ARN of the lifecycle policy that was deleted.
+ LifecyclePolicyArn *string `locationName:"lifecyclePolicyArn" type:"string"`
}
// String returns the string representation.
@@ -8490,7 +12303,7 @@ type CreateComponentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateComponentOutput) String() string {
+func (s DeleteLifecyclePolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8499,107 +12312,46 @@ func (s CreateComponentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateComponentOutput) GoString() string {
+func (s DeleteLifecyclePolicyOutput) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateComponentOutput) SetClientToken(v string) *CreateComponentOutput {
- s.ClientToken = &v
- return s
-}
-
-// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
-func (s *CreateComponentOutput) SetComponentBuildVersionArn(v string) *CreateComponentOutput {
- s.ComponentBuildVersionArn = &v
- return s
-}
-
-// SetRequestId sets the RequestId field's value.
-func (s *CreateComponentOutput) SetRequestId(v string) *CreateComponentOutput {
- s.RequestId = &v
+// SetLifecyclePolicyArn sets the LifecyclePolicyArn field's value.
+func (s *DeleteLifecyclePolicyOutput) SetLifecyclePolicyArn(v string) *DeleteLifecyclePolicyOutput {
+ s.LifecyclePolicyArn = &v
return s
}
-type CreateContainerRecipeInput struct {
+// Defines the settings for a specific Region.
+type Distribution struct {
_ struct{} `type:"structure"`
- // The client token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // Components for build and test that are included in the container recipe.
- // Recipes require a minimum of one build component, and can have a maximum
- // of 20 build and test components in any combination.
- //
- // Components is a required field
- Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list" required:"true"`
-
- // The type of container to create.
- //
- // ContainerType is a required field
- ContainerType *string `locationName:"containerType" type:"string" required:"true" enum:"ContainerType"`
-
- // The description of the container recipe.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The Dockerfile template used to build your image as an inline data blob.
- DockerfileTemplateData *string `locationName:"dockerfileTemplateData" min:"1" type:"string"`
-
- // The Amazon S3 URI for the Dockerfile that will be used to build your container
- // image.
- DockerfileTemplateUri *string `locationName:"dockerfileTemplateUri" type:"string"`
-
- // Specifies the operating system version for the base image.
- ImageOsVersionOverride *string `locationName:"imageOsVersionOverride" min:"1" type:"string"`
-
- // A group of options that can be used to configure an instance for building
- // and testing container images.
- InstanceConfiguration *InstanceConfiguration `locationName:"instanceConfiguration" type:"structure"`
-
- // Identifies which KMS key is used to encrypt the container image.
- KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
-
- // The name of the container recipe.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
+ // The specific AMI settings; for example, launch permissions or AMI tags.
+ AmiDistributionConfiguration *AmiDistributionConfiguration `locationName:"amiDistributionConfiguration" type:"structure"`
- // The base image for the container recipe.
- //
- // ParentImage is a required field
- ParentImage *string `locationName:"parentImage" min:"1" type:"string" required:"true"`
+ // Container distribution settings for encryption, licensing, and sharing in
+ // a specific Region.
+ ContainerDistributionConfiguration *ContainerDistributionConfiguration `locationName:"containerDistributionConfiguration" type:"structure"`
- // Specifies the operating system platform when you use a custom base image.
- PlatformOverride *string `locationName:"platformOverride" type:"string" enum:"Platform"`
+ // The Windows faster-launching configurations to use for AMI distribution.
+ FastLaunchConfigurations []*FastLaunchConfiguration `locationName:"fastLaunchConfigurations" min:"1" type:"list"`
- // The semantic version of the container recipe. This version follows the semantic
- // version syntax.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // SemanticVersion is a required field
- SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
+ // A group of launchTemplateConfiguration settings that apply to image distribution
+ // for specified accounts.
+ LaunchTemplateConfigurations []*LaunchTemplateConfiguration `locationName:"launchTemplateConfigurations" min:"1" type:"list"`
- // Tags that are attached to the container recipe.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // The License Manager Configuration to associate with the AMI in the specified
+ // Region.
+ LicenseConfigurationArns []*string `locationName:"licenseConfigurationArns" min:"1" type:"list"`
- // The destination repository for the container image.
+ // The target Region.
//
- // TargetRepository is a required field
- TargetRepository *TargetContainerRepository `locationName:"targetRepository" type:"structure" required:"true"`
+ // Region is a required field
+ Region *string `locationName:"region" min:"1" type:"string" required:"true"`
- // The working directory for use during build and test workflows.
- WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
+ // Configure export settings to deliver disk images created from your image
+ // build, using a file format that is compatible with your VMs in that Region.
+ S3ExportConfiguration *S3ExportConfiguration `locationName:"s3ExportConfiguration" type:"structure"`
}
// String returns the string representation.
@@ -8607,7 +12359,7 @@ type CreateContainerRecipeInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateContainerRecipeInput) String() string {
+func (s Distribution) String() string {
return awsutil.Prettify(s)
}
@@ -8616,76 +12368,61 @@ func (s CreateContainerRecipeInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateContainerRecipeInput) GoString() string {
+func (s Distribution) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateContainerRecipeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateContainerRecipeInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Components == nil {
- invalidParams.Add(request.NewErrParamRequired("Components"))
- }
- if s.Components != nil && len(s.Components) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Components", 1))
- }
- if s.ContainerType == nil {
- invalidParams.Add(request.NewErrParamRequired("ContainerType"))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.DockerfileTemplateData != nil && len(*s.DockerfileTemplateData) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("DockerfileTemplateData", 1))
- }
- if s.ImageOsVersionOverride != nil && len(*s.ImageOsVersionOverride) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ImageOsVersionOverride", 1))
- }
- if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
+func (s *Distribution) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Distribution"}
+ if s.FastLaunchConfigurations != nil && len(s.FastLaunchConfigurations) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("FastLaunchConfigurations", 1))
}
- if s.ParentImage == nil {
- invalidParams.Add(request.NewErrParamRequired("ParentImage"))
+ if s.LaunchTemplateConfigurations != nil && len(s.LaunchTemplateConfigurations) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateConfigurations", 1))
}
- if s.ParentImage != nil && len(*s.ParentImage) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ParentImage", 1))
+ if s.LicenseConfigurationArns != nil && len(s.LicenseConfigurationArns) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LicenseConfigurationArns", 1))
}
- if s.SemanticVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
+ if s.Region == nil {
+ invalidParams.Add(request.NewErrParamRequired("Region"))
}
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ if s.Region != nil && len(*s.Region) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Region", 1))
}
- if s.TargetRepository == nil {
- invalidParams.Add(request.NewErrParamRequired("TargetRepository"))
+ if s.AmiDistributionConfiguration != nil {
+ if err := s.AmiDistributionConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("AmiDistributionConfiguration", err.(request.ErrInvalidParams))
+ }
}
- if s.WorkingDirectory != nil && len(*s.WorkingDirectory) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("WorkingDirectory", 1))
+ if s.ContainerDistributionConfiguration != nil {
+ if err := s.ContainerDistributionConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("ContainerDistributionConfiguration", err.(request.ErrInvalidParams))
+ }
}
- if s.Components != nil {
- for i, v := range s.Components {
+ if s.FastLaunchConfigurations != nil {
+ for i, v := range s.FastLaunchConfigurations {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Components", i), err.(request.ErrInvalidParams))
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FastLaunchConfigurations", i), err.(request.ErrInvalidParams))
}
}
}
- if s.InstanceConfiguration != nil {
- if err := s.InstanceConfiguration.Validate(); err != nil {
- invalidParams.AddNested("InstanceConfiguration", err.(request.ErrInvalidParams))
+ if s.LaunchTemplateConfigurations != nil {
+ for i, v := range s.LaunchTemplateConfigurations {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LaunchTemplateConfigurations", i), err.(request.ErrInvalidParams))
+ }
}
}
- if s.TargetRepository != nil {
- if err := s.TargetRepository.Validate(); err != nil {
- invalidParams.AddNested("TargetRepository", err.(request.ErrInvalidParams))
+ if s.S3ExportConfiguration != nil {
+ if err := s.S3ExportConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("S3ExportConfiguration", err.(request.ErrInvalidParams))
}
}
@@ -8695,173 +12432,78 @@ func (s *CreateContainerRecipeInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateContainerRecipeInput) SetClientToken(v string) *CreateContainerRecipeInput {
- s.ClientToken = &v
- return s
-}
-
-// SetComponents sets the Components field's value.
-func (s *CreateContainerRecipeInput) SetComponents(v []*ComponentConfiguration) *CreateContainerRecipeInput {
- s.Components = v
- return s
-}
-
-// SetContainerType sets the ContainerType field's value.
-func (s *CreateContainerRecipeInput) SetContainerType(v string) *CreateContainerRecipeInput {
- s.ContainerType = &v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *CreateContainerRecipeInput) SetDescription(v string) *CreateContainerRecipeInput {
- s.Description = &v
- return s
-}
-
-// SetDockerfileTemplateData sets the DockerfileTemplateData field's value.
-func (s *CreateContainerRecipeInput) SetDockerfileTemplateData(v string) *CreateContainerRecipeInput {
- s.DockerfileTemplateData = &v
- return s
-}
-
-// SetDockerfileTemplateUri sets the DockerfileTemplateUri field's value.
-func (s *CreateContainerRecipeInput) SetDockerfileTemplateUri(v string) *CreateContainerRecipeInput {
- s.DockerfileTemplateUri = &v
- return s
-}
-
-// SetImageOsVersionOverride sets the ImageOsVersionOverride field's value.
-func (s *CreateContainerRecipeInput) SetImageOsVersionOverride(v string) *CreateContainerRecipeInput {
- s.ImageOsVersionOverride = &v
- return s
-}
-
-// SetInstanceConfiguration sets the InstanceConfiguration field's value.
-func (s *CreateContainerRecipeInput) SetInstanceConfiguration(v *InstanceConfiguration) *CreateContainerRecipeInput {
- s.InstanceConfiguration = v
- return s
-}
-
-// SetKmsKeyId sets the KmsKeyId field's value.
-func (s *CreateContainerRecipeInput) SetKmsKeyId(v string) *CreateContainerRecipeInput {
- s.KmsKeyId = &v
- return s
-}
-
-// SetName sets the Name field's value.
-func (s *CreateContainerRecipeInput) SetName(v string) *CreateContainerRecipeInput {
- s.Name = &v
+// SetAmiDistributionConfiguration sets the AmiDistributionConfiguration field's value.
+func (s *Distribution) SetAmiDistributionConfiguration(v *AmiDistributionConfiguration) *Distribution {
+ s.AmiDistributionConfiguration = v
return s
}
-// SetParentImage sets the ParentImage field's value.
-func (s *CreateContainerRecipeInput) SetParentImage(v string) *CreateContainerRecipeInput {
- s.ParentImage = &v
+// SetContainerDistributionConfiguration sets the ContainerDistributionConfiguration field's value.
+func (s *Distribution) SetContainerDistributionConfiguration(v *ContainerDistributionConfiguration) *Distribution {
+ s.ContainerDistributionConfiguration = v
return s
}
-// SetPlatformOverride sets the PlatformOverride field's value.
-func (s *CreateContainerRecipeInput) SetPlatformOverride(v string) *CreateContainerRecipeInput {
- s.PlatformOverride = &v
+// SetFastLaunchConfigurations sets the FastLaunchConfigurations field's value.
+func (s *Distribution) SetFastLaunchConfigurations(v []*FastLaunchConfiguration) *Distribution {
+ s.FastLaunchConfigurations = v
return s
}
-// SetSemanticVersion sets the SemanticVersion field's value.
-func (s *CreateContainerRecipeInput) SetSemanticVersion(v string) *CreateContainerRecipeInput {
- s.SemanticVersion = &v
+// SetLaunchTemplateConfigurations sets the LaunchTemplateConfigurations field's value.
+func (s *Distribution) SetLaunchTemplateConfigurations(v []*LaunchTemplateConfiguration) *Distribution {
+ s.LaunchTemplateConfigurations = v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateContainerRecipeInput) SetTags(v map[string]*string) *CreateContainerRecipeInput {
- s.Tags = v
+// SetLicenseConfigurationArns sets the LicenseConfigurationArns field's value.
+func (s *Distribution) SetLicenseConfigurationArns(v []*string) *Distribution {
+ s.LicenseConfigurationArns = v
return s
}
-// SetTargetRepository sets the TargetRepository field's value.
-func (s *CreateContainerRecipeInput) SetTargetRepository(v *TargetContainerRepository) *CreateContainerRecipeInput {
- s.TargetRepository = v
+// SetRegion sets the Region field's value.
+func (s *Distribution) SetRegion(v string) *Distribution {
+ s.Region = &v
return s
}
-// SetWorkingDirectory sets the WorkingDirectory field's value.
-func (s *CreateContainerRecipeInput) SetWorkingDirectory(v string) *CreateContainerRecipeInput {
- s.WorkingDirectory = &v
+// SetS3ExportConfiguration sets the S3ExportConfiguration field's value.
+func (s *Distribution) SetS3ExportConfiguration(v *S3ExportConfiguration) *Distribution {
+ s.S3ExportConfiguration = v
return s
}
-type CreateContainerRecipeOutput struct {
+// A distribution configuration.
+type DistributionConfiguration struct {
_ struct{} `type:"structure"`
- // The client token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
-
- // Returns the Amazon Resource Name (ARN) of the container recipe that the request
- // created.
- ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s CreateContainerRecipeOutput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s CreateContainerRecipeOutput) GoString() string {
- return s.String()
-}
-
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateContainerRecipeOutput) SetClientToken(v string) *CreateContainerRecipeOutput {
- s.ClientToken = &v
- return s
-}
-
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *CreateContainerRecipeOutput) SetContainerRecipeArn(v string) *CreateContainerRecipeOutput {
- s.ContainerRecipeArn = &v
- return s
-}
-
-// SetRequestId sets the RequestId field's value.
-func (s *CreateContainerRecipeOutput) SetRequestId(v string) *CreateContainerRecipeOutput {
- s.RequestId = &v
- return s
-}
+ // The Amazon Resource Name (ARN) of the distribution configuration.
+ Arn *string `locationName:"arn" type:"string"`
-type CreateDistributionConfigurationInput struct {
- _ struct{} `type:"structure"`
+ // The date on which this distribution configuration was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
- // The idempotency token of the distribution configuration.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+ // The date on which this distribution configuration was last updated.
+ DateUpdated *string `locationName:"dateUpdated" type:"string"`
// The description of the distribution configuration.
Description *string `locationName:"description" min:"1" type:"string"`
- // The distributions of the distribution configuration.
- //
- // Distributions is a required field
- Distributions []*Distribution `locationName:"distributions" type:"list" required:"true"`
+ // The distribution objects that apply Region-specific settings for the deployment
+ // of the image to targeted Regions.
+ Distributions []*Distribution `locationName:"distributions" type:"list"`
// The name of the distribution configuration.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
+ Name *string `locationName:"name" type:"string"`
// The tags of the distribution configuration.
Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The maximum duration in minutes for this distribution configuration.
+ //
+ // TimeoutMinutes is a required field
+ TimeoutMinutes *int64 `locationName:"timeoutMinutes" min:"30" type:"integer" required:"true"`
}
// String returns the string representation.
@@ -8869,7 +12511,7 @@ type CreateDistributionConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateDistributionConfigurationInput) String() string {
+func (s DistributionConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -8878,87 +12520,82 @@ func (s CreateDistributionConfigurationInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateDistributionConfigurationInput) GoString() string {
+func (s DistributionConfiguration) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateDistributionConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateDistributionConfigurationInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.Distributions == nil {
- invalidParams.Add(request.NewErrParamRequired("Distributions"))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
- }
- if s.Distributions != nil {
- for i, v := range s.Distributions {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Distributions", i), err.(request.ErrInvalidParams))
- }
- }
- }
+// SetArn sets the Arn field's value.
+func (s *DistributionConfiguration) SetArn(v string) *DistributionConfiguration {
+ s.Arn = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetDateCreated sets the DateCreated field's value.
+func (s *DistributionConfiguration) SetDateCreated(v string) *DistributionConfiguration {
+ s.DateCreated = &v
+ return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateDistributionConfigurationInput) SetClientToken(v string) *CreateDistributionConfigurationInput {
- s.ClientToken = &v
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *DistributionConfiguration) SetDateUpdated(v string) *DistributionConfiguration {
+ s.DateUpdated = &v
return s
}
// SetDescription sets the Description field's value.
-func (s *CreateDistributionConfigurationInput) SetDescription(v string) *CreateDistributionConfigurationInput {
+func (s *DistributionConfiguration) SetDescription(v string) *DistributionConfiguration {
s.Description = &v
return s
}
// SetDistributions sets the Distributions field's value.
-func (s *CreateDistributionConfigurationInput) SetDistributions(v []*Distribution) *CreateDistributionConfigurationInput {
+func (s *DistributionConfiguration) SetDistributions(v []*Distribution) *DistributionConfiguration {
s.Distributions = v
return s
}
// SetName sets the Name field's value.
-func (s *CreateDistributionConfigurationInput) SetName(v string) *CreateDistributionConfigurationInput {
+func (s *DistributionConfiguration) SetName(v string) *DistributionConfiguration {
s.Name = &v
return s
}
// SetTags sets the Tags field's value.
-func (s *CreateDistributionConfigurationInput) SetTags(v map[string]*string) *CreateDistributionConfigurationInput {
+func (s *DistributionConfiguration) SetTags(v map[string]*string) *DistributionConfiguration {
s.Tags = v
return s
}
-type CreateDistributionConfigurationOutput struct {
+// SetTimeoutMinutes sets the TimeoutMinutes field's value.
+func (s *DistributionConfiguration) SetTimeoutMinutes(v int64) *DistributionConfiguration {
+ s.TimeoutMinutes = &v
+ return s
+}
+
+// A high-level overview of a distribution configuration.
+type DistributionConfigurationSummary struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the distribution configuration.
+ Arn *string `locationName:"arn" type:"string"`
- // The Amazon Resource Name (ARN) of the distribution configuration that was
- // created by this request.
- DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
+ // The date on which the distribution configuration was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The date on which the distribution configuration was updated.
+ DateUpdated *string `locationName:"dateUpdated" type:"string"`
+
+ // The description of the distribution configuration.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of the distribution configuration.
+ Name *string `locationName:"name" type:"string"`
+
+ // A list of Regions where the container image is distributed to.
+ Regions []*string `locationName:"regions" type:"list"`
+
+ // The tags associated with the distribution configuration.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -8966,7 +12603,7 @@ type CreateDistributionConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateDistributionConfigurationOutput) String() string {
+func (s DistributionConfigurationSummary) String() string {
return awsutil.Prettify(s)
}
@@ -8975,66 +12612,79 @@ func (s CreateDistributionConfigurationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateDistributionConfigurationOutput) GoString() string {
+func (s DistributionConfigurationSummary) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateDistributionConfigurationOutput) SetClientToken(v string) *CreateDistributionConfigurationOutput {
- s.ClientToken = &v
+// SetArn sets the Arn field's value.
+func (s *DistributionConfigurationSummary) SetArn(v string) *DistributionConfigurationSummary {
+ s.Arn = &v
return s
}
-// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
-func (s *CreateDistributionConfigurationOutput) SetDistributionConfigurationArn(v string) *CreateDistributionConfigurationOutput {
- s.DistributionConfigurationArn = &v
+// SetDateCreated sets the DateCreated field's value.
+func (s *DistributionConfigurationSummary) SetDateCreated(v string) *DistributionConfigurationSummary {
+ s.DateCreated = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *CreateDistributionConfigurationOutput) SetRequestId(v string) *CreateDistributionConfigurationOutput {
- s.RequestId = &v
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *DistributionConfigurationSummary) SetDateUpdated(v string) *DistributionConfigurationSummary {
+ s.DateUpdated = &v
return s
}
-type CreateImageInput struct {
- _ struct{} `type:"structure"`
+// SetDescription sets the Description field's value.
+func (s *DistributionConfigurationSummary) SetDescription(v string) *DistributionConfigurationSummary {
+ s.Description = &v
+ return s
+}
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+// SetName sets the Name field's value.
+func (s *DistributionConfigurationSummary) SetName(v string) *DistributionConfigurationSummary {
+ s.Name = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the container recipe that defines how images
- // are configured and tested.
- ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
+// SetRegions sets the Regions field's value.
+func (s *DistributionConfigurationSummary) SetRegions(v []*string) *DistributionConfigurationSummary {
+ s.Regions = v
+ return s
+}
- // The Amazon Resource Name (ARN) of the distribution configuration that defines
- // and configures the outputs of your pipeline.
- DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
+// SetTags sets the Tags field's value.
+func (s *DistributionConfigurationSummary) SetTags(v map[string]*string) *DistributionConfigurationSummary {
+ s.Tags = v
+ return s
+}
- // Collects additional information about the image being created, including
- // the operating system (OS) version and package list. This information is used
- // to enhance the overall experience of using EC2 Image Builder. Enabled by
- // default.
- EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
+// Amazon EBS-specific block device mapping specifications.
+type EbsInstanceBlockDeviceSpecification struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the image recipe that defines how images
- // are configured, tested, and assessed.
- ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
+ // Use to configure delete on termination of the associated device.
+ DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"`
- // Contains settings for vulnerability scans.
- ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
+ // Use to configure device encryption.
+ Encrypted *bool `locationName:"encrypted" type:"boolean"`
- // The image tests configuration of the image.
- ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
+ // Use to configure device IOPS.
+ Iops *int64 `locationName:"iops" min:"100" type:"integer"`
- // The Amazon Resource Name (ARN) of the infrastructure configuration that defines
- // the environment in which your image will be built and tested.
- //
- // InfrastructureConfigurationArn is a required field
- InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"`
+ // Use to configure the KMS key to use when encrypting the device.
+ KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
- // The tags of the image.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // The snapshot that defines the device contents.
+ SnapshotId *string `locationName:"snapshotId" min:"1" type:"string"`
+
+ // For GP3 volumes only – The throughput in MiB/s that the volume supports.
+ Throughput *int64 `locationName:"throughput" min:"125" type:"integer"`
+
+ // Use to override the device's volume size.
+ VolumeSize *int64 `locationName:"volumeSize" min:"1" type:"integer"`
+
+ // Use to override the device's volume type.
+ VolumeType *string `locationName:"volumeType" type:"string" enum:"EbsVolumeType"`
}
// String returns the string representation.
@@ -9042,7 +12692,7 @@ type CreateImageInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageInput) String() string {
+func (s EbsInstanceBlockDeviceSpecification) String() string {
return awsutil.Prettify(s)
}
@@ -9051,31 +12701,27 @@ func (s CreateImageInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageInput) GoString() string {
+func (s EbsInstanceBlockDeviceSpecification) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateImageInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateImageInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+func (s *EbsInstanceBlockDeviceSpecification) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "EbsInstanceBlockDeviceSpecification"}
+ if s.Iops != nil && *s.Iops < 100 {
+ invalidParams.Add(request.NewErrParamMinValue("Iops", 100))
}
- if s.InfrastructureConfigurationArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InfrastructureConfigurationArn"))
+ if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
}
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ if s.SnapshotId != nil && len(*s.SnapshotId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SnapshotId", 1))
}
- if s.ImageScanningConfiguration != nil {
- if err := s.ImageScanningConfiguration.Validate(); err != nil {
- invalidParams.AddNested("ImageScanningConfiguration", err.(request.ErrInvalidParams))
- }
+ if s.Throughput != nil && *s.Throughput < 125 {
+ invalidParams.Add(request.NewErrParamMinValue("Throughput", 125))
}
- if s.ImageTestsConfiguration != nil {
- if err := s.ImageTestsConfiguration.Validate(); err != nil {
- invalidParams.AddNested("ImageTestsConfiguration", err.(request.ErrInvalidParams))
- }
+ if s.VolumeSize != nil && *s.VolumeSize < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("VolumeSize", 1))
}
if invalidParams.Len() > 0 {
@@ -9084,71 +12730,69 @@ func (s *CreateImageInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateImageInput) SetClientToken(v string) *CreateImageInput {
- s.ClientToken = &v
- return s
-}
-
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *CreateImageInput) SetContainerRecipeArn(v string) *CreateImageInput {
- s.ContainerRecipeArn = &v
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetDeleteOnTermination(v bool) *EbsInstanceBlockDeviceSpecification {
+ s.DeleteOnTermination = &v
return s
}
-// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
-func (s *CreateImageInput) SetDistributionConfigurationArn(v string) *CreateImageInput {
- s.DistributionConfigurationArn = &v
+// SetEncrypted sets the Encrypted field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetEncrypted(v bool) *EbsInstanceBlockDeviceSpecification {
+ s.Encrypted = &v
return s
}
-// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
-func (s *CreateImageInput) SetEnhancedImageMetadataEnabled(v bool) *CreateImageInput {
- s.EnhancedImageMetadataEnabled = &v
+// SetIops sets the Iops field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetIops(v int64) *EbsInstanceBlockDeviceSpecification {
+ s.Iops = &v
return s
}
-// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *CreateImageInput) SetImageRecipeArn(v string) *CreateImageInput {
- s.ImageRecipeArn = &v
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetKmsKeyId(v string) *EbsInstanceBlockDeviceSpecification {
+ s.KmsKeyId = &v
return s
-}
-
-// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
-func (s *CreateImageInput) SetImageScanningConfiguration(v *ImageScanningConfiguration) *CreateImageInput {
- s.ImageScanningConfiguration = v
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetSnapshotId(v string) *EbsInstanceBlockDeviceSpecification {
+ s.SnapshotId = &v
return s
}
-// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
-func (s *CreateImageInput) SetImageTestsConfiguration(v *ImageTestsConfiguration) *CreateImageInput {
- s.ImageTestsConfiguration = v
+// SetThroughput sets the Throughput field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetThroughput(v int64) *EbsInstanceBlockDeviceSpecification {
+ s.Throughput = &v
return s
}
-// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
-func (s *CreateImageInput) SetInfrastructureConfigurationArn(v string) *CreateImageInput {
- s.InfrastructureConfigurationArn = &v
+// SetVolumeSize sets the VolumeSize field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetVolumeSize(v int64) *EbsInstanceBlockDeviceSpecification {
+ s.VolumeSize = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateImageInput) SetTags(v map[string]*string) *CreateImageInput {
- s.Tags = v
+// SetVolumeType sets the VolumeType field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetVolumeType(v string) *EbsInstanceBlockDeviceSpecification {
+ s.VolumeType = &v
return s
}
-type CreateImageOutput struct {
+// Settings that Image Builder uses to configure the ECR repository and the
+// output container images that Amazon Inspector scans.
+type EcrConfiguration struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
-
- // The Amazon Resource Name (ARN) of the image that this request created.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+ // Tags for Image Builder to apply to the output container image that &INS;
+ // scans. Tags can help you identify and manage your scanned images.
+ ContainerTags []*string `locationName:"containerTags" type:"list"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The name of the container repository that Amazon Inspector scans to identify
+ // findings for your container images. The name includes the path for the repository
+ // location. If you don’t provide this information, Image Builder creates
+ // a repository in your account named image-builder-image-scanning-repository
+ // for vulnerability scans of your output container images.
+ RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
}
// String returns the string representation.
@@ -9156,7 +12800,7 @@ type CreateImageOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageOutput) String() string {
+func (s EcrConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -9165,80 +12809,60 @@ func (s CreateImageOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageOutput) GoString() string {
+func (s EcrConfiguration) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateImageOutput) SetClientToken(v string) *CreateImageOutput {
- s.ClientToken = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *EcrConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "EcrConfiguration"}
+ if s.RepositoryName != nil && len(*s.RepositoryName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *CreateImageOutput) SetImageBuildVersionArn(v string) *CreateImageOutput {
- s.ImageBuildVersionArn = &v
+// SetContainerTags sets the ContainerTags field's value.
+func (s *EcrConfiguration) SetContainerTags(v []*string) *EcrConfiguration {
+ s.ContainerTags = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *CreateImageOutput) SetRequestId(v string) *CreateImageOutput {
- s.RequestId = &v
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *EcrConfiguration) SetRepositoryName(v string) *EcrConfiguration {
+ s.RepositoryName = &v
return s
}
-type CreateImagePipelineInput struct {
+// Define and configure faster launching for output Windows AMIs.
+type FastLaunchConfiguration struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The Amazon Resource Name (ARN) of the container recipe that is used to configure
- // images created by this container pipeline.
- ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
-
- // The description of the image pipeline.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The Amazon Resource Name (ARN) of the distribution configuration that will
- // be used to configure and distribute images created by this image pipeline.
- DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
-
- // Collects additional information about the image being created, including
- // the operating system (OS) version and package list. This information is used
- // to enhance the overall experience of using EC2 Image Builder. Enabled by
- // default.
- EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
-
- // The Amazon Resource Name (ARN) of the image recipe that will be used to configure
- // images created by this image pipeline.
- ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
-
- // Contains settings for vulnerability scans.
- ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
-
- // The image test configuration of the image pipeline.
- ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
-
- // The Amazon Resource Name (ARN) of the infrastructure configuration that will
- // be used to build images created by this image pipeline.
- //
- // InfrastructureConfigurationArn is a required field
- InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string" required:"true"`
+ // The owner account ID for the fast-launch enabled Windows AMI.
+ AccountId *string `locationName:"accountId" type:"string"`
- // The name of the image pipeline.
+ // A Boolean that represents the current state of faster launching for the Windows
+ // AMI. Set to true to start using Windows faster launching, or false to stop
+ // using it.
//
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
+ // Enabled is a required field
+ Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`
- // The schedule of the image pipeline.
- Schedule *Schedule `locationName:"schedule" type:"structure"`
+ // The launch template that the fast-launch enabled Windows AMI uses when it
+ // launches Windows instances to create pre-provisioned snapshots.
+ LaunchTemplate *FastLaunchLaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"`
- // The status of the image pipeline.
- Status *string `locationName:"status" type:"string" enum:"PipelineStatus"`
+ // The maximum number of parallel instances that are launched for creating resources.
+ MaxParallelLaunches *int64 `locationName:"maxParallelLaunches" min:"1" type:"integer"`
- // The tags of the image pipeline.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // Configuration settings for managing the number of snapshots that are created
+ // from pre-provisioned instances for the Windows AMI when faster launching
+ // is enabled.
+ SnapshotConfiguration *FastLaunchSnapshotConfiguration `locationName:"snapshotConfiguration" type:"structure"`
}
// String returns the string representation.
@@ -9246,7 +12870,7 @@ type CreateImagePipelineInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImagePipelineInput) String() string {
+func (s FastLaunchConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -9255,41 +12879,27 @@ func (s CreateImagePipelineInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImagePipelineInput) GoString() string {
+func (s FastLaunchConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateImagePipelineInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateImagePipelineInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.InfrastructureConfigurationArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InfrastructureConfigurationArn"))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+func (s *FastLaunchConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "FastLaunchConfiguration"}
+ if s.Enabled == nil {
+ invalidParams.Add(request.NewErrParamRequired("Enabled"))
}
- if s.ImageScanningConfiguration != nil {
- if err := s.ImageScanningConfiguration.Validate(); err != nil {
- invalidParams.AddNested("ImageScanningConfiguration", err.(request.ErrInvalidParams))
- }
+ if s.MaxParallelLaunches != nil && *s.MaxParallelLaunches < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxParallelLaunches", 1))
}
- if s.ImageTestsConfiguration != nil {
- if err := s.ImageTestsConfiguration.Validate(); err != nil {
- invalidParams.AddNested("ImageTestsConfiguration", err.(request.ErrInvalidParams))
+ if s.LaunchTemplate != nil {
+ if err := s.LaunchTemplate.Validate(); err != nil {
+ invalidParams.AddNested("LaunchTemplate", err.(request.ErrInvalidParams))
}
}
- if s.Schedule != nil {
- if err := s.Schedule.Validate(); err != nil {
- invalidParams.AddNested("Schedule", err.(request.ErrInvalidParams))
+ if s.SnapshotConfiguration != nil {
+ if err := s.SnapshotConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("SnapshotConfiguration", err.(request.ErrInvalidParams))
}
}
@@ -9299,96 +12909,54 @@ func (s *CreateImagePipelineInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateImagePipelineInput) SetClientToken(v string) *CreateImagePipelineInput {
- s.ClientToken = &v
- return s
-}
-
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *CreateImagePipelineInput) SetContainerRecipeArn(v string) *CreateImagePipelineInput {
- s.ContainerRecipeArn = &v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *CreateImagePipelineInput) SetDescription(v string) *CreateImagePipelineInput {
- s.Description = &v
- return s
-}
-
-// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
-func (s *CreateImagePipelineInput) SetDistributionConfigurationArn(v string) *CreateImagePipelineInput {
- s.DistributionConfigurationArn = &v
- return s
-}
-
-// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
-func (s *CreateImagePipelineInput) SetEnhancedImageMetadataEnabled(v bool) *CreateImagePipelineInput {
- s.EnhancedImageMetadataEnabled = &v
- return s
-}
-
-// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *CreateImagePipelineInput) SetImageRecipeArn(v string) *CreateImagePipelineInput {
- s.ImageRecipeArn = &v
- return s
-}
-
-// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
-func (s *CreateImagePipelineInput) SetImageScanningConfiguration(v *ImageScanningConfiguration) *CreateImagePipelineInput {
- s.ImageScanningConfiguration = v
- return s
-}
-
-// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
-func (s *CreateImagePipelineInput) SetImageTestsConfiguration(v *ImageTestsConfiguration) *CreateImagePipelineInput {
- s.ImageTestsConfiguration = v
- return s
-}
-
-// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
-func (s *CreateImagePipelineInput) SetInfrastructureConfigurationArn(v string) *CreateImagePipelineInput {
- s.InfrastructureConfigurationArn = &v
+// SetAccountId sets the AccountId field's value.
+func (s *FastLaunchConfiguration) SetAccountId(v string) *FastLaunchConfiguration {
+ s.AccountId = &v
return s
}
-// SetName sets the Name field's value.
-func (s *CreateImagePipelineInput) SetName(v string) *CreateImagePipelineInput {
- s.Name = &v
+// SetEnabled sets the Enabled field's value.
+func (s *FastLaunchConfiguration) SetEnabled(v bool) *FastLaunchConfiguration {
+ s.Enabled = &v
return s
}
-// SetSchedule sets the Schedule field's value.
-func (s *CreateImagePipelineInput) SetSchedule(v *Schedule) *CreateImagePipelineInput {
- s.Schedule = v
+// SetLaunchTemplate sets the LaunchTemplate field's value.
+func (s *FastLaunchConfiguration) SetLaunchTemplate(v *FastLaunchLaunchTemplateSpecification) *FastLaunchConfiguration {
+ s.LaunchTemplate = v
return s
}
-// SetStatus sets the Status field's value.
-func (s *CreateImagePipelineInput) SetStatus(v string) *CreateImagePipelineInput {
- s.Status = &v
+// SetMaxParallelLaunches sets the MaxParallelLaunches field's value.
+func (s *FastLaunchConfiguration) SetMaxParallelLaunches(v int64) *FastLaunchConfiguration {
+ s.MaxParallelLaunches = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateImagePipelineInput) SetTags(v map[string]*string) *CreateImagePipelineInput {
- s.Tags = v
+// SetSnapshotConfiguration sets the SnapshotConfiguration field's value.
+func (s *FastLaunchConfiguration) SetSnapshotConfiguration(v *FastLaunchSnapshotConfiguration) *FastLaunchConfiguration {
+ s.SnapshotConfiguration = v
return s
}
-type CreateImagePipelineOutput struct {
+// Identifies the launch template that the associated Windows AMI uses for launching
+// an instance when faster launching is enabled.
+//
+// You can specify either the launchTemplateName or the launchTemplateId, but
+// not both.
+type FastLaunchLaunchTemplateSpecification struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+ // The ID of the launch template to use for faster launching for a Windows AMI.
+ LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"`
- // The Amazon Resource Name (ARN) of the image pipeline that was created by
- // this request.
- ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
+ // The name of the launch template to use for faster launching for a Windows
+ // AMI.
+ LaunchTemplateName *string `locationName:"launchTemplateName" min:"1" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The version of the launch template to use for faster launching for a Windows
+ // AMI.
+ LaunchTemplateVersion *string `locationName:"launchTemplateVersion" min:"1" type:"string"`
}
// String returns the string representation.
@@ -9396,7 +12964,7 @@ type CreateImagePipelineOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImagePipelineOutput) String() string {
+func (s FastLaunchLaunchTemplateSpecification) String() string {
return awsutil.Prettify(s)
}
@@ -9405,87 +12973,52 @@ func (s CreateImagePipelineOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImagePipelineOutput) GoString() string {
+func (s FastLaunchLaunchTemplateSpecification) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateImagePipelineOutput) SetClientToken(v string) *CreateImagePipelineOutput {
- s.ClientToken = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *FastLaunchLaunchTemplateSpecification) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "FastLaunchLaunchTemplateSpecification"}
+ if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 1))
+ }
+ if s.LaunchTemplateVersion != nil && len(*s.LaunchTemplateVersion) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateVersion", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetLaunchTemplateId sets the LaunchTemplateId field's value.
+func (s *FastLaunchLaunchTemplateSpecification) SetLaunchTemplateId(v string) *FastLaunchLaunchTemplateSpecification {
+ s.LaunchTemplateId = &v
return s
}
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *CreateImagePipelineOutput) SetImagePipelineArn(v string) *CreateImagePipelineOutput {
- s.ImagePipelineArn = &v
+// SetLaunchTemplateName sets the LaunchTemplateName field's value.
+func (s *FastLaunchLaunchTemplateSpecification) SetLaunchTemplateName(v string) *FastLaunchLaunchTemplateSpecification {
+ s.LaunchTemplateName = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *CreateImagePipelineOutput) SetRequestId(v string) *CreateImagePipelineOutput {
- s.RequestId = &v
+// SetLaunchTemplateVersion sets the LaunchTemplateVersion field's value.
+func (s *FastLaunchLaunchTemplateSpecification) SetLaunchTemplateVersion(v string) *FastLaunchLaunchTemplateSpecification {
+ s.LaunchTemplateVersion = &v
return s
}
-type CreateImageRecipeInput struct {
+// Configuration settings for creating and managing pre-provisioned snapshots
+// for a fast-launch enabled Windows AMI.
+type FastLaunchSnapshotConfiguration struct {
_ struct{} `type:"structure"`
- // Specify additional settings and launch scripts for your build instances.
- AdditionalInstanceConfiguration *AdditionalInstanceConfiguration `locationName:"additionalInstanceConfiguration" type:"structure"`
-
- // The block device mappings of the image recipe.
- BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"`
-
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The components included in the image recipe.
- //
- // Components is a required field
- Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list" required:"true"`
-
- // The description of the image recipe.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The name of the image recipe.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
-
- // The base image of the image recipe. The value of the string can be the ARN
- // of the base image or an AMI ID. The format for the ARN follows this example:
- // arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x.
- // You can provide the specific version that you want to use, or you can use
- // a wildcard in all of the fields. If you enter an AMI ID for the string value,
- // you must have access to the AMI, and the AMI must be in the same Region in
- // which you are using Image Builder.
- //
- // ParentImage is a required field
- ParentImage *string `locationName:"parentImage" min:"1" type:"string" required:"true"`
-
- // The semantic version of the image recipe. This version follows the semantic
- // version syntax.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // SemanticVersion is a required field
- SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
-
- // The tags of the image recipe.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
-
- // The working directory used during build and test workflows.
- WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
+ // The number of pre-provisioned snapshots to keep on hand for a fast-launch
+ // enabled Windows AMI.
+ TargetResourceCount *int64 `locationName:"targetResourceCount" min:"1" type:"integer"`
}
// String returns the string representation.
@@ -9493,7 +13026,7 @@ type CreateImageRecipeInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageRecipeInput) String() string {
+func (s FastLaunchSnapshotConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -9502,67 +13035,15 @@ func (s CreateImageRecipeInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageRecipeInput) GoString() string {
+func (s FastLaunchSnapshotConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateImageRecipeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateImageRecipeInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Components == nil {
- invalidParams.Add(request.NewErrParamRequired("Components"))
- }
- if s.Components != nil && len(s.Components) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Components", 1))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.ParentImage == nil {
- invalidParams.Add(request.NewErrParamRequired("ParentImage"))
- }
- if s.ParentImage != nil && len(*s.ParentImage) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ParentImage", 1))
- }
- if s.SemanticVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
- }
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
- }
- if s.WorkingDirectory != nil && len(*s.WorkingDirectory) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("WorkingDirectory", 1))
- }
- if s.AdditionalInstanceConfiguration != nil {
- if err := s.AdditionalInstanceConfiguration.Validate(); err != nil {
- invalidParams.AddNested("AdditionalInstanceConfiguration", err.(request.ErrInvalidParams))
- }
- }
- if s.BlockDeviceMappings != nil {
- for i, v := range s.BlockDeviceMappings {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BlockDeviceMappings", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.Components != nil {
- for i, v := range s.Components {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Components", i), err.(request.ErrInvalidParams))
- }
- }
+func (s *FastLaunchSnapshotConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "FastLaunchSnapshotConfiguration"}
+ if s.TargetResourceCount != nil && *s.TargetResourceCount < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("TargetResourceCount", 1))
}
if invalidParams.Len() > 0 {
@@ -9571,78 +13052,74 @@ func (s *CreateImageRecipeInput) Validate() error {
return nil
}
-// SetAdditionalInstanceConfiguration sets the AdditionalInstanceConfiguration field's value.
-func (s *CreateImageRecipeInput) SetAdditionalInstanceConfiguration(v *AdditionalInstanceConfiguration) *CreateImageRecipeInput {
- s.AdditionalInstanceConfiguration = v
+// SetTargetResourceCount sets the TargetResourceCount field's value.
+func (s *FastLaunchSnapshotConfiguration) SetTargetResourceCount(v int64) *FastLaunchSnapshotConfiguration {
+ s.TargetResourceCount = &v
return s
}
-// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
-func (s *CreateImageRecipeInput) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *CreateImageRecipeInput {
- s.BlockDeviceMappings = v
- return s
-}
+// A filter name and value pair that is used to return a more specific list
+// of results from a list operation. Filters can be used to match a set of resources
+// by specific criteria, such as tags, attributes, or IDs.
+type Filter struct {
+ _ struct{} `type:"structure"`
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateImageRecipeInput) SetClientToken(v string) *CreateImageRecipeInput {
- s.ClientToken = &v
- return s
-}
+ // The name of the filter. Filter names are case-sensitive.
+ Name *string `locationName:"name" type:"string"`
-// SetComponents sets the Components field's value.
-func (s *CreateImageRecipeInput) SetComponents(v []*ComponentConfiguration) *CreateImageRecipeInput {
- s.Components = v
- return s
+ // The filter values. Filter values are case-sensitive.
+ Values []*string `locationName:"values" min:"1" type:"list"`
}
-// SetDescription sets the Description field's value.
-func (s *CreateImageRecipeInput) SetDescription(v string) *CreateImageRecipeInput {
- s.Description = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Filter) String() string {
+ return awsutil.Prettify(s)
}
-// SetName sets the Name field's value.
-func (s *CreateImageRecipeInput) SetName(v string) *CreateImageRecipeInput {
- s.Name = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Filter) GoString() string {
+ return s.String()
}
-// SetParentImage sets the ParentImage field's value.
-func (s *CreateImageRecipeInput) SetParentImage(v string) *CreateImageRecipeInput {
- s.ParentImage = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Filter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Filter"}
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
-// SetSemanticVersion sets the SemanticVersion field's value.
-func (s *CreateImageRecipeInput) SetSemanticVersion(v string) *CreateImageRecipeInput {
- s.SemanticVersion = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTags sets the Tags field's value.
-func (s *CreateImageRecipeInput) SetTags(v map[string]*string) *CreateImageRecipeInput {
- s.Tags = v
+// SetName sets the Name field's value.
+func (s *Filter) SetName(v string) *Filter {
+ s.Name = &v
return s
}
-// SetWorkingDirectory sets the WorkingDirectory field's value.
-func (s *CreateImageRecipeInput) SetWorkingDirectory(v string) *CreateImageRecipeInput {
- s.WorkingDirectory = &v
+// SetValues sets the Values field's value.
+func (s *Filter) SetValues(v []*string) *Filter {
+ s.Values = v
return s
}
-type CreateImageRecipeOutput struct {
- _ struct{} `type:"structure"`
-
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
-
- // The Amazon Resource Name (ARN) of the image recipe that was created by this
- // request.
- ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
+// You are not authorized to perform the requested operation.
+type ForbiddenException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -9650,7 +13127,7 @@ type CreateImageRecipeOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageRecipeOutput) String() string {
+func (s ForbiddenException) String() string {
return awsutil.Prettify(s)
}
@@ -9659,91 +13136,56 @@ func (s CreateImageRecipeOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateImageRecipeOutput) GoString() string {
+func (s ForbiddenException) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateImageRecipeOutput) SetClientToken(v string) *CreateImageRecipeOutput {
- s.ClientToken = &v
- return s
+func newErrorForbiddenException(v protocol.ResponseMetadata) error {
+ return &ForbiddenException{
+ RespMetadata: v,
+ }
}
-// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *CreateImageRecipeOutput) SetImageRecipeArn(v string) *CreateImageRecipeOutput {
- s.ImageRecipeArn = &v
- return s
+// Code returns the exception type name.
+func (s *ForbiddenException) Code() string {
+ return "ForbiddenException"
}
-// SetRequestId sets the RequestId field's value.
-func (s *CreateImageRecipeOutput) SetRequestId(v string) *CreateImageRecipeOutput {
- s.RequestId = &v
- return s
+// Message returns the exception's message.
+func (s *ForbiddenException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-type CreateInfrastructureConfigurationInput struct {
- _ struct{} `type:"structure"`
-
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The description of the infrastructure configuration.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The instance metadata options that you can set for the HTTP requests that
- // pipeline builds use to launch EC2 build and test instances.
- InstanceMetadataOptions *InstanceMetadataOptions `locationName:"instanceMetadataOptions" type:"structure"`
-
- // The instance profile to associate with the instance used to customize your
- // Amazon EC2 AMI.
- //
- // InstanceProfileName is a required field
- InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string" required:"true"`
-
- // The instance types of the infrastructure configuration. You can specify one
- // or more instance types to use for this build. The service will pick one of
- // these instance types based on availability.
- InstanceTypes []*string `locationName:"instanceTypes" type:"list"`
-
- // The key pair of the infrastructure configuration. You can use this to log
- // on to and debug the instance used to create your image.
- KeyPair *string `locationName:"keyPair" min:"1" type:"string"`
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ForbiddenException) OrigErr() error {
+ return nil
+}
- // The logging configuration of the infrastructure configuration.
- Logging *Logging `locationName:"logging" type:"structure"`
+func (s *ForbiddenException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
- // The name of the infrastructure configuration.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
+// Status code returns the HTTP status code for the request's response error.
+func (s *ForbiddenException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
- // The tags attached to the resource created by Image Builder.
- ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`
+// RequestID returns the service's response RequestID for request.
+func (s *ForbiddenException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // The security group IDs to associate with the instance used to customize your
- // Amazon EC2 AMI.
- SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`
+type GetComponentInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) for the SNS topic to which we send image build
- // event notifications.
+ // The Amazon Resource Name (ARN) of the component that you want to get. Regex
+ // requires the suffix /\d+$.
//
- // EC2 Image Builder is unable to send notifications to SNS topics that are
- // encrypted using keys from other accounts. The key that is used to encrypt
- // the SNS topic must reside in the account that the Image Builder service runs
- // under.
- SnsTopicArn *string `locationName:"snsTopicArn" type:"string"`
-
- // The subnet ID in which to place the instance used to customize your Amazon
- // EC2 AMI.
- SubnetId *string `locationName:"subnetId" min:"1" type:"string"`
-
- // The tags of the infrastructure configuration.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
-
- // The terminate instance on failure setting of the infrastructure configuration.
- // Set to false if you want Image Builder to retain the instance used to configure
- // your AMI if the build or test phase of your workflow fails.
- TerminateInstanceOnFailure *bool `locationName:"terminateInstanceOnFailure" type:"boolean"`
+ // ComponentBuildVersionArn is a required field
+ ComponentBuildVersionArn *string `location:"querystring" locationName:"componentBuildVersionArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -9751,7 +13193,7 @@ type CreateInfrastructureConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInfrastructureConfigurationInput) String() string {
+func (s GetComponentInput) String() string {
return awsutil.Prettify(s)
}
@@ -9760,49 +13202,15 @@ func (s CreateInfrastructureConfigurationInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInfrastructureConfigurationInput) GoString() string {
+func (s GetComponentInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateInfrastructureConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateInfrastructureConfigurationInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.InstanceProfileName == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceProfileName"))
- }
- if s.InstanceProfileName != nil && len(*s.InstanceProfileName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceProfileName", 1))
- }
- if s.KeyPair != nil && len(*s.KeyPair) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("KeyPair", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.ResourceTags != nil && len(s.ResourceTags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceTags", 1))
- }
- if s.SubnetId != nil && len(*s.SubnetId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("SubnetId", 1))
- }
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
- }
- if s.InstanceMetadataOptions != nil {
- if err := s.InstanceMetadataOptions.Validate(); err != nil {
- invalidParams.AddNested("InstanceMetadataOptions", err.(request.ErrInvalidParams))
- }
- }
- if s.Logging != nil {
- if err := s.Logging.Validate(); err != nil {
- invalidParams.AddNested("Logging", err.(request.ErrInvalidParams))
- }
+func (s *GetComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetComponentInput"}
+ if s.ComponentBuildVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ComponentBuildVersionArn"))
}
if invalidParams.Len() > 0 {
@@ -9811,99 +13219,104 @@ func (s *CreateInfrastructureConfigurationInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateInfrastructureConfigurationInput) SetClientToken(v string) *CreateInfrastructureConfigurationInput {
- s.ClientToken = &v
+// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
+func (s *GetComponentInput) SetComponentBuildVersionArn(v string) *GetComponentInput {
+ s.ComponentBuildVersionArn = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *CreateInfrastructureConfigurationInput) SetDescription(v string) *CreateInfrastructureConfigurationInput {
- s.Description = &v
- return s
-}
+type GetComponentOutput struct {
+ _ struct{} `type:"structure"`
-// SetInstanceMetadataOptions sets the InstanceMetadataOptions field's value.
-func (s *CreateInfrastructureConfigurationInput) SetInstanceMetadataOptions(v *InstanceMetadataOptions) *CreateInfrastructureConfigurationInput {
- s.InstanceMetadataOptions = v
- return s
-}
+ // The component object associated with the specified ARN.
+ Component *Component `locationName:"component" type:"structure"`
-// SetInstanceProfileName sets the InstanceProfileName field's value.
-func (s *CreateInfrastructureConfigurationInput) SetInstanceProfileName(v string) *CreateInfrastructureConfigurationInput {
- s.InstanceProfileName = &v
- return s
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
-// SetInstanceTypes sets the InstanceTypes field's value.
-func (s *CreateInfrastructureConfigurationInput) SetInstanceTypes(v []*string) *CreateInfrastructureConfigurationInput {
- s.InstanceTypes = v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetComponentOutput) String() string {
+ return awsutil.Prettify(s)
}
-// SetKeyPair sets the KeyPair field's value.
-func (s *CreateInfrastructureConfigurationInput) SetKeyPair(v string) *CreateInfrastructureConfigurationInput {
- s.KeyPair = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetComponentOutput) GoString() string {
+ return s.String()
}
-// SetLogging sets the Logging field's value.
-func (s *CreateInfrastructureConfigurationInput) SetLogging(v *Logging) *CreateInfrastructureConfigurationInput {
- s.Logging = v
+// SetComponent sets the Component field's value.
+func (s *GetComponentOutput) SetComponent(v *Component) *GetComponentOutput {
+ s.Component = v
return s
}
-// SetName sets the Name field's value.
-func (s *CreateInfrastructureConfigurationInput) SetName(v string) *CreateInfrastructureConfigurationInput {
- s.Name = &v
+// SetRequestId sets the RequestId field's value.
+func (s *GetComponentOutput) SetRequestId(v string) *GetComponentOutput {
+ s.RequestId = &v
return s
}
-// SetResourceTags sets the ResourceTags field's value.
-func (s *CreateInfrastructureConfigurationInput) SetResourceTags(v map[string]*string) *CreateInfrastructureConfigurationInput {
- s.ResourceTags = v
- return s
+type GetComponentPolicyInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The Amazon Resource Name (ARN) of the component whose policy you want to
+ // retrieve.
+ //
+ // ComponentArn is a required field
+ ComponentArn *string `location:"querystring" locationName:"componentArn" type:"string" required:"true"`
}
-// SetSecurityGroupIds sets the SecurityGroupIds field's value.
-func (s *CreateInfrastructureConfigurationInput) SetSecurityGroupIds(v []*string) *CreateInfrastructureConfigurationInput {
- s.SecurityGroupIds = v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetComponentPolicyInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetSnsTopicArn sets the SnsTopicArn field's value.
-func (s *CreateInfrastructureConfigurationInput) SetSnsTopicArn(v string) *CreateInfrastructureConfigurationInput {
- s.SnsTopicArn = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetComponentPolicyInput) GoString() string {
+ return s.String()
}
-// SetSubnetId sets the SubnetId field's value.
-func (s *CreateInfrastructureConfigurationInput) SetSubnetId(v string) *CreateInfrastructureConfigurationInput {
- s.SubnetId = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetComponentPolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetComponentPolicyInput"}
+ if s.ComponentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ComponentArn"))
+ }
-// SetTags sets the Tags field's value.
-func (s *CreateInfrastructureConfigurationInput) SetTags(v map[string]*string) *CreateInfrastructureConfigurationInput {
- s.Tags = v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.
-func (s *CreateInfrastructureConfigurationInput) SetTerminateInstanceOnFailure(v bool) *CreateInfrastructureConfigurationInput {
- s.TerminateInstanceOnFailure = &v
+// SetComponentArn sets the ComponentArn field's value.
+func (s *GetComponentPolicyInput) SetComponentArn(v string) *GetComponentPolicyInput {
+ s.ComponentArn = &v
return s
}
-type CreateInfrastructureConfigurationOutput struct {
+type GetComponentPolicyOutput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
-
- // The Amazon Resource Name (ARN) of the infrastructure configuration that was
- // created by this request.
- InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"`
+ // The component policy.
+ Policy *string `locationName:"policy" min:"1" type:"string"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -9914,7 +13327,7 @@ type CreateInfrastructureConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInfrastructureConfigurationOutput) String() string {
+func (s GetComponentPolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9923,50 +13336,29 @@ func (s CreateInfrastructureConfigurationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInfrastructureConfigurationOutput) GoString() string {
+func (s GetComponentPolicyOutput) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateInfrastructureConfigurationOutput) SetClientToken(v string) *CreateInfrastructureConfigurationOutput {
- s.ClientToken = &v
- return s
-}
-
-// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
-func (s *CreateInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn(v string) *CreateInfrastructureConfigurationOutput {
- s.InfrastructureConfigurationArn = &v
+// SetPolicy sets the Policy field's value.
+func (s *GetComponentPolicyOutput) SetPolicy(v string) *GetComponentPolicyOutput {
+ s.Policy = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *CreateInfrastructureConfigurationOutput) SetRequestId(v string) *CreateInfrastructureConfigurationOutput {
+func (s *GetComponentPolicyOutput) SetRequestId(v string) *GetComponentPolicyOutput {
s.RequestId = &v
return s
}
-// Amazon Inspector generates a risk score for each finding. This score helps
-// you to prioritize findings, to focus on the most critical findings and the
-// most vulnerable resources. The score uses the Common Vulnerability Scoring
-// System (CVSS) format. This format is a modification of the base CVSS score
-// that the National Vulnerability Database (NVD) provides. For more information
-// about severity levels, see Severity levels for Amazon Inspector findings
-// (https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html)
-// in the Amazon Inspector User Guide.
-type CvssScore struct {
- _ struct{} `type:"structure"`
-
- // The CVSS base score.
- BaseScore *float64 `locationName:"baseScore" type:"double"`
-
- // The vector string of the CVSS score.
- ScoringVector *string `locationName:"scoringVector" min:"1" type:"string"`
-
- // The source of the CVSS score.
- Source *string `locationName:"source" min:"1" type:"string"`
+type GetContainerRecipeInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The CVSS version that generated the score.
- Version *string `locationName:"version" min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the container recipe to retrieve.
+ //
+ // ContainerRecipeArn is a required field
+ ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -9974,7 +13366,7 @@ type CvssScore struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CvssScore) String() string {
+func (s GetContainerRecipeInput) String() string {
return awsutil.Prettify(s)
}
@@ -9983,44 +13375,37 @@ func (s CvssScore) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CvssScore) GoString() string {
+func (s GetContainerRecipeInput) GoString() string {
return s.String()
}
-// SetBaseScore sets the BaseScore field's value.
-func (s *CvssScore) SetBaseScore(v float64) *CvssScore {
- s.BaseScore = &v
- return s
-}
-
-// SetScoringVector sets the ScoringVector field's value.
-func (s *CvssScore) SetScoringVector(v string) *CvssScore {
- s.ScoringVector = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetContainerRecipeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetContainerRecipeInput"}
+ if s.ContainerRecipeArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ContainerRecipeArn"))
+ }
-// SetSource sets the Source field's value.
-func (s *CvssScore) SetSource(v string) *CvssScore {
- s.Source = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetVersion sets the Version field's value.
-func (s *CvssScore) SetVersion(v string) *CvssScore {
- s.Version = &v
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *GetContainerRecipeInput) SetContainerRecipeArn(v string) *GetContainerRecipeInput {
+ s.ContainerRecipeArn = &v
return s
}
-// Details about an adjustment that Amazon Inspector made to the CVSS score
-// for a finding.
-type CvssScoreAdjustment struct {
+type GetContainerRecipeOutput struct {
_ struct{} `type:"structure"`
- // The metric that Amazon Inspector used to adjust the CVSS score.
- Metric *string `locationName:"metric" min:"1" type:"string"`
+ // The container recipe object that is returned.
+ ContainerRecipe *ContainerRecipe `locationName:"containerRecipe" type:"structure"`
- // The reason for the CVSS score adjustment.
- Reason *string `locationName:"reason" min:"1" type:"string"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -10028,7 +13413,7 @@ type CvssScoreAdjustment struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CvssScoreAdjustment) String() string {
+func (s GetContainerRecipeOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10037,45 +13422,30 @@ func (s CvssScoreAdjustment) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CvssScoreAdjustment) GoString() string {
+func (s GetContainerRecipeOutput) GoString() string {
return s.String()
}
-// SetMetric sets the Metric field's value.
-func (s *CvssScoreAdjustment) SetMetric(v string) *CvssScoreAdjustment {
- s.Metric = &v
+// SetContainerRecipe sets the ContainerRecipe field's value.
+func (s *GetContainerRecipeOutput) SetContainerRecipe(v *ContainerRecipe) *GetContainerRecipeOutput {
+ s.ContainerRecipe = v
return s
}
-// SetReason sets the Reason field's value.
-func (s *CvssScoreAdjustment) SetReason(v string) *CvssScoreAdjustment {
- s.Reason = &v
+// SetRequestId sets the RequestId field's value.
+func (s *GetContainerRecipeOutput) SetRequestId(v string) *GetContainerRecipeOutput {
+ s.RequestId = &v
return s
}
-// Details about the source of the score, and the factors that determined the
-// adjustments to create the final score.
-type CvssScoreDetails struct {
- _ struct{} `type:"structure"`
-
- // An object that contains details about an adjustment that Amazon Inspector
- // made to the CVSS score for the finding.
- Adjustments []*CvssScoreAdjustment `locationName:"adjustments" type:"list"`
-
- // The source of the finding.
- CvssSource *string `locationName:"cvssSource" min:"1" type:"string"`
-
- // The CVSS score.
- Score *float64 `locationName:"score" type:"double"`
-
- // The source for the CVSS score.
- ScoreSource *string `locationName:"scoreSource" min:"1" type:"string"`
-
- // A vector that measures the severity of the vulnerability.
- ScoringVector *string `locationName:"scoringVector" min:"1" type:"string"`
+type GetContainerRecipePolicyInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The CVSS version that generated the score.
- Version *string `locationName:"version" min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the container recipe for the policy being
+ // requested.
+ //
+ // ContainerRecipeArn is a required field
+ ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10083,7 +13453,7 @@ type CvssScoreDetails struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CvssScoreDetails) String() string {
+func (s GetContainerRecipePolicyInput) String() string {
return awsutil.Prettify(s)
}
@@ -10092,53 +13462,77 @@ func (s CvssScoreDetails) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CvssScoreDetails) GoString() string {
+func (s GetContainerRecipePolicyInput) GoString() string {
return s.String()
}
-// SetAdjustments sets the Adjustments field's value.
-func (s *CvssScoreDetails) SetAdjustments(v []*CvssScoreAdjustment) *CvssScoreDetails {
- s.Adjustments = v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetContainerRecipePolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetContainerRecipePolicyInput"}
+ if s.ContainerRecipeArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ContainerRecipeArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetCvssSource sets the CvssSource field's value.
-func (s *CvssScoreDetails) SetCvssSource(v string) *CvssScoreDetails {
- s.CvssSource = &v
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *GetContainerRecipePolicyInput) SetContainerRecipeArn(v string) *GetContainerRecipePolicyInput {
+ s.ContainerRecipeArn = &v
return s
}
-// SetScore sets the Score field's value.
-func (s *CvssScoreDetails) SetScore(v float64) *CvssScoreDetails {
- s.Score = &v
- return s
+type GetContainerRecipePolicyOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The container recipe policy object that is returned.
+ Policy *string `locationName:"policy" min:"1" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
-// SetScoreSource sets the ScoreSource field's value.
-func (s *CvssScoreDetails) SetScoreSource(v string) *CvssScoreDetails {
- s.ScoreSource = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetContainerRecipePolicyOutput) String() string {
+ return awsutil.Prettify(s)
}
-// SetScoringVector sets the ScoringVector field's value.
-func (s *CvssScoreDetails) SetScoringVector(v string) *CvssScoreDetails {
- s.ScoringVector = &v
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetContainerRecipePolicyOutput) GoString() string {
+ return s.String()
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *GetContainerRecipePolicyOutput) SetPolicy(v string) *GetContainerRecipePolicyOutput {
+ s.Policy = &v
return s
}
-// SetVersion sets the Version field's value.
-func (s *CvssScoreDetails) SetVersion(v string) *CvssScoreDetails {
- s.Version = &v
+// SetRequestId sets the RequestId field's value.
+func (s *GetContainerRecipePolicyOutput) SetRequestId(v string) *GetContainerRecipePolicyOutput {
+ s.RequestId = &v
return s
}
-type DeleteComponentInput struct {
+type GetDistributionConfigurationInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the component build version to delete.
+ // The Amazon Resource Name (ARN) of the distribution configuration that you
+ // want to retrieve.
//
- // ComponentBuildVersionArn is a required field
- ComponentBuildVersionArn *string `location:"querystring" locationName:"componentBuildVersionArn" type:"string" required:"true"`
+ // DistributionConfigurationArn is a required field
+ DistributionConfigurationArn *string `location:"querystring" locationName:"distributionConfigurationArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10146,7 +13540,7 @@ type DeleteComponentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteComponentInput) String() string {
+func (s GetDistributionConfigurationInput) String() string {
return awsutil.Prettify(s)
}
@@ -10155,15 +13549,15 @@ func (s DeleteComponentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteComponentInput) GoString() string {
+func (s GetDistributionConfigurationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteComponentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteComponentInput"}
- if s.ComponentBuildVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ComponentBuildVersionArn"))
+func (s *GetDistributionConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetDistributionConfigurationInput"}
+ if s.DistributionConfigurationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("DistributionConfigurationArn"))
}
if invalidParams.Len() > 0 {
@@ -10172,17 +13566,17 @@ func (s *DeleteComponentInput) Validate() error {
return nil
}
-// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
-func (s *DeleteComponentInput) SetComponentBuildVersionArn(v string) *DeleteComponentInput {
- s.ComponentBuildVersionArn = &v
+// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
+func (s *GetDistributionConfigurationInput) SetDistributionConfigurationArn(v string) *GetDistributionConfigurationInput {
+ s.DistributionConfigurationArn = &v
return s
}
-type DeleteComponentOutput struct {
+type GetDistributionConfigurationOutput struct {
_ struct{} `type:"structure"`
- // The ARN of the component build version that this request deleted.
- ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"`
+ // The distribution configuration object.
+ DistributionConfiguration *DistributionConfiguration `locationName:"distributionConfiguration" type:"structure"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -10193,7 +13587,7 @@ type DeleteComponentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteComponentOutput) String() string {
+func (s GetDistributionConfigurationOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10202,29 +13596,29 @@ func (s DeleteComponentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteComponentOutput) GoString() string {
+func (s GetDistributionConfigurationOutput) GoString() string {
return s.String()
}
-// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
-func (s *DeleteComponentOutput) SetComponentBuildVersionArn(v string) *DeleteComponentOutput {
- s.ComponentBuildVersionArn = &v
+// SetDistributionConfiguration sets the DistributionConfiguration field's value.
+func (s *GetDistributionConfigurationOutput) SetDistributionConfiguration(v *DistributionConfiguration) *GetDistributionConfigurationOutput {
+ s.DistributionConfiguration = v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *DeleteComponentOutput) SetRequestId(v string) *DeleteComponentOutput {
+func (s *GetDistributionConfigurationOutput) SetRequestId(v string) *GetDistributionConfigurationOutput {
s.RequestId = &v
return s
}
-type DeleteContainerRecipeInput struct {
+type GetImageInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the container recipe to delete.
+ // The Amazon Resource Name (ARN) of the image that you want to get.
//
- // ContainerRecipeArn is a required field
- ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
+ // ImageBuildVersionArn is a required field
+ ImageBuildVersionArn *string `location:"querystring" locationName:"imageBuildVersionArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10232,7 +13626,7 @@ type DeleteContainerRecipeInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteContainerRecipeInput) String() string {
+func (s GetImageInput) String() string {
return awsutil.Prettify(s)
}
@@ -10241,15 +13635,15 @@ func (s DeleteContainerRecipeInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteContainerRecipeInput) GoString() string {
+func (s GetImageInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteContainerRecipeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteContainerRecipeInput"}
- if s.ContainerRecipeArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ContainerRecipeArn"))
+func (s *GetImageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetImageInput"}
+ if s.ImageBuildVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
}
if invalidParams.Len() > 0 {
@@ -10258,17 +13652,17 @@ func (s *DeleteContainerRecipeInput) Validate() error {
return nil
}
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *DeleteContainerRecipeInput) SetContainerRecipeArn(v string) *DeleteContainerRecipeInput {
- s.ContainerRecipeArn = &v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *GetImageInput) SetImageBuildVersionArn(v string) *GetImageInput {
+ s.ImageBuildVersionArn = &v
return s
}
-type DeleteContainerRecipeOutput struct {
+type GetImageOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the container recipe that was deleted.
- ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
+ // The image object.
+ Image *Image `locationName:"image" type:"structure"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -10279,7 +13673,7 @@ type DeleteContainerRecipeOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteContainerRecipeOutput) String() string {
+func (s GetImageOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10288,29 +13682,29 @@ func (s DeleteContainerRecipeOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteContainerRecipeOutput) GoString() string {
+func (s GetImageOutput) GoString() string {
return s.String()
}
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *DeleteContainerRecipeOutput) SetContainerRecipeArn(v string) *DeleteContainerRecipeOutput {
- s.ContainerRecipeArn = &v
+// SetImage sets the Image field's value.
+func (s *GetImageOutput) SetImage(v *Image) *GetImageOutput {
+ s.Image = v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *DeleteContainerRecipeOutput) SetRequestId(v string) *DeleteContainerRecipeOutput {
+func (s *GetImageOutput) SetRequestId(v string) *GetImageOutput {
s.RequestId = &v
return s
}
-type DeleteDistributionConfigurationInput struct {
+type GetImagePipelineInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the distribution configuration to delete.
+ // The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve.
//
- // DistributionConfigurationArn is a required field
- DistributionConfigurationArn *string `location:"querystring" locationName:"distributionConfigurationArn" type:"string" required:"true"`
+ // ImagePipelineArn is a required field
+ ImagePipelineArn *string `location:"querystring" locationName:"imagePipelineArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10318,7 +13712,7 @@ type DeleteDistributionConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDistributionConfigurationInput) String() string {
+func (s GetImagePipelineInput) String() string {
return awsutil.Prettify(s)
}
@@ -10327,15 +13721,15 @@ func (s DeleteDistributionConfigurationInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDistributionConfigurationInput) GoString() string {
+func (s GetImagePipelineInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteDistributionConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteDistributionConfigurationInput"}
- if s.DistributionConfigurationArn == nil {
- invalidParams.Add(request.NewErrParamRequired("DistributionConfigurationArn"))
+func (s *GetImagePipelineInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetImagePipelineInput"}
+ if s.ImagePipelineArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImagePipelineArn"))
}
if invalidParams.Len() > 0 {
@@ -10344,18 +13738,17 @@ func (s *DeleteDistributionConfigurationInput) Validate() error {
return nil
}
-// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
-func (s *DeleteDistributionConfigurationInput) SetDistributionConfigurationArn(v string) *DeleteDistributionConfigurationInput {
- s.DistributionConfigurationArn = &v
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *GetImagePipelineInput) SetImagePipelineArn(v string) *GetImagePipelineInput {
+ s.ImagePipelineArn = &v
return s
}
-type DeleteDistributionConfigurationOutput struct {
+type GetImagePipelineOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the distribution configuration that was
- // deleted.
- DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
+ // The image pipeline object.
+ ImagePipeline *ImagePipeline `locationName:"imagePipeline" type:"structure"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -10366,7 +13759,7 @@ type DeleteDistributionConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDistributionConfigurationOutput) String() string {
+func (s GetImagePipelineOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10375,29 +13768,29 @@ func (s DeleteDistributionConfigurationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDistributionConfigurationOutput) GoString() string {
+func (s GetImagePipelineOutput) GoString() string {
return s.String()
}
-// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
-func (s *DeleteDistributionConfigurationOutput) SetDistributionConfigurationArn(v string) *DeleteDistributionConfigurationOutput {
- s.DistributionConfigurationArn = &v
+// SetImagePipeline sets the ImagePipeline field's value.
+func (s *GetImagePipelineOutput) SetImagePipeline(v *ImagePipeline) *GetImagePipelineOutput {
+ s.ImagePipeline = v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *DeleteDistributionConfigurationOutput) SetRequestId(v string) *DeleteDistributionConfigurationOutput {
+func (s *GetImagePipelineOutput) SetRequestId(v string) *GetImagePipelineOutput {
s.RequestId = &v
return s
}
-type DeleteImageInput struct {
+type GetImagePolicyInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the Image Builder image resource to delete.
+ // The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.
//
- // ImageBuildVersionArn is a required field
- ImageBuildVersionArn *string `location:"querystring" locationName:"imageBuildVersionArn" type:"string" required:"true"`
+ // ImageArn is a required field
+ ImageArn *string `location:"querystring" locationName:"imageArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10405,7 +13798,7 @@ type DeleteImageInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageInput) String() string {
+func (s GetImagePolicyInput) String() string {
return awsutil.Prettify(s)
}
@@ -10414,15 +13807,15 @@ func (s DeleteImageInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageInput) GoString() string {
+func (s GetImagePolicyInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteImageInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteImageInput"}
- if s.ImageBuildVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
+func (s *GetImagePolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetImagePolicyInput"}
+ if s.ImageArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageArn"))
}
if invalidParams.Len() > 0 {
@@ -10431,17 +13824,17 @@ func (s *DeleteImageInput) Validate() error {
return nil
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *DeleteImageInput) SetImageBuildVersionArn(v string) *DeleteImageInput {
- s.ImageBuildVersionArn = &v
+// SetImageArn sets the ImageArn field's value.
+func (s *GetImagePolicyInput) SetImageArn(v string) *GetImagePolicyInput {
+ s.ImageArn = &v
return s
}
-type DeleteImageOutput struct {
+type GetImagePolicyOutput struct {
_ struct{} `type:"structure"`
- // The ARN of the Image Builder image resource that this request deleted.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+ // The image policy object.
+ Policy *string `locationName:"policy" min:"1" type:"string"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -10452,7 +13845,7 @@ type DeleteImageOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageOutput) String() string {
+func (s GetImagePolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10461,29 +13854,29 @@ func (s DeleteImageOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageOutput) GoString() string {
+func (s GetImagePolicyOutput) GoString() string {
return s.String()
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *DeleteImageOutput) SetImageBuildVersionArn(v string) *DeleteImageOutput {
- s.ImageBuildVersionArn = &v
+// SetPolicy sets the Policy field's value.
+func (s *GetImagePolicyOutput) SetPolicy(v string) *GetImagePolicyOutput {
+ s.Policy = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *DeleteImageOutput) SetRequestId(v string) *DeleteImageOutput {
+func (s *GetImagePolicyOutput) SetRequestId(v string) *GetImagePolicyOutput {
s.RequestId = &v
return s
}
-type DeleteImagePipelineInput struct {
+type GetImageRecipeInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the image pipeline to delete.
+ // The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.
//
- // ImagePipelineArn is a required field
- ImagePipelineArn *string `location:"querystring" locationName:"imagePipelineArn" type:"string" required:"true"`
+ // ImageRecipeArn is a required field
+ ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10491,7 +13884,7 @@ type DeleteImagePipelineInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImagePipelineInput) String() string {
+func (s GetImageRecipeInput) String() string {
return awsutil.Prettify(s)
}
@@ -10500,15 +13893,15 @@ func (s DeleteImagePipelineInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImagePipelineInput) GoString() string {
+func (s GetImageRecipeInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteImagePipelineInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteImagePipelineInput"}
- if s.ImagePipelineArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImagePipelineArn"))
+func (s *GetImageRecipeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetImageRecipeInput"}
+ if s.ImageRecipeArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageRecipeArn"))
}
if invalidParams.Len() > 0 {
@@ -10517,17 +13910,17 @@ func (s *DeleteImagePipelineInput) Validate() error {
return nil
}
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *DeleteImagePipelineInput) SetImagePipelineArn(v string) *DeleteImagePipelineInput {
- s.ImagePipelineArn = &v
+// SetImageRecipeArn sets the ImageRecipeArn field's value.
+func (s *GetImageRecipeInput) SetImageRecipeArn(v string) *GetImageRecipeInput {
+ s.ImageRecipeArn = &v
return s
}
-type DeleteImagePipelineOutput struct {
+type GetImageRecipeOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the image pipeline that was deleted.
- ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
+ // The image recipe object.
+ ImageRecipe *ImageRecipe `locationName:"imageRecipe" type:"structure"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -10538,7 +13931,7 @@ type DeleteImagePipelineOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImagePipelineOutput) String() string {
+func (s GetImageRecipeOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10547,26 +13940,27 @@ func (s DeleteImagePipelineOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImagePipelineOutput) GoString() string {
+func (s GetImageRecipeOutput) GoString() string {
return s.String()
}
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *DeleteImagePipelineOutput) SetImagePipelineArn(v string) *DeleteImagePipelineOutput {
- s.ImagePipelineArn = &v
+// SetImageRecipe sets the ImageRecipe field's value.
+func (s *GetImageRecipeOutput) SetImageRecipe(v *ImageRecipe) *GetImageRecipeOutput {
+ s.ImageRecipe = v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *DeleteImagePipelineOutput) SetRequestId(v string) *DeleteImagePipelineOutput {
+func (s *GetImageRecipeOutput) SetRequestId(v string) *GetImageRecipeOutput {
s.RequestId = &v
return s
}
-type DeleteImageRecipeInput struct {
+type GetImageRecipePolicyInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the image recipe to delete.
+ // The Amazon Resource Name (ARN) of the image recipe whose policy you want
+ // to retrieve.
//
// ImageRecipeArn is a required field
ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"`
@@ -10577,7 +13971,7 @@ type DeleteImageRecipeInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageRecipeInput) String() string {
+func (s GetImageRecipePolicyInput) String() string {
return awsutil.Prettify(s)
}
@@ -10586,13 +13980,13 @@ func (s DeleteImageRecipeInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageRecipeInput) GoString() string {
+func (s GetImageRecipePolicyInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteImageRecipeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteImageRecipeInput"}
+func (s *GetImageRecipePolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetImageRecipePolicyInput"}
if s.ImageRecipeArn == nil {
invalidParams.Add(request.NewErrParamRequired("ImageRecipeArn"))
}
@@ -10604,16 +13998,16 @@ func (s *DeleteImageRecipeInput) Validate() error {
}
// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *DeleteImageRecipeInput) SetImageRecipeArn(v string) *DeleteImageRecipeInput {
+func (s *GetImageRecipePolicyInput) SetImageRecipeArn(v string) *GetImageRecipePolicyInput {
s.ImageRecipeArn = &v
return s
}
-type DeleteImageRecipeOutput struct {
+type GetImageRecipePolicyOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the image recipe that was deleted.
- ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
+ // The image recipe policy object.
+ Policy *string `locationName:"policy" min:"1" type:"string"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -10624,7 +14018,7 @@ type DeleteImageRecipeOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageRecipeOutput) String() string {
+func (s GetImageRecipePolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10633,26 +14027,28 @@ func (s DeleteImageRecipeOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteImageRecipeOutput) GoString() string {
+func (s GetImageRecipePolicyOutput) GoString() string {
return s.String()
}
-// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *DeleteImageRecipeOutput) SetImageRecipeArn(v string) *DeleteImageRecipeOutput {
- s.ImageRecipeArn = &v
+// SetPolicy sets the Policy field's value.
+func (s *GetImageRecipePolicyOutput) SetPolicy(v string) *GetImageRecipePolicyOutput {
+ s.Policy = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *DeleteImageRecipeOutput) SetRequestId(v string) *DeleteImageRecipeOutput {
+func (s *GetImageRecipePolicyOutput) SetRequestId(v string) *GetImageRecipePolicyOutput {
s.RequestId = &v
return s
}
-type DeleteInfrastructureConfigurationInput struct {
+// GetInfrastructureConfiguration request object.
+type GetInfrastructureConfigurationInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the infrastructure configuration to delete.
+ // The Amazon Resource Name (ARN) of the infrastructure configuration that you
+ // want to retrieve.
//
// InfrastructureConfigurationArn is a required field
InfrastructureConfigurationArn *string `location:"querystring" locationName:"infrastructureConfigurationArn" type:"string" required:"true"`
@@ -10663,7 +14059,7 @@ type DeleteInfrastructureConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInfrastructureConfigurationInput) String() string {
+func (s GetInfrastructureConfigurationInput) String() string {
return awsutil.Prettify(s)
}
@@ -10672,13 +14068,13 @@ func (s DeleteInfrastructureConfigurationInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInfrastructureConfigurationInput) GoString() string {
+func (s GetInfrastructureConfigurationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteInfrastructureConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteInfrastructureConfigurationInput"}
+func (s *GetInfrastructureConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetInfrastructureConfigurationInput"}
if s.InfrastructureConfigurationArn == nil {
invalidParams.Add(request.NewErrParamRequired("InfrastructureConfigurationArn"))
}
@@ -10690,17 +14086,17 @@ func (s *DeleteInfrastructureConfigurationInput) Validate() error {
}
// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
-func (s *DeleteInfrastructureConfigurationInput) SetInfrastructureConfigurationArn(v string) *DeleteInfrastructureConfigurationInput {
+func (s *GetInfrastructureConfigurationInput) SetInfrastructureConfigurationArn(v string) *GetInfrastructureConfigurationInput {
s.InfrastructureConfigurationArn = &v
return s
}
-type DeleteInfrastructureConfigurationOutput struct {
+// GetInfrastructureConfiguration response object.
+type GetInfrastructureConfigurationOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the infrastructure configuration that was
- // deleted.
- InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"`
+ // The infrastructure configuration object.
+ InfrastructureConfiguration *InfrastructureConfiguration `locationName:"infrastructureConfiguration" type:"structure"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
@@ -10711,7 +14107,7 @@ type DeleteInfrastructureConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInfrastructureConfigurationOutput) String() string {
+func (s GetInfrastructureConfigurationOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10720,52 +14116,30 @@ func (s DeleteInfrastructureConfigurationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInfrastructureConfigurationOutput) GoString() string {
+func (s GetInfrastructureConfigurationOutput) GoString() string {
return s.String()
}
-// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
-func (s *DeleteInfrastructureConfigurationOutput) SetInfrastructureConfigurationArn(v string) *DeleteInfrastructureConfigurationOutput {
- s.InfrastructureConfigurationArn = &v
+// SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.
+func (s *GetInfrastructureConfigurationOutput) SetInfrastructureConfiguration(v *InfrastructureConfiguration) *GetInfrastructureConfigurationOutput {
+ s.InfrastructureConfiguration = v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *DeleteInfrastructureConfigurationOutput) SetRequestId(v string) *DeleteInfrastructureConfigurationOutput {
+func (s *GetInfrastructureConfigurationOutput) SetRequestId(v string) *GetInfrastructureConfigurationOutput {
s.RequestId = &v
return s
}
-// Defines the settings for a specific Region.
-type Distribution struct {
- _ struct{} `type:"structure"`
-
- // The specific AMI settings; for example, launch permissions or AMI tags.
- AmiDistributionConfiguration *AmiDistributionConfiguration `locationName:"amiDistributionConfiguration" type:"structure"`
-
- // Container distribution settings for encryption, licensing, and sharing in
- // a specific Region.
- ContainerDistributionConfiguration *ContainerDistributionConfiguration `locationName:"containerDistributionConfiguration" type:"structure"`
-
- // The Windows faster-launching configurations to use for AMI distribution.
- FastLaunchConfigurations []*FastLaunchConfiguration `locationName:"fastLaunchConfigurations" min:"1" type:"list"`
-
- // A group of launchTemplateConfiguration settings that apply to image distribution
- // for specified accounts.
- LaunchTemplateConfigurations []*LaunchTemplateConfiguration `locationName:"launchTemplateConfigurations" min:"1" type:"list"`
-
- // The License Manager Configuration to associate with the AMI in the specified
- // Region.
- LicenseConfigurationArns []*string `locationName:"licenseConfigurationArns" min:"1" type:"list"`
+type GetLifecycleExecutionInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The target Region.
+ // Use the unique identifier for a runtime instance of the lifecycle policy
+ // to get runtime details.
//
- // Region is a required field
- Region *string `locationName:"region" min:"1" type:"string" required:"true"`
-
- // Configure export settings to deliver disk images created from your image
- // build, using a file format that is compatible with your VMs in that Region.
- S3ExportConfiguration *S3ExportConfiguration `locationName:"s3ExportConfiguration" type:"structure"`
+ // LifecycleExecutionId is a required field
+ LifecycleExecutionId *string `location:"querystring" locationName:"lifecycleExecutionId" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10773,7 +14147,7 @@ type Distribution struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Distribution) String() string {
+func (s GetLifecycleExecutionInput) String() string {
return awsutil.Prettify(s)
}
@@ -10782,62 +14156,15 @@ func (s Distribution) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Distribution) GoString() string {
+func (s GetLifecycleExecutionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *Distribution) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Distribution"}
- if s.FastLaunchConfigurations != nil && len(s.FastLaunchConfigurations) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("FastLaunchConfigurations", 1))
- }
- if s.LaunchTemplateConfigurations != nil && len(s.LaunchTemplateConfigurations) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateConfigurations", 1))
- }
- if s.LicenseConfigurationArns != nil && len(s.LicenseConfigurationArns) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("LicenseConfigurationArns", 1))
- }
- if s.Region == nil {
- invalidParams.Add(request.NewErrParamRequired("Region"))
- }
- if s.Region != nil && len(*s.Region) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Region", 1))
- }
- if s.AmiDistributionConfiguration != nil {
- if err := s.AmiDistributionConfiguration.Validate(); err != nil {
- invalidParams.AddNested("AmiDistributionConfiguration", err.(request.ErrInvalidParams))
- }
- }
- if s.ContainerDistributionConfiguration != nil {
- if err := s.ContainerDistributionConfiguration.Validate(); err != nil {
- invalidParams.AddNested("ContainerDistributionConfiguration", err.(request.ErrInvalidParams))
- }
- }
- if s.FastLaunchConfigurations != nil {
- for i, v := range s.FastLaunchConfigurations {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FastLaunchConfigurations", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.LaunchTemplateConfigurations != nil {
- for i, v := range s.LaunchTemplateConfigurations {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LaunchTemplateConfigurations", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.S3ExportConfiguration != nil {
- if err := s.S3ExportConfiguration.Validate(); err != nil {
- invalidParams.AddNested("S3ExportConfiguration", err.(request.ErrInvalidParams))
- }
+func (s *GetLifecycleExecutionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetLifecycleExecutionInput"}
+ if s.LifecycleExecutionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("LifecycleExecutionId"))
}
if invalidParams.Len() > 0 {
@@ -10846,78 +14173,17 @@ func (s *Distribution) Validate() error {
return nil
}
-// SetAmiDistributionConfiguration sets the AmiDistributionConfiguration field's value.
-func (s *Distribution) SetAmiDistributionConfiguration(v *AmiDistributionConfiguration) *Distribution {
- s.AmiDistributionConfiguration = v
- return s
-}
-
-// SetContainerDistributionConfiguration sets the ContainerDistributionConfiguration field's value.
-func (s *Distribution) SetContainerDistributionConfiguration(v *ContainerDistributionConfiguration) *Distribution {
- s.ContainerDistributionConfiguration = v
- return s
-}
-
-// SetFastLaunchConfigurations sets the FastLaunchConfigurations field's value.
-func (s *Distribution) SetFastLaunchConfigurations(v []*FastLaunchConfiguration) *Distribution {
- s.FastLaunchConfigurations = v
- return s
-}
-
-// SetLaunchTemplateConfigurations sets the LaunchTemplateConfigurations field's value.
-func (s *Distribution) SetLaunchTemplateConfigurations(v []*LaunchTemplateConfiguration) *Distribution {
- s.LaunchTemplateConfigurations = v
- return s
-}
-
-// SetLicenseConfigurationArns sets the LicenseConfigurationArns field's value.
-func (s *Distribution) SetLicenseConfigurationArns(v []*string) *Distribution {
- s.LicenseConfigurationArns = v
- return s
-}
-
-// SetRegion sets the Region field's value.
-func (s *Distribution) SetRegion(v string) *Distribution {
- s.Region = &v
- return s
-}
-
-// SetS3ExportConfiguration sets the S3ExportConfiguration field's value.
-func (s *Distribution) SetS3ExportConfiguration(v *S3ExportConfiguration) *Distribution {
- s.S3ExportConfiguration = v
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *GetLifecycleExecutionInput) SetLifecycleExecutionId(v string) *GetLifecycleExecutionInput {
+ s.LifecycleExecutionId = &v
return s
}
-// A distribution configuration.
-type DistributionConfiguration struct {
+type GetLifecycleExecutionOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the distribution configuration.
- Arn *string `locationName:"arn" type:"string"`
-
- // The date on which this distribution configuration was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The date on which this distribution configuration was last updated.
- DateUpdated *string `locationName:"dateUpdated" type:"string"`
-
- // The description of the distribution configuration.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The distribution objects that apply Region-specific settings for the deployment
- // of the image to targeted Regions.
- Distributions []*Distribution `locationName:"distributions" type:"list"`
-
- // The name of the distribution configuration.
- Name *string `locationName:"name" type:"string"`
-
- // The tags of the distribution configuration.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
-
- // The maximum duration in minutes for this distribution configuration.
- //
- // TimeoutMinutes is a required field
- TimeoutMinutes *int64 `locationName:"timeoutMinutes" min:"30" type:"integer" required:"true"`
+ // Runtime details for the specified runtime instance of the lifecycle policy.
+ LifecycleExecution *LifecycleExecution `locationName:"lifecycleExecution" type:"structure"`
}
// String returns the string representation.
@@ -10925,7 +14191,7 @@ type DistributionConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DistributionConfiguration) String() string {
+func (s GetLifecycleExecutionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10934,82 +14200,68 @@ func (s DistributionConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DistributionConfiguration) GoString() string {
+func (s GetLifecycleExecutionOutput) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *DistributionConfiguration) SetArn(v string) *DistributionConfiguration {
- s.Arn = &v
+// SetLifecycleExecution sets the LifecycleExecution field's value.
+func (s *GetLifecycleExecutionOutput) SetLifecycleExecution(v *LifecycleExecution) *GetLifecycleExecutionOutput {
+ s.LifecycleExecution = v
return s
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *DistributionConfiguration) SetDateCreated(v string) *DistributionConfiguration {
- s.DateCreated = &v
- return s
-}
+type GetLifecyclePolicyInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
-// SetDateUpdated sets the DateUpdated field's value.
-func (s *DistributionConfiguration) SetDateUpdated(v string) *DistributionConfiguration {
- s.DateUpdated = &v
- return s
+ // Specifies the Amazon Resource Name (ARN) of the image lifecycle policy resource
+ // to get.
+ //
+ // LifecyclePolicyArn is a required field
+ LifecyclePolicyArn *string `location:"querystring" locationName:"lifecyclePolicyArn" type:"string" required:"true"`
}
-// SetDescription sets the Description field's value.
-func (s *DistributionConfiguration) SetDescription(v string) *DistributionConfiguration {
- s.Description = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetLifecyclePolicyInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetDistributions sets the Distributions field's value.
-func (s *DistributionConfiguration) SetDistributions(v []*Distribution) *DistributionConfiguration {
- s.Distributions = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetLifecyclePolicyInput) GoString() string {
+ return s.String()
}
-// SetName sets the Name field's value.
-func (s *DistributionConfiguration) SetName(v string) *DistributionConfiguration {
- s.Name = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetLifecyclePolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetLifecyclePolicyInput"}
+ if s.LifecyclePolicyArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("LifecyclePolicyArn"))
+ }
-// SetTags sets the Tags field's value.
-func (s *DistributionConfiguration) SetTags(v map[string]*string) *DistributionConfiguration {
- s.Tags = v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTimeoutMinutes sets the TimeoutMinutes field's value.
-func (s *DistributionConfiguration) SetTimeoutMinutes(v int64) *DistributionConfiguration {
- s.TimeoutMinutes = &v
+// SetLifecyclePolicyArn sets the LifecyclePolicyArn field's value.
+func (s *GetLifecyclePolicyInput) SetLifecyclePolicyArn(v string) *GetLifecyclePolicyInput {
+ s.LifecyclePolicyArn = &v
return s
-}
-
-// A high-level overview of a distribution configuration.
-type DistributionConfigurationSummary struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the distribution configuration.
- Arn *string `locationName:"arn" type:"string"`
-
- // The date on which the distribution configuration was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The date on which the distribution configuration was updated.
- DateUpdated *string `locationName:"dateUpdated" type:"string"`
-
- // The description of the distribution configuration.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The name of the distribution configuration.
- Name *string `locationName:"name" type:"string"`
+}
- // A list of Regions where the container image is distributed to.
- Regions []*string `locationName:"regions" type:"list"`
+type GetLifecyclePolicyOutput struct {
+ _ struct{} `type:"structure"`
- // The tags associated with the distribution configuration.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // The ARN of the image lifecycle policy resource that was returned.
+ LifecyclePolicy *LifecyclePolicy `locationName:"lifecyclePolicy" type:"structure"`
}
// String returns the string representation.
@@ -11017,7 +14269,7 @@ type DistributionConfigurationSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DistributionConfigurationSummary) String() string {
+func (s GetLifecyclePolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11026,79 +14278,114 @@ func (s DistributionConfigurationSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DistributionConfigurationSummary) GoString() string {
+func (s GetLifecyclePolicyOutput) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *DistributionConfigurationSummary) SetArn(v string) *DistributionConfigurationSummary {
- s.Arn = &v
+// SetLifecyclePolicy sets the LifecyclePolicy field's value.
+func (s *GetLifecyclePolicyOutput) SetLifecyclePolicy(v *LifecyclePolicy) *GetLifecyclePolicyOutput {
+ s.LifecyclePolicy = v
return s
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *DistributionConfigurationSummary) SetDateCreated(v string) *DistributionConfigurationSummary {
- s.DateCreated = &v
- return s
-}
+type GetWorkflowExecutionInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
-// SetDateUpdated sets the DateUpdated field's value.
-func (s *DistributionConfigurationSummary) SetDateUpdated(v string) *DistributionConfigurationSummary {
- s.DateUpdated = &v
- return s
+ // Use the unique identifier for a runtime instance of the workflow to get runtime
+ // details.
+ //
+ // WorkflowExecutionId is a required field
+ WorkflowExecutionId *string `location:"querystring" locationName:"workflowExecutionId" type:"string" required:"true"`
}
-// SetDescription sets the Description field's value.
-func (s *DistributionConfigurationSummary) SetDescription(v string) *DistributionConfigurationSummary {
- s.Description = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetWorkflowExecutionInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetName sets the Name field's value.
-func (s *DistributionConfigurationSummary) SetName(v string) *DistributionConfigurationSummary {
- s.Name = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetWorkflowExecutionInput) GoString() string {
+ return s.String()
}
-// SetRegions sets the Regions field's value.
-func (s *DistributionConfigurationSummary) SetRegions(v []*string) *DistributionConfigurationSummary {
- s.Regions = v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetWorkflowExecutionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetWorkflowExecutionInput"}
+ if s.WorkflowExecutionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("WorkflowExecutionId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTags sets the Tags field's value.
-func (s *DistributionConfigurationSummary) SetTags(v map[string]*string) *DistributionConfigurationSummary {
- s.Tags = v
+// SetWorkflowExecutionId sets the WorkflowExecutionId field's value.
+func (s *GetWorkflowExecutionInput) SetWorkflowExecutionId(v string) *GetWorkflowExecutionInput {
+ s.WorkflowExecutionId = &v
return s
}
-// Amazon EBS-specific block device mapping specifications.
-type EbsInstanceBlockDeviceSpecification struct {
+type GetWorkflowExecutionOutput struct {
_ struct{} `type:"structure"`
- // Use to configure delete on termination of the associated device.
- DeleteOnTermination *bool `locationName:"deleteOnTermination" type:"boolean"`
+ // The timestamp when the specified runtime instance of the workflow finished.
+ EndTime *string `locationName:"endTime" type:"string"`
- // Use to configure device encryption.
- Encrypted *bool `locationName:"encrypted" type:"boolean"`
+ // The Amazon Resource Name (ARN) of the image resource build version that the
+ // specified runtime instance of the workflow created.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
- // Use to configure device IOPS.
- Iops *int64 `locationName:"iops" min:"100" type:"integer"`
+ // The output message from the specified runtime instance of the workflow, if
+ // applicable.
+ Message *string `locationName:"message" type:"string"`
- // Use to configure the KMS key to use when encrypting the device.
- KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
- // The snapshot that defines the device contents.
- SnapshotId *string `locationName:"snapshotId" min:"1" type:"string"`
+ // The timestamp when the specified runtime instance of the workflow started.
+ StartTime *string `locationName:"startTime" type:"string"`
- // For GP3 volumes only – The throughput in MiB/s that the volume supports.
- Throughput *int64 `locationName:"throughput" min:"125" type:"integer"`
+ // The current runtime status for the specified runtime instance of the workflow.
+ Status *string `locationName:"status" type:"string" enum:"WorkflowExecutionStatus"`
- // Use to override the device's volume size.
- VolumeSize *int64 `locationName:"volumeSize" min:"1" type:"integer"`
+ // The total number of steps in the specified runtime instance of the workflow
+ // that ran. This number should equal the sum of the step counts for steps that
+ // succeeded, were skipped, and failed.
+ TotalStepCount *int64 `locationName:"totalStepCount" type:"integer"`
- // Use to override the device's volume type.
- VolumeType *string `locationName:"volumeType" type:"string" enum:"EbsVolumeType"`
+ // A runtime count for the number of steps that failed in the specified runtime
+ // instance of the workflow.
+ TotalStepsFailed *int64 `locationName:"totalStepsFailed" type:"integer"`
+
+ // A runtime count for the number of steps that were skipped in the specified
+ // runtime instance of the workflow.
+ TotalStepsSkipped *int64 `locationName:"totalStepsSkipped" type:"integer"`
+
+ // A runtime count for the number of steps that ran successfully in the specified
+ // runtime instance of the workflow.
+ TotalStepsSucceeded *int64 `locationName:"totalStepsSucceeded" type:"integer"`
+
+ // The type of workflow that Image Builder ran for the specified runtime instance
+ // of the workflow.
+ Type *string `locationName:"type" type:"string" enum:"WorkflowType"`
+
+ // The Amazon Resource Name (ARN) of the build version for the Image Builder
+ // workflow resource that defines the specified runtime instance of the workflow.
+ WorkflowBuildVersionArn *string `locationName:"workflowBuildVersionArn" type:"string"`
+
+ // The unique identifier that Image Builder assigned to keep track of runtime
+ // details when it ran the workflow.
+ WorkflowExecutionId *string `locationName:"workflowExecutionId" type:"string"`
}
// String returns the string representation.
@@ -11106,7 +14393,7 @@ type EbsInstanceBlockDeviceSpecification struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s EbsInstanceBlockDeviceSpecification) String() string {
+func (s GetWorkflowExecutionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11115,168 +14402,96 @@ func (s EbsInstanceBlockDeviceSpecification) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s EbsInstanceBlockDeviceSpecification) GoString() string {
+func (s GetWorkflowExecutionOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *EbsInstanceBlockDeviceSpecification) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "EbsInstanceBlockDeviceSpecification"}
- if s.Iops != nil && *s.Iops < 100 {
- invalidParams.Add(request.NewErrParamMinValue("Iops", 100))
- }
- if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
- }
- if s.SnapshotId != nil && len(*s.SnapshotId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("SnapshotId", 1))
- }
- if s.Throughput != nil && *s.Throughput < 125 {
- invalidParams.Add(request.NewErrParamMinValue("Throughput", 125))
- }
- if s.VolumeSize != nil && *s.VolumeSize < 1 {
- invalidParams.Add(request.NewErrParamMinValue("VolumeSize", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetDeleteOnTermination sets the DeleteOnTermination field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetDeleteOnTermination(v bool) *EbsInstanceBlockDeviceSpecification {
- s.DeleteOnTermination = &v
+// SetEndTime sets the EndTime field's value.
+func (s *GetWorkflowExecutionOutput) SetEndTime(v string) *GetWorkflowExecutionOutput {
+ s.EndTime = &v
return s
}
-// SetEncrypted sets the Encrypted field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetEncrypted(v bool) *EbsInstanceBlockDeviceSpecification {
- s.Encrypted = &v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *GetWorkflowExecutionOutput) SetImageBuildVersionArn(v string) *GetWorkflowExecutionOutput {
+ s.ImageBuildVersionArn = &v
return s
}
-// SetIops sets the Iops field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetIops(v int64) *EbsInstanceBlockDeviceSpecification {
- s.Iops = &v
+// SetMessage sets the Message field's value.
+func (s *GetWorkflowExecutionOutput) SetMessage(v string) *GetWorkflowExecutionOutput {
+ s.Message = &v
return s
}
-// SetKmsKeyId sets the KmsKeyId field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetKmsKeyId(v string) *EbsInstanceBlockDeviceSpecification {
- s.KmsKeyId = &v
+// SetRequestId sets the RequestId field's value.
+func (s *GetWorkflowExecutionOutput) SetRequestId(v string) *GetWorkflowExecutionOutput {
+ s.RequestId = &v
return s
}
-// SetSnapshotId sets the SnapshotId field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetSnapshotId(v string) *EbsInstanceBlockDeviceSpecification {
- s.SnapshotId = &v
+// SetStartTime sets the StartTime field's value.
+func (s *GetWorkflowExecutionOutput) SetStartTime(v string) *GetWorkflowExecutionOutput {
+ s.StartTime = &v
return s
}
-// SetThroughput sets the Throughput field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetThroughput(v int64) *EbsInstanceBlockDeviceSpecification {
- s.Throughput = &v
+// SetStatus sets the Status field's value.
+func (s *GetWorkflowExecutionOutput) SetStatus(v string) *GetWorkflowExecutionOutput {
+ s.Status = &v
return s
}
-// SetVolumeSize sets the VolumeSize field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetVolumeSize(v int64) *EbsInstanceBlockDeviceSpecification {
- s.VolumeSize = &v
+// SetTotalStepCount sets the TotalStepCount field's value.
+func (s *GetWorkflowExecutionOutput) SetTotalStepCount(v int64) *GetWorkflowExecutionOutput {
+ s.TotalStepCount = &v
return s
}
-// SetVolumeType sets the VolumeType field's value.
-func (s *EbsInstanceBlockDeviceSpecification) SetVolumeType(v string) *EbsInstanceBlockDeviceSpecification {
- s.VolumeType = &v
+// SetTotalStepsFailed sets the TotalStepsFailed field's value.
+func (s *GetWorkflowExecutionOutput) SetTotalStepsFailed(v int64) *GetWorkflowExecutionOutput {
+ s.TotalStepsFailed = &v
return s
}
-// Settings that Image Builder uses to configure the ECR repository and the
-// output container images that Amazon Inspector scans.
-type EcrConfiguration struct {
- _ struct{} `type:"structure"`
-
- // Tags for Image Builder to apply to the output container image that &INS;
- // scans. Tags can help you identify and manage your scanned images.
- ContainerTags []*string `locationName:"containerTags" type:"list"`
-
- // The name of the container repository that Amazon Inspector scans to identify
- // findings for your container images. The name includes the path for the repository
- // location. If you don’t provide this information, Image Builder creates
- // a repository in your account named image-builder-image-scanning-repository
- // for vulnerability scans of your output container images.
- RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s EcrConfiguration) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s EcrConfiguration) GoString() string {
- return s.String()
-}
-
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *EcrConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "EcrConfiguration"}
- if s.RepositoryName != nil && len(*s.RepositoryName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetTotalStepsSkipped sets the TotalStepsSkipped field's value.
+func (s *GetWorkflowExecutionOutput) SetTotalStepsSkipped(v int64) *GetWorkflowExecutionOutput {
+ s.TotalStepsSkipped = &v
+ return s
}
-// SetContainerTags sets the ContainerTags field's value.
-func (s *EcrConfiguration) SetContainerTags(v []*string) *EcrConfiguration {
- s.ContainerTags = v
+// SetTotalStepsSucceeded sets the TotalStepsSucceeded field's value.
+func (s *GetWorkflowExecutionOutput) SetTotalStepsSucceeded(v int64) *GetWorkflowExecutionOutput {
+ s.TotalStepsSucceeded = &v
return s
}
-// SetRepositoryName sets the RepositoryName field's value.
-func (s *EcrConfiguration) SetRepositoryName(v string) *EcrConfiguration {
- s.RepositoryName = &v
+// SetType sets the Type field's value.
+func (s *GetWorkflowExecutionOutput) SetType(v string) *GetWorkflowExecutionOutput {
+ s.Type = &v
return s
}
-// Define and configure faster launching for output Windows AMIs.
-type FastLaunchConfiguration struct {
- _ struct{} `type:"structure"`
-
- // The owner account ID for the fast-launch enabled Windows AMI.
- AccountId *string `locationName:"accountId" type:"string"`
-
- // A Boolean that represents the current state of faster launching for the Windows
- // AMI. Set to true to start using Windows faster launching, or false to stop
- // using it.
- //
- // Enabled is a required field
- Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`
+// SetWorkflowBuildVersionArn sets the WorkflowBuildVersionArn field's value.
+func (s *GetWorkflowExecutionOutput) SetWorkflowBuildVersionArn(v string) *GetWorkflowExecutionOutput {
+ s.WorkflowBuildVersionArn = &v
+ return s
+}
- // The launch template that the fast-launch enabled Windows AMI uses when it
- // launches Windows instances to create pre-provisioned snapshots.
- LaunchTemplate *FastLaunchLaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"`
+// SetWorkflowExecutionId sets the WorkflowExecutionId field's value.
+func (s *GetWorkflowExecutionOutput) SetWorkflowExecutionId(v string) *GetWorkflowExecutionOutput {
+ s.WorkflowExecutionId = &v
+ return s
+}
- // The maximum number of parallel instances that are launched for creating resources.
- MaxParallelLaunches *int64 `locationName:"maxParallelLaunches" min:"1" type:"integer"`
+type GetWorkflowStepExecutionInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // Configuration settings for managing the number of snapshots that are created
- // from pre-provisioned instances for the Windows AMI when faster launching
- // is enabled.
- SnapshotConfiguration *FastLaunchSnapshotConfiguration `locationName:"snapshotConfiguration" type:"structure"`
+ // Use the unique identifier for a specific runtime instance of the workflow
+ // step to get runtime details for that step.
+ //
+ // StepExecutionId is a required field
+ StepExecutionId *string `location:"querystring" locationName:"stepExecutionId" type:"string" required:"true"`
}
// String returns the string representation.
@@ -11284,7 +14499,7 @@ type FastLaunchConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s FastLaunchConfiguration) String() string {
+func (s GetWorkflowStepExecutionInput) String() string {
return awsutil.Prettify(s)
}
@@ -11293,28 +14508,15 @@ func (s FastLaunchConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s FastLaunchConfiguration) GoString() string {
+func (s GetWorkflowStepExecutionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *FastLaunchConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "FastLaunchConfiguration"}
- if s.Enabled == nil {
- invalidParams.Add(request.NewErrParamRequired("Enabled"))
- }
- if s.MaxParallelLaunches != nil && *s.MaxParallelLaunches < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxParallelLaunches", 1))
- }
- if s.LaunchTemplate != nil {
- if err := s.LaunchTemplate.Validate(); err != nil {
- invalidParams.AddNested("LaunchTemplate", err.(request.ErrInvalidParams))
- }
- }
- if s.SnapshotConfiguration != nil {
- if err := s.SnapshotConfiguration.Validate(); err != nil {
- invalidParams.AddNested("SnapshotConfiguration", err.(request.ErrInvalidParams))
- }
+func (s *GetWorkflowStepExecutionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetWorkflowStepExecutionInput"}
+ if s.StepExecutionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("StepExecutionId"))
}
if invalidParams.Len() > 0 {
@@ -11323,54 +14525,73 @@ func (s *FastLaunchConfiguration) Validate() error {
return nil
}
-// SetAccountId sets the AccountId field's value.
-func (s *FastLaunchConfiguration) SetAccountId(v string) *FastLaunchConfiguration {
- s.AccountId = &v
+// SetStepExecutionId sets the StepExecutionId field's value.
+func (s *GetWorkflowStepExecutionInput) SetStepExecutionId(v string) *GetWorkflowStepExecutionInput {
+ s.StepExecutionId = &v
return s
}
-// SetEnabled sets the Enabled field's value.
-func (s *FastLaunchConfiguration) SetEnabled(v bool) *FastLaunchConfiguration {
- s.Enabled = &v
- return s
-}
+type GetWorkflowStepExecutionOutput struct {
+ _ struct{} `type:"structure"`
-// SetLaunchTemplate sets the LaunchTemplate field's value.
-func (s *FastLaunchConfiguration) SetLaunchTemplate(v *FastLaunchLaunchTemplateSpecification) *FastLaunchConfiguration {
- s.LaunchTemplate = v
- return s
-}
+ // The name of the action that the specified step performs.
+ Action *string `locationName:"action" type:"string"`
-// SetMaxParallelLaunches sets the MaxParallelLaunches field's value.
-func (s *FastLaunchConfiguration) SetMaxParallelLaunches(v int64) *FastLaunchConfiguration {
- s.MaxParallelLaunches = &v
- return s
-}
+ // Describes the specified workflow step.
+ Description *string `locationName:"description" type:"string"`
-// SetSnapshotConfiguration sets the SnapshotConfiguration field's value.
-func (s *FastLaunchConfiguration) SetSnapshotConfiguration(v *FastLaunchSnapshotConfiguration) *FastLaunchConfiguration {
- s.SnapshotConfiguration = v
- return s
-}
+ // The timestamp when the specified runtime instance of the workflow step finished.
+ EndTime *string `locationName:"endTime" type:"string"`
-// Identifies the launch template that the associated Windows AMI uses for launching
-// an instance when faster launching is enabled.
-//
-// You can specify either the launchTemplateName or the launchTemplateId, but
-// not both.
-type FastLaunchLaunchTemplateSpecification struct {
- _ struct{} `type:"structure"`
+ // The Amazon Resource Name (ARN) of the image resource build version that the
+ // specified runtime instance of the workflow step creates.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
- // The ID of the launch template to use for faster launching for a Windows AMI.
- LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"`
+ // Input parameters that Image Builder provided for the specified runtime instance
+ // of the workflow step.
+ Inputs *string `locationName:"inputs" type:"string"`
- // The name of the launch template to use for faster launching for a Windows
- // AMI.
- LaunchTemplateName *string `locationName:"launchTemplateName" min:"1" type:"string"`
+ // The output message from the specified runtime instance of the workflow step,
+ // if applicable.
+ Message *string `locationName:"message" type:"string"`
- // The version of the launch template to use for faster launching for a Windows
- // AMI.
- LaunchTemplateVersion *string `locationName:"launchTemplateVersion" min:"1" type:"string"`
+ // The name of the specified runtime instance of the workflow step.
+ Name *string `locationName:"name" type:"string"`
+
+ // The action to perform if the workflow step fails.
+ OnFailure *string `locationName:"onFailure" min:"1" type:"string"`
+
+ // The file names that the specified runtime version of the workflow step created
+ // as output.
+ Outputs *string `locationName:"outputs" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
+
+ // Reports on the rollback status of the specified runtime version of the workflow
+ // step, if applicable.
+ RollbackStatus *string `locationName:"rollbackStatus" type:"string" enum:"WorkflowStepExecutionRollbackStatus"`
+
+ // The timestamp when the specified runtime version of the workflow step started.
+ StartTime *string `locationName:"startTime" type:"string"`
+
+ // The current status for the specified runtime version of the workflow step.
+ Status *string `locationName:"status" type:"string" enum:"WorkflowStepExecutionStatus"`
+
+ // The unique identifier for the runtime version of the workflow step that you
+ // specified in the request.
+ StepExecutionId *string `locationName:"stepExecutionId" type:"string"`
+
+ // The maximum duration in seconds for this step to complete its action.
+ TimeoutSeconds *int64 `locationName:"timeoutSeconds" type:"integer"`
+
+ // The Amazon Resource Name (ARN) of the build version for the Image Builder
+ // workflow resource that defines this workflow step.
+ WorkflowBuildVersionArn *string `locationName:"workflowBuildVersionArn" type:"string"`
+
+ // The unique identifier that Image Builder assigned to keep track of runtime
+ // details when it ran the workflow.
+ WorkflowExecutionId *string `locationName:"workflowExecutionId" type:"string"`
}
// String returns the string representation.
@@ -11378,7 +14599,7 @@ type FastLaunchLaunchTemplateSpecification struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s FastLaunchLaunchTemplateSpecification) String() string {
+func (s GetWorkflowStepExecutionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11387,149 +14608,115 @@ func (s FastLaunchLaunchTemplateSpecification) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s FastLaunchLaunchTemplateSpecification) GoString() string {
+func (s GetWorkflowStepExecutionOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *FastLaunchLaunchTemplateSpecification) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "FastLaunchLaunchTemplateSpecification"}
- if s.LaunchTemplateName != nil && len(*s.LaunchTemplateName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateName", 1))
- }
- if s.LaunchTemplateVersion != nil && len(*s.LaunchTemplateVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("LaunchTemplateVersion", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetLaunchTemplateId sets the LaunchTemplateId field's value.
-func (s *FastLaunchLaunchTemplateSpecification) SetLaunchTemplateId(v string) *FastLaunchLaunchTemplateSpecification {
- s.LaunchTemplateId = &v
+// SetAction sets the Action field's value.
+func (s *GetWorkflowStepExecutionOutput) SetAction(v string) *GetWorkflowStepExecutionOutput {
+ s.Action = &v
return s
}
-// SetLaunchTemplateName sets the LaunchTemplateName field's value.
-func (s *FastLaunchLaunchTemplateSpecification) SetLaunchTemplateName(v string) *FastLaunchLaunchTemplateSpecification {
- s.LaunchTemplateName = &v
+// SetDescription sets the Description field's value.
+func (s *GetWorkflowStepExecutionOutput) SetDescription(v string) *GetWorkflowStepExecutionOutput {
+ s.Description = &v
return s
}
-// SetLaunchTemplateVersion sets the LaunchTemplateVersion field's value.
-func (s *FastLaunchLaunchTemplateSpecification) SetLaunchTemplateVersion(v string) *FastLaunchLaunchTemplateSpecification {
- s.LaunchTemplateVersion = &v
+// SetEndTime sets the EndTime field's value.
+func (s *GetWorkflowStepExecutionOutput) SetEndTime(v string) *GetWorkflowStepExecutionOutput {
+ s.EndTime = &v
return s
}
-// Configuration settings for creating and managing pre-provisioned snapshots
-// for a fast-launch enabled Windows AMI.
-type FastLaunchSnapshotConfiguration struct {
- _ struct{} `type:"structure"`
-
- // The number of pre-provisioned snapshots to keep on hand for a fast-launch
- // enabled Windows AMI.
- TargetResourceCount *int64 `locationName:"targetResourceCount" min:"1" type:"integer"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s FastLaunchSnapshotConfiguration) String() string {
- return awsutil.Prettify(s)
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *GetWorkflowStepExecutionOutput) SetImageBuildVersionArn(v string) *GetWorkflowStepExecutionOutput {
+ s.ImageBuildVersionArn = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s FastLaunchSnapshotConfiguration) GoString() string {
- return s.String()
+// SetInputs sets the Inputs field's value.
+func (s *GetWorkflowStepExecutionOutput) SetInputs(v string) *GetWorkflowStepExecutionOutput {
+ s.Inputs = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *FastLaunchSnapshotConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "FastLaunchSnapshotConfiguration"}
- if s.TargetResourceCount != nil && *s.TargetResourceCount < 1 {
- invalidParams.Add(request.NewErrParamMinValue("TargetResourceCount", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetMessage sets the Message field's value.
+func (s *GetWorkflowStepExecutionOutput) SetMessage(v string) *GetWorkflowStepExecutionOutput {
+ s.Message = &v
+ return s
}
-// SetTargetResourceCount sets the TargetResourceCount field's value.
-func (s *FastLaunchSnapshotConfiguration) SetTargetResourceCount(v int64) *FastLaunchSnapshotConfiguration {
- s.TargetResourceCount = &v
+// SetName sets the Name field's value.
+func (s *GetWorkflowStepExecutionOutput) SetName(v string) *GetWorkflowStepExecutionOutput {
+ s.Name = &v
return s
}
-// A filter name and value pair that is used to return a more specific list
-// of results from a list operation. Filters can be used to match a set of resources
-// by specific criteria, such as tags, attributes, or IDs.
-type Filter struct {
- _ struct{} `type:"structure"`
+// SetOnFailure sets the OnFailure field's value.
+func (s *GetWorkflowStepExecutionOutput) SetOnFailure(v string) *GetWorkflowStepExecutionOutput {
+ s.OnFailure = &v
+ return s
+}
- // The name of the filter. Filter names are case-sensitive.
- Name *string `locationName:"name" type:"string"`
+// SetOutputs sets the Outputs field's value.
+func (s *GetWorkflowStepExecutionOutput) SetOutputs(v string) *GetWorkflowStepExecutionOutput {
+ s.Outputs = &v
+ return s
+}
- // The filter values. Filter values are case-sensitive.
- Values []*string `locationName:"values" min:"1" type:"list"`
+// SetRequestId sets the RequestId field's value.
+func (s *GetWorkflowStepExecutionOutput) SetRequestId(v string) *GetWorkflowStepExecutionOutput {
+ s.RequestId = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s Filter) String() string {
- return awsutil.Prettify(s)
+// SetRollbackStatus sets the RollbackStatus field's value.
+func (s *GetWorkflowStepExecutionOutput) SetRollbackStatus(v string) *GetWorkflowStepExecutionOutput {
+ s.RollbackStatus = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s Filter) GoString() string {
- return s.String()
+// SetStartTime sets the StartTime field's value.
+func (s *GetWorkflowStepExecutionOutput) SetStartTime(v string) *GetWorkflowStepExecutionOutput {
+ s.StartTime = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *Filter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Filter"}
- if s.Values != nil && len(s.Values) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Values", 1))
- }
+// SetStatus sets the Status field's value.
+func (s *GetWorkflowStepExecutionOutput) SetStatus(v string) *GetWorkflowStepExecutionOutput {
+ s.Status = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetStepExecutionId sets the StepExecutionId field's value.
+func (s *GetWorkflowStepExecutionOutput) SetStepExecutionId(v string) *GetWorkflowStepExecutionOutput {
+ s.StepExecutionId = &v
+ return s
}
-// SetName sets the Name field's value.
-func (s *Filter) SetName(v string) *Filter {
- s.Name = &v
+// SetTimeoutSeconds sets the TimeoutSeconds field's value.
+func (s *GetWorkflowStepExecutionOutput) SetTimeoutSeconds(v int64) *GetWorkflowStepExecutionOutput {
+ s.TimeoutSeconds = &v
return s
}
-// SetValues sets the Values field's value.
-func (s *Filter) SetValues(v []*string) *Filter {
- s.Values = v
+// SetWorkflowBuildVersionArn sets the WorkflowBuildVersionArn field's value.
+func (s *GetWorkflowStepExecutionOutput) SetWorkflowBuildVersionArn(v string) *GetWorkflowStepExecutionOutput {
+ s.WorkflowBuildVersionArn = &v
return s
}
-// You are not authorized to perform the requested operation.
-type ForbiddenException struct {
+// SetWorkflowExecutionId sets the WorkflowExecutionId field's value.
+func (s *GetWorkflowStepExecutionOutput) SetWorkflowExecutionId(v string) *GetWorkflowStepExecutionOutput {
+ s.WorkflowExecutionId = &v
+ return s
+}
+
+// You have specified a client token for an operation using parameter values
+// that differ from a previous request that used the same client token.
+type IdempotentParameterMismatchException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
@@ -11541,7 +14728,7 @@ type ForbiddenException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ForbiddenException) String() string {
+func (s IdempotentParameterMismatchException) String() string {
return awsutil.Prettify(s)
}
@@ -11550,23 +14737,23 @@ func (s ForbiddenException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ForbiddenException) GoString() string {
+func (s IdempotentParameterMismatchException) GoString() string {
return s.String()
}
-func newErrorForbiddenException(v protocol.ResponseMetadata) error {
- return &ForbiddenException{
+func newErrorIdempotentParameterMismatchException(v protocol.ResponseMetadata) error {
+ return &IdempotentParameterMismatchException{
RespMetadata: v,
}
}
// Code returns the exception type name.
-func (s *ForbiddenException) Code() string {
- return "ForbiddenException"
+func (s *IdempotentParameterMismatchException) Code() string {
+ return "IdempotentParameterMismatchException"
}
// Message returns the exception's message.
-func (s *ForbiddenException) Message() string {
+func (s *IdempotentParameterMismatchException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
@@ -11574,205 +14761,145 @@ func (s *ForbiddenException) Message() string {
}
// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ForbiddenException) OrigErr() error {
+func (s *IdempotentParameterMismatchException) OrigErr() error {
return nil
}
-func (s *ForbiddenException) Error() string {
+func (s *IdempotentParameterMismatchException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
-func (s *ForbiddenException) StatusCode() int {
+func (s *IdempotentParameterMismatchException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
-func (s *ForbiddenException) RequestID() string {
+func (s *IdempotentParameterMismatchException) RequestID() string {
return s.RespMetadata.RequestID
}
-type GetComponentInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+// An Image Builder image. You must specify exactly one recipe for the image
+// – either a container recipe (containerRecipe), which creates a container
+// image, or an image recipe (imageRecipe), which creates an AMI.
+type Image struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the component that you want to get. Regex
- // requires the suffix /\d+$.
+ // The Amazon Resource Name (ARN) of the image.
//
- // ComponentBuildVersionArn is a required field
- ComponentBuildVersionArn *string `location:"querystring" locationName:"componentBuildVersionArn" type:"string" required:"true"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentInput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentInput) GoString() string {
- return s.String()
-}
-
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetComponentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetComponentInput"}
- if s.ComponentBuildVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ComponentBuildVersionArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
-func (s *GetComponentInput) SetComponentBuildVersionArn(v string) *GetComponentInput {
- s.ComponentBuildVersionArn = &v
- return s
-}
+ // Semantic versioning is included in each object's Amazon Resource Name (ARN),
+ // at the level that applies to that object as follows:
+ //
+ // Versionless ARNs and Name ARNs do not include specific values in any of the
+ // nodes. The nodes are either left off entirely, or they are specified as wildcards,
+ // for example: x.x.x.
+ //
+ // Version ARNs have only the first three nodes: ..
+ //
+ // Build version ARNs have all four nodes, and point to a specific build for
+ // a specific version of an object.
+ Arn *string `locationName:"arn" type:"string"`
-type GetComponentOutput struct {
- _ struct{} `type:"structure"`
+ // Indicates the type of build that created this image. The build can be initiated
+ // in the following ways:
+ //
+ // * USER_INITIATED – A manual pipeline build request.
+ //
+ // * SCHEDULED – A pipeline build initiated by a cron expression in the
+ // Image Builder pipeline, or from EventBridge.
+ //
+ // * IMPORT – A VM import created the image to use as the base image for
+ // the recipe.
+ BuildType *string `locationName:"buildType" type:"string" enum:"BuildType"`
- // The component object associated with the specified ARN.
- Component *Component `locationName:"component" type:"structure"`
+ // For container images, this is the container recipe that Image Builder used
+ // to create the image. For images that distribute an AMI, this is empty.
+ ContainerRecipe *ContainerRecipe `locationName:"containerRecipe" type:"structure"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
-}
+ // The date on which Image Builder created this image.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentOutput) String() string {
- return awsutil.Prettify(s)
-}
+ // The time when deprecation occurs for an image resource. This can be a past
+ // or future date.
+ DeprecationTime *time.Time `locationName:"deprecationTime" type:"timestamp"`
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentOutput) GoString() string {
- return s.String()
-}
+ // The distribution configuration that Image Builder used to create this image.
+ DistributionConfiguration *DistributionConfiguration `locationName:"distributionConfiguration" type:"structure"`
-// SetComponent sets the Component field's value.
-func (s *GetComponentOutput) SetComponent(v *Component) *GetComponentOutput {
- s.Component = v
- return s
-}
+ // Indicates whether Image Builder collects additional information about the
+ // image, such as the operating system (OS) version and package list.
+ EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
-// SetRequestId sets the RequestId field's value.
-func (s *GetComponentOutput) SetRequestId(v string) *GetComponentOutput {
- s.RequestId = &v
- return s
-}
+ // For images that distribute an AMI, this is the image recipe that Image Builder
+ // used to create the image. For container images, this is empty.
+ ImageRecipe *ImageRecipe `locationName:"imageRecipe" type:"structure"`
-type GetComponentPolicyInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+ // Contains settings for vulnerability scans.
+ ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
- // The Amazon Resource Name (ARN) of the component whose policy you want to
- // retrieve.
- //
- // ComponentArn is a required field
- ComponentArn *string `location:"querystring" locationName:"componentArn" type:"string" required:"true"`
-}
+ // The origin of the base image that Image Builder used to build this image.
+ ImageSource *string `locationName:"imageSource" type:"string" enum:"ImageSource"`
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentPolicyInput) String() string {
- return awsutil.Prettify(s)
-}
+ // The image tests that ran when that Image Builder created this image.
+ ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentPolicyInput) GoString() string {
- return s.String()
-}
+ // The infrastructure that Image Builder used to create this image.
+ InfrastructureConfiguration *InfrastructureConfiguration `locationName:"infrastructureConfiguration" type:"structure"`
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetComponentPolicyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetComponentPolicyInput"}
- if s.ComponentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ComponentArn"))
- }
+ // Identifies the last runtime instance of the lifecycle policy to take action
+ // on the image.
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string"`
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
+ // The name of the image.
+ Name *string `locationName:"name" type:"string"`
-// SetComponentArn sets the ComponentArn field's value.
-func (s *GetComponentPolicyInput) SetComponentArn(v string) *GetComponentPolicyInput {
- s.ComponentArn = &v
- return s
-}
+ // The operating system version for instances that launch from this image. For
+ // example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
+ OsVersion *string `locationName:"osVersion" min:"1" type:"string"`
-type GetComponentPolicyOutput struct {
- _ struct{} `type:"structure"`
+ // The output resources that Image Builder produces for this image.
+ OutputResources *OutputResources `locationName:"outputResources" type:"structure"`
- // The component policy.
- Policy *string `locationName:"policy" min:"1" type:"string"`
+ // The image operating system platform, such as Linux or Windows.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
-}
+ // Contains information about the current state of scans for this image.
+ ScanState *ImageScanState `locationName:"scanState" type:"structure"`
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentPolicyOutput) String() string {
- return awsutil.Prettify(s)
-}
+ // The Amazon Resource Name (ARN) of the image pipeline that created this image.
+ SourcePipelineArn *string `locationName:"sourcePipelineArn" type:"string"`
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetComponentPolicyOutput) GoString() string {
- return s.String()
-}
+ // The name of the image pipeline that created this image.
+ SourcePipelineName *string `locationName:"sourcePipelineName" type:"string"`
-// SetPolicy sets the Policy field's value.
-func (s *GetComponentPolicyOutput) SetPolicy(v string) *GetComponentPolicyOutput {
- s.Policy = &v
- return s
-}
+ // The state of the image.
+ State *ImageState `locationName:"state" type:"structure"`
-// SetRequestId sets the RequestId field's value.
-func (s *GetComponentPolicyOutput) SetRequestId(v string) *GetComponentPolicyOutput {
- s.RequestId = &v
- return s
-}
+ // The tags that apply to this image.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
-type GetContainerRecipeInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+ // Specifies whether this image produces an AMI or a container image.
+ Type *string `locationName:"type" type:"string" enum:"ImageType"`
- // The Amazon Resource Name (ARN) of the container recipe to retrieve.
+ // The semantic version of the image.
//
- // ContainerRecipeArn is a required field
- ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // Filtering: With semantic versioning, you have the flexibility to use wildcards
+ // (x) to specify the most recent versions or nodes when selecting the base
+ // image or components for your recipe. When you use a wildcard in any node,
+ // all nodes to the right of the first wildcard must also be wildcards.
+ Version *string `locationName:"version" type:"string"`
}
// String returns the string representation.
@@ -11780,7 +14907,7 @@ type GetContainerRecipeInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetContainerRecipeInput) String() string {
+func (s Image) String() string {
return awsutil.Prettify(s)
}
@@ -11789,211 +14916,164 @@ func (s GetContainerRecipeInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetContainerRecipeInput) GoString() string {
+func (s Image) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetContainerRecipeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetContainerRecipeInput"}
- if s.ContainerRecipeArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ContainerRecipeArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetArn sets the Arn field's value.
+func (s *Image) SetArn(v string) *Image {
+ s.Arn = &v
+ return s
}
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *GetContainerRecipeInput) SetContainerRecipeArn(v string) *GetContainerRecipeInput {
- s.ContainerRecipeArn = &v
+// SetBuildType sets the BuildType field's value.
+func (s *Image) SetBuildType(v string) *Image {
+ s.BuildType = &v
return s
}
-type GetContainerRecipeOutput struct {
- _ struct{} `type:"structure"`
-
- // The container recipe object that is returned.
- ContainerRecipe *ContainerRecipe `locationName:"containerRecipe" type:"structure"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+// SetContainerRecipe sets the ContainerRecipe field's value.
+func (s *Image) SetContainerRecipe(v *ContainerRecipe) *Image {
+ s.ContainerRecipe = v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetContainerRecipeOutput) String() string {
- return awsutil.Prettify(s)
+// SetDateCreated sets the DateCreated field's value.
+func (s *Image) SetDateCreated(v string) *Image {
+ s.DateCreated = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetContainerRecipeOutput) GoString() string {
- return s.String()
+// SetDeprecationTime sets the DeprecationTime field's value.
+func (s *Image) SetDeprecationTime(v time.Time) *Image {
+ s.DeprecationTime = &v
+ return s
}
-// SetContainerRecipe sets the ContainerRecipe field's value.
-func (s *GetContainerRecipeOutput) SetContainerRecipe(v *ContainerRecipe) *GetContainerRecipeOutput {
- s.ContainerRecipe = v
+// SetDistributionConfiguration sets the DistributionConfiguration field's value.
+func (s *Image) SetDistributionConfiguration(v *DistributionConfiguration) *Image {
+ s.DistributionConfiguration = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetContainerRecipeOutput) SetRequestId(v string) *GetContainerRecipeOutput {
- s.RequestId = &v
+// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
+func (s *Image) SetEnhancedImageMetadataEnabled(v bool) *Image {
+ s.EnhancedImageMetadataEnabled = &v
return s
}
-type GetContainerRecipePolicyInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
-
- // The Amazon Resource Name (ARN) of the container recipe for the policy being
- // requested.
- //
- // ContainerRecipeArn is a required field
- ContainerRecipeArn *string `location:"querystring" locationName:"containerRecipeArn" type:"string" required:"true"`
+// SetImageRecipe sets the ImageRecipe field's value.
+func (s *Image) SetImageRecipe(v *ImageRecipe) *Image {
+ s.ImageRecipe = v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetContainerRecipePolicyInput) String() string {
- return awsutil.Prettify(s)
+// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
+func (s *Image) SetImageScanningConfiguration(v *ImageScanningConfiguration) *Image {
+ s.ImageScanningConfiguration = v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetContainerRecipePolicyInput) GoString() string {
- return s.String()
+// SetImageSource sets the ImageSource field's value.
+func (s *Image) SetImageSource(v string) *Image {
+ s.ImageSource = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetContainerRecipePolicyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetContainerRecipePolicyInput"}
- if s.ContainerRecipeArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ContainerRecipeArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
+func (s *Image) SetImageTestsConfiguration(v *ImageTestsConfiguration) *Image {
+ s.ImageTestsConfiguration = v
+ return s
}
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *GetContainerRecipePolicyInput) SetContainerRecipeArn(v string) *GetContainerRecipePolicyInput {
- s.ContainerRecipeArn = &v
+// SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.
+func (s *Image) SetInfrastructureConfiguration(v *InfrastructureConfiguration) *Image {
+ s.InfrastructureConfiguration = v
return s
}
-type GetContainerRecipePolicyOutput struct {
- _ struct{} `type:"structure"`
-
- // The container recipe policy object that is returned.
- Policy *string `locationName:"policy" min:"1" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *Image) SetLifecycleExecutionId(v string) *Image {
+ s.LifecycleExecutionId = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetContainerRecipePolicyOutput) String() string {
- return awsutil.Prettify(s)
+// SetName sets the Name field's value.
+func (s *Image) SetName(v string) *Image {
+ s.Name = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetContainerRecipePolicyOutput) GoString() string {
- return s.String()
+// SetOsVersion sets the OsVersion field's value.
+func (s *Image) SetOsVersion(v string) *Image {
+ s.OsVersion = &v
+ return s
}
-// SetPolicy sets the Policy field's value.
-func (s *GetContainerRecipePolicyOutput) SetPolicy(v string) *GetContainerRecipePolicyOutput {
- s.Policy = &v
+// SetOutputResources sets the OutputResources field's value.
+func (s *Image) SetOutputResources(v *OutputResources) *Image {
+ s.OutputResources = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetContainerRecipePolicyOutput) SetRequestId(v string) *GetContainerRecipePolicyOutput {
- s.RequestId = &v
+// SetPlatform sets the Platform field's value.
+func (s *Image) SetPlatform(v string) *Image {
+ s.Platform = &v
return s
}
-type GetDistributionConfigurationInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+// SetScanState sets the ScanState field's value.
+func (s *Image) SetScanState(v *ImageScanState) *Image {
+ s.ScanState = v
+ return s
+}
- // The Amazon Resource Name (ARN) of the distribution configuration that you
- // want to retrieve.
- //
- // DistributionConfigurationArn is a required field
- DistributionConfigurationArn *string `location:"querystring" locationName:"distributionConfigurationArn" type:"string" required:"true"`
+// SetSourcePipelineArn sets the SourcePipelineArn field's value.
+func (s *Image) SetSourcePipelineArn(v string) *Image {
+ s.SourcePipelineArn = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetDistributionConfigurationInput) String() string {
- return awsutil.Prettify(s)
+// SetSourcePipelineName sets the SourcePipelineName field's value.
+func (s *Image) SetSourcePipelineName(v string) *Image {
+ s.SourcePipelineName = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetDistributionConfigurationInput) GoString() string {
- return s.String()
+// SetState sets the State field's value.
+func (s *Image) SetState(v *ImageState) *Image {
+ s.State = v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetDistributionConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetDistributionConfigurationInput"}
- if s.DistributionConfigurationArn == nil {
- invalidParams.Add(request.NewErrParamRequired("DistributionConfigurationArn"))
- }
+// SetTags sets the Tags field's value.
+func (s *Image) SetTags(v map[string]*string) *Image {
+ s.Tags = v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetType sets the Type field's value.
+func (s *Image) SetType(v string) *Image {
+ s.Type = &v
+ return s
}
-// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
-func (s *GetDistributionConfigurationInput) SetDistributionConfigurationArn(v string) *GetDistributionConfigurationInput {
- s.DistributionConfigurationArn = &v
+// SetVersion sets the Version field's value.
+func (s *Image) SetVersion(v string) *Image {
+ s.Version = &v
return s
}
-type GetDistributionConfigurationOutput struct {
+// Contains vulnerability counts for a specific image.
+type ImageAggregation struct {
_ struct{} `type:"structure"`
- // The distribution configuration object.
- DistributionConfiguration *DistributionConfiguration `locationName:"distributionConfiguration" type:"structure"`
+ // The Amazon Resource Name (ARN) that identifies the image for this aggregation.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // Counts by severity level for medium severity and higher level findings, plus
+ // a total for all of the findings for the specified image.
+ SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
}
// String returns the string representation.
@@ -12001,7 +15081,7 @@ type GetDistributionConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetDistributionConfigurationOutput) String() string {
+func (s ImageAggregation) String() string {
return awsutil.Prettify(s)
}
@@ -12010,29 +15090,31 @@ func (s GetDistributionConfigurationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetDistributionConfigurationOutput) GoString() string {
+func (s ImageAggregation) GoString() string {
return s.String()
}
-// SetDistributionConfiguration sets the DistributionConfiguration field's value.
-func (s *GetDistributionConfigurationOutput) SetDistributionConfiguration(v *DistributionConfiguration) *GetDistributionConfigurationOutput {
- s.DistributionConfiguration = v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *ImageAggregation) SetImageBuildVersionArn(v string) *ImageAggregation {
+ s.ImageBuildVersionArn = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetDistributionConfigurationOutput) SetRequestId(v string) *GetDistributionConfigurationOutput {
- s.RequestId = &v
+// SetSeverityCounts sets the SeverityCounts field's value.
+func (s *ImageAggregation) SetSeverityCounts(v *SeverityCounts) *ImageAggregation {
+ s.SeverityCounts = v
return s
}
-type GetImageInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+// Represents a package installed on an Image Builder image.
+type ImagePackage struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the image that you want to get.
- //
- // ImageBuildVersionArn is a required field
- ImageBuildVersionArn *string `location:"querystring" locationName:"imageBuildVersionArn" type:"string" required:"true"`
+ // The name of the package as reported to the operating system package manager.
+ PackageName *string `locationName:"packageName" min:"1" type:"string"`
+
+ // The version of the package as reported to the operating system package manager.
+ PackageVersion *string `locationName:"packageVersion" min:"1" type:"string"`
}
// String returns the string representation.
@@ -12040,7 +15122,7 @@ type GetImageInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImageInput) String() string {
+func (s ImagePackage) String() string {
return awsutil.Prettify(s)
}
@@ -12049,123 +15131,86 @@ func (s GetImageInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImageInput) GoString() string {
+func (s ImagePackage) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetImageInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetImageInput"}
- if s.ImageBuildVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetPackageName sets the PackageName field's value.
+func (s *ImagePackage) SetPackageName(v string) *ImagePackage {
+ s.PackageName = &v
+ return s
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *GetImageInput) SetImageBuildVersionArn(v string) *GetImageInput {
- s.ImageBuildVersionArn = &v
+// SetPackageVersion sets the PackageVersion field's value.
+func (s *ImagePackage) SetPackageVersion(v string) *ImagePackage {
+ s.PackageVersion = &v
return s
}
-type GetImageOutput struct {
+// Details of an image pipeline.
+type ImagePipeline struct {
_ struct{} `type:"structure"`
- // The image object.
- Image *Image `locationName:"image" type:"structure"`
+ // The Amazon Resource Name (ARN) of the image pipeline.
+ Arn *string `locationName:"arn" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
-}
+ // The Amazon Resource Name (ARN) of the container recipe that is used for this
+ // pipeline.
+ ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImageOutput) String() string {
- return awsutil.Prettify(s)
-}
+ // The date on which this image pipeline was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImageOutput) GoString() string {
- return s.String()
-}
+ // This is no longer supported, and does not return a value.
+ DateLastRun *string `locationName:"dateLastRun" type:"string"`
-// SetImage sets the Image field's value.
-func (s *GetImageOutput) SetImage(v *Image) *GetImageOutput {
- s.Image = v
- return s
-}
+ // The next date when the pipeline is scheduled to run.
+ DateNextRun *string `locationName:"dateNextRun" type:"string"`
-// SetRequestId sets the RequestId field's value.
-func (s *GetImageOutput) SetRequestId(v string) *GetImageOutput {
- s.RequestId = &v
- return s
-}
+ // The date on which this image pipeline was last updated.
+ DateUpdated *string `locationName:"dateUpdated" type:"string"`
-type GetImagePipelineInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+ // The description of the image pipeline.
+ Description *string `locationName:"description" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve.
- //
- // ImagePipelineArn is a required field
- ImagePipelineArn *string `location:"querystring" locationName:"imagePipelineArn" type:"string" required:"true"`
-}
+ // The Amazon Resource Name (ARN) of the distribution configuration associated
+ // with this image pipeline.
+ DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImagePipelineInput) String() string {
- return awsutil.Prettify(s)
-}
+ // Collects additional information about the image being created, including
+ // the operating system (OS) version and package list. This information is used
+ // to enhance the overall experience of using EC2 Image Builder. Enabled by
+ // default.
+ EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImagePipelineInput) GoString() string {
- return s.String()
-}
+ // The Amazon Resource Name (ARN) of the image recipe associated with this image
+ // pipeline.
+ ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetImagePipelineInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetImagePipelineInput"}
- if s.ImagePipelineArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImagePipelineArn"))
- }
+ // Contains settings for vulnerability scans.
+ ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
+ // The image tests configuration of the image pipeline.
+ ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *GetImagePipelineInput) SetImagePipelineArn(v string) *GetImagePipelineInput {
- s.ImagePipelineArn = &v
- return s
-}
+ // The Amazon Resource Name (ARN) of the infrastructure configuration associated
+ // with this image pipeline.
+ InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"`
+
+ // The name of the image pipeline.
+ Name *string `locationName:"name" type:"string"`
+
+ // The platform of the image pipeline.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
-type GetImagePipelineOutput struct {
- _ struct{} `type:"structure"`
+ // The schedule of the image pipeline.
+ Schedule *Schedule `locationName:"schedule" type:"structure"`
- // The image pipeline object.
- ImagePipeline *ImagePipeline `locationName:"imagePipeline" type:"structure"`
+ // The status of the image pipeline.
+ Status *string `locationName:"status" type:"string" enum:"PipelineStatus"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The tags of this image pipeline.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -12173,7 +15218,7 @@ type GetImagePipelineOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImagePipelineOutput) String() string {
+func (s ImagePipeline) String() string {
return awsutil.Prettify(s)
}
@@ -12182,162 +15227,129 @@ func (s GetImagePipelineOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImagePipelineOutput) GoString() string {
+func (s ImagePipeline) GoString() string {
return s.String()
}
-// SetImagePipeline sets the ImagePipeline field's value.
-func (s *GetImagePipelineOutput) SetImagePipeline(v *ImagePipeline) *GetImagePipelineOutput {
- s.ImagePipeline = v
+// SetArn sets the Arn field's value.
+func (s *ImagePipeline) SetArn(v string) *ImagePipeline {
+ s.Arn = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetImagePipelineOutput) SetRequestId(v string) *GetImagePipelineOutput {
- s.RequestId = &v
+// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
+func (s *ImagePipeline) SetContainerRecipeArn(v string) *ImagePipeline {
+ s.ContainerRecipeArn = &v
return s
}
-type GetImagePolicyInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
-
- // The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.
- //
- // ImageArn is a required field
- ImageArn *string `location:"querystring" locationName:"imageArn" type:"string" required:"true"`
+// SetDateCreated sets the DateCreated field's value.
+func (s *ImagePipeline) SetDateCreated(v string) *ImagePipeline {
+ s.DateCreated = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImagePolicyInput) String() string {
- return awsutil.Prettify(s)
+// SetDateLastRun sets the DateLastRun field's value.
+func (s *ImagePipeline) SetDateLastRun(v string) *ImagePipeline {
+ s.DateLastRun = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImagePolicyInput) GoString() string {
- return s.String()
+// SetDateNextRun sets the DateNextRun field's value.
+func (s *ImagePipeline) SetDateNextRun(v string) *ImagePipeline {
+ s.DateNextRun = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetImagePolicyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetImagePolicyInput"}
- if s.ImageArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *ImagePipeline) SetDateUpdated(v string) *ImagePipeline {
+ s.DateUpdated = &v
+ return s
}
-// SetImageArn sets the ImageArn field's value.
-func (s *GetImagePolicyInput) SetImageArn(v string) *GetImagePolicyInput {
- s.ImageArn = &v
+// SetDescription sets the Description field's value.
+func (s *ImagePipeline) SetDescription(v string) *ImagePipeline {
+ s.Description = &v
return s
}
-type GetImagePolicyOutput struct {
- _ struct{} `type:"structure"`
-
- // The image policy object.
- Policy *string `locationName:"policy" min:"1" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
+func (s *ImagePipeline) SetDistributionConfigurationArn(v string) *ImagePipeline {
+ s.DistributionConfigurationArn = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImagePolicyOutput) String() string {
- return awsutil.Prettify(s)
+// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
+func (s *ImagePipeline) SetEnhancedImageMetadataEnabled(v bool) *ImagePipeline {
+ s.EnhancedImageMetadataEnabled = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImagePolicyOutput) GoString() string {
- return s.String()
+// SetImageRecipeArn sets the ImageRecipeArn field's value.
+func (s *ImagePipeline) SetImageRecipeArn(v string) *ImagePipeline {
+ s.ImageRecipeArn = &v
+ return s
}
-// SetPolicy sets the Policy field's value.
-func (s *GetImagePolicyOutput) SetPolicy(v string) *GetImagePolicyOutput {
- s.Policy = &v
+// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
+func (s *ImagePipeline) SetImageScanningConfiguration(v *ImageScanningConfiguration) *ImagePipeline {
+ s.ImageScanningConfiguration = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetImagePolicyOutput) SetRequestId(v string) *GetImagePolicyOutput {
- s.RequestId = &v
+// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
+func (s *ImagePipeline) SetImageTestsConfiguration(v *ImageTestsConfiguration) *ImagePipeline {
+ s.ImageTestsConfiguration = v
return s
}
-type GetImageRecipeInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
-
- // The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.
- //
- // ImageRecipeArn is a required field
- ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"`
+// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
+func (s *ImagePipeline) SetInfrastructureConfigurationArn(v string) *ImagePipeline {
+ s.InfrastructureConfigurationArn = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImageRecipeInput) String() string {
- return awsutil.Prettify(s)
+// SetName sets the Name field's value.
+func (s *ImagePipeline) SetName(v string) *ImagePipeline {
+ s.Name = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImageRecipeInput) GoString() string {
- return s.String()
+// SetPlatform sets the Platform field's value.
+func (s *ImagePipeline) SetPlatform(v string) *ImagePipeline {
+ s.Platform = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetImageRecipeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetImageRecipeInput"}
- if s.ImageRecipeArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageRecipeArn"))
- }
+// SetSchedule sets the Schedule field's value.
+func (s *ImagePipeline) SetSchedule(v *Schedule) *ImagePipeline {
+ s.Schedule = v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetStatus sets the Status field's value.
+func (s *ImagePipeline) SetStatus(v string) *ImagePipeline {
+ s.Status = &v
+ return s
}
-// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *GetImageRecipeInput) SetImageRecipeArn(v string) *GetImageRecipeInput {
- s.ImageRecipeArn = &v
+// SetTags sets the Tags field's value.
+func (s *ImagePipeline) SetTags(v map[string]*string) *ImagePipeline {
+ s.Tags = v
return s
}
-type GetImageRecipeOutput struct {
+// Contains vulnerability counts for a specific image pipeline.
+type ImagePipelineAggregation struct {
_ struct{} `type:"structure"`
- // The image recipe object.
- ImageRecipe *ImageRecipe `locationName:"imageRecipe" type:"structure"`
+ // The Amazon Resource Name (ARN) that identifies the image pipeline for this
+ // aggregation.
+ ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // Counts by severity level for medium severity and higher level findings, plus
+ // a total for all of the findings for the specified image pipeline.
+ SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
}
// String returns the string representation.
@@ -12345,7 +15357,7 @@ type GetImageRecipeOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImageRecipeOutput) String() string {
+func (s ImagePipelineAggregation) String() string {
return awsutil.Prettify(s)
}
@@ -12354,30 +15366,73 @@ func (s GetImageRecipeOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImageRecipeOutput) GoString() string {
+func (s ImagePipelineAggregation) GoString() string {
return s.String()
}
-// SetImageRecipe sets the ImageRecipe field's value.
-func (s *GetImageRecipeOutput) SetImageRecipe(v *ImageRecipe) *GetImageRecipeOutput {
- s.ImageRecipe = v
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *ImagePipelineAggregation) SetImagePipelineArn(v string) *ImagePipelineAggregation {
+ s.ImagePipelineArn = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetImageRecipeOutput) SetRequestId(v string) *GetImageRecipeOutput {
- s.RequestId = &v
+// SetSeverityCounts sets the SeverityCounts field's value.
+func (s *ImagePipelineAggregation) SetSeverityCounts(v *SeverityCounts) *ImagePipelineAggregation {
+ s.SeverityCounts = v
return s
}
-type GetImageRecipePolicyInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+// An image recipe.
+type ImageRecipe struct {
+ _ struct{} `type:"structure"`
+
+ // Before you create a new AMI, Image Builder launches temporary Amazon EC2
+ // instances to build and test your image configuration. Instance configuration
+ // adds a layer of control over those instances. You can define settings and
+ // add scripts to run when an instance is launched from your AMI.
+ AdditionalInstanceConfiguration *AdditionalInstanceConfiguration `locationName:"additionalInstanceConfiguration" type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the image recipe.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // The block device mappings to apply when creating images from this recipe.
+ BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"`
+
+ // The components that are included in the image recipe. Recipes require a minimum
+ // of one build component, and can have a maximum of 20 build and test components
+ // in any combination.
+ Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list"`
+
+ // The date on which this image recipe was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The description of the image recipe.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of the image recipe.
+ Name *string `locationName:"name" type:"string"`
+
+ // The owner of the image recipe.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
+ // The base image of the image recipe.
+ ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
+
+ // The platform of the image recipe.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+
+ // The tags of the image recipe.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // Specifies which type of image is created by the recipe - an AMI or a container
+ // image.
+ Type *string `locationName:"type" type:"string" enum:"ImageType"`
- // The Amazon Resource Name (ARN) of the image recipe whose policy you want
- // to retrieve.
- //
- // ImageRecipeArn is a required field
- ImageRecipeArn *string `location:"querystring" locationName:"imageRecipeArn" type:"string" required:"true"`
+ // The version of the image recipe.
+ Version *string `locationName:"version" type:"string"`
+
+ // The working directory to be used during build and test workflows.
+ WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
}
// String returns the string representation.
@@ -12385,7 +15440,7 @@ type GetImageRecipePolicyInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImageRecipePolicyInput) String() string {
+func (s ImageRecipe) String() string {
return awsutil.Prettify(s)
}
@@ -12394,126 +15449,118 @@ func (s GetImageRecipePolicyInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetImageRecipePolicyInput) GoString() string {
+func (s ImageRecipe) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetImageRecipePolicyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetImageRecipePolicyInput"}
- if s.ImageRecipeArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageRecipeArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetAdditionalInstanceConfiguration sets the AdditionalInstanceConfiguration field's value.
+func (s *ImageRecipe) SetAdditionalInstanceConfiguration(v *AdditionalInstanceConfiguration) *ImageRecipe {
+ s.AdditionalInstanceConfiguration = v
+ return s
}
-// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *GetImageRecipePolicyInput) SetImageRecipeArn(v string) *GetImageRecipePolicyInput {
- s.ImageRecipeArn = &v
+// SetArn sets the Arn field's value.
+func (s *ImageRecipe) SetArn(v string) *ImageRecipe {
+ s.Arn = &v
return s
}
-type GetImageRecipePolicyOutput struct {
- _ struct{} `type:"structure"`
-
- // The image recipe policy object.
- Policy *string `locationName:"policy" min:"1" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *ImageRecipe) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *ImageRecipe {
+ s.BlockDeviceMappings = v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImageRecipePolicyOutput) String() string {
- return awsutil.Prettify(s)
+// SetComponents sets the Components field's value.
+func (s *ImageRecipe) SetComponents(v []*ComponentConfiguration) *ImageRecipe {
+ s.Components = v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetImageRecipePolicyOutput) GoString() string {
- return s.String()
+// SetDateCreated sets the DateCreated field's value.
+func (s *ImageRecipe) SetDateCreated(v string) *ImageRecipe {
+ s.DateCreated = &v
+ return s
}
-// SetPolicy sets the Policy field's value.
-func (s *GetImageRecipePolicyOutput) SetPolicy(v string) *GetImageRecipePolicyOutput {
- s.Policy = &v
+// SetDescription sets the Description field's value.
+func (s *ImageRecipe) SetDescription(v string) *ImageRecipe {
+ s.Description = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetImageRecipePolicyOutput) SetRequestId(v string) *GetImageRecipePolicyOutput {
- s.RequestId = &v
+// SetName sets the Name field's value.
+func (s *ImageRecipe) SetName(v string) *ImageRecipe {
+ s.Name = &v
return s
}
-// GetInfrastructureConfiguration request object.
-type GetInfrastructureConfigurationInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+// SetOwner sets the Owner field's value.
+func (s *ImageRecipe) SetOwner(v string) *ImageRecipe {
+ s.Owner = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the infrastructure configuration that you
- // want to retrieve.
- //
- // InfrastructureConfigurationArn is a required field
- InfrastructureConfigurationArn *string `location:"querystring" locationName:"infrastructureConfigurationArn" type:"string" required:"true"`
+// SetParentImage sets the ParentImage field's value.
+func (s *ImageRecipe) SetParentImage(v string) *ImageRecipe {
+ s.ParentImage = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetInfrastructureConfigurationInput) String() string {
- return awsutil.Prettify(s)
+// SetPlatform sets the Platform field's value.
+func (s *ImageRecipe) SetPlatform(v string) *ImageRecipe {
+ s.Platform = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetInfrastructureConfigurationInput) GoString() string {
- return s.String()
+// SetTags sets the Tags field's value.
+func (s *ImageRecipe) SetTags(v map[string]*string) *ImageRecipe {
+ s.Tags = v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetInfrastructureConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetInfrastructureConfigurationInput"}
- if s.InfrastructureConfigurationArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InfrastructureConfigurationArn"))
- }
+// SetType sets the Type field's value.
+func (s *ImageRecipe) SetType(v string) *ImageRecipe {
+ s.Type = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetVersion sets the Version field's value.
+func (s *ImageRecipe) SetVersion(v string) *ImageRecipe {
+ s.Version = &v
+ return s
}
-// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
-func (s *GetInfrastructureConfigurationInput) SetInfrastructureConfigurationArn(v string) *GetInfrastructureConfigurationInput {
- s.InfrastructureConfigurationArn = &v
+// SetWorkingDirectory sets the WorkingDirectory field's value.
+func (s *ImageRecipe) SetWorkingDirectory(v string) *ImageRecipe {
+ s.WorkingDirectory = &v
return s
}
-// GetInfrastructureConfiguration response object.
-type GetInfrastructureConfigurationOutput struct {
+// A summary of an image recipe.
+type ImageRecipeSummary struct {
_ struct{} `type:"structure"`
- // The infrastructure configuration object.
- InfrastructureConfiguration *InfrastructureConfiguration `locationName:"infrastructureConfiguration" type:"structure"`
+ // The Amazon Resource Name (ARN) of the image recipe.
+ Arn *string `locationName:"arn" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The date on which this image recipe was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The name of the image recipe.
+ Name *string `locationName:"name" type:"string"`
+
+ // The owner of the image recipe.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
+ // The base image of the image recipe.
+ ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
+
+ // The platform of the image recipe.
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+
+ // The tags of the image recipe.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -12521,7 +15568,7 @@ type GetInfrastructureConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetInfrastructureConfigurationOutput) String() string {
+func (s ImageRecipeSummary) String() string {
return awsutil.Prettify(s)
}
@@ -12530,120 +15577,101 @@ func (s GetInfrastructureConfigurationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetInfrastructureConfigurationOutput) GoString() string {
+func (s ImageRecipeSummary) GoString() string {
return s.String()
}
-// SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.
-func (s *GetInfrastructureConfigurationOutput) SetInfrastructureConfiguration(v *InfrastructureConfiguration) *GetInfrastructureConfigurationOutput {
- s.InfrastructureConfiguration = v
+// SetArn sets the Arn field's value.
+func (s *ImageRecipeSummary) SetArn(v string) *ImageRecipeSummary {
+ s.Arn = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetInfrastructureConfigurationOutput) SetRequestId(v string) *GetInfrastructureConfigurationOutput {
- s.RequestId = &v
+// SetDateCreated sets the DateCreated field's value.
+func (s *ImageRecipeSummary) SetDateCreated(v string) *ImageRecipeSummary {
+ s.DateCreated = &v
return s
}
-type GetWorkflowExecutionInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
-
- // Use the unique identifier for a runtime instance of the workflow to get runtime
- // details.
- //
- // WorkflowExecutionId is a required field
- WorkflowExecutionId *string `location:"querystring" locationName:"workflowExecutionId" type:"string" required:"true"`
+// SetName sets the Name field's value.
+func (s *ImageRecipeSummary) SetName(v string) *ImageRecipeSummary {
+ s.Name = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetWorkflowExecutionInput) String() string {
- return awsutil.Prettify(s)
+// SetOwner sets the Owner field's value.
+func (s *ImageRecipeSummary) SetOwner(v string) *ImageRecipeSummary {
+ s.Owner = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetWorkflowExecutionInput) GoString() string {
- return s.String()
+// SetParentImage sets the ParentImage field's value.
+func (s *ImageRecipeSummary) SetParentImage(v string) *ImageRecipeSummary {
+ s.ParentImage = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetWorkflowExecutionInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetWorkflowExecutionInput"}
- if s.WorkflowExecutionId == nil {
- invalidParams.Add(request.NewErrParamRequired("WorkflowExecutionId"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetPlatform sets the Platform field's value.
+func (s *ImageRecipeSummary) SetPlatform(v string) *ImageRecipeSummary {
+ s.Platform = &v
+ return s
}
-// SetWorkflowExecutionId sets the WorkflowExecutionId field's value.
-func (s *GetWorkflowExecutionInput) SetWorkflowExecutionId(v string) *GetWorkflowExecutionInput {
- s.WorkflowExecutionId = &v
+// SetTags sets the Tags field's value.
+func (s *ImageRecipeSummary) SetTags(v map[string]*string) *ImageRecipeSummary {
+ s.Tags = v
return s
}
-type GetWorkflowExecutionOutput struct {
+// Contains details about a vulnerability scan finding.
+type ImageScanFinding struct {
_ struct{} `type:"structure"`
- // The timestamp when the specified runtime instance of the workflow finished.
- EndTime *string `locationName:"endTime" type:"string"`
+ // The Amazon Web Services account ID that's associated with the finding.
+ AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the image resource build version that the
- // specified runtime instance of the workflow created.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+ // The description of the finding.
+ Description *string `locationName:"description" min:"1" type:"string"`
- // The output message from the specified runtime instance of the workflow, if
- // applicable.
- Message *string `locationName:"message" type:"string"`
+ // The date and time when the finding was first observed.
+ FirstObservedAt *time.Time `locationName:"firstObservedAt" type:"timestamp"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // Details about whether a fix is available for any of the packages that are
+ // identified in the finding through a version update.
+ FixAvailable *string `locationName:"fixAvailable" min:"1" type:"string"`
- // The timestamp when the specified runtime instance of the workflow started.
- StartTime *string `locationName:"startTime" type:"string"`
+ // The Amazon Resource Name (ARN) of the image build version that's associated
+ // with the finding.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
- // The current runtime status for the specified runtime instance of the workflow.
- Status *string `locationName:"status" type:"string" enum:"WorkflowExecutionStatus"`
+ // The Amazon Resource Name (ARN) of the image pipeline that's associated with
+ // the finding.
+ ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
- // The total number of steps in the specified runtime instance of the workflow
- // that ran. This number should equal the sum of the step counts for steps that
- // succeeded, were skipped, and failed.
- TotalStepCount *int64 `locationName:"totalStepCount" type:"integer"`
+ // The score that Amazon Inspector assigned for the finding.
+ InspectorScore *float64 `locationName:"inspectorScore" type:"double"`
- // A runtime count for the number of steps that failed in the specified runtime
- // instance of the workflow.
- TotalStepsFailed *int64 `locationName:"totalStepsFailed" type:"integer"`
+ // An object that contains details of the Amazon Inspector score.
+ InspectorScoreDetails *InspectorScoreDetails `locationName:"inspectorScoreDetails" type:"structure"`
- // A runtime count for the number of steps that were skipped in the specified
- // runtime instance of the workflow.
- TotalStepsSkipped *int64 `locationName:"totalStepsSkipped" type:"integer"`
+ // An object that contains the details of a package vulnerability finding.
+ PackageVulnerabilityDetails *PackageVulnerabilityDetails `locationName:"packageVulnerabilityDetails" type:"structure"`
- // A runtime count for the number of steps that ran successfully in the specified
- // runtime instance of the workflow.
- TotalStepsSucceeded *int64 `locationName:"totalStepsSucceeded" type:"integer"`
+ // An object that contains the details about how to remediate the finding.
+ Remediation *Remediation `locationName:"remediation" type:"structure"`
- // The type of workflow that Image Builder ran for the specified runtime instance
- // of the workflow.
- Type *string `locationName:"type" type:"string" enum:"WorkflowType"`
+ // The severity of the finding.
+ Severity *string `locationName:"severity" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the build version for the Image Builder
- // workflow resource that defines the specified runtime instance of the workflow.
- WorkflowBuildVersionArn *string `locationName:"workflowBuildVersionArn" type:"string"`
+ // The title of the finding.
+ Title *string `locationName:"title" min:"1" type:"string"`
- // The unique identifier that Image Builder assigned to keep track of runtime
- // details when it ran the workflow.
- WorkflowExecutionId *string `locationName:"workflowExecutionId" type:"string"`
+ // The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
+ // that apply to output images, and excludes other types.
+ Type *string `locationName:"type" min:"1" type:"string"`
+
+ // The timestamp when the finding was last updated.
+ UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"`
}
// String returns the string representation.
@@ -12651,7 +15679,7 @@ type GetWorkflowExecutionOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetWorkflowExecutionOutput) String() string {
+func (s ImageScanFinding) String() string {
return awsutil.Prettify(s)
}
@@ -12660,96 +15688,112 @@ func (s GetWorkflowExecutionOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetWorkflowExecutionOutput) GoString() string {
+func (s ImageScanFinding) GoString() string {
return s.String()
}
-// SetEndTime sets the EndTime field's value.
-func (s *GetWorkflowExecutionOutput) SetEndTime(v string) *GetWorkflowExecutionOutput {
- s.EndTime = &v
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *ImageScanFinding) SetAwsAccountId(v string) *ImageScanFinding {
+ s.AwsAccountId = &v
return s
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *GetWorkflowExecutionOutput) SetImageBuildVersionArn(v string) *GetWorkflowExecutionOutput {
- s.ImageBuildVersionArn = &v
+// SetDescription sets the Description field's value.
+func (s *ImageScanFinding) SetDescription(v string) *ImageScanFinding {
+ s.Description = &v
return s
}
-// SetMessage sets the Message field's value.
-func (s *GetWorkflowExecutionOutput) SetMessage(v string) *GetWorkflowExecutionOutput {
- s.Message = &v
+// SetFirstObservedAt sets the FirstObservedAt field's value.
+func (s *ImageScanFinding) SetFirstObservedAt(v time.Time) *ImageScanFinding {
+ s.FirstObservedAt = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetWorkflowExecutionOutput) SetRequestId(v string) *GetWorkflowExecutionOutput {
- s.RequestId = &v
+// SetFixAvailable sets the FixAvailable field's value.
+func (s *ImageScanFinding) SetFixAvailable(v string) *ImageScanFinding {
+ s.FixAvailable = &v
return s
}
-// SetStartTime sets the StartTime field's value.
-func (s *GetWorkflowExecutionOutput) SetStartTime(v string) *GetWorkflowExecutionOutput {
- s.StartTime = &v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *ImageScanFinding) SetImageBuildVersionArn(v string) *ImageScanFinding {
+ s.ImageBuildVersionArn = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *GetWorkflowExecutionOutput) SetStatus(v string) *GetWorkflowExecutionOutput {
- s.Status = &v
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *ImageScanFinding) SetImagePipelineArn(v string) *ImageScanFinding {
+ s.ImagePipelineArn = &v
return s
}
-// SetTotalStepCount sets the TotalStepCount field's value.
-func (s *GetWorkflowExecutionOutput) SetTotalStepCount(v int64) *GetWorkflowExecutionOutput {
- s.TotalStepCount = &v
+// SetInspectorScore sets the InspectorScore field's value.
+func (s *ImageScanFinding) SetInspectorScore(v float64) *ImageScanFinding {
+ s.InspectorScore = &v
return s
}
-// SetTotalStepsFailed sets the TotalStepsFailed field's value.
-func (s *GetWorkflowExecutionOutput) SetTotalStepsFailed(v int64) *GetWorkflowExecutionOutput {
- s.TotalStepsFailed = &v
+// SetInspectorScoreDetails sets the InspectorScoreDetails field's value.
+func (s *ImageScanFinding) SetInspectorScoreDetails(v *InspectorScoreDetails) *ImageScanFinding {
+ s.InspectorScoreDetails = v
return s
}
-// SetTotalStepsSkipped sets the TotalStepsSkipped field's value.
-func (s *GetWorkflowExecutionOutput) SetTotalStepsSkipped(v int64) *GetWorkflowExecutionOutput {
- s.TotalStepsSkipped = &v
+// SetPackageVulnerabilityDetails sets the PackageVulnerabilityDetails field's value.
+func (s *ImageScanFinding) SetPackageVulnerabilityDetails(v *PackageVulnerabilityDetails) *ImageScanFinding {
+ s.PackageVulnerabilityDetails = v
return s
}
-// SetTotalStepsSucceeded sets the TotalStepsSucceeded field's value.
-func (s *GetWorkflowExecutionOutput) SetTotalStepsSucceeded(v int64) *GetWorkflowExecutionOutput {
- s.TotalStepsSucceeded = &v
+// SetRemediation sets the Remediation field's value.
+func (s *ImageScanFinding) SetRemediation(v *Remediation) *ImageScanFinding {
+ s.Remediation = v
return s
}
-// SetType sets the Type field's value.
-func (s *GetWorkflowExecutionOutput) SetType(v string) *GetWorkflowExecutionOutput {
- s.Type = &v
+// SetSeverity sets the Severity field's value.
+func (s *ImageScanFinding) SetSeverity(v string) *ImageScanFinding {
+ s.Severity = &v
return s
}
-// SetWorkflowBuildVersionArn sets the WorkflowBuildVersionArn field's value.
-func (s *GetWorkflowExecutionOutput) SetWorkflowBuildVersionArn(v string) *GetWorkflowExecutionOutput {
- s.WorkflowBuildVersionArn = &v
+// SetTitle sets the Title field's value.
+func (s *ImageScanFinding) SetTitle(v string) *ImageScanFinding {
+ s.Title = &v
return s
}
-// SetWorkflowExecutionId sets the WorkflowExecutionId field's value.
-func (s *GetWorkflowExecutionOutput) SetWorkflowExecutionId(v string) *GetWorkflowExecutionOutput {
- s.WorkflowExecutionId = &v
+// SetType sets the Type field's value.
+func (s *ImageScanFinding) SetType(v string) *ImageScanFinding {
+ s.Type = &v
return s
}
-type GetWorkflowStepExecutionInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+// SetUpdatedAt sets the UpdatedAt field's value.
+func (s *ImageScanFinding) SetUpdatedAt(v time.Time) *ImageScanFinding {
+ s.UpdatedAt = &v
+ return s
+}
- // Use the unique identifier for a specific runtime instance of the workflow
- // step to get runtime details for that step.
- //
- // StepExecutionId is a required field
- StepExecutionId *string `location:"querystring" locationName:"stepExecutionId" type:"string" required:"true"`
+// This returns exactly one type of aggregation, based on the filter that Image
+// Builder applies in its API action.
+type ImageScanFindingAggregation struct {
+ _ struct{} `type:"structure"`
+
+ // Returns an object that contains severity counts based on an account ID.
+ AccountAggregation *AccountAggregation `locationName:"accountAggregation" type:"structure"`
+
+ // Returns an object that contains severity counts based on the Amazon Resource
+ // Name (ARN) for a specific image.
+ ImageAggregation *ImageAggregation `locationName:"imageAggregation" type:"structure"`
+
+ // Returns an object that contains severity counts based on an image pipeline
+ // ARN.
+ ImagePipelineAggregation *ImagePipelineAggregation `locationName:"imagePipelineAggregation" type:"structure"`
+
+ // Returns an object that contains severity counts based on vulnerability ID.
+ VulnerabilityIdAggregation *VulnerabilityIdAggregation `locationName:"vulnerabilityIdAggregation" type:"structure"`
}
// String returns the string representation.
@@ -12757,7 +15801,7 @@ type GetWorkflowStepExecutionInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetWorkflowStepExecutionInput) String() string {
+func (s ImageScanFindingAggregation) String() string {
return awsutil.Prettify(s)
}
@@ -12766,90 +15810,44 @@ func (s GetWorkflowStepExecutionInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetWorkflowStepExecutionInput) GoString() string {
+func (s ImageScanFindingAggregation) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetWorkflowStepExecutionInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetWorkflowStepExecutionInput"}
- if s.StepExecutionId == nil {
- invalidParams.Add(request.NewErrParamRequired("StepExecutionId"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetAccountAggregation sets the AccountAggregation field's value.
+func (s *ImageScanFindingAggregation) SetAccountAggregation(v *AccountAggregation) *ImageScanFindingAggregation {
+ s.AccountAggregation = v
+ return s
}
-// SetStepExecutionId sets the StepExecutionId field's value.
-func (s *GetWorkflowStepExecutionInput) SetStepExecutionId(v string) *GetWorkflowStepExecutionInput {
- s.StepExecutionId = &v
+// SetImageAggregation sets the ImageAggregation field's value.
+func (s *ImageScanFindingAggregation) SetImageAggregation(v *ImageAggregation) *ImageScanFindingAggregation {
+ s.ImageAggregation = v
return s
}
-type GetWorkflowStepExecutionOutput struct {
- _ struct{} `type:"structure"`
-
- // The name of the action that the specified step performs.
- Action *string `locationName:"action" type:"string"`
-
- // Describes the specified workflow step.
- Description *string `locationName:"description" type:"string"`
-
- // The timestamp when the specified runtime instance of the workflow step finished.
- EndTime *string `locationName:"endTime" type:"string"`
-
- // The Amazon Resource Name (ARN) of the image resource build version that the
- // specified runtime instance of the workflow step creates.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
-
- // Input parameters that Image Builder provided for the specified runtime instance
- // of the workflow step.
- Inputs *string `locationName:"inputs" type:"string"`
-
- // The output message from the specified runtime instance of the workflow step,
- // if applicable.
- Message *string `locationName:"message" type:"string"`
-
- // The name of the specified runtime instance of the workflow step.
- Name *string `locationName:"name" type:"string"`
-
- // The action to perform if the workflow step fails.
- OnFailure *string `locationName:"onFailure" min:"1" type:"string"`
-
- // The file names that the specified runtime version of the workflow step created
- // as output.
- Outputs *string `locationName:"outputs" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
-
- // Reports on the rollback status of the specified runtime version of the workflow
- // step, if applicable.
- RollbackStatus *string `locationName:"rollbackStatus" type:"string" enum:"WorkflowStepExecutionRollbackStatus"`
-
- // The timestamp when the specified runtime version of the workflow step started.
- StartTime *string `locationName:"startTime" type:"string"`
-
- // The current status for the specified runtime version of the workflow step.
- Status *string `locationName:"status" type:"string" enum:"WorkflowStepExecutionStatus"`
-
- // The unique identifier for the runtime version of the workflow step that you
- // specified in the request.
- StepExecutionId *string `locationName:"stepExecutionId" type:"string"`
+// SetImagePipelineAggregation sets the ImagePipelineAggregation field's value.
+func (s *ImageScanFindingAggregation) SetImagePipelineAggregation(v *ImagePipelineAggregation) *ImageScanFindingAggregation {
+ s.ImagePipelineAggregation = v
+ return s
+}
- // The maximum duration in seconds for this step to complete its action.
- TimeoutSeconds *int64 `locationName:"timeoutSeconds" type:"integer"`
+// SetVulnerabilityIdAggregation sets the VulnerabilityIdAggregation field's value.
+func (s *ImageScanFindingAggregation) SetVulnerabilityIdAggregation(v *VulnerabilityIdAggregation) *ImageScanFindingAggregation {
+ s.VulnerabilityIdAggregation = v
+ return s
+}
- // The Amazon Resource Name (ARN) of the build version for the Image Builder
- // workflow resource that defines this workflow step.
- WorkflowBuildVersionArn *string `locationName:"workflowBuildVersionArn" type:"string"`
+// A name value pair that Image Builder applies to streamline results from the
+// vulnerability scan findings list action.
+type ImageScanFindingsFilter struct {
+ _ struct{} `type:"structure"`
- // The unique identifier that Image Builder assigned to keep track of runtime
- // details when it ran the workflow.
- WorkflowExecutionId *string `locationName:"workflowExecutionId" type:"string"`
+ // The name of the image scan finding filter. Filter names are case-sensitive.
+ Name *string `locationName:"name" type:"string"`
+
+ // The filter values. Filter values are case-sensitive.
+ Values []*string `locationName:"values" min:"1" type:"list"`
}
// String returns the string representation.
@@ -12857,7 +15855,7 @@ type GetWorkflowStepExecutionOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetWorkflowStepExecutionOutput) String() string {
+func (s ImageScanFindingsFilter) String() string {
return awsutil.Prettify(s)
}
@@ -12866,119 +15864,88 @@ func (s GetWorkflowStepExecutionOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetWorkflowStepExecutionOutput) GoString() string {
+func (s ImageScanFindingsFilter) GoString() string {
return s.String()
}
-// SetAction sets the Action field's value.
-func (s *GetWorkflowStepExecutionOutput) SetAction(v string) *GetWorkflowStepExecutionOutput {
- s.Action = &v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *GetWorkflowStepExecutionOutput) SetDescription(v string) *GetWorkflowStepExecutionOutput {
- s.Description = &v
- return s
-}
-
-// SetEndTime sets the EndTime field's value.
-func (s *GetWorkflowStepExecutionOutput) SetEndTime(v string) *GetWorkflowStepExecutionOutput {
- s.EndTime = &v
- return s
-}
-
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *GetWorkflowStepExecutionOutput) SetImageBuildVersionArn(v string) *GetWorkflowStepExecutionOutput {
- s.ImageBuildVersionArn = &v
- return s
-}
-
-// SetInputs sets the Inputs field's value.
-func (s *GetWorkflowStepExecutionOutput) SetInputs(v string) *GetWorkflowStepExecutionOutput {
- s.Inputs = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ImageScanFindingsFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ImageScanFindingsFilter"}
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
-// SetMessage sets the Message field's value.
-func (s *GetWorkflowStepExecutionOutput) SetMessage(v string) *GetWorkflowStepExecutionOutput {
- s.Message = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
// SetName sets the Name field's value.
-func (s *GetWorkflowStepExecutionOutput) SetName(v string) *GetWorkflowStepExecutionOutput {
+func (s *ImageScanFindingsFilter) SetName(v string) *ImageScanFindingsFilter {
s.Name = &v
return s
}
-// SetOnFailure sets the OnFailure field's value.
-func (s *GetWorkflowStepExecutionOutput) SetOnFailure(v string) *GetWorkflowStepExecutionOutput {
- s.OnFailure = &v
- return s
-}
-
-// SetOutputs sets the Outputs field's value.
-func (s *GetWorkflowStepExecutionOutput) SetOutputs(v string) *GetWorkflowStepExecutionOutput {
- s.Outputs = &v
+// SetValues sets the Values field's value.
+func (s *ImageScanFindingsFilter) SetValues(v []*string) *ImageScanFindingsFilter {
+ s.Values = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *GetWorkflowStepExecutionOutput) SetRequestId(v string) *GetWorkflowStepExecutionOutput {
- s.RequestId = &v
- return s
-}
+// Shows the vulnerability scan status for a specific image, and the reason
+// for that status.
+type ImageScanState struct {
+ _ struct{} `type:"structure"`
-// SetRollbackStatus sets the RollbackStatus field's value.
-func (s *GetWorkflowStepExecutionOutput) SetRollbackStatus(v string) *GetWorkflowStepExecutionOutput {
- s.RollbackStatus = &v
- return s
-}
+ // The reason for the scan status for the image.
+ Reason *string `locationName:"reason" min:"1" type:"string"`
-// SetStartTime sets the StartTime field's value.
-func (s *GetWorkflowStepExecutionOutput) SetStartTime(v string) *GetWorkflowStepExecutionOutput {
- s.StartTime = &v
- return s
+ // The current state of vulnerability scans for the image.
+ Status *string `locationName:"status" type:"string" enum:"ImageScanStatus"`
}
-// SetStatus sets the Status field's value.
-func (s *GetWorkflowStepExecutionOutput) SetStatus(v string) *GetWorkflowStepExecutionOutput {
- s.Status = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImageScanState) String() string {
+ return awsutil.Prettify(s)
}
-// SetStepExecutionId sets the StepExecutionId field's value.
-func (s *GetWorkflowStepExecutionOutput) SetStepExecutionId(v string) *GetWorkflowStepExecutionOutput {
- s.StepExecutionId = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImageScanState) GoString() string {
+ return s.String()
}
-// SetTimeoutSeconds sets the TimeoutSeconds field's value.
-func (s *GetWorkflowStepExecutionOutput) SetTimeoutSeconds(v int64) *GetWorkflowStepExecutionOutput {
- s.TimeoutSeconds = &v
+// SetReason sets the Reason field's value.
+func (s *ImageScanState) SetReason(v string) *ImageScanState {
+ s.Reason = &v
return s
}
-// SetWorkflowBuildVersionArn sets the WorkflowBuildVersionArn field's value.
-func (s *GetWorkflowStepExecutionOutput) SetWorkflowBuildVersionArn(v string) *GetWorkflowStepExecutionOutput {
- s.WorkflowBuildVersionArn = &v
+// SetStatus sets the Status field's value.
+func (s *ImageScanState) SetStatus(v string) *ImageScanState {
+ s.Status = &v
return s
}
-// SetWorkflowExecutionId sets the WorkflowExecutionId field's value.
-func (s *GetWorkflowStepExecutionOutput) SetWorkflowExecutionId(v string) *GetWorkflowStepExecutionOutput {
- s.WorkflowExecutionId = &v
- return s
-}
+// Contains settings for Image Builder image resource and container image scans.
+type ImageScanningConfiguration struct {
+ _ struct{} `type:"structure"`
-// You have specified a client token for an operation using parameter values
-// that differ from a previous request that used the same client token.
-type IdempotentParameterMismatchException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // Contains Amazon ECR settings for vulnerability scans.
+ EcrConfiguration *EcrConfiguration `locationName:"ecrConfiguration" type:"structure"`
- Message_ *string `locationName:"message" type:"string"`
+ // A setting that indicates whether Image Builder keeps a snapshot of the vulnerability
+ // scans that Amazon Inspector runs against the build instance when you create
+ // a new image.
+ ImageScanningEnabled *bool `locationName:"imageScanningEnabled" type:"boolean"`
}
// String returns the string representation.
@@ -12986,7 +15953,7 @@ type IdempotentParameterMismatchException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s IdempotentParameterMismatchException) String() string {
+func (s ImageScanningConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -12995,67 +15962,83 @@ func (s IdempotentParameterMismatchException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s IdempotentParameterMismatchException) GoString() string {
+func (s ImageScanningConfiguration) GoString() string {
return s.String()
}
-func newErrorIdempotentParameterMismatchException(v protocol.ResponseMetadata) error {
- return &IdempotentParameterMismatchException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ImageScanningConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ImageScanningConfiguration"}
+ if s.EcrConfiguration != nil {
+ if err := s.EcrConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("EcrConfiguration", err.(request.ErrInvalidParams))
+ }
}
-}
-// Code returns the exception type name.
-func (s *IdempotentParameterMismatchException) Code() string {
- return "IdempotentParameterMismatchException"
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// Message returns the exception's message.
-func (s *IdempotentParameterMismatchException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetEcrConfiguration sets the EcrConfiguration field's value.
+func (s *ImageScanningConfiguration) SetEcrConfiguration(v *EcrConfiguration) *ImageScanningConfiguration {
+ s.EcrConfiguration = v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *IdempotentParameterMismatchException) OrigErr() error {
- return nil
+// SetImageScanningEnabled sets the ImageScanningEnabled field's value.
+func (s *ImageScanningConfiguration) SetImageScanningEnabled(v bool) *ImageScanningConfiguration {
+ s.ImageScanningEnabled = &v
+ return s
}
-func (s *IdempotentParameterMismatchException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// Image status and the reason for that status.
+type ImageState struct {
+ _ struct{} `type:"structure"`
+
+ // The reason for the status of the image.
+ Reason *string `locationName:"reason" min:"1" type:"string"`
+
+ // The status of the image.
+ Status *string `locationName:"status" type:"string" enum:"ImageStatus"`
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *IdempotentParameterMismatchException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImageState) String() string {
+ return awsutil.Prettify(s)
}
-// RequestID returns the service's response RequestID for request.
-func (s *IdempotentParameterMismatchException) RequestID() string {
- return s.RespMetadata.RequestID
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImageState) GoString() string {
+ return s.String()
}
-// An Image Builder image. You must specify exactly one recipe for the image
-// – either a container recipe (containerRecipe), which creates a container
-// image, or an image recipe (imageRecipe), which creates an AMI.
-type Image struct {
- _ struct{} `type:"structure"`
+// SetReason sets the Reason field's value.
+func (s *ImageState) SetReason(v string) *ImageState {
+ s.Reason = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the image.
- //
- // Semantic versioning is included in each object's Amazon Resource Name (ARN),
- // at the level that applies to that object as follows:
- //
- // Versionless ARNs and Name ARNs do not include specific values in any of the
- // nodes. The nodes are either left off entirely, or they are specified as wildcards,
- // for example: x.x.x.
- //
- // Version ARNs have only the first three nodes: ..
- //
- // Build version ARNs have all four nodes, and point to a specific build for
- // a specific version of an object.
+// SetStatus sets the Status field's value.
+func (s *ImageState) SetStatus(v string) *ImageState {
+ s.Status = &v
+ return s
+}
+
+// An image summary.
+type ImageSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the image.
Arn *string `locationName:"arn" type:"string"`
// Indicates the type of build that created this image. The build can be initiated
@@ -13070,58 +16053,36 @@ type Image struct {
// the recipe.
BuildType *string `locationName:"buildType" type:"string" enum:"BuildType"`
- // For container images, this is the container recipe that Image Builder used
- // to create the image. For images that distribute an AMI, this is empty.
- ContainerRecipe *ContainerRecipe `locationName:"containerRecipe" type:"structure"`
-
// The date on which Image Builder created this image.
DateCreated *string `locationName:"dateCreated" type:"string"`
- // The distribution configuration that Image Builder used to create this image.
- DistributionConfiguration *DistributionConfiguration `locationName:"distributionConfiguration" type:"structure"`
-
- // Indicates whether Image Builder collects additional information about the
- // image, such as the operating system (OS) version and package list.
- EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
-
- // For images that distribute an AMI, this is the image recipe that Image Builder
- // used to create the image. For container images, this is empty.
- ImageRecipe *ImageRecipe `locationName:"imageRecipe" type:"structure"`
-
- // Contains settings for vulnerability scans.
- ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
+ // The time when deprecation occurs for an image resource. This can be a past
+ // or future date.
+ DeprecationTime *time.Time `locationName:"deprecationTime" type:"timestamp"`
// The origin of the base image that Image Builder used to build this image.
ImageSource *string `locationName:"imageSource" type:"string" enum:"ImageSource"`
- // The image tests that ran when that Image Builder created this image.
- ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
-
- // The infrastructure that Image Builder used to create this image.
- InfrastructureConfiguration *InfrastructureConfiguration `locationName:"infrastructureConfiguration" type:"structure"`
+ // Identifies the last runtime instance of the lifecycle policy to take action
+ // on the image.
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string"`
// The name of the image.
Name *string `locationName:"name" type:"string"`
- // The operating system version for instances that launch from this image. For
- // example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
+ // The operating system version of the instances that launch from this image.
+ // For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
OsVersion *string `locationName:"osVersion" min:"1" type:"string"`
- // The output resources that Image Builder produces for this image.
+ // The output resources that Image Builder produced when it created this image.
OutputResources *OutputResources `locationName:"outputResources" type:"structure"`
+ // The owner of the image.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
+
// The image operating system platform, such as Linux or Windows.
Platform *string `locationName:"platform" type:"string" enum:"Platform"`
- // Contains information about the current state of scans for this image.
- ScanState *ImageScanState `locationName:"scanState" type:"structure"`
-
- // The Amazon Resource Name (ARN) of the image pipeline that created this image.
- SourcePipelineArn *string `locationName:"sourcePipelineArn" type:"string"`
-
- // The name of the image pipeline that created this image.
- SourcePipelineName *string `locationName:"sourcePipelineName" type:"string"`
-
// The state of the image.
State *ImageState `locationName:"state" type:"structure"`
@@ -13131,24 +16092,7 @@ type Image struct {
// Specifies whether this image produces an AMI or a container image.
Type *string `locationName:"type" type:"string" enum:"ImageType"`
- // The semantic version of the image.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // Filtering: With semantic versioning, you have the flexibility to use wildcards
- // (x) to specify the most recent versions or nodes when selecting the base
- // image or components for your recipe. When you use a wildcard in any node,
- // all nodes to the right of the first wildcard must also be wildcards.
+ // The version of the image.
Version *string `locationName:"version" type:"string"`
}
@@ -13157,7 +16101,7 @@ type Image struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Image) String() string {
+func (s ImageSummary) String() string {
return awsutil.Prettify(s)
}
@@ -13166,152 +16110,234 @@ func (s Image) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Image) GoString() string {
+func (s ImageSummary) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
-func (s *Image) SetArn(v string) *Image {
+func (s *ImageSummary) SetArn(v string) *ImageSummary {
s.Arn = &v
return s
}
// SetBuildType sets the BuildType field's value.
-func (s *Image) SetBuildType(v string) *Image {
+func (s *ImageSummary) SetBuildType(v string) *ImageSummary {
s.BuildType = &v
return s
}
-// SetContainerRecipe sets the ContainerRecipe field's value.
-func (s *Image) SetContainerRecipe(v *ContainerRecipe) *Image {
- s.ContainerRecipe = v
- return s
-}
-
// SetDateCreated sets the DateCreated field's value.
-func (s *Image) SetDateCreated(v string) *Image {
+func (s *ImageSummary) SetDateCreated(v string) *ImageSummary {
s.DateCreated = &v
return s
}
-// SetDistributionConfiguration sets the DistributionConfiguration field's value.
-func (s *Image) SetDistributionConfiguration(v *DistributionConfiguration) *Image {
- s.DistributionConfiguration = v
- return s
-}
-
-// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
-func (s *Image) SetEnhancedImageMetadataEnabled(v bool) *Image {
- s.EnhancedImageMetadataEnabled = &v
- return s
-}
-
-// SetImageRecipe sets the ImageRecipe field's value.
-func (s *Image) SetImageRecipe(v *ImageRecipe) *Image {
- s.ImageRecipe = v
- return s
-}
-
-// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
-func (s *Image) SetImageScanningConfiguration(v *ImageScanningConfiguration) *Image {
- s.ImageScanningConfiguration = v
+// SetDeprecationTime sets the DeprecationTime field's value.
+func (s *ImageSummary) SetDeprecationTime(v time.Time) *ImageSummary {
+ s.DeprecationTime = &v
return s
}
// SetImageSource sets the ImageSource field's value.
-func (s *Image) SetImageSource(v string) *Image {
+func (s *ImageSummary) SetImageSource(v string) *ImageSummary {
s.ImageSource = &v
return s
}
-// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
-func (s *Image) SetImageTestsConfiguration(v *ImageTestsConfiguration) *Image {
- s.ImageTestsConfiguration = v
- return s
-}
-
-// SetInfrastructureConfiguration sets the InfrastructureConfiguration field's value.
-func (s *Image) SetInfrastructureConfiguration(v *InfrastructureConfiguration) *Image {
- s.InfrastructureConfiguration = v
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *ImageSummary) SetLifecycleExecutionId(v string) *ImageSummary {
+ s.LifecycleExecutionId = &v
return s
}
// SetName sets the Name field's value.
-func (s *Image) SetName(v string) *Image {
+func (s *ImageSummary) SetName(v string) *ImageSummary {
s.Name = &v
return s
}
// SetOsVersion sets the OsVersion field's value.
-func (s *Image) SetOsVersion(v string) *Image {
+func (s *ImageSummary) SetOsVersion(v string) *ImageSummary {
s.OsVersion = &v
return s
}
// SetOutputResources sets the OutputResources field's value.
-func (s *Image) SetOutputResources(v *OutputResources) *Image {
+func (s *ImageSummary) SetOutputResources(v *OutputResources) *ImageSummary {
s.OutputResources = v
return s
}
-// SetPlatform sets the Platform field's value.
-func (s *Image) SetPlatform(v string) *Image {
- s.Platform = &v
- return s
-}
-
-// SetScanState sets the ScanState field's value.
-func (s *Image) SetScanState(v *ImageScanState) *Image {
- s.ScanState = v
- return s
-}
-
-// SetSourcePipelineArn sets the SourcePipelineArn field's value.
-func (s *Image) SetSourcePipelineArn(v string) *Image {
- s.SourcePipelineArn = &v
+// SetOwner sets the Owner field's value.
+func (s *ImageSummary) SetOwner(v string) *ImageSummary {
+ s.Owner = &v
return s
}
-// SetSourcePipelineName sets the SourcePipelineName field's value.
-func (s *Image) SetSourcePipelineName(v string) *Image {
- s.SourcePipelineName = &v
+// SetPlatform sets the Platform field's value.
+func (s *ImageSummary) SetPlatform(v string) *ImageSummary {
+ s.Platform = &v
return s
}
// SetState sets the State field's value.
-func (s *Image) SetState(v *ImageState) *Image {
+func (s *ImageSummary) SetState(v *ImageState) *ImageSummary {
s.State = v
return s
}
// SetTags sets the Tags field's value.
-func (s *Image) SetTags(v map[string]*string) *Image {
+func (s *ImageSummary) SetTags(v map[string]*string) *ImageSummary {
s.Tags = v
return s
}
// SetType sets the Type field's value.
-func (s *Image) SetType(v string) *Image {
+func (s *ImageSummary) SetType(v string) *ImageSummary {
s.Type = &v
return s
}
// SetVersion sets the Version field's value.
-func (s *Image) SetVersion(v string) *Image {
+func (s *ImageSummary) SetVersion(v string) *ImageSummary {
s.Version = &v
return s
}
-// Contains vulnerability counts for a specific image.
-type ImageAggregation struct {
- _ struct{} `type:"structure"`
+// Configure image tests for your pipeline build. Tests run after building the
+// image, to verify that the AMI or container image is valid before distributing
+// it.
+type ImageTestsConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // Determines if tests should run after building the image. Image Builder defaults
+ // to enable tests to run following the image build, before image distribution.
+ ImageTestsEnabled *bool `locationName:"imageTestsEnabled" type:"boolean"`
+
+ // The maximum time in minutes that tests are permitted to run.
+ //
+ // The timeoutMinutes attribute is not currently active. This value is ignored.
+ TimeoutMinutes *int64 `locationName:"timeoutMinutes" min:"60" type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImageTestsConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImageTestsConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ImageTestsConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ImageTestsConfiguration"}
+ if s.TimeoutMinutes != nil && *s.TimeoutMinutes < 60 {
+ invalidParams.Add(request.NewErrParamMinValue("TimeoutMinutes", 60))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetImageTestsEnabled sets the ImageTestsEnabled field's value.
+func (s *ImageTestsConfiguration) SetImageTestsEnabled(v bool) *ImageTestsConfiguration {
+ s.ImageTestsEnabled = &v
+ return s
+}
+
+// SetTimeoutMinutes sets the TimeoutMinutes field's value.
+func (s *ImageTestsConfiguration) SetTimeoutMinutes(v int64) *ImageTestsConfiguration {
+ s.TimeoutMinutes = &v
+ return s
+}
+
+// The defining characteristics of a specific version of an Image Builder image.
+type ImageVersion struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of a specific version of an Image Builder
+ // image.
+ //
+ // Semantic versioning is included in each object's Amazon Resource Name (ARN),
+ // at the level that applies to that object as follows:
+ //
+ // Versionless ARNs and Name ARNs do not include specific values in any of the
+ // nodes. The nodes are either left off entirely, or they are specified as wildcards,
+ // for example: x.x.x.
+ //
+ // Version ARNs have only the first three nodes: ..
+ //
+ // Build version ARNs have all four nodes, and point to a specific build for
+ // a specific version of an object.
+ Arn *string `locationName:"arn" type:"string"`
+
+ // Indicates the type of build that created this image. The build can be initiated
+ // in the following ways:
+ //
+ // * USER_INITIATED – A manual pipeline build request.
+ //
+ // * SCHEDULED – A pipeline build initiated by a cron expression in the
+ // Image Builder pipeline, or from EventBridge.
+ //
+ // * IMPORT – A VM import created the image to use as the base image for
+ // the recipe.
+ BuildType *string `locationName:"buildType" type:"string" enum:"BuildType"`
+
+ // The date on which this specific version of the Image Builder image was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
+
+ // The origin of the base image that Image Builder used to build this image.
+ ImageSource *string `locationName:"imageSource" type:"string" enum:"ImageSource"`
+
+ // The name of this specific version of an Image Builder image.
+ Name *string `locationName:"name" type:"string"`
+
+ // The operating system version of the Amazon EC2 build instance. For example,
+ // Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
+ OsVersion *string `locationName:"osVersion" min:"1" type:"string"`
+
+ // The owner of the image version.
+ Owner *string `locationName:"owner" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) that identifies the image for this aggregation.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+ // The operating system platform of the image version, for example "Windows"
+ // or "Linux".
+ Platform *string `locationName:"platform" type:"string" enum:"Platform"`
- // Counts by severity level for medium severity and higher level findings, plus
- // a total for all of the findings for the specified image.
- SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
+ // Specifies whether this image produces an AMI or a container image.
+ Type *string `locationName:"type" type:"string" enum:"ImageType"`
+
+ // Details for a specific version of an Image Builder image. This version follows
+ // the semantic version syntax.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // Filtering: With semantic versioning, you have the flexibility to use wildcards
+ // (x) to specify the most recent versions or nodes when selecting the base
+ // image or components for your recipe. When you use a wildcard in any node,
+ // all nodes to the right of the first wildcard must also be wildcards.
+ Version *string `locationName:"version" type:"string"`
}
// String returns the string representation.
@@ -13319,7 +16345,7 @@ type ImageAggregation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageAggregation) String() string {
+func (s ImageVersion) String() string {
return awsutil.Prettify(s)
}
@@ -13328,127 +16354,136 @@ func (s ImageAggregation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageAggregation) GoString() string {
+func (s ImageVersion) GoString() string {
return s.String()
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *ImageAggregation) SetImageBuildVersionArn(v string) *ImageAggregation {
- s.ImageBuildVersionArn = &v
+// SetArn sets the Arn field's value.
+func (s *ImageVersion) SetArn(v string) *ImageVersion {
+ s.Arn = &v
return s
}
-// SetSeverityCounts sets the SeverityCounts field's value.
-func (s *ImageAggregation) SetSeverityCounts(v *SeverityCounts) *ImageAggregation {
- s.SeverityCounts = v
+// SetBuildType sets the BuildType field's value.
+func (s *ImageVersion) SetBuildType(v string) *ImageVersion {
+ s.BuildType = &v
return s
}
-// Represents a package installed on an Image Builder image.
-type ImagePackage struct {
- _ struct{} `type:"structure"`
-
- // The name of the package as reported to the operating system package manager.
- PackageName *string `locationName:"packageName" min:"1" type:"string"`
-
- // The version of the package as reported to the operating system package manager.
- PackageVersion *string `locationName:"packageVersion" min:"1" type:"string"`
+// SetDateCreated sets the DateCreated field's value.
+func (s *ImageVersion) SetDateCreated(v string) *ImageVersion {
+ s.DateCreated = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ImagePackage) String() string {
- return awsutil.Prettify(s)
+// SetImageSource sets the ImageSource field's value.
+func (s *ImageVersion) SetImageSource(v string) *ImageVersion {
+ s.ImageSource = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ImagePackage) GoString() string {
- return s.String()
+// SetName sets the Name field's value.
+func (s *ImageVersion) SetName(v string) *ImageVersion {
+ s.Name = &v
+ return s
}
-// SetPackageName sets the PackageName field's value.
-func (s *ImagePackage) SetPackageName(v string) *ImagePackage {
- s.PackageName = &v
+// SetOsVersion sets the OsVersion field's value.
+func (s *ImageVersion) SetOsVersion(v string) *ImageVersion {
+ s.OsVersion = &v
return s
}
-// SetPackageVersion sets the PackageVersion field's value.
-func (s *ImagePackage) SetPackageVersion(v string) *ImagePackage {
- s.PackageVersion = &v
+// SetOwner sets the Owner field's value.
+func (s *ImageVersion) SetOwner(v string) *ImageVersion {
+ s.Owner = &v
return s
}
-// Details of an image pipeline.
-type ImagePipeline struct {
- _ struct{} `type:"structure"`
+// SetPlatform sets the Platform field's value.
+func (s *ImageVersion) SetPlatform(v string) *ImageVersion {
+ s.Platform = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the image pipeline.
- Arn *string `locationName:"arn" type:"string"`
+// SetType sets the Type field's value.
+func (s *ImageVersion) SetType(v string) *ImageVersion {
+ s.Type = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the container recipe that is used for this
- // pipeline.
- ContainerRecipeArn *string `locationName:"containerRecipeArn" type:"string"`
+// SetVersion sets the Version field's value.
+func (s *ImageVersion) SetVersion(v string) *ImageVersion {
+ s.Version = &v
+ return s
+}
- // The date on which this image pipeline was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
+type ImportComponentInput struct {
+ _ struct{} `type:"structure"`
- // This is no longer supported, and does not return a value.
- DateLastRun *string `locationName:"dateLastRun" type:"string"`
+ // The change description of the component. This description indicates the change
+ // that has been made in this version, or what makes this version different
+ // from other versions of this component.
+ ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
- // The next date when the pipeline is scheduled to run.
- DateNextRun *string `locationName:"dateNextRun" type:"string"`
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
- // The date on which this image pipeline was last updated.
- DateUpdated *string `locationName:"dateUpdated" type:"string"`
+ // The data of the component. Used to specify the data inline. Either data or
+ // uri can be used to specify the data within the component.
+ Data *string `locationName:"data" min:"1" type:"string"`
- // The description of the image pipeline.
+ // The description of the component. Describes the contents of the component.
Description *string `locationName:"description" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the distribution configuration associated
- // with this image pipeline.
- DistributionConfigurationArn *string `locationName:"distributionConfigurationArn" type:"string"`
-
- // Collects additional information about the image being created, including
- // the operating system (OS) version and package list. This information is used
- // to enhance the overall experience of using EC2 Image Builder. Enabled by
- // default.
- EnhancedImageMetadataEnabled *bool `locationName:"enhancedImageMetadataEnabled" type:"boolean"`
-
- // The Amazon Resource Name (ARN) of the image recipe associated with this image
- // pipeline.
- ImageRecipeArn *string `locationName:"imageRecipeArn" type:"string"`
-
- // Contains settings for vulnerability scans.
- ImageScanningConfiguration *ImageScanningConfiguration `locationName:"imageScanningConfiguration" type:"structure"`
+ // The format of the resource that you want to import as a component.
+ //
+ // Format is a required field
+ Format *string `locationName:"format" type:"string" required:"true" enum:"ComponentFormat"`
- // The image tests configuration of the image pipeline.
- ImageTestsConfiguration *ImageTestsConfiguration `locationName:"imageTestsConfiguration" type:"structure"`
+ // The ID of the KMS key that should be used to encrypt this component.
+ KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the infrastructure configuration associated
- // with this image pipeline.
- InfrastructureConfigurationArn *string `locationName:"infrastructureConfigurationArn" type:"string"`
+ // The name of the component.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
- // The name of the image pipeline.
- Name *string `locationName:"name" type:"string"`
+ // The platform of the component.
+ //
+ // Platform is a required field
+ Platform *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`
- // The platform of the image pipeline.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+ // The semantic version of the component. This version follows the semantic
+ // version syntax.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Filtering: With semantic versioning, you have the flexibility to use wildcards
+ // (x) to specify the most recent versions or nodes when selecting the base
+ // image or components for your recipe. When you use a wildcard in any node,
+ // all nodes to the right of the first wildcard must also be wildcards.
+ //
+ // SemanticVersion is a required field
+ SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
- // The schedule of the image pipeline.
- Schedule *Schedule `locationName:"schedule" type:"structure"`
+ // The tags of the component.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
- // The status of the image pipeline.
- Status *string `locationName:"status" type:"string" enum:"PipelineStatus"`
+ // The type of the component denotes whether the component is used to build
+ // the image, or only to test it.
+ //
+ // Type is a required field
+ Type *string `locationName:"type" type:"string" required:"true" enum:"ComponentType"`
- // The tags of this image pipeline.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // The uri of the component. Must be an Amazon S3 URL and the requester must
+ // have permission to access the Amazon S3 bucket. If you use Amazon S3, you
+ // can specify component content up to your service quota. Either data or uri
+ // can be used to specify the data within the component.
+ Uri *string `locationName:"uri" type:"string"`
}
// String returns the string representation.
@@ -13456,7 +16491,7 @@ type ImagePipeline struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImagePipeline) String() string {
+func (s ImportComponentInput) String() string {
return awsutil.Prettify(s)
}
@@ -13465,129 +16500,136 @@ func (s ImagePipeline) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImagePipeline) GoString() string {
+func (s ImportComponentInput) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *ImagePipeline) SetArn(v string) *ImagePipeline {
- s.Arn = &v
- return s
-}
-
-// SetContainerRecipeArn sets the ContainerRecipeArn field's value.
-func (s *ImagePipeline) SetContainerRecipeArn(v string) *ImagePipeline {
- s.ContainerRecipeArn = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ImportComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ImportComponentInput"}
+ if s.ChangeDescription != nil && len(*s.ChangeDescription) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ChangeDescription", 1))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Data != nil && len(*s.Data) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Data", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.Format == nil {
+ invalidParams.Add(request.NewErrParamRequired("Format"))
+ }
+ if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Platform == nil {
+ invalidParams.Add(request.NewErrParamRequired("Platform"))
+ }
+ if s.SemanticVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Type == nil {
+ invalidParams.Add(request.NewErrParamRequired("Type"))
+ }
-// SetDateCreated sets the DateCreated field's value.
-func (s *ImagePipeline) SetDateCreated(v string) *ImagePipeline {
- s.DateCreated = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetDateLastRun sets the DateLastRun field's value.
-func (s *ImagePipeline) SetDateLastRun(v string) *ImagePipeline {
- s.DateLastRun = &v
+// SetChangeDescription sets the ChangeDescription field's value.
+func (s *ImportComponentInput) SetChangeDescription(v string) *ImportComponentInput {
+ s.ChangeDescription = &v
return s
}
-// SetDateNextRun sets the DateNextRun field's value.
-func (s *ImagePipeline) SetDateNextRun(v string) *ImagePipeline {
- s.DateNextRun = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *ImportComponentInput) SetClientToken(v string) *ImportComponentInput {
+ s.ClientToken = &v
return s
}
-// SetDateUpdated sets the DateUpdated field's value.
-func (s *ImagePipeline) SetDateUpdated(v string) *ImagePipeline {
- s.DateUpdated = &v
+// SetData sets the Data field's value.
+func (s *ImportComponentInput) SetData(v string) *ImportComponentInput {
+ s.Data = &v
return s
}
// SetDescription sets the Description field's value.
-func (s *ImagePipeline) SetDescription(v string) *ImagePipeline {
+func (s *ImportComponentInput) SetDescription(v string) *ImportComponentInput {
s.Description = &v
return s
}
-// SetDistributionConfigurationArn sets the DistributionConfigurationArn field's value.
-func (s *ImagePipeline) SetDistributionConfigurationArn(v string) *ImagePipeline {
- s.DistributionConfigurationArn = &v
- return s
-}
-
-// SetEnhancedImageMetadataEnabled sets the EnhancedImageMetadataEnabled field's value.
-func (s *ImagePipeline) SetEnhancedImageMetadataEnabled(v bool) *ImagePipeline {
- s.EnhancedImageMetadataEnabled = &v
- return s
-}
-
-// SetImageRecipeArn sets the ImageRecipeArn field's value.
-func (s *ImagePipeline) SetImageRecipeArn(v string) *ImagePipeline {
- s.ImageRecipeArn = &v
- return s
-}
-
-// SetImageScanningConfiguration sets the ImageScanningConfiguration field's value.
-func (s *ImagePipeline) SetImageScanningConfiguration(v *ImageScanningConfiguration) *ImagePipeline {
- s.ImageScanningConfiguration = v
- return s
-}
-
-// SetImageTestsConfiguration sets the ImageTestsConfiguration field's value.
-func (s *ImagePipeline) SetImageTestsConfiguration(v *ImageTestsConfiguration) *ImagePipeline {
- s.ImageTestsConfiguration = v
+// SetFormat sets the Format field's value.
+func (s *ImportComponentInput) SetFormat(v string) *ImportComponentInput {
+ s.Format = &v
return s
}
-// SetInfrastructureConfigurationArn sets the InfrastructureConfigurationArn field's value.
-func (s *ImagePipeline) SetInfrastructureConfigurationArn(v string) *ImagePipeline {
- s.InfrastructureConfigurationArn = &v
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *ImportComponentInput) SetKmsKeyId(v string) *ImportComponentInput {
+ s.KmsKeyId = &v
return s
}
// SetName sets the Name field's value.
-func (s *ImagePipeline) SetName(v string) *ImagePipeline {
+func (s *ImportComponentInput) SetName(v string) *ImportComponentInput {
s.Name = &v
return s
}
// SetPlatform sets the Platform field's value.
-func (s *ImagePipeline) SetPlatform(v string) *ImagePipeline {
+func (s *ImportComponentInput) SetPlatform(v string) *ImportComponentInput {
s.Platform = &v
return s
}
-// SetSchedule sets the Schedule field's value.
-func (s *ImagePipeline) SetSchedule(v *Schedule) *ImagePipeline {
- s.Schedule = v
+// SetSemanticVersion sets the SemanticVersion field's value.
+func (s *ImportComponentInput) SetSemanticVersion(v string) *ImportComponentInput {
+ s.SemanticVersion = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *ImagePipeline) SetStatus(v string) *ImagePipeline {
- s.Status = &v
+// SetTags sets the Tags field's value.
+func (s *ImportComponentInput) SetTags(v map[string]*string) *ImportComponentInput {
+ s.Tags = v
return s
}
-// SetTags sets the Tags field's value.
-func (s *ImagePipeline) SetTags(v map[string]*string) *ImagePipeline {
- s.Tags = v
+// SetType sets the Type field's value.
+func (s *ImportComponentInput) SetType(v string) *ImportComponentInput {
+ s.Type = &v
return s
}
-// Contains vulnerability counts for a specific image pipeline.
-type ImagePipelineAggregation struct {
+// SetUri sets the Uri field's value.
+func (s *ImportComponentInput) SetUri(v string) *ImportComponentInput {
+ s.Uri = &v
+ return s
+}
+
+type ImportComponentOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) that identifies the image pipeline for this
- // aggregation.
- ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
- // Counts by severity level for medium severity and higher level findings, plus
- // a total for all of the findings for the specified image pipeline.
- SeverityCounts *SeverityCounts `locationName:"severityCounts" type:"structure"`
+ // The Amazon Resource Name (ARN) of the imported component.
+ ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -13595,7 +16637,7 @@ type ImagePipelineAggregation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImagePipelineAggregation) String() string {
+func (s ImportComponentOutput) String() string {
return awsutil.Prettify(s)
}
@@ -13604,73 +16646,80 @@ func (s ImagePipelineAggregation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImagePipelineAggregation) GoString() string {
+func (s ImportComponentOutput) GoString() string {
return s.String()
}
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *ImagePipelineAggregation) SetImagePipelineArn(v string) *ImagePipelineAggregation {
- s.ImagePipelineArn = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *ImportComponentOutput) SetClientToken(v string) *ImportComponentOutput {
+ s.ClientToken = &v
return s
}
-// SetSeverityCounts sets the SeverityCounts field's value.
-func (s *ImagePipelineAggregation) SetSeverityCounts(v *SeverityCounts) *ImagePipelineAggregation {
- s.SeverityCounts = v
+// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
+func (s *ImportComponentOutput) SetComponentBuildVersionArn(v string) *ImportComponentOutput {
+ s.ComponentBuildVersionArn = &v
return s
}
-// An image recipe.
-type ImageRecipe struct {
- _ struct{} `type:"structure"`
-
- // Before you create a new AMI, Image Builder launches temporary Amazon EC2
- // instances to build and test your image configuration. Instance configuration
- // adds a layer of control over those instances. You can define settings and
- // add scripts to run when an instance is launched from your AMI.
- AdditionalInstanceConfiguration *AdditionalInstanceConfiguration `locationName:"additionalInstanceConfiguration" type:"structure"`
-
- // The Amazon Resource Name (ARN) of the image recipe.
- Arn *string `locationName:"arn" type:"string"`
-
- // The block device mappings to apply when creating images from this recipe.
- BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"`
+// SetRequestId sets the RequestId field's value.
+func (s *ImportComponentOutput) SetRequestId(v string) *ImportComponentOutput {
+ s.RequestId = &v
+ return s
+}
- // The components that are included in the image recipe. Recipes require a minimum
- // of one build component, and can have a maximum of 20 build and test components
- // in any combination.
- Components []*ComponentConfiguration `locationName:"components" min:"1" type:"list"`
+type ImportVmImageInput struct {
+ _ struct{} `type:"structure"`
- // The date on which this image recipe was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
- // The description of the image recipe.
+ // The description for the base image that is created by the import process.
Description *string `locationName:"description" min:"1" type:"string"`
- // The name of the image recipe.
- Name *string `locationName:"name" type:"string"`
+ // The name of the base image that is created by the import process.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
- // The owner of the image recipe.
- Owner *string `locationName:"owner" min:"1" type:"string"`
+ // The operating system version for the imported VM.
+ OsVersion *string `locationName:"osVersion" min:"1" type:"string"`
- // The base image of the image recipe.
- ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
+ // The operating system platform for the imported VM.
+ //
+ // Platform is a required field
+ Platform *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`
- // The platform of the image recipe.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+ // The semantic version to attach to the base image that was created during
+ // the import process. This version follows the semantic version syntax.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Assignment: For the first three nodes you can assign any positive integer
+ // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
+ // node. Image Builder automatically assigns the build number to the fourth
+ // node.
+ //
+ // Patterns: You can use any numeric pattern that adheres to the assignment
+ // requirements for the nodes that you can assign. For example, you might choose
+ // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
+ //
+ // SemanticVersion is a required field
+ SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
- // The tags of the image recipe.
+ // Tags that are attached to the import resources.
Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
- // Specifies which type of image is created by the recipe - an AMI or a container
- // image.
- Type *string `locationName:"type" type:"string" enum:"ImageType"`
-
- // The version of the image recipe.
- Version *string `locationName:"version" type:"string"`
-
- // The working directory to be used during build and test workflows.
- WorkingDirectory *string `locationName:"workingDirectory" min:"1" type:"string"`
+ // The importTaskId (API) or ImportTaskId (CLI) from the Amazon EC2 VM import
+ // process. Image Builder retrieves information from the import process to pull
+ // in the AMI that is created from the VM source as the base image for your
+ // recipe.
+ //
+ // VmImportTaskId is a required field
+ VmImportTaskId *string `locationName:"vmImportTaskId" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -13678,127 +16727,215 @@ type ImageRecipe struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageRecipe) String() string {
+func (s ImportVmImageInput) String() string {
return awsutil.Prettify(s)
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ImageRecipe) GoString() string {
- return s.String()
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImportVmImageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ImportVmImageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ImportVmImageInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.OsVersion != nil && len(*s.OsVersion) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OsVersion", 1))
+ }
+ if s.Platform == nil {
+ invalidParams.Add(request.NewErrParamRequired("Platform"))
+ }
+ if s.SemanticVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.VmImportTaskId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VmImportTaskId"))
+ }
+ if s.VmImportTaskId != nil && len(*s.VmImportTaskId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VmImportTaskId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetAdditionalInstanceConfiguration sets the AdditionalInstanceConfiguration field's value.
-func (s *ImageRecipe) SetAdditionalInstanceConfiguration(v *AdditionalInstanceConfiguration) *ImageRecipe {
- s.AdditionalInstanceConfiguration = v
+// SetClientToken sets the ClientToken field's value.
+func (s *ImportVmImageInput) SetClientToken(v string) *ImportVmImageInput {
+ s.ClientToken = &v
return s
}
-// SetArn sets the Arn field's value.
-func (s *ImageRecipe) SetArn(v string) *ImageRecipe {
- s.Arn = &v
+// SetDescription sets the Description field's value.
+func (s *ImportVmImageInput) SetDescription(v string) *ImportVmImageInput {
+ s.Description = &v
return s
}
-// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
-func (s *ImageRecipe) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *ImageRecipe {
- s.BlockDeviceMappings = v
+// SetName sets the Name field's value.
+func (s *ImportVmImageInput) SetName(v string) *ImportVmImageInput {
+ s.Name = &v
return s
}
-// SetComponents sets the Components field's value.
-func (s *ImageRecipe) SetComponents(v []*ComponentConfiguration) *ImageRecipe {
- s.Components = v
+// SetOsVersion sets the OsVersion field's value.
+func (s *ImportVmImageInput) SetOsVersion(v string) *ImportVmImageInput {
+ s.OsVersion = &v
return s
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *ImageRecipe) SetDateCreated(v string) *ImageRecipe {
- s.DateCreated = &v
+// SetPlatform sets the Platform field's value.
+func (s *ImportVmImageInput) SetPlatform(v string) *ImportVmImageInput {
+ s.Platform = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *ImageRecipe) SetDescription(v string) *ImageRecipe {
- s.Description = &v
+// SetSemanticVersion sets the SemanticVersion field's value.
+func (s *ImportVmImageInput) SetSemanticVersion(v string) *ImportVmImageInput {
+ s.SemanticVersion = &v
return s
}
-// SetName sets the Name field's value.
-func (s *ImageRecipe) SetName(v string) *ImageRecipe {
- s.Name = &v
+// SetTags sets the Tags field's value.
+func (s *ImportVmImageInput) SetTags(v map[string]*string) *ImportVmImageInput {
+ s.Tags = v
return s
}
-// SetOwner sets the Owner field's value.
-func (s *ImageRecipe) SetOwner(v string) *ImageRecipe {
- s.Owner = &v
+// SetVmImportTaskId sets the VmImportTaskId field's value.
+func (s *ImportVmImageInput) SetVmImportTaskId(v string) *ImportVmImageInput {
+ s.VmImportTaskId = &v
return s
}
-// SetParentImage sets the ParentImage field's value.
-func (s *ImageRecipe) SetParentImage(v string) *ImageRecipe {
- s.ParentImage = &v
- return s
+type ImportVmImageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the AMI that was created during the VM
+ // import process. This AMI is used as the base image for the recipe that imported
+ // the VM.
+ ImageArn *string `locationName:"imageArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
-// SetPlatform sets the Platform field's value.
-func (s *ImageRecipe) SetPlatform(v string) *ImageRecipe {
- s.Platform = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImportVmImageOutput) String() string {
+ return awsutil.Prettify(s)
}
-// SetTags sets the Tags field's value.
-func (s *ImageRecipe) SetTags(v map[string]*string) *ImageRecipe {
- s.Tags = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ImportVmImageOutput) GoString() string {
+ return s.String()
}
-// SetType sets the Type field's value.
-func (s *ImageRecipe) SetType(v string) *ImageRecipe {
- s.Type = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *ImportVmImageOutput) SetClientToken(v string) *ImportVmImageOutput {
+ s.ClientToken = &v
return s
}
-// SetVersion sets the Version field's value.
-func (s *ImageRecipe) SetVersion(v string) *ImageRecipe {
- s.Version = &v
+// SetImageArn sets the ImageArn field's value.
+func (s *ImportVmImageOutput) SetImageArn(v string) *ImportVmImageOutput {
+ s.ImageArn = &v
return s
}
-// SetWorkingDirectory sets the WorkingDirectory field's value.
-func (s *ImageRecipe) SetWorkingDirectory(v string) *ImageRecipe {
- s.WorkingDirectory = &v
+// SetRequestId sets the RequestId field's value.
+func (s *ImportVmImageOutput) SetRequestId(v string) *ImportVmImageOutput {
+ s.RequestId = &v
return s
}
-// A summary of an image recipe.
-type ImageRecipeSummary struct {
+// Details of the infrastructure configuration.
+type InfrastructureConfiguration struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the image recipe.
+ // The Amazon Resource Name (ARN) of the infrastructure configuration.
Arn *string `locationName:"arn" type:"string"`
- // The date on which this image recipe was created.
+ // The date on which the infrastructure configuration was created.
DateCreated *string `locationName:"dateCreated" type:"string"`
- // The name of the image recipe.
+ // The date on which the infrastructure configuration was last updated.
+ DateUpdated *string `locationName:"dateUpdated" type:"string"`
+
+ // The description of the infrastructure configuration.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The instance metadata option settings for the infrastructure configuration.
+ InstanceMetadataOptions *InstanceMetadataOptions `locationName:"instanceMetadataOptions" type:"structure"`
+
+ // The instance profile of the infrastructure configuration.
+ InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string"`
+
+ // The instance types of the infrastructure configuration.
+ InstanceTypes []*string `locationName:"instanceTypes" type:"list"`
+
+ // The Amazon EC2 key pair of the infrastructure configuration.
+ KeyPair *string `locationName:"keyPair" min:"1" type:"string"`
+
+ // The logging configuration of the infrastructure configuration.
+ Logging *Logging `locationName:"logging" type:"structure"`
+
+ // The name of the infrastructure configuration.
Name *string `locationName:"name" type:"string"`
- // The owner of the image recipe.
- Owner *string `locationName:"owner" min:"1" type:"string"`
+ // The tags attached to the resource created by Image Builder.
+ ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`
- // The base image of the image recipe.
- ParentImage *string `locationName:"parentImage" min:"1" type:"string"`
+ // The security group IDs of the infrastructure configuration.
+ SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`
- // The platform of the image recipe.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+ // The Amazon Resource Name (ARN) for the SNS topic to which we send image build
+ // event notifications.
+ //
+ // EC2 Image Builder is unable to send notifications to SNS topics that are
+ // encrypted using keys from other accounts. The key that is used to encrypt
+ // the SNS topic must reside in the account that the Image Builder service runs
+ // under.
+ SnsTopicArn *string `locationName:"snsTopicArn" min:"1" type:"string"`
- // The tags of the image recipe.
+ // The subnet ID of the infrastructure configuration.
+ SubnetId *string `locationName:"subnetId" min:"1" type:"string"`
+
+ // The tags of the infrastructure configuration.
Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+
+ // The terminate instance on failure configuration of the infrastructure configuration.
+ TerminateInstanceOnFailure *bool `locationName:"terminateInstanceOnFailure" type:"boolean"`
}
// String returns the string representation.
@@ -13806,7 +16943,7 @@ type ImageRecipeSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageRecipeSummary) String() string {
+func (s InfrastructureConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -13815,101 +16952,136 @@ func (s ImageRecipeSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageRecipeSummary) GoString() string {
+func (s InfrastructureConfiguration) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
-func (s *ImageRecipeSummary) SetArn(v string) *ImageRecipeSummary {
+func (s *InfrastructureConfiguration) SetArn(v string) *InfrastructureConfiguration {
s.Arn = &v
return s
}
// SetDateCreated sets the DateCreated field's value.
-func (s *ImageRecipeSummary) SetDateCreated(v string) *ImageRecipeSummary {
+func (s *InfrastructureConfiguration) SetDateCreated(v string) *InfrastructureConfiguration {
s.DateCreated = &v
return s
}
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *InfrastructureConfiguration) SetDateUpdated(v string) *InfrastructureConfiguration {
+ s.DateUpdated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *InfrastructureConfiguration) SetDescription(v string) *InfrastructureConfiguration {
+ s.Description = &v
+ return s
+}
+
+// SetInstanceMetadataOptions sets the InstanceMetadataOptions field's value.
+func (s *InfrastructureConfiguration) SetInstanceMetadataOptions(v *InstanceMetadataOptions) *InfrastructureConfiguration {
+ s.InstanceMetadataOptions = v
+ return s
+}
+
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *InfrastructureConfiguration) SetInstanceProfileName(v string) *InfrastructureConfiguration {
+ s.InstanceProfileName = &v
+ return s
+}
+
+// SetInstanceTypes sets the InstanceTypes field's value.
+func (s *InfrastructureConfiguration) SetInstanceTypes(v []*string) *InfrastructureConfiguration {
+ s.InstanceTypes = v
+ return s
+}
+
+// SetKeyPair sets the KeyPair field's value.
+func (s *InfrastructureConfiguration) SetKeyPair(v string) *InfrastructureConfiguration {
+ s.KeyPair = &v
+ return s
+}
+
+// SetLogging sets the Logging field's value.
+func (s *InfrastructureConfiguration) SetLogging(v *Logging) *InfrastructureConfiguration {
+ s.Logging = v
+ return s
+}
+
// SetName sets the Name field's value.
-func (s *ImageRecipeSummary) SetName(v string) *ImageRecipeSummary {
+func (s *InfrastructureConfiguration) SetName(v string) *InfrastructureConfiguration {
s.Name = &v
return s
}
-// SetOwner sets the Owner field's value.
-func (s *ImageRecipeSummary) SetOwner(v string) *ImageRecipeSummary {
- s.Owner = &v
+// SetResourceTags sets the ResourceTags field's value.
+func (s *InfrastructureConfiguration) SetResourceTags(v map[string]*string) *InfrastructureConfiguration {
+ s.ResourceTags = v
return s
}
-// SetParentImage sets the ParentImage field's value.
-func (s *ImageRecipeSummary) SetParentImage(v string) *ImageRecipeSummary {
- s.ParentImage = &v
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *InfrastructureConfiguration) SetSecurityGroupIds(v []*string) *InfrastructureConfiguration {
+ s.SecurityGroupIds = v
return s
}
-// SetPlatform sets the Platform field's value.
-func (s *ImageRecipeSummary) SetPlatform(v string) *ImageRecipeSummary {
- s.Platform = &v
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *InfrastructureConfiguration) SetSnsTopicArn(v string) *InfrastructureConfiguration {
+ s.SnsTopicArn = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *InfrastructureConfiguration) SetSubnetId(v string) *InfrastructureConfiguration {
+ s.SubnetId = &v
return s
}
// SetTags sets the Tags field's value.
-func (s *ImageRecipeSummary) SetTags(v map[string]*string) *ImageRecipeSummary {
+func (s *InfrastructureConfiguration) SetTags(v map[string]*string) *InfrastructureConfiguration {
s.Tags = v
return s
}
-// Contains details about a vulnerability scan finding.
-type ImageScanFinding struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Web Services account ID that's associated with the finding.
- AwsAccountId *string `locationName:"awsAccountId" min:"1" type:"string"`
-
- // The description of the finding.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The date and time when the finding was first observed.
- FirstObservedAt *time.Time `locationName:"firstObservedAt" type:"timestamp"`
-
- // Details about whether a fix is available for any of the packages that are
- // identified in the finding through a version update.
- FixAvailable *string `locationName:"fixAvailable" min:"1" type:"string"`
+// SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.
+func (s *InfrastructureConfiguration) SetTerminateInstanceOnFailure(v bool) *InfrastructureConfiguration {
+ s.TerminateInstanceOnFailure = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the image build version that's associated
- // with the finding.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+// The infrastructure used when building Amazon EC2 AMIs.
+type InfrastructureConfigurationSummary struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the image pipeline that's associated with
- // the finding.
- ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string"`
+ // The Amazon Resource Name (ARN) of the infrastructure configuration.
+ Arn *string `locationName:"arn" type:"string"`
- // The score that Amazon Inspector assigned for the finding.
- InspectorScore *float64 `locationName:"inspectorScore" type:"double"`
+ // The date on which the infrastructure configuration was created.
+ DateCreated *string `locationName:"dateCreated" type:"string"`
- // An object that contains details of the Amazon Inspector score.
- InspectorScoreDetails *InspectorScoreDetails `locationName:"inspectorScoreDetails" type:"structure"`
+ // The date on which the infrastructure configuration was last updated.
+ DateUpdated *string `locationName:"dateUpdated" type:"string"`
- // An object that contains the details of a package vulnerability finding.
- PackageVulnerabilityDetails *PackageVulnerabilityDetails `locationName:"packageVulnerabilityDetails" type:"structure"`
+ // The description of the infrastructure configuration.
+ Description *string `locationName:"description" min:"1" type:"string"`
- // An object that contains the details about how to remediate the finding.
- Remediation *Remediation `locationName:"remediation" type:"structure"`
+ // The instance profile of the infrastructure configuration.
+ InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string"`
- // The severity of the finding.
- Severity *string `locationName:"severity" min:"1" type:"string"`
+ // The instance types of the infrastructure configuration.
+ InstanceTypes []*string `locationName:"instanceTypes" type:"list"`
- // The title of the finding.
- Title *string `locationName:"title" min:"1" type:"string"`
+ // The name of the infrastructure configuration.
+ Name *string `locationName:"name" type:"string"`
- // The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
- // that apply to output images, and excludes other types.
- Type *string `locationName:"type" min:"1" type:"string"`
+ // The tags attached to the image created by Image Builder.
+ ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`
- // The timestamp when the finding was last updated.
- UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"`
+ // The tags of the infrastructure configuration.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -13917,7 +17089,7 @@ type ImageScanFinding struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanFinding) String() string {
+func (s InfrastructureConfigurationSummary) String() string {
return awsutil.Prettify(s)
}
@@ -13926,112 +17098,113 @@ func (s ImageScanFinding) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanFinding) GoString() string {
+func (s InfrastructureConfigurationSummary) GoString() string {
return s.String()
}
-// SetAwsAccountId sets the AwsAccountId field's value.
-func (s *ImageScanFinding) SetAwsAccountId(v string) *ImageScanFinding {
- s.AwsAccountId = &v
+// SetArn sets the Arn field's value.
+func (s *InfrastructureConfigurationSummary) SetArn(v string) *InfrastructureConfigurationSummary {
+ s.Arn = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *ImageScanFinding) SetDescription(v string) *ImageScanFinding {
- s.Description = &v
+// SetDateCreated sets the DateCreated field's value.
+func (s *InfrastructureConfigurationSummary) SetDateCreated(v string) *InfrastructureConfigurationSummary {
+ s.DateCreated = &v
return s
}
-// SetFirstObservedAt sets the FirstObservedAt field's value.
-func (s *ImageScanFinding) SetFirstObservedAt(v time.Time) *ImageScanFinding {
- s.FirstObservedAt = &v
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *InfrastructureConfigurationSummary) SetDateUpdated(v string) *InfrastructureConfigurationSummary {
+ s.DateUpdated = &v
return s
}
-// SetFixAvailable sets the FixAvailable field's value.
-func (s *ImageScanFinding) SetFixAvailable(v string) *ImageScanFinding {
- s.FixAvailable = &v
+// SetDescription sets the Description field's value.
+func (s *InfrastructureConfigurationSummary) SetDescription(v string) *InfrastructureConfigurationSummary {
+ s.Description = &v
return s
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *ImageScanFinding) SetImageBuildVersionArn(v string) *ImageScanFinding {
- s.ImageBuildVersionArn = &v
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *InfrastructureConfigurationSummary) SetInstanceProfileName(v string) *InfrastructureConfigurationSummary {
+ s.InstanceProfileName = &v
return s
}
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *ImageScanFinding) SetImagePipelineArn(v string) *ImageScanFinding {
- s.ImagePipelineArn = &v
+// SetInstanceTypes sets the InstanceTypes field's value.
+func (s *InfrastructureConfigurationSummary) SetInstanceTypes(v []*string) *InfrastructureConfigurationSummary {
+ s.InstanceTypes = v
return s
}
-// SetInspectorScore sets the InspectorScore field's value.
-func (s *ImageScanFinding) SetInspectorScore(v float64) *ImageScanFinding {
- s.InspectorScore = &v
+// SetName sets the Name field's value.
+func (s *InfrastructureConfigurationSummary) SetName(v string) *InfrastructureConfigurationSummary {
+ s.Name = &v
return s
}
-// SetInspectorScoreDetails sets the InspectorScoreDetails field's value.
-func (s *ImageScanFinding) SetInspectorScoreDetails(v *InspectorScoreDetails) *ImageScanFinding {
- s.InspectorScoreDetails = v
+// SetResourceTags sets the ResourceTags field's value.
+func (s *InfrastructureConfigurationSummary) SetResourceTags(v map[string]*string) *InfrastructureConfigurationSummary {
+ s.ResourceTags = v
return s
}
-// SetPackageVulnerabilityDetails sets the PackageVulnerabilityDetails field's value.
-func (s *ImageScanFinding) SetPackageVulnerabilityDetails(v *PackageVulnerabilityDetails) *ImageScanFinding {
- s.PackageVulnerabilityDetails = v
+// SetTags sets the Tags field's value.
+func (s *InfrastructureConfigurationSummary) SetTags(v map[string]*string) *InfrastructureConfigurationSummary {
+ s.Tags = v
return s
}
-// SetRemediation sets the Remediation field's value.
-func (s *ImageScanFinding) SetRemediation(v *Remediation) *ImageScanFinding {
- s.Remediation = v
- return s
-}
+// Information about the factors that influenced the score that Amazon Inspector
+// assigned for a finding.
+type InspectorScoreDetails struct {
+ _ struct{} `type:"structure"`
-// SetSeverity sets the Severity field's value.
-func (s *ImageScanFinding) SetSeverity(v string) *ImageScanFinding {
- s.Severity = &v
- return s
+ // An object that contains details about an adjustment that Amazon Inspector
+ // made to the CVSS score for the finding.
+ AdjustedCvss *CvssScoreDetails `locationName:"adjustedCvss" type:"structure"`
}
-// SetTitle sets the Title field's value.
-func (s *ImageScanFinding) SetTitle(v string) *ImageScanFinding {
- s.Title = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InspectorScoreDetails) String() string {
+ return awsutil.Prettify(s)
}
-// SetType sets the Type field's value.
-func (s *ImageScanFinding) SetType(v string) *ImageScanFinding {
- s.Type = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InspectorScoreDetails) GoString() string {
+ return s.String()
}
-// SetUpdatedAt sets the UpdatedAt field's value.
-func (s *ImageScanFinding) SetUpdatedAt(v time.Time) *ImageScanFinding {
- s.UpdatedAt = &v
+// SetAdjustedCvss sets the AdjustedCvss field's value.
+func (s *InspectorScoreDetails) SetAdjustedCvss(v *CvssScoreDetails) *InspectorScoreDetails {
+ s.AdjustedCvss = v
return s
}
-// This returns exactly one type of aggregation, based on the filter that Image
-// Builder applies in its API action.
-type ImageScanFindingAggregation struct {
+// Defines block device mappings for the instance used to configure your image.
+type InstanceBlockDeviceMapping struct {
_ struct{} `type:"structure"`
- // Returns an object that contains severity counts based on an account ID.
- AccountAggregation *AccountAggregation `locationName:"accountAggregation" type:"structure"`
+ // The device to which these mappings apply.
+ DeviceName *string `locationName:"deviceName" min:"1" type:"string"`
- // Returns an object that contains severity counts based on the Amazon Resource
- // Name (ARN) for a specific image.
- ImageAggregation *ImageAggregation `locationName:"imageAggregation" type:"structure"`
+ // Use to manage Amazon EBS-specific configuration for this mapping.
+ Ebs *EbsInstanceBlockDeviceSpecification `locationName:"ebs" type:"structure"`
- // Returns an object that contains severity counts based on an image pipeline
- // ARN.
- ImagePipelineAggregation *ImagePipelineAggregation `locationName:"imagePipelineAggregation" type:"structure"`
+ // Use to remove a mapping from the base image.
+ NoDevice *string `locationName:"noDevice" type:"string"`
- // Returns an object that contains severity counts based on vulnerability ID.
- VulnerabilityIdAggregation *VulnerabilityIdAggregation `locationName:"vulnerabilityIdAggregation" type:"structure"`
+ // Use to manage instance ephemeral devices.
+ VirtualName *string `locationName:"virtualName" min:"1" type:"string"`
}
// String returns the string representation.
@@ -14039,7 +17212,7 @@ type ImageScanFindingAggregation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanFindingAggregation) String() string {
+func (s InstanceBlockDeviceMapping) String() string {
return awsutil.Prettify(s)
}
@@ -14048,44 +17221,68 @@ func (s ImageScanFindingAggregation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanFindingAggregation) GoString() string {
+func (s InstanceBlockDeviceMapping) GoString() string {
return s.String()
}
-// SetAccountAggregation sets the AccountAggregation field's value.
-func (s *ImageScanFindingAggregation) SetAccountAggregation(v *AccountAggregation) *ImageScanFindingAggregation {
- s.AccountAggregation = v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *InstanceBlockDeviceMapping) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "InstanceBlockDeviceMapping"}
+ if s.DeviceName != nil && len(*s.DeviceName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1))
+ }
+ if s.VirtualName != nil && len(*s.VirtualName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VirtualName", 1))
+ }
+ if s.Ebs != nil {
+ if err := s.Ebs.Validate(); err != nil {
+ invalidParams.AddNested("Ebs", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDeviceName sets the DeviceName field's value.
+func (s *InstanceBlockDeviceMapping) SetDeviceName(v string) *InstanceBlockDeviceMapping {
+ s.DeviceName = &v
return s
}
-// SetImageAggregation sets the ImageAggregation field's value.
-func (s *ImageScanFindingAggregation) SetImageAggregation(v *ImageAggregation) *ImageScanFindingAggregation {
- s.ImageAggregation = v
+// SetEbs sets the Ebs field's value.
+func (s *InstanceBlockDeviceMapping) SetEbs(v *EbsInstanceBlockDeviceSpecification) *InstanceBlockDeviceMapping {
+ s.Ebs = v
return s
}
-// SetImagePipelineAggregation sets the ImagePipelineAggregation field's value.
-func (s *ImageScanFindingAggregation) SetImagePipelineAggregation(v *ImagePipelineAggregation) *ImageScanFindingAggregation {
- s.ImagePipelineAggregation = v
+// SetNoDevice sets the NoDevice field's value.
+func (s *InstanceBlockDeviceMapping) SetNoDevice(v string) *InstanceBlockDeviceMapping {
+ s.NoDevice = &v
return s
}
-// SetVulnerabilityIdAggregation sets the VulnerabilityIdAggregation field's value.
-func (s *ImageScanFindingAggregation) SetVulnerabilityIdAggregation(v *VulnerabilityIdAggregation) *ImageScanFindingAggregation {
- s.VulnerabilityIdAggregation = v
+// SetVirtualName sets the VirtualName field's value.
+func (s *InstanceBlockDeviceMapping) SetVirtualName(v string) *InstanceBlockDeviceMapping {
+ s.VirtualName = &v
return s
}
-// A name value pair that Image Builder applies to streamline results from the
-// vulnerability scan findings list action.
-type ImageScanFindingsFilter struct {
+// Defines a custom base AMI and block device mapping configurations of an instance
+// used for building and testing container images.
+type InstanceConfiguration struct {
_ struct{} `type:"structure"`
- // The name of the image scan finding filter. Filter names are case-sensitive.
- Name *string `locationName:"name" type:"string"`
+ // Defines the block devices to attach for building an instance from this Image
+ // Builder AMI.
+ BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"`
- // The filter values. Filter values are case-sensitive.
- Values []*string `locationName:"values" min:"1" type:"list"`
+ // The AMI ID to use as the base image for a container build and test instance.
+ // If not specified, Image Builder will use the appropriate ECS-optimized AMI
+ // as a base image.
+ Image *string `locationName:"image" min:"1" type:"string"`
}
// String returns the string representation.
@@ -14093,7 +17290,7 @@ type ImageScanFindingsFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanFindingsFilter) String() string {
+func (s InstanceConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -14102,15 +17299,25 @@ func (s ImageScanFindingsFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanFindingsFilter) GoString() string {
+func (s InstanceConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ImageScanFindingsFilter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ImageScanFindingsFilter"}
- if s.Values != nil && len(s.Values) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+func (s *InstanceConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "InstanceConfiguration"}
+ if s.Image != nil && len(*s.Image) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Image", 1))
+ }
+ if s.BlockDeviceMappings != nil {
+ for i, v := range s.BlockDeviceMappings {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BlockDeviceMappings", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -14119,28 +17326,45 @@ func (s *ImageScanFindingsFilter) Validate() error {
return nil
}
-// SetName sets the Name field's value.
-func (s *ImageScanFindingsFilter) SetName(v string) *ImageScanFindingsFilter {
- s.Name = &v
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *InstanceConfiguration) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *InstanceConfiguration {
+ s.BlockDeviceMappings = v
return s
}
-// SetValues sets the Values field's value.
-func (s *ImageScanFindingsFilter) SetValues(v []*string) *ImageScanFindingsFilter {
- s.Values = v
+// SetImage sets the Image field's value.
+func (s *InstanceConfiguration) SetImage(v string) *InstanceConfiguration {
+ s.Image = &v
return s
}
-// Shows the vulnerability scan status for a specific image, and the reason
-// for that status.
-type ImageScanState struct {
+// The instance metadata options that apply to the HTTP requests that pipeline
+// builds use to launch EC2 build and test instances. For more information about
+// instance metadata options, see Configure the instance metadata options (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html)
+// in the Amazon EC2 User Guide for Linux instances, or Configure the instance
+// metadata options (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html)
+// in the Amazon EC2 Windows Guide for Windows instances.
+type InstanceMetadataOptions struct {
_ struct{} `type:"structure"`
- // The reason for the scan status for the image.
- Reason *string `locationName:"reason" min:"1" type:"string"`
+ // Limit the number of hops that an instance metadata request can traverse to
+ // reach its destination. The default is one hop. However, if HTTP tokens are
+ // required, container image builds need a minimum of two hops.
+ HttpPutResponseHopLimit *int64 `locationName:"httpPutResponseHopLimit" min:"1" type:"integer"`
- // The current state of vulnerability scans for the image.
- Status *string `locationName:"status" type:"string" enum:"ImageScanStatus"`
+ // Indicates whether a signed token header is required for instance metadata
+ // retrieval requests. The values affect the response as follows:
+ //
+ // * required – When you retrieve the IAM role credentials, version 2.0
+ // credentials are returned in all cases.
+ //
+ // * optional – You can include a signed token header in your request to
+ // retrieve instance metadata, or you can leave it out. If you include it,
+ // version 2.0 credentials are returned for the IAM role. Otherwise, version
+ // 1.0 credentials are returned.
+ //
+ // The default setting is optional.
+ HttpTokens *string `locationName:"httpTokens" type:"string"`
}
// String returns the string representation.
@@ -14148,7 +17372,7 @@ type ImageScanState struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanState) String() string {
+func (s InstanceMetadataOptions) String() string {
return awsutil.Prettify(s)
}
@@ -14157,33 +17381,41 @@ func (s ImageScanState) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanState) GoString() string {
+func (s InstanceMetadataOptions) GoString() string {
return s.String()
}
-// SetReason sets the Reason field's value.
-func (s *ImageScanState) SetReason(v string) *ImageScanState {
- s.Reason = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *InstanceMetadataOptions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "InstanceMetadataOptions"}
+ if s.HttpPutResponseHopLimit != nil && *s.HttpPutResponseHopLimit < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("HttpPutResponseHopLimit", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetStatus sets the Status field's value.
-func (s *ImageScanState) SetStatus(v string) *ImageScanState {
- s.Status = &v
+// SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value.
+func (s *InstanceMetadataOptions) SetHttpPutResponseHopLimit(v int64) *InstanceMetadataOptions {
+ s.HttpPutResponseHopLimit = &v
return s
}
-// Contains settings for Image Builder image resource and container image scans.
-type ImageScanningConfiguration struct {
- _ struct{} `type:"structure"`
+// SetHttpTokens sets the HttpTokens field's value.
+func (s *InstanceMetadataOptions) SetHttpTokens(v string) *InstanceMetadataOptions {
+ s.HttpTokens = &v
+ return s
+}
- // Contains Amazon ECR settings for vulnerability scans.
- EcrConfiguration *EcrConfiguration `locationName:"ecrConfiguration" type:"structure"`
+// You have provided an invalid pagination token in your request.
+type InvalidPaginationTokenException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // A setting that indicates whether Image Builder keeps a snapshot of the vulnerability
- // scans that Amazon Inspector runs against the build instance when you create
- // a new image.
- ImageScanningEnabled *bool `locationName:"imageScanningEnabled" type:"boolean"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -14191,7 +17423,7 @@ type ImageScanningConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanningConfiguration) String() string {
+func (s InvalidPaginationTokenException) String() string {
return awsutil.Prettify(s)
}
@@ -14200,46 +17432,55 @@ func (s ImageScanningConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageScanningConfiguration) GoString() string {
+func (s InvalidPaginationTokenException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ImageScanningConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ImageScanningConfiguration"}
- if s.EcrConfiguration != nil {
- if err := s.EcrConfiguration.Validate(); err != nil {
- invalidParams.AddNested("EcrConfiguration", err.(request.ErrInvalidParams))
- }
+func newErrorInvalidPaginationTokenException(v protocol.ResponseMetadata) error {
+ return &InvalidPaginationTokenException{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
+// Code returns the exception type name.
+func (s *InvalidPaginationTokenException) Code() string {
+ return "InvalidPaginationTokenException"
+}
+
+// Message returns the exception's message.
+func (s *InvalidPaginationTokenException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
}
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidPaginationTokenException) OrigErr() error {
return nil
}
-// SetEcrConfiguration sets the EcrConfiguration field's value.
-func (s *ImageScanningConfiguration) SetEcrConfiguration(v *EcrConfiguration) *ImageScanningConfiguration {
- s.EcrConfiguration = v
- return s
+func (s *InvalidPaginationTokenException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
-// SetImageScanningEnabled sets the ImageScanningEnabled field's value.
-func (s *ImageScanningConfiguration) SetImageScanningEnabled(v bool) *ImageScanningConfiguration {
- s.ImageScanningEnabled = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *InvalidPaginationTokenException) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-// Image status and the reason for that status.
-type ImageState struct {
- _ struct{} `type:"structure"`
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidPaginationTokenException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // The reason for the status of the image.
- Reason *string `locationName:"reason" min:"1" type:"string"`
+// You have specified two or more mutually exclusive parameters. Review the
+// error message for details.
+type InvalidParameterCombinationException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // The status of the image.
- Status *string `locationName:"status" type:"string" enum:"ImageStatus"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -14247,7 +17488,7 @@ type ImageState struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageState) String() string {
+func (s InvalidParameterCombinationException) String() string {
return awsutil.Prettify(s)
}
@@ -14256,74 +17497,55 @@ func (s ImageState) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageState) GoString() string {
+func (s InvalidParameterCombinationException) GoString() string {
return s.String()
}
-// SetReason sets the Reason field's value.
-func (s *ImageState) SetReason(v string) *ImageState {
- s.Reason = &v
- return s
+func newErrorInvalidParameterCombinationException(v protocol.ResponseMetadata) error {
+ return &InvalidParameterCombinationException{
+ RespMetadata: v,
+ }
}
-// SetStatus sets the Status field's value.
-func (s *ImageState) SetStatus(v string) *ImageState {
- s.Status = &v
- return s
+// Code returns the exception type name.
+func (s *InvalidParameterCombinationException) Code() string {
+ return "InvalidParameterCombinationException"
}
-// An image summary.
-type ImageSummary struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the image.
- Arn *string `locationName:"arn" type:"string"`
-
- // Indicates the type of build that created this image. The build can be initiated
- // in the following ways:
- //
- // * USER_INITIATED – A manual pipeline build request.
- //
- // * SCHEDULED – A pipeline build initiated by a cron expression in the
- // Image Builder pipeline, or from EventBridge.
- //
- // * IMPORT – A VM import created the image to use as the base image for
- // the recipe.
- BuildType *string `locationName:"buildType" type:"string" enum:"BuildType"`
-
- // The date on which Image Builder created this image.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The origin of the base image that Image Builder used to build this image.
- ImageSource *string `locationName:"imageSource" type:"string" enum:"ImageSource"`
-
- // The name of the image.
- Name *string `locationName:"name" type:"string"`
-
- // The operating system version of the instances that launch from this image.
- // For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
- OsVersion *string `locationName:"osVersion" min:"1" type:"string"`
-
- // The output resources that Image Builder produced when it created this image.
- OutputResources *OutputResources `locationName:"outputResources" type:"structure"`
+// Message returns the exception's message.
+func (s *InvalidParameterCombinationException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
- // The owner of the image.
- Owner *string `locationName:"owner" min:"1" type:"string"`
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidParameterCombinationException) OrigErr() error {
+ return nil
+}
- // The image operating system platform, such as Linux or Windows.
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+func (s *InvalidParameterCombinationException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
- // The state of the image.
- State *ImageState `locationName:"state" type:"structure"`
+// Status code returns the HTTP status code for the request's response error.
+func (s *InvalidParameterCombinationException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
- // The tags that apply to this image.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidParameterCombinationException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // Specifies whether this image produces an AMI or a container image.
- Type *string `locationName:"type" type:"string" enum:"ImageType"`
+// The specified parameter is invalid. Review the available parameters for the
+// API request.
+type InvalidParameterException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // The version of the image.
- Version *string `locationName:"version" type:"string"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -14331,7 +17553,7 @@ type ImageSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageSummary) String() string {
+func (s InvalidParameterException) String() string {
return awsutil.Prettify(s)
}
@@ -14340,102 +17562,118 @@ func (s ImageSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageSummary) GoString() string {
+func (s InvalidParameterException) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *ImageSummary) SetArn(v string) *ImageSummary {
- s.Arn = &v
- return s
+func newErrorInvalidParameterException(v protocol.ResponseMetadata) error {
+ return &InvalidParameterException{
+ RespMetadata: v,
+ }
}
-// SetBuildType sets the BuildType field's value.
-func (s *ImageSummary) SetBuildType(v string) *ImageSummary {
- s.BuildType = &v
- return s
+// Code returns the exception type name.
+func (s *InvalidParameterException) Code() string {
+ return "InvalidParameterException"
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *ImageSummary) SetDateCreated(v string) *ImageSummary {
- s.DateCreated = &v
- return s
+// Message returns the exception's message.
+func (s *InvalidParameterException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// SetImageSource sets the ImageSource field's value.
-func (s *ImageSummary) SetImageSource(v string) *ImageSummary {
- s.ImageSource = &v
- return s
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidParameterException) OrigErr() error {
+ return nil
}
-// SetName sets the Name field's value.
-func (s *ImageSummary) SetName(v string) *ImageSummary {
- s.Name = &v
- return s
+func (s *InvalidParameterException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
-// SetOsVersion sets the OsVersion field's value.
-func (s *ImageSummary) SetOsVersion(v string) *ImageSummary {
- s.OsVersion = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *InvalidParameterException) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-// SetOutputResources sets the OutputResources field's value.
-func (s *ImageSummary) SetOutputResources(v *OutputResources) *ImageSummary {
- s.OutputResources = v
- return s
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidParameterException) RequestID() string {
+ return s.RespMetadata.RequestID
}
-// SetOwner sets the Owner field's value.
-func (s *ImageSummary) SetOwner(v string) *ImageSummary {
- s.Owner = &v
- return s
+// The value that you provided for the specified parameter is invalid.
+type InvalidParameterValueException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
}
-// SetPlatform sets the Platform field's value.
-func (s *ImageSummary) SetPlatform(v string) *ImageSummary {
- s.Platform = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InvalidParameterValueException) String() string {
+ return awsutil.Prettify(s)
}
-// SetState sets the State field's value.
-func (s *ImageSummary) SetState(v *ImageState) *ImageSummary {
- s.State = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InvalidParameterValueException) GoString() string {
+ return s.String()
}
-// SetTags sets the Tags field's value.
-func (s *ImageSummary) SetTags(v map[string]*string) *ImageSummary {
- s.Tags = v
- return s
+func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error {
+ return &InvalidParameterValueException{
+ RespMetadata: v,
+ }
}
-// SetType sets the Type field's value.
-func (s *ImageSummary) SetType(v string) *ImageSummary {
- s.Type = &v
- return s
+// Code returns the exception type name.
+func (s *InvalidParameterValueException) Code() string {
+ return "InvalidParameterValueException"
}
-// SetVersion sets the Version field's value.
-func (s *ImageSummary) SetVersion(v string) *ImageSummary {
- s.Version = &v
- return s
+// Message returns the exception's message.
+func (s *InvalidParameterValueException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// Configure image tests for your pipeline build. Tests run after building the
-// image, to verify that the AMI or container image is valid before distributing
-// it.
-type ImageTestsConfiguration struct {
- _ struct{} `type:"structure"`
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidParameterValueException) OrigErr() error {
+ return nil
+}
- // Determines if tests should run after building the image. Image Builder defaults
- // to enable tests to run following the image build, before image distribution.
- ImageTestsEnabled *bool `locationName:"imageTestsEnabled" type:"boolean"`
+func (s *InvalidParameterValueException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
- // The maximum time in minutes that tests are permitted to run.
- //
- // The timeoutMinutes attribute is not currently active. This value is ignored.
- TimeoutMinutes *int64 `locationName:"timeoutMinutes" min:"60" type:"integer"`
+// Status code returns the HTTP status code for the request's response error.
+func (s *InvalidParameterValueException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidParameterValueException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// You have requested an action that that the service doesn't support.
+type InvalidRequestException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -14443,7 +17681,7 @@ type ImageTestsConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageTestsConfiguration) String() string {
+func (s InvalidRequestException) String() string {
return awsutil.Prettify(s)
}
@@ -14452,110 +17690,54 @@ func (s ImageTestsConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageTestsConfiguration) GoString() string {
+func (s InvalidRequestException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ImageTestsConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ImageTestsConfiguration"}
- if s.TimeoutMinutes != nil && *s.TimeoutMinutes < 60 {
- invalidParams.Add(request.NewErrParamMinValue("TimeoutMinutes", 60))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
+func newErrorInvalidRequestException(v protocol.ResponseMetadata) error {
+ return &InvalidRequestException{
+ RespMetadata: v,
}
- return nil
}
-// SetImageTestsEnabled sets the ImageTestsEnabled field's value.
-func (s *ImageTestsConfiguration) SetImageTestsEnabled(v bool) *ImageTestsConfiguration {
- s.ImageTestsEnabled = &v
- return s
+// Code returns the exception type name.
+func (s *InvalidRequestException) Code() string {
+ return "InvalidRequestException"
}
-// SetTimeoutMinutes sets the TimeoutMinutes field's value.
-func (s *ImageTestsConfiguration) SetTimeoutMinutes(v int64) *ImageTestsConfiguration {
- s.TimeoutMinutes = &v
- return s
+// Message returns the exception's message.
+func (s *InvalidRequestException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// The defining characteristics of a specific version of an Image Builder image.
-type ImageVersion struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of a specific version of an Image Builder
- // image.
- //
- // Semantic versioning is included in each object's Amazon Resource Name (ARN),
- // at the level that applies to that object as follows:
- //
- // Versionless ARNs and Name ARNs do not include specific values in any of the
- // nodes. The nodes are either left off entirely, or they are specified as wildcards,
- // for example: x.x.x.
- //
- // Version ARNs have only the first three nodes: ..
- //
- // Build version ARNs have all four nodes, and point to a specific build for
- // a specific version of an object.
- Arn *string `locationName:"arn" type:"string"`
-
- // Indicates the type of build that created this image. The build can be initiated
- // in the following ways:
- //
- // * USER_INITIATED – A manual pipeline build request.
- //
- // * SCHEDULED – A pipeline build initiated by a cron expression in the
- // Image Builder pipeline, or from EventBridge.
- //
- // * IMPORT – A VM import created the image to use as the base image for
- // the recipe.
- BuildType *string `locationName:"buildType" type:"string" enum:"BuildType"`
-
- // The date on which this specific version of the Image Builder image was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The origin of the base image that Image Builder used to build this image.
- ImageSource *string `locationName:"imageSource" type:"string" enum:"ImageSource"`
-
- // The name of this specific version of an Image Builder image.
- Name *string `locationName:"name" type:"string"`
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidRequestException) OrigErr() error {
+ return nil
+}
- // The operating system version of the Amazon EC2 build instance. For example,
- // Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
- OsVersion *string `locationName:"osVersion" min:"1" type:"string"`
+func (s *InvalidRequestException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
- // The owner of the image version.
- Owner *string `locationName:"owner" min:"1" type:"string"`
+// Status code returns the HTTP status code for the request's response error.
+func (s *InvalidRequestException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
- // The operating system platform of the image version, for example "Windows"
- // or "Linux".
- Platform *string `locationName:"platform" type:"string" enum:"Platform"`
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidRequestException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // Specifies whether this image produces an AMI or a container image.
- Type *string `locationName:"type" type:"string" enum:"ImageType"`
+// Your version number is out of bounds or does not follow the required syntax.
+type InvalidVersionNumberException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // Details for a specific version of an Image Builder image. This version follows
- // the semantic version syntax.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // Filtering: With semantic versioning, you have the flexibility to use wildcards
- // (x) to specify the most recent versions or nodes when selecting the base
- // image or components for your recipe. When you use a wildcard in any node,
- // all nodes to the right of the first wildcard must also be wildcards.
- Version *string `locationName:"version" type:"string"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -14563,7 +17745,7 @@ type ImageVersion struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageVersion) String() string {
+func (s InvalidVersionNumberException) String() string {
return awsutil.Prettify(s)
}
@@ -14572,134 +17754,71 @@ func (s ImageVersion) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImageVersion) GoString() string {
+func (s InvalidVersionNumberException) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *ImageVersion) SetArn(v string) *ImageVersion {
- s.Arn = &v
- return s
-}
-
-// SetBuildType sets the BuildType field's value.
-func (s *ImageVersion) SetBuildType(v string) *ImageVersion {
- s.BuildType = &v
- return s
-}
-
-// SetDateCreated sets the DateCreated field's value.
-func (s *ImageVersion) SetDateCreated(v string) *ImageVersion {
- s.DateCreated = &v
- return s
-}
-
-// SetImageSource sets the ImageSource field's value.
-func (s *ImageVersion) SetImageSource(v string) *ImageVersion {
- s.ImageSource = &v
- return s
+func newErrorInvalidVersionNumberException(v protocol.ResponseMetadata) error {
+ return &InvalidVersionNumberException{
+ RespMetadata: v,
+ }
}
-// SetName sets the Name field's value.
-func (s *ImageVersion) SetName(v string) *ImageVersion {
- s.Name = &v
- return s
+// Code returns the exception type name.
+func (s *InvalidVersionNumberException) Code() string {
+ return "InvalidVersionNumberException"
}
-// SetOsVersion sets the OsVersion field's value.
-func (s *ImageVersion) SetOsVersion(v string) *ImageVersion {
- s.OsVersion = &v
- return s
+// Message returns the exception's message.
+func (s *InvalidVersionNumberException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// SetOwner sets the Owner field's value.
-func (s *ImageVersion) SetOwner(v string) *ImageVersion {
- s.Owner = &v
- return s
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidVersionNumberException) OrigErr() error {
+ return nil
}
-// SetPlatform sets the Platform field's value.
-func (s *ImageVersion) SetPlatform(v string) *ImageVersion {
- s.Platform = &v
- return s
+func (s *InvalidVersionNumberException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
-// SetType sets the Type field's value.
-func (s *ImageVersion) SetType(v string) *ImageVersion {
- s.Type = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *InvalidVersionNumberException) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-// SetVersion sets the Version field's value.
-func (s *ImageVersion) SetVersion(v string) *ImageVersion {
- s.Version = &v
- return s
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidVersionNumberException) RequestID() string {
+ return s.RespMetadata.RequestID
}
-type ImportComponentInput struct {
+// Describes the configuration for a launch permission. The launch permission
+// modification request is sent to the Amazon EC2 ModifyImageAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html)
+// API on behalf of the user for each Region they have selected to distribute
+// the AMI. To make an AMI public, set the launch permission authorized accounts
+// to all. See the examples for making an AMI public at Amazon EC2 ModifyImageAttribute
+// (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html).
+type LaunchPermissionConfiguration struct {
_ struct{} `type:"structure"`
- // The change description of the component. This description indicates the change
- // that has been made in this version, or what makes this version different
- // from other versions of this component.
- ChangeDescription *string `locationName:"changeDescription" min:"1" type:"string"`
-
- // The idempotency token of the component.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The data of the component. Used to specify the data inline. Either data or
- // uri can be used to specify the data within the component.
- Data *string `locationName:"data" min:"1" type:"string"`
-
- // The description of the component. Describes the contents of the component.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The format of the resource that you want to import as a component.
- //
- // Format is a required field
- Format *string `locationName:"format" type:"string" required:"true" enum:"ComponentFormat"`
-
- // The ID of the KMS key that should be used to encrypt this component.
- KmsKeyId *string `locationName:"kmsKeyId" min:"1" type:"string"`
-
- // The name of the component.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
-
- // The platform of the component.
- //
- // Platform is a required field
- Platform *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`
-
- // The semantic version of the component. This version follows the semantic
- // version syntax.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Filtering: With semantic versioning, you have the flexibility to use wildcards
- // (x) to specify the most recent versions or nodes when selecting the base
- // image or components for your recipe. When you use a wildcard in any node,
- // all nodes to the right of the first wildcard must also be wildcards.
- //
- // SemanticVersion is a required field
- SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
+ // The ARN for an Amazon Web Services Organization that you want to share your
+ // AMI with. For more information, see What is Organizations? (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html).
+ OrganizationArns []*string `locationName:"organizationArns" min:"1" type:"list"`
- // The tags of the component.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // The ARN for an Organizations organizational unit (OU) that you want to share
+ // your AMI with. For more information about key concepts for Organizations,
+ // see Organizations terminology and concepts (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html).
+ OrganizationalUnitArns []*string `locationName:"organizationalUnitArns" min:"1" type:"list"`
- // The type of the component denotes whether the component is used to build
- // the image, or only to test it.
- //
- // Type is a required field
- Type *string `locationName:"type" type:"string" required:"true" enum:"ComponentType"`
+ // The name of the group.
+ UserGroups []*string `locationName:"userGroups" type:"list"`
- // The uri of the component. Must be an Amazon S3 URL and the requester must
- // have permission to access the Amazon S3 bucket. If you use Amazon S3, you
- // can specify component content up to your service quota. Either data or uri
- // can be used to specify the data within the component.
- Uri *string `locationName:"uri" type:"string"`
+ // The Amazon Web Services account ID.
+ UserIds []*string `locationName:"userIds" min:"1" type:"list"`
}
// String returns the string representation.
@@ -14707,7 +17826,7 @@ type ImportComponentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportComponentInput) String() string {
+func (s LaunchPermissionConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -14716,45 +17835,93 @@ func (s ImportComponentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportComponentInput) GoString() string {
+func (s LaunchPermissionConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ImportComponentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ImportComponentInput"}
- if s.ChangeDescription != nil && len(*s.ChangeDescription) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ChangeDescription", 1))
- }
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Data != nil && len(*s.Data) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Data", 1))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.Format == nil {
- invalidParams.Add(request.NewErrParamRequired("Format"))
- }
- if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
+func (s *LaunchPermissionConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LaunchPermissionConfiguration"}
+ if s.OrganizationArns != nil && len(s.OrganizationArns) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OrganizationArns", 1))
}
- if s.Platform == nil {
- invalidParams.Add(request.NewErrParamRequired("Platform"))
+ if s.OrganizationalUnitArns != nil && len(s.OrganizationalUnitArns) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OrganizationalUnitArns", 1))
}
- if s.SemanticVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
+ if s.UserIds != nil && len(s.UserIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("UserIds", 1))
}
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
}
- if s.Type == nil {
- invalidParams.Add(request.NewErrParamRequired("Type"))
+ return nil
+}
+
+// SetOrganizationArns sets the OrganizationArns field's value.
+func (s *LaunchPermissionConfiguration) SetOrganizationArns(v []*string) *LaunchPermissionConfiguration {
+ s.OrganizationArns = v
+ return s
+}
+
+// SetOrganizationalUnitArns sets the OrganizationalUnitArns field's value.
+func (s *LaunchPermissionConfiguration) SetOrganizationalUnitArns(v []*string) *LaunchPermissionConfiguration {
+ s.OrganizationalUnitArns = v
+ return s
+}
+
+// SetUserGroups sets the UserGroups field's value.
+func (s *LaunchPermissionConfiguration) SetUserGroups(v []*string) *LaunchPermissionConfiguration {
+ s.UserGroups = v
+ return s
+}
+
+// SetUserIds sets the UserIds field's value.
+func (s *LaunchPermissionConfiguration) SetUserIds(v []*string) *LaunchPermissionConfiguration {
+ s.UserIds = v
+ return s
+}
+
+// Identifies an Amazon EC2 launch template to use for a specific account.
+type LaunchTemplateConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // The account ID that this configuration applies to.
+ AccountId *string `locationName:"accountId" type:"string"`
+
+ // Identifies the Amazon EC2 launch template to use.
+ //
+ // LaunchTemplateId is a required field
+ LaunchTemplateId *string `locationName:"launchTemplateId" type:"string" required:"true"`
+
+ // Set the specified Amazon EC2 launch template as the default launch template
+ // for the specified account.
+ SetDefaultVersion *bool `locationName:"setDefaultVersion" type:"boolean"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LaunchTemplateConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LaunchTemplateConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LaunchTemplateConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LaunchTemplateConfiguration"}
+ if s.LaunchTemplateId == nil {
+ invalidParams.Add(request.NewErrParamRequired("LaunchTemplateId"))
}
if invalidParams.Len() > 0 {
@@ -14763,89 +17930,139 @@ func (s *ImportComponentInput) Validate() error {
return nil
}
-// SetChangeDescription sets the ChangeDescription field's value.
-func (s *ImportComponentInput) SetChangeDescription(v string) *ImportComponentInput {
- s.ChangeDescription = &v
+// SetAccountId sets the AccountId field's value.
+func (s *LaunchTemplateConfiguration) SetAccountId(v string) *LaunchTemplateConfiguration {
+ s.AccountId = &v
return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *ImportComponentInput) SetClientToken(v string) *ImportComponentInput {
- s.ClientToken = &v
+// SetLaunchTemplateId sets the LaunchTemplateId field's value.
+func (s *LaunchTemplateConfiguration) SetLaunchTemplateId(v string) *LaunchTemplateConfiguration {
+ s.LaunchTemplateId = &v
return s
}
-// SetData sets the Data field's value.
-func (s *ImportComponentInput) SetData(v string) *ImportComponentInput {
- s.Data = &v
+// SetSetDefaultVersion sets the SetDefaultVersion field's value.
+func (s *LaunchTemplateConfiguration) SetSetDefaultVersion(v bool) *LaunchTemplateConfiguration {
+ s.SetDefaultVersion = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *ImportComponentInput) SetDescription(v string) *ImportComponentInput {
- s.Description = &v
- return s
+// Contains metadata from a runtime instance of a lifecycle policy.
+type LifecycleExecution struct {
+ _ struct{} `type:"structure"`
+
+ // The timestamp when the lifecycle runtime instance completed.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp"`
+
+ // Identifies the lifecycle policy runtime instance.
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the lifecycle policy that ran.
+ LifecyclePolicyArn *string `locationName:"lifecyclePolicyArn" type:"string"`
+
+ // Contains information about associated resources that are identified for action
+ // by the runtime instance of the lifecycle policy.
+ ResourcesImpactedSummary *LifecycleExecutionResourcesImpactedSummary `locationName:"resourcesImpactedSummary" type:"structure"`
+
+ // The timestamp when the lifecycle runtime instance started.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp"`
+
+ // Runtime state that reports if the policy action ran successfully, failed,
+ // or was skipped.
+ State *LifecycleExecutionState `locationName:"state" type:"structure"`
}
-// SetFormat sets the Format field's value.
-func (s *ImportComponentInput) SetFormat(v string) *ImportComponentInput {
- s.Format = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecution) String() string {
+ return awsutil.Prettify(s)
}
-// SetKmsKeyId sets the KmsKeyId field's value.
-func (s *ImportComponentInput) SetKmsKeyId(v string) *ImportComponentInput {
- s.KmsKeyId = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecution) GoString() string {
+ return s.String()
}
-// SetName sets the Name field's value.
-func (s *ImportComponentInput) SetName(v string) *ImportComponentInput {
- s.Name = &v
+// SetEndTime sets the EndTime field's value.
+func (s *LifecycleExecution) SetEndTime(v time.Time) *LifecycleExecution {
+ s.EndTime = &v
return s
}
-// SetPlatform sets the Platform field's value.
-func (s *ImportComponentInput) SetPlatform(v string) *ImportComponentInput {
- s.Platform = &v
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *LifecycleExecution) SetLifecycleExecutionId(v string) *LifecycleExecution {
+ s.LifecycleExecutionId = &v
return s
}
-// SetSemanticVersion sets the SemanticVersion field's value.
-func (s *ImportComponentInput) SetSemanticVersion(v string) *ImportComponentInput {
- s.SemanticVersion = &v
+// SetLifecyclePolicyArn sets the LifecyclePolicyArn field's value.
+func (s *LifecycleExecution) SetLifecyclePolicyArn(v string) *LifecycleExecution {
+ s.LifecyclePolicyArn = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *ImportComponentInput) SetTags(v map[string]*string) *ImportComponentInput {
- s.Tags = v
+// SetResourcesImpactedSummary sets the ResourcesImpactedSummary field's value.
+func (s *LifecycleExecution) SetResourcesImpactedSummary(v *LifecycleExecutionResourcesImpactedSummary) *LifecycleExecution {
+ s.ResourcesImpactedSummary = v
return s
}
-// SetType sets the Type field's value.
-func (s *ImportComponentInput) SetType(v string) *ImportComponentInput {
- s.Type = &v
+// SetStartTime sets the StartTime field's value.
+func (s *LifecycleExecution) SetStartTime(v time.Time) *LifecycleExecution {
+ s.StartTime = &v
return s
}
-// SetUri sets the Uri field's value.
-func (s *ImportComponentInput) SetUri(v string) *ImportComponentInput {
- s.Uri = &v
+// SetState sets the State field's value.
+func (s *LifecycleExecution) SetState(v *LifecycleExecutionState) *LifecycleExecution {
+ s.State = v
return s
}
-type ImportComponentOutput struct {
+// Contains details for a resource that the runtime instance of the lifecycle
+// policy identified for action.
+type LifecycleExecutionResource struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+ // The account that owns the impacted resource.
+ AccountId *string `locationName:"accountId" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the imported component.
- ComponentBuildVersionArn *string `locationName:"componentBuildVersionArn" type:"string"`
+ // The action to take for the identified resource.
+ Action *LifecycleExecutionResourceAction `locationName:"action" type:"structure"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // For an impacted container image, this identifies a list of URIs for associated
+ // container images distributed to ECR repositories.
+ ImageUris []*string `locationName:"imageUris" type:"list"`
+
+ // The Amazon Web Services Region where the lifecycle execution resource is
+ // stored.
+ Region *string `locationName:"region" min:"1" type:"string"`
+
+ // Identifies the impacted resource. The resource ID depends on the type of
+ // resource, as follows.
+ //
+ // * Image Builder image resources: Amazon Resource Name (ARN)
+ //
+ // * Distributed AMIs: AMI ID
+ //
+ // * Container images distributed to an ECR repository: image URI or SHA
+ // Digest
+ ResourceId *string `locationName:"resourceId" min:"1" type:"string"`
+
+ // A list of associated resource snapshots for the impacted resource if it’s
+ // an AMI.
+ Snapshots []*LifecycleExecutionSnapshotResource `locationName:"snapshots" type:"list"`
+
+ // The runtime state for the lifecycle execution.
+ State *LifecycleExecutionResourceState `locationName:"state" type:"structure"`
}
// String returns the string representation.
@@ -14853,7 +18070,7 @@ type ImportComponentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportComponentOutput) String() string {
+func (s LifecycleExecutionResource) String() string {
return awsutil.Prettify(s)
}
@@ -14862,80 +18079,61 @@ func (s ImportComponentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportComponentOutput) GoString() string {
+func (s LifecycleExecutionResource) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *ImportComponentOutput) SetClientToken(v string) *ImportComponentOutput {
- s.ClientToken = &v
+// SetAccountId sets the AccountId field's value.
+func (s *LifecycleExecutionResource) SetAccountId(v string) *LifecycleExecutionResource {
+ s.AccountId = &v
return s
}
-// SetComponentBuildVersionArn sets the ComponentBuildVersionArn field's value.
-func (s *ImportComponentOutput) SetComponentBuildVersionArn(v string) *ImportComponentOutput {
- s.ComponentBuildVersionArn = &v
+// SetAction sets the Action field's value.
+func (s *LifecycleExecutionResource) SetAction(v *LifecycleExecutionResourceAction) *LifecycleExecutionResource {
+ s.Action = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *ImportComponentOutput) SetRequestId(v string) *ImportComponentOutput {
- s.RequestId = &v
+// SetImageUris sets the ImageUris field's value.
+func (s *LifecycleExecutionResource) SetImageUris(v []*string) *LifecycleExecutionResource {
+ s.ImageUris = v
return s
}
-type ImportVmImageInput struct {
- _ struct{} `type:"structure"`
-
- // Unique, case-sensitive identifier you provide to ensure idempotency of the
- // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
- // in the Amazon EC2 API Reference.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The description for the base image that is created by the import process.
- Description *string `locationName:"description" min:"1" type:"string"`
+// SetRegion sets the Region field's value.
+func (s *LifecycleExecutionResource) SetRegion(v string) *LifecycleExecutionResource {
+ s.Region = &v
+ return s
+}
- // The name of the base image that is created by the import process.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+// SetResourceId sets the ResourceId field's value.
+func (s *LifecycleExecutionResource) SetResourceId(v string) *LifecycleExecutionResource {
+ s.ResourceId = &v
+ return s
+}
- // The operating system version for the imported VM.
- OsVersion *string `locationName:"osVersion" min:"1" type:"string"`
+// SetSnapshots sets the Snapshots field's value.
+func (s *LifecycleExecutionResource) SetSnapshots(v []*LifecycleExecutionSnapshotResource) *LifecycleExecutionResource {
+ s.Snapshots = v
+ return s
+}
- // The operating system platform for the imported VM.
- //
- // Platform is a required field
- Platform *string `locationName:"platform" type:"string" required:"true" enum:"Platform"`
+// SetState sets the State field's value.
+func (s *LifecycleExecutionResource) SetState(v *LifecycleExecutionResourceState) *LifecycleExecutionResource {
+ s.State = v
+ return s
+}
- // The semantic version to attach to the base image that was created during
- // the import process. This version follows the semantic version syntax.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Assignment: For the first three nodes you can assign any positive integer
- // value, including zero, with an upper limit of 2^30-1, or 1073741823 for each
- // node. Image Builder automatically assigns the build number to the fourth
- // node.
- //
- // Patterns: You can use any numeric pattern that adheres to the assignment
- // requirements for the nodes that you can assign. For example, you might choose
- // a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
- //
- // SemanticVersion is a required field
- SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
+// The lifecycle policy action that was identified for the impacted resource.
+type LifecycleExecutionResourceAction struct {
+ _ struct{} `type:"structure"`
- // Tags that are attached to the import resources.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // The name of the resource that was identified for a lifecycle policy action.
+ Name *string `locationName:"name" type:"string" enum:"LifecycleExecutionResourceActionName"`
- // The importTaskId (API) or ImportTaskId (CLI) from the Amazon EC2 VM import
- // process. Image Builder retrieves information from the import process to pull
- // in the AMI that is created from the VM source as the base image for your
- // recipe.
- //
- // VmImportTaskId is a required field
- VmImportTaskId *string `locationName:"vmImportTaskId" min:"1" type:"string" required:"true"`
+ // The reason why the lifecycle policy action is taken.
+ Reason *string `locationName:"reason" min:"1" type:"string"`
}
// String returns the string representation.
@@ -14943,7 +18141,7 @@ type ImportVmImageInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportVmImageInput) String() string {
+func (s LifecycleExecutionResourceAction) String() string {
return awsutil.Prettify(s)
}
@@ -14952,111 +18150,149 @@ func (s ImportVmImageInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportVmImageInput) GoString() string {
+func (s LifecycleExecutionResourceAction) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ImportVmImageInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ImportVmImageInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if s.OsVersion != nil && len(*s.OsVersion) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OsVersion", 1))
- }
- if s.Platform == nil {
- invalidParams.Add(request.NewErrParamRequired("Platform"))
- }
- if s.SemanticVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
- }
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
- }
- if s.VmImportTaskId == nil {
- invalidParams.Add(request.NewErrParamRequired("VmImportTaskId"))
- }
- if s.VmImportTaskId != nil && len(*s.VmImportTaskId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("VmImportTaskId", 1))
- }
+// SetName sets the Name field's value.
+func (s *LifecycleExecutionResourceAction) SetName(v string) *LifecycleExecutionResourceAction {
+ s.Name = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *LifecycleExecutionResourceAction) SetReason(v string) *LifecycleExecutionResourceAction {
+ s.Reason = &v
+ return s
+}
+
+// Contains the state of an impacted resource that the runtime instance of the
+// lifecycle policy identified for action.
+type LifecycleExecutionResourceState struct {
+ _ struct{} `type:"structure"`
+
+ // Messaging that clarifies the reason for the assigned status.
+ Reason *string `locationName:"reason" min:"1" type:"string"`
+
+ // The runtime status of the lifecycle action taken for the impacted resource.
+ Status *string `locationName:"status" type:"string" enum:"LifecycleExecutionResourceStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecutionResourceState) String() string {
+ return awsutil.Prettify(s)
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecutionResourceState) GoString() string {
+ return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *ImportVmImageInput) SetClientToken(v string) *ImportVmImageInput {
- s.ClientToken = &v
+// SetReason sets the Reason field's value.
+func (s *LifecycleExecutionResourceState) SetReason(v string) *LifecycleExecutionResourceState {
+ s.Reason = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *ImportVmImageInput) SetDescription(v string) *ImportVmImageInput {
- s.Description = &v
+// SetStatus sets the Status field's value.
+func (s *LifecycleExecutionResourceState) SetStatus(v string) *LifecycleExecutionResourceState {
+ s.Status = &v
return s
}
-// SetName sets the Name field's value.
-func (s *ImportVmImageInput) SetName(v string) *ImportVmImageInput {
- s.Name = &v
- return s
+// Contains details for an image resource that was identified for a lifecycle
+// action.
+type LifecycleExecutionResourcesImpactedSummary struct {
+ _ struct{} `type:"structure"`
+
+ // Indicates whether an image resource that was identified for a lifecycle action
+ // has associated resources that are also impacted.
+ HasImpactedResources *bool `locationName:"hasImpactedResources" type:"boolean"`
}
-// SetOsVersion sets the OsVersion field's value.
-func (s *ImportVmImageInput) SetOsVersion(v string) *ImportVmImageInput {
- s.OsVersion = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecutionResourcesImpactedSummary) String() string {
+ return awsutil.Prettify(s)
}
-// SetPlatform sets the Platform field's value.
-func (s *ImportVmImageInput) SetPlatform(v string) *ImportVmImageInput {
- s.Platform = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecutionResourcesImpactedSummary) GoString() string {
+ return s.String()
}
-// SetSemanticVersion sets the SemanticVersion field's value.
-func (s *ImportVmImageInput) SetSemanticVersion(v string) *ImportVmImageInput {
- s.SemanticVersion = &v
+// SetHasImpactedResources sets the HasImpactedResources field's value.
+func (s *LifecycleExecutionResourcesImpactedSummary) SetHasImpactedResources(v bool) *LifecycleExecutionResourcesImpactedSummary {
+ s.HasImpactedResources = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *ImportVmImageInput) SetTags(v map[string]*string) *ImportVmImageInput {
- s.Tags = v
+// Contains the state of an impacted snapshot resource that the runtime instance
+// of the lifecycle policy identified for action.
+type LifecycleExecutionSnapshotResource struct {
+ _ struct{} `type:"structure"`
+
+ // Identifies the impacted snapshot resource.
+ SnapshotId *string `locationName:"snapshotId" min:"1" type:"string"`
+
+ // The runtime status of the lifecycle action taken for the snapshot.
+ State *LifecycleExecutionResourceState `locationName:"state" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecutionSnapshotResource) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecycleExecutionSnapshotResource) GoString() string {
+ return s.String()
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *LifecycleExecutionSnapshotResource) SetSnapshotId(v string) *LifecycleExecutionSnapshotResource {
+ s.SnapshotId = &v
return s
}
-// SetVmImportTaskId sets the VmImportTaskId field's value.
-func (s *ImportVmImageInput) SetVmImportTaskId(v string) *ImportVmImageInput {
- s.VmImportTaskId = &v
+// SetState sets the State field's value.
+func (s *LifecycleExecutionSnapshotResource) SetState(v *LifecycleExecutionResourceState) *LifecycleExecutionSnapshotResource {
+ s.State = v
return s
}
-type ImportVmImageOutput struct {
+// The current state of the runtime instance of the lifecycle policy.
+type LifecycleExecutionState struct {
_ struct{} `type:"structure"`
- // The idempotency token that was used for this request.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
-
- // The Amazon Resource Name (ARN) of the AMI that was created during the VM
- // import process. This AMI is used as the base image for the recipe that imported
- // the VM.
- ImageArn *string `locationName:"imageArn" type:"string"`
+ // The reason for the current status.
+ Reason *string `locationName:"reason" min:"1" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The runtime status of the lifecycle execution.
+ Status *string `locationName:"status" type:"string" enum:"LifecycleExecutionStatus"`
}
// String returns the string representation.
@@ -15064,7 +18300,7 @@ type ImportVmImageOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportVmImageOutput) String() string {
+func (s LifecycleExecutionState) String() string {
return awsutil.Prettify(s)
}
@@ -15073,85 +18309,64 @@ func (s ImportVmImageOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportVmImageOutput) GoString() string {
+func (s LifecycleExecutionState) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *ImportVmImageOutput) SetClientToken(v string) *ImportVmImageOutput {
- s.ClientToken = &v
- return s
-}
-
-// SetImageArn sets the ImageArn field's value.
-func (s *ImportVmImageOutput) SetImageArn(v string) *ImportVmImageOutput {
- s.ImageArn = &v
+// SetReason sets the Reason field's value.
+func (s *LifecycleExecutionState) SetReason(v string) *LifecycleExecutionState {
+ s.Reason = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *ImportVmImageOutput) SetRequestId(v string) *ImportVmImageOutput {
- s.RequestId = &v
+// SetStatus sets the Status field's value.
+func (s *LifecycleExecutionState) SetStatus(v string) *LifecycleExecutionState {
+ s.Status = &v
return s
}
-// Details of the infrastructure configuration.
-type InfrastructureConfiguration struct {
+// The configuration details for a lifecycle policy resource.
+type LifecyclePolicy struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the infrastructure configuration.
+ // The Amazon Resource Name (ARN) of the lifecycle policy resource.
Arn *string `locationName:"arn" type:"string"`
- // The date on which the infrastructure configuration was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The date on which the infrastructure configuration was last updated.
- DateUpdated *string `locationName:"dateUpdated" type:"string"`
-
- // The description of the infrastructure configuration.
- Description *string `locationName:"description" min:"1" type:"string"`
+ // The timestamp when Image Builder created the lifecycle policy resource.
+ DateCreated *time.Time `locationName:"dateCreated" type:"timestamp"`
- // The instance metadata option settings for the infrastructure configuration.
- InstanceMetadataOptions *InstanceMetadataOptions `locationName:"instanceMetadataOptions" type:"structure"`
-
- // The instance profile of the infrastructure configuration.
- InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string"`
+ // The timestamp for the last time Image Builder ran the lifecycle policy.
+ DateLastRun *time.Time `locationName:"dateLastRun" type:"timestamp"`
- // The instance types of the infrastructure configuration.
- InstanceTypes []*string `locationName:"instanceTypes" type:"list"`
+ // The timestamp when Image Builder updated the lifecycle policy resource.
+ DateUpdated *time.Time `locationName:"dateUpdated" type:"timestamp"`
- // The Amazon EC2 key pair of the infrastructure configuration.
- KeyPair *string `locationName:"keyPair" min:"1" type:"string"`
+ // Optional description for the lifecycle policy.
+ Description *string `locationName:"description" min:"1" type:"string"`
- // The logging configuration of the infrastructure configuration.
- Logging *Logging `locationName:"logging" type:"structure"`
+ // The name of the IAM role that Image Builder uses to run the lifecycle policy.
+ // This is a custom role that you create.
+ ExecutionRole *string `locationName:"executionRole" min:"1" type:"string"`
- // The name of the infrastructure configuration.
+ // The name of the lifecycle policy.
Name *string `locationName:"name" type:"string"`
- // The tags attached to the resource created by Image Builder.
- ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`
+ // The configuration details for a lifecycle policy resource.
+ PolicyDetails []*LifecyclePolicyDetail `locationName:"policyDetails" min:"1" type:"list"`
- // The security group IDs of the infrastructure configuration.
- SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"`
+ // Resource selection criteria used to run the lifecycle policy.
+ ResourceSelection *LifecyclePolicyResourceSelection `locationName:"resourceSelection" type:"structure"`
- // The Amazon Resource Name (ARN) for the SNS topic to which we send image build
- // event notifications.
- //
- // EC2 Image Builder is unable to send notifications to SNS topics that are
- // encrypted using keys from other accounts. The key that is used to encrypt
- // the SNS topic must reside in the account that the Image Builder service runs
- // under.
- SnsTopicArn *string `locationName:"snsTopicArn" min:"1" type:"string"`
+ // The type of resources the lifecycle policy targets.
+ ResourceType *string `locationName:"resourceType" type:"string" enum:"LifecyclePolicyResourceType"`
- // The subnet ID of the infrastructure configuration.
- SubnetId *string `locationName:"subnetId" min:"1" type:"string"`
+ // Indicates whether the lifecycle policy resource is enabled.
+ Status *string `locationName:"status" type:"string" enum:"LifecyclePolicyStatus"`
- // The tags of the infrastructure configuration.
+ // To help manage your lifecycle policy resources, you can assign your own metadata
+ // to each resource in the form of tags. Each tag consists of a key and an optional
+ // value, both of which you define.
Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
-
- // The terminate instance on failure configuration of the infrastructure configuration.
- TerminateInstanceOnFailure *bool `locationName:"terminateInstanceOnFailure" type:"boolean"`
}
// String returns the string representation.
@@ -15159,7 +18374,7 @@ type InfrastructureConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InfrastructureConfiguration) String() string {
+func (s LifecyclePolicy) String() string {
return awsutil.Prettify(s)
}
@@ -15168,136 +18383,236 @@ func (s InfrastructureConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InfrastructureConfiguration) GoString() string {
+func (s LifecyclePolicy) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
-func (s *InfrastructureConfiguration) SetArn(v string) *InfrastructureConfiguration {
+func (s *LifecyclePolicy) SetArn(v string) *LifecyclePolicy {
s.Arn = &v
return s
}
// SetDateCreated sets the DateCreated field's value.
-func (s *InfrastructureConfiguration) SetDateCreated(v string) *InfrastructureConfiguration {
+func (s *LifecyclePolicy) SetDateCreated(v time.Time) *LifecyclePolicy {
s.DateCreated = &v
return s
}
+// SetDateLastRun sets the DateLastRun field's value.
+func (s *LifecyclePolicy) SetDateLastRun(v time.Time) *LifecyclePolicy {
+ s.DateLastRun = &v
+ return s
+}
+
// SetDateUpdated sets the DateUpdated field's value.
-func (s *InfrastructureConfiguration) SetDateUpdated(v string) *InfrastructureConfiguration {
+func (s *LifecyclePolicy) SetDateUpdated(v time.Time) *LifecyclePolicy {
s.DateUpdated = &v
return s
}
// SetDescription sets the Description field's value.
-func (s *InfrastructureConfiguration) SetDescription(v string) *InfrastructureConfiguration {
+func (s *LifecyclePolicy) SetDescription(v string) *LifecyclePolicy {
s.Description = &v
return s
}
-// SetInstanceMetadataOptions sets the InstanceMetadataOptions field's value.
-func (s *InfrastructureConfiguration) SetInstanceMetadataOptions(v *InstanceMetadataOptions) *InfrastructureConfiguration {
- s.InstanceMetadataOptions = v
+// SetExecutionRole sets the ExecutionRole field's value.
+func (s *LifecyclePolicy) SetExecutionRole(v string) *LifecyclePolicy {
+ s.ExecutionRole = &v
return s
}
-// SetInstanceProfileName sets the InstanceProfileName field's value.
-func (s *InfrastructureConfiguration) SetInstanceProfileName(v string) *InfrastructureConfiguration {
- s.InstanceProfileName = &v
+// SetName sets the Name field's value.
+func (s *LifecyclePolicy) SetName(v string) *LifecyclePolicy {
+ s.Name = &v
return s
}
-// SetInstanceTypes sets the InstanceTypes field's value.
-func (s *InfrastructureConfiguration) SetInstanceTypes(v []*string) *InfrastructureConfiguration {
- s.InstanceTypes = v
+// SetPolicyDetails sets the PolicyDetails field's value.
+func (s *LifecyclePolicy) SetPolicyDetails(v []*LifecyclePolicyDetail) *LifecyclePolicy {
+ s.PolicyDetails = v
return s
}
-// SetKeyPair sets the KeyPair field's value.
-func (s *InfrastructureConfiguration) SetKeyPair(v string) *InfrastructureConfiguration {
- s.KeyPair = &v
+// SetResourceSelection sets the ResourceSelection field's value.
+func (s *LifecyclePolicy) SetResourceSelection(v *LifecyclePolicyResourceSelection) *LifecyclePolicy {
+ s.ResourceSelection = v
return s
}
-// SetLogging sets the Logging field's value.
-func (s *InfrastructureConfiguration) SetLogging(v *Logging) *InfrastructureConfiguration {
- s.Logging = v
+// SetResourceType sets the ResourceType field's value.
+func (s *LifecyclePolicy) SetResourceType(v string) *LifecyclePolicy {
+ s.ResourceType = &v
return s
}
-// SetName sets the Name field's value.
-func (s *InfrastructureConfiguration) SetName(v string) *InfrastructureConfiguration {
- s.Name = &v
+// SetStatus sets the Status field's value.
+func (s *LifecyclePolicy) SetStatus(v string) *LifecyclePolicy {
+ s.Status = &v
return s
}
-// SetResourceTags sets the ResourceTags field's value.
-func (s *InfrastructureConfiguration) SetResourceTags(v map[string]*string) *InfrastructureConfiguration {
- s.ResourceTags = v
+// SetTags sets the Tags field's value.
+func (s *LifecyclePolicy) SetTags(v map[string]*string) *LifecyclePolicy {
+ s.Tags = v
return s
}
-// SetSecurityGroupIds sets the SecurityGroupIds field's value.
-func (s *InfrastructureConfiguration) SetSecurityGroupIds(v []*string) *InfrastructureConfiguration {
- s.SecurityGroupIds = v
+// The configuration details for a lifecycle policy resource.
+type LifecyclePolicyDetail struct {
+ _ struct{} `type:"structure"`
+
+ // Configuration details for the policy action.
+ //
+ // Action is a required field
+ Action *LifecyclePolicyDetailAction `locationName:"action" type:"structure" required:"true"`
+
+ // Additional rules to specify resources that should be exempt from policy actions.
+ ExclusionRules *LifecyclePolicyDetailExclusionRules `locationName:"exclusionRules" type:"structure"`
+
+ // Specifies the resources that the lifecycle policy applies to.
+ //
+ // Filter is a required field
+ Filter *LifecyclePolicyDetailFilter `locationName:"filter" type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecyclePolicyDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecyclePolicyDetail) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LifecyclePolicyDetail) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyDetail"}
+ if s.Action == nil {
+ invalidParams.Add(request.NewErrParamRequired("Action"))
+ }
+ if s.Filter == nil {
+ invalidParams.Add(request.NewErrParamRequired("Filter"))
+ }
+ if s.Action != nil {
+ if err := s.Action.Validate(); err != nil {
+ invalidParams.AddNested("Action", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.ExclusionRules != nil {
+ if err := s.ExclusionRules.Validate(); err != nil {
+ invalidParams.AddNested("ExclusionRules", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Filter != nil {
+ if err := s.Filter.Validate(); err != nil {
+ invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAction sets the Action field's value.
+func (s *LifecyclePolicyDetail) SetAction(v *LifecyclePolicyDetailAction) *LifecyclePolicyDetail {
+ s.Action = v
+ return s
+}
+
+// SetExclusionRules sets the ExclusionRules field's value.
+func (s *LifecyclePolicyDetail) SetExclusionRules(v *LifecyclePolicyDetailExclusionRules) *LifecyclePolicyDetail {
+ s.ExclusionRules = v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *LifecyclePolicyDetail) SetFilter(v *LifecyclePolicyDetailFilter) *LifecyclePolicyDetail {
+ s.Filter = v
return s
}
-// SetSnsTopicArn sets the SnsTopicArn field's value.
-func (s *InfrastructureConfiguration) SetSnsTopicArn(v string) *InfrastructureConfiguration {
- s.SnsTopicArn = &v
- return s
+// Contains selection criteria for the lifecycle policy.
+type LifecyclePolicyDetailAction struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the resources that the lifecycle policy applies to.
+ IncludeResources *LifecyclePolicyDetailActionIncludeResources `locationName:"includeResources" type:"structure"`
+
+ // Specifies the lifecycle action to take.
+ //
+ // Type is a required field
+ Type *string `locationName:"type" type:"string" required:"true" enum:"LifecyclePolicyDetailActionType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecyclePolicyDetailAction) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecyclePolicyDetailAction) GoString() string {
+ return s.String()
}
-// SetSubnetId sets the SubnetId field's value.
-func (s *InfrastructureConfiguration) SetSubnetId(v string) *InfrastructureConfiguration {
- s.SubnetId = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LifecyclePolicyDetailAction) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyDetailAction"}
+ if s.Type == nil {
+ invalidParams.Add(request.NewErrParamRequired("Type"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTags sets the Tags field's value.
-func (s *InfrastructureConfiguration) SetTags(v map[string]*string) *InfrastructureConfiguration {
- s.Tags = v
+// SetIncludeResources sets the IncludeResources field's value.
+func (s *LifecyclePolicyDetailAction) SetIncludeResources(v *LifecyclePolicyDetailActionIncludeResources) *LifecyclePolicyDetailAction {
+ s.IncludeResources = v
return s
}
-// SetTerminateInstanceOnFailure sets the TerminateInstanceOnFailure field's value.
-func (s *InfrastructureConfiguration) SetTerminateInstanceOnFailure(v bool) *InfrastructureConfiguration {
- s.TerminateInstanceOnFailure = &v
+// SetType sets the Type field's value.
+func (s *LifecyclePolicyDetailAction) SetType(v string) *LifecyclePolicyDetailAction {
+ s.Type = &v
return s
}
-// The infrastructure used when building Amazon EC2 AMIs.
-type InfrastructureConfigurationSummary struct {
+// Specifies how the lifecycle policy should apply actions to selected resources.
+type LifecyclePolicyDetailActionIncludeResources struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the infrastructure configuration.
- Arn *string `locationName:"arn" type:"string"`
-
- // The date on which the infrastructure configuration was created.
- DateCreated *string `locationName:"dateCreated" type:"string"`
-
- // The date on which the infrastructure configuration was last updated.
- DateUpdated *string `locationName:"dateUpdated" type:"string"`
-
- // The description of the infrastructure configuration.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The instance profile of the infrastructure configuration.
- InstanceProfileName *string `locationName:"instanceProfileName" min:"1" type:"string"`
-
- // The instance types of the infrastructure configuration.
- InstanceTypes []*string `locationName:"instanceTypes" type:"list"`
-
- // The name of the infrastructure configuration.
- Name *string `locationName:"name" type:"string"`
+ // Specifies whether the lifecycle action should apply to distributed AMIs.
+ Amis *bool `locationName:"amis" type:"boolean"`
- // The tags attached to the image created by Image Builder.
- ResourceTags map[string]*string `locationName:"resourceTags" min:"1" type:"map"`
+ // Specifies whether the lifecycle action should apply to distributed containers.
+ Containers *bool `locationName:"containers" type:"boolean"`
- // The tags of the infrastructure configuration.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
+ // Specifies whether the lifecycle action should apply to snapshots associated
+ // with distributed AMIs.
+ Snapshots *bool `locationName:"snapshots" type:"boolean"`
}
// String returns the string representation.
@@ -15305,7 +18620,7 @@ type InfrastructureConfigurationSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InfrastructureConfigurationSummary) String() string {
+func (s LifecyclePolicyDetailActionIncludeResources) String() string {
return awsutil.Prettify(s)
}
@@ -15314,72 +18629,111 @@ func (s InfrastructureConfigurationSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InfrastructureConfigurationSummary) GoString() string {
+func (s LifecyclePolicyDetailActionIncludeResources) GoString() string {
return s.String()
}
-// SetArn sets the Arn field's value.
-func (s *InfrastructureConfigurationSummary) SetArn(v string) *InfrastructureConfigurationSummary {
- s.Arn = &v
+// SetAmis sets the Amis field's value.
+func (s *LifecyclePolicyDetailActionIncludeResources) SetAmis(v bool) *LifecyclePolicyDetailActionIncludeResources {
+ s.Amis = &v
return s
}
-// SetDateCreated sets the DateCreated field's value.
-func (s *InfrastructureConfigurationSummary) SetDateCreated(v string) *InfrastructureConfigurationSummary {
- s.DateCreated = &v
+// SetContainers sets the Containers field's value.
+func (s *LifecyclePolicyDetailActionIncludeResources) SetContainers(v bool) *LifecyclePolicyDetailActionIncludeResources {
+ s.Containers = &v
return s
}
-// SetDateUpdated sets the DateUpdated field's value.
-func (s *InfrastructureConfigurationSummary) SetDateUpdated(v string) *InfrastructureConfigurationSummary {
- s.DateUpdated = &v
+// SetSnapshots sets the Snapshots field's value.
+func (s *LifecyclePolicyDetailActionIncludeResources) SetSnapshots(v bool) *LifecyclePolicyDetailActionIncludeResources {
+ s.Snapshots = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *InfrastructureConfigurationSummary) SetDescription(v string) *InfrastructureConfigurationSummary {
- s.Description = &v
- return s
+// Specifies resources that lifecycle policy actions should not apply to.
+type LifecyclePolicyDetailExclusionRules struct {
+ _ struct{} `type:"structure"`
+
+ // Lists configuration values that apply to AMIs that Image Builder should exclude
+ // from the lifecycle action.
+ Amis *LifecyclePolicyDetailExclusionRulesAmis `locationName:"amis" type:"structure"`
+
+ // Contains a list of tags that Image Builder uses to skip lifecycle actions
+ // for AMIs that have them.
+ TagMap map[string]*string `locationName:"tagMap" min:"1" type:"map"`
}
-// SetInstanceProfileName sets the InstanceProfileName field's value.
-func (s *InfrastructureConfigurationSummary) SetInstanceProfileName(v string) *InfrastructureConfigurationSummary {
- s.InstanceProfileName = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecyclePolicyDetailExclusionRules) String() string {
+ return awsutil.Prettify(s)
}
-// SetInstanceTypes sets the InstanceTypes field's value.
-func (s *InfrastructureConfigurationSummary) SetInstanceTypes(v []*string) *InfrastructureConfigurationSummary {
- s.InstanceTypes = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LifecyclePolicyDetailExclusionRules) GoString() string {
+ return s.String()
}
-// SetName sets the Name field's value.
-func (s *InfrastructureConfigurationSummary) SetName(v string) *InfrastructureConfigurationSummary {
- s.Name = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LifecyclePolicyDetailExclusionRules) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyDetailExclusionRules"}
+ if s.TagMap != nil && len(s.TagMap) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TagMap", 1))
+ }
+ if s.Amis != nil {
+ if err := s.Amis.Validate(); err != nil {
+ invalidParams.AddNested("Amis", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetResourceTags sets the ResourceTags field's value.
-func (s *InfrastructureConfigurationSummary) SetResourceTags(v map[string]*string) *InfrastructureConfigurationSummary {
- s.ResourceTags = v
+// SetAmis sets the Amis field's value.
+func (s *LifecyclePolicyDetailExclusionRules) SetAmis(v *LifecyclePolicyDetailExclusionRulesAmis) *LifecyclePolicyDetailExclusionRules {
+ s.Amis = v
return s
}
-// SetTags sets the Tags field's value.
-func (s *InfrastructureConfigurationSummary) SetTags(v map[string]*string) *InfrastructureConfigurationSummary {
- s.Tags = v
+// SetTagMap sets the TagMap field's value.
+func (s *LifecyclePolicyDetailExclusionRules) SetTagMap(v map[string]*string) *LifecyclePolicyDetailExclusionRules {
+ s.TagMap = v
return s
}
-// Information about the factors that influenced the score that Amazon Inspector
-// assigned for a finding.
-type InspectorScoreDetails struct {
+// Defines criteria for AMIs that are excluded from lifecycle actions.
+type LifecyclePolicyDetailExclusionRulesAmis struct {
_ struct{} `type:"structure"`
- // An object that contains details about an adjustment that Amazon Inspector
- // made to the CVSS score for the finding.
- AdjustedCvss *CvssScoreDetails `locationName:"adjustedCvss" type:"structure"`
+ // Configures whether public AMIs are excluded from the lifecycle action.
+ IsPublic *bool `locationName:"isPublic" type:"boolean"`
+
+ // Configures Amazon Web Services Regions that are excluded from the lifecycle
+ // action.
+ LastLaunched *LifecyclePolicyDetailExclusionRulesAmisLastLaunched `locationName:"lastLaunched" type:"structure"`
+
+ // Specifies Amazon Web Services accounts whose resources are excluded from
+ // the lifecycle action.
+ Regions []*string `locationName:"regions" type:"list"`
+
+ // Specifies configuration details for Image Builder to exclude the most recent
+ // resources from lifecycle actions.
+ SharedAccounts []*string `locationName:"sharedAccounts" min:"1" type:"list"`
+
+ // Lists tags that should be excluded from lifecycle actions for the AMIs that
+ // have them.
+ TagMap map[string]*string `locationName:"tagMap" min:"1" type:"map"`
}
// String returns the string representation.
@@ -15387,7 +18741,7 @@ type InspectorScoreDetails struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InspectorScoreDetails) String() string {
+func (s LifecyclePolicyDetailExclusionRulesAmis) String() string {
return awsutil.Prettify(s)
}
@@ -15396,31 +18750,77 @@ func (s InspectorScoreDetails) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InspectorScoreDetails) GoString() string {
+func (s LifecyclePolicyDetailExclusionRulesAmis) GoString() string {
return s.String()
}
-// SetAdjustedCvss sets the AdjustedCvss field's value.
-func (s *InspectorScoreDetails) SetAdjustedCvss(v *CvssScoreDetails) *InspectorScoreDetails {
- s.AdjustedCvss = v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LifecyclePolicyDetailExclusionRulesAmis) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyDetailExclusionRulesAmis"}
+ if s.SharedAccounts != nil && len(s.SharedAccounts) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SharedAccounts", 1))
+ }
+ if s.TagMap != nil && len(s.TagMap) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TagMap", 1))
+ }
+ if s.LastLaunched != nil {
+ if err := s.LastLaunched.Validate(); err != nil {
+ invalidParams.AddNested("LastLaunched", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetIsPublic sets the IsPublic field's value.
+func (s *LifecyclePolicyDetailExclusionRulesAmis) SetIsPublic(v bool) *LifecyclePolicyDetailExclusionRulesAmis {
+ s.IsPublic = &v
return s
}
-// Defines block device mappings for the instance used to configure your image.
-type InstanceBlockDeviceMapping struct {
- _ struct{} `type:"structure"`
+// SetLastLaunched sets the LastLaunched field's value.
+func (s *LifecyclePolicyDetailExclusionRulesAmis) SetLastLaunched(v *LifecyclePolicyDetailExclusionRulesAmisLastLaunched) *LifecyclePolicyDetailExclusionRulesAmis {
+ s.LastLaunched = v
+ return s
+}
- // The device to which these mappings apply.
- DeviceName *string `locationName:"deviceName" min:"1" type:"string"`
+// SetRegions sets the Regions field's value.
+func (s *LifecyclePolicyDetailExclusionRulesAmis) SetRegions(v []*string) *LifecyclePolicyDetailExclusionRulesAmis {
+ s.Regions = v
+ return s
+}
- // Use to manage Amazon EBS-specific configuration for this mapping.
- Ebs *EbsInstanceBlockDeviceSpecification `locationName:"ebs" type:"structure"`
+// SetSharedAccounts sets the SharedAccounts field's value.
+func (s *LifecyclePolicyDetailExclusionRulesAmis) SetSharedAccounts(v []*string) *LifecyclePolicyDetailExclusionRulesAmis {
+ s.SharedAccounts = v
+ return s
+}
- // Use to remove a mapping from the base image.
- NoDevice *string `locationName:"noDevice" type:"string"`
+// SetTagMap sets the TagMap field's value.
+func (s *LifecyclePolicyDetailExclusionRulesAmis) SetTagMap(v map[string]*string) *LifecyclePolicyDetailExclusionRulesAmis {
+ s.TagMap = v
+ return s
+}
- // Use to manage instance ephemeral devices.
- VirtualName *string `locationName:"virtualName" min:"1" type:"string"`
+// Defines criteria to exclude AMIs from lifecycle actions based on the last
+// time they were used to launch an instance.
+type LifecyclePolicyDetailExclusionRulesAmisLastLaunched struct {
+ _ struct{} `type:"structure"`
+
+ // Defines the unit of time that the lifecycle policy uses to calculate elapsed
+ // time since the last instance launched from the AMI. For example: days, weeks,
+ // months, or years.
+ //
+ // Unit is a required field
+ Unit *string `locationName:"unit" type:"string" required:"true" enum:"LifecyclePolicyTimeUnit"`
+
+ // The integer number of units for the time period. For example 6 (months).
+ //
+ // Value is a required field
+ Value *int64 `locationName:"value" min:"1" type:"integer" required:"true"`
}
// String returns the string representation.
@@ -15428,7 +18828,7 @@ type InstanceBlockDeviceMapping struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceBlockDeviceMapping) String() string {
+func (s LifecyclePolicyDetailExclusionRulesAmisLastLaunched) String() string {
return awsutil.Prettify(s)
}
@@ -15437,23 +18837,21 @@ func (s InstanceBlockDeviceMapping) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceBlockDeviceMapping) GoString() string {
+func (s LifecyclePolicyDetailExclusionRulesAmisLastLaunched) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *InstanceBlockDeviceMapping) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "InstanceBlockDeviceMapping"}
- if s.DeviceName != nil && len(*s.DeviceName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1))
+func (s *LifecyclePolicyDetailExclusionRulesAmisLastLaunched) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyDetailExclusionRulesAmisLastLaunched"}
+ if s.Unit == nil {
+ invalidParams.Add(request.NewErrParamRequired("Unit"))
}
- if s.VirtualName != nil && len(*s.VirtualName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("VirtualName", 1))
+ if s.Value == nil {
+ invalidParams.Add(request.NewErrParamRequired("Value"))
}
- if s.Ebs != nil {
- if err := s.Ebs.Validate(); err != nil {
- invalidParams.AddNested("Ebs", err.(request.ErrInvalidParams))
- }
+ if s.Value != nil && *s.Value < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Value", 1))
}
if invalidParams.Len() > 0 {
@@ -15462,43 +18860,46 @@ func (s *InstanceBlockDeviceMapping) Validate() error {
return nil
}
-// SetDeviceName sets the DeviceName field's value.
-func (s *InstanceBlockDeviceMapping) SetDeviceName(v string) *InstanceBlockDeviceMapping {
- s.DeviceName = &v
+// SetUnit sets the Unit field's value.
+func (s *LifecyclePolicyDetailExclusionRulesAmisLastLaunched) SetUnit(v string) *LifecyclePolicyDetailExclusionRulesAmisLastLaunched {
+ s.Unit = &v
return s
}
-// SetEbs sets the Ebs field's value.
-func (s *InstanceBlockDeviceMapping) SetEbs(v *EbsInstanceBlockDeviceSpecification) *InstanceBlockDeviceMapping {
- s.Ebs = v
+// SetValue sets the Value field's value.
+func (s *LifecyclePolicyDetailExclusionRulesAmisLastLaunched) SetValue(v int64) *LifecyclePolicyDetailExclusionRulesAmisLastLaunched {
+ s.Value = &v
return s
}
-// SetNoDevice sets the NoDevice field's value.
-func (s *InstanceBlockDeviceMapping) SetNoDevice(v string) *InstanceBlockDeviceMapping {
- s.NoDevice = &v
- return s
-}
+// Defines filters that the lifecycle policy uses to determine impacted resource.
+type LifecyclePolicyDetailFilter struct {
+ _ struct{} `type:"structure"`
-// SetVirtualName sets the VirtualName field's value.
-func (s *InstanceBlockDeviceMapping) SetVirtualName(v string) *InstanceBlockDeviceMapping {
- s.VirtualName = &v
- return s
-}
+ // For age-based filters, this is the number of resources to keep on hand after
+ // the lifecycle DELETE action is applied. Impacted resources are only deleted
+ // if you have more than this number of resources. If you have fewer resources
+ // than this number, the impacted resource is not deleted.
+ RetainAtLeast *int64 `locationName:"retainAtLeast" min:"1" type:"integer"`
-// Defines a custom base AMI and block device mapping configurations of an instance
-// used for building and testing container images.
-type InstanceConfiguration struct {
- _ struct{} `type:"structure"`
+ // Filter resources based on either age or count.
+ //
+ // Type is a required field
+ Type *string `locationName:"type" type:"string" required:"true" enum:"LifecyclePolicyDetailFilterType"`
- // Defines the block devices to attach for building an instance from this Image
- // Builder AMI.
- BlockDeviceMappings []*InstanceBlockDeviceMapping `locationName:"blockDeviceMappings" type:"list"`
+ // Defines the unit of time that the lifecycle policy uses to determine impacted
+ // resources. This is required for age-based rules.
+ Unit *string `locationName:"unit" type:"string" enum:"LifecyclePolicyTimeUnit"`
- // The AMI ID to use as the base image for a container build and test instance.
- // If not specified, Image Builder will use the appropriate ECS-optimized AMI
- // as a base image.
- Image *string `locationName:"image" min:"1" type:"string"`
+ // The number of units for the time period or for the count. For example, a
+ // value of 6 might refer to six months or six AMIs.
+ //
+ // For count-based filters, this value represents the minimum number of resources
+ // to keep on hand. If you have fewer resources than this number, the resource
+ // is excluded from lifecycle actions.
+ //
+ // Value is a required field
+ Value *int64 `locationName:"value" min:"1" type:"integer" required:"true"`
}
// String returns the string representation.
@@ -15506,7 +18907,7 @@ type InstanceConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceConfiguration) String() string {
+func (s LifecyclePolicyDetailFilter) String() string {
return awsutil.Prettify(s)
}
@@ -15515,25 +18916,24 @@ func (s InstanceConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceConfiguration) GoString() string {
+func (s LifecyclePolicyDetailFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *InstanceConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "InstanceConfiguration"}
- if s.Image != nil && len(*s.Image) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Image", 1))
+func (s *LifecyclePolicyDetailFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyDetailFilter"}
+ if s.RetainAtLeast != nil && *s.RetainAtLeast < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("RetainAtLeast", 1))
}
- if s.BlockDeviceMappings != nil {
- for i, v := range s.BlockDeviceMappings {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BlockDeviceMappings", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.Type == nil {
+ invalidParams.Add(request.NewErrParamRequired("Type"))
+ }
+ if s.Value == nil {
+ invalidParams.Add(request.NewErrParamRequired("Value"))
+ }
+ if s.Value != nil && *s.Value < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Value", 1))
}
if invalidParams.Len() > 0 {
@@ -15542,45 +18942,41 @@ func (s *InstanceConfiguration) Validate() error {
return nil
}
-// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
-func (s *InstanceConfiguration) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *InstanceConfiguration {
- s.BlockDeviceMappings = v
+// SetRetainAtLeast sets the RetainAtLeast field's value.
+func (s *LifecyclePolicyDetailFilter) SetRetainAtLeast(v int64) *LifecyclePolicyDetailFilter {
+ s.RetainAtLeast = &v
return s
}
-// SetImage sets the Image field's value.
-func (s *InstanceConfiguration) SetImage(v string) *InstanceConfiguration {
- s.Image = &v
+// SetType sets the Type field's value.
+func (s *LifecyclePolicyDetailFilter) SetType(v string) *LifecyclePolicyDetailFilter {
+ s.Type = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *LifecyclePolicyDetailFilter) SetUnit(v string) *LifecyclePolicyDetailFilter {
+ s.Unit = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *LifecyclePolicyDetailFilter) SetValue(v int64) *LifecyclePolicyDetailFilter {
+ s.Value = &v
return s
}
-// The instance metadata options that apply to the HTTP requests that pipeline
-// builds use to launch EC2 build and test instances. For more information about
-// instance metadata options, see Configure the instance metadata options (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html)
-// in the Amazon EC2 User Guide for Linux instances, or Configure the instance
-// metadata options (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html)
-// in the Amazon EC2 Windows Guide for Windows instances.
-type InstanceMetadataOptions struct {
+// Resource selection criteria for the lifecycle policy.
+type LifecyclePolicyResourceSelection struct {
_ struct{} `type:"structure"`
- // Limit the number of hops that an instance metadata request can traverse to
- // reach its destination. The default is one hop. However, if HTTP tokens are
- // required, container image builds need a minimum of two hops.
- HttpPutResponseHopLimit *int64 `locationName:"httpPutResponseHopLimit" min:"1" type:"integer"`
+ // A list of recipes that are used as selection criteria for the output images
+ // that the lifecycle policy applies to.
+ Recipes []*LifecyclePolicyResourceSelectionRecipe `locationName:"recipes" min:"1" type:"list"`
- // Indicates whether a signed token header is required for instance metadata
- // retrieval requests. The values affect the response as follows:
- //
- // * required – When you retrieve the IAM role credentials, version 2.0
- // credentials are returned in all cases.
- //
- // * optional – You can include a signed token header in your request to
- // retrieve instance metadata, or you can leave it out. If you include it,
- // version 2.0 credentials are returned for the IAM role. Otherwise, version
- // 1.0 credentials are returned.
- //
- // The default setting is optional.
- HttpTokens *string `locationName:"httpTokens" type:"string"`
+ // A list of tags that are used as selection criteria for the resources that
+ // the lifecycle policy applies to.
+ TagMap map[string]*string `locationName:"tagMap" min:"1" type:"map"`
}
// String returns the string representation.
@@ -15588,7 +18984,7 @@ type InstanceMetadataOptions struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceMetadataOptions) String() string {
+func (s LifecyclePolicyResourceSelection) String() string {
return awsutil.Prettify(s)
}
@@ -15597,15 +18993,28 @@ func (s InstanceMetadataOptions) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceMetadataOptions) GoString() string {
+func (s LifecyclePolicyResourceSelection) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *InstanceMetadataOptions) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "InstanceMetadataOptions"}
- if s.HttpPutResponseHopLimit != nil && *s.HttpPutResponseHopLimit < 1 {
- invalidParams.Add(request.NewErrParamMinValue("HttpPutResponseHopLimit", 1))
+func (s *LifecyclePolicyResourceSelection) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyResourceSelection"}
+ if s.Recipes != nil && len(s.Recipes) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Recipes", 1))
+ }
+ if s.TagMap != nil && len(s.TagMap) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TagMap", 1))
+ }
+ if s.Recipes != nil {
+ for i, v := range s.Recipes {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Recipes", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -15614,24 +19023,33 @@ func (s *InstanceMetadataOptions) Validate() error {
return nil
}
-// SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value.
-func (s *InstanceMetadataOptions) SetHttpPutResponseHopLimit(v int64) *InstanceMetadataOptions {
- s.HttpPutResponseHopLimit = &v
+// SetRecipes sets the Recipes field's value.
+func (s *LifecyclePolicyResourceSelection) SetRecipes(v []*LifecyclePolicyResourceSelectionRecipe) *LifecyclePolicyResourceSelection {
+ s.Recipes = v
return s
}
-// SetHttpTokens sets the HttpTokens field's value.
-func (s *InstanceMetadataOptions) SetHttpTokens(v string) *InstanceMetadataOptions {
- s.HttpTokens = &v
+// SetTagMap sets the TagMap field's value.
+func (s *LifecyclePolicyResourceSelection) SetTagMap(v map[string]*string) *LifecyclePolicyResourceSelection {
+ s.TagMap = v
return s
}
-// You have provided an invalid pagination token in your request.
-type InvalidPaginationTokenException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+// Specifies an Image Builder recipe that the lifecycle policy uses for resource
+// selection.
+type LifecyclePolicyResourceSelectionRecipe struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"message" type:"string"`
+ // The name of an Image Builder recipe that the lifecycle policy uses for resource
+ // selection.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The version of the Image Builder recipe specified by the name field.
+ //
+ // SemanticVersion is a required field
+ SemanticVersion *string `locationName:"semanticVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -15639,7 +19057,7 @@ type InvalidPaginationTokenException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidPaginationTokenException) String() string {
+func (s LifecyclePolicyResourceSelectionRecipe) String() string {
return awsutil.Prettify(s)
}
@@ -15648,55 +19066,73 @@ func (s InvalidPaginationTokenException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidPaginationTokenException) GoString() string {
+func (s LifecyclePolicyResourceSelectionRecipe) GoString() string {
return s.String()
}
-func newErrorInvalidPaginationTokenException(v protocol.ResponseMetadata) error {
- return &InvalidPaginationTokenException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LifecyclePolicyResourceSelectionRecipe) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LifecyclePolicyResourceSelectionRecipe"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
}
-}
-
-// Code returns the exception type name.
-func (s *InvalidPaginationTokenException) Code() string {
- return "InvalidPaginationTokenException"
-}
-
-// Message returns the exception's message.
-func (s *InvalidPaginationTokenException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
+ if s.SemanticVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("SemanticVersion"))
}
- return ""
-}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InvalidPaginationTokenException) OrigErr() error {
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
return nil
}
-func (s *InvalidPaginationTokenException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetName sets the Name field's value.
+func (s *LifecyclePolicyResourceSelectionRecipe) SetName(v string) *LifecyclePolicyResourceSelectionRecipe {
+ s.Name = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *InvalidPaginationTokenException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetSemanticVersion sets the SemanticVersion field's value.
+func (s *LifecyclePolicyResourceSelectionRecipe) SetSemanticVersion(v string) *LifecyclePolicyResourceSelectionRecipe {
+ s.SemanticVersion = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InvalidPaginationTokenException) RequestID() string {
- return s.RespMetadata.RequestID
-}
+// Contains a summary of lifecycle policy resources.
+type LifecyclePolicySummary struct {
+ _ struct{} `type:"structure"`
-// You have specified two or more mutually exclusive parameters. Review the
-// error message for details.
-type InvalidParameterCombinationException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
+ Arn *string `locationName:"arn" type:"string"`
- Message_ *string `locationName:"message" type:"string"`
+ // The timestamp when Image Builder created the lifecycle policy resource.
+ DateCreated *time.Time `locationName:"dateCreated" type:"timestamp"`
+
+ // The timestamp for the last time Image Builder ran the lifecycle policy.
+ DateLastRun *time.Time `locationName:"dateLastRun" type:"timestamp"`
+
+ // The timestamp when Image Builder updated the lifecycle policy resource.
+ DateUpdated *time.Time `locationName:"dateUpdated" type:"timestamp"`
+
+ // Optional description for the lifecycle policy.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of the IAM role that Image Builder uses to run the lifecycle policy.
+ ExecutionRole *string `locationName:"executionRole" min:"1" type:"string"`
+
+ // The name of the lifecycle policy.
+ Name *string `locationName:"name" type:"string"`
+
+ // The type of resources the lifecycle policy targets.
+ ResourceType *string `locationName:"resourceType" type:"string" enum:"LifecyclePolicyResourceType"`
+
+ // The lifecycle policy resource status.
+ Status *string `locationName:"status" type:"string" enum:"LifecyclePolicyStatus"`
+
+ // To help manage your lifecycle policy resources, you can assign your own metadata
+ // to each resource in the form of tags. Each tag consists of a key and an optional
+ // value, both of which you define.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
}
// String returns the string representation.
@@ -15704,7 +19140,7 @@ type InvalidParameterCombinationException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidParameterCombinationException) String() string {
+func (s LifecyclePolicySummary) String() string {
return awsutil.Prettify(s)
}
@@ -15713,55 +19149,85 @@ func (s InvalidParameterCombinationException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidParameterCombinationException) GoString() string {
+func (s LifecyclePolicySummary) GoString() string {
return s.String()
}
-func newErrorInvalidParameterCombinationException(v protocol.ResponseMetadata) error {
- return &InvalidParameterCombinationException{
- RespMetadata: v,
- }
+// SetArn sets the Arn field's value.
+func (s *LifecyclePolicySummary) SetArn(v string) *LifecyclePolicySummary {
+ s.Arn = &v
+ return s
}
-// Code returns the exception type name.
-func (s *InvalidParameterCombinationException) Code() string {
- return "InvalidParameterCombinationException"
+// SetDateCreated sets the DateCreated field's value.
+func (s *LifecyclePolicySummary) SetDateCreated(v time.Time) *LifecyclePolicySummary {
+ s.DateCreated = &v
+ return s
}
-// Message returns the exception's message.
-func (s *InvalidParameterCombinationException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetDateLastRun sets the DateLastRun field's value.
+func (s *LifecyclePolicySummary) SetDateLastRun(v time.Time) *LifecyclePolicySummary {
+ s.DateLastRun = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InvalidParameterCombinationException) OrigErr() error {
- return nil
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *LifecyclePolicySummary) SetDateUpdated(v time.Time) *LifecyclePolicySummary {
+ s.DateUpdated = &v
+ return s
}
-func (s *InvalidParameterCombinationException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetDescription sets the Description field's value.
+func (s *LifecyclePolicySummary) SetDescription(v string) *LifecyclePolicySummary {
+ s.Description = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *InvalidParameterCombinationException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetExecutionRole sets the ExecutionRole field's value.
+func (s *LifecyclePolicySummary) SetExecutionRole(v string) *LifecyclePolicySummary {
+ s.ExecutionRole = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InvalidParameterCombinationException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetName sets the Name field's value.
+func (s *LifecyclePolicySummary) SetName(v string) *LifecyclePolicySummary {
+ s.Name = &v
+ return s
}
-// The specified parameter is invalid. Review the available parameters for the
-// API request.
-type InvalidParameterException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+// SetResourceType sets the ResourceType field's value.
+func (s *LifecyclePolicySummary) SetResourceType(v string) *LifecyclePolicySummary {
+ s.ResourceType = &v
+ return s
+}
- Message_ *string `locationName:"message" type:"string"`
+// SetStatus sets the Status field's value.
+func (s *LifecyclePolicySummary) SetStatus(v string) *LifecyclePolicySummary {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *LifecyclePolicySummary) SetTags(v map[string]*string) *LifecyclePolicySummary {
+ s.Tags = v
+ return s
+}
+
+type ListComponentBuildVersionsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The component version Amazon Resource Name (ARN) whose versions you want
+ // to list.
+ //
+ // ComponentVersionArn is a required field
+ ComponentVersionArn *string `locationName:"componentVersionArn" type:"string" required:"true"`
+
+ // The maximum items to return in a request.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // A token to specify where to start paginating. This is the nextToken from
+ // a previously truncated response.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
// String returns the string representation.
@@ -15769,7 +19235,7 @@ type InvalidParameterException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidParameterException) String() string {
+func (s ListComponentBuildVersionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -15778,54 +19244,60 @@ func (s InvalidParameterException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidParameterException) GoString() string {
+func (s ListComponentBuildVersionsInput) GoString() string {
return s.String()
}
-func newErrorInvalidParameterException(v protocol.ResponseMetadata) error {
- return &InvalidParameterException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListComponentBuildVersionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListComponentBuildVersionsInput"}
+ if s.ComponentVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ComponentVersionArn"))
}
-}
-
-// Code returns the exception type name.
-func (s *InvalidParameterException) Code() string {
- return "InvalidParameterException"
-}
-
-// Message returns the exception's message.
-func (s *InvalidParameterException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- return ""
-}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InvalidParameterException) OrigErr() error {
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
return nil
}
-func (s *InvalidParameterException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetComponentVersionArn sets the ComponentVersionArn field's value.
+func (s *ListComponentBuildVersionsInput) SetComponentVersionArn(v string) *ListComponentBuildVersionsInput {
+ s.ComponentVersionArn = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *InvalidParameterException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListComponentBuildVersionsInput) SetMaxResults(v int64) *ListComponentBuildVersionsInput {
+ s.MaxResults = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InvalidParameterException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetNextToken sets the NextToken field's value.
+func (s *ListComponentBuildVersionsInput) SetNextToken(v string) *ListComponentBuildVersionsInput {
+ s.NextToken = &v
+ return s
}
-// The value that you provided for the specified parameter is invalid.
-type InvalidParameterValueException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+type ListComponentBuildVersionsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The list of component summaries for the specified semantic version.
+ ComponentSummaryList []*ComponentSummary `locationName:"componentSummaryList" type:"list"`
- Message_ *string `locationName:"message" type:"string"`
+ // The next token used for paginated responses. When this field isn't empty,
+ // there are additional elements that the service hasn't included in this request.
+ // Use this token with the next request to retrieve additional objects.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -15833,7 +19305,7 @@ type InvalidParameterValueException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidParameterValueException) String() string {
+func (s ListComponentBuildVersionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -15842,54 +19314,62 @@ func (s InvalidParameterValueException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidParameterValueException) GoString() string {
+func (s ListComponentBuildVersionsOutput) GoString() string {
return s.String()
}
-func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error {
- return &InvalidParameterValueException{
- RespMetadata: v,
- }
+// SetComponentSummaryList sets the ComponentSummaryList field's value.
+func (s *ListComponentBuildVersionsOutput) SetComponentSummaryList(v []*ComponentSummary) *ListComponentBuildVersionsOutput {
+ s.ComponentSummaryList = v
+ return s
}
-// Code returns the exception type name.
-func (s *InvalidParameterValueException) Code() string {
- return "InvalidParameterValueException"
+// SetNextToken sets the NextToken field's value.
+func (s *ListComponentBuildVersionsOutput) SetNextToken(v string) *ListComponentBuildVersionsOutput {
+ s.NextToken = &v
+ return s
}
-// Message returns the exception's message.
-func (s *InvalidParameterValueException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetRequestId sets the RequestId field's value.
+func (s *ListComponentBuildVersionsOutput) SetRequestId(v string) *ListComponentBuildVersionsOutput {
+ s.RequestId = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InvalidParameterValueException) OrigErr() error {
- return nil
-}
+type ListComponentsInput struct {
+ _ struct{} `type:"structure"`
-func (s *InvalidParameterValueException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
-}
+ // Returns the list of components for the specified name.
+ ByName *bool `locationName:"byName" type:"boolean"`
-// Status code returns the HTTP status code for the request's response error.
-func (s *InvalidParameterValueException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
+ // Use the following filters to streamline results:
+ //
+ // * description
+ //
+ // * name
+ //
+ // * platform
+ //
+ // * supportedOsVersion
+ //
+ // * type
+ //
+ // * version
+ Filters []*Filter `locationName:"filters" min:"1" type:"list"`
-// RequestID returns the service's response RequestID for request.
-func (s *InvalidParameterValueException) RequestID() string {
- return s.RespMetadata.RequestID
-}
+ // The maximum items to return in a request.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
-// You have requested an action that that the service doesn't support.
-type InvalidRequestException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // A token to specify where to start paginating. This is the nextToken from
+ // a previously truncated response.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- Message_ *string `locationName:"message" type:"string"`
+ // Filters results based on the type of owner for the component. By default,
+ // this request returns a list of components that your account owns. To see
+ // results for other types of owners, you can specify components that Amazon
+ // manages, third party components, or components that other accounts have shared
+ // with you.
+ Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
}
// String returns the string representation.
@@ -15897,7 +19377,7 @@ type InvalidRequestException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidRequestException) String() string {
+func (s ListComponentsInput) String() string {
return awsutil.Prettify(s)
}
@@ -15906,54 +19386,85 @@ func (s InvalidRequestException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidRequestException) GoString() string {
+func (s ListComponentsInput) GoString() string {
return s.String()
}
-func newErrorInvalidRequestException(v protocol.ResponseMetadata) error {
- return &InvalidRequestException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListComponentsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListComponentsInput"}
+ if s.Filters != nil && len(s.Filters) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
-}
-// Code returns the exception type name.
-func (s *InvalidRequestException) Code() string {
- return "InvalidRequestException"
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// Message returns the exception's message.
-func (s *InvalidRequestException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetByName sets the ByName field's value.
+func (s *ListComponentsInput) SetByName(v bool) *ListComponentsInput {
+ s.ByName = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InvalidRequestException) OrigErr() error {
- return nil
+// SetFilters sets the Filters field's value.
+func (s *ListComponentsInput) SetFilters(v []*Filter) *ListComponentsInput {
+ s.Filters = v
+ return s
}
-func (s *InvalidRequestException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListComponentsInput) SetMaxResults(v int64) *ListComponentsInput {
+ s.MaxResults = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *InvalidRequestException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetNextToken sets the NextToken field's value.
+func (s *ListComponentsInput) SetNextToken(v string) *ListComponentsInput {
+ s.NextToken = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InvalidRequestException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetOwner sets the Owner field's value.
+func (s *ListComponentsInput) SetOwner(v string) *ListComponentsInput {
+ s.Owner = &v
+ return s
}
-// Your version number is out of bounds or does not follow the required syntax.
-type InvalidVersionNumberException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+type ListComponentsOutput struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"message" type:"string"`
+ // The list of component semantic versions.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ ComponentVersionList []*ComponentVersion `locationName:"componentVersionList" type:"list"`
+
+ // The next token used for paginated responses. When this field isn't empty,
+ // there are additional elements that the service hasn't included in this request.
+ // Use this token with the next request to retrieve additional objects.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -15961,7 +19472,7 @@ type InvalidVersionNumberException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidVersionNumberException) String() string {
+func (s ListComponentsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -15970,71 +19481,53 @@ func (s InvalidVersionNumberException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InvalidVersionNumberException) GoString() string {
+func (s ListComponentsOutput) GoString() string {
return s.String()
}
-func newErrorInvalidVersionNumberException(v protocol.ResponseMetadata) error {
- return &InvalidVersionNumberException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *InvalidVersionNumberException) Code() string {
- return "InvalidVersionNumberException"
-}
-
-// Message returns the exception's message.
-func (s *InvalidVersionNumberException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InvalidVersionNumberException) OrigErr() error {
- return nil
-}
-
-func (s *InvalidVersionNumberException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetComponentVersionList sets the ComponentVersionList field's value.
+func (s *ListComponentsOutput) SetComponentVersionList(v []*ComponentVersion) *ListComponentsOutput {
+ s.ComponentVersionList = v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *InvalidVersionNumberException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetNextToken sets the NextToken field's value.
+func (s *ListComponentsOutput) SetNextToken(v string) *ListComponentsOutput {
+ s.NextToken = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InvalidVersionNumberException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetRequestId sets the RequestId field's value.
+func (s *ListComponentsOutput) SetRequestId(v string) *ListComponentsOutput {
+ s.RequestId = &v
+ return s
}
-// Describes the configuration for a launch permission. The launch permission
-// modification request is sent to the Amazon EC2 ModifyImageAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html)
-// API on behalf of the user for each Region they have selected to distribute
-// the AMI. To make an AMI public, set the launch permission authorized accounts
-// to all. See the examples for making an AMI public at Amazon EC2 ModifyImageAttribute
-// (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html).
-type LaunchPermissionConfiguration struct {
+type ListContainerRecipesInput struct {
_ struct{} `type:"structure"`
- // The ARN for an Amazon Web Services Organization that you want to share your
- // AMI with. For more information, see What is Organizations? (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html).
- OrganizationArns []*string `locationName:"organizationArns" min:"1" type:"list"`
+ // Use the following filters to streamline results:
+ //
+ // * containerType
+ //
+ // * name
+ //
+ // * parentImage
+ //
+ // * platform
+ Filters []*Filter `locationName:"filters" min:"1" type:"list"`
- // The ARN for an Organizations organizational unit (OU) that you want to share
- // your AMI with. For more information about key concepts for Organizations,
- // see Organizations terminology and concepts (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html).
- OrganizationalUnitArns []*string `locationName:"organizationalUnitArns" min:"1" type:"list"`
+ // The maximum items to return in a request.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The name of the group.
- UserGroups []*string `locationName:"userGroups" type:"list"`
+ // A token to specify where to start paginating. This is the nextToken from
+ // a previously truncated response.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // The Amazon Web Services account ID.
- UserIds []*string `locationName:"userIds" min:"1" type:"list"`
+ // Returns container recipes belonging to the specified owner, that have been
+ // shared with you. You can omit this field to return container recipes belonging
+ // to your account.
+ Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
}
// String returns the string representation.
@@ -16042,7 +19535,7 @@ type LaunchPermissionConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s LaunchPermissionConfiguration) String() string {
+func (s ListContainerRecipesInput) String() string {
return awsutil.Prettify(s)
}
@@ -16051,21 +19544,31 @@ func (s LaunchPermissionConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s LaunchPermissionConfiguration) GoString() string {
+func (s ListContainerRecipesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *LaunchPermissionConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "LaunchPermissionConfiguration"}
- if s.OrganizationArns != nil && len(s.OrganizationArns) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OrganizationArns", 1))
+func (s *ListContainerRecipesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListContainerRecipesInput"}
+ if s.Filters != nil && len(s.Filters) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
- if s.OrganizationalUnitArns != nil && len(s.OrganizationalUnitArns) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OrganizationalUnitArns", 1))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.UserIds != nil && len(s.UserIds) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("UserIds", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -16074,45 +19577,43 @@ func (s *LaunchPermissionConfiguration) Validate() error {
return nil
}
-// SetOrganizationArns sets the OrganizationArns field's value.
-func (s *LaunchPermissionConfiguration) SetOrganizationArns(v []*string) *LaunchPermissionConfiguration {
- s.OrganizationArns = v
+// SetFilters sets the Filters field's value.
+func (s *ListContainerRecipesInput) SetFilters(v []*Filter) *ListContainerRecipesInput {
+ s.Filters = v
return s
}
-// SetOrganizationalUnitArns sets the OrganizationalUnitArns field's value.
-func (s *LaunchPermissionConfiguration) SetOrganizationalUnitArns(v []*string) *LaunchPermissionConfiguration {
- s.OrganizationalUnitArns = v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListContainerRecipesInput) SetMaxResults(v int64) *ListContainerRecipesInput {
+ s.MaxResults = &v
return s
}
-// SetUserGroups sets the UserGroups field's value.
-func (s *LaunchPermissionConfiguration) SetUserGroups(v []*string) *LaunchPermissionConfiguration {
- s.UserGroups = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListContainerRecipesInput) SetNextToken(v string) *ListContainerRecipesInput {
+ s.NextToken = &v
return s
}
-// SetUserIds sets the UserIds field's value.
-func (s *LaunchPermissionConfiguration) SetUserIds(v []*string) *LaunchPermissionConfiguration {
- s.UserIds = v
+// SetOwner sets the Owner field's value.
+func (s *ListContainerRecipesInput) SetOwner(v string) *ListContainerRecipesInput {
+ s.Owner = &v
return s
}
-// Identifies an Amazon EC2 launch template to use for a specific account.
-type LaunchTemplateConfiguration struct {
+type ListContainerRecipesOutput struct {
_ struct{} `type:"structure"`
- // The account ID that this configuration applies to.
- AccountId *string `locationName:"accountId" type:"string"`
+ // The list of container recipes returned for the request.
+ ContainerRecipeSummaryList []*ContainerRecipeSummary `locationName:"containerRecipeSummaryList" type:"list"`
- // Identifies the Amazon EC2 launch template to use.
- //
- // LaunchTemplateId is a required field
- LaunchTemplateId *string `locationName:"launchTemplateId" type:"string" required:"true"`
+ // The next token used for paginated responses. When this field isn't empty,
+ // there are additional elements that the service hasn't included in this request.
+ // Use this token with the next request to retrieve additional objects.
+ NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // Set the specified Amazon EC2 launch template as the default launch template
- // for the specified account.
- SetDefaultVersion *bool `locationName:"setDefaultVersion" type:"boolean"`
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -16120,7 +19621,7 @@ type LaunchTemplateConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s LaunchTemplateConfiguration) String() string {
+func (s ListContainerRecipesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -16129,54 +19630,38 @@ func (s LaunchTemplateConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s LaunchTemplateConfiguration) GoString() string {
+func (s ListContainerRecipesOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *LaunchTemplateConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "LaunchTemplateConfiguration"}
- if s.LaunchTemplateId == nil {
- invalidParams.Add(request.NewErrParamRequired("LaunchTemplateId"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetAccountId sets the AccountId field's value.
-func (s *LaunchTemplateConfiguration) SetAccountId(v string) *LaunchTemplateConfiguration {
- s.AccountId = &v
+// SetContainerRecipeSummaryList sets the ContainerRecipeSummaryList field's value.
+func (s *ListContainerRecipesOutput) SetContainerRecipeSummaryList(v []*ContainerRecipeSummary) *ListContainerRecipesOutput {
+ s.ContainerRecipeSummaryList = v
return s
}
-// SetLaunchTemplateId sets the LaunchTemplateId field's value.
-func (s *LaunchTemplateConfiguration) SetLaunchTemplateId(v string) *LaunchTemplateConfiguration {
- s.LaunchTemplateId = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListContainerRecipesOutput) SetNextToken(v string) *ListContainerRecipesOutput {
+ s.NextToken = &v
return s
}
-// SetSetDefaultVersion sets the SetDefaultVersion field's value.
-func (s *LaunchTemplateConfiguration) SetSetDefaultVersion(v bool) *LaunchTemplateConfiguration {
- s.SetDefaultVersion = &v
+// SetRequestId sets the RequestId field's value.
+func (s *ListContainerRecipesOutput) SetRequestId(v string) *ListContainerRecipesOutput {
+ s.RequestId = &v
return s
}
-type ListComponentBuildVersionsInput struct {
+type ListDistributionConfigurationsInput struct {
_ struct{} `type:"structure"`
- // The component version Amazon Resource Name (ARN) whose versions you want
- // to list.
- //
- // ComponentVersionArn is a required field
- ComponentVersionArn *string `locationName:"componentVersionArn" type:"string" required:"true"`
+ // You can filter on name to streamline results.
+ Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -16186,7 +19671,7 @@ type ListComponentBuildVersionsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentBuildVersionsInput) String() string {
+func (s ListDistributionConfigurationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -16195,15 +19680,15 @@ func (s ListComponentBuildVersionsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentBuildVersionsInput) GoString() string {
+func (s ListDistributionConfigurationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListComponentBuildVersionsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListComponentBuildVersionsInput"}
- if s.ComponentVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ComponentVersionArn"))
+func (s *ListDistributionConfigurationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListDistributionConfigurationsInput"}
+ if s.Filters != nil && len(s.Filters) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
@@ -16211,6 +19696,16 @@ func (s *ListComponentBuildVersionsInput) Validate() error {
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -16218,32 +19713,32 @@ func (s *ListComponentBuildVersionsInput) Validate() error {
return nil
}
-// SetComponentVersionArn sets the ComponentVersionArn field's value.
-func (s *ListComponentBuildVersionsInput) SetComponentVersionArn(v string) *ListComponentBuildVersionsInput {
- s.ComponentVersionArn = &v
+// SetFilters sets the Filters field's value.
+func (s *ListDistributionConfigurationsInput) SetFilters(v []*Filter) *ListDistributionConfigurationsInput {
+ s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListComponentBuildVersionsInput) SetMaxResults(v int64) *ListComponentBuildVersionsInput {
+func (s *ListDistributionConfigurationsInput) SetMaxResults(v int64) *ListDistributionConfigurationsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListComponentBuildVersionsInput) SetNextToken(v string) *ListComponentBuildVersionsInput {
+func (s *ListDistributionConfigurationsInput) SetNextToken(v string) *ListDistributionConfigurationsInput {
s.NextToken = &v
return s
}
-type ListComponentBuildVersionsOutput struct {
+type ListDistributionConfigurationsOutput struct {
_ struct{} `type:"structure"`
- // The list of component summaries for the specified semantic version.
- ComponentSummaryList []*ComponentSummary `locationName:"componentSummaryList" type:"list"`
+ // The list of distributions.
+ DistributionConfigurationSummaryList []*DistributionConfigurationSummary `locationName:"distributionConfigurationSummaryList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -16256,7 +19751,7 @@ type ListComponentBuildVersionsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentBuildVersionsOutput) String() string {
+func (s ListDistributionConfigurationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -16265,62 +19760,56 @@ func (s ListComponentBuildVersionsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentBuildVersionsOutput) GoString() string {
+func (s ListDistributionConfigurationsOutput) GoString() string {
return s.String()
}
-// SetComponentSummaryList sets the ComponentSummaryList field's value.
-func (s *ListComponentBuildVersionsOutput) SetComponentSummaryList(v []*ComponentSummary) *ListComponentBuildVersionsOutput {
- s.ComponentSummaryList = v
+// SetDistributionConfigurationSummaryList sets the DistributionConfigurationSummaryList field's value.
+func (s *ListDistributionConfigurationsOutput) SetDistributionConfigurationSummaryList(v []*DistributionConfigurationSummary) *ListDistributionConfigurationsOutput {
+ s.DistributionConfigurationSummaryList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListComponentBuildVersionsOutput) SetNextToken(v string) *ListComponentBuildVersionsOutput {
+func (s *ListDistributionConfigurationsOutput) SetNextToken(v string) *ListDistributionConfigurationsOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListComponentBuildVersionsOutput) SetRequestId(v string) *ListComponentBuildVersionsOutput {
+func (s *ListDistributionConfigurationsOutput) SetRequestId(v string) *ListDistributionConfigurationsOutput {
s.RequestId = &v
return s
}
-type ListComponentsInput struct {
+type ListImageBuildVersionsInput struct {
_ struct{} `type:"structure"`
- // Returns the list of components for the specified name.
- ByName *bool `locationName:"byName" type:"boolean"`
-
// Use the following filters to streamline results:
//
- // * description
- //
// * name
//
- // * platform
+ // * osVersion
//
- // * supportedOsVersion
+ // * platform
//
// * type
//
// * version
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
+ // The Amazon Resource Name (ARN) of the image whose build versions you want
+ // to retrieve.
+ //
+ // ImageVersionArn is a required field
+ ImageVersionArn *string `locationName:"imageVersionArn" type:"string" required:"true"`
+
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
-
- // Filters results based on the type of owner for the component. By default,
- // this request returns a list of components that your account owns. To see
- // results for other types of owners, you can specify components that Amazon
- // manages, third party components, or components that other accounts have shared
- // with you.
- Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
}
// String returns the string representation.
@@ -16328,7 +19817,7 @@ type ListComponentsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentsInput) String() string {
+func (s ListImageBuildVersionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -16337,16 +19826,19 @@ func (s ListComponentsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentsInput) GoString() string {
+func (s ListImageBuildVersionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListComponentsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListComponentsInput"}
+func (s *ListImageBuildVersionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImageBuildVersionsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
+ if s.ImageVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageVersionArn"))
+ }
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
@@ -16370,47 +19862,38 @@ func (s *ListComponentsInput) Validate() error {
return nil
}
-// SetByName sets the ByName field's value.
-func (s *ListComponentsInput) SetByName(v bool) *ListComponentsInput {
- s.ByName = &v
+// SetFilters sets the Filters field's value.
+func (s *ListImageBuildVersionsInput) SetFilters(v []*Filter) *ListImageBuildVersionsInput {
+ s.Filters = v
return s
}
-// SetFilters sets the Filters field's value.
-func (s *ListComponentsInput) SetFilters(v []*Filter) *ListComponentsInput {
- s.Filters = v
+// SetImageVersionArn sets the ImageVersionArn field's value.
+func (s *ListImageBuildVersionsInput) SetImageVersionArn(v string) *ListImageBuildVersionsInput {
+ s.ImageVersionArn = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListComponentsInput) SetMaxResults(v int64) *ListComponentsInput {
+func (s *ListImageBuildVersionsInput) SetMaxResults(v int64) *ListImageBuildVersionsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListComponentsInput) SetNextToken(v string) *ListComponentsInput {
+func (s *ListImageBuildVersionsInput) SetNextToken(v string) *ListImageBuildVersionsInput {
s.NextToken = &v
return s
}
-// SetOwner sets the Owner field's value.
-func (s *ListComponentsInput) SetOwner(v string) *ListComponentsInput {
- s.Owner = &v
- return s
-}
-
-type ListComponentsOutput struct {
+type ListImageBuildVersionsOutput struct {
_ struct{} `type:"structure"`
- // The list of component semantic versions.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- ComponentVersionList []*ComponentVersion `locationName:"componentVersionList" type:"list"`
+ // The list of image build versions.
+ ImageSummaryList []*ImageSummary `locationName:"imageSummaryList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -16423,7 +19906,7 @@ type ListComponentsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentsOutput) String() string {
+func (s ListImageBuildVersionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -16432,53 +19915,43 @@ func (s ListComponentsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListComponentsOutput) GoString() string {
+func (s ListImageBuildVersionsOutput) GoString() string {
return s.String()
}
-// SetComponentVersionList sets the ComponentVersionList field's value.
-func (s *ListComponentsOutput) SetComponentVersionList(v []*ComponentVersion) *ListComponentsOutput {
- s.ComponentVersionList = v
+// SetImageSummaryList sets the ImageSummaryList field's value.
+func (s *ListImageBuildVersionsOutput) SetImageSummaryList(v []*ImageSummary) *ListImageBuildVersionsOutput {
+ s.ImageSummaryList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListComponentsOutput) SetNextToken(v string) *ListComponentsOutput {
+func (s *ListImageBuildVersionsOutput) SetNextToken(v string) *ListImageBuildVersionsOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListComponentsOutput) SetRequestId(v string) *ListComponentsOutput {
+func (s *ListImageBuildVersionsOutput) SetRequestId(v string) *ListImageBuildVersionsOutput {
s.RequestId = &v
return s
}
-type ListContainerRecipesInput struct {
+type ListImagePackagesInput struct {
_ struct{} `type:"structure"`
- // Use the following filters to streamline results:
- //
- // * containerType
- //
- // * name
- //
- // * parentImage
+ // Filter results for the ListImagePackages request by the Image Build Version
+ // ARN
//
- // * platform
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
+ // ImageBuildVersionArn is a required field
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string" required:"true"`
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
-
- // Returns container recipes belonging to the specified owner, that have been
- // shared with you. You can omit this field to return container recipes belonging
- // to your account.
- Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
}
// String returns the string representation.
@@ -16486,7 +19959,7 @@ type ListContainerRecipesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListContainerRecipesInput) String() string {
+func (s ListImagePackagesInput) String() string {
return awsutil.Prettify(s)
}
@@ -16495,15 +19968,15 @@ func (s ListContainerRecipesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListContainerRecipesInput) GoString() string {
+func (s ListImagePackagesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListContainerRecipesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListContainerRecipesInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
+func (s *ListImagePackagesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImagePackagesInput"}
+ if s.ImageBuildVersionArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
@@ -16511,16 +19984,6 @@ func (s *ListContainerRecipesInput) Validate() error {
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
if invalidParams.Len() > 0 {
return invalidParams
@@ -16528,38 +19991,32 @@ func (s *ListContainerRecipesInput) Validate() error {
return nil
}
-// SetFilters sets the Filters field's value.
-func (s *ListContainerRecipesInput) SetFilters(v []*Filter) *ListContainerRecipesInput {
- s.Filters = v
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *ListImagePackagesInput) SetImageBuildVersionArn(v string) *ListImagePackagesInput {
+ s.ImageBuildVersionArn = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListContainerRecipesInput) SetMaxResults(v int64) *ListContainerRecipesInput {
+func (s *ListImagePackagesInput) SetMaxResults(v int64) *ListImagePackagesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListContainerRecipesInput) SetNextToken(v string) *ListContainerRecipesInput {
+func (s *ListImagePackagesInput) SetNextToken(v string) *ListImagePackagesInput {
s.NextToken = &v
return s
}
-// SetOwner sets the Owner field's value.
-func (s *ListContainerRecipesInput) SetOwner(v string) *ListContainerRecipesInput {
- s.Owner = &v
- return s
-}
-
-type ListContainerRecipesOutput struct {
+type ListImagePackagesOutput struct {
_ struct{} `type:"structure"`
- // The list of container recipes returned for the request.
- ContainerRecipeSummaryList []*ContainerRecipeSummary `locationName:"containerRecipeSummaryList" type:"list"`
+ // The list of Image Packages returned in the response.
+ ImagePackageList []*ImagePackage `locationName:"imagePackageList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -16572,7 +20029,7 @@ type ListContainerRecipesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListContainerRecipesOutput) String() string {
+func (s ListImagePackagesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -16581,38 +20038,48 @@ func (s ListContainerRecipesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListContainerRecipesOutput) GoString() string {
+func (s ListImagePackagesOutput) GoString() string {
return s.String()
}
-// SetContainerRecipeSummaryList sets the ContainerRecipeSummaryList field's value.
-func (s *ListContainerRecipesOutput) SetContainerRecipeSummaryList(v []*ContainerRecipeSummary) *ListContainerRecipesOutput {
- s.ContainerRecipeSummaryList = v
+// SetImagePackageList sets the ImagePackageList field's value.
+func (s *ListImagePackagesOutput) SetImagePackageList(v []*ImagePackage) *ListImagePackagesOutput {
+ s.ImagePackageList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListContainerRecipesOutput) SetNextToken(v string) *ListContainerRecipesOutput {
+func (s *ListImagePackagesOutput) SetNextToken(v string) *ListImagePackagesOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListContainerRecipesOutput) SetRequestId(v string) *ListContainerRecipesOutput {
+func (s *ListImagePackagesOutput) SetRequestId(v string) *ListImagePackagesOutput {
s.RequestId = &v
return s
}
-type ListDistributionConfigurationsInput struct {
+type ListImagePipelineImagesInput struct {
_ struct{} `type:"structure"`
- // You can filter on name to streamline results.
+ // Use the following filters to streamline results:
+ //
+ // * name
+ //
+ // * version
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
+ // The Amazon Resource Name (ARN) of the image pipeline whose images you want
+ // to view.
+ //
+ // ImagePipelineArn is a required field
+ ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string" required:"true"`
+
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -16622,7 +20089,7 @@ type ListDistributionConfigurationsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListDistributionConfigurationsInput) String() string {
+func (s ListImagePipelineImagesInput) String() string {
return awsutil.Prettify(s)
}
@@ -16631,16 +20098,19 @@ func (s ListDistributionConfigurationsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListDistributionConfigurationsInput) GoString() string {
+func (s ListImagePipelineImagesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListDistributionConfigurationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListDistributionConfigurationsInput"}
+func (s *ListImagePipelineImagesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImagePipelineImagesInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
+ if s.ImagePipelineArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ImagePipelineArn"))
+ }
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
@@ -16665,31 +20135,37 @@ func (s *ListDistributionConfigurationsInput) Validate() error {
}
// SetFilters sets the Filters field's value.
-func (s *ListDistributionConfigurationsInput) SetFilters(v []*Filter) *ListDistributionConfigurationsInput {
+func (s *ListImagePipelineImagesInput) SetFilters(v []*Filter) *ListImagePipelineImagesInput {
s.Filters = v
return s
}
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *ListImagePipelineImagesInput) SetImagePipelineArn(v string) *ListImagePipelineImagesInput {
+ s.ImagePipelineArn = &v
+ return s
+}
+
// SetMaxResults sets the MaxResults field's value.
-func (s *ListDistributionConfigurationsInput) SetMaxResults(v int64) *ListDistributionConfigurationsInput {
+func (s *ListImagePipelineImagesInput) SetMaxResults(v int64) *ListImagePipelineImagesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListDistributionConfigurationsInput) SetNextToken(v string) *ListDistributionConfigurationsInput {
+func (s *ListImagePipelineImagesInput) SetNextToken(v string) *ListImagePipelineImagesInput {
s.NextToken = &v
return s
}
-type ListDistributionConfigurationsOutput struct {
+type ListImagePipelineImagesOutput struct {
_ struct{} `type:"structure"`
- // The list of distributions.
- DistributionConfigurationSummaryList []*DistributionConfigurationSummary `locationName:"distributionConfigurationSummaryList" type:"list"`
+ // The list of images built by this pipeline.
+ ImageSummaryList []*ImageSummary `locationName:"imageSummaryList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -16702,7 +20178,7 @@ type ListDistributionConfigurationsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListDistributionConfigurationsOutput) String() string {
+func (s ListImagePipelineImagesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -16711,54 +20187,50 @@ func (s ListDistributionConfigurationsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListDistributionConfigurationsOutput) GoString() string {
+func (s ListImagePipelineImagesOutput) GoString() string {
return s.String()
}
-// SetDistributionConfigurationSummaryList sets the DistributionConfigurationSummaryList field's value.
-func (s *ListDistributionConfigurationsOutput) SetDistributionConfigurationSummaryList(v []*DistributionConfigurationSummary) *ListDistributionConfigurationsOutput {
- s.DistributionConfigurationSummaryList = v
+// SetImageSummaryList sets the ImageSummaryList field's value.
+func (s *ListImagePipelineImagesOutput) SetImageSummaryList(v []*ImageSummary) *ListImagePipelineImagesOutput {
+ s.ImageSummaryList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListDistributionConfigurationsOutput) SetNextToken(v string) *ListDistributionConfigurationsOutput {
+func (s *ListImagePipelineImagesOutput) SetNextToken(v string) *ListImagePipelineImagesOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListDistributionConfigurationsOutput) SetRequestId(v string) *ListDistributionConfigurationsOutput {
+func (s *ListImagePipelineImagesOutput) SetRequestId(v string) *ListImagePipelineImagesOutput {
s.RequestId = &v
return s
}
-type ListImageBuildVersionsInput struct {
+type ListImagePipelinesInput struct {
_ struct{} `type:"structure"`
// Use the following filters to streamline results:
//
- // * name
+ // * description
//
- // * osVersion
+ // * distributionConfigurationArn
//
- // * platform
+ // * imageRecipeArn
//
- // * type
+ // * infrastructureConfigurationArn
//
- // * version
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
-
- // The Amazon Resource Name (ARN) of the image whose build versions you want
- // to retrieve.
+ // * name
//
- // ImageVersionArn is a required field
- ImageVersionArn *string `locationName:"imageVersionArn" type:"string" required:"true"`
+ // * status
+ Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -16768,7 +20240,7 @@ type ListImageBuildVersionsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageBuildVersionsInput) String() string {
+func (s ListImagePipelinesInput) String() string {
return awsutil.Prettify(s)
}
@@ -16777,19 +20249,16 @@ func (s ListImageBuildVersionsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageBuildVersionsInput) GoString() string {
+func (s ListImagePipelinesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImageBuildVersionsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImageBuildVersionsInput"}
+func (s *ListImagePipelinesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImagePipelinesInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
- if s.ImageVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageVersionArn"))
- }
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
@@ -16814,37 +20283,31 @@ func (s *ListImageBuildVersionsInput) Validate() error {
}
// SetFilters sets the Filters field's value.
-func (s *ListImageBuildVersionsInput) SetFilters(v []*Filter) *ListImageBuildVersionsInput {
+func (s *ListImagePipelinesInput) SetFilters(v []*Filter) *ListImagePipelinesInput {
s.Filters = v
return s
}
-// SetImageVersionArn sets the ImageVersionArn field's value.
-func (s *ListImageBuildVersionsInput) SetImageVersionArn(v string) *ListImageBuildVersionsInput {
- s.ImageVersionArn = &v
- return s
-}
-
// SetMaxResults sets the MaxResults field's value.
-func (s *ListImageBuildVersionsInput) SetMaxResults(v int64) *ListImageBuildVersionsInput {
+func (s *ListImagePipelinesInput) SetMaxResults(v int64) *ListImagePipelinesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageBuildVersionsInput) SetNextToken(v string) *ListImageBuildVersionsInput {
+func (s *ListImagePipelinesInput) SetNextToken(v string) *ListImagePipelinesInput {
s.NextToken = &v
return s
}
-type ListImageBuildVersionsOutput struct {
+type ListImagePipelinesOutput struct {
_ struct{} `type:"structure"`
- // The list of image build versions.
- ImageSummaryList []*ImageSummary `locationName:"imageSummaryList" type:"list"`
+ // The list of image pipelines.
+ ImagePipelineList []*ImagePipeline `locationName:"imagePipelineList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -16857,7 +20320,7 @@ type ListImageBuildVersionsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageBuildVersionsOutput) String() string {
+func (s ListImagePipelinesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -16866,43 +20329,52 @@ func (s ListImageBuildVersionsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageBuildVersionsOutput) GoString() string {
+func (s ListImagePipelinesOutput) GoString() string {
return s.String()
}
-// SetImageSummaryList sets the ImageSummaryList field's value.
-func (s *ListImageBuildVersionsOutput) SetImageSummaryList(v []*ImageSummary) *ListImageBuildVersionsOutput {
- s.ImageSummaryList = v
+// SetImagePipelineList sets the ImagePipelineList field's value.
+func (s *ListImagePipelinesOutput) SetImagePipelineList(v []*ImagePipeline) *ListImagePipelinesOutput {
+ s.ImagePipelineList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageBuildVersionsOutput) SetNextToken(v string) *ListImageBuildVersionsOutput {
+func (s *ListImagePipelinesOutput) SetNextToken(v string) *ListImagePipelinesOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListImageBuildVersionsOutput) SetRequestId(v string) *ListImageBuildVersionsOutput {
+func (s *ListImagePipelinesOutput) SetRequestId(v string) *ListImagePipelinesOutput {
s.RequestId = &v
return s
}
-type ListImagePackagesInput struct {
+type ListImageRecipesInput struct {
_ struct{} `type:"structure"`
- // Filter results for the ListImagePackages request by the Image Build Version
- // ARN
+ // Use the following filters to streamline results:
//
- // ImageBuildVersionArn is a required field
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string" required:"true"`
+ // * name
+ //
+ // * parentImage
+ //
+ // * platform
+ Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+
+ // The owner defines which image recipes you want to list. By default, this
+ // request will only show image recipes owned by your account. You can use this
+ // field to specify if you want to view image recipes owned by yourself, by
+ // Amazon, or those image recipes that have been shared with you by other customers.
+ Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
}
// String returns the string representation.
@@ -16910,7 +20382,7 @@ type ListImagePackagesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePackagesInput) String() string {
+func (s ListImageRecipesInput) String() string {
return awsutil.Prettify(s)
}
@@ -16919,15 +20391,15 @@ func (s ListImagePackagesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePackagesInput) GoString() string {
+func (s ListImageRecipesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImagePackagesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImagePackagesInput"}
- if s.ImageBuildVersionArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImageBuildVersionArn"))
+func (s *ListImageRecipesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImageRecipesInput"}
+ if s.Filters != nil && len(s.Filters) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
@@ -16935,6 +20407,16 @@ func (s *ListImagePackagesInput) Validate() error {
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -16942,32 +20424,38 @@ func (s *ListImagePackagesInput) Validate() error {
return nil
}
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *ListImagePackagesInput) SetImageBuildVersionArn(v string) *ListImagePackagesInput {
- s.ImageBuildVersionArn = &v
+// SetFilters sets the Filters field's value.
+func (s *ListImageRecipesInput) SetFilters(v []*Filter) *ListImageRecipesInput {
+ s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListImagePackagesInput) SetMaxResults(v int64) *ListImagePackagesInput {
+func (s *ListImageRecipesInput) SetMaxResults(v int64) *ListImageRecipesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImagePackagesInput) SetNextToken(v string) *ListImagePackagesInput {
+func (s *ListImageRecipesInput) SetNextToken(v string) *ListImageRecipesInput {
s.NextToken = &v
return s
}
-type ListImagePackagesOutput struct {
+// SetOwner sets the Owner field's value.
+func (s *ListImageRecipesInput) SetOwner(v string) *ListImageRecipesInput {
+ s.Owner = &v
+ return s
+}
+
+type ListImageRecipesOutput struct {
_ struct{} `type:"structure"`
- // The list of Image Packages returned in the response.
- ImagePackageList []*ImagePackage `locationName:"imagePackageList" type:"list"`
+ // The list of image pipelines.
+ ImageRecipeSummaryList []*ImageRecipeSummary `locationName:"imageRecipeSummaryList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -16980,7 +20468,7 @@ type ListImagePackagesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePackagesOutput) String() string {
+func (s ListImageRecipesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -16989,48 +20477,37 @@ func (s ListImagePackagesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePackagesOutput) GoString() string {
+func (s ListImageRecipesOutput) GoString() string {
return s.String()
}
-// SetImagePackageList sets the ImagePackageList field's value.
-func (s *ListImagePackagesOutput) SetImagePackageList(v []*ImagePackage) *ListImagePackagesOutput {
- s.ImagePackageList = v
+// SetImageRecipeSummaryList sets the ImageRecipeSummaryList field's value.
+func (s *ListImageRecipesOutput) SetImageRecipeSummaryList(v []*ImageRecipeSummary) *ListImageRecipesOutput {
+ s.ImageRecipeSummaryList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImagePackagesOutput) SetNextToken(v string) *ListImagePackagesOutput {
+func (s *ListImageRecipesOutput) SetNextToken(v string) *ListImageRecipesOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListImagePackagesOutput) SetRequestId(v string) *ListImagePackagesOutput {
+func (s *ListImageRecipesOutput) SetRequestId(v string) *ListImageRecipesOutput {
s.RequestId = &v
return s
}
-type ListImagePipelineImagesInput struct {
+type ListImageScanFindingAggregationsInput struct {
_ struct{} `type:"structure"`
- // Use the following filters to streamline results:
- //
- // * name
- //
- // * version
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
-
- // The Amazon Resource Name (ARN) of the image pipeline whose images you want
- // to view.
- //
- // ImagePipelineArn is a required field
- ImagePipelineArn *string `locationName:"imagePipelineArn" type:"string" required:"true"`
-
- // The maximum items to return in a request.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+ // A filter name and value pair that is used to return a more specific list
+ // of results from a list operation. Filters can be used to match a set of resources
+ // by specific criteria, such as tags, attributes, or IDs.
+ Filter *Filter `locationName:"filter" type:"structure"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -17040,7 +20517,7 @@ type ListImagePipelineImagesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelineImagesInput) String() string {
+func (s ListImageScanFindingAggregationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -17049,33 +20526,19 @@ func (s ListImagePipelineImagesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelineImagesInput) GoString() string {
+func (s ListImageScanFindingAggregationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImagePipelineImagesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImagePipelineImagesInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
- if s.ImagePipelineArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ImagePipelineArn"))
- }
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
+func (s *ListImageScanFindingAggregationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImageScanFindingAggregationsInput"}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
+ if s.Filter != nil {
+ if err := s.Filter.Validate(); err != nil {
+ invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
}
}
@@ -17085,43 +20548,50 @@ func (s *ListImagePipelineImagesInput) Validate() error {
return nil
}
-// SetFilters sets the Filters field's value.
-func (s *ListImagePipelineImagesInput) SetFilters(v []*Filter) *ListImagePipelineImagesInput {
- s.Filters = v
- return s
-}
-
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *ListImagePipelineImagesInput) SetImagePipelineArn(v string) *ListImagePipelineImagesInput {
- s.ImagePipelineArn = &v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListImagePipelineImagesInput) SetMaxResults(v int64) *ListImagePipelineImagesInput {
- s.MaxResults = &v
+// SetFilter sets the Filter field's value.
+func (s *ListImageScanFindingAggregationsInput) SetFilter(v *Filter) *ListImageScanFindingAggregationsInput {
+ s.Filter = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImagePipelineImagesInput) SetNextToken(v string) *ListImagePipelineImagesInput {
+func (s *ListImageScanFindingAggregationsInput) SetNextToken(v string) *ListImageScanFindingAggregationsInput {
s.NextToken = &v
return s
}
-type ListImagePipelineImagesOutput struct {
+type ListImageScanFindingAggregationsOutput struct {
_ struct{} `type:"structure"`
- // The list of images built by this pipeline.
- ImageSummaryList []*ImageSummary `locationName:"imageSummaryList" type:"list"`
+ // The aggregation type specifies what type of key is used to group the image
+ // scan findings. Image Builder returns results based on the request filter.
+ // If you didn't specify a filter in the request, the type defaults to accountId.
+ //
+ // Aggregation types
+ //
+ // * accountId
+ //
+ // * imageBuildVersionArn
+ //
+ // * imagePipelineArn
+ //
+ // * vulnerabilityId
+ //
+ // Each aggregation includes counts by severity level for medium severity and
+ // higher level findings, plus a total for all of the findings for each key
+ // value.
+ AggregationType *string `locationName:"aggregationType" min:"1" type:"string"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
+
+ // An array of image scan finding aggregations that match the filter criteria.
+ Responses []*ImageScanFindingAggregation `locationName:"responses" type:"list"`
}
// String returns the string representation.
@@ -17129,7 +20599,7 @@ type ListImagePipelineImagesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelineImagesOutput) String() string {
+func (s ListImageScanFindingAggregationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -17138,50 +20608,55 @@ func (s ListImagePipelineImagesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelineImagesOutput) GoString() string {
+func (s ListImageScanFindingAggregationsOutput) GoString() string {
return s.String()
}
-// SetImageSummaryList sets the ImageSummaryList field's value.
-func (s *ListImagePipelineImagesOutput) SetImageSummaryList(v []*ImageSummary) *ListImagePipelineImagesOutput {
- s.ImageSummaryList = v
+// SetAggregationType sets the AggregationType field's value.
+func (s *ListImageScanFindingAggregationsOutput) SetAggregationType(v string) *ListImageScanFindingAggregationsOutput {
+ s.AggregationType = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImagePipelineImagesOutput) SetNextToken(v string) *ListImagePipelineImagesOutput {
+func (s *ListImageScanFindingAggregationsOutput) SetNextToken(v string) *ListImageScanFindingAggregationsOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListImagePipelineImagesOutput) SetRequestId(v string) *ListImagePipelineImagesOutput {
+func (s *ListImageScanFindingAggregationsOutput) SetRequestId(v string) *ListImageScanFindingAggregationsOutput {
s.RequestId = &v
return s
}
-type ListImagePipelinesInput struct {
+// SetResponses sets the Responses field's value.
+func (s *ListImageScanFindingAggregationsOutput) SetResponses(v []*ImageScanFindingAggregation) *ListImageScanFindingAggregationsOutput {
+ s.Responses = v
+ return s
+}
+
+type ListImageScanFindingsInput struct {
_ struct{} `type:"structure"`
- // Use the following filters to streamline results:
- //
- // * description
+ // An array of name value pairs that you can use to filter your results. You
+ // can use the following filters to streamline results:
//
- // * distributionConfigurationArn
+ // * imageBuildVersionArn
//
- // * imageRecipeArn
+ // * imagePipelineArn
//
- // * infrastructureConfigurationArn
+ // * vulnerabilityId
//
- // * name
+ // * severity
//
- // * status
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
+ // If you don't request a filter, then all findings in your account are listed.
+ Filters []*ImageScanFindingsFilter `locationName:"filters" min:"1" type:"list"`
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -17191,7 +20666,7 @@ type ListImagePipelinesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelinesInput) String() string {
+func (s ListImageScanFindingsInput) String() string {
return awsutil.Prettify(s)
}
@@ -17200,13 +20675,13 @@ func (s ListImagePipelinesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelinesInput) GoString() string {
+func (s ListImageScanFindingsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImagePipelinesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImagePipelinesInput"}
+func (s *ListImageScanFindingsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImageScanFindingsInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
@@ -17234,31 +20709,31 @@ func (s *ListImagePipelinesInput) Validate() error {
}
// SetFilters sets the Filters field's value.
-func (s *ListImagePipelinesInput) SetFilters(v []*Filter) *ListImagePipelinesInput {
+func (s *ListImageScanFindingsInput) SetFilters(v []*ImageScanFindingsFilter) *ListImageScanFindingsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListImagePipelinesInput) SetMaxResults(v int64) *ListImagePipelinesInput {
+func (s *ListImageScanFindingsInput) SetMaxResults(v int64) *ListImageScanFindingsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImagePipelinesInput) SetNextToken(v string) *ListImagePipelinesInput {
+func (s *ListImageScanFindingsInput) SetNextToken(v string) *ListImageScanFindingsInput {
s.NextToken = &v
return s
}
-type ListImagePipelinesOutput struct {
+type ListImageScanFindingsOutput struct {
_ struct{} `type:"structure"`
- // The list of image pipelines.
- ImagePipelineList []*ImagePipeline `locationName:"imagePipelineList" type:"list"`
+ // The image scan findings for your account that meet your request filter criteria.
+ Findings []*ImageScanFinding `locationName:"findings" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -17271,7 +20746,7 @@ type ListImagePipelinesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelinesOutput) String() string {
+func (s ListImageScanFindingsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -17280,51 +20755,61 @@ func (s ListImagePipelinesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagePipelinesOutput) GoString() string {
+func (s ListImageScanFindingsOutput) GoString() string {
return s.String()
}
-// SetImagePipelineList sets the ImagePipelineList field's value.
-func (s *ListImagePipelinesOutput) SetImagePipelineList(v []*ImagePipeline) *ListImagePipelinesOutput {
- s.ImagePipelineList = v
+// SetFindings sets the Findings field's value.
+func (s *ListImageScanFindingsOutput) SetFindings(v []*ImageScanFinding) *ListImageScanFindingsOutput {
+ s.Findings = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImagePipelinesOutput) SetNextToken(v string) *ListImagePipelinesOutput {
+func (s *ListImageScanFindingsOutput) SetNextToken(v string) *ListImageScanFindingsOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListImagePipelinesOutput) SetRequestId(v string) *ListImagePipelinesOutput {
+func (s *ListImageScanFindingsOutput) SetRequestId(v string) *ListImageScanFindingsOutput {
s.RequestId = &v
return s
}
-type ListImageRecipesInput struct {
+type ListImagesInput struct {
_ struct{} `type:"structure"`
+ // Requests a list of images with a specific recipe name.
+ ByName *bool `locationName:"byName" type:"boolean"`
+
// Use the following filters to streamline results:
//
// * name
//
- // * parentImage
+ // * osVersion
//
// * platform
+ //
+ // * type
+ //
+ // * version
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
+ // Includes deprecated images in the response list.
+ IncludeDeprecated *bool `locationName:"includeDeprecated" type:"boolean"`
+
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // The owner defines which image recipes you want to list. By default, this
- // request will only show image recipes owned by your account. You can use this
- // field to specify if you want to view image recipes owned by yourself, by
- // Amazon, or those image recipes that have been shared with you by other customers.
+ // The owner defines which images you want to list. By default, this request
+ // will only show images owned by your account. You can use this field to specify
+ // if you want to view images owned by yourself, by Amazon, or those images
+ // that have been shared with you by other customers.
Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
}
@@ -17333,7 +20818,7 @@ type ListImageRecipesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageRecipesInput) String() string {
+func (s ListImagesInput) String() string {
return awsutil.Prettify(s)
}
@@ -17342,13 +20827,13 @@ func (s ListImageRecipesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageRecipesInput) GoString() string {
+func (s ListImagesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImageRecipesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImageRecipesInput"}
+func (s *ListImagesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListImagesInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
@@ -17375,38 +20860,58 @@ func (s *ListImageRecipesInput) Validate() error {
return nil
}
+// SetByName sets the ByName field's value.
+func (s *ListImagesInput) SetByName(v bool) *ListImagesInput {
+ s.ByName = &v
+ return s
+}
+
// SetFilters sets the Filters field's value.
-func (s *ListImageRecipesInput) SetFilters(v []*Filter) *ListImageRecipesInput {
+func (s *ListImagesInput) SetFilters(v []*Filter) *ListImagesInput {
s.Filters = v
return s
}
+// SetIncludeDeprecated sets the IncludeDeprecated field's value.
+func (s *ListImagesInput) SetIncludeDeprecated(v bool) *ListImagesInput {
+ s.IncludeDeprecated = &v
+ return s
+}
+
// SetMaxResults sets the MaxResults field's value.
-func (s *ListImageRecipesInput) SetMaxResults(v int64) *ListImageRecipesInput {
+func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageRecipesInput) SetNextToken(v string) *ListImageRecipesInput {
+func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput {
s.NextToken = &v
return s
}
// SetOwner sets the Owner field's value.
-func (s *ListImageRecipesInput) SetOwner(v string) *ListImageRecipesInput {
+func (s *ListImagesInput) SetOwner(v string) *ListImagesInput {
s.Owner = &v
return s
}
-type ListImageRecipesOutput struct {
+type ListImagesOutput struct {
_ struct{} `type:"structure"`
- // The list of image pipelines.
- ImageRecipeSummaryList []*ImageRecipeSummary `locationName:"imageRecipeSummaryList" type:"list"`
+ // The list of image semantic versions.
+ //
+ // The semantic version has four nodes: ../. You
+ // can assign values for the first three, and can filter on all of them.
+ //
+ // Filtering: With semantic versioning, you have the flexibility to use wildcards
+ // (x) to specify the most recent versions or nodes when selecting the base
+ // image or components for your recipe. When you use a wildcard in any node,
+ // all nodes to the right of the first wildcard must also be wildcards.
+ ImageVersionList []*ImageVersion `locationName:"imageVersionList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -17419,7 +20924,7 @@ type ListImageRecipesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageRecipesOutput) String() string {
+func (s ListImagesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -17428,37 +20933,38 @@ func (s ListImageRecipesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageRecipesOutput) GoString() string {
+func (s ListImagesOutput) GoString() string {
return s.String()
}
-// SetImageRecipeSummaryList sets the ImageRecipeSummaryList field's value.
-func (s *ListImageRecipesOutput) SetImageRecipeSummaryList(v []*ImageRecipeSummary) *ListImageRecipesOutput {
- s.ImageRecipeSummaryList = v
+// SetImageVersionList sets the ImageVersionList field's value.
+func (s *ListImagesOutput) SetImageVersionList(v []*ImageVersion) *ListImagesOutput {
+ s.ImageVersionList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageRecipesOutput) SetNextToken(v string) *ListImageRecipesOutput {
+func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListImageRecipesOutput) SetRequestId(v string) *ListImageRecipesOutput {
+func (s *ListImagesOutput) SetRequestId(v string) *ListImagesOutput {
s.RequestId = &v
return s
}
-type ListImageScanFindingAggregationsInput struct {
+type ListInfrastructureConfigurationsInput struct {
_ struct{} `type:"structure"`
- // A filter name and value pair that is used to return a more specific list
- // of results from a list operation. Filters can be used to match a set of resources
- // by specific criteria, such as tags, attributes, or IDs.
- Filter *Filter `locationName:"filter" type:"structure"`
+ // You can filter on name to streamline results.
+ Filters []*Filter `locationName:"filters" min:"1" type:"list"`
+
+ // The maximum items to return in a request.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -17468,7 +20974,7 @@ type ListImageScanFindingAggregationsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingAggregationsInput) String() string {
+func (s ListInfrastructureConfigurationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -17477,19 +20983,30 @@ func (s ListImageScanFindingAggregationsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingAggregationsInput) GoString() string {
+func (s ListInfrastructureConfigurationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImageScanFindingAggregationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImageScanFindingAggregationsInput"}
+func (s *ListInfrastructureConfigurationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListInfrastructureConfigurationsInput"}
+ if s.Filters != nil && len(s.Filters) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.Filter != nil {
- if err := s.Filter.Validate(); err != nil {
- invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
}
}
@@ -17499,50 +21016,37 @@ func (s *ListImageScanFindingAggregationsInput) Validate() error {
return nil
}
-// SetFilter sets the Filter field's value.
-func (s *ListImageScanFindingAggregationsInput) SetFilter(v *Filter) *ListImageScanFindingAggregationsInput {
- s.Filter = v
+// SetFilters sets the Filters field's value.
+func (s *ListInfrastructureConfigurationsInput) SetFilters(v []*Filter) *ListInfrastructureConfigurationsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListInfrastructureConfigurationsInput) SetMaxResults(v int64) *ListInfrastructureConfigurationsInput {
+ s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageScanFindingAggregationsInput) SetNextToken(v string) *ListImageScanFindingAggregationsInput {
+func (s *ListInfrastructureConfigurationsInput) SetNextToken(v string) *ListInfrastructureConfigurationsInput {
s.NextToken = &v
return s
}
-type ListImageScanFindingAggregationsOutput struct {
+type ListInfrastructureConfigurationsOutput struct {
_ struct{} `type:"structure"`
- // The aggregation type specifies what type of key is used to group the image
- // scan findings. Image Builder returns results based on the request filter.
- // If you didn't specify a filter in the request, the type defaults to accountId.
- //
- // Aggregation types
- //
- // * accountId
- //
- // * imageBuildVersionArn
- //
- // * imagePipelineArn
- //
- // * vulnerabilityId
- //
- // Each aggregation includes counts by severity level for medium severity and
- // higher level findings, plus a total for all of the findings for each key
- // value.
- AggregationType *string `locationName:"aggregationType" min:"1" type:"string"`
+ // The list of infrastructure configurations.
+ InfrastructureConfigurationSummaryList []*InfrastructureConfigurationSummary `locationName:"infrastructureConfigurationSummaryList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
// The request ID that uniquely identifies this request.
RequestId *string `locationName:"requestId" min:"1" type:"string"`
-
- // An array of image scan finding aggregations that match the filter criteria.
- Responses []*ImageScanFindingAggregation `locationName:"responses" type:"list"`
}
// String returns the string representation.
@@ -17550,7 +21054,7 @@ type ListImageScanFindingAggregationsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingAggregationsOutput) String() string {
+func (s ListInfrastructureConfigurationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -17559,57 +21063,52 @@ func (s ListImageScanFindingAggregationsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingAggregationsOutput) GoString() string {
+func (s ListInfrastructureConfigurationsOutput) GoString() string {
return s.String()
}
-// SetAggregationType sets the AggregationType field's value.
-func (s *ListImageScanFindingAggregationsOutput) SetAggregationType(v string) *ListImageScanFindingAggregationsOutput {
- s.AggregationType = &v
+// SetInfrastructureConfigurationSummaryList sets the InfrastructureConfigurationSummaryList field's value.
+func (s *ListInfrastructureConfigurationsOutput) SetInfrastructureConfigurationSummaryList(v []*InfrastructureConfigurationSummary) *ListInfrastructureConfigurationsOutput {
+ s.InfrastructureConfigurationSummaryList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageScanFindingAggregationsOutput) SetNextToken(v string) *ListImageScanFindingAggregationsOutput {
+func (s *ListInfrastructureConfigurationsOutput) SetNextToken(v string) *ListInfrastructureConfigurationsOutput {
s.NextToken = &v
return s
}
// SetRequestId sets the RequestId field's value.
-func (s *ListImageScanFindingAggregationsOutput) SetRequestId(v string) *ListImageScanFindingAggregationsOutput {
+func (s *ListInfrastructureConfigurationsOutput) SetRequestId(v string) *ListInfrastructureConfigurationsOutput {
s.RequestId = &v
return s
}
-// SetResponses sets the Responses field's value.
-func (s *ListImageScanFindingAggregationsOutput) SetResponses(v []*ImageScanFindingAggregation) *ListImageScanFindingAggregationsOutput {
- s.Responses = v
- return s
-}
-
-type ListImageScanFindingsInput struct {
+type ListLifecycleExecutionResourcesInput struct {
_ struct{} `type:"structure"`
- // An array of name value pairs that you can use to filter your results. You
- // can use the following filters to streamline results:
- //
- // * imageBuildVersionArn
- //
- // * imagePipelineArn
- //
- // * vulnerabilityId
- //
- // * severity
+ // Use the unique identifier for a runtime instance of the lifecycle policy
+ // to get runtime details.
//
- // If you don't request a filter, then all findings in your account are listed.
- Filters []*ImageScanFindingsFilter `locationName:"filters" min:"1" type:"list"`
+ // LifecycleExecutionId is a required field
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string" required:"true"`
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+
+ // You can leave this empty to get a list of Image Builder resources that were
+ // identified for lifecycle actions.
+ //
+ // To get a list of associated resources that are impacted for an individual
+ // resource (the parent), specify its Amazon Resource Name (ARN). Associated
+ // resources are produced from your image and distributed when you run a build,
+ // such as AMIs or container images stored in ECR repositories.
+ ParentResourceId *string `locationName:"parentResourceId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -17617,7 +21116,7 @@ type ListImageScanFindingsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingsInput) String() string {
+func (s ListLifecycleExecutionResourcesInput) String() string {
return awsutil.Prettify(s)
}
@@ -17626,15 +21125,15 @@ func (s ListImageScanFindingsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingsInput) GoString() string {
+func (s ListLifecycleExecutionResourcesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImageScanFindingsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImageScanFindingsInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
+func (s *ListLifecycleExecutionResourcesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListLifecycleExecutionResourcesInput"}
+ if s.LifecycleExecutionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("LifecycleExecutionId"))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
@@ -17642,15 +21141,8 @@ func (s *ListImageScanFindingsInput) Validate() error {
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.ParentResourceId != nil && len(*s.ParentResourceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ParentResourceId", 1))
}
if invalidParams.Len() > 0 {
@@ -17659,37 +21151,46 @@ func (s *ListImageScanFindingsInput) Validate() error {
return nil
}
-// SetFilters sets the Filters field's value.
-func (s *ListImageScanFindingsInput) SetFilters(v []*ImageScanFindingsFilter) *ListImageScanFindingsInput {
- s.Filters = v
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *ListLifecycleExecutionResourcesInput) SetLifecycleExecutionId(v string) *ListLifecycleExecutionResourcesInput {
+ s.LifecycleExecutionId = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListImageScanFindingsInput) SetMaxResults(v int64) *ListImageScanFindingsInput {
+func (s *ListLifecycleExecutionResourcesInput) SetMaxResults(v int64) *ListLifecycleExecutionResourcesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageScanFindingsInput) SetNextToken(v string) *ListImageScanFindingsInput {
+func (s *ListLifecycleExecutionResourcesInput) SetNextToken(v string) *ListLifecycleExecutionResourcesInput {
s.NextToken = &v
return s
}
-type ListImageScanFindingsOutput struct {
+// SetParentResourceId sets the ParentResourceId field's value.
+func (s *ListLifecycleExecutionResourcesInput) SetParentResourceId(v string) *ListLifecycleExecutionResourcesInput {
+ s.ParentResourceId = &v
+ return s
+}
+
+type ListLifecycleExecutionResourcesOutput struct {
_ struct{} `type:"structure"`
- // The image scan findings for your account that meet your request filter criteria.
- Findings []*ImageScanFinding `locationName:"findings" type:"list"`
+ // Runtime details for the specified runtime instance of the lifecycle policy.
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string"`
+
+ // The current state of the lifecycle runtime instance.
+ LifecycleExecutionState *LifecycleExecutionState `locationName:"lifecycleExecutionState" type:"structure"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // A list of resources that were identified for lifecycle actions.
+ Resources []*LifecycleExecutionResource `locationName:"resources" type:"list"`
}
// String returns the string representation.
@@ -17697,7 +21198,7 @@ type ListImageScanFindingsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingsOutput) String() string {
+func (s ListLifecycleExecutionResourcesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -17706,62 +21207,49 @@ func (s ListImageScanFindingsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImageScanFindingsOutput) GoString() string {
+func (s ListLifecycleExecutionResourcesOutput) GoString() string {
return s.String()
}
-// SetFindings sets the Findings field's value.
-func (s *ListImageScanFindingsOutput) SetFindings(v []*ImageScanFinding) *ListImageScanFindingsOutput {
- s.Findings = v
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *ListLifecycleExecutionResourcesOutput) SetLifecycleExecutionId(v string) *ListLifecycleExecutionResourcesOutput {
+ s.LifecycleExecutionId = &v
+ return s
+}
+
+// SetLifecycleExecutionState sets the LifecycleExecutionState field's value.
+func (s *ListLifecycleExecutionResourcesOutput) SetLifecycleExecutionState(v *LifecycleExecutionState) *ListLifecycleExecutionResourcesOutput {
+ s.LifecycleExecutionState = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImageScanFindingsOutput) SetNextToken(v string) *ListImageScanFindingsOutput {
+func (s *ListLifecycleExecutionResourcesOutput) SetNextToken(v string) *ListLifecycleExecutionResourcesOutput {
s.NextToken = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *ListImageScanFindingsOutput) SetRequestId(v string) *ListImageScanFindingsOutput {
- s.RequestId = &v
+// SetResources sets the Resources field's value.
+func (s *ListLifecycleExecutionResourcesOutput) SetResources(v []*LifecycleExecutionResource) *ListLifecycleExecutionResourcesOutput {
+ s.Resources = v
return s
}
-type ListImagesInput struct {
+type ListLifecycleExecutionsInput struct {
_ struct{} `type:"structure"`
- // Requests a list of images with a specific recipe name.
- ByName *bool `locationName:"byName" type:"boolean"`
-
- // Use the following filters to streamline results:
- //
- // * name
- //
- // * osVersion
- //
- // * platform
- //
- // * type
- //
- // * version
- Filters []*Filter `locationName:"filters" min:"1" type:"list"`
-
- // Includes deprecated images in the response list.
- IncludeDeprecated *bool `locationName:"includeDeprecated" type:"boolean"`
-
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // The owner defines which images you want to list. By default, this request
- // will only show images owned by your account. You can use this field to specify
- // if you want to view images owned by yourself, by Amazon, or those images
- // that have been shared with you by other customers.
- Owner *string `locationName:"owner" type:"string" enum:"Ownership"`
+ // The Amazon Resource Name (ARN) of the resource for which to get a list of
+ // lifecycle runtime instances.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -17769,7 +21257,7 @@ type ListImagesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagesInput) String() string {
+func (s ListLifecycleExecutionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -17778,31 +21266,21 @@ func (s ListImagesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagesInput) GoString() string {
+func (s ListLifecycleExecutionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListImagesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListImagesInput"}
- if s.Filters != nil && len(s.Filters) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
- }
+func (s *ListLifecycleExecutionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListLifecycleExecutionsInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
}
if invalidParams.Len() > 0 {
@@ -17811,63 +21289,34 @@ func (s *ListImagesInput) Validate() error {
return nil
}
-// SetByName sets the ByName field's value.
-func (s *ListImagesInput) SetByName(v bool) *ListImagesInput {
- s.ByName = &v
- return s
-}
-
-// SetFilters sets the Filters field's value.
-func (s *ListImagesInput) SetFilters(v []*Filter) *ListImagesInput {
- s.Filters = v
- return s
-}
-
-// SetIncludeDeprecated sets the IncludeDeprecated field's value.
-func (s *ListImagesInput) SetIncludeDeprecated(v bool) *ListImagesInput {
- s.IncludeDeprecated = &v
- return s
-}
-
// SetMaxResults sets the MaxResults field's value.
-func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput {
+func (s *ListLifecycleExecutionsInput) SetMaxResults(v int64) *ListLifecycleExecutionsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput {
+func (s *ListLifecycleExecutionsInput) SetNextToken(v string) *ListLifecycleExecutionsInput {
s.NextToken = &v
return s
}
-// SetOwner sets the Owner field's value.
-func (s *ListImagesInput) SetOwner(v string) *ListImagesInput {
- s.Owner = &v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListLifecycleExecutionsInput) SetResourceArn(v string) *ListLifecycleExecutionsInput {
+ s.ResourceArn = &v
return s
}
-type ListImagesOutput struct {
+type ListLifecycleExecutionsOutput struct {
_ struct{} `type:"structure"`
- // The list of image semantic versions.
- //
- // The semantic version has four nodes: ../. You
- // can assign values for the first three, and can filter on all of them.
- //
- // Filtering: With semantic versioning, you have the flexibility to use wildcards
- // (x) to specify the most recent versions or nodes when selecting the base
- // image or components for your recipe. When you use a wildcard in any node,
- // all nodes to the right of the first wildcard must also be wildcards.
- ImageVersionList []*ImageVersion `locationName:"imageVersionList" type:"list"`
+ // A list of lifecycle runtime instances for the specified resource.
+ LifecycleExecutions []*LifecycleExecution `locationName:"lifecycleExecutions" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -17875,7 +21324,7 @@ type ListImagesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagesOutput) String() string {
+func (s ListLifecycleExecutionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -17884,38 +21333,32 @@ func (s ListImagesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListImagesOutput) GoString() string {
+func (s ListLifecycleExecutionsOutput) GoString() string {
return s.String()
}
-// SetImageVersionList sets the ImageVersionList field's value.
-func (s *ListImagesOutput) SetImageVersionList(v []*ImageVersion) *ListImagesOutput {
- s.ImageVersionList = v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput {
- s.NextToken = &v
+// SetLifecycleExecutions sets the LifecycleExecutions field's value.
+func (s *ListLifecycleExecutionsOutput) SetLifecycleExecutions(v []*LifecycleExecution) *ListLifecycleExecutionsOutput {
+ s.LifecycleExecutions = v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *ListImagesOutput) SetRequestId(v string) *ListImagesOutput {
- s.RequestId = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListLifecycleExecutionsOutput) SetNextToken(v string) *ListLifecycleExecutionsOutput {
+ s.NextToken = &v
return s
}
-type ListInfrastructureConfigurationsInput struct {
+type ListLifecyclePoliciesInput struct {
_ struct{} `type:"structure"`
- // You can filter on name to streamline results.
+ // Streamline results based on one of the following values: Name, Status.
Filters []*Filter `locationName:"filters" min:"1" type:"list"`
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -17925,7 +21368,7 @@ type ListInfrastructureConfigurationsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInfrastructureConfigurationsInput) String() string {
+func (s ListLifecyclePoliciesInput) String() string {
return awsutil.Prettify(s)
}
@@ -17934,13 +21377,13 @@ func (s ListInfrastructureConfigurationsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInfrastructureConfigurationsInput) GoString() string {
+func (s ListLifecyclePoliciesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListInfrastructureConfigurationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListInfrastructureConfigurationsInput"}
+func (s *ListLifecyclePoliciesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListLifecyclePoliciesInput"}
if s.Filters != nil && len(s.Filters) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
}
@@ -17968,36 +21411,34 @@ func (s *ListInfrastructureConfigurationsInput) Validate() error {
}
// SetFilters sets the Filters field's value.
-func (s *ListInfrastructureConfigurationsInput) SetFilters(v []*Filter) *ListInfrastructureConfigurationsInput {
+func (s *ListLifecyclePoliciesInput) SetFilters(v []*Filter) *ListLifecyclePoliciesInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListInfrastructureConfigurationsInput) SetMaxResults(v int64) *ListInfrastructureConfigurationsInput {
+func (s *ListLifecyclePoliciesInput) SetMaxResults(v int64) *ListLifecyclePoliciesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListInfrastructureConfigurationsInput) SetNextToken(v string) *ListInfrastructureConfigurationsInput {
+func (s *ListLifecyclePoliciesInput) SetNextToken(v string) *ListLifecyclePoliciesInput {
s.NextToken = &v
return s
}
-type ListInfrastructureConfigurationsOutput struct {
+type ListLifecyclePoliciesOutput struct {
_ struct{} `type:"structure"`
- // The list of infrastructure configurations.
- InfrastructureConfigurationSummaryList []*InfrastructureConfigurationSummary `locationName:"infrastructureConfigurationSummaryList" type:"list"`
+ // A list of lifecycle policies in your Amazon Web Services account that meet
+ // the criteria specified in the request.
+ LifecyclePolicySummaryList []*LifecyclePolicySummary `locationName:"lifecyclePolicySummaryList" type:"list"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
-
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -18005,7 +21446,7 @@ type ListInfrastructureConfigurationsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInfrastructureConfigurationsOutput) String() string {
+func (s ListLifecyclePoliciesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -18014,28 +21455,22 @@ func (s ListInfrastructureConfigurationsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInfrastructureConfigurationsOutput) GoString() string {
+func (s ListLifecyclePoliciesOutput) GoString() string {
return s.String()
}
-// SetInfrastructureConfigurationSummaryList sets the InfrastructureConfigurationSummaryList field's value.
-func (s *ListInfrastructureConfigurationsOutput) SetInfrastructureConfigurationSummaryList(v []*InfrastructureConfigurationSummary) *ListInfrastructureConfigurationsOutput {
- s.InfrastructureConfigurationSummaryList = v
+// SetLifecyclePolicySummaryList sets the LifecyclePolicySummaryList field's value.
+func (s *ListLifecyclePoliciesOutput) SetLifecyclePolicySummaryList(v []*LifecyclePolicySummary) *ListLifecyclePoliciesOutput {
+ s.LifecyclePolicySummaryList = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListInfrastructureConfigurationsOutput) SetNextToken(v string) *ListInfrastructureConfigurationsOutput {
+func (s *ListLifecyclePoliciesOutput) SetNextToken(v string) *ListLifecyclePoliciesOutput {
s.NextToken = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *ListInfrastructureConfigurationsOutput) SetRequestId(v string) *ListInfrastructureConfigurationsOutput {
- s.RequestId = &v
- return s
-}
-
type ListTagsForResourceInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -18128,7 +21563,7 @@ type ListWorkflowExecutionsInput struct {
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -18199,7 +21634,7 @@ type ListWorkflowExecutionsOutput struct {
Message *string `locationName:"message" type:"string"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -18265,7 +21700,7 @@ type ListWorkflowStepExecutionsInput struct {
// The maximum items to return in a request.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A token to specify where to start paginating. This is the NextToken from
+ // A token to specify where to start paginating. This is the nextToken from
// a previously truncated response.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -18342,7 +21777,7 @@ type ListWorkflowStepExecutionsOutput struct {
Message *string `locationName:"message" type:"string"`
// The next token used for paginated responses. When this field isn't empty,
- // there are additional elements that the service has'ot included in this request.
+ // there are additional elements that the service hasn't included in this request.
// Use this token with the next request to retrieve additional objects.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
@@ -19382,6 +22817,138 @@ func (s *ResourceNotFoundException) RequestID() string {
return s.RespMetadata.RequestID
}
+// The current state of an impacted resource.
+type ResourceState struct {
+ _ struct{} `type:"structure"`
+
+ // Shows the current lifecycle policy action that was applied to an impacted
+ // resource.
+ Status *string `locationName:"status" type:"string" enum:"ResourceStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceState) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceState) GoString() string {
+ return s.String()
+}
+
+// SetStatus sets the Status field's value.
+func (s *ResourceState) SetStatus(v string) *ResourceState {
+ s.Status = &v
+ return s
+}
+
+// Additional rules to specify resources that should be exempt from ad-hoc lifecycle
+// actions.
+type ResourceStateUpdateExclusionRules struct {
+ _ struct{} `type:"structure"`
+
+ // Defines criteria for AMIs that are excluded from lifecycle actions.
+ Amis *LifecyclePolicyDetailExclusionRulesAmis `locationName:"amis" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceStateUpdateExclusionRules) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceStateUpdateExclusionRules) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ResourceStateUpdateExclusionRules) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ResourceStateUpdateExclusionRules"}
+ if s.Amis != nil {
+ if err := s.Amis.Validate(); err != nil {
+ invalidParams.AddNested("Amis", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAmis sets the Amis field's value.
+func (s *ResourceStateUpdateExclusionRules) SetAmis(v *LifecyclePolicyDetailExclusionRulesAmis) *ResourceStateUpdateExclusionRules {
+ s.Amis = v
+ return s
+}
+
+// Specifies if the lifecycle policy should apply actions to selected resources.
+type ResourceStateUpdateIncludeResources struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies whether the lifecycle action should apply to distributed AMIs
+ Amis *bool `locationName:"amis" type:"boolean"`
+
+ // Specifies whether the lifecycle action should apply to distributed containers.
+ Containers *bool `locationName:"containers" type:"boolean"`
+
+ // Specifies whether the lifecycle action should apply to snapshots associated
+ // with distributed AMIs.
+ Snapshots *bool `locationName:"snapshots" type:"boolean"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceStateUpdateIncludeResources) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceStateUpdateIncludeResources) GoString() string {
+ return s.String()
+}
+
+// SetAmis sets the Amis field's value.
+func (s *ResourceStateUpdateIncludeResources) SetAmis(v bool) *ResourceStateUpdateIncludeResources {
+ s.Amis = &v
+ return s
+}
+
+// SetContainers sets the Containers field's value.
+func (s *ResourceStateUpdateIncludeResources) SetContainers(v bool) *ResourceStateUpdateIncludeResources {
+ s.Containers = &v
+ return s
+}
+
+// SetSnapshots sets the Snapshots field's value.
+func (s *ResourceStateUpdateIncludeResources) SetSnapshots(v bool) *ResourceStateUpdateIncludeResources {
+ s.Snapshots = &v
+ return s
+}
+
// Properties that configure export from your build instance to a compatible
// file format for your VM.
type S3ExportConfiguration struct {
@@ -19881,7 +23448,9 @@ func (s *SeverityCounts) SetMedium(v int64) *SeverityCounts {
type StartImagePipelineExecutionInput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
// The Amazon Resource Name (ARN) of the image pipeline that you want to manually
@@ -19919,35 +23488,203 @@ func (s *StartImagePipelineExecutionInput) Validate() error {
invalidParams.Add(request.NewErrParamRequired("ImagePipelineArn"))
}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *StartImagePipelineExecutionInput) SetClientToken(v string) *StartImagePipelineExecutionInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetImagePipelineArn sets the ImagePipelineArn field's value.
+func (s *StartImagePipelineExecutionInput) SetImagePipelineArn(v string) *StartImagePipelineExecutionInput {
+ s.ImagePipelineArn = &v
+ return s
+}
+
+type StartImagePipelineExecutionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The client token that uniquely identifies the request.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the image that the request created.
+ ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+
+ // The request ID that uniquely identifies this request.
+ RequestId *string `locationName:"requestId" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartImagePipelineExecutionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartImagePipelineExecutionOutput) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *StartImagePipelineExecutionOutput) SetClientToken(v string) *StartImagePipelineExecutionOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
+func (s *StartImagePipelineExecutionOutput) SetImageBuildVersionArn(v string) *StartImagePipelineExecutionOutput {
+ s.ImageBuildVersionArn = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *StartImagePipelineExecutionOutput) SetRequestId(v string) *StartImagePipelineExecutionOutput {
+ s.RequestId = &v
+ return s
+}
+
+type StartResourceStateUpdateInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // Skip action on the image resource and associated resources if specified exclusion
+ // rules are met.
+ ExclusionRules *ResourceStateUpdateExclusionRules `locationName:"exclusionRules" type:"structure"`
+
+ // The name or Amazon Resource Name (ARN) of the IAM role that’s used to update
+ // image state.
+ ExecutionRole *string `locationName:"executionRole" min:"1" type:"string"`
+
+ // A list of image resources to update state for.
+ IncludeResources *ResourceStateUpdateIncludeResources `locationName:"includeResources" type:"structure"`
+
+ // The ARN of the Image Builder resource that is updated. The state update might
+ // also impact associated resources.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
+
+ // Indicates the lifecycle action to take for this request.
+ //
+ // State is a required field
+ State *ResourceState `locationName:"state" type:"structure" required:"true"`
+
+ // The timestamp that indicates when resources are updated by a lifecycle action.
+ UpdateAt *time.Time `locationName:"updateAt" type:"timestamp"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartResourceStateUpdateInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartResourceStateUpdateInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartResourceStateUpdateInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartResourceStateUpdateInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.ExecutionRole != nil && len(*s.ExecutionRole) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 1))
+ }
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.State == nil {
+ invalidParams.Add(request.NewErrParamRequired("State"))
+ }
+ if s.ExclusionRules != nil {
+ if err := s.ExclusionRules.Validate(); err != nil {
+ invalidParams.AddNested("ExclusionRules", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *StartResourceStateUpdateInput) SetClientToken(v string) *StartResourceStateUpdateInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetExclusionRules sets the ExclusionRules field's value.
+func (s *StartResourceStateUpdateInput) SetExclusionRules(v *ResourceStateUpdateExclusionRules) *StartResourceStateUpdateInput {
+ s.ExclusionRules = v
+ return s
+}
+
+// SetExecutionRole sets the ExecutionRole field's value.
+func (s *StartResourceStateUpdateInput) SetExecutionRole(v string) *StartResourceStateUpdateInput {
+ s.ExecutionRole = &v
+ return s
+}
+
+// SetIncludeResources sets the IncludeResources field's value.
+func (s *StartResourceStateUpdateInput) SetIncludeResources(v *ResourceStateUpdateIncludeResources) *StartResourceStateUpdateInput {
+ s.IncludeResources = v
+ return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *StartImagePipelineExecutionInput) SetClientToken(v string) *StartImagePipelineExecutionInput {
- s.ClientToken = &v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *StartResourceStateUpdateInput) SetResourceArn(v string) *StartResourceStateUpdateInput {
+ s.ResourceArn = &v
return s
}
-// SetImagePipelineArn sets the ImagePipelineArn field's value.
-func (s *StartImagePipelineExecutionInput) SetImagePipelineArn(v string) *StartImagePipelineExecutionInput {
- s.ImagePipelineArn = &v
+// SetState sets the State field's value.
+func (s *StartResourceStateUpdateInput) SetState(v *ResourceState) *StartResourceStateUpdateInput {
+ s.State = v
return s
}
-type StartImagePipelineExecutionOutput struct {
- _ struct{} `type:"structure"`
+// SetUpdateAt sets the UpdateAt field's value.
+func (s *StartResourceStateUpdateInput) SetUpdateAt(v time.Time) *StartResourceStateUpdateInput {
+ s.UpdateAt = &v
+ return s
+}
- // The idempotency token used to make this request idempotent.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
+type StartResourceStateUpdateOutput struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the image that was created by this request.
- ImageBuildVersionArn *string `locationName:"imageBuildVersionArn" type:"string"`
+ // Identifies the lifecycle runtime instance that started the resource state
+ // update.
+ LifecycleExecutionId *string `locationName:"lifecycleExecutionId" type:"string"`
- // The request ID that uniquely identifies this request.
- RequestId *string `locationName:"requestId" min:"1" type:"string"`
+ // The requested ARN of the Image Builder resource for the asynchronous update.
+ ResourceArn *string `locationName:"resourceArn" type:"string"`
}
// String returns the string representation.
@@ -19955,7 +23692,7 @@ type StartImagePipelineExecutionOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StartImagePipelineExecutionOutput) String() string {
+func (s StartResourceStateUpdateOutput) String() string {
return awsutil.Prettify(s)
}
@@ -19964,25 +23701,19 @@ func (s StartImagePipelineExecutionOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StartImagePipelineExecutionOutput) GoString() string {
+func (s StartResourceStateUpdateOutput) GoString() string {
return s.String()
}
-// SetClientToken sets the ClientToken field's value.
-func (s *StartImagePipelineExecutionOutput) SetClientToken(v string) *StartImagePipelineExecutionOutput {
- s.ClientToken = &v
- return s
-}
-
-// SetImageBuildVersionArn sets the ImageBuildVersionArn field's value.
-func (s *StartImagePipelineExecutionOutput) SetImageBuildVersionArn(v string) *StartImagePipelineExecutionOutput {
- s.ImageBuildVersionArn = &v
+// SetLifecycleExecutionId sets the LifecycleExecutionId field's value.
+func (s *StartResourceStateUpdateOutput) SetLifecycleExecutionId(v string) *StartResourceStateUpdateOutput {
+ s.LifecycleExecutionId = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *StartImagePipelineExecutionOutput) SetRequestId(v string) *StartImagePipelineExecutionOutput {
- s.RequestId = &v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *StartResourceStateUpdateOutput) SetResourceArn(v string) *StartResourceStateUpdateOutput {
+ s.ResourceArn = &v
return s
}
@@ -20265,7 +23996,9 @@ func (s UntagResourceOutput) GoString() string {
type UpdateDistributionConfigurationInput struct {
_ struct{} `type:"structure"`
- // The idempotency token of the distribution configuration.
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
// The description of the distribution configuration.
@@ -20360,7 +24093,7 @@ func (s *UpdateDistributionConfigurationInput) SetDistributions(v []*Distributio
type UpdateDistributionConfigurationOutput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
+ // The client token that uniquely identifies the request.
ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the distribution configuration that was
@@ -20410,7 +24143,9 @@ func (s *UpdateDistributionConfigurationOutput) SetRequestId(v string) *UpdateDi
type UpdateImagePipelineInput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
// The Amazon Resource Name (ARN) of the container pipeline to update.
@@ -20588,7 +24323,7 @@ func (s *UpdateImagePipelineInput) SetStatus(v string) *UpdateImagePipelineInput
type UpdateImagePipelineOutput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
+ // The client token that uniquely identifies the request.
ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the image pipeline that was updated by
@@ -20638,7 +24373,9 @@ func (s *UpdateImagePipelineOutput) SetRequestId(v string) *UpdateImagePipelineO
type UpdateInfrastructureConfigurationInput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
// The description of the infrastructure configuration.
@@ -20848,7 +24585,7 @@ func (s *UpdateInfrastructureConfigurationInput) SetTerminateInstanceOnFailure(v
type UpdateInfrastructureConfigurationOutput struct {
_ struct{} `type:"structure"`
- // The idempotency token used to make this request idempotent.
+ // The client token that uniquely identifies the request.
ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the infrastructure configuration that was
@@ -20895,6 +24632,196 @@ func (s *UpdateInfrastructureConfigurationOutput) SetRequestId(v string) *Update
return s
}
+type UpdateLifecyclePolicyInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier you provide to ensure idempotency of the
+ // request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html)
+ // in the Amazon EC2 API Reference.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // Optional description for the lifecycle policy.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The name of the IAM role that Image Builder should use to update the lifecycle
+ // policy.
+ //
+ // ExecutionRole is a required field
+ ExecutionRole *string `locationName:"executionRole" min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) of the lifecycle policy resource.
+ //
+ // LifecyclePolicyArn is a required field
+ LifecyclePolicyArn *string `locationName:"lifecyclePolicyArn" type:"string" required:"true"`
+
+ // The configuration details for a lifecycle policy resource.
+ //
+ // PolicyDetails is a required field
+ PolicyDetails []*LifecyclePolicyDetail `locationName:"policyDetails" min:"1" type:"list" required:"true"`
+
+ // Selection criteria for resources that the lifecycle policy applies to.
+ //
+ // ResourceSelection is a required field
+ ResourceSelection *LifecyclePolicyResourceSelection `locationName:"resourceSelection" type:"structure" required:"true"`
+
+ // The type of image resource that the lifecycle policy applies to.
+ //
+ // ResourceType is a required field
+ ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"LifecyclePolicyResourceType"`
+
+ // Indicates whether the lifecycle policy resource is enabled.
+ Status *string `locationName:"status" type:"string" enum:"LifecyclePolicyStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateLifecyclePolicyInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateLifecyclePolicyInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateLifecyclePolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateLifecyclePolicyInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.ExecutionRole == nil {
+ invalidParams.Add(request.NewErrParamRequired("ExecutionRole"))
+ }
+ if s.ExecutionRole != nil && len(*s.ExecutionRole) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 1))
+ }
+ if s.LifecyclePolicyArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("LifecyclePolicyArn"))
+ }
+ if s.PolicyDetails == nil {
+ invalidParams.Add(request.NewErrParamRequired("PolicyDetails"))
+ }
+ if s.PolicyDetails != nil && len(s.PolicyDetails) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PolicyDetails", 1))
+ }
+ if s.ResourceSelection == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceSelection"))
+ }
+ if s.ResourceType == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceType"))
+ }
+ if s.PolicyDetails != nil {
+ for i, v := range s.PolicyDetails {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PolicyDetails", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.ResourceSelection != nil {
+ if err := s.ResourceSelection.Validate(); err != nil {
+ invalidParams.AddNested("ResourceSelection", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *UpdateLifecyclePolicyInput) SetClientToken(v string) *UpdateLifecyclePolicyInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateLifecyclePolicyInput) SetDescription(v string) *UpdateLifecyclePolicyInput {
+ s.Description = &v
+ return s
+}
+
+// SetExecutionRole sets the ExecutionRole field's value.
+func (s *UpdateLifecyclePolicyInput) SetExecutionRole(v string) *UpdateLifecyclePolicyInput {
+ s.ExecutionRole = &v
+ return s
+}
+
+// SetLifecyclePolicyArn sets the LifecyclePolicyArn field's value.
+func (s *UpdateLifecyclePolicyInput) SetLifecyclePolicyArn(v string) *UpdateLifecyclePolicyInput {
+ s.LifecyclePolicyArn = &v
+ return s
+}
+
+// SetPolicyDetails sets the PolicyDetails field's value.
+func (s *UpdateLifecyclePolicyInput) SetPolicyDetails(v []*LifecyclePolicyDetail) *UpdateLifecyclePolicyInput {
+ s.PolicyDetails = v
+ return s
+}
+
+// SetResourceSelection sets the ResourceSelection field's value.
+func (s *UpdateLifecyclePolicyInput) SetResourceSelection(v *LifecyclePolicyResourceSelection) *UpdateLifecyclePolicyInput {
+ s.ResourceSelection = v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *UpdateLifecyclePolicyInput) SetResourceType(v string) *UpdateLifecyclePolicyInput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdateLifecyclePolicyInput) SetStatus(v string) *UpdateLifecyclePolicyInput {
+ s.Status = &v
+ return s
+}
+
+type UpdateLifecyclePolicyOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the image lifecycle policy resource that was updated.
+ LifecyclePolicyArn *string `locationName:"lifecyclePolicyArn" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateLifecyclePolicyOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateLifecyclePolicyOutput) GoString() string {
+ return s.String()
+}
+
+// SetLifecyclePolicyArn sets the LifecyclePolicyArn field's value.
+func (s *UpdateLifecyclePolicyOutput) SetLifecyclePolicyArn(v string) *UpdateLifecyclePolicyOutput {
+ s.LifecyclePolicyArn = &v
+ return s
+}
+
// Includes counts of image and pipeline resource findings by vulnerability.
type VulnerabilityIdAggregation struct {
_ struct{} `type:"structure"`
@@ -21534,6 +25461,9 @@ const (
// ImageStatusDeleted is a ImageStatus enum value
ImageStatusDeleted = "DELETED"
+
+ // ImageStatusDisabled is a ImageStatus enum value
+ ImageStatusDisabled = "DISABLED"
)
// ImageStatus_Values returns all elements of the ImageStatus enum
@@ -21550,6 +25480,7 @@ func ImageStatus_Values() []string {
ImageStatusFailed,
ImageStatusDeprecated,
ImageStatusDeleted,
+ ImageStatusDisabled,
}
}
@@ -21569,6 +25500,174 @@ func ImageType_Values() []string {
}
}
+const (
+ // LifecycleExecutionResourceActionNameAvailable is a LifecycleExecutionResourceActionName enum value
+ LifecycleExecutionResourceActionNameAvailable = "AVAILABLE"
+
+ // LifecycleExecutionResourceActionNameDelete is a LifecycleExecutionResourceActionName enum value
+ LifecycleExecutionResourceActionNameDelete = "DELETE"
+
+ // LifecycleExecutionResourceActionNameDeprecate is a LifecycleExecutionResourceActionName enum value
+ LifecycleExecutionResourceActionNameDeprecate = "DEPRECATE"
+
+ // LifecycleExecutionResourceActionNameDisable is a LifecycleExecutionResourceActionName enum value
+ LifecycleExecutionResourceActionNameDisable = "DISABLE"
+)
+
+// LifecycleExecutionResourceActionName_Values returns all elements of the LifecycleExecutionResourceActionName enum
+func LifecycleExecutionResourceActionName_Values() []string {
+ return []string{
+ LifecycleExecutionResourceActionNameAvailable,
+ LifecycleExecutionResourceActionNameDelete,
+ LifecycleExecutionResourceActionNameDeprecate,
+ LifecycleExecutionResourceActionNameDisable,
+ }
+}
+
+const (
+ // LifecycleExecutionResourceStatusFailed is a LifecycleExecutionResourceStatus enum value
+ LifecycleExecutionResourceStatusFailed = "FAILED"
+
+ // LifecycleExecutionResourceStatusInProgress is a LifecycleExecutionResourceStatus enum value
+ LifecycleExecutionResourceStatusInProgress = "IN_PROGRESS"
+
+ // LifecycleExecutionResourceStatusSkipped is a LifecycleExecutionResourceStatus enum value
+ LifecycleExecutionResourceStatusSkipped = "SKIPPED"
+
+ // LifecycleExecutionResourceStatusSuccess is a LifecycleExecutionResourceStatus enum value
+ LifecycleExecutionResourceStatusSuccess = "SUCCESS"
+)
+
+// LifecycleExecutionResourceStatus_Values returns all elements of the LifecycleExecutionResourceStatus enum
+func LifecycleExecutionResourceStatus_Values() []string {
+ return []string{
+ LifecycleExecutionResourceStatusFailed,
+ LifecycleExecutionResourceStatusInProgress,
+ LifecycleExecutionResourceStatusSkipped,
+ LifecycleExecutionResourceStatusSuccess,
+ }
+}
+
+const (
+ // LifecycleExecutionStatusInProgress is a LifecycleExecutionStatus enum value
+ LifecycleExecutionStatusInProgress = "IN_PROGRESS"
+
+ // LifecycleExecutionStatusCancelled is a LifecycleExecutionStatus enum value
+ LifecycleExecutionStatusCancelled = "CANCELLED"
+
+ // LifecycleExecutionStatusCancelling is a LifecycleExecutionStatus enum value
+ LifecycleExecutionStatusCancelling = "CANCELLING"
+
+ // LifecycleExecutionStatusFailed is a LifecycleExecutionStatus enum value
+ LifecycleExecutionStatusFailed = "FAILED"
+
+ // LifecycleExecutionStatusSuccess is a LifecycleExecutionStatus enum value
+ LifecycleExecutionStatusSuccess = "SUCCESS"
+)
+
+// LifecycleExecutionStatus_Values returns all elements of the LifecycleExecutionStatus enum
+func LifecycleExecutionStatus_Values() []string {
+ return []string{
+ LifecycleExecutionStatusInProgress,
+ LifecycleExecutionStatusCancelled,
+ LifecycleExecutionStatusCancelling,
+ LifecycleExecutionStatusFailed,
+ LifecycleExecutionStatusSuccess,
+ }
+}
+
+const (
+ // LifecyclePolicyDetailActionTypeDelete is a LifecyclePolicyDetailActionType enum value
+ LifecyclePolicyDetailActionTypeDelete = "DELETE"
+
+ // LifecyclePolicyDetailActionTypeDeprecate is a LifecyclePolicyDetailActionType enum value
+ LifecyclePolicyDetailActionTypeDeprecate = "DEPRECATE"
+
+ // LifecyclePolicyDetailActionTypeDisable is a LifecyclePolicyDetailActionType enum value
+ LifecyclePolicyDetailActionTypeDisable = "DISABLE"
+)
+
+// LifecyclePolicyDetailActionType_Values returns all elements of the LifecyclePolicyDetailActionType enum
+func LifecyclePolicyDetailActionType_Values() []string {
+ return []string{
+ LifecyclePolicyDetailActionTypeDelete,
+ LifecyclePolicyDetailActionTypeDeprecate,
+ LifecyclePolicyDetailActionTypeDisable,
+ }
+}
+
+const (
+ // LifecyclePolicyDetailFilterTypeAge is a LifecyclePolicyDetailFilterType enum value
+ LifecyclePolicyDetailFilterTypeAge = "AGE"
+
+ // LifecyclePolicyDetailFilterTypeCount is a LifecyclePolicyDetailFilterType enum value
+ LifecyclePolicyDetailFilterTypeCount = "COUNT"
+)
+
+// LifecyclePolicyDetailFilterType_Values returns all elements of the LifecyclePolicyDetailFilterType enum
+func LifecyclePolicyDetailFilterType_Values() []string {
+ return []string{
+ LifecyclePolicyDetailFilterTypeAge,
+ LifecyclePolicyDetailFilterTypeCount,
+ }
+}
+
+const (
+ // LifecyclePolicyResourceTypeAmiImage is a LifecyclePolicyResourceType enum value
+ LifecyclePolicyResourceTypeAmiImage = "AMI_IMAGE"
+
+ // LifecyclePolicyResourceTypeContainerImage is a LifecyclePolicyResourceType enum value
+ LifecyclePolicyResourceTypeContainerImage = "CONTAINER_IMAGE"
+)
+
+// LifecyclePolicyResourceType_Values returns all elements of the LifecyclePolicyResourceType enum
+func LifecyclePolicyResourceType_Values() []string {
+ return []string{
+ LifecyclePolicyResourceTypeAmiImage,
+ LifecyclePolicyResourceTypeContainerImage,
+ }
+}
+
+const (
+ // LifecyclePolicyStatusDisabled is a LifecyclePolicyStatus enum value
+ LifecyclePolicyStatusDisabled = "DISABLED"
+
+ // LifecyclePolicyStatusEnabled is a LifecyclePolicyStatus enum value
+ LifecyclePolicyStatusEnabled = "ENABLED"
+)
+
+// LifecyclePolicyStatus_Values returns all elements of the LifecyclePolicyStatus enum
+func LifecyclePolicyStatus_Values() []string {
+ return []string{
+ LifecyclePolicyStatusDisabled,
+ LifecyclePolicyStatusEnabled,
+ }
+}
+
+const (
+ // LifecyclePolicyTimeUnitDays is a LifecyclePolicyTimeUnit enum value
+ LifecyclePolicyTimeUnitDays = "DAYS"
+
+ // LifecyclePolicyTimeUnitWeeks is a LifecyclePolicyTimeUnit enum value
+ LifecyclePolicyTimeUnitWeeks = "WEEKS"
+
+ // LifecyclePolicyTimeUnitMonths is a LifecyclePolicyTimeUnit enum value
+ LifecyclePolicyTimeUnitMonths = "MONTHS"
+
+ // LifecyclePolicyTimeUnitYears is a LifecyclePolicyTimeUnit enum value
+ LifecyclePolicyTimeUnitYears = "YEARS"
+)
+
+// LifecyclePolicyTimeUnit_Values returns all elements of the LifecyclePolicyTimeUnit enum
+func LifecyclePolicyTimeUnit_Values() []string {
+ return []string{
+ LifecyclePolicyTimeUnitDays,
+ LifecyclePolicyTimeUnitWeeks,
+ LifecyclePolicyTimeUnitMonths,
+ LifecyclePolicyTimeUnitYears,
+ }
+}
+
const (
// OwnershipSelf is a Ownership enum value
OwnershipSelf = "Self"
@@ -21641,6 +25740,30 @@ func Platform_Values() []string {
}
}
+const (
+ // ResourceStatusAvailable is a ResourceStatus enum value
+ ResourceStatusAvailable = "AVAILABLE"
+
+ // ResourceStatusDeleted is a ResourceStatus enum value
+ ResourceStatusDeleted = "DELETED"
+
+ // ResourceStatusDeprecated is a ResourceStatus enum value
+ ResourceStatusDeprecated = "DEPRECATED"
+
+ // ResourceStatusDisabled is a ResourceStatus enum value
+ ResourceStatusDisabled = "DISABLED"
+)
+
+// ResourceStatus_Values returns all elements of the ResourceStatus enum
+func ResourceStatus_Values() []string {
+ return []string{
+ ResourceStatusAvailable,
+ ResourceStatusDeleted,
+ ResourceStatusDeprecated,
+ ResourceStatusDisabled,
+ }
+}
+
const (
// WorkflowExecutionStatusPending is a WorkflowExecutionStatus enum value
WorkflowExecutionStatusPending = "PENDING"
diff --git a/service/imagebuilder/imagebuilderiface/interface.go b/service/imagebuilder/imagebuilderiface/interface.go
index bc0145271d6..1ab19ca50c9 100644
--- a/service/imagebuilder/imagebuilderiface/interface.go
+++ b/service/imagebuilder/imagebuilderiface/interface.go
@@ -64,6 +64,10 @@ type ImagebuilderAPI interface {
CancelImageCreationWithContext(aws.Context, *imagebuilder.CancelImageCreationInput, ...request.Option) (*imagebuilder.CancelImageCreationOutput, error)
CancelImageCreationRequest(*imagebuilder.CancelImageCreationInput) (*request.Request, *imagebuilder.CancelImageCreationOutput)
+ CancelLifecycleExecution(*imagebuilder.CancelLifecycleExecutionInput) (*imagebuilder.CancelLifecycleExecutionOutput, error)
+ CancelLifecycleExecutionWithContext(aws.Context, *imagebuilder.CancelLifecycleExecutionInput, ...request.Option) (*imagebuilder.CancelLifecycleExecutionOutput, error)
+ CancelLifecycleExecutionRequest(*imagebuilder.CancelLifecycleExecutionInput) (*request.Request, *imagebuilder.CancelLifecycleExecutionOutput)
+
CreateComponent(*imagebuilder.CreateComponentInput) (*imagebuilder.CreateComponentOutput, error)
CreateComponentWithContext(aws.Context, *imagebuilder.CreateComponentInput, ...request.Option) (*imagebuilder.CreateComponentOutput, error)
CreateComponentRequest(*imagebuilder.CreateComponentInput) (*request.Request, *imagebuilder.CreateComponentOutput)
@@ -92,6 +96,10 @@ type ImagebuilderAPI interface {
CreateInfrastructureConfigurationWithContext(aws.Context, *imagebuilder.CreateInfrastructureConfigurationInput, ...request.Option) (*imagebuilder.CreateInfrastructureConfigurationOutput, error)
CreateInfrastructureConfigurationRequest(*imagebuilder.CreateInfrastructureConfigurationInput) (*request.Request, *imagebuilder.CreateInfrastructureConfigurationOutput)
+ CreateLifecyclePolicy(*imagebuilder.CreateLifecyclePolicyInput) (*imagebuilder.CreateLifecyclePolicyOutput, error)
+ CreateLifecyclePolicyWithContext(aws.Context, *imagebuilder.CreateLifecyclePolicyInput, ...request.Option) (*imagebuilder.CreateLifecyclePolicyOutput, error)
+ CreateLifecyclePolicyRequest(*imagebuilder.CreateLifecyclePolicyInput) (*request.Request, *imagebuilder.CreateLifecyclePolicyOutput)
+
DeleteComponent(*imagebuilder.DeleteComponentInput) (*imagebuilder.DeleteComponentOutput, error)
DeleteComponentWithContext(aws.Context, *imagebuilder.DeleteComponentInput, ...request.Option) (*imagebuilder.DeleteComponentOutput, error)
DeleteComponentRequest(*imagebuilder.DeleteComponentInput) (*request.Request, *imagebuilder.DeleteComponentOutput)
@@ -120,6 +128,10 @@ type ImagebuilderAPI interface {
DeleteInfrastructureConfigurationWithContext(aws.Context, *imagebuilder.DeleteInfrastructureConfigurationInput, ...request.Option) (*imagebuilder.DeleteInfrastructureConfigurationOutput, error)
DeleteInfrastructureConfigurationRequest(*imagebuilder.DeleteInfrastructureConfigurationInput) (*request.Request, *imagebuilder.DeleteInfrastructureConfigurationOutput)
+ DeleteLifecyclePolicy(*imagebuilder.DeleteLifecyclePolicyInput) (*imagebuilder.DeleteLifecyclePolicyOutput, error)
+ DeleteLifecyclePolicyWithContext(aws.Context, *imagebuilder.DeleteLifecyclePolicyInput, ...request.Option) (*imagebuilder.DeleteLifecyclePolicyOutput, error)
+ DeleteLifecyclePolicyRequest(*imagebuilder.DeleteLifecyclePolicyInput) (*request.Request, *imagebuilder.DeleteLifecyclePolicyOutput)
+
GetComponent(*imagebuilder.GetComponentInput) (*imagebuilder.GetComponentOutput, error)
GetComponentWithContext(aws.Context, *imagebuilder.GetComponentInput, ...request.Option) (*imagebuilder.GetComponentOutput, error)
GetComponentRequest(*imagebuilder.GetComponentInput) (*request.Request, *imagebuilder.GetComponentOutput)
@@ -164,6 +176,14 @@ type ImagebuilderAPI interface {
GetInfrastructureConfigurationWithContext(aws.Context, *imagebuilder.GetInfrastructureConfigurationInput, ...request.Option) (*imagebuilder.GetInfrastructureConfigurationOutput, error)
GetInfrastructureConfigurationRequest(*imagebuilder.GetInfrastructureConfigurationInput) (*request.Request, *imagebuilder.GetInfrastructureConfigurationOutput)
+ GetLifecycleExecution(*imagebuilder.GetLifecycleExecutionInput) (*imagebuilder.GetLifecycleExecutionOutput, error)
+ GetLifecycleExecutionWithContext(aws.Context, *imagebuilder.GetLifecycleExecutionInput, ...request.Option) (*imagebuilder.GetLifecycleExecutionOutput, error)
+ GetLifecycleExecutionRequest(*imagebuilder.GetLifecycleExecutionInput) (*request.Request, *imagebuilder.GetLifecycleExecutionOutput)
+
+ GetLifecyclePolicy(*imagebuilder.GetLifecyclePolicyInput) (*imagebuilder.GetLifecyclePolicyOutput, error)
+ GetLifecyclePolicyWithContext(aws.Context, *imagebuilder.GetLifecyclePolicyInput, ...request.Option) (*imagebuilder.GetLifecyclePolicyOutput, error)
+ GetLifecyclePolicyRequest(*imagebuilder.GetLifecyclePolicyInput) (*request.Request, *imagebuilder.GetLifecyclePolicyOutput)
+
GetWorkflowExecution(*imagebuilder.GetWorkflowExecutionInput) (*imagebuilder.GetWorkflowExecutionOutput, error)
GetWorkflowExecutionWithContext(aws.Context, *imagebuilder.GetWorkflowExecutionInput, ...request.Option) (*imagebuilder.GetWorkflowExecutionOutput, error)
GetWorkflowExecutionRequest(*imagebuilder.GetWorkflowExecutionInput) (*request.Request, *imagebuilder.GetWorkflowExecutionOutput)
@@ -271,6 +291,27 @@ type ImagebuilderAPI interface {
ListInfrastructureConfigurationsPages(*imagebuilder.ListInfrastructureConfigurationsInput, func(*imagebuilder.ListInfrastructureConfigurationsOutput, bool) bool) error
ListInfrastructureConfigurationsPagesWithContext(aws.Context, *imagebuilder.ListInfrastructureConfigurationsInput, func(*imagebuilder.ListInfrastructureConfigurationsOutput, bool) bool, ...request.Option) error
+ ListLifecycleExecutionResources(*imagebuilder.ListLifecycleExecutionResourcesInput) (*imagebuilder.ListLifecycleExecutionResourcesOutput, error)
+ ListLifecycleExecutionResourcesWithContext(aws.Context, *imagebuilder.ListLifecycleExecutionResourcesInput, ...request.Option) (*imagebuilder.ListLifecycleExecutionResourcesOutput, error)
+ ListLifecycleExecutionResourcesRequest(*imagebuilder.ListLifecycleExecutionResourcesInput) (*request.Request, *imagebuilder.ListLifecycleExecutionResourcesOutput)
+
+ ListLifecycleExecutionResourcesPages(*imagebuilder.ListLifecycleExecutionResourcesInput, func(*imagebuilder.ListLifecycleExecutionResourcesOutput, bool) bool) error
+ ListLifecycleExecutionResourcesPagesWithContext(aws.Context, *imagebuilder.ListLifecycleExecutionResourcesInput, func(*imagebuilder.ListLifecycleExecutionResourcesOutput, bool) bool, ...request.Option) error
+
+ ListLifecycleExecutions(*imagebuilder.ListLifecycleExecutionsInput) (*imagebuilder.ListLifecycleExecutionsOutput, error)
+ ListLifecycleExecutionsWithContext(aws.Context, *imagebuilder.ListLifecycleExecutionsInput, ...request.Option) (*imagebuilder.ListLifecycleExecutionsOutput, error)
+ ListLifecycleExecutionsRequest(*imagebuilder.ListLifecycleExecutionsInput) (*request.Request, *imagebuilder.ListLifecycleExecutionsOutput)
+
+ ListLifecycleExecutionsPages(*imagebuilder.ListLifecycleExecutionsInput, func(*imagebuilder.ListLifecycleExecutionsOutput, bool) bool) error
+ ListLifecycleExecutionsPagesWithContext(aws.Context, *imagebuilder.ListLifecycleExecutionsInput, func(*imagebuilder.ListLifecycleExecutionsOutput, bool) bool, ...request.Option) error
+
+ ListLifecyclePolicies(*imagebuilder.ListLifecyclePoliciesInput) (*imagebuilder.ListLifecyclePoliciesOutput, error)
+ ListLifecyclePoliciesWithContext(aws.Context, *imagebuilder.ListLifecyclePoliciesInput, ...request.Option) (*imagebuilder.ListLifecyclePoliciesOutput, error)
+ ListLifecyclePoliciesRequest(*imagebuilder.ListLifecyclePoliciesInput) (*request.Request, *imagebuilder.ListLifecyclePoliciesOutput)
+
+ ListLifecyclePoliciesPages(*imagebuilder.ListLifecyclePoliciesInput, func(*imagebuilder.ListLifecyclePoliciesOutput, bool) bool) error
+ ListLifecyclePoliciesPagesWithContext(aws.Context, *imagebuilder.ListLifecyclePoliciesInput, func(*imagebuilder.ListLifecyclePoliciesOutput, bool) bool, ...request.Option) error
+
ListTagsForResource(*imagebuilder.ListTagsForResourceInput) (*imagebuilder.ListTagsForResourceOutput, error)
ListTagsForResourceWithContext(aws.Context, *imagebuilder.ListTagsForResourceInput, ...request.Option) (*imagebuilder.ListTagsForResourceOutput, error)
ListTagsForResourceRequest(*imagebuilder.ListTagsForResourceInput) (*request.Request, *imagebuilder.ListTagsForResourceOutput)
@@ -309,6 +350,10 @@ type ImagebuilderAPI interface {
StartImagePipelineExecutionWithContext(aws.Context, *imagebuilder.StartImagePipelineExecutionInput, ...request.Option) (*imagebuilder.StartImagePipelineExecutionOutput, error)
StartImagePipelineExecutionRequest(*imagebuilder.StartImagePipelineExecutionInput) (*request.Request, *imagebuilder.StartImagePipelineExecutionOutput)
+ StartResourceStateUpdate(*imagebuilder.StartResourceStateUpdateInput) (*imagebuilder.StartResourceStateUpdateOutput, error)
+ StartResourceStateUpdateWithContext(aws.Context, *imagebuilder.StartResourceStateUpdateInput, ...request.Option) (*imagebuilder.StartResourceStateUpdateOutput, error)
+ StartResourceStateUpdateRequest(*imagebuilder.StartResourceStateUpdateInput) (*request.Request, *imagebuilder.StartResourceStateUpdateOutput)
+
TagResource(*imagebuilder.TagResourceInput) (*imagebuilder.TagResourceOutput, error)
TagResourceWithContext(aws.Context, *imagebuilder.TagResourceInput, ...request.Option) (*imagebuilder.TagResourceOutput, error)
TagResourceRequest(*imagebuilder.TagResourceInput) (*request.Request, *imagebuilder.TagResourceOutput)
@@ -328,6 +373,10 @@ type ImagebuilderAPI interface {
UpdateInfrastructureConfiguration(*imagebuilder.UpdateInfrastructureConfigurationInput) (*imagebuilder.UpdateInfrastructureConfigurationOutput, error)
UpdateInfrastructureConfigurationWithContext(aws.Context, *imagebuilder.UpdateInfrastructureConfigurationInput, ...request.Option) (*imagebuilder.UpdateInfrastructureConfigurationOutput, error)
UpdateInfrastructureConfigurationRequest(*imagebuilder.UpdateInfrastructureConfigurationInput) (*request.Request, *imagebuilder.UpdateInfrastructureConfigurationOutput)
+
+ UpdateLifecyclePolicy(*imagebuilder.UpdateLifecyclePolicyInput) (*imagebuilder.UpdateLifecyclePolicyOutput, error)
+ UpdateLifecyclePolicyWithContext(aws.Context, *imagebuilder.UpdateLifecyclePolicyInput, ...request.Option) (*imagebuilder.UpdateLifecyclePolicyOutput, error)
+ UpdateLifecyclePolicyRequest(*imagebuilder.UpdateLifecyclePolicyInput) (*request.Request, *imagebuilder.UpdateLifecyclePolicyOutput)
}
var _ ImagebuilderAPI = (*imagebuilder.Imagebuilder)(nil)
diff --git a/service/iot/api.go b/service/iot/api.go
index 0b41061f7fa..e38ad859f69 100644
--- a/service/iot/api.go
+++ b/service/iot/api.go
@@ -33620,8 +33620,8 @@ type CreateJobInput struct {
// The package version Amazon Resource Names (ARNs) that are installed on the
// device when the job successfully completes.
//
- // Note:The following Length Constraints relates to a single string. Up to five
- // strings are allowed.
+ // Note:The following Length Constraints relates to a single ARN. Up to 25 package
+ // version ARNs are allowed.
DestinationPackageVersions []*string `locationName:"destinationPackageVersions" type:"list"`
// The job document. Required if you don't specify a value for documentSource.
@@ -33950,8 +33950,8 @@ type CreateJobTemplateInput struct {
// The package version Amazon Resource Names (ARNs) that are installed on the
// device when the job successfully completes.
//
- // Note:The following Length Constraints relates to a single string. Up to five
- // strings are allowed.
+ // Note:The following Length Constraints relates to a single ARN. Up to 25 package
+ // version ARNs are allowed.
DestinationPackageVersions []*string `locationName:"destinationPackageVersions" type:"list"`
// The job document. Required if you don't specify a value for documentSource.
@@ -42170,8 +42170,8 @@ type DescribeJobTemplateOutput struct {
// The package version Amazon Resource Names (ARNs) that are installed on the
// device when the job successfully completes.
//
- // Note:The following Length Constraints relates to a single string. Up to five
- // strings are allowed.
+ // Note:The following Length Constraints relates to a single ARN. Up to 25 package
+ // version ARNs are allowed.
DestinationPackageVersions []*string `locationName:"destinationPackageVersions" type:"list"`
// The job document.
@@ -45850,6 +45850,50 @@ func (s *FleetMetricNameAndArn) SetMetricName(v string) *FleetMetricNameAndArn {
return s
}
+// A geolocation target that you select to index. Each geolocation target contains
+// a name and order key-value pair that specifies the geolocation target fields.
+type GeoLocationTarget struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the geolocation target field. If the target field is part of
+ // a named shadow, you must select the named shadow using the namedShadow filter.
+ Name *string `locationName:"name" type:"string"`
+
+ // The order of the geolocation target field. This field is optional. The default
+ // value is LatLon.
+ Order *string `locationName:"order" type:"string" enum:"TargetFieldOrder"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GeoLocationTarget) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GeoLocationTarget) GoString() string {
+ return s.String()
+}
+
+// SetName sets the Name field's value.
+func (s *GeoLocationTarget) SetName(v string) *GeoLocationTarget {
+ s.Name = &v
+ return s
+}
+
+// SetOrder sets the Order field's value.
+func (s *GeoLocationTarget) SetOrder(v string) *GeoLocationTarget {
+ s.Order = &v
+ return s
+}
+
type GetBehaviorModelTrainingSummariesInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -48311,13 +48355,30 @@ func (s *IndexNotReadyException) RequestID() string {
return s.RespMetadata.RequestID
}
-// Provides additional filters for specific data sources. Named shadow is the
-// only data source that currently supports and requires a filter. To add named
-// shadows to your fleet indexing configuration, set namedShadowIndexingMode
-// to be ON and specify your shadow names in filter.
+// Provides additional selections for named shadows and geolocation data.
+//
+// To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
+// to be ON and specify your shadow names in namedShadowNames filter.
+//
+// To add geolocation data to your fleet indexing configuration:
+//
+// - If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
+// to be REGISTRY_AND_SHADOW and specify your geolocation data in geoLocations
+// filter.
+//
+// - If you store geolocation data in a named shadow, set namedShadowIndexingMode
+// to be ON, add the shadow name in namedShadowNames filter, and specify
+// your geolocation data in geoLocations filter. For more information, see
+// Managing fleet indexing (https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html).
type IndexingFilter struct {
_ struct{} `type:"structure"`
+ // The list of geolocation targets that you select to index. The default maximum
+ // number of geolocation targets for indexing is 1. To increase the limit, see
+ // Amazon Web Services IoT Device Management Quotas (https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits)
+ // in the Amazon Web Services General Reference.
+ GeoLocations []*GeoLocationTarget `locationName:"geoLocations" type:"list"`
+
// The shadow names that you select to index. The default maximum number of
// shadow names for indexing is 10. To increase the limit, see Amazon Web Services
// IoT Device Management Quotas (https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits)
@@ -48343,6 +48404,12 @@ func (s IndexingFilter) GoString() string {
return s.String()
}
+// SetGeoLocations sets the GeoLocations field's value.
+func (s *IndexingFilter) SetGeoLocations(v []*GeoLocationTarget) *IndexingFilter {
+ s.GeoLocations = v
+ return s
+}
+
// SetNamedShadowNames sets the NamedShadowNames field's value.
func (s *IndexingFilter) SetNamedShadowNames(v []*string) *IndexingFilter {
s.NamedShadowNames = v
@@ -49182,8 +49249,8 @@ type Job struct {
// The package version Amazon Resource Names (ARNs) that are installed on the
// device when the job successfully completes.
//
- // Note:The following Length Constraints relates to a single string. Up to five
- // strings are allowed.
+ // Note:The following Length Constraints relates to a single ARN. Up to 25 package
+ // version ARNs are allowed.
DestinationPackageVersions []*string `locationName:"destinationPackageVersions" type:"list"`
// A key-value map that pairs the patterns that need to be replaced in a managed
@@ -62588,8 +62655,8 @@ type SearchIndexInput struct {
// The search index name.
IndexName *string `locationName:"indexName" min:"1" type:"string"`
- // The maximum number of results to return at one time. The response might contain
- // fewer results but will never contain more.
+ // The maximum number of results to return per page at one time. The response
+ // might contain fewer results but will never contain more.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
// The token used to get the next set of results, or null if there are no additional
@@ -66105,10 +66172,21 @@ type ThingIndexingConfiguration struct {
// Detect. (https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-detect.html)
DeviceDefenderIndexingMode *string `locationName:"deviceDefenderIndexingMode" type:"string" enum:"DeviceDefenderIndexingMode"`
- // Provides additional filters for specific data sources. Named shadow is the
- // only data source that currently supports and requires a filter. To add named
- // shadows to your fleet indexing configuration, set namedShadowIndexingMode
- // to be ON and specify your shadow names in filter.
+ // Provides additional selections for named shadows and geolocation data.
+ //
+ // To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
+ // to be ON and specify your shadow names in namedShadowNames filter.
+ //
+ // To add geolocation data to your fleet indexing configuration:
+ //
+ // * If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
+ // to be REGISTRY_AND_SHADOW and specify your geolocation data in geoLocations
+ // filter.
+ //
+ // * If you store geolocation data in a named shadow, set namedShadowIndexingMode
+ // to be ON, add the shadow name in namedShadowNames filter, and specify
+ // your geolocation data in geoLocations filter. For more information, see
+ // Managing fleet indexing (https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html).
Filter *IndexingFilter `locationName:"filter" type:"structure"`
// Contains fields that are indexed and whose types are already known by the
@@ -73772,6 +73850,22 @@ func Status_Values() []string {
}
}
+const (
+ // TargetFieldOrderLatLon is a TargetFieldOrder enum value
+ TargetFieldOrderLatLon = "LatLon"
+
+ // TargetFieldOrderLonLat is a TargetFieldOrder enum value
+ TargetFieldOrderLonLat = "LonLat"
+)
+
+// TargetFieldOrder_Values returns all elements of the TargetFieldOrder enum
+func TargetFieldOrder_Values() []string {
+ return []string{
+ TargetFieldOrderLatLon,
+ TargetFieldOrderLonLat,
+ }
+}
+
const (
// TargetSelectionContinuous is a TargetSelection enum value
TargetSelectionContinuous = "CONTINUOUS"
diff --git a/service/ivsrealtime/api.go b/service/ivsrealtime/api.go
index 46233e4de1b..b0d59bb36cf 100644
--- a/service/ivsrealtime/api.go
+++ b/service/ivsrealtime/api.go
@@ -13,6 +13,96 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/restjson"
)
+const opCreateEncoderConfiguration = "CreateEncoderConfiguration"
+
+// CreateEncoderConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateEncoderConfiguration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateEncoderConfiguration for more information on using the CreateEncoderConfiguration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateEncoderConfigurationRequest method.
+// req, resp := client.CreateEncoderConfigurationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateEncoderConfiguration
+func (c *IVSRealTime) CreateEncoderConfigurationRequest(input *CreateEncoderConfigurationInput) (req *request.Request, output *CreateEncoderConfigurationOutput) {
+ op := &request.Operation{
+ Name: opCreateEncoderConfiguration,
+ HTTPMethod: "POST",
+ HTTPPath: "/CreateEncoderConfiguration",
+ }
+
+ if input == nil {
+ input = &CreateEncoderConfigurationInput{}
+ }
+
+ output = &CreateEncoderConfigurationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateEncoderConfiguration API operation for Amazon Interactive Video Service RealTime.
+//
+// Creates an EncoderConfiguration object.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation CreateEncoderConfiguration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ResourceNotFoundException
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// - PendingVerification
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateEncoderConfiguration
+func (c *IVSRealTime) CreateEncoderConfiguration(input *CreateEncoderConfigurationInput) (*CreateEncoderConfigurationOutput, error) {
+ req, out := c.CreateEncoderConfigurationRequest(input)
+ return out, req.Send()
+}
+
+// CreateEncoderConfigurationWithContext is the same as CreateEncoderConfiguration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateEncoderConfiguration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) CreateEncoderConfigurationWithContext(ctx aws.Context, input *CreateEncoderConfigurationInput, opts ...request.Option) (*CreateEncoderConfigurationOutput, error) {
+ req, out := c.CreateEncoderConfigurationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateParticipantToken = "CreateParticipantToken"
// CreateParticipantTokenRequest generates a "aws/request.Request" representing the
@@ -187,58 +277,60 @@ func (c *IVSRealTime) CreateStageWithContext(ctx aws.Context, input *CreateStage
return out, req.Send()
}
-const opDeleteStage = "DeleteStage"
+const opCreateStorageConfiguration = "CreateStorageConfiguration"
-// DeleteStageRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteStage operation. The "output" return
+// CreateStorageConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateStorageConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteStage for more information on using the DeleteStage
+// See CreateStorageConfiguration for more information on using the CreateStorageConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteStageRequest method.
-// req, resp := client.DeleteStageRequest(params)
+// // Example sending a request using the CreateStorageConfigurationRequest method.
+// req, resp := client.CreateStorageConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStage
-func (c *IVSRealTime) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateStorageConfiguration
+func (c *IVSRealTime) CreateStorageConfigurationRequest(input *CreateStorageConfigurationInput) (req *request.Request, output *CreateStorageConfigurationOutput) {
op := &request.Operation{
- Name: opDeleteStage,
+ Name: opCreateStorageConfiguration,
HTTPMethod: "POST",
- HTTPPath: "/DeleteStage",
+ HTTPPath: "/CreateStorageConfiguration",
}
if input == nil {
- input = &DeleteStageInput{}
+ input = &CreateStorageConfigurationInput{}
}
- output = &DeleteStageOutput{}
+ output = &CreateStorageConfigurationOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DeleteStage API operation for Amazon Interactive Video Service RealTime.
+// CreateStorageConfiguration API operation for Amazon Interactive Video Service RealTime.
//
-// Shuts down and deletes the specified stage (disconnecting all participants).
+// Creates a new storage configuration, used to enable recording to Amazon S3.
+// When a StorageConfiguration is created, IVS will modify the S3 bucketPolicy
+// of the provided bucket. This will ensure that IVS has sufficient permissions
+// to write content to the provided bucket.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation DeleteStage for usage and error information.
+// API operation CreateStorageConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -248,85 +340,89 @@ func (c *IVSRealTime) DeleteStageRequest(input *DeleteStageInput) (req *request.
//
// - AccessDeniedException
//
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
// - ConflictException
//
// - PendingVerification
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStage
-func (c *IVSRealTime) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error) {
- req, out := c.DeleteStageRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateStorageConfiguration
+func (c *IVSRealTime) CreateStorageConfiguration(input *CreateStorageConfigurationInput) (*CreateStorageConfigurationOutput, error) {
+ req, out := c.CreateStorageConfigurationRequest(input)
return out, req.Send()
}
-// DeleteStageWithContext is the same as DeleteStage with the addition of
+// CreateStorageConfigurationWithContext is the same as CreateStorageConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteStage for details on how to use this API operation.
+// See CreateStorageConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) DeleteStageWithContext(ctx aws.Context, input *DeleteStageInput, opts ...request.Option) (*DeleteStageOutput, error) {
- req, out := c.DeleteStageRequest(input)
+func (c *IVSRealTime) CreateStorageConfigurationWithContext(ctx aws.Context, input *CreateStorageConfigurationInput, opts ...request.Option) (*CreateStorageConfigurationOutput, error) {
+ req, out := c.CreateStorageConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDisconnectParticipant = "DisconnectParticipant"
+const opDeleteEncoderConfiguration = "DeleteEncoderConfiguration"
-// DisconnectParticipantRequest generates a "aws/request.Request" representing the
-// client's request for the DisconnectParticipant operation. The "output" return
+// DeleteEncoderConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteEncoderConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DisconnectParticipant for more information on using the DisconnectParticipant
+// See DeleteEncoderConfiguration for more information on using the DeleteEncoderConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DisconnectParticipantRequest method.
-// req, resp := client.DisconnectParticipantRequest(params)
+// // Example sending a request using the DeleteEncoderConfigurationRequest method.
+// req, resp := client.DeleteEncoderConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DisconnectParticipant
-func (c *IVSRealTime) DisconnectParticipantRequest(input *DisconnectParticipantInput) (req *request.Request, output *DisconnectParticipantOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteEncoderConfiguration
+func (c *IVSRealTime) DeleteEncoderConfigurationRequest(input *DeleteEncoderConfigurationInput) (req *request.Request, output *DeleteEncoderConfigurationOutput) {
op := &request.Operation{
- Name: opDisconnectParticipant,
+ Name: opDeleteEncoderConfiguration,
HTTPMethod: "POST",
- HTTPPath: "/DisconnectParticipant",
+ HTTPPath: "/DeleteEncoderConfiguration",
}
if input == nil {
- input = &DisconnectParticipantInput{}
+ input = &DeleteEncoderConfigurationInput{}
}
- output = &DisconnectParticipantOutput{}
+ output = &DeleteEncoderConfigurationOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DisconnectParticipant API operation for Amazon Interactive Video Service RealTime.
+// DeleteEncoderConfiguration API operation for Amazon Interactive Video Service RealTime.
//
-// Disconnects a specified participant and revokes the participant permanently
-// from a specified stage.
+// Deletes an EncoderConfiguration resource. Ensures that no Compositions are
+// using this template; otherwise, returns an error.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation DisconnectParticipant for usage and error information.
+// API operation DeleteEncoderConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -336,81 +432,86 @@ func (c *IVSRealTime) DisconnectParticipantRequest(input *DisconnectParticipantI
//
// - AccessDeniedException
//
-// - PendingVerification
+// - InternalServerException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DisconnectParticipant
-func (c *IVSRealTime) DisconnectParticipant(input *DisconnectParticipantInput) (*DisconnectParticipantOutput, error) {
- req, out := c.DisconnectParticipantRequest(input)
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteEncoderConfiguration
+func (c *IVSRealTime) DeleteEncoderConfiguration(input *DeleteEncoderConfigurationInput) (*DeleteEncoderConfigurationOutput, error) {
+ req, out := c.DeleteEncoderConfigurationRequest(input)
return out, req.Send()
}
-// DisconnectParticipantWithContext is the same as DisconnectParticipant with the addition of
+// DeleteEncoderConfigurationWithContext is the same as DeleteEncoderConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See DisconnectParticipant for details on how to use this API operation.
+// See DeleteEncoderConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) DisconnectParticipantWithContext(ctx aws.Context, input *DisconnectParticipantInput, opts ...request.Option) (*DisconnectParticipantOutput, error) {
- req, out := c.DisconnectParticipantRequest(input)
+func (c *IVSRealTime) DeleteEncoderConfigurationWithContext(ctx aws.Context, input *DeleteEncoderConfigurationInput, opts ...request.Option) (*DeleteEncoderConfigurationOutput, error) {
+ req, out := c.DeleteEncoderConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opGetParticipant = "GetParticipant"
+const opDeleteStage = "DeleteStage"
-// GetParticipantRequest generates a "aws/request.Request" representing the
-// client's request for the GetParticipant operation. The "output" return
+// DeleteStageRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteStage operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See GetParticipant for more information on using the GetParticipant
+// See DeleteStage for more information on using the DeleteStage
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the GetParticipantRequest method.
-// req, resp := client.GetParticipantRequest(params)
+// // Example sending a request using the DeleteStageRequest method.
+// req, resp := client.DeleteStageRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetParticipant
-func (c *IVSRealTime) GetParticipantRequest(input *GetParticipantInput) (req *request.Request, output *GetParticipantOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStage
+func (c *IVSRealTime) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput) {
op := &request.Operation{
- Name: opGetParticipant,
+ Name: opDeleteStage,
HTTPMethod: "POST",
- HTTPPath: "/GetParticipant",
+ HTTPPath: "/DeleteStage",
}
if input == nil {
- input = &GetParticipantInput{}
+ input = &DeleteStageInput{}
}
- output = &GetParticipantOutput{}
+ output = &DeleteStageOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// GetParticipant API operation for Amazon Interactive Video Service RealTime.
+// DeleteStage API operation for Amazon Interactive Video Service RealTime.
//
-// Gets information about the specified participant token.
+// Shuts down and deletes the specified stage (disconnecting all participants).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation GetParticipant for usage and error information.
+// API operation DeleteStage for usage and error information.
//
// Returned Error Types:
//
@@ -420,79 +521,89 @@ func (c *IVSRealTime) GetParticipantRequest(input *GetParticipantInput) (req *re
//
// - AccessDeniedException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetParticipant
-func (c *IVSRealTime) GetParticipant(input *GetParticipantInput) (*GetParticipantOutput, error) {
- req, out := c.GetParticipantRequest(input)
+// - ConflictException
+//
+// - PendingVerification
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStage
+func (c *IVSRealTime) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error) {
+ req, out := c.DeleteStageRequest(input)
return out, req.Send()
}
-// GetParticipantWithContext is the same as GetParticipant with the addition of
+// DeleteStageWithContext is the same as DeleteStage with the addition of
// the ability to pass a context and additional request options.
//
-// See GetParticipant for details on how to use this API operation.
+// See DeleteStage for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) GetParticipantWithContext(ctx aws.Context, input *GetParticipantInput, opts ...request.Option) (*GetParticipantOutput, error) {
- req, out := c.GetParticipantRequest(input)
+func (c *IVSRealTime) DeleteStageWithContext(ctx aws.Context, input *DeleteStageInput, opts ...request.Option) (*DeleteStageOutput, error) {
+ req, out := c.DeleteStageRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opGetStage = "GetStage"
+const opDeleteStorageConfiguration = "DeleteStorageConfiguration"
-// GetStageRequest generates a "aws/request.Request" representing the
-// client's request for the GetStage operation. The "output" return
+// DeleteStorageConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteStorageConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See GetStage for more information on using the GetStage
+// See DeleteStorageConfiguration for more information on using the DeleteStorageConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the GetStageRequest method.
-// req, resp := client.GetStageRequest(params)
+// // Example sending a request using the DeleteStorageConfigurationRequest method.
+// req, resp := client.DeleteStorageConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStage
-func (c *IVSRealTime) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStorageConfiguration
+func (c *IVSRealTime) DeleteStorageConfigurationRequest(input *DeleteStorageConfigurationInput) (req *request.Request, output *DeleteStorageConfigurationOutput) {
op := &request.Operation{
- Name: opGetStage,
+ Name: opDeleteStorageConfiguration,
HTTPMethod: "POST",
- HTTPPath: "/GetStage",
+ HTTPPath: "/DeleteStorageConfiguration",
}
if input == nil {
- input = &GetStageInput{}
+ input = &DeleteStorageConfigurationInput{}
}
- output = &GetStageOutput{}
+ output = &DeleteStorageConfigurationOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// GetStage API operation for Amazon Interactive Video Service RealTime.
+// DeleteStorageConfiguration API operation for Amazon Interactive Video Service RealTime.
//
-// Gets information for the specified stage.
+// Deletes the storage configuration for the specified ARN.
+//
+// If you try to delete a storage configuration that is used by a Composition,
+// you will get an error (409 ConflictException). To avoid this, for all Compositions
+// that reference the storage configuration, first use StopComposition and wait
+// for it to complete, then use DeleteStorageConfiguration.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation GetStage for usage and error information.
+// API operation DeleteStorageConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -502,79 +613,87 @@ func (c *IVSRealTime) GetStageRequest(input *GetStageInput) (req *request.Reques
//
// - AccessDeniedException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStage
-func (c *IVSRealTime) GetStage(input *GetStageInput) (*GetStageOutput, error) {
- req, out := c.GetStageRequest(input)
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeleteStorageConfiguration
+func (c *IVSRealTime) DeleteStorageConfiguration(input *DeleteStorageConfigurationInput) (*DeleteStorageConfigurationOutput, error) {
+ req, out := c.DeleteStorageConfigurationRequest(input)
return out, req.Send()
}
-// GetStageWithContext is the same as GetStage with the addition of
+// DeleteStorageConfigurationWithContext is the same as DeleteStorageConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See GetStage for details on how to use this API operation.
+// See DeleteStorageConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*GetStageOutput, error) {
- req, out := c.GetStageRequest(input)
+func (c *IVSRealTime) DeleteStorageConfigurationWithContext(ctx aws.Context, input *DeleteStorageConfigurationInput, opts ...request.Option) (*DeleteStorageConfigurationOutput, error) {
+ req, out := c.DeleteStorageConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opGetStageSession = "GetStageSession"
+const opDisconnectParticipant = "DisconnectParticipant"
-// GetStageSessionRequest generates a "aws/request.Request" representing the
-// client's request for the GetStageSession operation. The "output" return
+// DisconnectParticipantRequest generates a "aws/request.Request" representing the
+// client's request for the DisconnectParticipant operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See GetStageSession for more information on using the GetStageSession
+// See DisconnectParticipant for more information on using the DisconnectParticipant
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the GetStageSessionRequest method.
-// req, resp := client.GetStageSessionRequest(params)
+// // Example sending a request using the DisconnectParticipantRequest method.
+// req, resp := client.DisconnectParticipantRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStageSession
-func (c *IVSRealTime) GetStageSessionRequest(input *GetStageSessionInput) (req *request.Request, output *GetStageSessionOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DisconnectParticipant
+func (c *IVSRealTime) DisconnectParticipantRequest(input *DisconnectParticipantInput) (req *request.Request, output *DisconnectParticipantOutput) {
op := &request.Operation{
- Name: opGetStageSession,
+ Name: opDisconnectParticipant,
HTTPMethod: "POST",
- HTTPPath: "/GetStageSession",
+ HTTPPath: "/DisconnectParticipant",
}
if input == nil {
- input = &GetStageSessionInput{}
+ input = &DisconnectParticipantInput{}
}
- output = &GetStageSessionOutput{}
+ output = &DisconnectParticipantOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// GetStageSession API operation for Amazon Interactive Video Service RealTime.
+// DisconnectParticipant API operation for Amazon Interactive Video Service RealTime.
//
-// Gets information for the specified stage session.
+// Disconnects a specified participant and revokes the participant permanently
+// from a specified stage.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation GetStageSession for usage and error information.
+// API operation DisconnectParticipant for usage and error information.
//
// Returned Error Types:
//
@@ -584,631 +703,421 @@ func (c *IVSRealTime) GetStageSessionRequest(input *GetStageSessionInput) (req *
//
// - AccessDeniedException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStageSession
-func (c *IVSRealTime) GetStageSession(input *GetStageSessionInput) (*GetStageSessionOutput, error) {
- req, out := c.GetStageSessionRequest(input)
+// - PendingVerification
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DisconnectParticipant
+func (c *IVSRealTime) DisconnectParticipant(input *DisconnectParticipantInput) (*DisconnectParticipantOutput, error) {
+ req, out := c.DisconnectParticipantRequest(input)
return out, req.Send()
}
-// GetStageSessionWithContext is the same as GetStageSession with the addition of
+// DisconnectParticipantWithContext is the same as DisconnectParticipant with the addition of
// the ability to pass a context and additional request options.
//
-// See GetStageSession for details on how to use this API operation.
+// See DisconnectParticipant for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) GetStageSessionWithContext(ctx aws.Context, input *GetStageSessionInput, opts ...request.Option) (*GetStageSessionOutput, error) {
- req, out := c.GetStageSessionRequest(input)
+func (c *IVSRealTime) DisconnectParticipantWithContext(ctx aws.Context, input *DisconnectParticipantInput, opts ...request.Option) (*DisconnectParticipantOutput, error) {
+ req, out := c.DisconnectParticipantRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opListParticipantEvents = "ListParticipantEvents"
+const opGetComposition = "GetComposition"
-// ListParticipantEventsRequest generates a "aws/request.Request" representing the
-// client's request for the ListParticipantEvents operation. The "output" return
+// GetCompositionRequest generates a "aws/request.Request" representing the
+// client's request for the GetComposition operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListParticipantEvents for more information on using the ListParticipantEvents
+// See GetComposition for more information on using the GetComposition
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListParticipantEventsRequest method.
-// req, resp := client.ListParticipantEventsRequest(params)
+// // Example sending a request using the GetCompositionRequest method.
+// req, resp := client.GetCompositionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantEvents
-func (c *IVSRealTime) ListParticipantEventsRequest(input *ListParticipantEventsInput) (req *request.Request, output *ListParticipantEventsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetComposition
+func (c *IVSRealTime) GetCompositionRequest(input *GetCompositionInput) (req *request.Request, output *GetCompositionOutput) {
op := &request.Operation{
- Name: opListParticipantEvents,
+ Name: opGetComposition,
HTTPMethod: "POST",
- HTTPPath: "/ListParticipantEvents",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/GetComposition",
}
if input == nil {
- input = &ListParticipantEventsInput{}
+ input = &GetCompositionInput{}
}
- output = &ListParticipantEventsOutput{}
+ output = &GetCompositionOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListParticipantEvents API operation for Amazon Interactive Video Service RealTime.
+// GetComposition API operation for Amazon Interactive Video Service RealTime.
//
-// Lists events for a specified participant that occurred during a specified
-// stage session.
+// Get information about the specified Composition resource.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation ListParticipantEvents for usage and error information.
+// API operation GetComposition for usage and error information.
//
// Returned Error Types:
//
+// - ResourceNotFoundException
+//
// - ValidationException
//
// - AccessDeniedException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantEvents
-func (c *IVSRealTime) ListParticipantEvents(input *ListParticipantEventsInput) (*ListParticipantEventsOutput, error) {
- req, out := c.ListParticipantEventsRequest(input)
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetComposition
+func (c *IVSRealTime) GetComposition(input *GetCompositionInput) (*GetCompositionOutput, error) {
+ req, out := c.GetCompositionRequest(input)
return out, req.Send()
}
-// ListParticipantEventsWithContext is the same as ListParticipantEvents with the addition of
+// GetCompositionWithContext is the same as GetComposition with the addition of
// the ability to pass a context and additional request options.
//
-// See ListParticipantEvents for details on how to use this API operation.
+// See GetComposition for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) ListParticipantEventsWithContext(ctx aws.Context, input *ListParticipantEventsInput, opts ...request.Option) (*ListParticipantEventsOutput, error) {
- req, out := c.ListParticipantEventsRequest(input)
+func (c *IVSRealTime) GetCompositionWithContext(ctx aws.Context, input *GetCompositionInput, opts ...request.Option) (*GetCompositionOutput, error) {
+ req, out := c.GetCompositionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListParticipantEventsPages iterates over the pages of a ListParticipantEvents operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListParticipantEvents method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListParticipantEvents operation.
-// pageNum := 0
-// err := client.ListParticipantEventsPages(params,
-// func(page *ivsrealtime.ListParticipantEventsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *IVSRealTime) ListParticipantEventsPages(input *ListParticipantEventsInput, fn func(*ListParticipantEventsOutput, bool) bool) error {
- return c.ListParticipantEventsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListParticipantEventsPagesWithContext same as ListParticipantEventsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *IVSRealTime) ListParticipantEventsPagesWithContext(ctx aws.Context, input *ListParticipantEventsInput, fn func(*ListParticipantEventsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListParticipantEventsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListParticipantEventsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListParticipantEventsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListParticipants = "ListParticipants"
+const opGetEncoderConfiguration = "GetEncoderConfiguration"
-// ListParticipantsRequest generates a "aws/request.Request" representing the
-// client's request for the ListParticipants operation. The "output" return
+// GetEncoderConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the GetEncoderConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListParticipants for more information on using the ListParticipants
+// See GetEncoderConfiguration for more information on using the GetEncoderConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListParticipantsRequest method.
-// req, resp := client.ListParticipantsRequest(params)
+// // Example sending a request using the GetEncoderConfigurationRequest method.
+// req, resp := client.GetEncoderConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipants
-func (c *IVSRealTime) ListParticipantsRequest(input *ListParticipantsInput) (req *request.Request, output *ListParticipantsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetEncoderConfiguration
+func (c *IVSRealTime) GetEncoderConfigurationRequest(input *GetEncoderConfigurationInput) (req *request.Request, output *GetEncoderConfigurationOutput) {
op := &request.Operation{
- Name: opListParticipants,
+ Name: opGetEncoderConfiguration,
HTTPMethod: "POST",
- HTTPPath: "/ListParticipants",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/GetEncoderConfiguration",
}
if input == nil {
- input = &ListParticipantsInput{}
+ input = &GetEncoderConfigurationInput{}
}
- output = &ListParticipantsOutput{}
+ output = &GetEncoderConfigurationOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListParticipants API operation for Amazon Interactive Video Service RealTime.
+// GetEncoderConfiguration API operation for Amazon Interactive Video Service RealTime.
//
-// Lists all participants in a specified stage session.
+// Gets information about the specified EncoderConfiguration resource.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation ListParticipants for usage and error information.
+// API operation GetEncoderConfiguration for usage and error information.
//
// Returned Error Types:
//
+// - ResourceNotFoundException
+//
// - ValidationException
//
// - AccessDeniedException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipants
-func (c *IVSRealTime) ListParticipants(input *ListParticipantsInput) (*ListParticipantsOutput, error) {
- req, out := c.ListParticipantsRequest(input)
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetEncoderConfiguration
+func (c *IVSRealTime) GetEncoderConfiguration(input *GetEncoderConfigurationInput) (*GetEncoderConfigurationOutput, error) {
+ req, out := c.GetEncoderConfigurationRequest(input)
return out, req.Send()
}
-// ListParticipantsWithContext is the same as ListParticipants with the addition of
+// GetEncoderConfigurationWithContext is the same as GetEncoderConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See ListParticipants for details on how to use this API operation.
+// See GetEncoderConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) ListParticipantsWithContext(ctx aws.Context, input *ListParticipantsInput, opts ...request.Option) (*ListParticipantsOutput, error) {
- req, out := c.ListParticipantsRequest(input)
+func (c *IVSRealTime) GetEncoderConfigurationWithContext(ctx aws.Context, input *GetEncoderConfigurationInput, opts ...request.Option) (*GetEncoderConfigurationOutput, error) {
+ req, out := c.GetEncoderConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListParticipantsPages iterates over the pages of a ListParticipants operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListParticipants method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListParticipants operation.
-// pageNum := 0
-// err := client.ListParticipantsPages(params,
-// func(page *ivsrealtime.ListParticipantsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *IVSRealTime) ListParticipantsPages(input *ListParticipantsInput, fn func(*ListParticipantsOutput, bool) bool) error {
- return c.ListParticipantsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListParticipantsPagesWithContext same as ListParticipantsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *IVSRealTime) ListParticipantsPagesWithContext(ctx aws.Context, input *ListParticipantsInput, fn func(*ListParticipantsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListParticipantsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListParticipantsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListParticipantsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListStageSessions = "ListStageSessions"
+const opGetParticipant = "GetParticipant"
-// ListStageSessionsRequest generates a "aws/request.Request" representing the
-// client's request for the ListStageSessions operation. The "output" return
+// GetParticipantRequest generates a "aws/request.Request" representing the
+// client's request for the GetParticipant operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListStageSessions for more information on using the ListStageSessions
+// See GetParticipant for more information on using the GetParticipant
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListStageSessionsRequest method.
-// req, resp := client.ListStageSessionsRequest(params)
+// // Example sending a request using the GetParticipantRequest method.
+// req, resp := client.GetParticipantRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStageSessions
-func (c *IVSRealTime) ListStageSessionsRequest(input *ListStageSessionsInput) (req *request.Request, output *ListStageSessionsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetParticipant
+func (c *IVSRealTime) GetParticipantRequest(input *GetParticipantInput) (req *request.Request, output *GetParticipantOutput) {
op := &request.Operation{
- Name: opListStageSessions,
+ Name: opGetParticipant,
HTTPMethod: "POST",
- HTTPPath: "/ListStageSessions",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/GetParticipant",
}
if input == nil {
- input = &ListStageSessionsInput{}
+ input = &GetParticipantInput{}
}
- output = &ListStageSessionsOutput{}
+ output = &GetParticipantOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListStageSessions API operation for Amazon Interactive Video Service RealTime.
+// GetParticipant API operation for Amazon Interactive Video Service RealTime.
//
-// Gets all sessions for a specified stage.
+// Gets information about the specified participant token.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation ListStageSessions for usage and error information.
+// API operation GetParticipant for usage and error information.
//
// Returned Error Types:
//
+// - ResourceNotFoundException
+//
// - ValidationException
//
// - AccessDeniedException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStageSessions
-func (c *IVSRealTime) ListStageSessions(input *ListStageSessionsInput) (*ListStageSessionsOutput, error) {
- req, out := c.ListStageSessionsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetParticipant
+func (c *IVSRealTime) GetParticipant(input *GetParticipantInput) (*GetParticipantOutput, error) {
+ req, out := c.GetParticipantRequest(input)
return out, req.Send()
}
-// ListStageSessionsWithContext is the same as ListStageSessions with the addition of
+// GetParticipantWithContext is the same as GetParticipant with the addition of
// the ability to pass a context and additional request options.
//
-// See ListStageSessions for details on how to use this API operation.
+// See GetParticipant for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) ListStageSessionsWithContext(ctx aws.Context, input *ListStageSessionsInput, opts ...request.Option) (*ListStageSessionsOutput, error) {
- req, out := c.ListStageSessionsRequest(input)
+func (c *IVSRealTime) GetParticipantWithContext(ctx aws.Context, input *GetParticipantInput, opts ...request.Option) (*GetParticipantOutput, error) {
+ req, out := c.GetParticipantRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListStageSessionsPages iterates over the pages of a ListStageSessions operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
+const opGetStage = "GetStage"
+
+// GetStageRequest generates a "aws/request.Request" representing the
+// client's request for the GetStage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// See ListStageSessions method for more information on how to use this operation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// Note: This operation can generate multiple requests to a service.
+// See GetStage for more information on using the GetStage
+// API call, and error handling.
//
-// // Example iterating over at most 3 pages of a ListStageSessions operation.
-// pageNum := 0
-// err := client.ListStageSessionsPages(params,
-// func(page *ivsrealtime.ListStageSessionsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *IVSRealTime) ListStageSessionsPages(input *ListStageSessionsInput, fn func(*ListStageSessionsOutput, bool) bool) error {
- return c.ListStageSessionsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListStageSessionsPagesWithContext same as ListStageSessionsPages except
-// it takes a Context and allows setting request options on the pages.
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *IVSRealTime) ListStageSessionsPagesWithContext(ctx aws.Context, input *ListStageSessionsInput, fn func(*ListStageSessionsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListStageSessionsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListStageSessionsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListStageSessionsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListStages = "ListStages"
-
-// ListStagesRequest generates a "aws/request.Request" representing the
-// client's request for the ListStages operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
-//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
-//
-// See ListStages for more information on using the ListStages
-// API call, and error handling.
-//
-// This method is useful when you want to inject custom logic or configuration
-// into the SDK's request lifecycle. Such as custom headers, or retry logic.
-//
-// // Example sending a request using the ListStagesRequest method.
-// req, resp := client.ListStagesRequest(params)
+// // Example sending a request using the GetStageRequest method.
+// req, resp := client.GetStageRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStages
-func (c *IVSRealTime) ListStagesRequest(input *ListStagesInput) (req *request.Request, output *ListStagesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStage
+func (c *IVSRealTime) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput) {
op := &request.Operation{
- Name: opListStages,
+ Name: opGetStage,
HTTPMethod: "POST",
- HTTPPath: "/ListStages",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/GetStage",
}
if input == nil {
- input = &ListStagesInput{}
+ input = &GetStageInput{}
}
- output = &ListStagesOutput{}
+ output = &GetStageOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListStages API operation for Amazon Interactive Video Service RealTime.
+// GetStage API operation for Amazon Interactive Video Service RealTime.
//
-// Gets summary information about all stages in your account, in the AWS region
-// where the API request is processed.
+// Gets information for the specified stage.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation ListStages for usage and error information.
+// API operation GetStage for usage and error information.
//
// Returned Error Types:
//
+// - ResourceNotFoundException
+//
// - ValidationException
//
// - AccessDeniedException
//
-// - ConflictException
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStages
-func (c *IVSRealTime) ListStages(input *ListStagesInput) (*ListStagesOutput, error) {
- req, out := c.ListStagesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStage
+func (c *IVSRealTime) GetStage(input *GetStageInput) (*GetStageOutput, error) {
+ req, out := c.GetStageRequest(input)
return out, req.Send()
}
-// ListStagesWithContext is the same as ListStages with the addition of
+// GetStageWithContext is the same as GetStage with the addition of
// the ability to pass a context and additional request options.
//
-// See ListStages for details on how to use this API operation.
+// See GetStage for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) ListStagesWithContext(ctx aws.Context, input *ListStagesInput, opts ...request.Option) (*ListStagesOutput, error) {
- req, out := c.ListStagesRequest(input)
+func (c *IVSRealTime) GetStageWithContext(ctx aws.Context, input *GetStageInput, opts ...request.Option) (*GetStageOutput, error) {
+ req, out := c.GetStageRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListStagesPages iterates over the pages of a ListStages operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListStages method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListStages operation.
-// pageNum := 0
-// err := client.ListStagesPages(params,
-// func(page *ivsrealtime.ListStagesOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *IVSRealTime) ListStagesPages(input *ListStagesInput, fn func(*ListStagesOutput, bool) bool) error {
- return c.ListStagesPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListStagesPagesWithContext same as ListStagesPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *IVSRealTime) ListStagesPagesWithContext(ctx aws.Context, input *ListStagesInput, fn func(*ListStagesOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListStagesInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListStagesRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListStagesOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListTagsForResource = "ListTagsForResource"
+const opGetStageSession = "GetStageSession"
-// ListTagsForResourceRequest generates a "aws/request.Request" representing the
-// client's request for the ListTagsForResource operation. The "output" return
+// GetStageSessionRequest generates a "aws/request.Request" representing the
+// client's request for the GetStageSession operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListTagsForResource for more information on using the ListTagsForResource
+// See GetStageSession for more information on using the GetStageSession
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListTagsForResourceRequest method.
-// req, resp := client.ListTagsForResourceRequest(params)
+// // Example sending a request using the GetStageSessionRequest method.
+// req, resp := client.GetStageSessionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListTagsForResource
-func (c *IVSRealTime) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStageSession
+func (c *IVSRealTime) GetStageSessionRequest(input *GetStageSessionInput) (req *request.Request, output *GetStageSessionOutput) {
op := &request.Operation{
- Name: opListTagsForResource,
- HTTPMethod: "GET",
- HTTPPath: "/tags/{resourceArn}",
+ Name: opGetStageSession,
+ HTTPMethod: "POST",
+ HTTPPath: "/GetStageSession",
}
if input == nil {
- input = &ListTagsForResourceInput{}
+ input = &GetStageSessionInput{}
}
- output = &ListTagsForResourceOutput{}
+ output = &GetStageSessionOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListTagsForResource API operation for Amazon Interactive Video Service RealTime.
+// GetStageSession API operation for Amazon Interactive Video Service RealTime.
//
-// Gets information about AWS tags for the specified ARN.
+// Gets information for the specified stage session.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation ListTagsForResource for usage and error information.
+// API operation GetStageSession for usage and error information.
//
// Returned Error Types:
//
@@ -1216,82 +1125,81 @@ func (c *IVSRealTime) ListTagsForResourceRequest(input *ListTagsForResourceInput
//
// - ValidationException
//
-// - InternalServerException
+// - AccessDeniedException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListTagsForResource
-func (c *IVSRealTime) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStageSession
+func (c *IVSRealTime) GetStageSession(input *GetStageSessionInput) (*GetStageSessionOutput, error) {
+ req, out := c.GetStageSessionRequest(input)
return out, req.Send()
}
-// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// GetStageSessionWithContext is the same as GetStageSession with the addition of
// the ability to pass a context and additional request options.
//
-// See ListTagsForResource for details on how to use this API operation.
+// See GetStageSession for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+func (c *IVSRealTime) GetStageSessionWithContext(ctx aws.Context, input *GetStageSessionInput, opts ...request.Option) (*GetStageSessionOutput, error) {
+ req, out := c.GetStageSessionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opTagResource = "TagResource"
+const opGetStorageConfiguration = "GetStorageConfiguration"
-// TagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the TagResource operation. The "output" return
+// GetStorageConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the GetStorageConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See TagResource for more information on using the TagResource
+// See GetStorageConfiguration for more information on using the GetStorageConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the TagResourceRequest method.
-// req, resp := client.TagResourceRequest(params)
+// // Example sending a request using the GetStorageConfigurationRequest method.
+// req, resp := client.GetStorageConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/TagResource
-func (c *IVSRealTime) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStorageConfiguration
+func (c *IVSRealTime) GetStorageConfigurationRequest(input *GetStorageConfigurationInput) (req *request.Request, output *GetStorageConfigurationOutput) {
op := &request.Operation{
- Name: opTagResource,
+ Name: opGetStorageConfiguration,
HTTPMethod: "POST",
- HTTPPath: "/tags/{resourceArn}",
+ HTTPPath: "/GetStorageConfiguration",
}
if input == nil {
- input = &TagResourceInput{}
+ input = &GetStorageConfigurationInput{}
}
- output = &TagResourceOutput{}
+ output = &GetStorageConfigurationOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// TagResource API operation for Amazon Interactive Video Service RealTime.
+// GetStorageConfiguration API operation for Amazon Interactive Video Service RealTime.
//
-// Adds or updates tags for the AWS resource with the specified ARN.
+// Gets the storage configuration for the specified ARN.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation TagResource for usage and error information.
+// API operation GetStorageConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -1299,273 +1207,3495 @@ func (c *IVSRealTime) TagResourceRequest(input *TagResourceInput) (req *request.
//
// - ValidationException
//
+// - AccessDeniedException
+//
// - InternalServerException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/TagResource
-func (c *IVSRealTime) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStorageConfiguration
+func (c *IVSRealTime) GetStorageConfiguration(input *GetStorageConfigurationInput) (*GetStorageConfigurationOutput, error) {
+ req, out := c.GetStorageConfigurationRequest(input)
return out, req.Send()
}
-// TagResourceWithContext is the same as TagResource with the addition of
+// GetStorageConfigurationWithContext is the same as GetStorageConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See TagResource for details on how to use this API operation.
+// See GetStorageConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+func (c *IVSRealTime) GetStorageConfigurationWithContext(ctx aws.Context, input *GetStorageConfigurationInput, opts ...request.Option) (*GetStorageConfigurationOutput, error) {
+ req, out := c.GetStorageConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUntagResource = "UntagResource"
+const opListCompositions = "ListCompositions"
-// UntagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the UntagResource operation. The "output" return
+// ListCompositionsRequest generates a "aws/request.Request" representing the
+// client's request for the ListCompositions operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UntagResource for more information on using the UntagResource
+// See ListCompositions for more information on using the ListCompositions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UntagResourceRequest method.
-// req, resp := client.UntagResourceRequest(params)
+// // Example sending a request using the ListCompositionsRequest method.
+// req, resp := client.ListCompositionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UntagResource
-func (c *IVSRealTime) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListCompositions
+func (c *IVSRealTime) ListCompositionsRequest(input *ListCompositionsInput) (req *request.Request, output *ListCompositionsOutput) {
op := &request.Operation{
- Name: opUntagResource,
- HTTPMethod: "DELETE",
- HTTPPath: "/tags/{resourceArn}",
+ Name: opListCompositions,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListCompositions",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &UntagResourceInput{}
+ input = &ListCompositionsInput{}
}
- output = &UntagResourceOutput{}
+ output = &ListCompositionsOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// UntagResource API operation for Amazon Interactive Video Service RealTime.
+// ListCompositions API operation for Amazon Interactive Video Service RealTime.
//
-// Removes tags from the resource with the specified ARN.
+// Gets summary information about all Compositions in your account, in the AWS
+// region where the API request is processed.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation UntagResource for usage and error information.
+// API operation ListCompositions for usage and error information.
//
// Returned Error Types:
//
-// - ResourceNotFoundException
-//
// - ValidationException
//
+// - AccessDeniedException
+//
// - InternalServerException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UntagResource
-func (c *IVSRealTime) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListCompositions
+func (c *IVSRealTime) ListCompositions(input *ListCompositionsInput) (*ListCompositionsOutput, error) {
+ req, out := c.ListCompositionsRequest(input)
return out, req.Send()
}
-// UntagResourceWithContext is the same as UntagResource with the addition of
+// ListCompositionsWithContext is the same as ListCompositions with the addition of
// the ability to pass a context and additional request options.
//
-// See UntagResource for details on how to use this API operation.
+// See ListCompositions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+func (c *IVSRealTime) ListCompositionsWithContext(ctx aws.Context, input *ListCompositionsInput, opts ...request.Option) (*ListCompositionsOutput, error) {
+ req, out := c.ListCompositionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateStage = "UpdateStage"
+// ListCompositionsPages iterates over the pages of a ListCompositions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListCompositions method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListCompositions operation.
+// pageNum := 0
+// err := client.ListCompositionsPages(params,
+// func(page *ivsrealtime.ListCompositionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *IVSRealTime) ListCompositionsPages(input *ListCompositionsInput, fn func(*ListCompositionsOutput, bool) bool) error {
+ return c.ListCompositionsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// UpdateStageRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateStage operation. The "output" return
+// ListCompositionsPagesWithContext same as ListCompositionsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListCompositionsPagesWithContext(ctx aws.Context, input *ListCompositionsInput, fn func(*ListCompositionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListCompositionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListCompositionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListCompositionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListEncoderConfigurations = "ListEncoderConfigurations"
+
+// ListEncoderConfigurationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListEncoderConfigurations operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateStage for more information on using the UpdateStage
+// See ListEncoderConfigurations for more information on using the ListEncoderConfigurations
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateStageRequest method.
-// req, resp := client.UpdateStageRequest(params)
+// // Example sending a request using the ListEncoderConfigurationsRequest method.
+// req, resp := client.ListEncoderConfigurationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStage
-func (c *IVSRealTime) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListEncoderConfigurations
+func (c *IVSRealTime) ListEncoderConfigurationsRequest(input *ListEncoderConfigurationsInput) (req *request.Request, output *ListEncoderConfigurationsOutput) {
op := &request.Operation{
- Name: opUpdateStage,
+ Name: opListEncoderConfigurations,
HTTPMethod: "POST",
- HTTPPath: "/UpdateStage",
+ HTTPPath: "/ListEncoderConfigurations",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &UpdateStageInput{}
+ input = &ListEncoderConfigurationsInput{}
}
- output = &UpdateStageOutput{}
+ output = &ListEncoderConfigurationsOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateStage API operation for Amazon Interactive Video Service RealTime.
+// ListEncoderConfigurations API operation for Amazon Interactive Video Service RealTime.
//
-// Updates a stage’s configuration.
+// Gets summary information about all EncoderConfigurations in your account,
+// in the AWS region where the API request is processed.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
-// API operation UpdateStage for usage and error information.
+// API operation ListEncoderConfigurations for usage and error information.
//
// Returned Error Types:
//
-// - ResourceNotFoundException
-//
// - ValidationException
//
// - AccessDeniedException
//
+// - InternalServerException
+//
// - ServiceQuotaExceededException
//
-// - PendingVerification
+// - ConflictException
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStage
-func (c *IVSRealTime) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error) {
- req, out := c.UpdateStageRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListEncoderConfigurations
+func (c *IVSRealTime) ListEncoderConfigurations(input *ListEncoderConfigurationsInput) (*ListEncoderConfigurationsOutput, error) {
+ req, out := c.ListEncoderConfigurationsRequest(input)
return out, req.Send()
}
-// UpdateStageWithContext is the same as UpdateStage with the addition of
+// ListEncoderConfigurationsWithContext is the same as ListEncoderConfigurations with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateStage for details on how to use this API operation.
+// See ListEncoderConfigurations for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *IVSRealTime) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*UpdateStageOutput, error) {
- req, out := c.UpdateStageRequest(input)
+func (c *IVSRealTime) ListEncoderConfigurationsWithContext(ctx aws.Context, input *ListEncoderConfigurationsInput, opts ...request.Option) (*ListEncoderConfigurationsOutput, error) {
+ req, out := c.ListEncoderConfigurationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-type AccessDeniedException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- // User does not have sufficient access to perform this action.
- ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
-
- Message_ *string `locationName:"message" type:"string"`
-}
-
-// String returns the string representation.
+// ListEncoderConfigurationsPages iterates over the pages of a ListEncoderConfigurations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessDeniedException) String() string {
- return awsutil.Prettify(s)
+// See ListEncoderConfigurations method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListEncoderConfigurations operation.
+// pageNum := 0
+// err := client.ListEncoderConfigurationsPages(params,
+// func(page *ivsrealtime.ListEncoderConfigurationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *IVSRealTime) ListEncoderConfigurationsPages(input *ListEncoderConfigurationsInput, fn func(*ListEncoderConfigurationsOutput, bool) bool) error {
+ return c.ListEncoderConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// GoString returns the string representation.
+// ListEncoderConfigurationsPagesWithContext same as ListEncoderConfigurationsPages except
+// it takes a Context and allows setting request options on the pages.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessDeniedException) GoString() string {
- return s.String()
-}
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListEncoderConfigurationsPagesWithContext(ctx aws.Context, input *ListEncoderConfigurationsInput, fn func(*ListEncoderConfigurationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListEncoderConfigurationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListEncoderConfigurationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
-func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
- return &AccessDeniedException{
- RespMetadata: v,
+ for p.Next() {
+ if !fn(p.Page().(*ListEncoderConfigurationsOutput), !p.HasNextPage()) {
+ break
+ }
}
-}
-// Code returns the exception type name.
-func (s *AccessDeniedException) Code() string {
- return "AccessDeniedException"
+ return p.Err()
}
-// Message returns the exception's message.
-func (s *AccessDeniedException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
+const opListParticipantEvents = "ListParticipantEvents"
+
+// ListParticipantEventsRequest generates a "aws/request.Request" representing the
+// client's request for the ListParticipantEvents operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListParticipantEvents for more information on using the ListParticipantEvents
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListParticipantEventsRequest method.
+// req, resp := client.ListParticipantEventsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantEvents
+func (c *IVSRealTime) ListParticipantEventsRequest(input *ListParticipantEventsInput) (req *request.Request, output *ListParticipantEventsOutput) {
+ op := &request.Operation{
+ Name: opListParticipantEvents,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListParticipantEvents",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
- return ""
-}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *AccessDeniedException) OrigErr() error {
- return nil
+ if input == nil {
+ input = &ListParticipantEventsInput{}
+ }
+
+ output = &ListParticipantEventsOutput{}
+ req = c.newRequest(op, input, output)
+ return
}
-func (s *AccessDeniedException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+// ListParticipantEvents API operation for Amazon Interactive Video Service RealTime.
+//
+// Lists events for a specified participant that occurred during a specified
+// stage session.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation ListParticipantEvents for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantEvents
+func (c *IVSRealTime) ListParticipantEvents(input *ListParticipantEventsInput) (*ListParticipantEventsOutput, error) {
+ req, out := c.ListParticipantEventsRequest(input)
+ return out, req.Send()
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *AccessDeniedException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// ListParticipantEventsWithContext is the same as ListParticipantEvents with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListParticipantEvents for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListParticipantEventsWithContext(ctx aws.Context, input *ListParticipantEventsInput, opts ...request.Option) (*ListParticipantEventsOutput, error) {
+ req, out := c.ListParticipantEventsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
}
-// RequestID returns the service's response RequestID for request.
-func (s *AccessDeniedException) RequestID() string {
- return s.RespMetadata.RequestID
+// ListParticipantEventsPages iterates over the pages of a ListParticipantEvents operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListParticipantEvents method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListParticipantEvents operation.
+// pageNum := 0
+// err := client.ListParticipantEventsPages(params,
+// func(page *ivsrealtime.ListParticipantEventsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *IVSRealTime) ListParticipantEventsPages(input *ListParticipantEventsInput, fn func(*ListParticipantEventsOutput, bool) bool) error {
+ return c.ListParticipantEventsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-type ConflictException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+// ListParticipantEventsPagesWithContext same as ListParticipantEventsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListParticipantEventsPagesWithContext(ctx aws.Context, input *ListParticipantEventsInput, fn func(*ListParticipantEventsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListParticipantEventsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListParticipantEventsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListParticipantEventsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListParticipants = "ListParticipants"
+
+// ListParticipantsRequest generates a "aws/request.Request" representing the
+// client's request for the ListParticipants operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListParticipants for more information on using the ListParticipants
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListParticipantsRequest method.
+// req, resp := client.ListParticipantsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipants
+func (c *IVSRealTime) ListParticipantsRequest(input *ListParticipantsInput) (req *request.Request, output *ListParticipantsOutput) {
+ op := &request.Operation{
+ Name: opListParticipants,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListParticipants",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListParticipantsInput{}
+ }
+
+ output = &ListParticipantsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListParticipants API operation for Amazon Interactive Video Service RealTime.
+//
+// Lists all participants in a specified stage session.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation ListParticipants for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipants
+func (c *IVSRealTime) ListParticipants(input *ListParticipantsInput) (*ListParticipantsOutput, error) {
+ req, out := c.ListParticipantsRequest(input)
+ return out, req.Send()
+}
+
+// ListParticipantsWithContext is the same as ListParticipants with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListParticipants for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListParticipantsWithContext(ctx aws.Context, input *ListParticipantsInput, opts ...request.Option) (*ListParticipantsOutput, error) {
+ req, out := c.ListParticipantsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListParticipantsPages iterates over the pages of a ListParticipants operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListParticipants method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListParticipants operation.
+// pageNum := 0
+// err := client.ListParticipantsPages(params,
+// func(page *ivsrealtime.ListParticipantsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *IVSRealTime) ListParticipantsPages(input *ListParticipantsInput, fn func(*ListParticipantsOutput, bool) bool) error {
+ return c.ListParticipantsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListParticipantsPagesWithContext same as ListParticipantsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListParticipantsPagesWithContext(ctx aws.Context, input *ListParticipantsInput, fn func(*ListParticipantsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListParticipantsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListParticipantsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListParticipantsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListStageSessions = "ListStageSessions"
+
+// ListStageSessionsRequest generates a "aws/request.Request" representing the
+// client's request for the ListStageSessions operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListStageSessions for more information on using the ListStageSessions
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListStageSessionsRequest method.
+// req, resp := client.ListStageSessionsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStageSessions
+func (c *IVSRealTime) ListStageSessionsRequest(input *ListStageSessionsInput) (req *request.Request, output *ListStageSessionsOutput) {
+ op := &request.Operation{
+ Name: opListStageSessions,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListStageSessions",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListStageSessionsInput{}
+ }
+
+ output = &ListStageSessionsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListStageSessions API operation for Amazon Interactive Video Service RealTime.
+//
+// Gets all sessions for a specified stage.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation ListStageSessions for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStageSessions
+func (c *IVSRealTime) ListStageSessions(input *ListStageSessionsInput) (*ListStageSessionsOutput, error) {
+ req, out := c.ListStageSessionsRequest(input)
+ return out, req.Send()
+}
+
+// ListStageSessionsWithContext is the same as ListStageSessions with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListStageSessions for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListStageSessionsWithContext(ctx aws.Context, input *ListStageSessionsInput, opts ...request.Option) (*ListStageSessionsOutput, error) {
+ req, out := c.ListStageSessionsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListStageSessionsPages iterates over the pages of a ListStageSessions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListStageSessions method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListStageSessions operation.
+// pageNum := 0
+// err := client.ListStageSessionsPages(params,
+// func(page *ivsrealtime.ListStageSessionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *IVSRealTime) ListStageSessionsPages(input *ListStageSessionsInput, fn func(*ListStageSessionsOutput, bool) bool) error {
+ return c.ListStageSessionsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListStageSessionsPagesWithContext same as ListStageSessionsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListStageSessionsPagesWithContext(ctx aws.Context, input *ListStageSessionsInput, fn func(*ListStageSessionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListStageSessionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListStageSessionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListStageSessionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListStages = "ListStages"
+
+// ListStagesRequest generates a "aws/request.Request" representing the
+// client's request for the ListStages operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListStages for more information on using the ListStages
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListStagesRequest method.
+// req, resp := client.ListStagesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStages
+func (c *IVSRealTime) ListStagesRequest(input *ListStagesInput) (req *request.Request, output *ListStagesOutput) {
+ op := &request.Operation{
+ Name: opListStages,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListStages",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListStagesInput{}
+ }
+
+ output = &ListStagesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListStages API operation for Amazon Interactive Video Service RealTime.
+//
+// Gets summary information about all stages in your account, in the AWS region
+// where the API request is processed.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation ListStages for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStages
+func (c *IVSRealTime) ListStages(input *ListStagesInput) (*ListStagesOutput, error) {
+ req, out := c.ListStagesRequest(input)
+ return out, req.Send()
+}
+
+// ListStagesWithContext is the same as ListStages with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListStages for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListStagesWithContext(ctx aws.Context, input *ListStagesInput, opts ...request.Option) (*ListStagesOutput, error) {
+ req, out := c.ListStagesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListStagesPages iterates over the pages of a ListStages operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListStages method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListStages operation.
+// pageNum := 0
+// err := client.ListStagesPages(params,
+// func(page *ivsrealtime.ListStagesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *IVSRealTime) ListStagesPages(input *ListStagesInput, fn func(*ListStagesOutput, bool) bool) error {
+ return c.ListStagesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListStagesPagesWithContext same as ListStagesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListStagesPagesWithContext(ctx aws.Context, input *ListStagesInput, fn func(*ListStagesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListStagesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListStagesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListStagesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListStorageConfigurations = "ListStorageConfigurations"
+
+// ListStorageConfigurationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListStorageConfigurations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListStorageConfigurations for more information on using the ListStorageConfigurations
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListStorageConfigurationsRequest method.
+// req, resp := client.ListStorageConfigurationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStorageConfigurations
+func (c *IVSRealTime) ListStorageConfigurationsRequest(input *ListStorageConfigurationsInput) (req *request.Request, output *ListStorageConfigurationsOutput) {
+ op := &request.Operation{
+ Name: opListStorageConfigurations,
+ HTTPMethod: "POST",
+ HTTPPath: "/ListStorageConfigurations",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListStorageConfigurationsInput{}
+ }
+
+ output = &ListStorageConfigurationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListStorageConfigurations API operation for Amazon Interactive Video Service RealTime.
+//
+// Gets summary information about all storage configurations in your account,
+// in the AWS region where the API request is processed.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation ListStorageConfigurations for usage and error information.
+//
+// Returned Error Types:
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListStorageConfigurations
+func (c *IVSRealTime) ListStorageConfigurations(input *ListStorageConfigurationsInput) (*ListStorageConfigurationsOutput, error) {
+ req, out := c.ListStorageConfigurationsRequest(input)
+ return out, req.Send()
+}
+
+// ListStorageConfigurationsWithContext is the same as ListStorageConfigurations with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListStorageConfigurations for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListStorageConfigurationsWithContext(ctx aws.Context, input *ListStorageConfigurationsInput, opts ...request.Option) (*ListStorageConfigurationsOutput, error) {
+ req, out := c.ListStorageConfigurationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListStorageConfigurationsPages iterates over the pages of a ListStorageConfigurations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListStorageConfigurations method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListStorageConfigurations operation.
+// pageNum := 0
+// err := client.ListStorageConfigurationsPages(params,
+// func(page *ivsrealtime.ListStorageConfigurationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *IVSRealTime) ListStorageConfigurationsPages(input *ListStorageConfigurationsInput, fn func(*ListStorageConfigurationsOutput, bool) bool) error {
+ return c.ListStorageConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListStorageConfigurationsPagesWithContext same as ListStorageConfigurationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListStorageConfigurationsPagesWithContext(ctx aws.Context, input *ListStorageConfigurationsInput, fn func(*ListStorageConfigurationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListStorageConfigurationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListStorageConfigurationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListStorageConfigurationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListTagsForResource = "ListTagsForResource"
+
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// client's request for the ListTagsForResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListTagsForResource for more information on using the ListTagsForResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListTagsForResourceRequest method.
+// req, resp := client.ListTagsForResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListTagsForResource
+func (c *IVSRealTime) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+ op := &request.Operation{
+ Name: opListTagsForResource,
+ HTTPMethod: "GET",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &ListTagsForResourceInput{}
+ }
+
+ output = &ListTagsForResourceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTagsForResource API operation for Amazon Interactive Video Service RealTime.
+//
+// Gets information about AWS tags for the specified ARN.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation ListTagsForResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ResourceNotFoundException
+//
+// - ValidationException
+//
+// - InternalServerException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListTagsForResource
+func (c *IVSRealTime) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ return out, req.Send()
+}
+
+// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTagsForResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opStartComposition = "StartComposition"
+
+// StartCompositionRequest generates a "aws/request.Request" representing the
+// client's request for the StartComposition operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See StartComposition for more information on using the StartComposition
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the StartCompositionRequest method.
+// req, resp := client.StartCompositionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StartComposition
+func (c *IVSRealTime) StartCompositionRequest(input *StartCompositionInput) (req *request.Request, output *StartCompositionOutput) {
+ op := &request.Operation{
+ Name: opStartComposition,
+ HTTPMethod: "POST",
+ HTTPPath: "/StartComposition",
+ }
+
+ if input == nil {
+ input = &StartCompositionInput{}
+ }
+
+ output = &StartCompositionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// StartComposition API operation for Amazon Interactive Video Service RealTime.
+//
+// Starts a Composition from a stage based on the configuration provided in
+// the request.
+//
+// A Composition is an ephemeral resource that exists after this endpoint returns
+// successfully. Composition stops and the resource is deleted:
+//
+// - When StopComposition is called.
+//
+// - After a 1-minute timeout, when all participants are disconnected from
+// the stage.
+//
+// - After a 1-minute timeout, if there are no participants in the stage
+// when StartComposition is called.
+//
+// - When broadcasting to the IVS channel fails and all retries are exhausted.
+//
+// - When broadcasting is disconnected and all attempts to reconnect are
+// exhausted.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation StartComposition for usage and error information.
+//
+// Returned Error Types:
+//
+// - ResourceNotFoundException
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// - PendingVerification
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StartComposition
+func (c *IVSRealTime) StartComposition(input *StartCompositionInput) (*StartCompositionOutput, error) {
+ req, out := c.StartCompositionRequest(input)
+ return out, req.Send()
+}
+
+// StartCompositionWithContext is the same as StartComposition with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StartComposition for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) StartCompositionWithContext(ctx aws.Context, input *StartCompositionInput, opts ...request.Option) (*StartCompositionOutput, error) {
+ req, out := c.StartCompositionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opStopComposition = "StopComposition"
+
+// StopCompositionRequest generates a "aws/request.Request" representing the
+// client's request for the StopComposition operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See StopComposition for more information on using the StopComposition
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the StopCompositionRequest method.
+// req, resp := client.StopCompositionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StopComposition
+func (c *IVSRealTime) StopCompositionRequest(input *StopCompositionInput) (req *request.Request, output *StopCompositionOutput) {
+ op := &request.Operation{
+ Name: opStopComposition,
+ HTTPMethod: "POST",
+ HTTPPath: "/StopComposition",
+ }
+
+ if input == nil {
+ input = &StopCompositionInput{}
+ }
+
+ output = &StopCompositionOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// StopComposition API operation for Amazon Interactive Video Service RealTime.
+//
+// Stops and deletes a Composition resource. Any broadcast from the Composition
+// resource is stopped.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation StopComposition for usage and error information.
+//
+// Returned Error Types:
+//
+// - ResourceNotFoundException
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// - InternalServerException
+//
+// - ServiceQuotaExceededException
+//
+// - ConflictException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StopComposition
+func (c *IVSRealTime) StopComposition(input *StopCompositionInput) (*StopCompositionOutput, error) {
+ req, out := c.StopCompositionRequest(input)
+ return out, req.Send()
+}
+
+// StopCompositionWithContext is the same as StopComposition with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StopComposition for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) StopCompositionWithContext(ctx aws.Context, input *StopCompositionInput, opts ...request.Option) (*StopCompositionOutput, error) {
+ req, out := c.StopCompositionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opTagResource = "TagResource"
+
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See TagResource for more information on using the TagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/TagResource
+func (c *IVSRealTime) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+ op := &request.Operation{
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ output = &TagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// TagResource API operation for Amazon Interactive Video Service RealTime.
+//
+// Adds or updates tags for the AWS resource with the specified ARN.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ResourceNotFoundException
+//
+// - ValidationException
+//
+// - InternalServerException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/TagResource
+func (c *IVSRealTime) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ return out, req.Send()
+}
+
+// TagResourceWithContext is the same as TagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UntagResource for more information on using the UntagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UntagResource
+func (c *IVSRealTime) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ output = &UntagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UntagResource API operation for Amazon Interactive Video Service RealTime.
+//
+// Removes tags from the resource with the specified ARN.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ResourceNotFoundException
+//
+// - ValidationException
+//
+// - InternalServerException
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UntagResource
+func (c *IVSRealTime) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ return out, req.Send()
+}
+
+// UntagResourceWithContext is the same as UntagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UntagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateStage = "UpdateStage"
+
+// UpdateStageRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateStage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateStage for more information on using the UpdateStage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateStageRequest method.
+// req, resp := client.UpdateStageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStage
+func (c *IVSRealTime) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput) {
+ op := &request.Operation{
+ Name: opUpdateStage,
+ HTTPMethod: "POST",
+ HTTPPath: "/UpdateStage",
+ }
+
+ if input == nil {
+ input = &UpdateStageInput{}
+ }
+
+ output = &UpdateStageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateStage API operation for Amazon Interactive Video Service RealTime.
+//
+// Updates a stage’s configuration.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Interactive Video Service RealTime's
+// API operation UpdateStage for usage and error information.
+//
+// Returned Error Types:
+//
+// - ResourceNotFoundException
+//
+// - ValidationException
+//
+// - AccessDeniedException
+//
+// - ServiceQuotaExceededException
+//
+// - PendingVerification
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStage
+func (c *IVSRealTime) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error) {
+ req, out := c.UpdateStageRequest(input)
+ return out, req.Send()
+}
+
+// UpdateStageWithContext is the same as UpdateStage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateStage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *IVSRealTime) UpdateStageWithContext(ctx aws.Context, input *UpdateStageInput, opts ...request.Option) (*UpdateStageOutput, error) {
+ req, out := c.UpdateStageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+type AccessDeniedException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // User does not have sufficient access to perform this action.
+ ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) GoString() string {
+ return s.String()
+}
+
+func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
+ return &AccessDeniedException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *AccessDeniedException) Code() string {
+ return "AccessDeniedException"
+}
+
+// Message returns the exception's message.
+func (s *AccessDeniedException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *AccessDeniedException) OrigErr() error {
+ return nil
+}
+
+func (s *AccessDeniedException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *AccessDeniedException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *AccessDeniedException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Object specifying a channel as a destination.
+type ChannelDestinationConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the channel to use for broadcasting. The channel and stage resources
+ // must be in the same AWS account and region. The channel must be offline (not
+ // broadcasting).
+ //
+ // ChannelArn is a required field
+ ChannelArn *string `locationName:"channelArn" min:"1" type:"string" required:"true"`
+
+ // ARN of the EncoderConfiguration resource. The encoder configuration and stage
+ // resources must be in the same AWS account and region.
+ EncoderConfigurationArn *string `locationName:"encoderConfigurationArn" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ChannelDestinationConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ChannelDestinationConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ChannelDestinationConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ChannelDestinationConfiguration"}
+ if s.ChannelArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
+ }
+ if s.ChannelArn != nil && len(*s.ChannelArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 1))
+ }
+ if s.EncoderConfigurationArn != nil && len(*s.EncoderConfigurationArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("EncoderConfigurationArn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetChannelArn sets the ChannelArn field's value.
+func (s *ChannelDestinationConfiguration) SetChannelArn(v string) *ChannelDestinationConfiguration {
+ s.ChannelArn = &v
+ return s
+}
+
+// SetEncoderConfigurationArn sets the EncoderConfigurationArn field's value.
+func (s *ChannelDestinationConfiguration) SetEncoderConfigurationArn(v string) *ChannelDestinationConfiguration {
+ s.EncoderConfigurationArn = &v
+ return s
+}
+
+// Object specifying a Composition resource.
+type Composition struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the Composition resource.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+
+ // Array of Destination objects. A Composition can contain either one destination
+ // (channel or s3) or two (one channel and one s3).
+ //
+ // Destinations is a required field
+ Destinations []*Destination `locationName:"destinations" min:"1" type:"list" required:"true"`
+
+ // UTC time of the Composition end. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // Layout object to configure composition parameters.
+ //
+ // Layout is a required field
+ Layout *LayoutConfiguration `locationName:"layout" type:"structure" required:"true"`
+
+ // ARN of the stage used as input
+ //
+ // StageArn is a required field
+ StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+
+ // UTC time of the Composition start. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // State of the Composition.
+ //
+ // State is a required field
+ State *string `locationName:"state" type:"string" required:"true" enum:"CompositionState"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Composition) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Composition) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *Composition) SetArn(v string) *Composition {
+ s.Arn = &v
+ return s
+}
+
+// SetDestinations sets the Destinations field's value.
+func (s *Composition) SetDestinations(v []*Destination) *Composition {
+ s.Destinations = v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *Composition) SetEndTime(v time.Time) *Composition {
+ s.EndTime = &v
+ return s
+}
+
+// SetLayout sets the Layout field's value.
+func (s *Composition) SetLayout(v *LayoutConfiguration) *Composition {
+ s.Layout = v
+ return s
+}
+
+// SetStageArn sets the StageArn field's value.
+func (s *Composition) SetStageArn(v string) *Composition {
+ s.StageArn = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *Composition) SetStartTime(v time.Time) *Composition {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Composition) SetState(v string) *Composition {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Composition) SetTags(v map[string]*string) *Composition {
+ s.Tags = v
+ return s
+}
+
+// Summary information about a Composition.
+type CompositionSummary struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the Composition resource.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+
+ // Array of Destination objects.
+ //
+ // Destinations is a required field
+ Destinations []*DestinationSummary `locationName:"destinations" min:"1" type:"list" required:"true"`
+
+ // UTC time of the Composition end. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // ARN of the attached stage.
+ //
+ // StageArn is a required field
+ StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+
+ // UTC time of the Composition start. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // State of the Composition resource.
+ //
+ // State is a required field
+ State *string `locationName:"state" type:"string" required:"true" enum:"CompositionState"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CompositionSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CompositionSummary) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *CompositionSummary) SetArn(v string) *CompositionSummary {
+ s.Arn = &v
+ return s
+}
+
+// SetDestinations sets the Destinations field's value.
+func (s *CompositionSummary) SetDestinations(v []*DestinationSummary) *CompositionSummary {
+ s.Destinations = v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *CompositionSummary) SetEndTime(v time.Time) *CompositionSummary {
+ s.EndTime = &v
+ return s
+}
+
+// SetStageArn sets the StageArn field's value.
+func (s *CompositionSummary) SetStageArn(v string) *CompositionSummary {
+ s.StageArn = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *CompositionSummary) SetStartTime(v time.Time) *CompositionSummary {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *CompositionSummary) SetState(v string) *CompositionSummary {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CompositionSummary) SetTags(v map[string]*string) *CompositionSummary {
+ s.Tags = v
+ return s
+}
+
+type ConflictException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // Updating or deleting a resource can cause an inconsistent state.
+ ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) GoString() string {
+ return s.String()
+}
+
+func newErrorConflictException(v protocol.ResponseMetadata) error {
+ return &ConflictException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ConflictException) Code() string {
+ return "ConflictException"
+}
+
+// Message returns the exception's message.
+func (s *ConflictException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ConflictException) OrigErr() error {
+ return nil
+}
+
+func (s *ConflictException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ConflictException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ConflictException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type CreateEncoderConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Optional name to identify the resource.
+ Name *string `locationName:"name" type:"string"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+
+ // Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps,
+ // 30 fps.
+ Video *Video `locationName:"video" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEncoderConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEncoderConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateEncoderConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateEncoderConfigurationInput"}
+ if s.Video != nil {
+ if err := s.Video.Validate(); err != nil {
+ invalidParams.AddNested("Video", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *CreateEncoderConfigurationInput) SetName(v string) *CreateEncoderConfigurationInput {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateEncoderConfigurationInput) SetTags(v map[string]*string) *CreateEncoderConfigurationInput {
+ s.Tags = v
+ return s
+}
+
+// SetVideo sets the Video field's value.
+func (s *CreateEncoderConfigurationInput) SetVideo(v *Video) *CreateEncoderConfigurationInput {
+ s.Video = v
+ return s
+}
+
+type CreateEncoderConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The EncoderConfiguration that was created.
+ EncoderConfiguration *EncoderConfiguration `locationName:"encoderConfiguration" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEncoderConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEncoderConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetEncoderConfiguration sets the EncoderConfiguration field's value.
+func (s *CreateEncoderConfigurationOutput) SetEncoderConfiguration(v *EncoderConfiguration) *CreateEncoderConfigurationOutput {
+ s.EncoderConfiguration = v
+ return s
+}
+
+type CreateParticipantTokenInput struct {
+ _ struct{} `type:"structure"`
+
+ // Application-provided attributes to encode into the token and attach to a
+ // stage. Map keys and values can contain UTF-8 encoded text. The maximum length
+ // of this field is 1 KB total. This field is exposed to all stage participants
+ // and should not be used for personally identifying, confidential, or sensitive
+ // information.
+ Attributes map[string]*string `locationName:"attributes" type:"map"`
+
+ // Set of capabilities that the user is allowed to perform in the stage. Default:
+ // PUBLISH, SUBSCRIBE.
+ Capabilities []*string `locationName:"capabilities" type:"list" enum:"ParticipantTokenCapability"`
+
+ // Duration (in minutes), after which the token expires. Default: 720 (12 hours).
+ Duration *int64 `locationName:"duration" min:"1" type:"integer"`
+
+ // ARN of the stage to which this token is scoped.
+ //
+ // StageArn is a required field
+ StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+
+ // Name that can be specified to help identify the token. This can be any UTF-8
+ // encoded text. This field is exposed to all stage participants and should
+ // not be used for personally identifying, confidential, or sensitive information.
+ UserId *string `locationName:"userId" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateParticipantTokenInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateParticipantTokenInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateParticipantTokenInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateParticipantTokenInput"}
+ if s.Duration != nil && *s.Duration < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Duration", 1))
+ }
+ if s.StageArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("StageArn"))
+ }
+ if s.StageArn != nil && len(*s.StageArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *CreateParticipantTokenInput) SetAttributes(v map[string]*string) *CreateParticipantTokenInput {
+ s.Attributes = v
+ return s
+}
+
+// SetCapabilities sets the Capabilities field's value.
+func (s *CreateParticipantTokenInput) SetCapabilities(v []*string) *CreateParticipantTokenInput {
+ s.Capabilities = v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *CreateParticipantTokenInput) SetDuration(v int64) *CreateParticipantTokenInput {
+ s.Duration = &v
+ return s
+}
+
+// SetStageArn sets the StageArn field's value.
+func (s *CreateParticipantTokenInput) SetStageArn(v string) *CreateParticipantTokenInput {
+ s.StageArn = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *CreateParticipantTokenInput) SetUserId(v string) *CreateParticipantTokenInput {
+ s.UserId = &v
+ return s
+}
+
+type CreateParticipantTokenOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The participant token that was created.
+ ParticipantToken *ParticipantToken `locationName:"participantToken" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateParticipantTokenOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateParticipantTokenOutput) GoString() string {
+ return s.String()
+}
+
+// SetParticipantToken sets the ParticipantToken field's value.
+func (s *CreateParticipantTokenOutput) SetParticipantToken(v *ParticipantToken) *CreateParticipantTokenOutput {
+ s.ParticipantToken = v
+ return s
+}
+
+type CreateStageInput struct {
+ _ struct{} `type:"structure"`
+
+ // Optional name that can be specified for the stage being created.
+ Name *string `locationName:"name" type:"string"`
+
+ // Array of participant token configuration objects to attach to the new stage.
+ ParticipantTokenConfigurations []*ParticipantTokenConfiguration `locationName:"participantTokenConfigurations" type:"list"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateStageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateStageInput"}
+ if s.ParticipantTokenConfigurations != nil {
+ for i, v := range s.ParticipantTokenConfigurations {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParticipantTokenConfigurations", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *CreateStageInput) SetName(v string) *CreateStageInput {
+ s.Name = &v
+ return s
+}
+
+// SetParticipantTokenConfigurations sets the ParticipantTokenConfigurations field's value.
+func (s *CreateStageInput) SetParticipantTokenConfigurations(v []*ParticipantTokenConfiguration) *CreateStageInput {
+ s.ParticipantTokenConfigurations = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateStageInput) SetTags(v map[string]*string) *CreateStageInput {
+ s.Tags = v
+ return s
+}
+
+type CreateStageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Participant tokens attached to the stage. These correspond to the participants
+ // in the request.
+ ParticipantTokens []*ParticipantToken `locationName:"participantTokens" type:"list"`
+
+ // The stage that was created.
+ Stage *Stage `locationName:"stage" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStageOutput) GoString() string {
+ return s.String()
+}
+
+// SetParticipantTokens sets the ParticipantTokens field's value.
+func (s *CreateStageOutput) SetParticipantTokens(v []*ParticipantToken) *CreateStageOutput {
+ s.ParticipantTokens = v
+ return s
+}
+
+// SetStage sets the Stage field's value.
+func (s *CreateStageOutput) SetStage(v *Stage) *CreateStageOutput {
+ s.Stage = v
+ return s
+}
+
+type CreateStorageConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Storage configuration name. The value does not need to be unique.
+ Name *string `locationName:"name" type:"string"`
+
+ // A complex type that contains a storage configuration for where recorded video
+ // will be stored.
+ //
+ // S3 is a required field
+ S3 *S3StorageConfiguration `locationName:"s3" type:"structure" required:"true"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStorageConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStorageConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateStorageConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateStorageConfigurationInput"}
+ if s.S3 == nil {
+ invalidParams.Add(request.NewErrParamRequired("S3"))
+ }
+ if s.S3 != nil {
+ if err := s.S3.Validate(); err != nil {
+ invalidParams.AddNested("S3", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *CreateStorageConfigurationInput) SetName(v string) *CreateStorageConfigurationInput {
+ s.Name = &v
+ return s
+}
+
+// SetS3 sets the S3 field's value.
+func (s *CreateStorageConfigurationInput) SetS3(v *S3StorageConfiguration) *CreateStorageConfigurationInput {
+ s.S3 = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateStorageConfigurationInput) SetTags(v map[string]*string) *CreateStorageConfigurationInput {
+ s.Tags = v
+ return s
+}
+
+type CreateStorageConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The StorageConfiguration that was created.
+ StorageConfiguration *StorageConfiguration `locationName:"storageConfiguration" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStorageConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateStorageConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetStorageConfiguration sets the StorageConfiguration field's value.
+func (s *CreateStorageConfigurationOutput) SetStorageConfiguration(v *StorageConfiguration) *CreateStorageConfigurationOutput {
+ s.StorageConfiguration = v
+ return s
+}
+
+type DeleteEncoderConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the EncoderConfiguration.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEncoderConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEncoderConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteEncoderConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteEncoderConfigurationInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *DeleteEncoderConfigurationInput) SetArn(v string) *DeleteEncoderConfigurationInput {
+ s.Arn = &v
+ return s
+}
+
+type DeleteEncoderConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEncoderConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEncoderConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteStageInput struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the stage to be deleted.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteStageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteStageInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *DeleteStageInput) SetArn(v string) *DeleteStageInput {
+ s.Arn = &v
+ return s
+}
+
+type DeleteStageOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStageOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteStorageConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the storage configuration to be deleted.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStorageConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStorageConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteStorageConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteStorageConfigurationInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *DeleteStorageConfigurationInput) SetArn(v string) *DeleteStorageConfigurationInput {
+ s.Arn = &v
+ return s
+}
+
+type DeleteStorageConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStorageConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteStorageConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// Object specifying the status of a Destination.
+type Destination struct {
+ _ struct{} `type:"structure"`
+
+ // Configuration used to create this destination.
+ //
+ // Configuration is a required field
+ Configuration *DestinationConfiguration `locationName:"configuration" type:"structure" required:"true"`
+
+ // Optional details regarding the status of the destination.
+ Detail *DestinationDetail `locationName:"detail" type:"structure"`
+
+ // UTC time of the destination end. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // Unique identifier for this destination, assigned by IVS.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // UTC time of the destination start. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // State of the Composition Destination.
+ //
+ // State is a required field
+ State *string `locationName:"state" type:"string" required:"true" enum:"DestinationState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Destination) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Destination) GoString() string {
+ return s.String()
+}
+
+// SetConfiguration sets the Configuration field's value.
+func (s *Destination) SetConfiguration(v *DestinationConfiguration) *Destination {
+ s.Configuration = v
+ return s
+}
+
+// SetDetail sets the Detail field's value.
+func (s *Destination) SetDetail(v *DestinationDetail) *Destination {
+ s.Detail = v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *Destination) SetEndTime(v time.Time) *Destination {
+ s.EndTime = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Destination) SetId(v string) *Destination {
+ s.Id = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *Destination) SetStartTime(v time.Time) *Destination {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Destination) SetState(v string) *Destination {
+ s.State = &v
+ return s
+}
+
+// Complex data type that defines destination-configuration objects.
+type DestinationConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // An IVS channel to be used for broadcasting, for server-side composition.
+ // Either a channel or an s3 must be specified.
+ Channel *ChannelDestinationConfiguration `locationName:"channel" type:"structure"`
+
+ // Name that can be specified to help identify the destination.
+ Name *string `locationName:"name" type:"string"`
+
+ // An S3 storage configuration to be used for recording video data. Either a
+ // channel or an s3 must be specified.
+ S3 *S3DestinationConfiguration `locationName:"s3" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DestinationConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DestinationConfiguration"}
+ if s.Channel != nil {
+ if err := s.Channel.Validate(); err != nil {
+ invalidParams.AddNested("Channel", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.S3 != nil {
+ if err := s.S3.Validate(); err != nil {
+ invalidParams.AddNested("S3", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetChannel sets the Channel field's value.
+func (s *DestinationConfiguration) SetChannel(v *ChannelDestinationConfiguration) *DestinationConfiguration {
+ s.Channel = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DestinationConfiguration) SetName(v string) *DestinationConfiguration {
+ s.Name = &v
+ return s
+}
+
+// SetS3 sets the S3 field's value.
+func (s *DestinationConfiguration) SetS3(v *S3DestinationConfiguration) *DestinationConfiguration {
+ s.S3 = v
+ return s
+}
+
+// Complex data type that defines destination-detail objects.
+type DestinationDetail struct {
+ _ struct{} `type:"structure"`
+
+ // An S3 detail object to return information about the S3 destination.
+ S3 *S3Detail `locationName:"s3" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationDetail) GoString() string {
+ return s.String()
+}
+
+// SetS3 sets the S3 field's value.
+func (s *DestinationDetail) SetS3(v *S3Detail) *DestinationDetail {
+ s.S3 = v
+ return s
+}
+
+// Summary information about a Destination.
+type DestinationSummary struct {
+ _ struct{} `type:"structure"`
+
+ // UTC time of the destination end. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // Unique identifier for this destination, assigned by IVS.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // UTC time of the destination start. This is an ISO 8601 timestamp; note that
+ // this is returned as a string.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // State of the Composition Destination.
+ //
+ // State is a required field
+ State *string `locationName:"state" type:"string" required:"true" enum:"DestinationState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DestinationSummary) GoString() string {
+ return s.String()
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DestinationSummary) SetEndTime(v time.Time) *DestinationSummary {
+ s.EndTime = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DestinationSummary) SetId(v string) *DestinationSummary {
+ s.Id = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DestinationSummary) SetStartTime(v time.Time) *DestinationSummary {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *DestinationSummary) SetState(v string) *DestinationSummary {
+ s.State = &v
+ return s
+}
+
+type DisconnectParticipantInput struct {
+ _ struct{} `type:"structure"`
+
+ // Identifier of the participant to be disconnected. This is assigned by IVS
+ // and returned by CreateParticipantToken.
+ //
+ // ParticipantId is a required field
+ ParticipantId *string `locationName:"participantId" type:"string" required:"true"`
+
+ // Description of why this participant is being disconnected.
+ Reason *string `locationName:"reason" type:"string"`
+
+ // ARN of the stage to which the participant is attached.
+ //
+ // StageArn is a required field
+ StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisconnectParticipantInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisconnectParticipantInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DisconnectParticipantInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DisconnectParticipantInput"}
+ if s.ParticipantId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ParticipantId"))
+ }
+ if s.StageArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("StageArn"))
+ }
+ if s.StageArn != nil && len(*s.StageArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetParticipantId sets the ParticipantId field's value.
+func (s *DisconnectParticipantInput) SetParticipantId(v string) *DisconnectParticipantInput {
+ s.ParticipantId = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *DisconnectParticipantInput) SetReason(v string) *DisconnectParticipantInput {
+ s.Reason = &v
+ return s
+}
+
+// SetStageArn sets the StageArn field's value.
+func (s *DisconnectParticipantInput) SetStageArn(v string) *DisconnectParticipantInput {
+ s.StageArn = &v
+ return s
+}
+
+type DisconnectParticipantOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisconnectParticipantOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisconnectParticipantOutput) GoString() string {
+ return s.String()
+}
+
+// Settings for transcoding.
+type EncoderConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the EncoderConfiguration resource.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+
+ // Optional name to identify the resource.
+ Name *string `locationName:"name" type:"string"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+
+ // Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps,
+ // 30 fps
+ Video *Video `locationName:"video" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EncoderConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EncoderConfiguration) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *EncoderConfiguration) SetArn(v string) *EncoderConfiguration {
+ s.Arn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *EncoderConfiguration) SetName(v string) *EncoderConfiguration {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *EncoderConfiguration) SetTags(v map[string]*string) *EncoderConfiguration {
+ s.Tags = v
+ return s
+}
+
+// SetVideo sets the Video field's value.
+func (s *EncoderConfiguration) SetVideo(v *Video) *EncoderConfiguration {
+ s.Video = v
+ return s
+}
+
+// Summary information about an EncoderConfiguration.
+type EncoderConfigurationSummary struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the EncoderConfiguration resource.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+
+ // Optional name to identify the resource.
+ Name *string `locationName:"name" type:"string"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EncoderConfigurationSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EncoderConfigurationSummary) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *EncoderConfigurationSummary) SetArn(v string) *EncoderConfigurationSummary {
+ s.Arn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *EncoderConfigurationSummary) SetName(v string) *EncoderConfigurationSummary {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *EncoderConfigurationSummary) SetTags(v map[string]*string) *EncoderConfigurationSummary {
+ s.Tags = v
+ return s
+}
+
+// An occurrence during a stage session.
+type Event struct {
+ _ struct{} `type:"structure"`
+
+ // If the event is an error event, the error code is provided to give insight
+ // into the specific error that occurred. If the event is not an error event,
+ // this field is null. INSUFFICIENT_CAPABILITIES indicates that the participant
+ // tried to take an action that the participant’s token is not allowed to
+ // do. For more information about participant capabilities, see the capabilities
+ // field in CreateParticipantToken. QUOTA_EXCEEDED indicates that the number
+ // of participants who want to publish/subscribe to a stage exceeds the quota;
+ // for more information, see Service Quotas (https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/service-quotas.html).
+ // PUBLISHER_NOT_FOUND indicates that the participant tried to subscribe to
+ // a publisher that doesn’t exist.
+ ErrorCode *string `locationName:"errorCode" type:"string" enum:"EventErrorCode"`
+
+ // ISO 8601 timestamp (returned as a string) for when the event occurred.
+ EventTime *time.Time `locationName:"eventTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // The name of the event.
+ Name *string `locationName:"name" type:"string" enum:"EventName"`
+
+ // Unique identifier for the participant who triggered the event. This is assigned
+ // by IVS.
+ ParticipantId *string `locationName:"participantId" type:"string"`
+
+ // Unique identifier for the remote participant. For a subscribe event, this
+ // is the publisher. For a publish or join event, this is null. This is assigned
+ // by IVS.
+ RemoteParticipantId *string `locationName:"remoteParticipantId" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Event) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Event) GoString() string {
+ return s.String()
+}
+
+// SetErrorCode sets the ErrorCode field's value.
+func (s *Event) SetErrorCode(v string) *Event {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetEventTime sets the EventTime field's value.
+func (s *Event) SetEventTime(v time.Time) *Event {
+ s.EventTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Event) SetName(v string) *Event {
+ s.Name = &v
+ return s
+}
+
+// SetParticipantId sets the ParticipantId field's value.
+func (s *Event) SetParticipantId(v string) *Event {
+ s.ParticipantId = &v
+ return s
+}
+
+// SetRemoteParticipantId sets the RemoteParticipantId field's value.
+func (s *Event) SetRemoteParticipantId(v string) *Event {
+ s.RemoteParticipantId = &v
+ return s
+}
+
+type GetCompositionInput struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the Composition resource.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCompositionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCompositionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetCompositionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetCompositionInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetCompositionInput) SetArn(v string) *GetCompositionInput {
+ s.Arn = &v
+ return s
+}
+
+type GetCompositionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Composition that was returned.
+ Composition *Composition `locationName:"composition" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCompositionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCompositionOutput) GoString() string {
+ return s.String()
+}
+
+// SetComposition sets the Composition field's value.
+func (s *GetCompositionOutput) SetComposition(v *Composition) *GetCompositionOutput {
+ s.Composition = v
+ return s
+}
+
+type GetEncoderConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the EncoderConfiguration resource.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetEncoderConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetEncoderConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetEncoderConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetEncoderConfigurationInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetEncoderConfigurationInput) SetArn(v string) *GetEncoderConfigurationInput {
+ s.Arn = &v
+ return s
+}
+
+type GetEncoderConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The EncoderConfiguration that was returned.
+ EncoderConfiguration *EncoderConfiguration `locationName:"encoderConfiguration" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetEncoderConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetEncoderConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetEncoderConfiguration sets the EncoderConfiguration field's value.
+func (s *GetEncoderConfigurationOutput) SetEncoderConfiguration(v *EncoderConfiguration) *GetEncoderConfigurationOutput {
+ s.EncoderConfiguration = v
+ return s
+}
+
+type GetParticipantInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique identifier for the participant. This is assigned by IVS and returned
+ // by CreateParticipantToken.
+ //
+ // ParticipantId is a required field
+ ParticipantId *string `locationName:"participantId" type:"string" required:"true"`
+
+ // ID of a session within the stage.
+ //
+ // SessionId is a required field
+ SessionId *string `locationName:"sessionId" min:"16" type:"string" required:"true"`
+
+ // Stage ARN.
+ //
+ // StageArn is a required field
+ StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetParticipantInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetParticipantInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetParticipantInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetParticipantInput"}
+ if s.ParticipantId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ParticipantId"))
+ }
+ if s.SessionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("SessionId"))
+ }
+ if s.SessionId != nil && len(*s.SessionId) < 16 {
+ invalidParams.Add(request.NewErrParamMinLen("SessionId", 16))
+ }
+ if s.StageArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("StageArn"))
+ }
+ if s.StageArn != nil && len(*s.StageArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetParticipantId sets the ParticipantId field's value.
+func (s *GetParticipantInput) SetParticipantId(v string) *GetParticipantInput {
+ s.ParticipantId = &v
+ return s
+}
+
+// SetSessionId sets the SessionId field's value.
+func (s *GetParticipantInput) SetSessionId(v string) *GetParticipantInput {
+ s.SessionId = &v
+ return s
+}
+
+// SetStageArn sets the StageArn field's value.
+func (s *GetParticipantInput) SetStageArn(v string) *GetParticipantInput {
+ s.StageArn = &v
+ return s
+}
+
+type GetParticipantOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The participant that is returned.
+ Participant *Participant `locationName:"participant" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetParticipantOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetParticipantOutput) GoString() string {
+ return s.String()
+}
+
+// SetParticipant sets the Participant field's value.
+func (s *GetParticipantOutput) SetParticipant(v *Participant) *GetParticipantOutput {
+ s.Participant = v
+ return s
+}
+
+type GetStageInput struct {
+ _ struct{} `type:"structure"`
+
+ // ARN of the stage for which the information is to be retrieved.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetStageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetStageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetStageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetStageInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetStageInput) SetArn(v string) *GetStageInput {
+ s.Arn = &v
+ return s
+}
- // Updating or deleting a resource can cause an inconsistent state.
- ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+type GetStageOutput struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"message" type:"string"`
+ // The stage that is returned.
+ Stage *Stage `locationName:"stage" type:"structure"`
}
// String returns the string representation.
@@ -1573,7 +4703,7 @@ type ConflictException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) String() string {
+func (s GetStageOutput) String() string {
return awsutil.Prettify(s)
}
@@ -1582,74 +4712,28 @@ func (s ConflictException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) GoString() string {
+func (s GetStageOutput) GoString() string {
return s.String()
}
-func newErrorConflictException(v protocol.ResponseMetadata) error {
- return &ConflictException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *ConflictException) Code() string {
- return "ConflictException"
-}
-
-// Message returns the exception's message.
-func (s *ConflictException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ConflictException) OrigErr() error {
- return nil
-}
-
-func (s *ConflictException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *ConflictException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
-
-// RequestID returns the service's response RequestID for request.
-func (s *ConflictException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetStage sets the Stage field's value.
+func (s *GetStageOutput) SetStage(v *Stage) *GetStageOutput {
+ s.Stage = v
+ return s
}
-type CreateParticipantTokenInput struct {
+type GetStageSessionInput struct {
_ struct{} `type:"structure"`
- // Application-provided attributes to encode into the token and attach to a
- // stage. Map keys and values can contain UTF-8 encoded text. The maximum length
- // of this field is 1 KB total. This field is exposed to all stage participants
- // and should not be used for personally identifying, confidential, or sensitive
- // information.
- Attributes map[string]*string `locationName:"attributes" type:"map"`
-
- // Set of capabilities that the user is allowed to perform in the stage. Default:
- // PUBLISH, SUBSCRIBE.
- Capabilities []*string `locationName:"capabilities" type:"list" enum:"ParticipantTokenCapability"`
-
- // Duration (in minutes), after which the token expires. Default: 720 (12 hours).
- Duration *int64 `locationName:"duration" min:"1" type:"integer"`
+ // ID of a session within the stage.
+ //
+ // SessionId is a required field
+ SessionId *string `locationName:"sessionId" min:"16" type:"string" required:"true"`
- // ARN of the stage to which this token is scoped.
+ // ARN of the stage for which the information is to be retrieved.
//
// StageArn is a required field
StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
-
- // Name that can be specified to help identify the token. This can be any UTF-8
- // encoded text. This field is exposed to all stage participants and should
- // not be used for personally identifying, confidential, or sensitive information.
- UserId *string `locationName:"userId" type:"string"`
}
// String returns the string representation.
@@ -1657,7 +4741,7 @@ type CreateParticipantTokenInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateParticipantTokenInput) String() string {
+func (s GetStageSessionInput) String() string {
return awsutil.Prettify(s)
}
@@ -1666,15 +4750,18 @@ func (s CreateParticipantTokenInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateParticipantTokenInput) GoString() string {
+func (s GetStageSessionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateParticipantTokenInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateParticipantTokenInput"}
- if s.Duration != nil && *s.Duration < 1 {
- invalidParams.Add(request.NewErrParamMinValue("Duration", 1))
+func (s *GetStageSessionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetStageSessionInput"}
+ if s.SessionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("SessionId"))
+ }
+ if s.SessionId != nil && len(*s.SessionId) < 16 {
+ invalidParams.Add(request.NewErrParamMinLen("SessionId", 16))
}
if s.StageArn == nil {
invalidParams.Add(request.NewErrParamRequired("StageArn"))
@@ -1689,41 +4776,23 @@ func (s *CreateParticipantTokenInput) Validate() error {
return nil
}
-// SetAttributes sets the Attributes field's value.
-func (s *CreateParticipantTokenInput) SetAttributes(v map[string]*string) *CreateParticipantTokenInput {
- s.Attributes = v
- return s
-}
-
-// SetCapabilities sets the Capabilities field's value.
-func (s *CreateParticipantTokenInput) SetCapabilities(v []*string) *CreateParticipantTokenInput {
- s.Capabilities = v
- return s
-}
-
-// SetDuration sets the Duration field's value.
-func (s *CreateParticipantTokenInput) SetDuration(v int64) *CreateParticipantTokenInput {
- s.Duration = &v
+// SetSessionId sets the SessionId field's value.
+func (s *GetStageSessionInput) SetSessionId(v string) *GetStageSessionInput {
+ s.SessionId = &v
return s
}
// SetStageArn sets the StageArn field's value.
-func (s *CreateParticipantTokenInput) SetStageArn(v string) *CreateParticipantTokenInput {
+func (s *GetStageSessionInput) SetStageArn(v string) *GetStageSessionInput {
s.StageArn = &v
return s
}
-// SetUserId sets the UserId field's value.
-func (s *CreateParticipantTokenInput) SetUserId(v string) *CreateParticipantTokenInput {
- s.UserId = &v
- return s
-}
-
-type CreateParticipantTokenOutput struct {
+type GetStageSessionOutput struct {
_ struct{} `type:"structure"`
- // The participant token that was created.
- ParticipantToken *ParticipantToken `locationName:"participantToken" type:"structure"`
+ // The stage session that is returned.
+ StageSession *StageSession `locationName:"stageSession" type:"structure"`
}
// String returns the string representation.
@@ -1731,7 +4800,7 @@ type CreateParticipantTokenOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateParticipantTokenOutput) String() string {
+func (s GetStageSessionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -1740,31 +4809,23 @@ func (s CreateParticipantTokenOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateParticipantTokenOutput) GoString() string {
+func (s GetStageSessionOutput) GoString() string {
return s.String()
}
-// SetParticipantToken sets the ParticipantToken field's value.
-func (s *CreateParticipantTokenOutput) SetParticipantToken(v *ParticipantToken) *CreateParticipantTokenOutput {
- s.ParticipantToken = v
+// SetStageSession sets the StageSession field's value.
+func (s *GetStageSessionOutput) SetStageSession(v *StageSession) *GetStageSessionOutput {
+ s.StageSession = v
return s
}
-type CreateStageInput struct {
+type GetStorageConfigurationInput struct {
_ struct{} `type:"structure"`
- // Optional name that can be specified for the stage being created.
- Name *string `locationName:"name" type:"string"`
-
- // Array of participant token configuration objects to attach to the new stage.
- ParticipantTokenConfigurations []*ParticipantTokenConfiguration `locationName:"participantTokenConfigurations" type:"list"`
-
- // Tags attached to the resource. Array of maps, each of the form string:string
- // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
- // for details, including restrictions that apply to tags and "Tag naming limits
- // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
- // there.
- Tags map[string]*string `locationName:"tags" type:"map"`
+ // ARN of the storage configuration to be retrieved.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -1772,7 +4833,7 @@ type CreateStageInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateStageInput) String() string {
+func (s GetStorageConfigurationInput) String() string {
return awsutil.Prettify(s)
}
@@ -1781,22 +4842,18 @@ func (s CreateStageInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateStageInput) GoString() string {
+func (s GetStorageConfigurationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateStageInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateStageInput"}
- if s.ParticipantTokenConfigurations != nil {
- for i, v := range s.ParticipantTokenConfigurations {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParticipantTokenConfigurations", i), err.(request.ErrInvalidParams))
- }
- }
+func (s *GetStorageConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetStorageConfigurationInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
}
if invalidParams.Len() > 0 {
@@ -1805,33 +4862,52 @@ func (s *CreateStageInput) Validate() error {
return nil
}
-// SetName sets the Name field's value.
-func (s *CreateStageInput) SetName(v string) *CreateStageInput {
- s.Name = &v
+// SetArn sets the Arn field's value.
+func (s *GetStorageConfigurationInput) SetArn(v string) *GetStorageConfigurationInput {
+ s.Arn = &v
return s
}
-// SetParticipantTokenConfigurations sets the ParticipantTokenConfigurations field's value.
-func (s *CreateStageInput) SetParticipantTokenConfigurations(v []*ParticipantTokenConfiguration) *CreateStageInput {
- s.ParticipantTokenConfigurations = v
- return s
+type GetStorageConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The StorageConfiguration that was returned.
+ StorageConfiguration *StorageConfiguration `locationName:"storageConfiguration" type:"structure"`
}
-// SetTags sets the Tags field's value.
-func (s *CreateStageInput) SetTags(v map[string]*string) *CreateStageInput {
- s.Tags = v
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetStorageConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetStorageConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetStorageConfiguration sets the StorageConfiguration field's value.
+func (s *GetStorageConfigurationOutput) SetStorageConfiguration(v *StorageConfiguration) *GetStorageConfigurationOutput {
+ s.StorageConfiguration = v
return s
}
-type CreateStageOutput struct {
+// Configuration information specific to Grid layout, for server-side composition.
+// See "Layouts" in Server-Side Composition (https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html).
+type GridConfiguration struct {
_ struct{} `type:"structure"`
- // Participant tokens attached to the stage. These correspond to the participants
- // in the request.
- ParticipantTokens []*ParticipantToken `locationName:"participantTokens" type:"list"`
-
- // The stage that was created.
- Stage *Stage `locationName:"stage" type:"structure"`
+ // This attribute name identifies the featured slot. A participant with this
+ // attribute set to "true" (as a string value) in ParticipantTokenConfiguration
+ // is placed in the featured slot.
+ FeaturedParticipantAttribute *string `locationName:"featuredParticipantAttribute" type:"string"`
}
// String returns the string representation.
@@ -1839,7 +4915,7 @@ type CreateStageOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateStageOutput) String() string {
+func (s GridConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -1848,29 +4924,24 @@ func (s CreateStageOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateStageOutput) GoString() string {
+func (s GridConfiguration) GoString() string {
return s.String()
}
-// SetParticipantTokens sets the ParticipantTokens field's value.
-func (s *CreateStageOutput) SetParticipantTokens(v []*ParticipantToken) *CreateStageOutput {
- s.ParticipantTokens = v
+// SetFeaturedParticipantAttribute sets the FeaturedParticipantAttribute field's value.
+func (s *GridConfiguration) SetFeaturedParticipantAttribute(v string) *GridConfiguration {
+ s.FeaturedParticipantAttribute = &v
return s
}
-// SetStage sets the Stage field's value.
-func (s *CreateStageOutput) SetStage(v *Stage) *CreateStageOutput {
- s.Stage = v
- return s
-}
+type InternalServerException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-type DeleteStageInput struct {
- _ struct{} `type:"structure"`
+ // Unexpected error during processing of request.
+ ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
- // ARN of the stage to be deleted.
- //
- // Arn is a required field
- Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -1878,7 +4949,7 @@ type DeleteStageInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteStageInput) String() string {
+func (s InternalServerException) String() string {
return awsutil.Prettify(s)
}
@@ -1887,34 +4958,54 @@ func (s DeleteStageInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteStageInput) GoString() string {
+func (s InternalServerException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteStageInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteStageInput"}
- if s.Arn == nil {
- invalidParams.Add(request.NewErrParamRequired("Arn"))
- }
- if s.Arn != nil && len(*s.Arn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+func newErrorInternalServerException(v protocol.ResponseMetadata) error {
+ return &InternalServerException{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
+// Code returns the exception type name.
+func (s *InternalServerException) Code() string {
+ return "InternalServerException"
+}
+
+// Message returns the exception's message.
+func (s *InternalServerException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
}
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InternalServerException) OrigErr() error {
return nil
}
-// SetArn sets the Arn field's value.
-func (s *DeleteStageInput) SetArn(v string) *DeleteStageInput {
- s.Arn = &v
- return s
+func (s *InternalServerException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}
-type DeleteStageOutput struct {
+// Status code returns the HTTP status code for the request's response error.
+func (s *InternalServerException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InternalServerException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Configuration information of supported layouts for server-side composition.
+type LayoutConfiguration struct {
_ struct{} `type:"structure"`
+
+ // Configuration related to grid layout. Default: Grid layout.
+ Grid *GridConfiguration `locationName:"grid" type:"structure"`
}
// String returns the string representation.
@@ -1922,7 +5013,7 @@ type DeleteStageOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteStageOutput) String() string {
+func (s LayoutConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -1931,26 +5022,32 @@ func (s DeleteStageOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteStageOutput) GoString() string {
+func (s LayoutConfiguration) GoString() string {
return s.String()
}
-type DisconnectParticipantInput struct {
+// SetGrid sets the Grid field's value.
+func (s *LayoutConfiguration) SetGrid(v *GridConfiguration) *LayoutConfiguration {
+ s.Grid = v
+ return s
+}
+
+type ListCompositionsInput struct {
_ struct{} `type:"structure"`
- // Identifier of the participant to be disconnected. This is assigned by IVS
- // and returned by CreateParticipantToken.
- //
- // ParticipantId is a required field
- ParticipantId *string `locationName:"participantId" type:"string" required:"true"`
+ // Filters the Composition list to match the specified EncoderConfiguration
+ // attached to at least one of its output.
+ FilterByEncoderConfigurationArn *string `locationName:"filterByEncoderConfigurationArn" min:"1" type:"string"`
- // Description of why this participant is being disconnected.
- Reason *string `locationName:"reason" type:"string"`
+ // Filters the Composition list to match the specified Stage ARN.
+ FilterByStageArn *string `locationName:"filterByStageArn" min:"1" type:"string"`
- // ARN of the stage to which the participant is attached.
- //
- // StageArn is a required field
- StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+ // Maximum number of results to return. Default: 100.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // The first Composition to retrieve. This is used for pagination; see the nextToken
+ // response field.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -1958,7 +5055,7 @@ type DisconnectParticipantInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisconnectParticipantInput) String() string {
+func (s ListCompositionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -1967,21 +5064,21 @@ func (s DisconnectParticipantInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisconnectParticipantInput) GoString() string {
+func (s ListCompositionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DisconnectParticipantInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DisconnectParticipantInput"}
- if s.ParticipantId == nil {
- invalidParams.Add(request.NewErrParamRequired("ParticipantId"))
+func (s *ListCompositionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListCompositionsInput"}
+ if s.FilterByEncoderConfigurationArn != nil && len(*s.FilterByEncoderConfigurationArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("FilterByEncoderConfigurationArn", 1))
}
- if s.StageArn == nil {
- invalidParams.Add(request.NewErrParamRequired("StageArn"))
+ if s.FilterByStageArn != nil && len(*s.FilterByStageArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("FilterByStageArn", 1))
}
- if s.StageArn != nil && len(*s.StageArn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -1990,26 +5087,41 @@ func (s *DisconnectParticipantInput) Validate() error {
return nil
}
-// SetParticipantId sets the ParticipantId field's value.
-func (s *DisconnectParticipantInput) SetParticipantId(v string) *DisconnectParticipantInput {
- s.ParticipantId = &v
+// SetFilterByEncoderConfigurationArn sets the FilterByEncoderConfigurationArn field's value.
+func (s *ListCompositionsInput) SetFilterByEncoderConfigurationArn(v string) *ListCompositionsInput {
+ s.FilterByEncoderConfigurationArn = &v
return s
}
-// SetReason sets the Reason field's value.
-func (s *DisconnectParticipantInput) SetReason(v string) *DisconnectParticipantInput {
- s.Reason = &v
+// SetFilterByStageArn sets the FilterByStageArn field's value.
+func (s *ListCompositionsInput) SetFilterByStageArn(v string) *ListCompositionsInput {
+ s.FilterByStageArn = &v
return s
}
-// SetStageArn sets the StageArn field's value.
-func (s *DisconnectParticipantInput) SetStageArn(v string) *DisconnectParticipantInput {
- s.StageArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListCompositionsInput) SetMaxResults(v int64) *ListCompositionsInput {
+ s.MaxResults = &v
return s
}
-type DisconnectParticipantOutput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListCompositionsInput) SetNextToken(v string) *ListCompositionsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListCompositionsOutput struct {
_ struct{} `type:"structure"`
+
+ // List of the matching Compositions (summary information only).
+ //
+ // Compositions is a required field
+ Compositions []*CompositionSummary `locationName:"compositions" type:"list" required:"true"`
+
+ // If there are more compositions than maxResults, use nextToken in the request
+ // to get the next set.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -2017,7 +5129,7 @@ type DisconnectParticipantOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisconnectParticipantOutput) String() string {
+func (s ListCompositionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -2026,40 +5138,31 @@ func (s DisconnectParticipantOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisconnectParticipantOutput) GoString() string {
+func (s ListCompositionsOutput) GoString() string {
return s.String()
}
-// An occurrence during a stage session.
-type Event struct {
- _ struct{} `type:"structure"`
-
- // If the event is an error event, the error code is provided to give insight
- // into the specific error that occurred. If the event is not an error event,
- // this field is null. INSUFFICIENT_CAPABILITIES indicates that the participant
- // tried to take an action that the participant’s token is not allowed to
- // do. For more information about participant capabilities, see the capabilities
- // field in CreateParticipantToken. QUOTA_EXCEEDED indicates that the number
- // of participants who want to publish/subscribe to a stage exceeds the quota;
- // for more information, see Service Quotas (https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/service-quotas.html).
- // PUBLISHER_NOT_FOUND indicates that the participant tried to subscribe to
- // a publisher that doesn’t exist.
- ErrorCode *string `locationName:"errorCode" type:"string" enum:"EventErrorCode"`
+// SetCompositions sets the Compositions field's value.
+func (s *ListCompositionsOutput) SetCompositions(v []*CompositionSummary) *ListCompositionsOutput {
+ s.Compositions = v
+ return s
+}
- // ISO 8601 timestamp (returned as a string) for when the event occurred.
- EventTime *time.Time `locationName:"eventTime" type:"timestamp" timestampFormat:"iso8601"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListCompositionsOutput) SetNextToken(v string) *ListCompositionsOutput {
+ s.NextToken = &v
+ return s
+}
- // The name of the event.
- Name *string `locationName:"name" type:"string" enum:"EventName"`
+type ListEncoderConfigurationsInput struct {
+ _ struct{} `type:"structure"`
- // Unique identifier for the participant who triggered the event. This is assigned
- // by IVS.
- ParticipantId *string `locationName:"participantId" type:"string"`
+ // Maximum number of results to return. Default: 100.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // Unique identifier for the remote participant. For a subscribe event, this
- // is the publisher. For a publish or join event, this is null. This is assigned
- // by IVS.
- RemoteParticipantId *string `locationName:"remoteParticipantId" type:"string"`
+ // The first encoder configuration to retrieve. This is used for pagination;
+ // see the nextToken response field.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -2067,7 +5170,7 @@ type Event struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Event) String() string {
+func (s ListEncoderConfigurationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -2076,44 +5179,89 @@ func (s Event) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Event) GoString() string {
+func (s ListEncoderConfigurationsInput) GoString() string {
return s.String()
}
-// SetErrorCode sets the ErrorCode field's value.
-func (s *Event) SetErrorCode(v string) *Event {
- s.ErrorCode = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListEncoderConfigurationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListEncoderConfigurationsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetEventTime sets the EventTime field's value.
-func (s *Event) SetEventTime(v time.Time) *Event {
- s.EventTime = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListEncoderConfigurationsInput) SetMaxResults(v int64) *ListEncoderConfigurationsInput {
+ s.MaxResults = &v
return s
}
-// SetName sets the Name field's value.
-func (s *Event) SetName(v string) *Event {
- s.Name = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListEncoderConfigurationsInput) SetNextToken(v string) *ListEncoderConfigurationsInput {
+ s.NextToken = &v
return s
}
-// SetParticipantId sets the ParticipantId field's value.
-func (s *Event) SetParticipantId(v string) *Event {
- s.ParticipantId = &v
+type ListEncoderConfigurationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // List of the matching EncoderConfigurations (summary information only).
+ //
+ // EncoderConfigurations is a required field
+ EncoderConfigurations []*EncoderConfigurationSummary `locationName:"encoderConfigurations" type:"list" required:"true"`
+
+ // If there are more encoder configurations than maxResults, use nextToken in
+ // the request to get the next set.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListEncoderConfigurationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListEncoderConfigurationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetEncoderConfigurations sets the EncoderConfigurations field's value.
+func (s *ListEncoderConfigurationsOutput) SetEncoderConfigurations(v []*EncoderConfigurationSummary) *ListEncoderConfigurationsOutput {
+ s.EncoderConfigurations = v
return s
}
-// SetRemoteParticipantId sets the RemoteParticipantId field's value.
-func (s *Event) SetRemoteParticipantId(v string) *Event {
- s.RemoteParticipantId = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListEncoderConfigurationsOutput) SetNextToken(v string) *ListEncoderConfigurationsOutput {
+ s.NextToken = &v
return s
}
-type GetParticipantInput struct {
+type ListParticipantEventsInput struct {
_ struct{} `type:"structure"`
- // Unique identifier for the participant. This is assigned by IVS and returned
+ // Maximum number of results to return. Default: 50.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // The first participant event to retrieve. This is used for pagination; see
+ // the nextToken response field.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // Unique identifier for this participant. This is assigned by IVS and returned
// by CreateParticipantToken.
//
// ParticipantId is a required field
@@ -2135,7 +5283,7 @@ type GetParticipantInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetParticipantInput) String() string {
+func (s ListParticipantEventsInput) String() string {
return awsutil.Prettify(s)
}
@@ -2144,13 +5292,16 @@ func (s GetParticipantInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetParticipantInput) GoString() string {
+func (s ListParticipantEventsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetParticipantInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetParticipantInput"}
+func (s *ListParticipantEventsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListParticipantEventsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
if s.ParticipantId == nil {
invalidParams.Add(request.NewErrParamRequired("ParticipantId"))
}
@@ -2173,29 +5324,47 @@ func (s *GetParticipantInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListParticipantEventsInput) SetMaxResults(v int64) *ListParticipantEventsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListParticipantEventsInput) SetNextToken(v string) *ListParticipantEventsInput {
+ s.NextToken = &v
+ return s
+}
+
// SetParticipantId sets the ParticipantId field's value.
-func (s *GetParticipantInput) SetParticipantId(v string) *GetParticipantInput {
+func (s *ListParticipantEventsInput) SetParticipantId(v string) *ListParticipantEventsInput {
s.ParticipantId = &v
return s
}
// SetSessionId sets the SessionId field's value.
-func (s *GetParticipantInput) SetSessionId(v string) *GetParticipantInput {
+func (s *ListParticipantEventsInput) SetSessionId(v string) *ListParticipantEventsInput {
s.SessionId = &v
return s
}
// SetStageArn sets the StageArn field's value.
-func (s *GetParticipantInput) SetStageArn(v string) *GetParticipantInput {
+func (s *ListParticipantEventsInput) SetStageArn(v string) *ListParticipantEventsInput {
s.StageArn = &v
return s
}
-type GetParticipantOutput struct {
+type ListParticipantEventsOutput struct {
_ struct{} `type:"structure"`
- // The participant that is returned.
- Participant *Participant `locationName:"participant" type:"structure"`
+ // List of the matching events.
+ //
+ // Events is a required field
+ Events []*Event `locationName:"events" type:"list" required:"true"`
+
+ // If there are more events than maxResults, use nextToken in the request to
+ // get the next set.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -2203,7 +5372,7 @@ type GetParticipantOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetParticipantOutput) String() string {
+func (s ListParticipantEventsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -2212,23 +5381,57 @@ func (s GetParticipantOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetParticipantOutput) GoString() string {
+func (s ListParticipantEventsOutput) GoString() string {
return s.String()
}
-// SetParticipant sets the Participant field's value.
-func (s *GetParticipantOutput) SetParticipant(v *Participant) *GetParticipantOutput {
- s.Participant = v
- return s
-}
+// SetEvents sets the Events field's value.
+func (s *ListParticipantEventsOutput) SetEvents(v []*Event) *ListParticipantEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListParticipantEventsOutput) SetNextToken(v string) *ListParticipantEventsOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListParticipantsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Filters the response list to only show participants who published during
+ // the stage session. Only one of filterByUserId, filterByPublished, or filterByState
+ // can be provided per request.
+ FilterByPublished *bool `locationName:"filterByPublished" type:"boolean"`
+
+ // Filters the response list to only show participants in the specified state.
+ // Only one of filterByUserId, filterByPublished, or filterByState can be provided
+ // per request.
+ FilterByState *string `locationName:"filterByState" type:"string" enum:"ParticipantState"`
+
+ // Filters the response list to match the specified user ID. Only one of filterByUserId,
+ // filterByPublished, or filterByState can be provided per request. A userId
+ // is a customer-assigned name to help identify the token; this can be used
+ // to link a participant to a user in the customer’s own systems.
+ FilterByUserId *string `locationName:"filterByUserId" type:"string"`
+
+ // Maximum number of results to return. Default: 50.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // The first participant to retrieve. This is used for pagination; see the nextToken
+ // response field.
+ NextToken *string `locationName:"nextToken" type:"string"`
-type GetStageInput struct {
- _ struct{} `type:"structure"`
+ // ID of the session within the stage.
+ //
+ // SessionId is a required field
+ SessionId *string `locationName:"sessionId" min:"16" type:"string" required:"true"`
- // ARN of the stage for which the information is to be retrieved.
+ // Stage ARN.
//
- // Arn is a required field
- Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
+ // StageArn is a required field
+ StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -2236,7 +5439,7 @@ type GetStageInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageInput) String() string {
+func (s ListParticipantsInput) String() string {
return awsutil.Prettify(s)
}
@@ -2245,18 +5448,27 @@ func (s GetStageInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageInput) GoString() string {
+func (s ListParticipantsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetStageInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetStageInput"}
- if s.Arn == nil {
- invalidParams.Add(request.NewErrParamRequired("Arn"))
+func (s *ListParticipantsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListParticipantsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.Arn != nil && len(*s.Arn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ if s.SessionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("SessionId"))
+ }
+ if s.SessionId != nil && len(*s.SessionId) < 16 {
+ invalidParams.Add(request.NewErrParamMinLen("SessionId", 16))
+ }
+ if s.StageArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("StageArn"))
+ }
+ if s.StageArn != nil && len(*s.StageArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
}
if invalidParams.Len() > 0 {
@@ -2265,17 +5477,59 @@ func (s *GetStageInput) Validate() error {
return nil
}
-// SetArn sets the Arn field's value.
-func (s *GetStageInput) SetArn(v string) *GetStageInput {
- s.Arn = &v
+// SetFilterByPublished sets the FilterByPublished field's value.
+func (s *ListParticipantsInput) SetFilterByPublished(v bool) *ListParticipantsInput {
+ s.FilterByPublished = &v
return s
}
-type GetStageOutput struct {
+// SetFilterByState sets the FilterByState field's value.
+func (s *ListParticipantsInput) SetFilterByState(v string) *ListParticipantsInput {
+ s.FilterByState = &v
+ return s
+}
+
+// SetFilterByUserId sets the FilterByUserId field's value.
+func (s *ListParticipantsInput) SetFilterByUserId(v string) *ListParticipantsInput {
+ s.FilterByUserId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListParticipantsInput) SetMaxResults(v int64) *ListParticipantsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListParticipantsInput) SetNextToken(v string) *ListParticipantsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSessionId sets the SessionId field's value.
+func (s *ListParticipantsInput) SetSessionId(v string) *ListParticipantsInput {
+ s.SessionId = &v
+ return s
+}
+
+// SetStageArn sets the StageArn field's value.
+func (s *ListParticipantsInput) SetStageArn(v string) *ListParticipantsInput {
+ s.StageArn = &v
+ return s
+}
+
+type ListParticipantsOutput struct {
_ struct{} `type:"structure"`
- // The stage that is returned.
- Stage *Stage `locationName:"stage" type:"structure"`
+ // If there are more participants than maxResults, use nextToken in the request
+ // to get the next set.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // List of the matching participants (summary information only).
+ //
+ // Participants is a required field
+ Participants []*ParticipantSummary `locationName:"participants" type:"list" required:"true"`
}
// String returns the string representation.
@@ -2283,7 +5537,7 @@ type GetStageOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageOutput) String() string {
+func (s ListParticipantsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -2292,25 +5546,33 @@ func (s GetStageOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageOutput) GoString() string {
+func (s ListParticipantsOutput) GoString() string {
return s.String()
}
-// SetStage sets the Stage field's value.
-func (s *GetStageOutput) SetStage(v *Stage) *GetStageOutput {
- s.Stage = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListParticipantsOutput) SetNextToken(v string) *ListParticipantsOutput {
+ s.NextToken = &v
return s
}
-type GetStageSessionInput struct {
+// SetParticipants sets the Participants field's value.
+func (s *ListParticipantsOutput) SetParticipants(v []*ParticipantSummary) *ListParticipantsOutput {
+ s.Participants = v
+ return s
+}
+
+type ListStageSessionsInput struct {
_ struct{} `type:"structure"`
- // ID of a session within the stage.
- //
- // SessionId is a required field
- SessionId *string `locationName:"sessionId" min:"16" type:"string" required:"true"`
+ // Maximum number of results to return. Default: 50.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // ARN of the stage for which the information is to be retrieved.
+ // The first stage session to retrieve. This is used for pagination; see the
+ // nextToken response field.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // Stage ARN.
//
// StageArn is a required field
StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
@@ -2321,7 +5583,7 @@ type GetStageSessionInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageSessionInput) String() string {
+func (s ListStageSessionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -2330,18 +5592,15 @@ func (s GetStageSessionInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageSessionInput) GoString() string {
+func (s ListStageSessionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetStageSessionInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetStageSessionInput"}
- if s.SessionId == nil {
- invalidParams.Add(request.NewErrParamRequired("SessionId"))
- }
- if s.SessionId != nil && len(*s.SessionId) < 16 {
- invalidParams.Add(request.NewErrParamMinLen("SessionId", 16))
+func (s *ListStageSessionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListStageSessionsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if s.StageArn == nil {
invalidParams.Add(request.NewErrParamRequired("StageArn"))
@@ -2356,23 +5615,35 @@ func (s *GetStageSessionInput) Validate() error {
return nil
}
-// SetSessionId sets the SessionId field's value.
-func (s *GetStageSessionInput) SetSessionId(v string) *GetStageSessionInput {
- s.SessionId = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListStageSessionsInput) SetMaxResults(v int64) *ListStageSessionsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListStageSessionsInput) SetNextToken(v string) *ListStageSessionsInput {
+ s.NextToken = &v
return s
}
// SetStageArn sets the StageArn field's value.
-func (s *GetStageSessionInput) SetStageArn(v string) *GetStageSessionInput {
+func (s *ListStageSessionsInput) SetStageArn(v string) *ListStageSessionsInput {
s.StageArn = &v
return s
}
-type GetStageSessionOutput struct {
+type ListStageSessionsOutput struct {
_ struct{} `type:"structure"`
- // The stage session that is returned.
- StageSession *StageSession `locationName:"stageSession" type:"structure"`
+ // If there are more stage sessions than maxResults, use nextToken in the request
+ // to get the next set.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // List of matching stage sessions.
+ //
+ // StageSessions is a required field
+ StageSessions []*StageSessionSummary `locationName:"stageSessions" type:"list" required:"true"`
}
// String returns the string representation.
@@ -2380,7 +5651,7 @@ type GetStageSessionOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageSessionOutput) String() string {
+func (s ListStageSessionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -2389,24 +5660,31 @@ func (s GetStageSessionOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetStageSessionOutput) GoString() string {
+func (s ListStageSessionsOutput) GoString() string {
return s.String()
}
-// SetStageSession sets the StageSession field's value.
-func (s *GetStageSessionOutput) SetStageSession(v *StageSession) *GetStageSessionOutput {
- s.StageSession = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListStageSessionsOutput) SetNextToken(v string) *ListStageSessionsOutput {
+ s.NextToken = &v
return s
}
-type InternalServerException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+// SetStageSessions sets the StageSessions field's value.
+func (s *ListStageSessionsOutput) SetStageSessions(v []*StageSessionSummary) *ListStageSessionsOutput {
+ s.StageSessions = v
+ return s
+}
- // Unexpected error during processing of request.
- ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+type ListStagesInput struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"message" type:"string"`
+ // Maximum number of results to return. Default: 50.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // The first stage to retrieve. This is used for pagination; see the nextToken
+ // response field.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -2414,7 +5692,7 @@ type InternalServerException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) String() string {
+func (s ListStagesInput) String() string {
return awsutil.Prettify(s)
}
@@ -2423,73 +5701,88 @@ func (s InternalServerException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) GoString() string {
+func (s ListStagesInput) GoString() string {
return s.String()
}
-func newErrorInternalServerException(v protocol.ResponseMetadata) error {
- return &InternalServerException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListStagesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListStagesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
}
+ return nil
}
-// Code returns the exception type name.
-func (s *InternalServerException) Code() string {
- return "InternalServerException"
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListStagesInput) SetMaxResults(v int64) *ListStagesInput {
+ s.MaxResults = &v
+ return s
}
-// Message returns the exception's message.
-func (s *InternalServerException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetNextToken sets the NextToken field's value.
+func (s *ListStagesInput) SetNextToken(v string) *ListStagesInput {
+ s.NextToken = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InternalServerException) OrigErr() error {
- return nil
+type ListStagesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // If there are more stages than maxResults, use nextToken in the request to
+ // get the next set.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // List of the matching stages (summary information only).
+ //
+ // Stages is a required field
+ Stages []*StageSummary `locationName:"stages" type:"list" required:"true"`
}
-func (s *InternalServerException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListStagesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListStagesOutput) GoString() string {
+ return s.String()
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *InternalServerException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetNextToken sets the NextToken field's value.
+func (s *ListStagesOutput) SetNextToken(v string) *ListStagesOutput {
+ s.NextToken = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InternalServerException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetStages sets the Stages field's value.
+func (s *ListStagesOutput) SetStages(v []*StageSummary) *ListStagesOutput {
+ s.Stages = v
+ return s
}
-type ListParticipantEventsInput struct {
+type ListStorageConfigurationsInput struct {
_ struct{} `type:"structure"`
- // Maximum number of results to return. Default: 50.
+ // Maximum number of storage configurations to return. Default: your service
+ // quota or 100, whichever is smaller.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The first participant to retrieve. This is used for pagination; see the nextToken
- // response field.
+ // The first storage configuration to retrieve. This is used for pagination;
+ // see the nextToken response field.
NextToken *string `locationName:"nextToken" type:"string"`
-
- // Unique identifier for this participant. This is assigned by IVS and returned
- // by CreateParticipantToken.
- //
- // ParticipantId is a required field
- ParticipantId *string `locationName:"participantId" type:"string" required:"true"`
-
- // ID of a session within the stage.
- //
- // SessionId is a required field
- SessionId *string `locationName:"sessionId" min:"16" type:"string" required:"true"`
-
- // Stage ARN.
- //
- // StageArn is a required field
- StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -2497,7 +5790,7 @@ type ListParticipantEventsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantEventsInput) String() string {
+func (s ListStorageConfigurationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -2506,31 +5799,16 @@ func (s ListParticipantEventsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantEventsInput) GoString() string {
+func (s ListStorageConfigurationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListParticipantEventsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListParticipantEventsInput"}
+func (s *ListStorageConfigurationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListStorageConfigurationsInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.ParticipantId == nil {
- invalidParams.Add(request.NewErrParamRequired("ParticipantId"))
- }
- if s.SessionId == nil {
- invalidParams.Add(request.NewErrParamRequired("SessionId"))
- }
- if s.SessionId != nil && len(*s.SessionId) < 16 {
- invalidParams.Add(request.NewErrParamMinLen("SessionId", 16))
- }
- if s.StageArn == nil {
- invalidParams.Add(request.NewErrParamRequired("StageArn"))
- }
- if s.StageArn != nil && len(*s.StageArn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
- }
if invalidParams.Len() > 0 {
return invalidParams
@@ -2539,46 +5817,67 @@ func (s *ListParticipantEventsInput) Validate() error {
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListParticipantEventsInput) SetMaxResults(v int64) *ListParticipantEventsInput {
+func (s *ListStorageConfigurationsInput) SetMaxResults(v int64) *ListStorageConfigurationsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListParticipantEventsInput) SetNextToken(v string) *ListParticipantEventsInput {
+func (s *ListStorageConfigurationsInput) SetNextToken(v string) *ListStorageConfigurationsInput {
s.NextToken = &v
return s
}
-// SetParticipantId sets the ParticipantId field's value.
-func (s *ListParticipantEventsInput) SetParticipantId(v string) *ListParticipantEventsInput {
- s.ParticipantId = &v
- return s
+type ListStorageConfigurationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // If there are more storage configurations than maxResults, use nextToken in
+ // the request to get the next set.
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // List of the matching storage configurations.
+ //
+ // StorageConfigurations is a required field
+ StorageConfigurations []*StorageConfigurationSummary `locationName:"storageConfigurations" type:"list" required:"true"`
}
-// SetSessionId sets the SessionId field's value.
-func (s *ListParticipantEventsInput) SetSessionId(v string) *ListParticipantEventsInput {
- s.SessionId = &v
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListStorageConfigurationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListStorageConfigurationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListStorageConfigurationsOutput) SetNextToken(v string) *ListStorageConfigurationsOutput {
+ s.NextToken = &v
return s
}
-// SetStageArn sets the StageArn field's value.
-func (s *ListParticipantEventsInput) SetStageArn(v string) *ListParticipantEventsInput {
- s.StageArn = &v
+// SetStorageConfigurations sets the StorageConfigurations field's value.
+func (s *ListStorageConfigurationsOutput) SetStorageConfigurations(v []*StorageConfigurationSummary) *ListStorageConfigurationsOutput {
+ s.StorageConfigurations = v
return s
}
-type ListParticipantEventsOutput struct {
- _ struct{} `type:"structure"`
+type ListTagsForResourceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // List of the matching events.
+ // The ARN of the resource to be retrieved. The ARN must be URL-encoded.
//
- // Events is a required field
- Events []*Event `locationName:"events" type:"list" required:"true"`
-
- // If there are more rooms than maxResults, use nextToken in the request to
- // get the next set.
- NextToken *string `locationName:"nextToken" type:"string"`
+ // ResourceArn is a required field
+ ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -2586,7 +5885,7 @@ type ListParticipantEventsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantEventsOutput) String() string {
+func (s ListTagsForResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -2595,57 +5894,113 @@ func (s ListParticipantEventsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantEventsOutput) GoString() string {
+func (s ListTagsForResourceInput) GoString() string {
return s.String()
}
-// SetEvents sets the Events field's value.
-func (s *ListParticipantEventsOutput) SetEvents(v []*Event) *ListParticipantEventsOutput {
- s.Events = v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListTagsForResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListParticipantEventsOutput) SetNextToken(v string) *ListParticipantEventsOutput {
- s.NextToken = &v
+type ListTagsForResourceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value).
+ //
+ // Tags is a required field
+ Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceOutput) GoString() string {
+ return s.String()
+}
+
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
+ s.Tags = v
return s
}
-type ListParticipantsInput struct {
+// Object describing a participant that has joined a stage.
+type Participant struct {
_ struct{} `type:"structure"`
- // Filters the response list to only show participants who published during
- // the stage session. Only one of filterByUserId, filterByPublished, or filterByState
- // can be provided per request.
- FilterByPublished *bool `locationName:"filterByPublished" type:"boolean"`
+ // Application-provided attributes to encode into the token and attach to a
+ // stage. Map keys and values can contain UTF-8 encoded text. The maximum length
+ // of this field is 1 KB total. This field is exposed to all stage participants
+ // and should not be used for personally identifying, confidential, or sensitive
+ // information.
+ Attributes map[string]*string `locationName:"attributes" type:"map"`
- // Filters the response list to only show participants in the specified state.
- // Only one of filterByUserId, filterByPublished, or filterByState can be provided
- // per request.
- FilterByState *string `locationName:"filterByState" type:"string" enum:"ParticipantState"`
+ // The participant’s browser.
+ BrowserName *string `locationName:"browserName" type:"string"`
- // Filters the response list to match the specified user ID. Only one of filterByUserId,
- // filterByPublished, or filterByState can be provided per request. A userId
- // is a customer-assigned name to help identify the token; this can be used
- // to link a participant to a user in the customer’s own systems.
- FilterByUserId *string `locationName:"filterByUserId" type:"string"`
+ // The participant’s browser version.
+ BrowserVersion *string `locationName:"browserVersion" type:"string"`
- // Maximum number of results to return. Default: 50.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+ // ISO 8601 timestamp (returned as a string) when the participant first joined
+ // the stage session.
+ FirstJoinTime *time.Time `locationName:"firstJoinTime" type:"timestamp" timestampFormat:"iso8601"`
- // The first participant to retrieve. This is used for pagination; see the nextToken
- // response field.
- NextToken *string `locationName:"nextToken" type:"string"`
+ // The participant’s Internet Service Provider.
+ IspName *string `locationName:"ispName" type:"string"`
- // ID of the session within the stage.
- //
- // SessionId is a required field
- SessionId *string `locationName:"sessionId" min:"16" type:"string" required:"true"`
+ // The participant’s operating system.
+ OsName *string `locationName:"osName" type:"string"`
- // Stage ARN.
- //
- // StageArn is a required field
- StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+ // The participant’s operating system version.
+ OsVersion *string `locationName:"osVersion" type:"string"`
+
+ // Unique identifier for this participant, assigned by IVS.
+ ParticipantId *string `locationName:"participantId" type:"string"`
+
+ // Whether the participant ever published to the stage session.
+ Published *bool `locationName:"published" type:"boolean"`
+
+ // The participant’s SDK version.
+ SdkVersion *string `locationName:"sdkVersion" type:"string"`
+
+ // Whether the participant is connected to or disconnected from the stage.
+ State *string `locationName:"state" type:"string" enum:"ParticipantState"`
+
+ // Customer-assigned name to help identify the token; this can be used to link
+ // a participant to a user in the customer’s own systems. This can be any
+ // UTF-8 encoded text. This field is exposed to all stage participants and should
+ // not be used for personally identifying, confidential, or sensitive information.
+ UserId *string `locationName:"userId" type:"string"`
}
// String returns the string representation.
@@ -2653,7 +6008,7 @@ type ListParticipantsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantsInput) String() string {
+func (s Participant) String() string {
return awsutil.Prettify(s)
}
@@ -2662,88 +6017,104 @@ func (s ListParticipantsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantsInput) GoString() string {
+func (s Participant) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListParticipantsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListParticipantsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.SessionId == nil {
- invalidParams.Add(request.NewErrParamRequired("SessionId"))
- }
- if s.SessionId != nil && len(*s.SessionId) < 16 {
- invalidParams.Add(request.NewErrParamMinLen("SessionId", 16))
- }
- if s.StageArn == nil {
- invalidParams.Add(request.NewErrParamRequired("StageArn"))
- }
- if s.StageArn != nil && len(*s.StageArn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetAttributes sets the Attributes field's value.
+func (s *Participant) SetAttributes(v map[string]*string) *Participant {
+ s.Attributes = v
+ return s
+}
+
+// SetBrowserName sets the BrowserName field's value.
+func (s *Participant) SetBrowserName(v string) *Participant {
+ s.BrowserName = &v
+ return s
+}
+
+// SetBrowserVersion sets the BrowserVersion field's value.
+func (s *Participant) SetBrowserVersion(v string) *Participant {
+ s.BrowserVersion = &v
+ return s
+}
+
+// SetFirstJoinTime sets the FirstJoinTime field's value.
+func (s *Participant) SetFirstJoinTime(v time.Time) *Participant {
+ s.FirstJoinTime = &v
+ return s
+}
+
+// SetIspName sets the IspName field's value.
+func (s *Participant) SetIspName(v string) *Participant {
+ s.IspName = &v
+ return s
}
-// SetFilterByPublished sets the FilterByPublished field's value.
-func (s *ListParticipantsInput) SetFilterByPublished(v bool) *ListParticipantsInput {
- s.FilterByPublished = &v
+// SetOsName sets the OsName field's value.
+func (s *Participant) SetOsName(v string) *Participant {
+ s.OsName = &v
return s
}
-// SetFilterByState sets the FilterByState field's value.
-func (s *ListParticipantsInput) SetFilterByState(v string) *ListParticipantsInput {
- s.FilterByState = &v
+// SetOsVersion sets the OsVersion field's value.
+func (s *Participant) SetOsVersion(v string) *Participant {
+ s.OsVersion = &v
return s
}
-// SetFilterByUserId sets the FilterByUserId field's value.
-func (s *ListParticipantsInput) SetFilterByUserId(v string) *ListParticipantsInput {
- s.FilterByUserId = &v
+// SetParticipantId sets the ParticipantId field's value.
+func (s *Participant) SetParticipantId(v string) *Participant {
+ s.ParticipantId = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListParticipantsInput) SetMaxResults(v int64) *ListParticipantsInput {
- s.MaxResults = &v
+// SetPublished sets the Published field's value.
+func (s *Participant) SetPublished(v bool) *Participant {
+ s.Published = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListParticipantsInput) SetNextToken(v string) *ListParticipantsInput {
- s.NextToken = &v
+// SetSdkVersion sets the SdkVersion field's value.
+func (s *Participant) SetSdkVersion(v string) *Participant {
+ s.SdkVersion = &v
return s
}
-// SetSessionId sets the SessionId field's value.
-func (s *ListParticipantsInput) SetSessionId(v string) *ListParticipantsInput {
- s.SessionId = &v
+// SetState sets the State field's value.
+func (s *Participant) SetState(v string) *Participant {
+ s.State = &v
return s
}
-// SetStageArn sets the StageArn field's value.
-func (s *ListParticipantsInput) SetStageArn(v string) *ListParticipantsInput {
- s.StageArn = &v
+// SetUserId sets the UserId field's value.
+func (s *Participant) SetUserId(v string) *Participant {
+ s.UserId = &v
return s
}
-type ListParticipantsOutput struct {
+// Summary object describing a participant that has joined a stage.
+type ParticipantSummary struct {
_ struct{} `type:"structure"`
- // If there are more rooms than maxResults, use nextToken in the request to
- // get the next set.
- NextToken *string `locationName:"nextToken" type:"string"`
+ // ISO 8601 timestamp (returned as a string) when the participant first joined
+ // the stage session.
+ FirstJoinTime *time.Time `locationName:"firstJoinTime" type:"timestamp" timestampFormat:"iso8601"`
- // List of the matching participants (summary information only).
- //
- // Participants is a required field
- Participants []*ParticipantSummary `locationName:"participants" type:"list" required:"true"`
+ // Unique identifier for this participant, assigned by IVS.
+ ParticipantId *string `locationName:"participantId" type:"string"`
+
+ // Whether the participant ever published to the stage session.
+ Published *bool `locationName:"published" type:"boolean"`
+
+ // Whether the participant is connected to or disconnected from the stage.
+ State *string `locationName:"state" type:"string" enum:"ParticipantState"`
+
+ // Customer-assigned name to help identify the token; this can be used to link
+ // a participant to a user in the customer’s own systems. This can be any
+ // UTF-8 encoded text. This field is exposed to all stage participants and should
+ // not be used for personally identifying, confidential, or sensitive information.
+ UserId *string `locationName:"userId" type:"string"`
}
// String returns the string representation.
@@ -2751,7 +6122,7 @@ type ListParticipantsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantsOutput) String() string {
+func (s ParticipantSummary) String() string {
return awsutil.Prettify(s)
}
@@ -2760,36 +6131,77 @@ func (s ListParticipantsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListParticipantsOutput) GoString() string {
+func (s ParticipantSummary) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListParticipantsOutput) SetNextToken(v string) *ListParticipantsOutput {
- s.NextToken = &v
+// SetFirstJoinTime sets the FirstJoinTime field's value.
+func (s *ParticipantSummary) SetFirstJoinTime(v time.Time) *ParticipantSummary {
+ s.FirstJoinTime = &v
return s
}
-// SetParticipants sets the Participants field's value.
-func (s *ListParticipantsOutput) SetParticipants(v []*ParticipantSummary) *ListParticipantsOutput {
- s.Participants = v
+// SetParticipantId sets the ParticipantId field's value.
+func (s *ParticipantSummary) SetParticipantId(v string) *ParticipantSummary {
+ s.ParticipantId = &v
return s
}
-type ListStageSessionsInput struct {
+// SetPublished sets the Published field's value.
+func (s *ParticipantSummary) SetPublished(v bool) *ParticipantSummary {
+ s.Published = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ParticipantSummary) SetState(v string) *ParticipantSummary {
+ s.State = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *ParticipantSummary) SetUserId(v string) *ParticipantSummary {
+ s.UserId = &v
+ return s
+}
+
+// Object specifying a participant token in a stage.
+//
+// Important: Treat tokens as opaque; i.e., do not build functionality based
+// on token contents. The format of tokens could change in the future.
+type ParticipantToken struct {
_ struct{} `type:"structure"`
- // Maximum number of results to return. Default: 50.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+ // Application-provided attributes to encode into the token and attach to a
+ // stage. This field is exposed to all stage participants and should not be
+ // used for personally identifying, confidential, or sensitive information.
+ Attributes map[string]*string `locationName:"attributes" type:"map"`
- // The first stage to retrieve. This is used for pagination; see the nextToken
- // response field.
- NextToken *string `locationName:"nextToken" type:"string"`
+ // Set of capabilities that the user is allowed to perform in the stage.
+ Capabilities []*string `locationName:"capabilities" type:"list" enum:"ParticipantTokenCapability"`
- // Stage ARN.
+ // Duration (in minutes), after which the participant token expires. Default:
+ // 720 (12 hours).
+ Duration *int64 `locationName:"duration" min:"1" type:"integer"`
+
+ // ISO 8601 timestamp (returned as a string) for when this token expires.
+ ExpirationTime *time.Time `locationName:"expirationTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // Unique identifier for this participant token, assigned by IVS.
+ ParticipantId *string `locationName:"participantId" type:"string"`
+
+ // The issued client token, encrypted.
//
- // StageArn is a required field
- StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
+ // Token is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by ParticipantToken's
+ // String and GoString methods.
+ Token *string `locationName:"token" type:"string" sensitive:"true"`
+
+ // Customer-assigned name to help identify the token; this can be used to link
+ // a participant to a user in the customer’s own systems. This can be any
+ // UTF-8 encoded text. This field is exposed to all stage participants and should
+ // not be used for personally identifying, confidential, or sensitive information.
+ UserId *string `locationName:"userId" type:"string"`
}
// String returns the string representation.
@@ -2797,7 +6209,7 @@ type ListStageSessionsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStageSessionsInput) String() string {
+func (s ParticipantToken) String() string {
return awsutil.Prettify(s)
}
@@ -2806,58 +6218,75 @@ func (s ListStageSessionsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStageSessionsInput) GoString() string {
+func (s ParticipantToken) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListStageSessionsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListStageSessionsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.StageArn == nil {
- invalidParams.Add(request.NewErrParamRequired("StageArn"))
- }
- if s.StageArn != nil && len(*s.StageArn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
- }
+// SetAttributes sets the Attributes field's value.
+func (s *ParticipantToken) SetAttributes(v map[string]*string) *ParticipantToken {
+ s.Attributes = v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetCapabilities sets the Capabilities field's value.
+func (s *ParticipantToken) SetCapabilities(v []*string) *ParticipantToken {
+ s.Capabilities = v
+ return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListStageSessionsInput) SetMaxResults(v int64) *ListStageSessionsInput {
- s.MaxResults = &v
+// SetDuration sets the Duration field's value.
+func (s *ParticipantToken) SetDuration(v int64) *ParticipantToken {
+ s.Duration = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListStageSessionsInput) SetNextToken(v string) *ListStageSessionsInput {
- s.NextToken = &v
+// SetExpirationTime sets the ExpirationTime field's value.
+func (s *ParticipantToken) SetExpirationTime(v time.Time) *ParticipantToken {
+ s.ExpirationTime = &v
return s
}
-// SetStageArn sets the StageArn field's value.
-func (s *ListStageSessionsInput) SetStageArn(v string) *ListStageSessionsInput {
- s.StageArn = &v
+// SetParticipantId sets the ParticipantId field's value.
+func (s *ParticipantToken) SetParticipantId(v string) *ParticipantToken {
+ s.ParticipantId = &v
return s
}
-type ListStageSessionsOutput struct {
+// SetToken sets the Token field's value.
+func (s *ParticipantToken) SetToken(v string) *ParticipantToken {
+ s.Token = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *ParticipantToken) SetUserId(v string) *ParticipantToken {
+ s.UserId = &v
+ return s
+}
+
+// Object specifying a participant token configuration in a stage.
+type ParticipantTokenConfiguration struct {
_ struct{} `type:"structure"`
- // If there are more rooms than maxResults, use nextToken in the request to
- // get the next set.
- NextToken *string `locationName:"nextToken" type:"string"`
+ // Application-provided attributes to encode into the corresponding participant
+ // token and attach to a stage. Map keys and values can contain UTF-8 encoded
+ // text. The maximum length of this field is 1 KB total. This field is exposed
+ // to all stage participants and should not be used for personally identifying,
+ // confidential, or sensitive information.
+ Attributes map[string]*string `locationName:"attributes" type:"map"`
- // List of matching stage sessions.
- //
- // StageSessions is a required field
- StageSessions []*StageSessionSummary `locationName:"stageSessions" type:"list" required:"true"`
+ // Set of capabilities that the user is allowed to perform in the stage.
+ Capabilities []*string `locationName:"capabilities" type:"list" enum:"ParticipantTokenCapability"`
+
+ // Duration (in minutes), after which the corresponding participant token expires.
+ // Default: 720 (12 hours).
+ Duration *int64 `locationName:"duration" min:"1" type:"integer"`
+
+ // Customer-assigned name to help identify the token; this can be used to link
+ // a participant to a user in the customer’s own systems. This can be any
+ // UTF-8 encoded text. This field is exposed to all stage participants and should
+ // not be used for personally identifying, confidential, or sensitive information.
+ UserId *string `locationName:"userId" type:"string"`
}
// String returns the string representation.
@@ -2865,7 +6294,7 @@ type ListStageSessionsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStageSessionsOutput) String() string {
+func (s ParticipantTokenConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -2874,31 +6303,55 @@ func (s ListStageSessionsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStageSessionsOutput) GoString() string {
+func (s ParticipantTokenConfiguration) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListStageSessionsOutput) SetNextToken(v string) *ListStageSessionsOutput {
- s.NextToken = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ParticipantTokenConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ParticipantTokenConfiguration"}
+ if s.Duration != nil && *s.Duration < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Duration", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *ParticipantTokenConfiguration) SetAttributes(v map[string]*string) *ParticipantTokenConfiguration {
+ s.Attributes = v
return s
}
-// SetStageSessions sets the StageSessions field's value.
-func (s *ListStageSessionsOutput) SetStageSessions(v []*StageSessionSummary) *ListStageSessionsOutput {
- s.StageSessions = v
+// SetCapabilities sets the Capabilities field's value.
+func (s *ParticipantTokenConfiguration) SetCapabilities(v []*string) *ParticipantTokenConfiguration {
+ s.Capabilities = v
return s
}
-type ListStagesInput struct {
- _ struct{} `type:"structure"`
+// SetDuration sets the Duration field's value.
+func (s *ParticipantTokenConfiguration) SetDuration(v int64) *ParticipantTokenConfiguration {
+ s.Duration = &v
+ return s
+}
- // Maximum number of results to return. Default: 50.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+// SetUserId sets the UserId field's value.
+func (s *ParticipantTokenConfiguration) SetUserId(v string) *ParticipantTokenConfiguration {
+ s.UserId = &v
+ return s
+}
- // The first stage to retrieve. This is used for pagination; see the nextToken
- // response field.
- NextToken *string `locationName:"nextToken" type:"string"`
+type PendingVerification struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ // Your account is pending verification.
+ ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -2906,7 +6359,7 @@ type ListStagesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStagesInput) String() string {
+func (s PendingVerification) String() string {
return awsutil.Prettify(s)
}
@@ -2915,46 +6368,54 @@ func (s ListStagesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStagesInput) GoString() string {
+func (s PendingVerification) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListStagesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListStagesInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+func newErrorPendingVerification(v protocol.ResponseMetadata) error {
+ return &PendingVerification{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
+// Code returns the exception type name.
+func (s *PendingVerification) Code() string {
+ return "PendingVerification"
+}
+
+// Message returns the exception's message.
+func (s *PendingVerification) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
}
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *PendingVerification) OrigErr() error {
return nil
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListStagesInput) SetMaxResults(v int64) *ListStagesInput {
- s.MaxResults = &v
- return s
+func (s *PendingVerification) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListStagesInput) SetNextToken(v string) *ListStagesInput {
- s.NextToken = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *PendingVerification) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-type ListStagesOutput struct {
- _ struct{} `type:"structure"`
+// RequestID returns the service's response RequestID for request.
+func (s *PendingVerification) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // If there are more rooms than maxResults, use nextToken in the request to
- // get the next set.
- NextToken *string `locationName:"nextToken" type:"string"`
+// An object representing a configuration to record a stage stream.
+type RecordingConfiguration struct {
+ _ struct{} `type:"structure"`
- // List of the matching stages (summary information only).
- //
- // Stages is a required field
- Stages []*StageSummary `locationName:"stages" type:"list" required:"true"`
+ // The recording format for storing a recording in Amazon S3.
+ Format *string `locationName:"format" type:"string" enum:"RecordingConfigurationFormat"`
}
// String returns the string representation.
@@ -2962,7 +6423,7 @@ type ListStagesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStagesOutput) String() string {
+func (s RecordingConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -2971,29 +6432,24 @@ func (s ListStagesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListStagesOutput) GoString() string {
+func (s RecordingConfiguration) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListStagesOutput) SetNextToken(v string) *ListStagesOutput {
- s.NextToken = &v
+// SetFormat sets the Format field's value.
+func (s *RecordingConfiguration) SetFormat(v string) *RecordingConfiguration {
+ s.Format = &v
return s
}
-// SetStages sets the Stages field's value.
-func (s *ListStagesOutput) SetStages(v []*StageSummary) *ListStagesOutput {
- s.Stages = v
- return s
-}
+type ResourceNotFoundException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-type ListTagsForResourceInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+ // Request references a resource which does not exist.
+ ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
- // The ARN of the resource to be retrieved. The ARN must be URL-encoded.
- //
- // ResourceArn is a required field
- ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -3001,7 +6457,7 @@ type ListTagsForResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) String() string {
+func (s ResourceNotFoundException) String() string {
return awsutil.Prettify(s)
}
@@ -3010,40 +6466,68 @@ func (s ListTagsForResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) GoString() string {
+func (s ResourceNotFoundException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListTagsForResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
- if s.ResourceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
- }
- if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
+func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
+ return &ResourceNotFoundException{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
+// Code returns the exception type name.
+func (s *ResourceNotFoundException) Code() string {
+ return "ResourceNotFoundException"
+}
+
+// Message returns the exception's message.
+func (s *ResourceNotFoundException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
}
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ResourceNotFoundException) OrigErr() error {
return nil
}
-// SetResourceArn sets the ResourceArn field's value.
-func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
- s.ResourceArn = &v
- return s
+func (s *ResourceNotFoundException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}
-type ListTagsForResourceOutput struct {
+// Status code returns the HTTP status code for the request's response error.
+func (s *ResourceNotFoundException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ResourceNotFoundException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// A complex type that describes an S3 location where recorded videos will be
+// stored.
+type S3DestinationConfiguration struct {
_ struct{} `type:"structure"`
- // Tags attached to the resource. Array of maps, each of the form string:string
- // (key:value).
+ // ARNs of the EncoderConfiguration resource. The encoder configuration and
+ // stage resources must be in the same AWS account and region.
//
- // Tags is a required field
- Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
+ // EncoderConfigurationArns is a required field
+ EncoderConfigurationArns []*string `locationName:"encoderConfigurationArns" min:"1" type:"list" required:"true"`
+
+ // Array of maps, each of the form string:string (key:value). This is an optional
+ // customer specification, currently used only to specify the recording format
+ // for storing a recording in Amazon S3.
+ RecordingConfiguration *RecordingConfiguration `locationName:"recordingConfiguration" type:"structure"`
+
+ // ARN of the StorageConfiguration where recorded videos will be stored.
+ //
+ // StorageConfigurationArn is a required field
+ StorageConfigurationArn *string `locationName:"storageConfigurationArn" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -3051,7 +6535,7 @@ type ListTagsForResourceOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) String() string {
+func (s S3DestinationConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -3060,63 +6544,58 @@ func (s ListTagsForResourceOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) GoString() string {
+func (s S3DestinationConfiguration) GoString() string {
return s.String()
}
-// SetTags sets the Tags field's value.
-func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
- s.Tags = v
- return s
-}
-
-// Object describing a participant that has joined a stage.
-type Participant struct {
- _ struct{} `type:"structure"`
-
- // Application-provided attributes to encode into the token and attach to a
- // stage. Map keys and values can contain UTF-8 encoded text. The maximum length
- // of this field is 1 KB total. This field is exposed to all stage participants
- // and should not be used for personally identifying, confidential, or sensitive
- // information.
- Attributes map[string]*string `locationName:"attributes" type:"map"`
-
- // The participant’s browser.
- BrowserName *string `locationName:"browserName" type:"string"`
-
- // The participant’s browser version.
- BrowserVersion *string `locationName:"browserVersion" type:"string"`
-
- // ISO 8601 timestamp (returned as a string) when the participant first joined
- // the stage session.
- FirstJoinTime *time.Time `locationName:"firstJoinTime" type:"timestamp" timestampFormat:"iso8601"`
-
- // The participant’s Internet Service Provider.
- IspName *string `locationName:"ispName" type:"string"`
-
- // The participant’s operating system.
- OsName *string `locationName:"osName" type:"string"`
-
- // The participant’s operating system version.
- OsVersion *string `locationName:"osVersion" type:"string"`
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *S3DestinationConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "S3DestinationConfiguration"}
+ if s.EncoderConfigurationArns == nil {
+ invalidParams.Add(request.NewErrParamRequired("EncoderConfigurationArns"))
+ }
+ if s.EncoderConfigurationArns != nil && len(s.EncoderConfigurationArns) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("EncoderConfigurationArns", 1))
+ }
+ if s.StorageConfigurationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("StorageConfigurationArn"))
+ }
+ if s.StorageConfigurationArn != nil && len(*s.StorageConfigurationArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StorageConfigurationArn", 1))
+ }
- // Unique identifier for this participant, assigned by IVS.
- ParticipantId *string `locationName:"participantId" type:"string"`
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
- // Whether the participant ever published to the stage session.
- Published *bool `locationName:"published" type:"boolean"`
+// SetEncoderConfigurationArns sets the EncoderConfigurationArns field's value.
+func (s *S3DestinationConfiguration) SetEncoderConfigurationArns(v []*string) *S3DestinationConfiguration {
+ s.EncoderConfigurationArns = v
+ return s
+}
- // The participant’s SDK version.
- SdkVersion *string `locationName:"sdkVersion" type:"string"`
+// SetRecordingConfiguration sets the RecordingConfiguration field's value.
+func (s *S3DestinationConfiguration) SetRecordingConfiguration(v *RecordingConfiguration) *S3DestinationConfiguration {
+ s.RecordingConfiguration = v
+ return s
+}
- // Whether the participant is connected to or disconnected from the stage.
- State *string `locationName:"state" type:"string" enum:"ParticipantState"`
+// SetStorageConfigurationArn sets the StorageConfigurationArn field's value.
+func (s *S3DestinationConfiguration) SetStorageConfigurationArn(v string) *S3DestinationConfiguration {
+ s.StorageConfigurationArn = &v
+ return s
+}
- // Customer-assigned name to help identify the token; this can be used to link
- // a participant to a user in the customer’s own systems. This can be any
- // UTF-8 encoded text. This field is exposed to all stage participants and should
- // not be used for personally identifying, confidential, or sensitive information.
- UserId *string `locationName:"userId" type:"string"`
+// Complex data type that defines S3Detail objects.
+type S3Detail struct {
+ _ struct{} `type:"structure"`
+
+ // The S3 bucket prefix under which the recording is stored.
+ //
+ // RecordingPrefix is a required field
+ RecordingPrefix *string `locationName:"recordingPrefix" type:"string" required:"true"`
}
// String returns the string representation.
@@ -3124,7 +6603,7 @@ type Participant struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Participant) String() string {
+func (s S3Detail) String() string {
return awsutil.Prettify(s)
}
@@ -3133,104 +6612,77 @@ func (s Participant) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Participant) GoString() string {
+func (s S3Detail) GoString() string {
return s.String()
}
-// SetAttributes sets the Attributes field's value.
-func (s *Participant) SetAttributes(v map[string]*string) *Participant {
- s.Attributes = v
- return s
-}
-
-// SetBrowserName sets the BrowserName field's value.
-func (s *Participant) SetBrowserName(v string) *Participant {
- s.BrowserName = &v
- return s
-}
-
-// SetBrowserVersion sets the BrowserVersion field's value.
-func (s *Participant) SetBrowserVersion(v string) *Participant {
- s.BrowserVersion = &v
- return s
-}
-
-// SetFirstJoinTime sets the FirstJoinTime field's value.
-func (s *Participant) SetFirstJoinTime(v time.Time) *Participant {
- s.FirstJoinTime = &v
- return s
-}
-
-// SetIspName sets the IspName field's value.
-func (s *Participant) SetIspName(v string) *Participant {
- s.IspName = &v
+// SetRecordingPrefix sets the RecordingPrefix field's value.
+func (s *S3Detail) SetRecordingPrefix(v string) *S3Detail {
+ s.RecordingPrefix = &v
return s
}
-// SetOsName sets the OsName field's value.
-func (s *Participant) SetOsName(v string) *Participant {
- s.OsName = &v
- return s
-}
+// A complex type that describes an S3 location where recorded videos will be
+// stored.
+type S3StorageConfiguration struct {
+ _ struct{} `type:"structure"`
-// SetOsVersion sets the OsVersion field's value.
-func (s *Participant) SetOsVersion(v string) *Participant {
- s.OsVersion = &v
- return s
+ // Location (S3 bucket name) where recorded videos will be stored. Note that
+ // the StorageConfiguration and S3 bucket must be in the same region as the
+ // Composition.
+ //
+ // BucketName is a required field
+ BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"`
}
-// SetParticipantId sets the ParticipantId field's value.
-func (s *Participant) SetParticipantId(v string) *Participant {
- s.ParticipantId = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s S3StorageConfiguration) String() string {
+ return awsutil.Prettify(s)
}
-// SetPublished sets the Published field's value.
-func (s *Participant) SetPublished(v bool) *Participant {
- s.Published = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s S3StorageConfiguration) GoString() string {
+ return s.String()
}
-// SetSdkVersion sets the SdkVersion field's value.
-func (s *Participant) SetSdkVersion(v string) *Participant {
- s.SdkVersion = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *S3StorageConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "S3StorageConfiguration"}
+ if s.BucketName == nil {
+ invalidParams.Add(request.NewErrParamRequired("BucketName"))
+ }
+ if s.BucketName != nil && len(*s.BucketName) < 3 {
+ invalidParams.Add(request.NewErrParamMinLen("BucketName", 3))
+ }
-// SetState sets the State field's value.
-func (s *Participant) SetState(v string) *Participant {
- s.State = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetUserId sets the UserId field's value.
-func (s *Participant) SetUserId(v string) *Participant {
- s.UserId = &v
+// SetBucketName sets the BucketName field's value.
+func (s *S3StorageConfiguration) SetBucketName(v string) *S3StorageConfiguration {
+ s.BucketName = &v
return s
}
-// Summary object describing a participant that has joined a stage.
-type ParticipantSummary struct {
- _ struct{} `type:"structure"`
-
- // ISO 8601 timestamp (returned as a string) when the participant first joined
- // the stage session.
- FirstJoinTime *time.Time `locationName:"firstJoinTime" type:"timestamp" timestampFormat:"iso8601"`
-
- // Unique identifier for this participant, assigned by IVS.
- ParticipantId *string `locationName:"participantId" type:"string"`
-
- // Whether the participant ever published to the stage session.
- Published *bool `locationName:"published" type:"boolean"`
+type ServiceQuotaExceededException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // Whether the participant is connected to or disconnected from the stage.
- State *string `locationName:"state" type:"string" enum:"ParticipantState"`
+ // Request would cause a service quota to be exceeded.
+ ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
- // Customer-assigned name to help identify the token; this can be used to link
- // a participant to a user in the customer’s own systems. This can be any
- // UTF-8 encoded text. This field is exposed to all stage participants and should
- // not be used for personally identifying, confidential, or sensitive information.
- UserId *string `locationName:"userId" type:"string"`
+ Message_ *string `locationName:"message" type:"string"`
}
// String returns the string representation.
@@ -3238,7 +6690,7 @@ type ParticipantSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ParticipantSummary) String() string {
+func (s ServiceQuotaExceededException) String() string {
return awsutil.Prettify(s)
}
@@ -3247,77 +6699,69 @@ func (s ParticipantSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ParticipantSummary) GoString() string {
+func (s ServiceQuotaExceededException) GoString() string {
return s.String()
}
-// SetFirstJoinTime sets the FirstJoinTime field's value.
-func (s *ParticipantSummary) SetFirstJoinTime(v time.Time) *ParticipantSummary {
- s.FirstJoinTime = &v
- return s
+func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
+ return &ServiceQuotaExceededException{
+ RespMetadata: v,
+ }
}
-// SetParticipantId sets the ParticipantId field's value.
-func (s *ParticipantSummary) SetParticipantId(v string) *ParticipantSummary {
- s.ParticipantId = &v
- return s
+// Code returns the exception type name.
+func (s *ServiceQuotaExceededException) Code() string {
+ return "ServiceQuotaExceededException"
}
-// SetPublished sets the Published field's value.
-func (s *ParticipantSummary) SetPublished(v bool) *ParticipantSummary {
- s.Published = &v
- return s
+// Message returns the exception's message.
+func (s *ServiceQuotaExceededException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// SetState sets the State field's value.
-func (s *ParticipantSummary) SetState(v string) *ParticipantSummary {
- s.State = &v
- return s
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ServiceQuotaExceededException) OrigErr() error {
+ return nil
}
-// SetUserId sets the UserId field's value.
-func (s *ParticipantSummary) SetUserId(v string) *ParticipantSummary {
- s.UserId = &v
- return s
+func (s *ServiceQuotaExceededException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}
-// Object specifying a participant token in a stage.
-//
-// Important: Treat tokens as opaque; i.e., do not build functionality based
-// on token contents. The format of tokens could change in the future.
-type ParticipantToken struct {
- _ struct{} `type:"structure"`
-
- // Application-provided attributes to encode into the token and attach to a
- // stage. This field is exposed to all stage participants and should not be
- // used for personally identifying, confidential, or sensitive information.
- Attributes map[string]*string `locationName:"attributes" type:"map"`
-
- // Set of capabilities that the user is allowed to perform in the stage.
- Capabilities []*string `locationName:"capabilities" type:"list" enum:"ParticipantTokenCapability"`
+// Status code returns the HTTP status code for the request's response error.
+func (s *ServiceQuotaExceededException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
- // Duration (in minutes), after which the participant token expires. Default:
- // 720 (12 hours).
- Duration *int64 `locationName:"duration" min:"1" type:"integer"`
+// RequestID returns the service's response RequestID for request.
+func (s *ServiceQuotaExceededException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // ISO 8601 timestamp (returned as a string) for when this token expires.
- ExpirationTime *time.Time `locationName:"expirationTime" type:"timestamp" timestampFormat:"iso8601"`
+// Object specifying a stage.
+type Stage struct {
+ _ struct{} `type:"structure"`
- // Unique identifier for this participant token, assigned by IVS.
- ParticipantId *string `locationName:"participantId" type:"string"`
+ // ID of the active session within the stage.
+ ActiveSessionId *string `locationName:"activeSessionId" min:"16" type:"string"`
- // The issued client token, encrypted.
+ // Stage ARN.
//
- // Token is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by ParticipantToken's
- // String and GoString methods.
- Token *string `locationName:"token" type:"string" sensitive:"true"`
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
- // Customer-assigned name to help identify the token; this can be used to link
- // a participant to a user in the customer’s own systems. This can be any
- // UTF-8 encoded text. This field is exposed to all stage participants and should
- // not be used for personally identifying, confidential, or sensitive information.
- UserId *string `locationName:"userId" type:"string"`
+ // Stage name.
+ Name *string `locationName:"name" type:"string"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation.
@@ -3325,7 +6769,7 @@ type ParticipantToken struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ParticipantToken) String() string {
+func (s Stage) String() string {
return awsutil.Prettify(s)
}
@@ -3334,75 +6778,50 @@ func (s ParticipantToken) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ParticipantToken) GoString() string {
+func (s Stage) GoString() string {
return s.String()
}
-// SetAttributes sets the Attributes field's value.
-func (s *ParticipantToken) SetAttributes(v map[string]*string) *ParticipantToken {
- s.Attributes = v
- return s
-}
-
-// SetCapabilities sets the Capabilities field's value.
-func (s *ParticipantToken) SetCapabilities(v []*string) *ParticipantToken {
- s.Capabilities = v
- return s
-}
-
-// SetDuration sets the Duration field's value.
-func (s *ParticipantToken) SetDuration(v int64) *ParticipantToken {
- s.Duration = &v
- return s
-}
-
-// SetExpirationTime sets the ExpirationTime field's value.
-func (s *ParticipantToken) SetExpirationTime(v time.Time) *ParticipantToken {
- s.ExpirationTime = &v
+// SetActiveSessionId sets the ActiveSessionId field's value.
+func (s *Stage) SetActiveSessionId(v string) *Stage {
+ s.ActiveSessionId = &v
return s
}
-// SetParticipantId sets the ParticipantId field's value.
-func (s *ParticipantToken) SetParticipantId(v string) *ParticipantToken {
- s.ParticipantId = &v
+// SetArn sets the Arn field's value.
+func (s *Stage) SetArn(v string) *Stage {
+ s.Arn = &v
return s
}
-// SetToken sets the Token field's value.
-func (s *ParticipantToken) SetToken(v string) *ParticipantToken {
- s.Token = &v
+// SetName sets the Name field's value.
+func (s *Stage) SetName(v string) *Stage {
+ s.Name = &v
return s
}
-// SetUserId sets the UserId field's value.
-func (s *ParticipantToken) SetUserId(v string) *ParticipantToken {
- s.UserId = &v
+// SetTags sets the Tags field's value.
+func (s *Stage) SetTags(v map[string]*string) *Stage {
+ s.Tags = v
return s
}
-// Object specifying a participant token configuration in a stage.
-type ParticipantTokenConfiguration struct {
+// A stage session begins when the first participant joins a stage and ends
+// after the last participant leaves the stage. A stage session helps with debugging
+// stages by grouping events and participants into shorter periods of time (i.e.,
+// a session), which is helpful when stages are used over long periods of time.
+type StageSession struct {
_ struct{} `type:"structure"`
- // Application-provided attributes to encode into the corresponding participant
- // token and attach to a stage. Map keys and values can contain UTF-8 encoded
- // text. The maximum length of this field is 1 KB total. This field is exposed
- // to all stage participants and should not be used for personally identifying,
- // confidential, or sensitive information.
- Attributes map[string]*string `locationName:"attributes" type:"map"`
-
- // Set of capabilities that the user is allowed to perform in the stage.
- Capabilities []*string `locationName:"capabilities" type:"list" enum:"ParticipantTokenCapability"`
+ // ISO 8601 timestamp (returned as a string) when the stage session ended. This
+ // is null if the stage is active.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
- // Duration (in minutes), after which the corresponding participant token expires.
- // Default: 720 (12 hours).
- Duration *int64 `locationName:"duration" min:"1" type:"integer"`
+ // ID of the session within the stage.
+ SessionId *string `locationName:"sessionId" min:"16" type:"string"`
- // Customer-assigned name to help identify the token; this can be used to link
- // a participant to a user in the customer’s own systems. This can be any
- // UTF-8 encoded text. This field is exposed to all stage participants and should
- // not be used for personally identifying, confidential, or sensitive information.
- UserId *string `locationName:"userId" type:"string"`
+ // ISO 8601 timestamp (returned as a string) when this stage session began.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
}
// String returns the string representation.
@@ -3410,7 +6829,7 @@ type ParticipantTokenConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ParticipantTokenConfiguration) String() string {
+func (s StageSession) String() string {
return awsutil.Prettify(s)
}
@@ -3419,55 +6838,41 @@ func (s ParticipantTokenConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ParticipantTokenConfiguration) GoString() string {
+func (s StageSession) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ParticipantTokenConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ParticipantTokenConfiguration"}
- if s.Duration != nil && *s.Duration < 1 {
- invalidParams.Add(request.NewErrParamMinValue("Duration", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetAttributes sets the Attributes field's value.
-func (s *ParticipantTokenConfiguration) SetAttributes(v map[string]*string) *ParticipantTokenConfiguration {
- s.Attributes = v
+// SetEndTime sets the EndTime field's value.
+func (s *StageSession) SetEndTime(v time.Time) *StageSession {
+ s.EndTime = &v
return s
}
-// SetCapabilities sets the Capabilities field's value.
-func (s *ParticipantTokenConfiguration) SetCapabilities(v []*string) *ParticipantTokenConfiguration {
- s.Capabilities = v
+// SetSessionId sets the SessionId field's value.
+func (s *StageSession) SetSessionId(v string) *StageSession {
+ s.SessionId = &v
return s
}
-// SetDuration sets the Duration field's value.
-func (s *ParticipantTokenConfiguration) SetDuration(v int64) *ParticipantTokenConfiguration {
- s.Duration = &v
+// SetStartTime sets the StartTime field's value.
+func (s *StageSession) SetStartTime(v time.Time) *StageSession {
+ s.StartTime = &v
return s
}
-// SetUserId sets the UserId field's value.
-func (s *ParticipantTokenConfiguration) SetUserId(v string) *ParticipantTokenConfiguration {
- s.UserId = &v
- return s
-}
+// Summary information about a stage session.
+type StageSessionSummary struct {
+ _ struct{} `type:"structure"`
-type PendingVerification struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // ISO 8601 timestamp (returned as a string) when the stage session ended. This
+ // is null if the stage is active.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
- // Your account is pending verification.
- ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+ // ID of the session within the stage.
+ SessionId *string `locationName:"sessionId" min:"16" type:"string"`
- Message_ *string `locationName:"message" type:"string"`
+ // ISO 8601 timestamp (returned as a string) when this stage session began.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
}
// String returns the string representation.
@@ -3475,7 +6880,7 @@ type PendingVerification struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PendingVerification) String() string {
+func (s StageSessionSummary) String() string {
return awsutil.Prettify(s)
}
@@ -3484,56 +6889,49 @@ func (s PendingVerification) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PendingVerification) GoString() string {
+func (s StageSessionSummary) GoString() string {
return s.String()
}
-func newErrorPendingVerification(v protocol.ResponseMetadata) error {
- return &PendingVerification{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *PendingVerification) Code() string {
- return "PendingVerification"
-}
-
-// Message returns the exception's message.
-func (s *PendingVerification) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetEndTime sets the EndTime field's value.
+func (s *StageSessionSummary) SetEndTime(v time.Time) *StageSessionSummary {
+ s.EndTime = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *PendingVerification) OrigErr() error {
- return nil
+// SetSessionId sets the SessionId field's value.
+func (s *StageSessionSummary) SetSessionId(v string) *StageSessionSummary {
+ s.SessionId = &v
+ return s
}
-func (s *PendingVerification) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+// SetStartTime sets the StartTime field's value.
+func (s *StageSessionSummary) SetStartTime(v time.Time) *StageSessionSummary {
+ s.StartTime = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *PendingVerification) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
+// Summary information about a stage.
+type StageSummary struct {
+ _ struct{} `type:"structure"`
-// RequestID returns the service's response RequestID for request.
-func (s *PendingVerification) RequestID() string {
- return s.RespMetadata.RequestID
-}
+ // ID of the active session within the stage.
+ ActiveSessionId *string `locationName:"activeSessionId" min:"16" type:"string"`
-type ResourceNotFoundException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // Stage ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
- // Request references a resource which does not exist.
- ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+ // Stage name.
+ Name *string `locationName:"name" type:"string"`
- Message_ *string `locationName:"message" type:"string"`
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation.
@@ -3541,7 +6939,7 @@ type ResourceNotFoundException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) String() string {
+func (s StageSummary) String() string {
return awsutil.Prettify(s)
}
@@ -3550,56 +6948,59 @@ func (s ResourceNotFoundException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) GoString() string {
+func (s StageSummary) GoString() string {
return s.String()
}
-func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
- return &ResourceNotFoundException{
- RespMetadata: v,
- }
+// SetActiveSessionId sets the ActiveSessionId field's value.
+func (s *StageSummary) SetActiveSessionId(v string) *StageSummary {
+ s.ActiveSessionId = &v
+ return s
}
-// Code returns the exception type name.
-func (s *ResourceNotFoundException) Code() string {
- return "ResourceNotFoundException"
+// SetArn sets the Arn field's value.
+func (s *StageSummary) SetArn(v string) *StageSummary {
+ s.Arn = &v
+ return s
}
-// Message returns the exception's message.
-func (s *ResourceNotFoundException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetName sets the Name field's value.
+func (s *StageSummary) SetName(v string) *StageSummary {
+ s.Name = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ResourceNotFoundException) OrigErr() error {
- return nil
+// SetTags sets the Tags field's value.
+func (s *StageSummary) SetTags(v map[string]*string) *StageSummary {
+ s.Tags = v
+ return s
}
-func (s *ResourceNotFoundException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
-}
+type StartCompositionInput struct {
+ _ struct{} `type:"structure"`
-// Status code returns the HTTP status code for the request's response error.
-func (s *ResourceNotFoundException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
+ // Array of destination configuration.
+ //
+ // Destinations is a required field
+ Destinations []*DestinationConfiguration `locationName:"destinations" min:"1" type:"list" required:"true"`
-// RequestID returns the service's response RequestID for request.
-func (s *ResourceNotFoundException) RequestID() string {
- return s.RespMetadata.RequestID
-}
+ // Idempotency token.
+ IdempotencyToken *string `locationName:"idempotencyToken" min:"1" type:"string" idempotencyToken:"true"`
-type ServiceQuotaExceededException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // Layout object to configure composition parameters.
+ Layout *LayoutConfiguration `locationName:"layout" type:"structure"`
- // Request would cause a service quota to be exceeded.
- ExceptionMessage *string `locationName:"exceptionMessage" type:"string"`
+ // ARN of the stage to be used for compositing.
+ //
+ // StageArn is a required field
+ StageArn *string `locationName:"stageArn" min:"1" type:"string" required:"true"`
- Message_ *string `locationName:"message" type:"string"`
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation.
@@ -3607,7 +7008,7 @@ type ServiceQuotaExceededException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ServiceQuotaExceededException) String() string {
+func (s StartCompositionInput) String() string {
return awsutil.Prettify(s)
}
@@ -3616,69 +7017,113 @@ func (s ServiceQuotaExceededException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ServiceQuotaExceededException) GoString() string {
+func (s StartCompositionInput) GoString() string {
return s.String()
}
-func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
- return &ServiceQuotaExceededException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartCompositionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartCompositionInput"}
+ if s.Destinations == nil {
+ invalidParams.Add(request.NewErrParamRequired("Destinations"))
+ }
+ if s.Destinations != nil && len(s.Destinations) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Destinations", 1))
+ }
+ if s.IdempotencyToken != nil && len(*s.IdempotencyToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IdempotencyToken", 1))
+ }
+ if s.StageArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("StageArn"))
+ }
+ if s.StageArn != nil && len(*s.StageArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StageArn", 1))
+ }
+ if s.Destinations != nil {
+ for i, v := range s.Destinations {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Destinations", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
}
+ return nil
}
-// Code returns the exception type name.
-func (s *ServiceQuotaExceededException) Code() string {
- return "ServiceQuotaExceededException"
+// SetDestinations sets the Destinations field's value.
+func (s *StartCompositionInput) SetDestinations(v []*DestinationConfiguration) *StartCompositionInput {
+ s.Destinations = v
+ return s
+}
+
+// SetIdempotencyToken sets the IdempotencyToken field's value.
+func (s *StartCompositionInput) SetIdempotencyToken(v string) *StartCompositionInput {
+ s.IdempotencyToken = &v
+ return s
+}
+
+// SetLayout sets the Layout field's value.
+func (s *StartCompositionInput) SetLayout(v *LayoutConfiguration) *StartCompositionInput {
+ s.Layout = v
+ return s
+}
+
+// SetStageArn sets the StageArn field's value.
+func (s *StartCompositionInput) SetStageArn(v string) *StartCompositionInput {
+ s.StageArn = &v
+ return s
}
-// Message returns the exception's message.
-func (s *ServiceQuotaExceededException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetTags sets the Tags field's value.
+func (s *StartCompositionInput) SetTags(v map[string]*string) *StartCompositionInput {
+ s.Tags = v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ServiceQuotaExceededException) OrigErr() error {
- return nil
+type StartCompositionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Composition that was created.
+ Composition *Composition `locationName:"composition" type:"structure"`
}
-func (s *ServiceQuotaExceededException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartCompositionOutput) String() string {
+ return awsutil.Prettify(s)
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *ServiceQuotaExceededException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartCompositionOutput) GoString() string {
+ return s.String()
}
-// RequestID returns the service's response RequestID for request.
-func (s *ServiceQuotaExceededException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetComposition sets the Composition field's value.
+func (s *StartCompositionOutput) SetComposition(v *Composition) *StartCompositionOutput {
+ s.Composition = v
+ return s
}
-// Object specifying a stage.
-type Stage struct {
+type StopCompositionInput struct {
_ struct{} `type:"structure"`
- // ID of the active session within the stage.
- ActiveSessionId *string `locationName:"activeSessionId" min:"16" type:"string"`
-
- // Stage ARN.
+ // ARN of the Composition.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
-
- // Stage name.
- Name *string `locationName:"name" type:"string"`
-
- // Tags attached to the resource. Array of maps, each of the form string:string
- // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
- // for details, including restrictions that apply to tags and "Tag naming limits
- // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
- // there.
- Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation.
@@ -3686,7 +7131,7 @@ type Stage struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Stage) String() string {
+func (s StopCompositionInput) String() string {
return awsutil.Prettify(s)
}
@@ -3695,50 +7140,34 @@ func (s Stage) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Stage) GoString() string {
+func (s StopCompositionInput) GoString() string {
return s.String()
}
-// SetActiveSessionId sets the ActiveSessionId field's value.
-func (s *Stage) SetActiveSessionId(v string) *Stage {
- s.ActiveSessionId = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StopCompositionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StopCompositionInput"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
// SetArn sets the Arn field's value.
-func (s *Stage) SetArn(v string) *Stage {
+func (s *StopCompositionInput) SetArn(v string) *StopCompositionInput {
s.Arn = &v
return s
}
-// SetName sets the Name field's value.
-func (s *Stage) SetName(v string) *Stage {
- s.Name = &v
- return s
-}
-
-// SetTags sets the Tags field's value.
-func (s *Stage) SetTags(v map[string]*string) *Stage {
- s.Tags = v
- return s
-}
-
-// A stage session begins when the first participant joins a stage and ends
-// after the last participant leaves the stage. A stage session helps with debugging
-// stages by grouping events and participants into shorter periods of time (i.e.,
-// a session), which is helpful when stages are used over long periods of time.
-type StageSession struct {
+type StopCompositionOutput struct {
_ struct{} `type:"structure"`
-
- // ISO 8601 timestamp (returned as a string) when the stage session ended. This
- // is null if the stage is active.
- EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
-
- // ID of the session within the stage.
- SessionId *string `locationName:"sessionId" min:"16" type:"string"`
-
- // ISO 8601 timestamp (returned as a string) when this stage session began.
- StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
}
// String returns the string representation.
@@ -3746,7 +7175,7 @@ type StageSession struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StageSession) String() string {
+func (s StopCompositionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -3755,41 +7184,31 @@ func (s StageSession) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StageSession) GoString() string {
+func (s StopCompositionOutput) GoString() string {
return s.String()
}
-// SetEndTime sets the EndTime field's value.
-func (s *StageSession) SetEndTime(v time.Time) *StageSession {
- s.EndTime = &v
- return s
-}
-
-// SetSessionId sets the SessionId field's value.
-func (s *StageSession) SetSessionId(v string) *StageSession {
- s.SessionId = &v
- return s
-}
-
-// SetStartTime sets the StartTime field's value.
-func (s *StageSession) SetStartTime(v time.Time) *StageSession {
- s.StartTime = &v
- return s
-}
-
-// Summary information about a stage session.
-type StageSessionSummary struct {
+// A complex type that describes a location where recorded videos will be stored.
+type StorageConfiguration struct {
_ struct{} `type:"structure"`
- // ISO 8601 timestamp (returned as a string) when the stage session ended. This
- // is null if the stage is active.
- EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"`
+ // ARN of the storage configuration.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
- // ID of the session within the stage.
- SessionId *string `locationName:"sessionId" min:"16" type:"string"`
+ // Name of the storage configuration.
+ Name *string `locationName:"name" type:"string"`
- // ISO 8601 timestamp (returned as a string) when this stage session began.
- StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"`
+ // An S3 destination configuration where recorded videos will be stored.
+ S3 *S3StorageConfiguration `locationName:"s3" type:"structure"`
+
+ // Tags attached to the resource. Array of maps, each of the form string:string
+ // (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
+ // for details, including restrictions that apply to tags and "Tag naming limits
+ // and requirements"; Amazon IVS has no constraints on tags beyond what is documented
+ // there.
+ Tags map[string]*string `locationName:"tags" type:"map"`
}
// String returns the string representation.
@@ -3797,7 +7216,7 @@ type StageSessionSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StageSessionSummary) String() string {
+func (s StorageConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -3806,43 +7225,49 @@ func (s StageSessionSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StageSessionSummary) GoString() string {
+func (s StorageConfiguration) GoString() string {
return s.String()
}
-// SetEndTime sets the EndTime field's value.
-func (s *StageSessionSummary) SetEndTime(v time.Time) *StageSessionSummary {
- s.EndTime = &v
+// SetArn sets the Arn field's value.
+func (s *StorageConfiguration) SetArn(v string) *StorageConfiguration {
+ s.Arn = &v
return s
}
-// SetSessionId sets the SessionId field's value.
-func (s *StageSessionSummary) SetSessionId(v string) *StageSessionSummary {
- s.SessionId = &v
+// SetName sets the Name field's value.
+func (s *StorageConfiguration) SetName(v string) *StorageConfiguration {
+ s.Name = &v
return s
}
-// SetStartTime sets the StartTime field's value.
-func (s *StageSessionSummary) SetStartTime(v time.Time) *StageSessionSummary {
- s.StartTime = &v
+// SetS3 sets the S3 field's value.
+func (s *StorageConfiguration) SetS3(v *S3StorageConfiguration) *StorageConfiguration {
+ s.S3 = v
return s
}
-// Summary information about a stage.
-type StageSummary struct {
- _ struct{} `type:"structure"`
+// SetTags sets the Tags field's value.
+func (s *StorageConfiguration) SetTags(v map[string]*string) *StorageConfiguration {
+ s.Tags = v
+ return s
+}
- // ID of the active session within the stage.
- ActiveSessionId *string `locationName:"activeSessionId" min:"16" type:"string"`
+// Summary information about a storage configuration.
+type StorageConfigurationSummary struct {
+ _ struct{} `type:"structure"`
- // Stage ARN.
+ // ARN of the storage configuration.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"1" type:"string" required:"true"`
- // Stage name.
+ // Name of the storage configuration.
Name *string `locationName:"name" type:"string"`
+ // An S3 destination configuration where recorded videos will be stored.
+ S3 *S3StorageConfiguration `locationName:"s3" type:"structure"`
+
// Tags attached to the resource. Array of maps, each of the form string:string
// (key:value). See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
// for details, including restrictions that apply to tags and "Tag naming limits
@@ -3856,7 +7281,7 @@ type StageSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StageSummary) String() string {
+func (s StorageConfigurationSummary) String() string {
return awsutil.Prettify(s)
}
@@ -3865,30 +7290,30 @@ func (s StageSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StageSummary) GoString() string {
+func (s StorageConfigurationSummary) GoString() string {
return s.String()
}
-// SetActiveSessionId sets the ActiveSessionId field's value.
-func (s *StageSummary) SetActiveSessionId(v string) *StageSummary {
- s.ActiveSessionId = &v
- return s
-}
-
// SetArn sets the Arn field's value.
-func (s *StageSummary) SetArn(v string) *StageSummary {
+func (s *StorageConfigurationSummary) SetArn(v string) *StorageConfigurationSummary {
s.Arn = &v
return s
}
// SetName sets the Name field's value.
-func (s *StageSummary) SetName(v string) *StageSummary {
+func (s *StorageConfigurationSummary) SetName(v string) *StorageConfigurationSummary {
s.Name = &v
return s
}
+// SetS3 sets the S3 field's value.
+func (s *StorageConfigurationSummary) SetS3(v *S3StorageConfiguration) *StorageConfigurationSummary {
+ s.S3 = v
+ return s
+}
+
// SetTags sets the Tags field's value.
-func (s *StageSummary) SetTags(v map[string]*string) *StageSummary {
+func (s *StorageConfigurationSummary) SetTags(v map[string]*string) *StorageConfigurationSummary {
s.Tags = v
return s
}
@@ -4227,6 +7652,151 @@ func (s *ValidationException) RequestID() string {
return s.RespMetadata.RequestID
}
+// Settings for video.
+type Video struct {
+ _ struct{} `type:"structure"`
+
+ // Bitrate for generated output, in bps. Default: 2500000.
+ Bitrate *int64 `locationName:"bitrate" min:"1" type:"integer"`
+
+ // Video frame rate, in fps. Default: 30.
+ Framerate *float64 `locationName:"framerate" min:"1" type:"float"`
+
+ // Video-resolution height. Note that the maximum value is determined by width
+ // times height, such that the maximum total pixels is 2073600 (1920x1080 or
+ // 1080x1920). Default: 720.
+ Height *int64 `locationName:"height" min:"1" type:"integer"`
+
+ // Video-resolution width. Note that the maximum value is determined by width
+ // times height, such that the maximum total pixels is 2073600 (1920x1080 or
+ // 1080x1920). Default: 1280.
+ Width *int64 `locationName:"width" min:"1" type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Video) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Video) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Video) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Video"}
+ if s.Bitrate != nil && *s.Bitrate < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Bitrate", 1))
+ }
+ if s.Framerate != nil && *s.Framerate < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Framerate", 1))
+ }
+ if s.Height != nil && *s.Height < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Height", 1))
+ }
+ if s.Width != nil && *s.Width < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Width", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetBitrate sets the Bitrate field's value.
+func (s *Video) SetBitrate(v int64) *Video {
+ s.Bitrate = &v
+ return s
+}
+
+// SetFramerate sets the Framerate field's value.
+func (s *Video) SetFramerate(v float64) *Video {
+ s.Framerate = &v
+ return s
+}
+
+// SetHeight sets the Height field's value.
+func (s *Video) SetHeight(v int64) *Video {
+ s.Height = &v
+ return s
+}
+
+// SetWidth sets the Width field's value.
+func (s *Video) SetWidth(v int64) *Video {
+ s.Width = &v
+ return s
+}
+
+const (
+ // CompositionStateStarting is a CompositionState enum value
+ CompositionStateStarting = "STARTING"
+
+ // CompositionStateActive is a CompositionState enum value
+ CompositionStateActive = "ACTIVE"
+
+ // CompositionStateStopping is a CompositionState enum value
+ CompositionStateStopping = "STOPPING"
+
+ // CompositionStateFailed is a CompositionState enum value
+ CompositionStateFailed = "FAILED"
+
+ // CompositionStateStopped is a CompositionState enum value
+ CompositionStateStopped = "STOPPED"
+)
+
+// CompositionState_Values returns all elements of the CompositionState enum
+func CompositionState_Values() []string {
+ return []string{
+ CompositionStateStarting,
+ CompositionStateActive,
+ CompositionStateStopping,
+ CompositionStateFailed,
+ CompositionStateStopped,
+ }
+}
+
+const (
+ // DestinationStateStarting is a DestinationState enum value
+ DestinationStateStarting = "STARTING"
+
+ // DestinationStateActive is a DestinationState enum value
+ DestinationStateActive = "ACTIVE"
+
+ // DestinationStateStopping is a DestinationState enum value
+ DestinationStateStopping = "STOPPING"
+
+ // DestinationStateReconnecting is a DestinationState enum value
+ DestinationStateReconnecting = "RECONNECTING"
+
+ // DestinationStateFailed is a DestinationState enum value
+ DestinationStateFailed = "FAILED"
+
+ // DestinationStateStopped is a DestinationState enum value
+ DestinationStateStopped = "STOPPED"
+)
+
+// DestinationState_Values returns all elements of the DestinationState enum
+func DestinationState_Values() []string {
+ return []string{
+ DestinationStateStarting,
+ DestinationStateActive,
+ DestinationStateStopping,
+ DestinationStateReconnecting,
+ DestinationStateFailed,
+ DestinationStateStopped,
+ }
+}
+
const (
// EventErrorCodeInsufficientCapabilities is a EventErrorCode enum value
EventErrorCodeInsufficientCapabilities = "INSUFFICIENT_CAPABILITIES"
@@ -4322,3 +7892,15 @@ func ParticipantTokenCapability_Values() []string {
ParticipantTokenCapabilitySubscribe,
}
}
+
+const (
+ // RecordingConfigurationFormatHls is a RecordingConfigurationFormat enum value
+ RecordingConfigurationFormatHls = "HLS"
+)
+
+// RecordingConfigurationFormat_Values returns all elements of the RecordingConfigurationFormat enum
+func RecordingConfigurationFormat_Values() []string {
+ return []string{
+ RecordingConfigurationFormatHls,
+ }
+}
diff --git a/service/ivsrealtime/doc.go b/service/ivsrealtime/doc.go
index 1ba7f0ccae8..279cef93d02 100644
--- a/service/ivsrealtime/doc.go
+++ b/service/ivsrealtime/doc.go
@@ -20,9 +20,16 @@
// - A participant object represents participants (people) in the stage and
// contains information about them. When a token is created, it includes
// a participant ID; when a participant uses that token to join a stage,
-// the participant is associated with that participant ID There is a 1:1
+// the participant is associated with that participant ID. There is a 1:1
// mapping between participant tokens and participants.
//
+// - Server-side composition: The composition process composites participants
+// of a stage into a single video and forwards it to a set of outputs (e.g.,
+// IVS channels). Composition endpoints support this process.
+//
+// - Server-side composition: A composition controls the look of the outputs,
+// including how participants are positioned in the video.
+//
// # Resources
//
// The following resources contain information about your IVS live stream (see
@@ -82,6 +89,49 @@
//
// - UpdateStage — Updates a stage’s configuration.
//
+// Composition Endpoints
+//
+// - GetComposition — Gets information about the specified Composition
+// resource.
+//
+// - ListCompositions — Gets summary information about all Compositions
+// in your account, in the AWS region where the API request is processed.
+//
+// - StartComposition — Starts a Composition from a stage based on the
+// configuration provided in the request.
+//
+// - StopComposition — Stops and deletes a Composition resource. Any broadcast
+// from the Composition resource is stopped.
+//
+// EncoderConfiguration Endpoints
+//
+// - CreateEncoderConfiguration — Creates an EncoderConfiguration object.
+//
+// - DeleteEncoderConfiguration — Deletes an EncoderConfiguration resource.
+// Ensures that no Compositions are using this template; otherwise, returns
+// an error.
+//
+// - GetEncoderConfiguration — Gets information about the specified EncoderConfiguration
+// resource.
+//
+// - ListEncoderConfigurations — Gets summary information about all EncoderConfigurations
+// in your account, in the AWS region where the API request is processed.
+//
+// StorageConfiguration Endpoints
+//
+// - CreateStorageConfiguration — Creates a new storage configuration,
+// used to enable recording to Amazon S3.
+//
+// - DeleteStorageConfiguration — Deletes the storage configuration for
+// the specified ARN.
+//
+// - GetStorageConfiguration — Gets the storage configuration for the specified
+// ARN.
+//
+// - ListStorageConfigurations — Gets summary information about all storage
+// configurations in your account, in the AWS region where the API request
+// is processed.
+//
// Tags Endpoints
//
// - ListTagsForResource — Gets information about AWS tags for the specified
diff --git a/service/ivsrealtime/ivsrealtimeiface/interface.go b/service/ivsrealtime/ivsrealtimeiface/interface.go
index ae90886c376..d7cf651cf03 100644
--- a/service/ivsrealtime/ivsrealtimeiface/interface.go
+++ b/service/ivsrealtime/ivsrealtimeiface/interface.go
@@ -26,7 +26,7 @@ import (
// // myFunc uses an SDK service client to make a request to
// // Amazon Interactive Video Service RealTime.
// func myFunc(svc ivsrealtimeiface.IVSRealTimeAPI) bool {
-// // Make svc.CreateParticipantToken request
+// // Make svc.CreateEncoderConfiguration request
// }
//
// func main() {
@@ -42,7 +42,7 @@ import (
// type mockIVSRealTimeClient struct {
// ivsrealtimeiface.IVSRealTimeAPI
// }
-// func (m *mockIVSRealTimeClient) CreateParticipantToken(input *ivsrealtime.CreateParticipantTokenInput) (*ivsrealtime.CreateParticipantTokenOutput, error) {
+// func (m *mockIVSRealTimeClient) CreateEncoderConfiguration(input *ivsrealtime.CreateEncoderConfigurationInput) (*ivsrealtime.CreateEncoderConfigurationOutput, error) {
// // mock response/functionality
// }
//
@@ -60,6 +60,10 @@ import (
// and waiters. Its suggested to use the pattern above for testing, or using
// tooling to generate mocks to satisfy the interfaces.
type IVSRealTimeAPI interface {
+ CreateEncoderConfiguration(*ivsrealtime.CreateEncoderConfigurationInput) (*ivsrealtime.CreateEncoderConfigurationOutput, error)
+ CreateEncoderConfigurationWithContext(aws.Context, *ivsrealtime.CreateEncoderConfigurationInput, ...request.Option) (*ivsrealtime.CreateEncoderConfigurationOutput, error)
+ CreateEncoderConfigurationRequest(*ivsrealtime.CreateEncoderConfigurationInput) (*request.Request, *ivsrealtime.CreateEncoderConfigurationOutput)
+
CreateParticipantToken(*ivsrealtime.CreateParticipantTokenInput) (*ivsrealtime.CreateParticipantTokenOutput, error)
CreateParticipantTokenWithContext(aws.Context, *ivsrealtime.CreateParticipantTokenInput, ...request.Option) (*ivsrealtime.CreateParticipantTokenOutput, error)
CreateParticipantTokenRequest(*ivsrealtime.CreateParticipantTokenInput) (*request.Request, *ivsrealtime.CreateParticipantTokenOutput)
@@ -68,14 +72,34 @@ type IVSRealTimeAPI interface {
CreateStageWithContext(aws.Context, *ivsrealtime.CreateStageInput, ...request.Option) (*ivsrealtime.CreateStageOutput, error)
CreateStageRequest(*ivsrealtime.CreateStageInput) (*request.Request, *ivsrealtime.CreateStageOutput)
+ CreateStorageConfiguration(*ivsrealtime.CreateStorageConfigurationInput) (*ivsrealtime.CreateStorageConfigurationOutput, error)
+ CreateStorageConfigurationWithContext(aws.Context, *ivsrealtime.CreateStorageConfigurationInput, ...request.Option) (*ivsrealtime.CreateStorageConfigurationOutput, error)
+ CreateStorageConfigurationRequest(*ivsrealtime.CreateStorageConfigurationInput) (*request.Request, *ivsrealtime.CreateStorageConfigurationOutput)
+
+ DeleteEncoderConfiguration(*ivsrealtime.DeleteEncoderConfigurationInput) (*ivsrealtime.DeleteEncoderConfigurationOutput, error)
+ DeleteEncoderConfigurationWithContext(aws.Context, *ivsrealtime.DeleteEncoderConfigurationInput, ...request.Option) (*ivsrealtime.DeleteEncoderConfigurationOutput, error)
+ DeleteEncoderConfigurationRequest(*ivsrealtime.DeleteEncoderConfigurationInput) (*request.Request, *ivsrealtime.DeleteEncoderConfigurationOutput)
+
DeleteStage(*ivsrealtime.DeleteStageInput) (*ivsrealtime.DeleteStageOutput, error)
DeleteStageWithContext(aws.Context, *ivsrealtime.DeleteStageInput, ...request.Option) (*ivsrealtime.DeleteStageOutput, error)
DeleteStageRequest(*ivsrealtime.DeleteStageInput) (*request.Request, *ivsrealtime.DeleteStageOutput)
+ DeleteStorageConfiguration(*ivsrealtime.DeleteStorageConfigurationInput) (*ivsrealtime.DeleteStorageConfigurationOutput, error)
+ DeleteStorageConfigurationWithContext(aws.Context, *ivsrealtime.DeleteStorageConfigurationInput, ...request.Option) (*ivsrealtime.DeleteStorageConfigurationOutput, error)
+ DeleteStorageConfigurationRequest(*ivsrealtime.DeleteStorageConfigurationInput) (*request.Request, *ivsrealtime.DeleteStorageConfigurationOutput)
+
DisconnectParticipant(*ivsrealtime.DisconnectParticipantInput) (*ivsrealtime.DisconnectParticipantOutput, error)
DisconnectParticipantWithContext(aws.Context, *ivsrealtime.DisconnectParticipantInput, ...request.Option) (*ivsrealtime.DisconnectParticipantOutput, error)
DisconnectParticipantRequest(*ivsrealtime.DisconnectParticipantInput) (*request.Request, *ivsrealtime.DisconnectParticipantOutput)
+ GetComposition(*ivsrealtime.GetCompositionInput) (*ivsrealtime.GetCompositionOutput, error)
+ GetCompositionWithContext(aws.Context, *ivsrealtime.GetCompositionInput, ...request.Option) (*ivsrealtime.GetCompositionOutput, error)
+ GetCompositionRequest(*ivsrealtime.GetCompositionInput) (*request.Request, *ivsrealtime.GetCompositionOutput)
+
+ GetEncoderConfiguration(*ivsrealtime.GetEncoderConfigurationInput) (*ivsrealtime.GetEncoderConfigurationOutput, error)
+ GetEncoderConfigurationWithContext(aws.Context, *ivsrealtime.GetEncoderConfigurationInput, ...request.Option) (*ivsrealtime.GetEncoderConfigurationOutput, error)
+ GetEncoderConfigurationRequest(*ivsrealtime.GetEncoderConfigurationInput) (*request.Request, *ivsrealtime.GetEncoderConfigurationOutput)
+
GetParticipant(*ivsrealtime.GetParticipantInput) (*ivsrealtime.GetParticipantOutput, error)
GetParticipantWithContext(aws.Context, *ivsrealtime.GetParticipantInput, ...request.Option) (*ivsrealtime.GetParticipantOutput, error)
GetParticipantRequest(*ivsrealtime.GetParticipantInput) (*request.Request, *ivsrealtime.GetParticipantOutput)
@@ -88,6 +112,24 @@ type IVSRealTimeAPI interface {
GetStageSessionWithContext(aws.Context, *ivsrealtime.GetStageSessionInput, ...request.Option) (*ivsrealtime.GetStageSessionOutput, error)
GetStageSessionRequest(*ivsrealtime.GetStageSessionInput) (*request.Request, *ivsrealtime.GetStageSessionOutput)
+ GetStorageConfiguration(*ivsrealtime.GetStorageConfigurationInput) (*ivsrealtime.GetStorageConfigurationOutput, error)
+ GetStorageConfigurationWithContext(aws.Context, *ivsrealtime.GetStorageConfigurationInput, ...request.Option) (*ivsrealtime.GetStorageConfigurationOutput, error)
+ GetStorageConfigurationRequest(*ivsrealtime.GetStorageConfigurationInput) (*request.Request, *ivsrealtime.GetStorageConfigurationOutput)
+
+ ListCompositions(*ivsrealtime.ListCompositionsInput) (*ivsrealtime.ListCompositionsOutput, error)
+ ListCompositionsWithContext(aws.Context, *ivsrealtime.ListCompositionsInput, ...request.Option) (*ivsrealtime.ListCompositionsOutput, error)
+ ListCompositionsRequest(*ivsrealtime.ListCompositionsInput) (*request.Request, *ivsrealtime.ListCompositionsOutput)
+
+ ListCompositionsPages(*ivsrealtime.ListCompositionsInput, func(*ivsrealtime.ListCompositionsOutput, bool) bool) error
+ ListCompositionsPagesWithContext(aws.Context, *ivsrealtime.ListCompositionsInput, func(*ivsrealtime.ListCompositionsOutput, bool) bool, ...request.Option) error
+
+ ListEncoderConfigurations(*ivsrealtime.ListEncoderConfigurationsInput) (*ivsrealtime.ListEncoderConfigurationsOutput, error)
+ ListEncoderConfigurationsWithContext(aws.Context, *ivsrealtime.ListEncoderConfigurationsInput, ...request.Option) (*ivsrealtime.ListEncoderConfigurationsOutput, error)
+ ListEncoderConfigurationsRequest(*ivsrealtime.ListEncoderConfigurationsInput) (*request.Request, *ivsrealtime.ListEncoderConfigurationsOutput)
+
+ ListEncoderConfigurationsPages(*ivsrealtime.ListEncoderConfigurationsInput, func(*ivsrealtime.ListEncoderConfigurationsOutput, bool) bool) error
+ ListEncoderConfigurationsPagesWithContext(aws.Context, *ivsrealtime.ListEncoderConfigurationsInput, func(*ivsrealtime.ListEncoderConfigurationsOutput, bool) bool, ...request.Option) error
+
ListParticipantEvents(*ivsrealtime.ListParticipantEventsInput) (*ivsrealtime.ListParticipantEventsOutput, error)
ListParticipantEventsWithContext(aws.Context, *ivsrealtime.ListParticipantEventsInput, ...request.Option) (*ivsrealtime.ListParticipantEventsOutput, error)
ListParticipantEventsRequest(*ivsrealtime.ListParticipantEventsInput) (*request.Request, *ivsrealtime.ListParticipantEventsOutput)
@@ -116,10 +158,25 @@ type IVSRealTimeAPI interface {
ListStagesPages(*ivsrealtime.ListStagesInput, func(*ivsrealtime.ListStagesOutput, bool) bool) error
ListStagesPagesWithContext(aws.Context, *ivsrealtime.ListStagesInput, func(*ivsrealtime.ListStagesOutput, bool) bool, ...request.Option) error
+ ListStorageConfigurations(*ivsrealtime.ListStorageConfigurationsInput) (*ivsrealtime.ListStorageConfigurationsOutput, error)
+ ListStorageConfigurationsWithContext(aws.Context, *ivsrealtime.ListStorageConfigurationsInput, ...request.Option) (*ivsrealtime.ListStorageConfigurationsOutput, error)
+ ListStorageConfigurationsRequest(*ivsrealtime.ListStorageConfigurationsInput) (*request.Request, *ivsrealtime.ListStorageConfigurationsOutput)
+
+ ListStorageConfigurationsPages(*ivsrealtime.ListStorageConfigurationsInput, func(*ivsrealtime.ListStorageConfigurationsOutput, bool) bool) error
+ ListStorageConfigurationsPagesWithContext(aws.Context, *ivsrealtime.ListStorageConfigurationsInput, func(*ivsrealtime.ListStorageConfigurationsOutput, bool) bool, ...request.Option) error
+
ListTagsForResource(*ivsrealtime.ListTagsForResourceInput) (*ivsrealtime.ListTagsForResourceOutput, error)
ListTagsForResourceWithContext(aws.Context, *ivsrealtime.ListTagsForResourceInput, ...request.Option) (*ivsrealtime.ListTagsForResourceOutput, error)
ListTagsForResourceRequest(*ivsrealtime.ListTagsForResourceInput) (*request.Request, *ivsrealtime.ListTagsForResourceOutput)
+ StartComposition(*ivsrealtime.StartCompositionInput) (*ivsrealtime.StartCompositionOutput, error)
+ StartCompositionWithContext(aws.Context, *ivsrealtime.StartCompositionInput, ...request.Option) (*ivsrealtime.StartCompositionOutput, error)
+ StartCompositionRequest(*ivsrealtime.StartCompositionInput) (*request.Request, *ivsrealtime.StartCompositionOutput)
+
+ StopComposition(*ivsrealtime.StopCompositionInput) (*ivsrealtime.StopCompositionOutput, error)
+ StopCompositionWithContext(aws.Context, *ivsrealtime.StopCompositionInput, ...request.Option) (*ivsrealtime.StopCompositionOutput, error)
+ StopCompositionRequest(*ivsrealtime.StopCompositionInput) (*request.Request, *ivsrealtime.StopCompositionOutput)
+
TagResource(*ivsrealtime.TagResourceInput) (*ivsrealtime.TagResourceOutput, error)
TagResourceWithContext(aws.Context, *ivsrealtime.TagResourceInput, ...request.Option) (*ivsrealtime.TagResourceOutput, error)
TagResourceRequest(*ivsrealtime.TagResourceInput) (*request.Request, *ivsrealtime.TagResourceOutput)
diff --git a/service/kafka/api.go b/service/kafka/api.go
index 26542970225..67370a286f7 100644
--- a/service/kafka/api.go
+++ b/service/kafka/api.go
@@ -6586,6 +6586,9 @@ type ClusterInfo struct {
// version is KTVPDKIKX0DER.
CurrentVersion *string `locationName:"currentVersion" type:"string"`
+ // Determines if there is an action required from the customer.
+ CustomerActionStatus *string `locationName:"customerActionStatus" type:"string" enum:"CustomerActionStatus"`
+
// Includes all encryption-related information.
EncryptionInfo *EncryptionInfo `locationName:"encryptionInfo" type:"structure"`
@@ -6692,6 +6695,12 @@ func (s *ClusterInfo) SetCurrentVersion(v string) *ClusterInfo {
return s
}
+// SetCustomerActionStatus sets the CustomerActionStatus field's value.
+func (s *ClusterInfo) SetCustomerActionStatus(v string) *ClusterInfo {
+ s.CustomerActionStatus = &v
+ return s
+}
+
// SetEncryptionInfo sets the EncryptionInfo field's value.
func (s *ClusterInfo) SetEncryptionInfo(v *EncryptionInfo) *ClusterInfo {
s.EncryptionInfo = v
@@ -13141,6 +13150,9 @@ type Provisioned struct {
// Kafka brokers in the cluster.
CurrentBrokerSoftwareInfo *BrokerSoftwareInfo `locationName:"currentBrokerSoftwareInfo" type:"structure"`
+ // Determines if there is an action required from the customer.
+ CustomerActionStatus *string `locationName:"customerActionStatus" type:"string" enum:"CustomerActionStatus"`
+
// Includes all encryption-related information.
EncryptionInfo *EncryptionInfo `locationName:"encryptionInfo" type:"structure"`
@@ -13205,6 +13217,12 @@ func (s *Provisioned) SetCurrentBrokerSoftwareInfo(v *BrokerSoftwareInfo) *Provi
return s
}
+// SetCustomerActionStatus sets the CustomerActionStatus field's value.
+func (s *Provisioned) SetCustomerActionStatus(v string) *Provisioned {
+ s.CustomerActionStatus = &v
+ return s
+}
+
// SetEncryptionInfo sets the EncryptionInfo field's value.
func (s *Provisioned) SetEncryptionInfo(v *EncryptionInfo) *Provisioned {
s.EncryptionInfo = v
@@ -17311,6 +17329,27 @@ func ConfigurationState_Values() []string {
}
}
+// A type of an action required from the customer.
+const (
+ // CustomerActionStatusCriticalActionRequired is a CustomerActionStatus enum value
+ CustomerActionStatusCriticalActionRequired = "CRITICAL_ACTION_REQUIRED"
+
+ // CustomerActionStatusActionRecommended is a CustomerActionStatus enum value
+ CustomerActionStatusActionRecommended = "ACTION_RECOMMENDED"
+
+ // CustomerActionStatusNone is a CustomerActionStatus enum value
+ CustomerActionStatusNone = "NONE"
+)
+
+// CustomerActionStatus_Values returns all elements of the CustomerActionStatus enum
+func CustomerActionStatus_Values() []string {
+ return []string{
+ CustomerActionStatusCriticalActionRequired,
+ CustomerActionStatusActionRecommended,
+ CustomerActionStatusNone,
+ }
+}
+
// Specifies which metrics are gathered for the MSK cluster. This property has
// the following possible values: DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER,
// and PER_TOPIC_PER_PARTITION. For a list of the metrics associated with each
diff --git a/service/lambda/api.go b/service/lambda/api.go
index d77b6c22015..d032c07df7f 100644
--- a/service/lambda/api.go
+++ b/service/lambda/api.go
@@ -3488,10 +3488,6 @@ func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Reque
//
// Invokes a function asynchronously.
//
-// If you do use the InvokeAsync action, note that it doesn't support the use
-// of X-Ray active tracing. Trace ID is not propagated to the function, even
-// if X-Ray active tracing is turned on.
-//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -9231,8 +9227,7 @@ type CreateFunctionInput struct {
Environment *Environment `type:"structure"`
// The size of the function's /tmp directory in MB. The default value is 512,
- // but can be any whole number between 512 and 10,240 MB. For more information,
- // see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage).
+ // but can be any whole number between 512 and 10,240 MB.
EphemeralStorage *EphemeralStorage `type:"structure"`
// Connection settings for an Amazon EFS file system.
@@ -9281,6 +9276,9 @@ type CreateFunctionInput struct {
// ARN, including the version.
Layers []*string `type:"list"`
+ // The function's Amazon CloudWatch Logs configuration settings.
+ LoggingConfig *LoggingConfig `type:"structure"`
+
// The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console)
// at runtime. Increasing the function memory also increases its CPU allocation.
// The default value is 128 MB. The value can be any multiple of 1 MB.
@@ -9392,6 +9390,11 @@ func (s *CreateFunctionInput) Validate() error {
}
}
}
+ if s.LoggingConfig != nil {
+ if err := s.LoggingConfig.Validate(); err != nil {
+ invalidParams.AddNested("LoggingConfig", err.(request.ErrInvalidParams))
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -9477,6 +9480,12 @@ func (s *CreateFunctionInput) SetLayers(v []*string) *CreateFunctionInput {
return s
}
+// SetLoggingConfig sets the LoggingConfig field's value.
+func (s *CreateFunctionInput) SetLoggingConfig(v *LoggingConfig) *CreateFunctionInput {
+ s.LoggingConfig = v
+ return s
+}
+
// SetMemorySize sets the MemorySize field's value.
func (s *CreateFunctionInput) SetMemorySize(v int64) *CreateFunctionInput {
s.MemorySize = &v
@@ -11418,8 +11427,7 @@ func (s *EnvironmentResponse) SetVariables(v map[string]*string) *EnvironmentRes
}
// The size of the function's /tmp directory in MB. The default value is 512,
-// but can be any whole number between 512 and 10,240 MB. For more information,
-// see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage).
+// but it can be any whole number between 512 and 10,240 MB.
type EphemeralStorage struct {
_ struct{} `type:"structure"`
@@ -12098,9 +12106,8 @@ type FunctionConfiguration struct {
// Omitted from CloudTrail logs.
Environment *EnvironmentResponse `type:"structure"`
- // The size of the function's /tmp directory in MB. The default value is 512,
- // but can be any whole number between 512 and 10,240 MB. For more information,
- // see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage).
+ // The size of the function’s /tmp directory in MB. The default value is 512,
+ // but it can be any whole number between 512 and 10,240 MB.
EphemeralStorage *EphemeralStorage `type:"structure"`
// Connection settings for an Amazon EFS file system (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html).
@@ -12141,6 +12148,9 @@ type FunctionConfiguration struct {
// The function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
Layers []*Layer `type:"list"`
+ // The function's Amazon CloudWatch Logs configuration settings.
+ LoggingConfig *LoggingConfig `type:"structure"`
+
// For Lambda@Edge functions, the ARN of the main function.
MasterArn *string `type:"string"`
@@ -12329,6 +12339,12 @@ func (s *FunctionConfiguration) SetLayers(v []*Layer) *FunctionConfiguration {
return s
}
+// SetLoggingConfig sets the LoggingConfig field's value.
+func (s *FunctionConfiguration) SetLoggingConfig(v *LoggingConfig) *FunctionConfiguration {
+ s.LoggingConfig = v
+ return s
+}
+
// SetMasterArn sets the MasterArn field's value.
func (s *FunctionConfiguration) SetMasterArn(v string) *FunctionConfiguration {
s.MasterArn = &v
@@ -17898,6 +17914,86 @@ func (s *ListVersionsByFunctionOutput) SetVersions(v []*FunctionConfiguration) *
return s
}
+// The function's Amazon CloudWatch Logs configuration settings.
+type LoggingConfig struct {
+ _ struct{} `type:"structure"`
+
+ // Set this property to filter the application logs for your function that Lambda
+ // sends to CloudWatch. Lambda only sends application logs at the selected level
+ // and lower.
+ ApplicationLogLevel *string `type:"string" enum:"ApplicationLogLevel"`
+
+ // The format in which Lambda sends your function's application and system logs
+ // to CloudWatch. Select between plain text and structured JSON.
+ LogFormat *string `type:"string" enum:"LogFormat"`
+
+ // The name of the Amazon CloudWatch log group the function sends logs to. By
+ // default, Lambda functions send logs to a default log group named /aws/lambda/. To use a different log group, enter an existing log group or enter
+ // a new log group name.
+ LogGroup *string `min:"1" type:"string"`
+
+ // Set this property to filter the system logs for your function that Lambda
+ // sends to CloudWatch. Lambda only sends system logs at the selected level
+ // and lower.
+ SystemLogLevel *string `type:"string" enum:"SystemLogLevel"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LoggingConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LoggingConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LoggingConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LoggingConfig"}
+ if s.LogGroup != nil && len(*s.LogGroup) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LogGroup", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationLogLevel sets the ApplicationLogLevel field's value.
+func (s *LoggingConfig) SetApplicationLogLevel(v string) *LoggingConfig {
+ s.ApplicationLogLevel = &v
+ return s
+}
+
+// SetLogFormat sets the LogFormat field's value.
+func (s *LoggingConfig) SetLogFormat(v string) *LoggingConfig {
+ s.LogFormat = &v
+ return s
+}
+
+// SetLogGroup sets the LogGroup field's value.
+func (s *LoggingConfig) SetLogGroup(v string) *LoggingConfig {
+ s.LogGroup = &v
+ return s
+}
+
+// SetSystemLogLevel sets the SystemLogLevel field's value.
+func (s *LoggingConfig) SetSystemLogLevel(v string) *LoggingConfig {
+ s.SystemLogLevel = &v
+ return s
+}
+
// A destination for events that failed processing.
type OnFailure struct {
_ struct{} `type:"structure"`
@@ -21797,8 +21893,7 @@ type UpdateFunctionConfigurationInput struct {
Environment *Environment `type:"structure"`
// The size of the function's /tmp directory in MB. The default value is 512,
- // but can be any whole number between 512 and 10,240 MB. For more information,
- // see Configuring ephemeral storage (console) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage).
+ // but can be any whole number between 512 and 10,240 MB.
EphemeralStorage *EphemeralStorage `type:"structure"`
// Connection settings for an Amazon EFS file system.
@@ -21847,6 +21942,9 @@ type UpdateFunctionConfigurationInput struct {
// ARN, including the version.
Layers []*string `type:"list"`
+ // The function's Amazon CloudWatch Logs configuration settings.
+ LoggingConfig *LoggingConfig `type:"structure"`
+
// The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console)
// at runtime. Increasing the function memory also increases its CPU allocation.
// The default value is 128 MB. The value can be any multiple of 1 MB.
@@ -21936,6 +22034,11 @@ func (s *UpdateFunctionConfigurationInput) Validate() error {
}
}
}
+ if s.LoggingConfig != nil {
+ if err := s.LoggingConfig.Validate(); err != nil {
+ invalidParams.AddNested("LoggingConfig", err.(request.ErrInvalidParams))
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -22003,6 +22106,12 @@ func (s *UpdateFunctionConfigurationInput) SetLayers(v []*string) *UpdateFunctio
return s
}
+// SetLoggingConfig sets the LoggingConfig field's value.
+func (s *UpdateFunctionConfigurationInput) SetLoggingConfig(v *LoggingConfig) *UpdateFunctionConfigurationInput {
+ s.LoggingConfig = v
+ return s
+}
+
// SetMemorySize sets the MemorySize field's value.
func (s *UpdateFunctionConfigurationInput) SetMemorySize(v int64) *UpdateFunctionConfigurationInput {
s.MemorySize = &v
@@ -22576,6 +22685,38 @@ func (s *VpcConfigResponse) SetVpcId(v string) *VpcConfigResponse {
return s
}
+const (
+ // ApplicationLogLevelTrace is a ApplicationLogLevel enum value
+ ApplicationLogLevelTrace = "TRACE"
+
+ // ApplicationLogLevelDebug is a ApplicationLogLevel enum value
+ ApplicationLogLevelDebug = "DEBUG"
+
+ // ApplicationLogLevelInfo is a ApplicationLogLevel enum value
+ ApplicationLogLevelInfo = "INFO"
+
+ // ApplicationLogLevelWarn is a ApplicationLogLevel enum value
+ ApplicationLogLevelWarn = "WARN"
+
+ // ApplicationLogLevelError is a ApplicationLogLevel enum value
+ ApplicationLogLevelError = "ERROR"
+
+ // ApplicationLogLevelFatal is a ApplicationLogLevel enum value
+ ApplicationLogLevelFatal = "FATAL"
+)
+
+// ApplicationLogLevel_Values returns all elements of the ApplicationLogLevel enum
+func ApplicationLogLevel_Values() []string {
+ return []string{
+ ApplicationLogLevelTrace,
+ ApplicationLogLevelDebug,
+ ApplicationLogLevelInfo,
+ ApplicationLogLevelWarn,
+ ApplicationLogLevelError,
+ ApplicationLogLevelFatal,
+ }
+}
+
const (
// ArchitectureX8664 is a Architecture enum value
ArchitectureX8664 = "x86_64"
@@ -22844,6 +22985,22 @@ func LastUpdateStatusReasonCode_Values() []string {
}
}
+const (
+ // LogFormatJson is a LogFormat enum value
+ LogFormatJson = "JSON"
+
+ // LogFormatText is a LogFormat enum value
+ LogFormatText = "Text"
+)
+
+// LogFormat_Values returns all elements of the LogFormat enum
+func LogFormat_Values() []string {
+ return []string{
+ LogFormatJson,
+ LogFormatText,
+ }
+}
+
const (
// LogTypeNone is a LogType enum value
LogTypeNone = "None"
@@ -23264,6 +23421,26 @@ func StateReasonCode_Values() []string {
}
}
+const (
+ // SystemLogLevelDebug is a SystemLogLevel enum value
+ SystemLogLevelDebug = "DEBUG"
+
+ // SystemLogLevelInfo is a SystemLogLevel enum value
+ SystemLogLevelInfo = "INFO"
+
+ // SystemLogLevelWarn is a SystemLogLevel enum value
+ SystemLogLevelWarn = "WARN"
+)
+
+// SystemLogLevel_Values returns all elements of the SystemLogLevel enum
+func SystemLogLevel_Values() []string {
+ return []string{
+ SystemLogLevelDebug,
+ SystemLogLevelInfo,
+ SystemLogLevelWarn,
+ }
+}
+
const (
// ThrottleReasonConcurrentInvocationLimitExceeded is a ThrottleReason enum value
ThrottleReasonConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded"
diff --git a/service/macie2/api.go b/service/macie2/api.go
index 8a9de32b119..488e66159b9 100644
--- a/service/macie2/api.go
+++ b/service/macie2/api.go
@@ -16090,13 +16090,16 @@ func (s GetRevealConfigurationInput) GoString() string {
type GetRevealConfigurationOutput struct {
_ struct{} `type:"structure"`
- // Specifies the configuration settings for retrieving occurrences of sensitive
- // data reported by findings, and the status of the configuration for an Amazon
- // Macie account. When you enable the configuration for the first time, your
- // request must specify an Key Management Service (KMS) key. Otherwise, an error
- // occurs. Macie uses the specified key to encrypt the sensitive data that you
- // retrieve.
+ // Specifies the status of the Amazon Macie configuration for retrieving occurrences
+ // of sensitive data reported by findings, and the Key Management Service (KMS)
+ // key to use to encrypt sensitive data that's retrieved. When you enable the
+ // configuration for the first time, your request must specify an KMS key. Otherwise,
+ // an error occurs.
Configuration *RevealConfiguration `locationName:"configuration" type:"structure"`
+
+ // Provides information about the access method and settings that are used to
+ // retrieve occurrences of sensitive data reported by findings.
+ RetrievalConfiguration *RetrievalConfiguration `locationName:"retrievalConfiguration" type:"structure"`
}
// String returns the string representation.
@@ -16123,6 +16126,12 @@ func (s *GetRevealConfigurationOutput) SetConfiguration(v *RevealConfiguration)
return s
}
+// SetRetrievalConfiguration sets the RetrievalConfiguration field's value.
+func (s *GetRevealConfigurationOutput) SetRetrievalConfiguration(v *RetrievalConfiguration) *GetRevealConfigurationOutput {
+ s.RetrievalConfiguration = v
+ return s
+}
+
type GetSensitiveDataOccurrencesAvailabilityInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -20095,12 +20104,63 @@ func (s *ResourcesAffected) SetS3Object(v *S3Object) *ResourcesAffected {
return s
}
-// Specifies the configuration settings for retrieving occurrences of sensitive
-// data reported by findings, and the status of the configuration for an Amazon
-// Macie account. When you enable the configuration for the first time, your
-// request must specify an Key Management Service (KMS) key. Otherwise, an error
-// occurs. Macie uses the specified key to encrypt the sensitive data that you
-// retrieve.
+// Provides information about the access method and settings that are used to
+// retrieve occurrences of sensitive data reported by findings.
+type RetrievalConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ ExternalId *string `locationName:"externalId" type:"string"`
+
+ // The access method to use when retrieving occurrences of sensitive data reported
+ // by findings. Valid values are:
+ //
+ // RetrievalMode is a required field
+ RetrievalMode *string `locationName:"retrievalMode" type:"string" required:"true" enum:"RetrievalMode"`
+
+ RoleName *string `locationName:"roleName" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RetrievalConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RetrievalConfiguration) GoString() string {
+ return s.String()
+}
+
+// SetExternalId sets the ExternalId field's value.
+func (s *RetrievalConfiguration) SetExternalId(v string) *RetrievalConfiguration {
+ s.ExternalId = &v
+ return s
+}
+
+// SetRetrievalMode sets the RetrievalMode field's value.
+func (s *RetrievalConfiguration) SetRetrievalMode(v string) *RetrievalConfiguration {
+ s.RetrievalMode = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *RetrievalConfiguration) SetRoleName(v string) *RetrievalConfiguration {
+ s.RoleName = &v
+ return s
+}
+
+// Specifies the status of the Amazon Macie configuration for retrieving occurrences
+// of sensitive data reported by findings, and the Key Management Service (KMS)
+// key to use to encrypt sensitive data that's retrieved. When you enable the
+// configuration for the first time, your request must specify an KMS key. Otherwise,
+// an error occurs.
type RevealConfiguration struct {
_ struct{} `type:"structure"`
@@ -23839,21 +23899,101 @@ func (s UpdateResourceProfileOutput) GoString() string {
return s.String()
}
-// Specifies the configuration settings for retrieving occurrences of sensitive
+// Specifies the access method and settings to use when retrieving occurrences
+// of sensitive data reported by findings. If your request specifies an Identity
+// and Access Management (IAM) role to assume when retrieving the sensitive
+// data, Amazon Macie verifies that the role exists and the attached policies
+// are configured correctly. If there's an issue, Macie returns an error. For
+// information about addressing the issue, see Retrieving sensitive data samples
+// with findings (https://docs.aws.amazon.com/macie/latest/user/findings-retrieve-sd.html)
+// in the Amazon Macie User Guide.
+type UpdateRetrievalConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // The access method to use when retrieving occurrences of sensitive data reported
+ // by findings. Valid values are:
+ //
+ // RetrievalMode is a required field
+ RetrievalMode *string `locationName:"retrievalMode" type:"string" required:"true" enum:"RetrievalMode"`
+
+ RoleName *string `locationName:"roleName" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateRetrievalConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateRetrievalConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateRetrievalConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateRetrievalConfiguration"}
+ if s.RetrievalMode == nil {
+ invalidParams.Add(request.NewErrParamRequired("RetrievalMode"))
+ }
+ if s.RoleName != nil && len(*s.RoleName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RoleName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRetrievalMode sets the RetrievalMode field's value.
+func (s *UpdateRetrievalConfiguration) SetRetrievalMode(v string) *UpdateRetrievalConfiguration {
+ s.RetrievalMode = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *UpdateRetrievalConfiguration) SetRoleName(v string) *UpdateRetrievalConfiguration {
+ s.RoleName = &v
+ return s
+}
+
+// Specifies configuration settings for retrieving occurrences of sensitive
// data reported by findings, and the status of the configuration for an Amazon
-// Macie account.
+// Macie account. If you don't specify retrievalConfiguration values for an
+// existing configuration, Macie sets the access method to CALLER_CREDENTIALS.
+// If your current access method is ASSUME_ROLE, Macie also deletes the external
+// ID and role name currently specified for the configuration. To keep these
+// settings for an existing configuration, specify the current retrievalConfiguration
+// values in your request.
type UpdateRevealConfigurationInput struct {
_ struct{} `type:"structure"`
- // Specifies the configuration settings for retrieving occurrences of sensitive
- // data reported by findings, and the status of the configuration for an Amazon
- // Macie account. When you enable the configuration for the first time, your
- // request must specify an Key Management Service (KMS) key. Otherwise, an error
- // occurs. Macie uses the specified key to encrypt the sensitive data that you
- // retrieve.
+ // Specifies the status of the Amazon Macie configuration for retrieving occurrences
+ // of sensitive data reported by findings, and the Key Management Service (KMS)
+ // key to use to encrypt sensitive data that's retrieved. When you enable the
+ // configuration for the first time, your request must specify an KMS key. Otherwise,
+ // an error occurs.
//
// Configuration is a required field
Configuration *RevealConfiguration `locationName:"configuration" type:"structure" required:"true"`
+
+ // Specifies the access method and settings to use when retrieving occurrences
+ // of sensitive data reported by findings. If your request specifies an Identity
+ // and Access Management (IAM) role to assume when retrieving the sensitive
+ // data, Amazon Macie verifies that the role exists and the attached policies
+ // are configured correctly. If there's an issue, Macie returns an error. For
+ // information about addressing the issue, see Retrieving sensitive data samples
+ // with findings (https://docs.aws.amazon.com/macie/latest/user/findings-retrieve-sd.html)
+ // in the Amazon Macie User Guide.
+ RetrievalConfiguration *UpdateRetrievalConfiguration `locationName:"retrievalConfiguration" type:"structure"`
}
// String returns the string representation.
@@ -23885,6 +24025,11 @@ func (s *UpdateRevealConfigurationInput) Validate() error {
invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams))
}
}
+ if s.RetrievalConfiguration != nil {
+ if err := s.RetrievalConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("RetrievalConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -23898,19 +24043,28 @@ func (s *UpdateRevealConfigurationInput) SetConfiguration(v *RevealConfiguration
return s
}
+// SetRetrievalConfiguration sets the RetrievalConfiguration field's value.
+func (s *UpdateRevealConfigurationInput) SetRetrievalConfiguration(v *UpdateRetrievalConfiguration) *UpdateRevealConfigurationInput {
+ s.RetrievalConfiguration = v
+ return s
+}
+
// Provides information about updated configuration settings for retrieving
// occurrences of sensitive data reported by findings, and the status of the
// configuration for an Amazon Macie account.
type UpdateRevealConfigurationOutput struct {
_ struct{} `type:"structure"`
- // Specifies the configuration settings for retrieving occurrences of sensitive
- // data reported by findings, and the status of the configuration for an Amazon
- // Macie account. When you enable the configuration for the first time, your
- // request must specify an Key Management Service (KMS) key. Otherwise, an error
- // occurs. Macie uses the specified key to encrypt the sensitive data that you
- // retrieve.
+ // Specifies the status of the Amazon Macie configuration for retrieving occurrences
+ // of sensitive data reported by findings, and the Key Management Service (KMS)
+ // key to use to encrypt sensitive data that's retrieved. When you enable the
+ // configuration for the first time, your request must specify an KMS key. Otherwise,
+ // an error occurs.
Configuration *RevealConfiguration `locationName:"configuration" type:"structure"`
+
+ // Provides information about the access method and settings that are used to
+ // retrieve occurrences of sensitive data reported by findings.
+ RetrievalConfiguration *RetrievalConfiguration `locationName:"retrievalConfiguration" type:"structure"`
}
// String returns the string representation.
@@ -23937,6 +24091,12 @@ func (s *UpdateRevealConfigurationOutput) SetConfiguration(v *RevealConfiguratio
return s
}
+// SetRetrievalConfiguration sets the RetrievalConfiguration field's value.
+func (s *UpdateRevealConfigurationOutput) SetRetrievalConfiguration(v *RetrievalConfiguration) *UpdateRevealConfigurationOutput {
+ s.RetrievalConfiguration = v
+ return s
+}
+
// Specifies settings for the sensitivity inspection template for an Amazon
// Macie account. Macie uses the template's settings when it performs automated
// sensitive data discovery for the account. To update the settings, automated
@@ -25416,6 +25576,24 @@ func RelationshipStatus_Values() []string {
}
}
+// The access method to use when retrieving occurrences of sensitive data reported
+// by findings. Valid values are:
+const (
+ // RetrievalModeCallerCredentials is a RetrievalMode enum value
+ RetrievalModeCallerCredentials = "CALLER_CREDENTIALS"
+
+ // RetrievalModeAssumeRole is a RetrievalMode enum value
+ RetrievalModeAssumeRole = "ASSUME_ROLE"
+)
+
+// RetrievalMode_Values returns all elements of the RetrievalMode enum
+func RetrievalMode_Values() []string {
+ return []string{
+ RetrievalModeCallerCredentials,
+ RetrievalModeAssumeRole,
+ }
+}
+
// The status of a request to retrieve occurrences of sensitive data reported
// by a finding. Possible values are:
const (
@@ -25763,6 +25941,24 @@ const (
// UnavailabilityReasonCodeObjectUnavailable is a UnavailabilityReasonCode enum value
UnavailabilityReasonCodeObjectUnavailable = "OBJECT_UNAVAILABLE"
+
+ // UnavailabilityReasonCodeAccountNotInOrganization is a UnavailabilityReasonCode enum value
+ UnavailabilityReasonCodeAccountNotInOrganization = "ACCOUNT_NOT_IN_ORGANIZATION"
+
+ // UnavailabilityReasonCodeMissingGetMemberPermission is a UnavailabilityReasonCode enum value
+ UnavailabilityReasonCodeMissingGetMemberPermission = "MISSING_GET_MEMBER_PERMISSION"
+
+ // UnavailabilityReasonCodeRoleTooPermissive is a UnavailabilityReasonCode enum value
+ UnavailabilityReasonCodeRoleTooPermissive = "ROLE_TOO_PERMISSIVE"
+
+ // UnavailabilityReasonCodeMemberRoleTooPermissive is a UnavailabilityReasonCode enum value
+ UnavailabilityReasonCodeMemberRoleTooPermissive = "MEMBER_ROLE_TOO_PERMISSIVE"
+
+ // UnavailabilityReasonCodeInvalidResultSignature is a UnavailabilityReasonCode enum value
+ UnavailabilityReasonCodeInvalidResultSignature = "INVALID_RESULT_SIGNATURE"
+
+ // UnavailabilityReasonCodeResultNotSigned is a UnavailabilityReasonCode enum value
+ UnavailabilityReasonCodeResultNotSigned = "RESULT_NOT_SIGNED"
)
// UnavailabilityReasonCode_Values returns all elements of the UnavailabilityReasonCode enum
@@ -25773,6 +25969,12 @@ func UnavailabilityReasonCode_Values() []string {
UnavailabilityReasonCodeUnsupportedFindingType,
UnavailabilityReasonCodeInvalidClassificationResult,
UnavailabilityReasonCodeObjectUnavailable,
+ UnavailabilityReasonCodeAccountNotInOrganization,
+ UnavailabilityReasonCodeMissingGetMemberPermission,
+ UnavailabilityReasonCodeRoleTooPermissive,
+ UnavailabilityReasonCodeMemberRoleTooPermissive,
+ UnavailabilityReasonCodeInvalidResultSignature,
+ UnavailabilityReasonCodeResultNotSigned,
}
}
diff --git a/service/mediapackage/api.go b/service/mediapackage/api.go
index 79b83db12dc..7aaf51ea160 100644
--- a/service/mediapackage/api.go
+++ b/service/mediapackage/api.go
@@ -3166,7 +3166,9 @@ type DashPackage struct {
// Determines the position of some tags in the Media Presentation Description
// (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection
// are included in each Representation. When set to COMPACT, duplicate elements
- // are combined and presented at the AdaptationSet level.
+ // are combined and presented at the AdaptationSet level. When set to DRM_TOP_LEVEL_COMPACT,
+ // content protection elements are placed the MPD level and referenced at the
+ // AdaptationSet level.
ManifestLayout *string `locationName:"manifestLayout" type:"string" enum:"ManifestLayout"`
// Time window (in seconds) contained in each manifest.
@@ -7170,6 +7172,9 @@ const (
// ManifestLayoutCompact is a ManifestLayout enum value
ManifestLayoutCompact = "COMPACT"
+
+ // ManifestLayoutDrmTopLevelCompact is a ManifestLayout enum value
+ ManifestLayoutDrmTopLevelCompact = "DRM_TOP_LEVEL_COMPACT"
)
// ManifestLayout_Values returns all elements of the ManifestLayout enum
@@ -7177,6 +7182,7 @@ func ManifestLayout_Values() []string {
return []string{
ManifestLayoutFull,
ManifestLayoutCompact,
+ ManifestLayoutDrmTopLevelCompact,
}
}
diff --git a/service/pinpointsmsvoicev2/api.go b/service/pinpointsmsvoicev2/api.go
index cf878503d52..71baead1a7e 100644
--- a/service/pinpointsmsvoicev2/api.go
+++ b/service/pinpointsmsvoicev2/api.go
@@ -59,11 +59,11 @@ func (c *PinpointSMSVoiceV2) AssociateOriginationIdentityRequest(input *Associat
// Associates the specified origination identity with a pool.
//
// If the origination identity is a phone number and is already associated with
-// another pool, an Error is returned. A sender ID can be associated with multiple
+// another pool, an error is returned. A sender ID can be associated with multiple
// pools.
//
// If the origination identity configuration doesn't match the pool's configuration,
-// an Error is returned.
+// an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -388,7 +388,7 @@ func (c *PinpointSMSVoiceV2) CreateOptOutListRequest(input *CreateOptOutListInpu
//
// Creates a new opt-out list.
//
-// If the opt-out list name already exists, an Error is returned.
+// If the opt-out list name already exists, an error is returned.
//
// An opt-out list is a list of phone numbers that are opted out, meaning you
// can't send SMS or voice messages to them. If end user replies with the keyword
@@ -505,7 +505,7 @@ func (c *PinpointSMSVoiceV2) CreatePoolRequest(input *CreatePoolInput) (req *req
// from the origination identity and defaults to false.
//
// If the origination identity is a phone number and is already associated with
-// another pool, an Error is returned. A sender ID can be associated with multiple
+// another pool, an error is returned. A sender ID can be associated with multiple
// pools.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -566,64 +566,63 @@ func (c *PinpointSMSVoiceV2) CreatePoolWithContext(ctx aws.Context, input *Creat
return out, req.Send()
}
-const opDeleteConfigurationSet = "DeleteConfigurationSet"
+const opCreateRegistration = "CreateRegistration"
-// DeleteConfigurationSetRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteConfigurationSet operation. The "output" return
+// CreateRegistrationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateRegistration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteConfigurationSet for more information on using the DeleteConfigurationSet
+// See CreateRegistration for more information on using the CreateRegistration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteConfigurationSetRequest method.
-// req, resp := client.DeleteConfigurationSetRequest(params)
+// // Example sending a request using the CreateRegistrationRequest method.
+// req, resp := client.CreateRegistrationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet
-func (c *PinpointSMSVoiceV2) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistration
+func (c *PinpointSMSVoiceV2) CreateRegistrationRequest(input *CreateRegistrationInput) (req *request.Request, output *CreateRegistrationOutput) {
op := &request.Operation{
- Name: opDeleteConfigurationSet,
+ Name: opCreateRegistration,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteConfigurationSetInput{}
+ input = &CreateRegistrationInput{}
}
- output = &DeleteConfigurationSetOutput{}
+ output = &CreateRegistrationOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteConfigurationSet API operation for Amazon Pinpoint SMS Voice V2.
+// CreateRegistration API operation for Amazon Pinpoint SMS Voice V2.
//
-// Deletes an existing configuration set.
-//
-// A configuration set is a set of rules that you apply to voice and SMS messages
-// that you send. In a configuration set, you can specify a destination for
-// specific types of events related to voice and SMS messages.
+// Creates a new registration based on the RegistrationType field.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteConfigurationSet for usage and error information.
+// API operation CreateRegistration for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -632,98 +631,99 @@ func (c *PinpointSMSVoiceV2) DeleteConfigurationSetRequest(input *DeleteConfigur
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet
-func (c *PinpointSMSVoiceV2) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) {
- req, out := c.DeleteConfigurationSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistration
+func (c *PinpointSMSVoiceV2) CreateRegistration(input *CreateRegistrationInput) (*CreateRegistrationOutput, error) {
+ req, out := c.CreateRegistrationRequest(input)
return out, req.Send()
}
-// DeleteConfigurationSetWithContext is the same as DeleteConfigurationSet with the addition of
+// CreateRegistrationWithContext is the same as CreateRegistration with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteConfigurationSet for details on how to use this API operation.
+// See CreateRegistration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteConfigurationSetWithContext(ctx aws.Context, input *DeleteConfigurationSetInput, opts ...request.Option) (*DeleteConfigurationSetOutput, error) {
- req, out := c.DeleteConfigurationSetRequest(input)
+func (c *PinpointSMSVoiceV2) CreateRegistrationWithContext(ctx aws.Context, input *CreateRegistrationInput, opts ...request.Option) (*CreateRegistrationOutput, error) {
+ req, out := c.CreateRegistrationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteDefaultMessageType = "DeleteDefaultMessageType"
+const opCreateRegistrationAssociation = "CreateRegistrationAssociation"
-// DeleteDefaultMessageTypeRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteDefaultMessageType operation. The "output" return
+// CreateRegistrationAssociationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateRegistrationAssociation operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteDefaultMessageType for more information on using the DeleteDefaultMessageType
+// See CreateRegistrationAssociation for more information on using the CreateRegistrationAssociation
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteDefaultMessageTypeRequest method.
-// req, resp := client.DeleteDefaultMessageTypeRequest(params)
+// // Example sending a request using the CreateRegistrationAssociationRequest method.
+// req, resp := client.CreateRegistrationAssociationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType
-func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeRequest(input *DeleteDefaultMessageTypeInput) (req *request.Request, output *DeleteDefaultMessageTypeOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAssociation
+func (c *PinpointSMSVoiceV2) CreateRegistrationAssociationRequest(input *CreateRegistrationAssociationInput) (req *request.Request, output *CreateRegistrationAssociationOutput) {
op := &request.Operation{
- Name: opDeleteDefaultMessageType,
+ Name: opCreateRegistrationAssociation,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteDefaultMessageTypeInput{}
+ input = &CreateRegistrationAssociationInput{}
}
- output = &DeleteDefaultMessageTypeOutput{}
+ output = &CreateRegistrationAssociationOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteDefaultMessageType API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Deletes an existing default message type on a configuration set.
+// CreateRegistrationAssociation API operation for Amazon Pinpoint SMS Voice V2.
//
-// A message type is a type of messages that you plan to send. If you send account-related
-// messages or time-sensitive messages such as one-time passcodes, choose Transactional.
-// If you plan to send messages that contain marketing material or other promotional
-// content, choose Promotional. This setting applies to your entire Amazon Web
-// Services account.
+// Associate the registration with an origination identity such as a phone number
+// or sender ID.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteDefaultMessageType for usage and error information.
+// API operation CreateRegistrationAssociation for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -738,90 +738,98 @@ func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeRequest(input *DeleteDefaul
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType
-func (c *PinpointSMSVoiceV2) DeleteDefaultMessageType(input *DeleteDefaultMessageTypeInput) (*DeleteDefaultMessageTypeOutput, error) {
- req, out := c.DeleteDefaultMessageTypeRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAssociation
+func (c *PinpointSMSVoiceV2) CreateRegistrationAssociation(input *CreateRegistrationAssociationInput) (*CreateRegistrationAssociationOutput, error) {
+ req, out := c.CreateRegistrationAssociationRequest(input)
return out, req.Send()
}
-// DeleteDefaultMessageTypeWithContext is the same as DeleteDefaultMessageType with the addition of
+// CreateRegistrationAssociationWithContext is the same as CreateRegistrationAssociation with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteDefaultMessageType for details on how to use this API operation.
+// See CreateRegistrationAssociation for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeWithContext(ctx aws.Context, input *DeleteDefaultMessageTypeInput, opts ...request.Option) (*DeleteDefaultMessageTypeOutput, error) {
- req, out := c.DeleteDefaultMessageTypeRequest(input)
+func (c *PinpointSMSVoiceV2) CreateRegistrationAssociationWithContext(ctx aws.Context, input *CreateRegistrationAssociationInput, opts ...request.Option) (*CreateRegistrationAssociationOutput, error) {
+ req, out := c.CreateRegistrationAssociationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteDefaultSenderId = "DeleteDefaultSenderId"
+const opCreateRegistrationAttachment = "CreateRegistrationAttachment"
-// DeleteDefaultSenderIdRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteDefaultSenderId operation. The "output" return
+// CreateRegistrationAttachmentRequest generates a "aws/request.Request" representing the
+// client's request for the CreateRegistrationAttachment operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteDefaultSenderId for more information on using the DeleteDefaultSenderId
+// See CreateRegistrationAttachment for more information on using the CreateRegistrationAttachment
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteDefaultSenderIdRequest method.
-// req, resp := client.DeleteDefaultSenderIdRequest(params)
+// // Example sending a request using the CreateRegistrationAttachmentRequest method.
+// req, resp := client.CreateRegistrationAttachmentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId
-func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdRequest(input *DeleteDefaultSenderIdInput) (req *request.Request, output *DeleteDefaultSenderIdOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAttachment
+func (c *PinpointSMSVoiceV2) CreateRegistrationAttachmentRequest(input *CreateRegistrationAttachmentInput) (req *request.Request, output *CreateRegistrationAttachmentOutput) {
op := &request.Operation{
- Name: opDeleteDefaultSenderId,
+ Name: opCreateRegistrationAttachment,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteDefaultSenderIdInput{}
+ input = &CreateRegistrationAttachmentInput{}
}
- output = &DeleteDefaultSenderIdOutput{}
+ output = &CreateRegistrationAttachmentOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteDefaultSenderId API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Deletes an existing default sender ID on a configuration set.
+// CreateRegistrationAttachment API operation for Amazon Pinpoint SMS Voice V2.
//
-// A default sender ID is the identity that appears on recipients' devices when
-// they receive SMS messages. Support for sender ID capabilities varies by country
-// or region.
+// Create a new registration attachment to use for uploading a file or a URL
+// to a file. The maximum file size is 1MiB and valid file extensions are PDF,
+// JPEG and PNG. For example, many sender ID registrations require a signed
+// “letter of authorization” (LOA) to be submitted.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteDefaultSenderId for usage and error information.
+// API operation CreateRegistrationAttachment for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -830,97 +838,99 @@ func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdRequest(input *DeleteDefaultSe
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId
-func (c *PinpointSMSVoiceV2) DeleteDefaultSenderId(input *DeleteDefaultSenderIdInput) (*DeleteDefaultSenderIdOutput, error) {
- req, out := c.DeleteDefaultSenderIdRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationAttachment
+func (c *PinpointSMSVoiceV2) CreateRegistrationAttachment(input *CreateRegistrationAttachmentInput) (*CreateRegistrationAttachmentOutput, error) {
+ req, out := c.CreateRegistrationAttachmentRequest(input)
return out, req.Send()
}
-// DeleteDefaultSenderIdWithContext is the same as DeleteDefaultSenderId with the addition of
+// CreateRegistrationAttachmentWithContext is the same as CreateRegistrationAttachment with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteDefaultSenderId for details on how to use this API operation.
+// See CreateRegistrationAttachment for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdWithContext(ctx aws.Context, input *DeleteDefaultSenderIdInput, opts ...request.Option) (*DeleteDefaultSenderIdOutput, error) {
- req, out := c.DeleteDefaultSenderIdRequest(input)
+func (c *PinpointSMSVoiceV2) CreateRegistrationAttachmentWithContext(ctx aws.Context, input *CreateRegistrationAttachmentInput, opts ...request.Option) (*CreateRegistrationAttachmentOutput, error) {
+ req, out := c.CreateRegistrationAttachmentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteEventDestination = "DeleteEventDestination"
+const opCreateRegistrationVersion = "CreateRegistrationVersion"
-// DeleteEventDestinationRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteEventDestination operation. The "output" return
+// CreateRegistrationVersionRequest generates a "aws/request.Request" representing the
+// client's request for the CreateRegistrationVersion operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteEventDestination for more information on using the DeleteEventDestination
+// See CreateRegistrationVersion for more information on using the CreateRegistrationVersion
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteEventDestinationRequest method.
-// req, resp := client.DeleteEventDestinationRequest(params)
+// // Example sending a request using the CreateRegistrationVersionRequest method.
+// req, resp := client.CreateRegistrationVersionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination
-func (c *PinpointSMSVoiceV2) DeleteEventDestinationRequest(input *DeleteEventDestinationInput) (req *request.Request, output *DeleteEventDestinationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationVersion
+func (c *PinpointSMSVoiceV2) CreateRegistrationVersionRequest(input *CreateRegistrationVersionInput) (req *request.Request, output *CreateRegistrationVersionOutput) {
op := &request.Operation{
- Name: opDeleteEventDestination,
+ Name: opCreateRegistrationVersion,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteEventDestinationInput{}
+ input = &CreateRegistrationVersionInput{}
}
- output = &DeleteEventDestinationOutput{}
+ output = &CreateRegistrationVersionOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteEventDestination API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Deletes an existing event destination.
+// CreateRegistrationVersion API operation for Amazon Pinpoint SMS Voice V2.
//
-// An event destination is a location where you send response information about
-// the messages that you send. For example, when a message is delivered successfully,
-// you can send information about that event to an Amazon CloudWatch destination,
-// or send notifications to endpoints that are subscribed to an Amazon SNS topic.
+// Create a new version of the registration and increase the VersionNumber.
+// The previous version of the registration becomes read-only.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteEventDestination for usage and error information.
+// API operation CreateRegistrationVersion for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -935,94 +945,96 @@ func (c *PinpointSMSVoiceV2) DeleteEventDestinationRequest(input *DeleteEventDes
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination
-func (c *PinpointSMSVoiceV2) DeleteEventDestination(input *DeleteEventDestinationInput) (*DeleteEventDestinationOutput, error) {
- req, out := c.DeleteEventDestinationRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateRegistrationVersion
+func (c *PinpointSMSVoiceV2) CreateRegistrationVersion(input *CreateRegistrationVersionInput) (*CreateRegistrationVersionOutput, error) {
+ req, out := c.CreateRegistrationVersionRequest(input)
return out, req.Send()
}
-// DeleteEventDestinationWithContext is the same as DeleteEventDestination with the addition of
+// CreateRegistrationVersionWithContext is the same as CreateRegistrationVersion with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteEventDestination for details on how to use this API operation.
+// See CreateRegistrationVersion for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteEventDestinationWithContext(ctx aws.Context, input *DeleteEventDestinationInput, opts ...request.Option) (*DeleteEventDestinationOutput, error) {
- req, out := c.DeleteEventDestinationRequest(input)
+func (c *PinpointSMSVoiceV2) CreateRegistrationVersionWithContext(ctx aws.Context, input *CreateRegistrationVersionInput, opts ...request.Option) (*CreateRegistrationVersionOutput, error) {
+ req, out := c.CreateRegistrationVersionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteKeyword = "DeleteKeyword"
+const opCreateVerifiedDestinationNumber = "CreateVerifiedDestinationNumber"
-// DeleteKeywordRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteKeyword operation. The "output" return
+// CreateVerifiedDestinationNumberRequest generates a "aws/request.Request" representing the
+// client's request for the CreateVerifiedDestinationNumber operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteKeyword for more information on using the DeleteKeyword
+// See CreateVerifiedDestinationNumber for more information on using the CreateVerifiedDestinationNumber
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteKeywordRequest method.
-// req, resp := client.DeleteKeywordRequest(params)
+// // Example sending a request using the CreateVerifiedDestinationNumberRequest method.
+// req, resp := client.CreateVerifiedDestinationNumberRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword
-func (c *PinpointSMSVoiceV2) DeleteKeywordRequest(input *DeleteKeywordInput) (req *request.Request, output *DeleteKeywordOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateVerifiedDestinationNumber
+func (c *PinpointSMSVoiceV2) CreateVerifiedDestinationNumberRequest(input *CreateVerifiedDestinationNumberInput) (req *request.Request, output *CreateVerifiedDestinationNumberOutput) {
op := &request.Operation{
- Name: opDeleteKeyword,
+ Name: opCreateVerifiedDestinationNumber,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteKeywordInput{}
+ input = &CreateVerifiedDestinationNumberInput{}
}
- output = &DeleteKeywordOutput{}
+ output = &CreateVerifiedDestinationNumberOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteKeyword API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Deletes an existing keyword from an origination phone number or pool.
-//
-// A keyword is a word that you can search for on a particular phone number
-// or pool. It is also a specific word or phrase that an end user can send to
-// your number to elicit a response, such as an informational message or a special
-// offer. When your number receives a message that begins with a keyword, Amazon
-// Pinpoint responds with a customizable message.
+// CreateVerifiedDestinationNumber API operation for Amazon Pinpoint SMS Voice V2.
//
-// Keywords "HELP" and "STOP" can't be deleted or modified.
+// You can only send messages to verified destination numbers when your account
+// is in the sandbox. You can add up to 10 verified destination numbers.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteKeyword for usage and error information.
+// API operation CreateVerifiedDestinationNumber for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -1031,9 +1043,6 @@ func (c *PinpointSMSVoiceV2) DeleteKeywordRequest(input *DeleteKeywordInput) (re
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
@@ -1047,83 +1056,83 @@ func (c *PinpointSMSVoiceV2) DeleteKeywordRequest(input *DeleteKeywordInput) (re
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword
-func (c *PinpointSMSVoiceV2) DeleteKeyword(input *DeleteKeywordInput) (*DeleteKeywordOutput, error) {
- req, out := c.DeleteKeywordRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateVerifiedDestinationNumber
+func (c *PinpointSMSVoiceV2) CreateVerifiedDestinationNumber(input *CreateVerifiedDestinationNumberInput) (*CreateVerifiedDestinationNumberOutput, error) {
+ req, out := c.CreateVerifiedDestinationNumberRequest(input)
return out, req.Send()
}
-// DeleteKeywordWithContext is the same as DeleteKeyword with the addition of
+// CreateVerifiedDestinationNumberWithContext is the same as CreateVerifiedDestinationNumber with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteKeyword for details on how to use this API operation.
+// See CreateVerifiedDestinationNumber for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteKeywordWithContext(ctx aws.Context, input *DeleteKeywordInput, opts ...request.Option) (*DeleteKeywordOutput, error) {
- req, out := c.DeleteKeywordRequest(input)
+func (c *PinpointSMSVoiceV2) CreateVerifiedDestinationNumberWithContext(ctx aws.Context, input *CreateVerifiedDestinationNumberInput, opts ...request.Option) (*CreateVerifiedDestinationNumberOutput, error) {
+ req, out := c.CreateVerifiedDestinationNumberRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteOptOutList = "DeleteOptOutList"
+const opDeleteConfigurationSet = "DeleteConfigurationSet"
-// DeleteOptOutListRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteOptOutList operation. The "output" return
+// DeleteConfigurationSetRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteConfigurationSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteOptOutList for more information on using the DeleteOptOutList
+// See DeleteConfigurationSet for more information on using the DeleteConfigurationSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteOptOutListRequest method.
-// req, resp := client.DeleteOptOutListRequest(params)
+// // Example sending a request using the DeleteConfigurationSetRequest method.
+// req, resp := client.DeleteConfigurationSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList
-func (c *PinpointSMSVoiceV2) DeleteOptOutListRequest(input *DeleteOptOutListInput) (req *request.Request, output *DeleteOptOutListOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet
+func (c *PinpointSMSVoiceV2) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) {
op := &request.Operation{
- Name: opDeleteOptOutList,
+ Name: opDeleteConfigurationSet,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteOptOutListInput{}
+ input = &DeleteConfigurationSetInput{}
}
- output = &DeleteOptOutListOutput{}
+ output = &DeleteConfigurationSetOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteOptOutList API operation for Amazon Pinpoint SMS Voice V2.
+// DeleteConfigurationSet API operation for Amazon Pinpoint SMS Voice V2.
//
-// Deletes an existing opt-out list. All opted out phone numbers in the opt-out
-// list are deleted.
+// Deletes an existing configuration set.
//
-// If the specified opt-out list name doesn't exist or is in-use by an origination
-// phone number or pool, an Error is returned.
+// A configuration set is a set of rules that you apply to voice and SMS messages
+// that you send. In a configuration set, you can specify a destination for
+// specific types of events related to voice and SMS messages.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteOptOutList for usage and error information.
+// API operation DeleteConfigurationSet for usage and error information.
//
// Returned Error Types:
//
@@ -1141,95 +1150,89 @@ func (c *PinpointSMSVoiceV2) DeleteOptOutListRequest(input *DeleteOptOutListInpu
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList
-func (c *PinpointSMSVoiceV2) DeleteOptOutList(input *DeleteOptOutListInput) (*DeleteOptOutListOutput, error) {
- req, out := c.DeleteOptOutListRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet
+func (c *PinpointSMSVoiceV2) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) {
+ req, out := c.DeleteConfigurationSetRequest(input)
return out, req.Send()
}
-// DeleteOptOutListWithContext is the same as DeleteOptOutList with the addition of
+// DeleteConfigurationSetWithContext is the same as DeleteConfigurationSet with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteOptOutList for details on how to use this API operation.
+// See DeleteConfigurationSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteOptOutListWithContext(ctx aws.Context, input *DeleteOptOutListInput, opts ...request.Option) (*DeleteOptOutListOutput, error) {
- req, out := c.DeleteOptOutListRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteConfigurationSetWithContext(ctx aws.Context, input *DeleteConfigurationSetInput, opts ...request.Option) (*DeleteConfigurationSetOutput, error) {
+ req, out := c.DeleteConfigurationSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteOptedOutNumber = "DeleteOptedOutNumber"
+const opDeleteDefaultMessageType = "DeleteDefaultMessageType"
-// DeleteOptedOutNumberRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteOptedOutNumber operation. The "output" return
+// DeleteDefaultMessageTypeRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteDefaultMessageType operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteOptedOutNumber for more information on using the DeleteOptedOutNumber
+// See DeleteDefaultMessageType for more information on using the DeleteDefaultMessageType
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteOptedOutNumberRequest method.
-// req, resp := client.DeleteOptedOutNumberRequest(params)
+// // Example sending a request using the DeleteDefaultMessageTypeRequest method.
+// req, resp := client.DeleteDefaultMessageTypeRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber
-func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberRequest(input *DeleteOptedOutNumberInput) (req *request.Request, output *DeleteOptedOutNumberOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType
+func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeRequest(input *DeleteDefaultMessageTypeInput) (req *request.Request, output *DeleteDefaultMessageTypeOutput) {
op := &request.Operation{
- Name: opDeleteOptedOutNumber,
+ Name: opDeleteDefaultMessageType,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteOptedOutNumberInput{}
+ input = &DeleteDefaultMessageTypeInput{}
}
- output = &DeleteOptedOutNumberOutput{}
+ output = &DeleteDefaultMessageTypeOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteOptedOutNumber API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Deletes an existing opted out destination phone number from the specified
-// opt-out list.
+// DeleteDefaultMessageType API operation for Amazon Pinpoint SMS Voice V2.
//
-// Each destination phone number can only be deleted once every 30 days.
+// Deletes an existing default message type on a configuration set.
//
-// If the specified destination phone number doesn't exist or if the opt-out
-// list doesn't exist, an Error is returned.
+// A message type is a type of messages that you plan to send. If you send account-related
+// messages or time-sensitive messages such as one-time passcodes, choose Transactional.
+// If you plan to send messages that contain marketing material or other promotional
+// content, choose Promotional. This setting applies to your entire Amazon Web
+// Services account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteOptedOutNumber for usage and error information.
+// API operation DeleteDefaultMessageType for usage and error information.
//
// Returned Error Types:
//
@@ -1247,97 +1250,87 @@ func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberRequest(input *DeleteOptedOutNu
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber
-func (c *PinpointSMSVoiceV2) DeleteOptedOutNumber(input *DeleteOptedOutNumberInput) (*DeleteOptedOutNumberOutput, error) {
- req, out := c.DeleteOptedOutNumberRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType
+func (c *PinpointSMSVoiceV2) DeleteDefaultMessageType(input *DeleteDefaultMessageTypeInput) (*DeleteDefaultMessageTypeOutput, error) {
+ req, out := c.DeleteDefaultMessageTypeRequest(input)
return out, req.Send()
}
-// DeleteOptedOutNumberWithContext is the same as DeleteOptedOutNumber with the addition of
+// DeleteDefaultMessageTypeWithContext is the same as DeleteDefaultMessageType with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteOptedOutNumber for details on how to use this API operation.
+// See DeleteDefaultMessageType for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberWithContext(ctx aws.Context, input *DeleteOptedOutNumberInput, opts ...request.Option) (*DeleteOptedOutNumberOutput, error) {
- req, out := c.DeleteOptedOutNumberRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeWithContext(ctx aws.Context, input *DeleteDefaultMessageTypeInput, opts ...request.Option) (*DeleteDefaultMessageTypeOutput, error) {
+ req, out := c.DeleteDefaultMessageTypeRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeletePool = "DeletePool"
+const opDeleteDefaultSenderId = "DeleteDefaultSenderId"
-// DeletePoolRequest generates a "aws/request.Request" representing the
-// client's request for the DeletePool operation. The "output" return
+// DeleteDefaultSenderIdRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteDefaultSenderId operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeletePool for more information on using the DeletePool
+// See DeleteDefaultSenderId for more information on using the DeleteDefaultSenderId
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeletePoolRequest method.
-// req, resp := client.DeletePoolRequest(params)
+// // Example sending a request using the DeleteDefaultSenderIdRequest method.
+// req, resp := client.DeleteDefaultSenderIdRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool
-func (c *PinpointSMSVoiceV2) DeletePoolRequest(input *DeletePoolInput) (req *request.Request, output *DeletePoolOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId
+func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdRequest(input *DeleteDefaultSenderIdInput) (req *request.Request, output *DeleteDefaultSenderIdOutput) {
op := &request.Operation{
- Name: opDeletePool,
+ Name: opDeleteDefaultSenderId,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeletePoolInput{}
+ input = &DeleteDefaultSenderIdInput{}
}
- output = &DeletePoolOutput{}
+ output = &DeleteDefaultSenderIdOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeletePool API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Deletes an existing pool. Deleting a pool disassociates all origination identities
-// from that pool.
+// DeleteDefaultSenderId API operation for Amazon Pinpoint SMS Voice V2.
//
-// If the pool status isn't active or if deletion protection is enabled, an
-// Error is returned.
+// Deletes an existing default sender ID on a configuration set.
//
-// A pool is a collection of phone numbers and SenderIds. A pool can include
-// one or more phone numbers and SenderIds that are associated with your Amazon
-// Web Services account.
+// A default sender ID is the identity that appears on recipients' devices when
+// they receive SMS messages. Support for sender ID capabilities varies by country
+// or region.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeletePool for usage and error information.
+// API operation DeleteDefaultSenderId for usage and error information.
//
// Returned Error Types:
//
@@ -1355,93 +1348,88 @@ func (c *PinpointSMSVoiceV2) DeletePoolRequest(input *DeletePoolInput) (req *req
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool
-func (c *PinpointSMSVoiceV2) DeletePool(input *DeletePoolInput) (*DeletePoolOutput, error) {
- req, out := c.DeletePoolRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId
+func (c *PinpointSMSVoiceV2) DeleteDefaultSenderId(input *DeleteDefaultSenderIdInput) (*DeleteDefaultSenderIdOutput, error) {
+ req, out := c.DeleteDefaultSenderIdRequest(input)
return out, req.Send()
}
-// DeletePoolWithContext is the same as DeletePool with the addition of
+// DeleteDefaultSenderIdWithContext is the same as DeleteDefaultSenderId with the addition of
// the ability to pass a context and additional request options.
//
-// See DeletePool for details on how to use this API operation.
+// See DeleteDefaultSenderId for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeletePoolWithContext(ctx aws.Context, input *DeletePoolInput, opts ...request.Option) (*DeletePoolOutput, error) {
- req, out := c.DeletePoolRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdWithContext(ctx aws.Context, input *DeleteDefaultSenderIdInput, opts ...request.Option) (*DeleteDefaultSenderIdOutput, error) {
+ req, out := c.DeleteDefaultSenderIdRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteTextMessageSpendLimitOverride = "DeleteTextMessageSpendLimitOverride"
+const opDeleteEventDestination = "DeleteEventDestination"
-// DeleteTextMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteTextMessageSpendLimitOverride operation. The "output" return
+// DeleteEventDestinationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteEventDestination operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteTextMessageSpendLimitOverride for more information on using the DeleteTextMessageSpendLimitOverride
+// See DeleteEventDestination for more information on using the DeleteEventDestination
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteTextMessageSpendLimitOverrideRequest method.
-// req, resp := client.DeleteTextMessageSpendLimitOverrideRequest(params)
+// // Example sending a request using the DeleteEventDestinationRequest method.
+// req, resp := client.DeleteEventDestinationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest(input *DeleteTextMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteTextMessageSpendLimitOverrideOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination
+func (c *PinpointSMSVoiceV2) DeleteEventDestinationRequest(input *DeleteEventDestinationInput) (req *request.Request, output *DeleteEventDestinationOutput) {
op := &request.Operation{
- Name: opDeleteTextMessageSpendLimitOverride,
+ Name: opDeleteEventDestination,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteTextMessageSpendLimitOverrideInput{}
+ input = &DeleteEventDestinationInput{}
}
- output = &DeleteTextMessageSpendLimitOverrideOutput{}
+ output = &DeleteEventDestinationOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteTextMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
+// DeleteEventDestination API operation for Amazon Pinpoint SMS Voice V2.
//
-// Deletes an account-level monthly spending limit override for sending text
-// messages. Deleting a spend limit override will set the EnforcedLimit to equal
-// the MaxLimit, which is controlled by Amazon Web Services. For more information
-// on spend limits (quotas) see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html)
-// in the Amazon Pinpoint Developer Guide.
+// Deletes an existing event destination.
+//
+// An event destination is a location where you send response information about
+// the messages that you send. For example, when a message is delivered successfully,
+// you can send information about that event to an Amazon CloudWatch destination,
+// or send notifications to endpoints that are subscribed to an Amazon SNS topic.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteTextMessageSpendLimitOverride for usage and error information.
+// API operation DeleteEventDestination for usage and error information.
//
// Returned Error Types:
//
@@ -1453,6 +1441,9 @@ func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest(input *D
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
// - ValidationException
// A validation exception for a field.
//
@@ -1460,83 +1451,87 @@ func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest(input *D
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverride(input *DeleteTextMessageSpendLimitOverrideInput) (*DeleteTextMessageSpendLimitOverrideOutput, error) {
- req, out := c.DeleteTextMessageSpendLimitOverrideRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination
+func (c *PinpointSMSVoiceV2) DeleteEventDestination(input *DeleteEventDestinationInput) (*DeleteEventDestinationOutput, error) {
+ req, out := c.DeleteEventDestinationRequest(input)
return out, req.Send()
}
-// DeleteTextMessageSpendLimitOverrideWithContext is the same as DeleteTextMessageSpendLimitOverride with the addition of
+// DeleteEventDestinationWithContext is the same as DeleteEventDestination with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteTextMessageSpendLimitOverride for details on how to use this API operation.
+// See DeleteEventDestination for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideWithContext(ctx aws.Context, input *DeleteTextMessageSpendLimitOverrideInput, opts ...request.Option) (*DeleteTextMessageSpendLimitOverrideOutput, error) {
- req, out := c.DeleteTextMessageSpendLimitOverrideRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteEventDestinationWithContext(ctx aws.Context, input *DeleteEventDestinationInput, opts ...request.Option) (*DeleteEventDestinationOutput, error) {
+ req, out := c.DeleteEventDestinationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteVoiceMessageSpendLimitOverride = "DeleteVoiceMessageSpendLimitOverride"
+const opDeleteKeyword = "DeleteKeyword"
-// DeleteVoiceMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteVoiceMessageSpendLimitOverride operation. The "output" return
+// DeleteKeywordRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteKeyword operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteVoiceMessageSpendLimitOverride for more information on using the DeleteVoiceMessageSpendLimitOverride
+// See DeleteKeyword for more information on using the DeleteKeyword
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteVoiceMessageSpendLimitOverrideRequest method.
-// req, resp := client.DeleteVoiceMessageSpendLimitOverrideRequest(params)
+// // Example sending a request using the DeleteKeywordRequest method.
+// req, resp := client.DeleteKeywordRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideRequest(input *DeleteVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteVoiceMessageSpendLimitOverrideOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword
+func (c *PinpointSMSVoiceV2) DeleteKeywordRequest(input *DeleteKeywordInput) (req *request.Request, output *DeleteKeywordOutput) {
op := &request.Operation{
- Name: opDeleteVoiceMessageSpendLimitOverride,
+ Name: opDeleteKeyword,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteVoiceMessageSpendLimitOverrideInput{}
+ input = &DeleteKeywordInput{}
}
- output = &DeleteVoiceMessageSpendLimitOverrideOutput{}
+ output = &DeleteKeywordOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteVoiceMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
+// DeleteKeyword API operation for Amazon Pinpoint SMS Voice V2.
//
-// Deletes an account level monthly spend limit override for sending voice messages.
-// Deleting a spend limit override sets the EnforcedLimit equal to the MaxLimit,
-// which is controlled by Amazon Web Services. For more information on spending
-// limits (quotas) see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html)
-// in the Amazon Pinpoint Developer Guide.
+// Deletes an existing keyword from an origination phone number or pool.
+//
+// A keyword is a word that you can search for on a particular phone number
+// or pool. It is also a specific word or phrase that an end user can send to
+// your number to elicit a response, such as an informational message or a special
+// offer. When your number receives a message that begins with a keyword, Amazon
+// Pinpoint responds with a customizable message.
+//
+// Keywords "HELP" and "STOP" can't be deleted or modified.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DeleteVoiceMessageSpendLimitOverride for usage and error information.
+// API operation DeleteKeyword for usage and error information.
//
// Returned Error Types:
//
@@ -1548,100 +1543,99 @@ func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideRequest(input *
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverride(input *DeleteVoiceMessageSpendLimitOverrideInput) (*DeleteVoiceMessageSpendLimitOverrideOutput, error) {
- req, out := c.DeleteVoiceMessageSpendLimitOverrideRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword
+func (c *PinpointSMSVoiceV2) DeleteKeyword(input *DeleteKeywordInput) (*DeleteKeywordOutput, error) {
+ req, out := c.DeleteKeywordRequest(input)
return out, req.Send()
}
-// DeleteVoiceMessageSpendLimitOverrideWithContext is the same as DeleteVoiceMessageSpendLimitOverride with the addition of
+// DeleteKeywordWithContext is the same as DeleteKeyword with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteVoiceMessageSpendLimitOverride for details on how to use this API operation.
+// See DeleteKeyword for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideWithContext(ctx aws.Context, input *DeleteVoiceMessageSpendLimitOverrideInput, opts ...request.Option) (*DeleteVoiceMessageSpendLimitOverrideOutput, error) {
- req, out := c.DeleteVoiceMessageSpendLimitOverrideRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteKeywordWithContext(ctx aws.Context, input *DeleteKeywordInput, opts ...request.Option) (*DeleteKeywordOutput, error) {
+ req, out := c.DeleteKeywordRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeAccountAttributes = "DescribeAccountAttributes"
+const opDeleteOptOutList = "DeleteOptOutList"
-// DescribeAccountAttributesRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeAccountAttributes operation. The "output" return
+// DeleteOptOutListRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteOptOutList operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeAccountAttributes for more information on using the DescribeAccountAttributes
+// See DeleteOptOutList for more information on using the DeleteOptOutList
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAccountAttributesRequest method.
-// req, resp := client.DescribeAccountAttributesRequest(params)
+// // Example sending a request using the DeleteOptOutListRequest method.
+// req, resp := client.DeleteOptOutListRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes
-func (c *PinpointSMSVoiceV2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList
+func (c *PinpointSMSVoiceV2) DeleteOptOutListRequest(input *DeleteOptOutListInput) (req *request.Request, output *DeleteOptOutListOutput) {
op := &request.Operation{
- Name: opDescribeAccountAttributes,
+ Name: opDeleteOptOutList,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribeAccountAttributesInput{}
+ input = &DeleteOptOutListInput{}
}
- output = &DescribeAccountAttributesOutput{}
+ output = &DeleteOptOutListOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeAccountAttributes API operation for Amazon Pinpoint SMS Voice V2.
+// DeleteOptOutList API operation for Amazon Pinpoint SMS Voice V2.
//
-// Describes attributes of your Amazon Web Services account. The supported account
-// attributes include account tier, which indicates whether your account is
-// in the sandbox or production environment. When you're ready to move your
-// account out of the sandbox, create an Amazon Web Services Support case for
-// a service limit increase request.
+// Deletes an existing opt-out list. All opted out phone numbers in the opt-out
+// list are deleted.
//
-// New Amazon Pinpoint accounts are placed into an SMS or voice sandbox. The
-// sandbox protects both Amazon Web Services end recipients and SMS or voice
-// recipients from fraud and abuse.
+// If the specified opt-out list name doesn't exist or is in-use by an origination
+// phone number or pool, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeAccountAttributes for usage and error information.
+// API operation DeleteOptOutList for usage and error information.
//
// Returned Error Types:
//
@@ -1653,151 +1647,101 @@ func (c *PinpointSMSVoiceV2) DescribeAccountAttributesRequest(input *DescribeAcc
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
// - ValidationException
// A validation exception for a field.
//
-// - InternalServerException
-// The API encountered an unexpected error and couldn't complete the request.
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes
-func (c *PinpointSMSVoiceV2) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) {
- req, out := c.DescribeAccountAttributesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList
+func (c *PinpointSMSVoiceV2) DeleteOptOutList(input *DeleteOptOutListInput) (*DeleteOptOutListOutput, error) {
+ req, out := c.DeleteOptOutListRequest(input)
return out, req.Send()
}
-// DescribeAccountAttributesWithContext is the same as DescribeAccountAttributes with the addition of
+// DeleteOptOutListWithContext is the same as DeleteOptOutList with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeAccountAttributes for details on how to use this API operation.
+// See DeleteOptOutList for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeAccountAttributesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, opts ...request.Option) (*DescribeAccountAttributesOutput, error) {
- req, out := c.DescribeAccountAttributesRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteOptOutListWithContext(ctx aws.Context, input *DeleteOptOutListInput, opts ...request.Option) (*DeleteOptOutListOutput, error) {
+ req, out := c.DeleteOptOutListRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeAccountAttributesPages iterates over the pages of a DescribeAccountAttributes operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See DescribeAccountAttributes method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a DescribeAccountAttributes operation.
-// pageNum := 0
-// err := client.DescribeAccountAttributesPages(params,
-// func(page *pinpointsmsvoicev2.DescribeAccountAttributesOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribeAccountAttributesPages(input *DescribeAccountAttributesInput, fn func(*DescribeAccountAttributesOutput, bool) bool) error {
- return c.DescribeAccountAttributesPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// DescribeAccountAttributesPagesWithContext same as DescribeAccountAttributesPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeAccountAttributesPagesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, fn func(*DescribeAccountAttributesOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeAccountAttributesInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribeAccountAttributesRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribeAccountAttributesOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opDescribeAccountLimits = "DescribeAccountLimits"
+const opDeleteOptedOutNumber = "DeleteOptedOutNumber"
-// DescribeAccountLimitsRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeAccountLimits operation. The "output" return
+// DeleteOptedOutNumberRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteOptedOutNumber operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeAccountLimits for more information on using the DescribeAccountLimits
+// See DeleteOptedOutNumber for more information on using the DeleteOptedOutNumber
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAccountLimitsRequest method.
-// req, resp := client.DescribeAccountLimitsRequest(params)
+// // Example sending a request using the DeleteOptedOutNumberRequest method.
+// req, resp := client.DeleteOptedOutNumberRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits
-func (c *PinpointSMSVoiceV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber
+func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberRequest(input *DeleteOptedOutNumberInput) (req *request.Request, output *DeleteOptedOutNumberOutput) {
op := &request.Operation{
- Name: opDescribeAccountLimits,
+ Name: opDeleteOptedOutNumber,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribeAccountLimitsInput{}
+ input = &DeleteOptedOutNumberInput{}
}
- output = &DescribeAccountLimitsOutput{}
+ output = &DeleteOptedOutNumberOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeAccountLimits API operation for Amazon Pinpoint SMS Voice V2.
+// DeleteOptedOutNumber API operation for Amazon Pinpoint SMS Voice V2.
//
-// Describes the current Amazon Pinpoint SMS Voice V2 resource quotas for your
-// account. The description for a quota includes the quota name, current usage
-// toward that quota, and the quota's maximum value.
+// Deletes an existing opted out destination phone number from the specified
+// opt-out list.
//
-// When you establish an Amazon Web Services account, the account has initial
-// quotas on the maximum number of configuration sets, opt-out lists, phone
-// numbers, and pools that you can create in a given Region. For more information
-// see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html)
-// in the Amazon Pinpoint Developer Guide.
+// Each destination phone number can only be deleted once every 30 days.
+//
+// If the specified destination phone number doesn't exist or if the opt-out
+// list doesn't exist, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeAccountLimits for usage and error information.
+// API operation DeleteOptedOutNumber for usage and error information.
//
// Returned Error Types:
//
@@ -1809,151 +1753,103 @@ func (c *PinpointSMSVoiceV2) DescribeAccountLimitsRequest(input *DescribeAccount
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits
-func (c *PinpointSMSVoiceV2) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) {
- req, out := c.DescribeAccountLimitsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber
+func (c *PinpointSMSVoiceV2) DeleteOptedOutNumber(input *DeleteOptedOutNumberInput) (*DeleteOptedOutNumberOutput, error) {
+ req, out := c.DeleteOptedOutNumberRequest(input)
return out, req.Send()
}
-// DescribeAccountLimitsWithContext is the same as DescribeAccountLimits with the addition of
+// DeleteOptedOutNumberWithContext is the same as DeleteOptedOutNumber with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeAccountLimits for details on how to use this API operation.
+// See DeleteOptedOutNumber for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeAccountLimitsWithContext(ctx aws.Context, input *DescribeAccountLimitsInput, opts ...request.Option) (*DescribeAccountLimitsOutput, error) {
- req, out := c.DescribeAccountLimitsRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberWithContext(ctx aws.Context, input *DeleteOptedOutNumberInput, opts ...request.Option) (*DeleteOptedOutNumberOutput, error) {
+ req, out := c.DeleteOptedOutNumberRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeAccountLimitsPages iterates over the pages of a DescribeAccountLimits operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See DescribeAccountLimits method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a DescribeAccountLimits operation.
-// pageNum := 0
-// err := client.DescribeAccountLimitsPages(params,
-// func(page *pinpointsmsvoicev2.DescribeAccountLimitsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribeAccountLimitsPages(input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool) error {
- return c.DescribeAccountLimitsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// DescribeAccountLimitsPagesWithContext same as DescribeAccountLimitsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeAccountLimitsPagesWithContext(ctx aws.Context, input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeAccountLimitsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribeAccountLimitsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribeAccountLimitsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opDescribeConfigurationSets = "DescribeConfigurationSets"
+const opDeletePool = "DeletePool"
-// DescribeConfigurationSetsRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeConfigurationSets operation. The "output" return
+// DeletePoolRequest generates a "aws/request.Request" representing the
+// client's request for the DeletePool operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeConfigurationSets for more information on using the DescribeConfigurationSets
+// See DeletePool for more information on using the DeletePool
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeConfigurationSetsRequest method.
-// req, resp := client.DescribeConfigurationSetsRequest(params)
+// // Example sending a request using the DeletePoolRequest method.
+// req, resp := client.DeletePoolRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets
-func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsRequest(input *DescribeConfigurationSetsInput) (req *request.Request, output *DescribeConfigurationSetsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool
+func (c *PinpointSMSVoiceV2) DeletePoolRequest(input *DeletePoolInput) (req *request.Request, output *DeletePoolOutput) {
op := &request.Operation{
- Name: opDescribeConfigurationSets,
+ Name: opDeletePool,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribeConfigurationSetsInput{}
+ input = &DeletePoolInput{}
}
- output = &DescribeConfigurationSetsOutput{}
+ output = &DeletePoolOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeConfigurationSets API operation for Amazon Pinpoint SMS Voice V2.
+// DeletePool API operation for Amazon Pinpoint SMS Voice V2.
//
-// Describes the specified configuration sets or all in your account.
+// Deletes an existing pool. Deleting a pool disassociates all origination identities
+// from that pool.
//
-// If you specify configuration set names, the output includes information for
-// only the specified configuration sets. If you specify filters, the output
-// includes information for only those configuration sets that meet the filter
-// criteria. If you don't specify configuration set names or filters, the output
-// includes information for all configuration sets.
+// If the pool status isn't active or if deletion protection is enabled, an
+// error is returned.
//
-// If you specify a configuration set name that isn't valid, an error is returned.
+// A pool is a collection of phone numbers and SenderIds. A pool can include
+// one or more phone numbers and SenderIds that are associated with your Amazon
+// Web Services account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeConfigurationSets for usage and error information.
+// API operation DeletePool for usage and error information.
//
// Returned Error Types:
//
@@ -1971,149 +1867,89 @@ func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsRequest(input *DescribeCon
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets
-func (c *PinpointSMSVoiceV2) DescribeConfigurationSets(input *DescribeConfigurationSetsInput) (*DescribeConfigurationSetsOutput, error) {
- req, out := c.DescribeConfigurationSetsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool
+func (c *PinpointSMSVoiceV2) DeletePool(input *DeletePoolInput) (*DeletePoolOutput, error) {
+ req, out := c.DeletePoolRequest(input)
return out, req.Send()
}
-// DescribeConfigurationSetsWithContext is the same as DescribeConfigurationSets with the addition of
+// DeletePoolWithContext is the same as DeletePool with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeConfigurationSets for details on how to use this API operation.
+// See DeletePool for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsWithContext(ctx aws.Context, input *DescribeConfigurationSetsInput, opts ...request.Option) (*DescribeConfigurationSetsOutput, error) {
- req, out := c.DescribeConfigurationSetsRequest(input)
- req.SetContext(ctx)
+func (c *PinpointSMSVoiceV2) DeletePoolWithContext(ctx aws.Context, input *DeletePoolInput, opts ...request.Option) (*DeletePoolOutput, error) {
+ req, out := c.DeletePoolRequest(input)
+ req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeConfigurationSetsPages iterates over the pages of a DescribeConfigurationSets operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See DescribeConfigurationSets method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a DescribeConfigurationSets operation.
-// pageNum := 0
-// err := client.DescribeConfigurationSetsPages(params,
-// func(page *pinpointsmsvoicev2.DescribeConfigurationSetsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsPages(input *DescribeConfigurationSetsInput, fn func(*DescribeConfigurationSetsOutput, bool) bool) error {
- return c.DescribeConfigurationSetsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// DescribeConfigurationSetsPagesWithContext same as DescribeConfigurationSetsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsPagesWithContext(ctx aws.Context, input *DescribeConfigurationSetsInput, fn func(*DescribeConfigurationSetsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeConfigurationSetsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribeConfigurationSetsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribeConfigurationSetsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opDescribeKeywords = "DescribeKeywords"
+const opDeleteRegistration = "DeleteRegistration"
-// DescribeKeywordsRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeKeywords operation. The "output" return
+// DeleteRegistrationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteRegistration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeKeywords for more information on using the DescribeKeywords
+// See DeleteRegistration for more information on using the DeleteRegistration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeKeywordsRequest method.
-// req, resp := client.DescribeKeywordsRequest(params)
+// // Example sending a request using the DeleteRegistrationRequest method.
+// req, resp := client.DeleteRegistrationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords
-func (c *PinpointSMSVoiceV2) DescribeKeywordsRequest(input *DescribeKeywordsInput) (req *request.Request, output *DescribeKeywordsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistration
+func (c *PinpointSMSVoiceV2) DeleteRegistrationRequest(input *DeleteRegistrationInput) (req *request.Request, output *DeleteRegistrationOutput) {
op := &request.Operation{
- Name: opDescribeKeywords,
+ Name: opDeleteRegistration,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribeKeywordsInput{}
+ input = &DeleteRegistrationInput{}
}
- output = &DescribeKeywordsOutput{}
+ output = &DeleteRegistrationOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeKeywords API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Describes the specified keywords or all keywords on your origination phone
-// number or pool.
-//
-// A keyword is a word that you can search for on a particular phone number
-// or pool. It is also a specific word or phrase that an end user can send to
-// your number to elicit a response, such as an informational message or a special
-// offer. When your number receives a message that begins with a keyword, Amazon
-// Pinpoint responds with a customizable message.
+// DeleteRegistration API operation for Amazon Pinpoint SMS Voice V2.
//
-// If you specify a keyword that isn't valid, an Error is returned.
+// Permanently delete an existing registration from your account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeKeywords for usage and error information.
+// API operation DeleteRegistration for usage and error information.
//
// Returned Error Types:
//
@@ -2131,147 +1967,89 @@ func (c *PinpointSMSVoiceV2) DescribeKeywordsRequest(input *DescribeKeywordsInpu
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords
-func (c *PinpointSMSVoiceV2) DescribeKeywords(input *DescribeKeywordsInput) (*DescribeKeywordsOutput, error) {
- req, out := c.DescribeKeywordsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistration
+func (c *PinpointSMSVoiceV2) DeleteRegistration(input *DeleteRegistrationInput) (*DeleteRegistrationOutput, error) {
+ req, out := c.DeleteRegistrationRequest(input)
return out, req.Send()
}
-// DescribeKeywordsWithContext is the same as DescribeKeywords with the addition of
+// DeleteRegistrationWithContext is the same as DeleteRegistration with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeKeywords for details on how to use this API operation.
+// See DeleteRegistration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeKeywordsWithContext(ctx aws.Context, input *DescribeKeywordsInput, opts ...request.Option) (*DescribeKeywordsOutput, error) {
- req, out := c.DescribeKeywordsRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteRegistrationWithContext(ctx aws.Context, input *DeleteRegistrationInput, opts ...request.Option) (*DeleteRegistrationOutput, error) {
+ req, out := c.DeleteRegistrationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeKeywordsPages iterates over the pages of a DescribeKeywords operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See DescribeKeywords method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a DescribeKeywords operation.
-// pageNum := 0
-// err := client.DescribeKeywordsPages(params,
-// func(page *pinpointsmsvoicev2.DescribeKeywordsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribeKeywordsPages(input *DescribeKeywordsInput, fn func(*DescribeKeywordsOutput, bool) bool) error {
- return c.DescribeKeywordsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// DescribeKeywordsPagesWithContext same as DescribeKeywordsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeKeywordsPagesWithContext(ctx aws.Context, input *DescribeKeywordsInput, fn func(*DescribeKeywordsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeKeywordsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribeKeywordsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribeKeywordsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opDescribeOptOutLists = "DescribeOptOutLists"
+const opDeleteRegistrationAttachment = "DeleteRegistrationAttachment"
-// DescribeOptOutListsRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeOptOutLists operation. The "output" return
+// DeleteRegistrationAttachmentRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteRegistrationAttachment operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeOptOutLists for more information on using the DescribeOptOutLists
+// See DeleteRegistrationAttachment for more information on using the DeleteRegistrationAttachment
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeOptOutListsRequest method.
-// req, resp := client.DescribeOptOutListsRequest(params)
+// // Example sending a request using the DeleteRegistrationAttachmentRequest method.
+// req, resp := client.DeleteRegistrationAttachmentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists
-func (c *PinpointSMSVoiceV2) DescribeOptOutListsRequest(input *DescribeOptOutListsInput) (req *request.Request, output *DescribeOptOutListsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationAttachment
+func (c *PinpointSMSVoiceV2) DeleteRegistrationAttachmentRequest(input *DeleteRegistrationAttachmentInput) (req *request.Request, output *DeleteRegistrationAttachmentOutput) {
op := &request.Operation{
- Name: opDescribeOptOutLists,
+ Name: opDeleteRegistrationAttachment,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribeOptOutListsInput{}
+ input = &DeleteRegistrationAttachmentInput{}
}
- output = &DescribeOptOutListsOutput{}
+ output = &DeleteRegistrationAttachmentOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeOptOutLists API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Describes the specified opt-out list or all opt-out lists in your account.
-//
-// If you specify opt-out list names, the output includes information for only
-// the specified opt-out lists. Opt-out lists include only those that meet the
-// filter criteria. If you don't specify opt-out list names or filters, the
-// output includes information for all opt-out lists.
+// DeleteRegistrationAttachment API operation for Amazon Pinpoint SMS Voice V2.
//
-// If you specify an opt-out list name that isn't valid, an Error is returned.
+// Permanently delete the specified registration attachment.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeOptOutLists for usage and error information.
+// API operation DeleteRegistrationAttachment for usage and error information.
//
// Returned Error Types:
//
@@ -2289,149 +2067,89 @@ func (c *PinpointSMSVoiceV2) DescribeOptOutListsRequest(input *DescribeOptOutLis
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists
-func (c *PinpointSMSVoiceV2) DescribeOptOutLists(input *DescribeOptOutListsInput) (*DescribeOptOutListsOutput, error) {
- req, out := c.DescribeOptOutListsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationAttachment
+func (c *PinpointSMSVoiceV2) DeleteRegistrationAttachment(input *DeleteRegistrationAttachmentInput) (*DeleteRegistrationAttachmentOutput, error) {
+ req, out := c.DeleteRegistrationAttachmentRequest(input)
return out, req.Send()
}
-// DescribeOptOutListsWithContext is the same as DescribeOptOutLists with the addition of
+// DeleteRegistrationAttachmentWithContext is the same as DeleteRegistrationAttachment with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeOptOutLists for details on how to use this API operation.
+// See DeleteRegistrationAttachment for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeOptOutListsWithContext(ctx aws.Context, input *DescribeOptOutListsInput, opts ...request.Option) (*DescribeOptOutListsOutput, error) {
- req, out := c.DescribeOptOutListsRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteRegistrationAttachmentWithContext(ctx aws.Context, input *DeleteRegistrationAttachmentInput, opts ...request.Option) (*DeleteRegistrationAttachmentOutput, error) {
+ req, out := c.DeleteRegistrationAttachmentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeOptOutListsPages iterates over the pages of a DescribeOptOutLists operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See DescribeOptOutLists method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a DescribeOptOutLists operation.
-// pageNum := 0
-// err := client.DescribeOptOutListsPages(params,
-// func(page *pinpointsmsvoicev2.DescribeOptOutListsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribeOptOutListsPages(input *DescribeOptOutListsInput, fn func(*DescribeOptOutListsOutput, bool) bool) error {
- return c.DescribeOptOutListsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// DescribeOptOutListsPagesWithContext same as DescribeOptOutListsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeOptOutListsPagesWithContext(ctx aws.Context, input *DescribeOptOutListsInput, fn func(*DescribeOptOutListsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeOptOutListsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribeOptOutListsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribeOptOutListsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opDescribeOptedOutNumbers = "DescribeOptedOutNumbers"
+const opDeleteRegistrationFieldValue = "DeleteRegistrationFieldValue"
-// DescribeOptedOutNumbersRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeOptedOutNumbers operation. The "output" return
+// DeleteRegistrationFieldValueRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteRegistrationFieldValue operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeOptedOutNumbers for more information on using the DescribeOptedOutNumbers
+// See DeleteRegistrationFieldValue for more information on using the DeleteRegistrationFieldValue
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeOptedOutNumbersRequest method.
-// req, resp := client.DescribeOptedOutNumbersRequest(params)
+// // Example sending a request using the DeleteRegistrationFieldValueRequest method.
+// req, resp := client.DeleteRegistrationFieldValueRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers
-func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersRequest(input *DescribeOptedOutNumbersInput) (req *request.Request, output *DescribeOptedOutNumbersOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationFieldValue
+func (c *PinpointSMSVoiceV2) DeleteRegistrationFieldValueRequest(input *DeleteRegistrationFieldValueInput) (req *request.Request, output *DeleteRegistrationFieldValueOutput) {
op := &request.Operation{
- Name: opDescribeOptedOutNumbers,
+ Name: opDeleteRegistrationFieldValue,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribeOptedOutNumbersInput{}
+ input = &DeleteRegistrationFieldValueInput{}
}
- output = &DescribeOptedOutNumbersOutput{}
+ output = &DeleteRegistrationFieldValueOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeOptedOutNumbers API operation for Amazon Pinpoint SMS Voice V2.
+// DeleteRegistrationFieldValue API operation for Amazon Pinpoint SMS Voice V2.
//
-// Describes the specified opted out destination numbers or all opted out destination
-// numbers in an opt-out list.
-//
-// If you specify opted out numbers, the output includes information for only
-// the specified opted out numbers. If you specify filters, the output includes
-// information for only those opted out numbers that meet the filter criteria.
-// If you don't specify opted out numbers or filters, the output includes information
-// for all opted out destination numbers in your opt-out list.
-//
-// If you specify an opted out number that isn't valid, an Error is returned.
+// Delete the value in a registration form field.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeOptedOutNumbers for usage and error information.
+// API operation DeleteRegistrationFieldValue for usage and error information.
//
// Returned Error Types:
//
@@ -2449,149 +2167,93 @@ func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersRequest(input *DescribeOpted
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers
-func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbers(input *DescribeOptedOutNumbersInput) (*DescribeOptedOutNumbersOutput, error) {
- req, out := c.DescribeOptedOutNumbersRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteRegistrationFieldValue
+func (c *PinpointSMSVoiceV2) DeleteRegistrationFieldValue(input *DeleteRegistrationFieldValueInput) (*DeleteRegistrationFieldValueOutput, error) {
+ req, out := c.DeleteRegistrationFieldValueRequest(input)
return out, req.Send()
}
-// DescribeOptedOutNumbersWithContext is the same as DescribeOptedOutNumbers with the addition of
+// DeleteRegistrationFieldValueWithContext is the same as DeleteRegistrationFieldValue with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeOptedOutNumbers for details on how to use this API operation.
+// See DeleteRegistrationFieldValue for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersWithContext(ctx aws.Context, input *DescribeOptedOutNumbersInput, opts ...request.Option) (*DescribeOptedOutNumbersOutput, error) {
- req, out := c.DescribeOptedOutNumbersRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteRegistrationFieldValueWithContext(ctx aws.Context, input *DeleteRegistrationFieldValueInput, opts ...request.Option) (*DeleteRegistrationFieldValueOutput, error) {
+ req, out := c.DeleteRegistrationFieldValueRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeOptedOutNumbersPages iterates over the pages of a DescribeOptedOutNumbers operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See DescribeOptedOutNumbers method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a DescribeOptedOutNumbers operation.
-// pageNum := 0
-// err := client.DescribeOptedOutNumbersPages(params,
-// func(page *pinpointsmsvoicev2.DescribeOptedOutNumbersOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersPages(input *DescribeOptedOutNumbersInput, fn func(*DescribeOptedOutNumbersOutput, bool) bool) error {
- return c.DescribeOptedOutNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// DescribeOptedOutNumbersPagesWithContext same as DescribeOptedOutNumbersPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersPagesWithContext(ctx aws.Context, input *DescribeOptedOutNumbersInput, fn func(*DescribeOptedOutNumbersOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeOptedOutNumbersInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribeOptedOutNumbersRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribeOptedOutNumbersOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opDescribePhoneNumbers = "DescribePhoneNumbers"
+const opDeleteTextMessageSpendLimitOverride = "DeleteTextMessageSpendLimitOverride"
-// DescribePhoneNumbersRequest generates a "aws/request.Request" representing the
-// client's request for the DescribePhoneNumbers operation. The "output" return
+// DeleteTextMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteTextMessageSpendLimitOverride operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribePhoneNumbers for more information on using the DescribePhoneNumbers
+// See DeleteTextMessageSpendLimitOverride for more information on using the DeleteTextMessageSpendLimitOverride
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribePhoneNumbersRequest method.
-// req, resp := client.DescribePhoneNumbersRequest(params)
+// // Example sending a request using the DeleteTextMessageSpendLimitOverrideRequest method.
+// req, resp := client.DeleteTextMessageSpendLimitOverrideRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers
-func (c *PinpointSMSVoiceV2) DescribePhoneNumbersRequest(input *DescribePhoneNumbersInput) (req *request.Request, output *DescribePhoneNumbersOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest(input *DeleteTextMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteTextMessageSpendLimitOverrideOutput) {
op := &request.Operation{
- Name: opDescribePhoneNumbers,
+ Name: opDeleteTextMessageSpendLimitOverride,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribePhoneNumbersInput{}
+ input = &DeleteTextMessageSpendLimitOverrideInput{}
}
- output = &DescribePhoneNumbersOutput{}
+ output = &DeleteTextMessageSpendLimitOverrideOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribePhoneNumbers API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Describes the specified origination phone number, or all the phone numbers
-// in your account.
-//
-// If you specify phone number IDs, the output includes information for only
-// the specified phone numbers. If you specify filters, the output includes
-// information for only those phone numbers that meet the filter criteria. If
-// you don't specify phone number IDs or filters, the output includes information
-// for all phone numbers.
+// DeleteTextMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
//
-// If you specify a phone number ID that isn't valid, an Error is returned.
+// Deletes an account-level monthly spending limit override for sending text
+// messages. Deleting a spend limit override will set the EnforcedLimit to equal
+// the MaxLimit, which is controlled by Amazon Web Services. For more information
+// on spend limits (quotas) see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html)
+// in the Amazon Pinpoint Developer Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribePhoneNumbers for usage and error information.
+// API operation DeleteTextMessageSpendLimitOverride for usage and error information.
//
// Returned Error Types:
//
@@ -2603,9 +2265,6 @@ func (c *PinpointSMSVoiceV2) DescribePhoneNumbersRequest(input *DescribePhoneNum
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
@@ -2613,148 +2272,79 @@ func (c *PinpointSMSVoiceV2) DescribePhoneNumbersRequest(input *DescribePhoneNum
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers
-func (c *PinpointSMSVoiceV2) DescribePhoneNumbers(input *DescribePhoneNumbersInput) (*DescribePhoneNumbersOutput, error) {
- req, out := c.DescribePhoneNumbersRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverride(input *DeleteTextMessageSpendLimitOverrideInput) (*DeleteTextMessageSpendLimitOverrideOutput, error) {
+ req, out := c.DeleteTextMessageSpendLimitOverrideRequest(input)
return out, req.Send()
}
-// DescribePhoneNumbersWithContext is the same as DescribePhoneNumbers with the addition of
+// DeleteTextMessageSpendLimitOverrideWithContext is the same as DeleteTextMessageSpendLimitOverride with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribePhoneNumbers for details on how to use this API operation.
+// See DeleteTextMessageSpendLimitOverride for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribePhoneNumbersWithContext(ctx aws.Context, input *DescribePhoneNumbersInput, opts ...request.Option) (*DescribePhoneNumbersOutput, error) {
- req, out := c.DescribePhoneNumbersRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideWithContext(ctx aws.Context, input *DeleteTextMessageSpendLimitOverrideInput, opts ...request.Option) (*DeleteTextMessageSpendLimitOverrideOutput, error) {
+ req, out := c.DeleteTextMessageSpendLimitOverrideRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribePhoneNumbersPages iterates over the pages of a DescribePhoneNumbers operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See DescribePhoneNumbers method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a DescribePhoneNumbers operation.
-// pageNum := 0
-// err := client.DescribePhoneNumbersPages(params,
-// func(page *pinpointsmsvoicev2.DescribePhoneNumbersOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribePhoneNumbersPages(input *DescribePhoneNumbersInput, fn func(*DescribePhoneNumbersOutput, bool) bool) error {
- return c.DescribePhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// DescribePhoneNumbersPagesWithContext same as DescribePhoneNumbersPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribePhoneNumbersPagesWithContext(ctx aws.Context, input *DescribePhoneNumbersInput, fn func(*DescribePhoneNumbersOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribePhoneNumbersInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribePhoneNumbersRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribePhoneNumbersOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opDescribePools = "DescribePools"
+const opDeleteVerifiedDestinationNumber = "DeleteVerifiedDestinationNumber"
-// DescribePoolsRequest generates a "aws/request.Request" representing the
-// client's request for the DescribePools operation. The "output" return
+// DeleteVerifiedDestinationNumberRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteVerifiedDestinationNumber operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribePools for more information on using the DescribePools
+// See DeleteVerifiedDestinationNumber for more information on using the DeleteVerifiedDestinationNumber
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribePoolsRequest method.
-// req, resp := client.DescribePoolsRequest(params)
+// // Example sending a request using the DeleteVerifiedDestinationNumberRequest method.
+// req, resp := client.DeleteVerifiedDestinationNumberRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools
-func (c *PinpointSMSVoiceV2) DescribePoolsRequest(input *DescribePoolsInput) (req *request.Request, output *DescribePoolsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVerifiedDestinationNumber
+func (c *PinpointSMSVoiceV2) DeleteVerifiedDestinationNumberRequest(input *DeleteVerifiedDestinationNumberInput) (req *request.Request, output *DeleteVerifiedDestinationNumberOutput) {
op := &request.Operation{
- Name: opDescribePools,
+ Name: opDeleteVerifiedDestinationNumber,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &DescribePoolsInput{}
+ input = &DeleteVerifiedDestinationNumberInput{}
}
- output = &DescribePoolsOutput{}
+ output = &DeleteVerifiedDestinationNumberOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribePools API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Retrieves the specified pools or all pools associated with your Amazon Web
-// Services account.
-//
-// If you specify pool IDs, the output includes information for only the specified
-// pools. If you specify filters, the output includes information for only those
-// pools that meet the filter criteria. If you don't specify pool IDs or filters,
-// the output includes information for all pools.
+// DeleteVerifiedDestinationNumber API operation for Amazon Pinpoint SMS Voice V2.
//
-// If you specify a pool ID that isn't valid, an Error is returned.
-//
-// A pool is a collection of phone numbers and SenderIds. A pool can include
-// one or more phone numbers and SenderIds that are associated with your Amazon
-// Web Services account.
+// Delete a verified destination phone number.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribePools for usage and error information.
+// API operation DeleteVerifiedDestinationNumber for usage and error information.
//
// Returned Error Types:
//
@@ -2772,111 +2362,161 @@ func (c *PinpointSMSVoiceV2) DescribePoolsRequest(input *DescribePoolsInput) (re
// - ValidationException
// A validation exception for a field.
//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools
-func (c *PinpointSMSVoiceV2) DescribePools(input *DescribePoolsInput) (*DescribePoolsOutput, error) {
- req, out := c.DescribePoolsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVerifiedDestinationNumber
+func (c *PinpointSMSVoiceV2) DeleteVerifiedDestinationNumber(input *DeleteVerifiedDestinationNumberInput) (*DeleteVerifiedDestinationNumberOutput, error) {
+ req, out := c.DeleteVerifiedDestinationNumberRequest(input)
return out, req.Send()
}
-// DescribePoolsWithContext is the same as DescribePools with the addition of
+// DeleteVerifiedDestinationNumberWithContext is the same as DeleteVerifiedDestinationNumber with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribePools for details on how to use this API operation.
+// See DeleteVerifiedDestinationNumber for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribePoolsWithContext(ctx aws.Context, input *DescribePoolsInput, opts ...request.Option) (*DescribePoolsOutput, error) {
- req, out := c.DescribePoolsRequest(input)
+func (c *PinpointSMSVoiceV2) DeleteVerifiedDestinationNumberWithContext(ctx aws.Context, input *DeleteVerifiedDestinationNumberInput, opts ...request.Option) (*DeleteVerifiedDestinationNumberOutput, error) {
+ req, out := c.DeleteVerifiedDestinationNumberRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribePoolsPages iterates over the pages of a DescribePools operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
+const opDeleteVoiceMessageSpendLimitOverride = "DeleteVoiceMessageSpendLimitOverride"
+
+// DeleteVoiceMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteVoiceMessageSpendLimitOverride operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// See DescribePools method for more information on how to use this operation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// Note: This operation can generate multiple requests to a service.
+// See DeleteVoiceMessageSpendLimitOverride for more information on using the DeleteVoiceMessageSpendLimitOverride
+// API call, and error handling.
//
-// // Example iterating over at most 3 pages of a DescribePools operation.
-// pageNum := 0
-// err := client.DescribePoolsPages(params,
-// func(page *pinpointsmsvoicev2.DescribePoolsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *PinpointSMSVoiceV2) DescribePoolsPages(input *DescribePoolsInput, fn func(*DescribePoolsOutput, bool) bool) error {
- return c.DescribePoolsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteVoiceMessageSpendLimitOverrideRequest method.
+// req, resp := client.DeleteVoiceMessageSpendLimitOverrideRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideRequest(input *DeleteVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteVoiceMessageSpendLimitOverrideOutput) {
+ op := &request.Operation{
+ Name: opDeleteVoiceMessageSpendLimitOverride,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
-// DescribePoolsPagesWithContext same as DescribePoolsPages except
-// it takes a Context and allows setting request options on the pages.
+ if input == nil {
+ input = &DeleteVoiceMessageSpendLimitOverrideInput{}
+ }
+
+ output = &DeleteVoiceMessageSpendLimitOverrideOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteVoiceMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Deletes an account level monthly spend limit override for sending voice messages.
+// Deleting a spend limit override sets the EnforcedLimit equal to the MaxLimit,
+// which is controlled by Amazon Web Services. For more information on spending
+// limits (quotas) see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html)
+// in the Amazon Pinpoint Developer Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation DeleteVoiceMessageSpendLimitOverride for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverride(input *DeleteVoiceMessageSpendLimitOverrideInput) (*DeleteVoiceMessageSpendLimitOverrideOutput, error) {
+ req, out := c.DeleteVoiceMessageSpendLimitOverrideRequest(input)
+ return out, req.Send()
+}
+
+// DeleteVoiceMessageSpendLimitOverrideWithContext is the same as DeleteVoiceMessageSpendLimitOverride with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteVoiceMessageSpendLimitOverride for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribePoolsPagesWithContext(ctx aws.Context, input *DescribePoolsInput, fn func(*DescribePoolsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *DescribePoolsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.DescribePoolsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*DescribePoolsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
+func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideWithContext(ctx aws.Context, input *DeleteVoiceMessageSpendLimitOverrideInput, opts ...request.Option) (*DeleteVoiceMessageSpendLimitOverrideOutput, error) {
+ req, out := c.DeleteVoiceMessageSpendLimitOverrideRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
}
-const opDescribeSenderIds = "DescribeSenderIds"
+const opDescribeAccountAttributes = "DescribeAccountAttributes"
-// DescribeSenderIdsRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeSenderIds operation. The "output" return
+// DescribeAccountAttributesRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAccountAttributes operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeSenderIds for more information on using the DescribeSenderIds
+// See DescribeAccountAttributes for more information on using the DescribeAccountAttributes
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeSenderIdsRequest method.
-// req, resp := client.DescribeSenderIdsRequest(params)
+// // Example sending a request using the DescribeAccountAttributesRequest method.
+// req, resp := client.DescribeAccountAttributesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds
-func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsInput) (req *request.Request, output *DescribeSenderIdsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes
+func (c *PinpointSMSVoiceV2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) {
op := &request.Operation{
- Name: opDescribeSenderIds,
+ Name: opDescribeAccountAttributes,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
@@ -2888,32 +2528,32 @@ func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsIn
}
if input == nil {
- input = &DescribeSenderIdsInput{}
+ input = &DescribeAccountAttributesInput{}
}
- output = &DescribeSenderIdsOutput{}
+ output = &DescribeAccountAttributesOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeSenderIds API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Describes the specified SenderIds or all SenderIds associated with your Amazon
-// Web Services account.
+// DescribeAccountAttributes API operation for Amazon Pinpoint SMS Voice V2.
//
-// If you specify SenderIds, the output includes information for only the specified
-// SenderIds. If you specify filters, the output includes information for only
-// those SenderIds that meet the filter criteria. If you don't specify SenderIds
-// or filters, the output includes information for all SenderIds.
+// Describes attributes of your Amazon Web Services account. The supported account
+// attributes include account tier, which indicates whether your account is
+// in the sandbox or production environment. When you're ready to move your
+// account out of the sandbox, create an Amazon Web Services Support case for
+// a service limit increase request.
//
-// f you specify a sender ID that isn't valid, an Error is returned.
+// New Amazon Pinpoint accounts are placed into an SMS or voice sandbox. The
+// sandbox protects both Amazon Web Services end recipients and SMS or voice
+// recipients from fraud and abuse.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeSenderIds for usage and error information.
+// API operation DescribeAccountAttributes for usage and error information.
//
// Returned Error Types:
//
@@ -2925,9 +2565,6 @@ func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsIn
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
@@ -2935,64 +2572,64 @@ func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsIn
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds
-func (c *PinpointSMSVoiceV2) DescribeSenderIds(input *DescribeSenderIdsInput) (*DescribeSenderIdsOutput, error) {
- req, out := c.DescribeSenderIdsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes
+func (c *PinpointSMSVoiceV2) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) {
+ req, out := c.DescribeAccountAttributesRequest(input)
return out, req.Send()
}
-// DescribeSenderIdsWithContext is the same as DescribeSenderIds with the addition of
+// DescribeAccountAttributesWithContext is the same as DescribeAccountAttributes with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeSenderIds for details on how to use this API operation.
+// See DescribeAccountAttributes for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeSenderIdsWithContext(ctx aws.Context, input *DescribeSenderIdsInput, opts ...request.Option) (*DescribeSenderIdsOutput, error) {
- req, out := c.DescribeSenderIdsRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeAccountAttributesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, opts ...request.Option) (*DescribeAccountAttributesOutput, error) {
+ req, out := c.DescribeAccountAttributesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeSenderIdsPages iterates over the pages of a DescribeSenderIds operation,
+// DescribeAccountAttributesPages iterates over the pages of a DescribeAccountAttributes operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See DescribeSenderIds method for more information on how to use this operation.
+// See DescribeAccountAttributes method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a DescribeSenderIds operation.
+// // Example iterating over at most 3 pages of a DescribeAccountAttributes operation.
// pageNum := 0
-// err := client.DescribeSenderIdsPages(params,
-// func(page *pinpointsmsvoicev2.DescribeSenderIdsOutput, lastPage bool) bool {
+// err := client.DescribeAccountAttributesPages(params,
+// func(page *pinpointsmsvoicev2.DescribeAccountAttributesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *PinpointSMSVoiceV2) DescribeSenderIdsPages(input *DescribeSenderIdsInput, fn func(*DescribeSenderIdsOutput, bool) bool) error {
- return c.DescribeSenderIdsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *PinpointSMSVoiceV2) DescribeAccountAttributesPages(input *DescribeAccountAttributesInput, fn func(*DescribeAccountAttributesOutput, bool) bool) error {
+ return c.DescribeAccountAttributesPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// DescribeSenderIdsPagesWithContext same as DescribeSenderIdsPages except
+// DescribeAccountAttributesPagesWithContext same as DescribeAccountAttributesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeSenderIdsPagesWithContext(ctx aws.Context, input *DescribeSenderIdsInput, fn func(*DescribeSenderIdsOutput, bool) bool, opts ...request.Option) error {
+func (c *PinpointSMSVoiceV2) DescribeAccountAttributesPagesWithContext(ctx aws.Context, input *DescribeAccountAttributesInput, fn func(*DescribeAccountAttributesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeSenderIdsInput
+ var inCpy *DescribeAccountAttributesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.DescribeSenderIdsRequest(inCpy)
+ req, _ := c.DescribeAccountAttributesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -3000,7 +2637,7 @@ func (c *PinpointSMSVoiceV2) DescribeSenderIdsPagesWithContext(ctx aws.Context,
}
for p.Next() {
- if !fn(p.Page().(*DescribeSenderIdsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*DescribeAccountAttributesOutput), !p.HasNextPage()) {
break
}
}
@@ -3008,34 +2645,34 @@ func (c *PinpointSMSVoiceV2) DescribeSenderIdsPagesWithContext(ctx aws.Context,
return p.Err()
}
-const opDescribeSpendLimits = "DescribeSpendLimits"
+const opDescribeAccountLimits = "DescribeAccountLimits"
-// DescribeSpendLimitsRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeSpendLimits operation. The "output" return
+// DescribeAccountLimitsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAccountLimits operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeSpendLimits for more information on using the DescribeSpendLimits
+// See DescribeAccountLimits for more information on using the DescribeAccountLimits
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeSpendLimitsRequest method.
-// req, resp := client.DescribeSpendLimitsRequest(params)
+// // Example sending a request using the DescribeAccountLimitsRequest method.
+// req, resp := client.DescribeAccountLimitsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits
-func (c *PinpointSMSVoiceV2) DescribeSpendLimitsRequest(input *DescribeSpendLimitsInput) (req *request.Request, output *DescribeSpendLimitsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits
+func (c *PinpointSMSVoiceV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) {
op := &request.Operation{
- Name: opDescribeSpendLimits,
+ Name: opDescribeAccountLimits,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
@@ -3047,31 +2684,32 @@ func (c *PinpointSMSVoiceV2) DescribeSpendLimitsRequest(input *DescribeSpendLimi
}
if input == nil {
- input = &DescribeSpendLimitsInput{}
+ input = &DescribeAccountLimitsInput{}
}
- output = &DescribeSpendLimitsOutput{}
+ output = &DescribeAccountLimitsOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeSpendLimits API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeAccountLimits API operation for Amazon Pinpoint SMS Voice V2.
//
-// Describes the current Amazon Pinpoint monthly spend limits for sending voice
-// and text messages.
+// Describes the current Amazon Pinpoint SMS Voice V2 resource quotas for your
+// account. The description for a quota includes the quota name, current usage
+// toward that quota, and the quota's maximum value.
//
// When you establish an Amazon Web Services account, the account has initial
-// monthly spend limit in a given Region. For more information on increasing
-// your monthly spend limit, see Requesting increases to your monthly SMS spending
-// quota for Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-spend-threshold.html)
-// in the Amazon Pinpoint User Guide.
+// quotas on the maximum number of configuration sets, opt-out lists, phone
+// numbers, and pools that you can create in a given Region. For more information
+// see Amazon Pinpoint quotas (https://docs.aws.amazon.com/pinpoint/latest/developerguide/quotas.html)
+// in the Amazon Pinpoint Developer Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DescribeSpendLimits for usage and error information.
+// API operation DescribeAccountLimits for usage and error information.
//
// Returned Error Types:
//
@@ -3090,64 +2728,64 @@ func (c *PinpointSMSVoiceV2) DescribeSpendLimitsRequest(input *DescribeSpendLimi
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits
-func (c *PinpointSMSVoiceV2) DescribeSpendLimits(input *DescribeSpendLimitsInput) (*DescribeSpendLimitsOutput, error) {
- req, out := c.DescribeSpendLimitsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits
+func (c *PinpointSMSVoiceV2) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) {
+ req, out := c.DescribeAccountLimitsRequest(input)
return out, req.Send()
}
-// DescribeSpendLimitsWithContext is the same as DescribeSpendLimits with the addition of
+// DescribeAccountLimitsWithContext is the same as DescribeAccountLimits with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeSpendLimits for details on how to use this API operation.
+// See DescribeAccountLimits for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeSpendLimitsWithContext(ctx aws.Context, input *DescribeSpendLimitsInput, opts ...request.Option) (*DescribeSpendLimitsOutput, error) {
- req, out := c.DescribeSpendLimitsRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeAccountLimitsWithContext(ctx aws.Context, input *DescribeAccountLimitsInput, opts ...request.Option) (*DescribeAccountLimitsOutput, error) {
+ req, out := c.DescribeAccountLimitsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// DescribeSpendLimitsPages iterates over the pages of a DescribeSpendLimits operation,
+// DescribeAccountLimitsPages iterates over the pages of a DescribeAccountLimits operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See DescribeSpendLimits method for more information on how to use this operation.
+// See DescribeAccountLimits method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a DescribeSpendLimits operation.
+// // Example iterating over at most 3 pages of a DescribeAccountLimits operation.
// pageNum := 0
-// err := client.DescribeSpendLimitsPages(params,
-// func(page *pinpointsmsvoicev2.DescribeSpendLimitsOutput, lastPage bool) bool {
+// err := client.DescribeAccountLimitsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeAccountLimitsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPages(input *DescribeSpendLimitsInput, fn func(*DescribeSpendLimitsOutput, bool) bool) error {
- return c.DescribeSpendLimitsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *PinpointSMSVoiceV2) DescribeAccountLimitsPages(input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool) error {
+ return c.DescribeAccountLimitsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// DescribeSpendLimitsPagesWithContext same as DescribeSpendLimitsPages except
+// DescribeAccountLimitsPagesWithContext same as DescribeAccountLimitsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPagesWithContext(ctx aws.Context, input *DescribeSpendLimitsInput, fn func(*DescribeSpendLimitsOutput, bool) bool, opts ...request.Option) error {
+func (c *PinpointSMSVoiceV2) DescribeAccountLimitsPagesWithContext(ctx aws.Context, input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *DescribeSpendLimitsInput
+ var inCpy *DescribeAccountLimitsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.DescribeSpendLimitsRequest(inCpy)
+ req, _ := c.DescribeAccountLimitsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -3155,7 +2793,7 @@ func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPagesWithContext(ctx aws.Context
}
for p.Next() {
- if !fn(p.Page().(*DescribeSpendLimitsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*DescribeAccountLimitsOutput), !p.HasNextPage()) {
break
}
}
@@ -3163,60 +2801,71 @@ func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPagesWithContext(ctx aws.Context
return p.Err()
}
-const opDisassociateOriginationIdentity = "DisassociateOriginationIdentity"
+const opDescribeConfigurationSets = "DescribeConfigurationSets"
-// DisassociateOriginationIdentityRequest generates a "aws/request.Request" representing the
-// client's request for the DisassociateOriginationIdentity operation. The "output" return
+// DescribeConfigurationSetsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeConfigurationSets operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DisassociateOriginationIdentity for more information on using the DisassociateOriginationIdentity
+// See DescribeConfigurationSets for more information on using the DescribeConfigurationSets
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DisassociateOriginationIdentityRequest method.
-// req, resp := client.DisassociateOriginationIdentityRequest(params)
+// // Example sending a request using the DescribeConfigurationSetsRequest method.
+// req, resp := client.DescribeConfigurationSetsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity
-func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityRequest(input *DisassociateOriginationIdentityInput) (req *request.Request, output *DisassociateOriginationIdentityOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets
+func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsRequest(input *DescribeConfigurationSetsInput) (req *request.Request, output *DescribeConfigurationSetsOutput) {
op := &request.Operation{
- Name: opDisassociateOriginationIdentity,
+ Name: opDescribeConfigurationSets,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &DisassociateOriginationIdentityInput{}
+ input = &DescribeConfigurationSetsInput{}
}
- output = &DisassociateOriginationIdentityOutput{}
+ output = &DescribeConfigurationSetsOutput{}
req = c.newRequest(op, input, output)
return
}
-// DisassociateOriginationIdentity API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeConfigurationSets API operation for Amazon Pinpoint SMS Voice V2.
//
-// Removes the specified origination identity from an existing pool.
+// Describes the specified configuration sets or all in your account.
//
-// If the origination identity isn't associated with the specified pool, an
-// Error is returned.
+// If you specify configuration set names, the output includes information for
+// only the specified configuration sets. If you specify filters, the output
+// includes information for only those configuration sets that meet the filter
+// criteria. If you don't specify configuration set names or filters, the output
+// includes information for all configuration sets.
+//
+// If you specify a configuration set name that isn't valid, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation DisassociateOriginationIdentity for usage and error information.
+// API operation DescribeConfigurationSets for usage and error information.
//
// Returned Error Types:
//
@@ -3234,66 +2883,111 @@ func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityRequest(input *Disas
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity
-func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentity(input *DisassociateOriginationIdentityInput) (*DisassociateOriginationIdentityOutput, error) {
- req, out := c.DisassociateOriginationIdentityRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets
+func (c *PinpointSMSVoiceV2) DescribeConfigurationSets(input *DescribeConfigurationSetsInput) (*DescribeConfigurationSetsOutput, error) {
+ req, out := c.DescribeConfigurationSetsRequest(input)
return out, req.Send()
}
-// DisassociateOriginationIdentityWithContext is the same as DisassociateOriginationIdentity with the addition of
+// DescribeConfigurationSetsWithContext is the same as DescribeConfigurationSets with the addition of
// the ability to pass a context and additional request options.
//
-// See DisassociateOriginationIdentity for details on how to use this API operation.
+// See DescribeConfigurationSets for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityWithContext(ctx aws.Context, input *DisassociateOriginationIdentityInput, opts ...request.Option) (*DisassociateOriginationIdentityOutput, error) {
- req, out := c.DisassociateOriginationIdentityRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsWithContext(ctx aws.Context, input *DescribeConfigurationSetsInput, opts ...request.Option) (*DescribeConfigurationSetsOutput, error) {
+ req, out := c.DescribeConfigurationSetsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opListPoolOriginationIdentities = "ListPoolOriginationIdentities"
+// DescribeConfigurationSetsPages iterates over the pages of a DescribeConfigurationSets operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeConfigurationSets method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeConfigurationSets operation.
+// pageNum := 0
+// err := client.DescribeConfigurationSetsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeConfigurationSetsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsPages(input *DescribeConfigurationSetsInput, fn func(*DescribeConfigurationSetsOutput, bool) bool) error {
+ return c.DescribeConfigurationSetsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// ListPoolOriginationIdentitiesRequest generates a "aws/request.Request" representing the
-// client's request for the ListPoolOriginationIdentities operation. The "output" return
+// DescribeConfigurationSetsPagesWithContext same as DescribeConfigurationSetsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsPagesWithContext(ctx aws.Context, input *DescribeConfigurationSetsInput, fn func(*DescribeConfigurationSetsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeConfigurationSetsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeConfigurationSetsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeConfigurationSetsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeKeywords = "DescribeKeywords"
+
+// DescribeKeywordsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeKeywords operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListPoolOriginationIdentities for more information on using the ListPoolOriginationIdentities
+// See DescribeKeywords for more information on using the DescribeKeywords
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListPoolOriginationIdentitiesRequest method.
-// req, resp := client.ListPoolOriginationIdentitiesRequest(params)
+// // Example sending a request using the DescribeKeywordsRequest method.
+// req, resp := client.DescribeKeywordsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities
-func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest(input *ListPoolOriginationIdentitiesInput) (req *request.Request, output *ListPoolOriginationIdentitiesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords
+func (c *PinpointSMSVoiceV2) DescribeKeywordsRequest(input *DescribeKeywordsInput) (req *request.Request, output *DescribeKeywordsOutput) {
op := &request.Operation{
- Name: opListPoolOriginationIdentities,
+ Name: opDescribeKeywords,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
@@ -3305,27 +2999,33 @@ func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest(input *ListPoo
}
if input == nil {
- input = &ListPoolOriginationIdentitiesInput{}
+ input = &DescribeKeywordsInput{}
}
- output = &ListPoolOriginationIdentitiesOutput{}
+ output = &DescribeKeywordsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListPoolOriginationIdentities API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeKeywords API operation for Amazon Pinpoint SMS Voice V2.
//
-// Lists all associated origination identities in your pool.
+// Describes the specified keywords or all keywords on your origination phone
+// number or pool.
//
-// If you specify filters, the output includes information for only those origination
-// identities that meet the filter criteria.
+// A keyword is a word that you can search for on a particular phone number
+// or pool. It is also a specific word or phrase that an end user can send to
+// your number to elicit a response, such as an informational message or a special
+// offer. When your number receives a message that begins with a keyword, Amazon
+// Pinpoint responds with a customizable message.
+//
+// If you specify a keyword that isn't valid, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation ListPoolOriginationIdentities for usage and error information.
+// API operation DescribeKeywords for usage and error information.
//
// Returned Error Types:
//
@@ -3347,64 +3047,64 @@ func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest(input *ListPoo
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities
-func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentities(input *ListPoolOriginationIdentitiesInput) (*ListPoolOriginationIdentitiesOutput, error) {
- req, out := c.ListPoolOriginationIdentitiesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords
+func (c *PinpointSMSVoiceV2) DescribeKeywords(input *DescribeKeywordsInput) (*DescribeKeywordsOutput, error) {
+ req, out := c.DescribeKeywordsRequest(input)
return out, req.Send()
}
-// ListPoolOriginationIdentitiesWithContext is the same as ListPoolOriginationIdentities with the addition of
+// DescribeKeywordsWithContext is the same as DescribeKeywords with the addition of
// the ability to pass a context and additional request options.
//
-// See ListPoolOriginationIdentities for details on how to use this API operation.
+// See DescribeKeywords for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesWithContext(ctx aws.Context, input *ListPoolOriginationIdentitiesInput, opts ...request.Option) (*ListPoolOriginationIdentitiesOutput, error) {
- req, out := c.ListPoolOriginationIdentitiesRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeKeywordsWithContext(ctx aws.Context, input *DescribeKeywordsInput, opts ...request.Option) (*DescribeKeywordsOutput, error) {
+ req, out := c.DescribeKeywordsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListPoolOriginationIdentitiesPages iterates over the pages of a ListPoolOriginationIdentities operation,
+// DescribeKeywordsPages iterates over the pages of a DescribeKeywords operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListPoolOriginationIdentities method for more information on how to use this operation.
+// See DescribeKeywords method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListPoolOriginationIdentities operation.
+// // Example iterating over at most 3 pages of a DescribeKeywords operation.
// pageNum := 0
-// err := client.ListPoolOriginationIdentitiesPages(params,
-// func(page *pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, lastPage bool) bool {
+// err := client.DescribeKeywordsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeKeywordsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPages(input *ListPoolOriginationIdentitiesInput, fn func(*ListPoolOriginationIdentitiesOutput, bool) bool) error {
- return c.ListPoolOriginationIdentitiesPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *PinpointSMSVoiceV2) DescribeKeywordsPages(input *DescribeKeywordsInput, fn func(*DescribeKeywordsOutput, bool) bool) error {
+ return c.DescribeKeywordsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListPoolOriginationIdentitiesPagesWithContext same as ListPoolOriginationIdentitiesPages except
+// DescribeKeywordsPagesWithContext same as DescribeKeywordsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPagesWithContext(ctx aws.Context, input *ListPoolOriginationIdentitiesInput, fn func(*ListPoolOriginationIdentitiesOutput, bool) bool, opts ...request.Option) error {
+func (c *PinpointSMSVoiceV2) DescribeKeywordsPagesWithContext(ctx aws.Context, input *DescribeKeywordsInput, fn func(*DescribeKeywordsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListPoolOriginationIdentitiesInput
+ var inCpy *DescribeKeywordsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListPoolOriginationIdentitiesRequest(inCpy)
+ req, _ := c.DescribeKeywordsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -3412,7 +3112,7 @@ func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPagesWithContext(ctx a
}
for p.Next() {
- if !fn(p.Page().(*ListPoolOriginationIdentitiesOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*DescribeKeywordsOutput), !p.HasNextPage()) {
break
}
}
@@ -3420,57 +3120,70 @@ func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPagesWithContext(ctx a
return p.Err()
}
-const opListTagsForResource = "ListTagsForResource"
+const opDescribeOptOutLists = "DescribeOptOutLists"
-// ListTagsForResourceRequest generates a "aws/request.Request" representing the
-// client's request for the ListTagsForResource operation. The "output" return
+// DescribeOptOutListsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeOptOutLists operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListTagsForResource for more information on using the ListTagsForResource
+// See DescribeOptOutLists for more information on using the DescribeOptOutLists
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListTagsForResourceRequest method.
-// req, resp := client.ListTagsForResourceRequest(params)
+// // Example sending a request using the DescribeOptOutListsRequest method.
+// req, resp := client.DescribeOptOutListsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource
-func (c *PinpointSMSVoiceV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists
+func (c *PinpointSMSVoiceV2) DescribeOptOutListsRequest(input *DescribeOptOutListsInput) (req *request.Request, output *DescribeOptOutListsOutput) {
op := &request.Operation{
- Name: opListTagsForResource,
+ Name: opDescribeOptOutLists,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &ListTagsForResourceInput{}
+ input = &DescribeOptOutListsInput{}
}
- output = &ListTagsForResourceOutput{}
+ output = &DescribeOptOutListsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListTagsForResource API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeOptOutLists API operation for Amazon Pinpoint SMS Voice V2.
//
-// List all tags associated with a resource.
+// Describes the specified opt-out list or all opt-out lists in your account.
+//
+// If you specify opt-out list names, the output includes information for only
+// the specified opt-out lists. Opt-out lists include only those that meet the
+// filter criteria. If you don't specify opt-out list names or filters, the
+// output includes information for all opt-out lists.
+//
+// If you specify an opt-out list name that isn't valid, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation ListTagsForResource for usage and error information.
+// API operation DescribeOptOutLists for usage and error information.
//
// Returned Error Types:
//
@@ -3492,94 +3205,148 @@ func (c *PinpointSMSVoiceV2) ListTagsForResourceRequest(input *ListTagsForResour
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource
-func (c *PinpointSMSVoiceV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists
+func (c *PinpointSMSVoiceV2) DescribeOptOutLists(input *DescribeOptOutListsInput) (*DescribeOptOutListsOutput, error) {
+ req, out := c.DescribeOptOutListsRequest(input)
return out, req.Send()
}
-// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// DescribeOptOutListsWithContext is the same as DescribeOptOutLists with the addition of
// the ability to pass a context and additional request options.
//
-// See ListTagsForResource for details on how to use this API operation.
+// See DescribeOptOutLists for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeOptOutListsWithContext(ctx aws.Context, input *DescribeOptOutListsInput, opts ...request.Option) (*DescribeOptOutListsOutput, error) {
+ req, out := c.DescribeOptOutListsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutKeyword = "PutKeyword"
-
-// PutKeywordRequest generates a "aws/request.Request" representing the
-// client's request for the PutKeyword operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
+// DescribeOptOutListsPages iterates over the pages of a DescribeOptOutLists operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
+// See DescribeOptOutLists method for more information on how to use this operation.
//
-// See PutKeyword for more information on using the PutKeyword
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeOptOutLists operation.
+// pageNum := 0
+// err := client.DescribeOptOutListsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeOptOutListsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeOptOutListsPages(input *DescribeOptOutListsInput, fn func(*DescribeOptOutListsOutput, bool) bool) error {
+ return c.DescribeOptOutListsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribeOptOutListsPagesWithContext same as DescribeOptOutListsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeOptOutListsPagesWithContext(ctx aws.Context, input *DescribeOptOutListsInput, fn func(*DescribeOptOutListsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeOptOutListsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeOptOutListsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeOptOutListsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeOptedOutNumbers = "DescribeOptedOutNumbers"
+
+// DescribeOptedOutNumbersRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeOptedOutNumbers operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribeOptedOutNumbers for more information on using the DescribeOptedOutNumbers
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutKeywordRequest method.
-// req, resp := client.PutKeywordRequest(params)
+// // Example sending a request using the DescribeOptedOutNumbersRequest method.
+// req, resp := client.DescribeOptedOutNumbersRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword
-func (c *PinpointSMSVoiceV2) PutKeywordRequest(input *PutKeywordInput) (req *request.Request, output *PutKeywordOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers
+func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersRequest(input *DescribeOptedOutNumbersInput) (req *request.Request, output *DescribeOptedOutNumbersOutput) {
op := &request.Operation{
- Name: opPutKeyword,
+ Name: opDescribeOptedOutNumbers,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &PutKeywordInput{}
+ input = &DescribeOptedOutNumbersInput{}
}
- output = &PutKeywordOutput{}
+ output = &DescribeOptedOutNumbersOutput{}
req = c.newRequest(op, input, output)
return
}
-// PutKeyword API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeOptedOutNumbers API operation for Amazon Pinpoint SMS Voice V2.
//
-// Creates or updates a keyword configuration on an origination phone number
-// or pool.
+// Describes the specified opted out destination numbers or all opted out destination
+// numbers in an opt-out list.
//
-// A keyword is a word that you can search for on a particular phone number
-// or pool. It is also a specific word or phrase that an end user can send to
-// your number to elicit a response, such as an informational message or a special
-// offer. When your number receives a message that begins with a keyword, Amazon
-// Pinpoint responds with a customizable message.
+// If you specify opted out numbers, the output includes information for only
+// the specified opted out numbers. If you specify filters, the output includes
+// information for only those opted out numbers that meet the filter criteria.
+// If you don't specify opted out numbers or filters, the output includes information
+// for all opted out destination numbers in your opt-out list.
//
-// If you specify a keyword that isn't valid, an Error is returned.
+// If you specify an opted out number that isn't valid, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation PutKeyword for usage and error information.
+// API operation DescribeOptedOutNumbers for usage and error information.
//
// Returned Error Types:
//
-// - ServiceQuotaExceededException
-// The request would cause a service quota to be exceeded.
-//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -3594,92 +3361,149 @@ func (c *PinpointSMSVoiceV2) PutKeywordRequest(input *PutKeywordInput) (req *req
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword
-func (c *PinpointSMSVoiceV2) PutKeyword(input *PutKeywordInput) (*PutKeywordOutput, error) {
- req, out := c.PutKeywordRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers
+func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbers(input *DescribeOptedOutNumbersInput) (*DescribeOptedOutNumbersOutput, error) {
+ req, out := c.DescribeOptedOutNumbersRequest(input)
return out, req.Send()
}
-// PutKeywordWithContext is the same as PutKeyword with the addition of
+// DescribeOptedOutNumbersWithContext is the same as DescribeOptedOutNumbers with the addition of
// the ability to pass a context and additional request options.
//
-// See PutKeyword for details on how to use this API operation.
+// See DescribeOptedOutNumbers for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) PutKeywordWithContext(ctx aws.Context, input *PutKeywordInput, opts ...request.Option) (*PutKeywordOutput, error) {
- req, out := c.PutKeywordRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersWithContext(ctx aws.Context, input *DescribeOptedOutNumbersInput, opts ...request.Option) (*DescribeOptedOutNumbersOutput, error) {
+ req, out := c.DescribeOptedOutNumbersRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutOptedOutNumber = "PutOptedOutNumber"
+// DescribeOptedOutNumbersPages iterates over the pages of a DescribeOptedOutNumbers operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeOptedOutNumbers method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeOptedOutNumbers operation.
+// pageNum := 0
+// err := client.DescribeOptedOutNumbersPages(params,
+// func(page *pinpointsmsvoicev2.DescribeOptedOutNumbersOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersPages(input *DescribeOptedOutNumbersInput, fn func(*DescribeOptedOutNumbersOutput, bool) bool) error {
+ return c.DescribeOptedOutNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// PutOptedOutNumberRequest generates a "aws/request.Request" representing the
-// client's request for the PutOptedOutNumber operation. The "output" return
+// DescribeOptedOutNumbersPagesWithContext same as DescribeOptedOutNumbersPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersPagesWithContext(ctx aws.Context, input *DescribeOptedOutNumbersInput, fn func(*DescribeOptedOutNumbersOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeOptedOutNumbersInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeOptedOutNumbersRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeOptedOutNumbersOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribePhoneNumbers = "DescribePhoneNumbers"
+
+// DescribePhoneNumbersRequest generates a "aws/request.Request" representing the
+// client's request for the DescribePhoneNumbers operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PutOptedOutNumber for more information on using the PutOptedOutNumber
+// See DescribePhoneNumbers for more information on using the DescribePhoneNumbers
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutOptedOutNumberRequest method.
-// req, resp := client.PutOptedOutNumberRequest(params)
+// // Example sending a request using the DescribePhoneNumbersRequest method.
+// req, resp := client.DescribePhoneNumbersRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber
-func (c *PinpointSMSVoiceV2) PutOptedOutNumberRequest(input *PutOptedOutNumberInput) (req *request.Request, output *PutOptedOutNumberOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers
+func (c *PinpointSMSVoiceV2) DescribePhoneNumbersRequest(input *DescribePhoneNumbersInput) (req *request.Request, output *DescribePhoneNumbersOutput) {
op := &request.Operation{
- Name: opPutOptedOutNumber,
+ Name: opDescribePhoneNumbers,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &PutOptedOutNumberInput{}
+ input = &DescribePhoneNumbersInput{}
}
- output = &PutOptedOutNumberOutput{}
+ output = &DescribePhoneNumbersOutput{}
req = c.newRequest(op, input, output)
return
}
-// PutOptedOutNumber API operation for Amazon Pinpoint SMS Voice V2.
+// DescribePhoneNumbers API operation for Amazon Pinpoint SMS Voice V2.
//
-// Creates an opted out destination phone number in the opt-out list.
+// Describes the specified origination phone number, or all the phone numbers
+// in your account.
//
-// If the destination phone number isn't valid or if the specified opt-out list
-// doesn't exist, an Error is returned.
+// If you specify phone number IDs, the output includes information for only
+// the specified phone numbers. If you specify filters, the output includes
+// information for only those phone numbers that meet the filter criteria. If
+// you don't specify phone number IDs or filters, the output includes information
+// for all phone numbers.
+//
+// If you specify a phone number ID that isn't valid, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation PutOptedOutNumber for usage and error information.
+// API operation DescribePhoneNumbers for usage and error information.
//
// Returned Error Types:
//
@@ -3701,83 +3525,148 @@ func (c *PinpointSMSVoiceV2) PutOptedOutNumberRequest(input *PutOptedOutNumberIn
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber
-func (c *PinpointSMSVoiceV2) PutOptedOutNumber(input *PutOptedOutNumberInput) (*PutOptedOutNumberOutput, error) {
- req, out := c.PutOptedOutNumberRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers
+func (c *PinpointSMSVoiceV2) DescribePhoneNumbers(input *DescribePhoneNumbersInput) (*DescribePhoneNumbersOutput, error) {
+ req, out := c.DescribePhoneNumbersRequest(input)
return out, req.Send()
}
-// PutOptedOutNumberWithContext is the same as PutOptedOutNumber with the addition of
+// DescribePhoneNumbersWithContext is the same as DescribePhoneNumbers with the addition of
// the ability to pass a context and additional request options.
//
-// See PutOptedOutNumber for details on how to use this API operation.
+// See DescribePhoneNumbers for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) PutOptedOutNumberWithContext(ctx aws.Context, input *PutOptedOutNumberInput, opts ...request.Option) (*PutOptedOutNumberOutput, error) {
- req, out := c.PutOptedOutNumberRequest(input)
+func (c *PinpointSMSVoiceV2) DescribePhoneNumbersWithContext(ctx aws.Context, input *DescribePhoneNumbersInput, opts ...request.Option) (*DescribePhoneNumbersOutput, error) {
+ req, out := c.DescribePhoneNumbersRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opReleasePhoneNumber = "ReleasePhoneNumber"
-
-// ReleasePhoneNumberRequest generates a "aws/request.Request" representing the
-// client's request for the ReleasePhoneNumber operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
+// DescribePhoneNumbersPages iterates over the pages of a DescribePhoneNumbers operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
+// See DescribePhoneNumbers method for more information on how to use this operation.
//
-// See ReleasePhoneNumber for more information on using the ReleasePhoneNumber
-// API call, and error handling.
+// Note: This operation can generate multiple requests to a service.
//
-// This method is useful when you want to inject custom logic or configuration
-// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+// // Example iterating over at most 3 pages of a DescribePhoneNumbers operation.
+// pageNum := 0
+// err := client.DescribePhoneNumbersPages(params,
+// func(page *pinpointsmsvoicev2.DescribePhoneNumbersOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribePhoneNumbersPages(input *DescribePhoneNumbersInput, fn func(*DescribePhoneNumbersOutput, bool) bool) error {
+ return c.DescribePhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribePhoneNumbersPagesWithContext same as DescribePhoneNumbersPages except
+// it takes a Context and allows setting request options on the pages.
//
-// // Example sending a request using the ReleasePhoneNumberRequest method.
-// req, resp := client.ReleasePhoneNumberRequest(params)
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribePhoneNumbersPagesWithContext(ctx aws.Context, input *DescribePhoneNumbersInput, fn func(*DescribePhoneNumbersOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribePhoneNumbersInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribePhoneNumbersRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribePhoneNumbersOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribePools = "DescribePools"
+
+// DescribePoolsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribePools operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribePools for more information on using the DescribePools
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DescribePoolsRequest method.
+// req, resp := client.DescribePoolsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber
-func (c *PinpointSMSVoiceV2) ReleasePhoneNumberRequest(input *ReleasePhoneNumberInput) (req *request.Request, output *ReleasePhoneNumberOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools
+func (c *PinpointSMSVoiceV2) DescribePoolsRequest(input *DescribePoolsInput) (req *request.Request, output *DescribePoolsOutput) {
op := &request.Operation{
- Name: opReleasePhoneNumber,
+ Name: opDescribePools,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &ReleasePhoneNumberInput{}
+ input = &DescribePoolsInput{}
}
- output = &ReleasePhoneNumberOutput{}
+ output = &DescribePoolsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ReleasePhoneNumber API operation for Amazon Pinpoint SMS Voice V2.
+// DescribePools API operation for Amazon Pinpoint SMS Voice V2.
//
-// Releases an existing origination phone number in your account. Once released,
-// a phone number is no longer available for sending messages.
+// Retrieves the specified pools or all pools associated with your Amazon Web
+// Services account.
//
-// If the origination phone number has deletion protection enabled or is associated
-// with a pool, an Error is returned.
+// If you specify pool IDs, the output includes information for only the specified
+// pools. If you specify filters, the output includes information for only those
+// pools that meet the filter criteria. If you don't specify pool IDs or filters,
+// the output includes information for all pools.
+//
+// If you specify a pool ID that isn't valid, an error is returned.
+//
+// A pool is a collection of phone numbers and SenderIds. A pool can include
+// one or more phone numbers and SenderIds that are associated with your Amazon
+// Web Services account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation ReleasePhoneNumber for usage and error information.
+// API operation DescribePools for usage and error information.
//
// Returned Error Types:
//
@@ -3795,97 +3684,144 @@ func (c *PinpointSMSVoiceV2) ReleasePhoneNumberRequest(input *ReleasePhoneNumber
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber
-func (c *PinpointSMSVoiceV2) ReleasePhoneNumber(input *ReleasePhoneNumberInput) (*ReleasePhoneNumberOutput, error) {
- req, out := c.ReleasePhoneNumberRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools
+func (c *PinpointSMSVoiceV2) DescribePools(input *DescribePoolsInput) (*DescribePoolsOutput, error) {
+ req, out := c.DescribePoolsRequest(input)
return out, req.Send()
}
-// ReleasePhoneNumberWithContext is the same as ReleasePhoneNumber with the addition of
+// DescribePoolsWithContext is the same as DescribePools with the addition of
// the ability to pass a context and additional request options.
//
-// See ReleasePhoneNumber for details on how to use this API operation.
+// See DescribePools for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) ReleasePhoneNumberWithContext(ctx aws.Context, input *ReleasePhoneNumberInput, opts ...request.Option) (*ReleasePhoneNumberOutput, error) {
- req, out := c.ReleasePhoneNumberRequest(input)
+func (c *PinpointSMSVoiceV2) DescribePoolsWithContext(ctx aws.Context, input *DescribePoolsInput, opts ...request.Option) (*DescribePoolsOutput, error) {
+ req, out := c.DescribePoolsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opRequestPhoneNumber = "RequestPhoneNumber"
+// DescribePoolsPages iterates over the pages of a DescribePools operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribePools method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribePools operation.
+// pageNum := 0
+// err := client.DescribePoolsPages(params,
+// func(page *pinpointsmsvoicev2.DescribePoolsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribePoolsPages(input *DescribePoolsInput, fn func(*DescribePoolsOutput, bool) bool) error {
+ return c.DescribePoolsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// RequestPhoneNumberRequest generates a "aws/request.Request" representing the
-// client's request for the RequestPhoneNumber operation. The "output" return
+// DescribePoolsPagesWithContext same as DescribePoolsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribePoolsPagesWithContext(ctx aws.Context, input *DescribePoolsInput, fn func(*DescribePoolsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribePoolsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribePoolsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribePoolsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeRegistrationAttachments = "DescribeRegistrationAttachments"
+
+// DescribeRegistrationAttachmentsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRegistrationAttachments operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See RequestPhoneNumber for more information on using the RequestPhoneNumber
+// See DescribeRegistrationAttachments for more information on using the DescribeRegistrationAttachments
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the RequestPhoneNumberRequest method.
-// req, resp := client.RequestPhoneNumberRequest(params)
+// // Example sending a request using the DescribeRegistrationAttachmentsRequest method.
+// req, resp := client.DescribeRegistrationAttachmentsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber
-func (c *PinpointSMSVoiceV2) RequestPhoneNumberRequest(input *RequestPhoneNumberInput) (req *request.Request, output *RequestPhoneNumberOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationAttachments
+func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsRequest(input *DescribeRegistrationAttachmentsInput) (req *request.Request, output *DescribeRegistrationAttachmentsOutput) {
op := &request.Operation{
- Name: opRequestPhoneNumber,
+ Name: opDescribeRegistrationAttachments,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &RequestPhoneNumberInput{}
+ input = &DescribeRegistrationAttachmentsInput{}
}
- output = &RequestPhoneNumberOutput{}
+ output = &DescribeRegistrationAttachmentsOutput{}
req = c.newRequest(op, input, output)
return
}
-// RequestPhoneNumber API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeRegistrationAttachments API operation for Amazon Pinpoint SMS Voice V2.
//
-// Request an origination phone number for use in your account. For more information
-// on phone number request see Requesting a number (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-request-number.html)
-// in the Amazon Pinpoint User Guide.
+// Retrieves the specified registration attachments or all registration attachments
+// associated with your Amazon Web Services account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation RequestPhoneNumber for usage and error information.
+// API operation DescribeRegistrationAttachments for usage and error information.
//
// Returned Error Types:
//
-// - ServiceQuotaExceededException
-// The request would cause a service quota to be exceeded.
-//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -3900,101 +3836,145 @@ func (c *PinpointSMSVoiceV2) RequestPhoneNumberRequest(input *RequestPhoneNumber
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber
-func (c *PinpointSMSVoiceV2) RequestPhoneNumber(input *RequestPhoneNumberInput) (*RequestPhoneNumberOutput, error) {
- req, out := c.RequestPhoneNumberRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationAttachments
+func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachments(input *DescribeRegistrationAttachmentsInput) (*DescribeRegistrationAttachmentsOutput, error) {
+ req, out := c.DescribeRegistrationAttachmentsRequest(input)
return out, req.Send()
}
-// RequestPhoneNumberWithContext is the same as RequestPhoneNumber with the addition of
+// DescribeRegistrationAttachmentsWithContext is the same as DescribeRegistrationAttachments with the addition of
// the ability to pass a context and additional request options.
//
-// See RequestPhoneNumber for details on how to use this API operation.
+// See DescribeRegistrationAttachments for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) RequestPhoneNumberWithContext(ctx aws.Context, input *RequestPhoneNumberInput, opts ...request.Option) (*RequestPhoneNumberOutput, error) {
- req, out := c.RequestPhoneNumberRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsWithContext(ctx aws.Context, input *DescribeRegistrationAttachmentsInput, opts ...request.Option) (*DescribeRegistrationAttachmentsOutput, error) {
+ req, out := c.DescribeRegistrationAttachmentsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opSendTextMessage = "SendTextMessage"
+// DescribeRegistrationAttachmentsPages iterates over the pages of a DescribeRegistrationAttachments operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeRegistrationAttachments method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeRegistrationAttachments operation.
+// pageNum := 0
+// err := client.DescribeRegistrationAttachmentsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeRegistrationAttachmentsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsPages(input *DescribeRegistrationAttachmentsInput, fn func(*DescribeRegistrationAttachmentsOutput, bool) bool) error {
+ return c.DescribeRegistrationAttachmentsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// SendTextMessageRequest generates a "aws/request.Request" representing the
-// client's request for the SendTextMessage operation. The "output" return
+// DescribeRegistrationAttachmentsPagesWithContext same as DescribeRegistrationAttachmentsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeRegistrationAttachmentsPagesWithContext(ctx aws.Context, input *DescribeRegistrationAttachmentsInput, fn func(*DescribeRegistrationAttachmentsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeRegistrationAttachmentsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeRegistrationAttachmentsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeRegistrationAttachmentsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeRegistrationFieldDefinitions = "DescribeRegistrationFieldDefinitions"
+
+// DescribeRegistrationFieldDefinitionsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRegistrationFieldDefinitions operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See SendTextMessage for more information on using the SendTextMessage
+// See DescribeRegistrationFieldDefinitions for more information on using the DescribeRegistrationFieldDefinitions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the SendTextMessageRequest method.
-// req, resp := client.SendTextMessageRequest(params)
+// // Example sending a request using the DescribeRegistrationFieldDefinitionsRequest method.
+// req, resp := client.DescribeRegistrationFieldDefinitionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage
-func (c *PinpointSMSVoiceV2) SendTextMessageRequest(input *SendTextMessageInput) (req *request.Request, output *SendTextMessageOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldDefinitions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsRequest(input *DescribeRegistrationFieldDefinitionsInput) (req *request.Request, output *DescribeRegistrationFieldDefinitionsOutput) {
op := &request.Operation{
- Name: opSendTextMessage,
+ Name: opDescribeRegistrationFieldDefinitions,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &SendTextMessageInput{}
+ input = &DescribeRegistrationFieldDefinitionsInput{}
}
- output = &SendTextMessageOutput{}
+ output = &DescribeRegistrationFieldDefinitionsOutput{}
req = c.newRequest(op, input, output)
return
}
-// SendTextMessage API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeRegistrationFieldDefinitions API operation for Amazon Pinpoint SMS Voice V2.
//
-// Creates a new text message and sends it to a recipient's phone number.
-//
-// SMS throughput limits are measured in Message Parts per Second (MPS). Your
-// MPS limit depends on the destination country of your messages, as well as
-// the type of phone number (origination number) that you use to send the message.
-// For more information, see Message Parts per Second (MPS) limits (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-limitations-mps.html)
-// in the Amazon Pinpoint User Guide.
+// Retrieves the specified registration type field definitions. You can use
+// DescribeRegistrationFieldDefinitions to view the requirements for creating,
+// filling out, and submitting each registration type.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation SendTextMessage for usage and error information.
+// API operation DescribeRegistrationFieldDefinitions for usage and error information.
//
// Returned Error Types:
//
-// - ServiceQuotaExceededException
-// The request would cause a service quota to be exceeded.
-//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -4003,103 +3983,146 @@ func (c *PinpointSMSVoiceV2) SendTextMessageRequest(input *SendTextMessageInput)
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage
-func (c *PinpointSMSVoiceV2) SendTextMessage(input *SendTextMessageInput) (*SendTextMessageOutput, error) {
- req, out := c.SendTextMessageRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldDefinitions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitions(input *DescribeRegistrationFieldDefinitionsInput) (*DescribeRegistrationFieldDefinitionsOutput, error) {
+ req, out := c.DescribeRegistrationFieldDefinitionsRequest(input)
return out, req.Send()
}
-// SendTextMessageWithContext is the same as SendTextMessage with the addition of
+// DescribeRegistrationFieldDefinitionsWithContext is the same as DescribeRegistrationFieldDefinitions with the addition of
// the ability to pass a context and additional request options.
//
-// See SendTextMessage for details on how to use this API operation.
+// See DescribeRegistrationFieldDefinitions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) SendTextMessageWithContext(ctx aws.Context, input *SendTextMessageInput, opts ...request.Option) (*SendTextMessageOutput, error) {
- req, out := c.SendTextMessageRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsWithContext(ctx aws.Context, input *DescribeRegistrationFieldDefinitionsInput, opts ...request.Option) (*DescribeRegistrationFieldDefinitionsOutput, error) {
+ req, out := c.DescribeRegistrationFieldDefinitionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opSendVoiceMessage = "SendVoiceMessage"
+// DescribeRegistrationFieldDefinitionsPages iterates over the pages of a DescribeRegistrationFieldDefinitions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeRegistrationFieldDefinitions method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeRegistrationFieldDefinitions operation.
+// pageNum := 0
+// err := client.DescribeRegistrationFieldDefinitionsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsPages(input *DescribeRegistrationFieldDefinitionsInput, fn func(*DescribeRegistrationFieldDefinitionsOutput, bool) bool) error {
+ return c.DescribeRegistrationFieldDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// SendVoiceMessageRequest generates a "aws/request.Request" representing the
-// client's request for the SendVoiceMessage operation. The "output" return
+// DescribeRegistrationFieldDefinitionsPagesWithContext same as DescribeRegistrationFieldDefinitionsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldDefinitionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationFieldDefinitionsInput, fn func(*DescribeRegistrationFieldDefinitionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeRegistrationFieldDefinitionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeRegistrationFieldDefinitionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeRegistrationFieldDefinitionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeRegistrationFieldValues = "DescribeRegistrationFieldValues"
+
+// DescribeRegistrationFieldValuesRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRegistrationFieldValues operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See SendVoiceMessage for more information on using the SendVoiceMessage
+// See DescribeRegistrationFieldValues for more information on using the DescribeRegistrationFieldValues
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the SendVoiceMessageRequest method.
-// req, resp := client.SendVoiceMessageRequest(params)
+// // Example sending a request using the DescribeRegistrationFieldValuesRequest method.
+// req, resp := client.DescribeRegistrationFieldValuesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage
-func (c *PinpointSMSVoiceV2) SendVoiceMessageRequest(input *SendVoiceMessageInput) (req *request.Request, output *SendVoiceMessageOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldValues
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesRequest(input *DescribeRegistrationFieldValuesInput) (req *request.Request, output *DescribeRegistrationFieldValuesOutput) {
op := &request.Operation{
- Name: opSendVoiceMessage,
+ Name: opDescribeRegistrationFieldValues,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &SendVoiceMessageInput{}
+ input = &DescribeRegistrationFieldValuesInput{}
}
- output = &SendVoiceMessageOutput{}
+ output = &DescribeRegistrationFieldValuesOutput{}
req = c.newRequest(op, input, output)
return
}
-// SendVoiceMessage API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeRegistrationFieldValues API operation for Amazon Pinpoint SMS Voice V2.
//
-// Allows you to send a request that sends a text message through Amazon Pinpoint.
-// This operation uses Amazon Polly (http://aws.amazon.com/polly/) to convert
-// a text script into a voice message.
+// Retrieves the specified registration field values.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation SendVoiceMessage for usage and error information.
+// API operation DescribeRegistrationFieldValues for usage and error information.
//
// Returned Error Types:
//
-// - ServiceQuotaExceededException
-// The request would cause a service quota to be exceeded.
-//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -4114,95 +4137,142 @@ func (c *PinpointSMSVoiceV2) SendVoiceMessageRequest(input *SendVoiceMessageInpu
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage
-func (c *PinpointSMSVoiceV2) SendVoiceMessage(input *SendVoiceMessageInput) (*SendVoiceMessageOutput, error) {
- req, out := c.SendVoiceMessageRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationFieldValues
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValues(input *DescribeRegistrationFieldValuesInput) (*DescribeRegistrationFieldValuesOutput, error) {
+ req, out := c.DescribeRegistrationFieldValuesRequest(input)
return out, req.Send()
}
-// SendVoiceMessageWithContext is the same as SendVoiceMessage with the addition of
+// DescribeRegistrationFieldValuesWithContext is the same as DescribeRegistrationFieldValues with the addition of
// the ability to pass a context and additional request options.
//
-// See SendVoiceMessage for details on how to use this API operation.
+// See DescribeRegistrationFieldValues for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) SendVoiceMessageWithContext(ctx aws.Context, input *SendVoiceMessageInput, opts ...request.Option) (*SendVoiceMessageOutput, error) {
- req, out := c.SendVoiceMessageRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesWithContext(ctx aws.Context, input *DescribeRegistrationFieldValuesInput, opts ...request.Option) (*DescribeRegistrationFieldValuesOutput, error) {
+ req, out := c.DescribeRegistrationFieldValuesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opSetDefaultMessageType = "SetDefaultMessageType"
+// DescribeRegistrationFieldValuesPages iterates over the pages of a DescribeRegistrationFieldValues operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeRegistrationFieldValues method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeRegistrationFieldValues operation.
+// pageNum := 0
+// err := client.DescribeRegistrationFieldValuesPages(params,
+// func(page *pinpointsmsvoicev2.DescribeRegistrationFieldValuesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesPages(input *DescribeRegistrationFieldValuesInput, fn func(*DescribeRegistrationFieldValuesOutput, bool) bool) error {
+ return c.DescribeRegistrationFieldValuesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// SetDefaultMessageTypeRequest generates a "aws/request.Request" representing the
-// client's request for the SetDefaultMessageType operation. The "output" return
+// DescribeRegistrationFieldValuesPagesWithContext same as DescribeRegistrationFieldValuesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeRegistrationFieldValuesPagesWithContext(ctx aws.Context, input *DescribeRegistrationFieldValuesInput, fn func(*DescribeRegistrationFieldValuesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeRegistrationFieldValuesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeRegistrationFieldValuesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeRegistrationFieldValuesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeRegistrationSectionDefinitions = "DescribeRegistrationSectionDefinitions"
+
+// DescribeRegistrationSectionDefinitionsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRegistrationSectionDefinitions operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See SetDefaultMessageType for more information on using the SetDefaultMessageType
+// See DescribeRegistrationSectionDefinitions for more information on using the DescribeRegistrationSectionDefinitions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the SetDefaultMessageTypeRequest method.
-// req, resp := client.SetDefaultMessageTypeRequest(params)
+// // Example sending a request using the DescribeRegistrationSectionDefinitionsRequest method.
+// req, resp := client.DescribeRegistrationSectionDefinitionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType
-func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeRequest(input *SetDefaultMessageTypeInput) (req *request.Request, output *SetDefaultMessageTypeOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationSectionDefinitions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsRequest(input *DescribeRegistrationSectionDefinitionsInput) (req *request.Request, output *DescribeRegistrationSectionDefinitionsOutput) {
op := &request.Operation{
- Name: opSetDefaultMessageType,
+ Name: opDescribeRegistrationSectionDefinitions,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &SetDefaultMessageTypeInput{}
+ input = &DescribeRegistrationSectionDefinitionsInput{}
}
- output = &SetDefaultMessageTypeOutput{}
+ output = &DescribeRegistrationSectionDefinitionsOutput{}
req = c.newRequest(op, input, output)
return
}
-// SetDefaultMessageType API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeRegistrationSectionDefinitions API operation for Amazon Pinpoint SMS Voice V2.
//
-// Sets the default message type on a configuration set.
-//
-// Choose the category of SMS messages that you plan to send from this account.
-// If you send account-related messages or time-sensitive messages such as one-time
-// passcodes, choose Transactional. If you plan to send messages that contain
-// marketing material or other promotional content, choose Promotional. This
-// setting applies to your entire Amazon Web Services account.
+// Retrieves the specified registration section definitions. You can use DescribeRegistrationSectionDefinitions
+// to view the requirements for creating, filling out, and submitting each registration
+// type.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation SetDefaultMessageType for usage and error information.
+// API operation DescribeRegistrationSectionDefinitions for usage and error information.
//
// Returned Error Types:
//
@@ -4214,9 +4284,6 @@ func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeRequest(input *SetDefaultMessa
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
@@ -4224,84 +4291,138 @@ func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeRequest(input *SetDefaultMessa
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType
-func (c *PinpointSMSVoiceV2) SetDefaultMessageType(input *SetDefaultMessageTypeInput) (*SetDefaultMessageTypeOutput, error) {
- req, out := c.SetDefaultMessageTypeRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationSectionDefinitions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitions(input *DescribeRegistrationSectionDefinitionsInput) (*DescribeRegistrationSectionDefinitionsOutput, error) {
+ req, out := c.DescribeRegistrationSectionDefinitionsRequest(input)
return out, req.Send()
}
-// SetDefaultMessageTypeWithContext is the same as SetDefaultMessageType with the addition of
+// DescribeRegistrationSectionDefinitionsWithContext is the same as DescribeRegistrationSectionDefinitions with the addition of
// the ability to pass a context and additional request options.
//
-// See SetDefaultMessageType for details on how to use this API operation.
+// See DescribeRegistrationSectionDefinitions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeWithContext(ctx aws.Context, input *SetDefaultMessageTypeInput, opts ...request.Option) (*SetDefaultMessageTypeOutput, error) {
- req, out := c.SetDefaultMessageTypeRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsWithContext(ctx aws.Context, input *DescribeRegistrationSectionDefinitionsInput, opts ...request.Option) (*DescribeRegistrationSectionDefinitionsOutput, error) {
+ req, out := c.DescribeRegistrationSectionDefinitionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opSetDefaultSenderId = "SetDefaultSenderId"
+// DescribeRegistrationSectionDefinitionsPages iterates over the pages of a DescribeRegistrationSectionDefinitions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeRegistrationSectionDefinitions method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeRegistrationSectionDefinitions operation.
+// pageNum := 0
+// err := client.DescribeRegistrationSectionDefinitionsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsPages(input *DescribeRegistrationSectionDefinitionsInput, fn func(*DescribeRegistrationSectionDefinitionsOutput, bool) bool) error {
+ return c.DescribeRegistrationSectionDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// SetDefaultSenderIdRequest generates a "aws/request.Request" representing the
-// client's request for the SetDefaultSenderId operation. The "output" return
+// DescribeRegistrationSectionDefinitionsPagesWithContext same as DescribeRegistrationSectionDefinitionsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeRegistrationSectionDefinitionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationSectionDefinitionsInput, fn func(*DescribeRegistrationSectionDefinitionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeRegistrationSectionDefinitionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeRegistrationSectionDefinitionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeRegistrationSectionDefinitionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeRegistrationTypeDefinitions = "DescribeRegistrationTypeDefinitions"
+
+// DescribeRegistrationTypeDefinitionsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRegistrationTypeDefinitions operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See SetDefaultSenderId for more information on using the SetDefaultSenderId
+// See DescribeRegistrationTypeDefinitions for more information on using the DescribeRegistrationTypeDefinitions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the SetDefaultSenderIdRequest method.
-// req, resp := client.SetDefaultSenderIdRequest(params)
+// // Example sending a request using the DescribeRegistrationTypeDefinitionsRequest method.
+// req, resp := client.DescribeRegistrationTypeDefinitionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId
-func (c *PinpointSMSVoiceV2) SetDefaultSenderIdRequest(input *SetDefaultSenderIdInput) (req *request.Request, output *SetDefaultSenderIdOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationTypeDefinitions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsRequest(input *DescribeRegistrationTypeDefinitionsInput) (req *request.Request, output *DescribeRegistrationTypeDefinitionsOutput) {
op := &request.Operation{
- Name: opSetDefaultSenderId,
+ Name: opDescribeRegistrationTypeDefinitions,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &SetDefaultSenderIdInput{}
+ input = &DescribeRegistrationTypeDefinitionsInput{}
}
- output = &SetDefaultSenderIdOutput{}
+ output = &DescribeRegistrationTypeDefinitionsOutput{}
req = c.newRequest(op, input, output)
return
}
-// SetDefaultSenderId API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Sets default sender ID on a configuration set.
+// DescribeRegistrationTypeDefinitions API operation for Amazon Pinpoint SMS Voice V2.
//
-// When sending a text message to a destination country that supports sender
-// IDs, the default sender ID on the configuration set specified will be used
-// if no dedicated origination phone numbers or registered sender IDs are available
-// in your account.
+// Retrieves the specified registration type definitions. You can use DescribeRegistrationTypeDefinitions
+// to view the requirements for creating, filling out, and submitting each registration
+// type.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation SetDefaultSenderId for usage and error information.
+// API operation DescribeRegistrationTypeDefinitions for usage and error information.
//
// Returned Error Types:
//
@@ -4313,9 +4434,6 @@ func (c *PinpointSMSVoiceV2) SetDefaultSenderIdRequest(input *SetDefaultSenderId
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
@@ -4323,81 +4441,136 @@ func (c *PinpointSMSVoiceV2) SetDefaultSenderIdRequest(input *SetDefaultSenderId
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId
-func (c *PinpointSMSVoiceV2) SetDefaultSenderId(input *SetDefaultSenderIdInput) (*SetDefaultSenderIdOutput, error) {
- req, out := c.SetDefaultSenderIdRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationTypeDefinitions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitions(input *DescribeRegistrationTypeDefinitionsInput) (*DescribeRegistrationTypeDefinitionsOutput, error) {
+ req, out := c.DescribeRegistrationTypeDefinitionsRequest(input)
return out, req.Send()
}
-// SetDefaultSenderIdWithContext is the same as SetDefaultSenderId with the addition of
+// DescribeRegistrationTypeDefinitionsWithContext is the same as DescribeRegistrationTypeDefinitions with the addition of
// the ability to pass a context and additional request options.
//
-// See SetDefaultSenderId for details on how to use this API operation.
+// See DescribeRegistrationTypeDefinitions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) SetDefaultSenderIdWithContext(ctx aws.Context, input *SetDefaultSenderIdInput, opts ...request.Option) (*SetDefaultSenderIdOutput, error) {
- req, out := c.SetDefaultSenderIdRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsWithContext(ctx aws.Context, input *DescribeRegistrationTypeDefinitionsInput, opts ...request.Option) (*DescribeRegistrationTypeDefinitionsOutput, error) {
+ req, out := c.DescribeRegistrationTypeDefinitionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opSetTextMessageSpendLimitOverride = "SetTextMessageSpendLimitOverride"
-
-// SetTextMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
-// client's request for the SetTextMessageSpendLimitOverride operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
+// DescribeRegistrationTypeDefinitionsPages iterates over the pages of a DescribeRegistrationTypeDefinitions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
+// See DescribeRegistrationTypeDefinitions method for more information on how to use this operation.
//
-// See SetTextMessageSpendLimitOverride for more information on using the SetTextMessageSpendLimitOverride
-// API call, and error handling.
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeRegistrationTypeDefinitions operation.
+// pageNum := 0
+// err := client.DescribeRegistrationTypeDefinitionsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsPages(input *DescribeRegistrationTypeDefinitionsInput, fn func(*DescribeRegistrationTypeDefinitionsOutput, bool) bool) error {
+ return c.DescribeRegistrationTypeDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribeRegistrationTypeDefinitionsPagesWithContext same as DescribeRegistrationTypeDefinitionsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeRegistrationTypeDefinitionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationTypeDefinitionsInput, fn func(*DescribeRegistrationTypeDefinitionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeRegistrationTypeDefinitionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeRegistrationTypeDefinitionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeRegistrationTypeDefinitionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeRegistrationVersions = "DescribeRegistrationVersions"
+
+// DescribeRegistrationVersionsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRegistrationVersions operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribeRegistrationVersions for more information on using the DescribeRegistrationVersions
+// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the SetTextMessageSpendLimitOverrideRequest method.
-// req, resp := client.SetTextMessageSpendLimitOverrideRequest(params)
+// // Example sending a request using the DescribeRegistrationVersionsRequest method.
+// req, resp := client.DescribeRegistrationVersionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest(input *SetTextMessageSpendLimitOverrideInput) (req *request.Request, output *SetTextMessageSpendLimitOverrideOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationVersions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsRequest(input *DescribeRegistrationVersionsInput) (req *request.Request, output *DescribeRegistrationVersionsOutput) {
op := &request.Operation{
- Name: opSetTextMessageSpendLimitOverride,
+ Name: opDescribeRegistrationVersions,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &SetTextMessageSpendLimitOverrideInput{}
+ input = &DescribeRegistrationVersionsInput{}
}
- output = &SetTextMessageSpendLimitOverrideOutput{}
+ output = &DescribeRegistrationVersionsOutput{}
req = c.newRequest(op, input, output)
return
}
-// SetTextMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeRegistrationVersions API operation for Amazon Pinpoint SMS Voice V2.
//
-// Sets an account level monthly spend limit override for sending text messages.
-// The requested spend limit must be less than or equal to the MaxLimit, which
-// is set by Amazon Web Services.
+// Retrieves the specified registration version.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation SetTextMessageSpendLimitOverride for usage and error information.
+// API operation DescribeRegistrationVersions for usage and error information.
//
// Returned Error Types:
//
@@ -4409,6 +4582,9 @@ func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest(input *SetT
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
// - ValidationException
// A validation exception for a field.
//
@@ -4416,81 +4592,136 @@ func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest(input *SetT
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverride(input *SetTextMessageSpendLimitOverrideInput) (*SetTextMessageSpendLimitOverrideOutput, error) {
- req, out := c.SetTextMessageSpendLimitOverrideRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrationVersions
+func (c *PinpointSMSVoiceV2) DescribeRegistrationVersions(input *DescribeRegistrationVersionsInput) (*DescribeRegistrationVersionsOutput, error) {
+ req, out := c.DescribeRegistrationVersionsRequest(input)
return out, req.Send()
}
-// SetTextMessageSpendLimitOverrideWithContext is the same as SetTextMessageSpendLimitOverride with the addition of
+// DescribeRegistrationVersionsWithContext is the same as DescribeRegistrationVersions with the addition of
// the ability to pass a context and additional request options.
//
-// See SetTextMessageSpendLimitOverride for details on how to use this API operation.
+// See DescribeRegistrationVersions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideWithContext(ctx aws.Context, input *SetTextMessageSpendLimitOverrideInput, opts ...request.Option) (*SetTextMessageSpendLimitOverrideOutput, error) {
- req, out := c.SetTextMessageSpendLimitOverrideRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsWithContext(ctx aws.Context, input *DescribeRegistrationVersionsInput, opts ...request.Option) (*DescribeRegistrationVersionsOutput, error) {
+ req, out := c.DescribeRegistrationVersionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opSetVoiceMessageSpendLimitOverride = "SetVoiceMessageSpendLimitOverride"
+// DescribeRegistrationVersionsPages iterates over the pages of a DescribeRegistrationVersions operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeRegistrationVersions method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeRegistrationVersions operation.
+// pageNum := 0
+// err := client.DescribeRegistrationVersionsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeRegistrationVersionsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsPages(input *DescribeRegistrationVersionsInput, fn func(*DescribeRegistrationVersionsOutput, bool) bool) error {
+ return c.DescribeRegistrationVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// SetVoiceMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
-// client's request for the SetVoiceMessageSpendLimitOverride operation. The "output" return
+// DescribeRegistrationVersionsPagesWithContext same as DescribeRegistrationVersionsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeRegistrationVersionsPagesWithContext(ctx aws.Context, input *DescribeRegistrationVersionsInput, fn func(*DescribeRegistrationVersionsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeRegistrationVersionsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeRegistrationVersionsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeRegistrationVersionsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeRegistrations = "DescribeRegistrations"
+
+// DescribeRegistrationsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRegistrations operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See SetVoiceMessageSpendLimitOverride for more information on using the SetVoiceMessageSpendLimitOverride
+// See DescribeRegistrations for more information on using the DescribeRegistrations
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the SetVoiceMessageSpendLimitOverrideRequest method.
-// req, resp := client.SetVoiceMessageSpendLimitOverrideRequest(params)
+// // Example sending a request using the DescribeRegistrationsRequest method.
+// req, resp := client.DescribeRegistrationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest(input *SetVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *SetVoiceMessageSpendLimitOverrideOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrations
+func (c *PinpointSMSVoiceV2) DescribeRegistrationsRequest(input *DescribeRegistrationsInput) (req *request.Request, output *DescribeRegistrationsOutput) {
op := &request.Operation{
- Name: opSetVoiceMessageSpendLimitOverride,
+ Name: opDescribeRegistrations,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &SetVoiceMessageSpendLimitOverrideInput{}
+ input = &DescribeRegistrationsInput{}
}
- output = &SetVoiceMessageSpendLimitOverrideOutput{}
+ output = &DescribeRegistrationsOutput{}
req = c.newRequest(op, input, output)
return
}
-// SetVoiceMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeRegistrations API operation for Amazon Pinpoint SMS Voice V2.
//
-// Sets an account level monthly spend limit override for sending voice messages.
-// The requested spend limit must be less than or equal to the MaxLimit, which
-// is set by Amazon Web Services.
+// Retrieves the specified registrations.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation SetVoiceMessageSpendLimitOverride for usage and error information.
+// API operation DescribeRegistrations for usage and error information.
//
// Returned Error Types:
//
@@ -4502,6 +4733,9 @@ func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest(input *Set
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
// - ValidationException
// A validation exception for a field.
//
@@ -4509,92 +4743,147 @@ func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest(input *Set
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride
-func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverride(input *SetVoiceMessageSpendLimitOverrideInput) (*SetVoiceMessageSpendLimitOverrideOutput, error) {
- req, out := c.SetVoiceMessageSpendLimitOverrideRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeRegistrations
+func (c *PinpointSMSVoiceV2) DescribeRegistrations(input *DescribeRegistrationsInput) (*DescribeRegistrationsOutput, error) {
+ req, out := c.DescribeRegistrationsRequest(input)
return out, req.Send()
}
-// SetVoiceMessageSpendLimitOverrideWithContext is the same as SetVoiceMessageSpendLimitOverride with the addition of
+// DescribeRegistrationsWithContext is the same as DescribeRegistrations with the addition of
// the ability to pass a context and additional request options.
//
-// See SetVoiceMessageSpendLimitOverride for details on how to use this API operation.
+// See DescribeRegistrations for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideWithContext(ctx aws.Context, input *SetVoiceMessageSpendLimitOverrideInput, opts ...request.Option) (*SetVoiceMessageSpendLimitOverrideOutput, error) {
- req, out := c.SetVoiceMessageSpendLimitOverrideRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeRegistrationsWithContext(ctx aws.Context, input *DescribeRegistrationsInput, opts ...request.Option) (*DescribeRegistrationsOutput, error) {
+ req, out := c.DescribeRegistrationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opTagResource = "TagResource"
+// DescribeRegistrationsPages iterates over the pages of a DescribeRegistrations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeRegistrations method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeRegistrations operation.
+// pageNum := 0
+// err := client.DescribeRegistrationsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeRegistrationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeRegistrationsPages(input *DescribeRegistrationsInput, fn func(*DescribeRegistrationsOutput, bool) bool) error {
+ return c.DescribeRegistrationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// TagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the TagResource operation. The "output" return
+// DescribeRegistrationsPagesWithContext same as DescribeRegistrationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeRegistrationsPagesWithContext(ctx aws.Context, input *DescribeRegistrationsInput, fn func(*DescribeRegistrationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeRegistrationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeRegistrationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeRegistrationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeSenderIds = "DescribeSenderIds"
+
+// DescribeSenderIdsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeSenderIds operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See TagResource for more information on using the TagResource
+// See DescribeSenderIds for more information on using the DescribeSenderIds
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the TagResourceRequest method.
-// req, resp := client.TagResourceRequest(params)
+// // Example sending a request using the DescribeSenderIdsRequest method.
+// req, resp := client.DescribeSenderIdsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource
-func (c *PinpointSMSVoiceV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds
+func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsInput) (req *request.Request, output *DescribeSenderIdsOutput) {
op := &request.Operation{
- Name: opTagResource,
+ Name: opDescribeSenderIds,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &TagResourceInput{}
+ input = &DescribeSenderIdsInput{}
}
- output = &TagResourceOutput{}
+ output = &DescribeSenderIdsOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// TagResource API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeSenderIds API operation for Amazon Pinpoint SMS Voice V2.
//
-// Adds or overwrites only the specified tags for the specified Amazon Pinpoint
-// SMS Voice, version 2 resource. When you specify an existing tag key, the
-// value is overwritten with the new value. Each resource can have a maximum
-// of 50 tags. Each tag consists of a key and an optional value. Tag keys must
-// be unique per resource. For more information about tags, see Tagging Amazon
-// Pinpoint resources (https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html)
-// in the Amazon Pinpoint Developer Guide.
+// Describes the specified SenderIds or all SenderIds associated with your Amazon
+// Web Services account.
+//
+// If you specify SenderIds, the output includes information for only the specified
+// SenderIds. If you specify filters, the output includes information for only
+// those SenderIds that meet the filter criteria. If you don't specify SenderIds
+// or filters, the output includes information for all SenderIds.
+//
+// f you specify a sender ID that isn't valid, an error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation TagResource for usage and error information.
+// API operation DescribeSenderIds for usage and error information.
//
// Returned Error Types:
//
-// - ServiceQuotaExceededException
-// The request would cause a service quota to be exceeded.
-//
// - ThrottlingException
// An error that occurred because too many requests were sent during a certain
// amount of time.
@@ -4613,83 +4902,143 @@ func (c *PinpointSMSVoiceV2) TagResourceRequest(input *TagResourceInput) (req *r
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource
-func (c *PinpointSMSVoiceV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds
+func (c *PinpointSMSVoiceV2) DescribeSenderIds(input *DescribeSenderIdsInput) (*DescribeSenderIdsOutput, error) {
+ req, out := c.DescribeSenderIdsRequest(input)
return out, req.Send()
}
-// TagResourceWithContext is the same as TagResource with the addition of
+// DescribeSenderIdsWithContext is the same as DescribeSenderIds with the addition of
// the ability to pass a context and additional request options.
//
-// See TagResource for details on how to use this API operation.
+// See DescribeSenderIds for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeSenderIdsWithContext(ctx aws.Context, input *DescribeSenderIdsInput, opts ...request.Option) (*DescribeSenderIdsOutput, error) {
+ req, out := c.DescribeSenderIdsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUntagResource = "UntagResource"
-
-// UntagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the UntagResource operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
+// DescribeSenderIdsPages iterates over the pages of a DescribeSenderIds operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
//
-// Use "Send" method on the returned Request to send the API call to the service.
+// See DescribeSenderIds method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeSenderIds operation.
+// pageNum := 0
+// err := client.DescribeSenderIdsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeSenderIdsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeSenderIdsPages(input *DescribeSenderIdsInput, fn func(*DescribeSenderIdsOutput, bool) bool) error {
+ return c.DescribeSenderIdsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// DescribeSenderIdsPagesWithContext same as DescribeSenderIdsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeSenderIdsPagesWithContext(ctx aws.Context, input *DescribeSenderIdsInput, fn func(*DescribeSenderIdsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeSenderIdsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeSenderIdsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeSenderIdsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeSpendLimits = "DescribeSpendLimits"
+
+// DescribeSpendLimitsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeSpendLimits operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UntagResource for more information on using the UntagResource
+// See DescribeSpendLimits for more information on using the DescribeSpendLimits
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UntagResourceRequest method.
-// req, resp := client.UntagResourceRequest(params)
+// // Example sending a request using the DescribeSpendLimitsRequest method.
+// req, resp := client.DescribeSpendLimitsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource
-func (c *PinpointSMSVoiceV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits
+func (c *PinpointSMSVoiceV2) DescribeSpendLimitsRequest(input *DescribeSpendLimitsInput) (req *request.Request, output *DescribeSpendLimitsOutput) {
op := &request.Operation{
- Name: opUntagResource,
+ Name: opDescribeSpendLimits,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &UntagResourceInput{}
+ input = &DescribeSpendLimitsInput{}
}
- output = &UntagResourceOutput{}
+ output = &DescribeSpendLimitsOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// UntagResource API operation for Amazon Pinpoint SMS Voice V2.
+// DescribeSpendLimits API operation for Amazon Pinpoint SMS Voice V2.
//
-// Removes the association of the specified tags from an Amazon Pinpoint SMS
-// Voice V2 resource. For more information on tags see Tagging Amazon Pinpoint
-// resources (https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html)
-// in the Amazon Pinpoint Developer Guide.
+// Describes the current Amazon Pinpoint monthly spend limits for sending voice
+// and text messages.
+//
+// When you establish an Amazon Web Services account, the account has initial
+// monthly spend limit in a given Region. For more information on increasing
+// your monthly spend limit, see Requesting increases to your monthly SMS spending
+// quota for Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-awssupport-spend-threshold.html)
+// in the Amazon Pinpoint User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation UntagResource for usage and error information.
+// API operation DescribeSpendLimits for usage and error information.
//
// Returned Error Types:
//
@@ -4701,9 +5050,6 @@ func (c *PinpointSMSVoiceV2) UntagResourceRequest(input *UntagResourceInput) (re
// The request was denied because you don't have sufficient permissions to access
// the resource.
//
-// - ResourceNotFoundException
-// A requested resource couldn't be found.
-//
// - ValidationException
// A validation exception for a field.
//
@@ -4711,86 +5057,136 @@ func (c *PinpointSMSVoiceV2) UntagResourceRequest(input *UntagResourceInput) (re
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource
-func (c *PinpointSMSVoiceV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits
+func (c *PinpointSMSVoiceV2) DescribeSpendLimits(input *DescribeSpendLimitsInput) (*DescribeSpendLimitsOutput, error) {
+ req, out := c.DescribeSpendLimitsRequest(input)
return out, req.Send()
}
-// UntagResourceWithContext is the same as UntagResource with the addition of
+// DescribeSpendLimitsWithContext is the same as DescribeSpendLimits with the addition of
// the ability to pass a context and additional request options.
//
-// See UntagResource for details on how to use this API operation.
+// See DescribeSpendLimits for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeSpendLimitsWithContext(ctx aws.Context, input *DescribeSpendLimitsInput, opts ...request.Option) (*DescribeSpendLimitsOutput, error) {
+ req, out := c.DescribeSpendLimitsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateEventDestination = "UpdateEventDestination"
+// DescribeSpendLimitsPages iterates over the pages of a DescribeSpendLimits operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeSpendLimits method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeSpendLimits operation.
+// pageNum := 0
+// err := client.DescribeSpendLimitsPages(params,
+// func(page *pinpointsmsvoicev2.DescribeSpendLimitsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPages(input *DescribeSpendLimitsInput, fn func(*DescribeSpendLimitsOutput, bool) bool) error {
+ return c.DescribeSpendLimitsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// UpdateEventDestinationRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateEventDestination operation. The "output" return
+// DescribeSpendLimitsPagesWithContext same as DescribeSpendLimitsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPagesWithContext(ctx aws.Context, input *DescribeSpendLimitsInput, fn func(*DescribeSpendLimitsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeSpendLimitsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeSpendLimitsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeSpendLimitsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDescribeVerifiedDestinationNumbers = "DescribeVerifiedDestinationNumbers"
+
+// DescribeVerifiedDestinationNumbersRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeVerifiedDestinationNumbers operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateEventDestination for more information on using the UpdateEventDestination
+// See DescribeVerifiedDestinationNumbers for more information on using the DescribeVerifiedDestinationNumbers
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateEventDestinationRequest method.
-// req, resp := client.UpdateEventDestinationRequest(params)
+// // Example sending a request using the DescribeVerifiedDestinationNumbersRequest method.
+// req, resp := client.DescribeVerifiedDestinationNumbersRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination
-func (c *PinpointSMSVoiceV2) UpdateEventDestinationRequest(input *UpdateEventDestinationInput) (req *request.Request, output *UpdateEventDestinationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeVerifiedDestinationNumbers
+func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersRequest(input *DescribeVerifiedDestinationNumbersInput) (req *request.Request, output *DescribeVerifiedDestinationNumbersOutput) {
op := &request.Operation{
- Name: opUpdateEventDestination,
+ Name: opDescribeVerifiedDestinationNumbers,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &UpdateEventDestinationInput{}
+ input = &DescribeVerifiedDestinationNumbersInput{}
}
- output = &UpdateEventDestinationOutput{}
+ output = &DescribeVerifiedDestinationNumbersOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateEventDestination API operation for Amazon Pinpoint SMS Voice V2.
-//
-// Updates an existing event destination in a configuration set. You can update
-// the IAM role ARN for CloudWatch Logs and Kinesis Data Firehose. You can also
-// enable or disable the event destination.
+// DescribeVerifiedDestinationNumbers API operation for Amazon Pinpoint SMS Voice V2.
//
-// You may want to update an event destination to change its matching event
-// types or updating the destination resource ARN. You can't change an event
-// destination's type between CloudWatch Logs, Kinesis Data Firehose, and Amazon
-// SNS.
+// Retrieves the specified verified destiona numbers.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation UpdateEventDestination for usage and error information.
+// API operation DescribeVerifiedDestinationNumbers for usage and error information.
//
// Returned Error Types:
//
@@ -4808,94 +5204,137 @@ func (c *PinpointSMSVoiceV2) UpdateEventDestinationRequest(input *UpdateEventDes
// - ValidationException
// A validation exception for a field.
//
-// - ConflictException
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-//
// - InternalServerException
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination
-func (c *PinpointSMSVoiceV2) UpdateEventDestination(input *UpdateEventDestinationInput) (*UpdateEventDestinationOutput, error) {
- req, out := c.UpdateEventDestinationRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeVerifiedDestinationNumbers
+func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbers(input *DescribeVerifiedDestinationNumbersInput) (*DescribeVerifiedDestinationNumbersOutput, error) {
+ req, out := c.DescribeVerifiedDestinationNumbersRequest(input)
return out, req.Send()
}
-// UpdateEventDestinationWithContext is the same as UpdateEventDestination with the addition of
+// DescribeVerifiedDestinationNumbersWithContext is the same as DescribeVerifiedDestinationNumbers with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateEventDestination for details on how to use this API operation.
+// See DescribeVerifiedDestinationNumbers for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) UpdateEventDestinationWithContext(ctx aws.Context, input *UpdateEventDestinationInput, opts ...request.Option) (*UpdateEventDestinationOutput, error) {
- req, out := c.UpdateEventDestinationRequest(input)
+func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersWithContext(ctx aws.Context, input *DescribeVerifiedDestinationNumbersInput, opts ...request.Option) (*DescribeVerifiedDestinationNumbersOutput, error) {
+ req, out := c.DescribeVerifiedDestinationNumbersRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdatePhoneNumber = "UpdatePhoneNumber"
+// DescribeVerifiedDestinationNumbersPages iterates over the pages of a DescribeVerifiedDestinationNumbers operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeVerifiedDestinationNumbers method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a DescribeVerifiedDestinationNumbers operation.
+// pageNum := 0
+// err := client.DescribeVerifiedDestinationNumbersPages(params,
+// func(page *pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersPages(input *DescribeVerifiedDestinationNumbersInput, fn func(*DescribeVerifiedDestinationNumbersOutput, bool) bool) error {
+ return c.DescribeVerifiedDestinationNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// UpdatePhoneNumberRequest generates a "aws/request.Request" representing the
-// client's request for the UpdatePhoneNumber operation. The "output" return
+// DescribeVerifiedDestinationNumbersPagesWithContext same as DescribeVerifiedDestinationNumbersPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) DescribeVerifiedDestinationNumbersPagesWithContext(ctx aws.Context, input *DescribeVerifiedDestinationNumbersInput, fn func(*DescribeVerifiedDestinationNumbersOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *DescribeVerifiedDestinationNumbersInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.DescribeVerifiedDestinationNumbersRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*DescribeVerifiedDestinationNumbersOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opDisassociateOriginationIdentity = "DisassociateOriginationIdentity"
+
+// DisassociateOriginationIdentityRequest generates a "aws/request.Request" representing the
+// client's request for the DisassociateOriginationIdentity operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdatePhoneNumber for more information on using the UpdatePhoneNumber
+// See DisassociateOriginationIdentity for more information on using the DisassociateOriginationIdentity
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdatePhoneNumberRequest method.
-// req, resp := client.UpdatePhoneNumberRequest(params)
+// // Example sending a request using the DisassociateOriginationIdentityRequest method.
+// req, resp := client.DisassociateOriginationIdentityRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber
-func (c *PinpointSMSVoiceV2) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput) {
- op := &request.Operation{
- Name: opUpdatePhoneNumber,
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity
+func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityRequest(input *DisassociateOriginationIdentityInput) (req *request.Request, output *DisassociateOriginationIdentityOutput) {
+ op := &request.Operation{
+ Name: opDisassociateOriginationIdentity,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &UpdatePhoneNumberInput{}
+ input = &DisassociateOriginationIdentityInput{}
}
- output = &UpdatePhoneNumberOutput{}
+ output = &DisassociateOriginationIdentityOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdatePhoneNumber API operation for Amazon Pinpoint SMS Voice V2.
+// DisassociateOriginationIdentity API operation for Amazon Pinpoint SMS Voice V2.
//
-// Updates the configuration of an existing origination phone number. You can
-// update the opt-out list, enable or disable two-way messaging, change the
-// TwoWayChannelArn, enable or disable self-managed opt-outs, and enable or
-// disable deletion protection.
+// Removes the specified origination identity from an existing pool.
//
-// If the origination phone number is associated with a pool, an Error is returned.
+// If the origination identity isn't associated with the specified pool, an
+// error is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation UpdatePhoneNumber for usage and error information.
+// API operation DisassociateOriginationIdentity for usage and error information.
//
// Returned Error Types:
//
@@ -4923,82 +5362,79 @@ func (c *PinpointSMSVoiceV2) UpdatePhoneNumberRequest(input *UpdatePhoneNumberIn
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber
-func (c *PinpointSMSVoiceV2) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error) {
- req, out := c.UpdatePhoneNumberRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity
+func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentity(input *DisassociateOriginationIdentityInput) (*DisassociateOriginationIdentityOutput, error) {
+ req, out := c.DisassociateOriginationIdentityRequest(input)
return out, req.Send()
}
-// UpdatePhoneNumberWithContext is the same as UpdatePhoneNumber with the addition of
+// DisassociateOriginationIdentityWithContext is the same as DisassociateOriginationIdentity with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdatePhoneNumber for details on how to use this API operation.
+// See DisassociateOriginationIdentity for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) UpdatePhoneNumberWithContext(ctx aws.Context, input *UpdatePhoneNumberInput, opts ...request.Option) (*UpdatePhoneNumberOutput, error) {
- req, out := c.UpdatePhoneNumberRequest(input)
+func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityWithContext(ctx aws.Context, input *DisassociateOriginationIdentityInput, opts ...request.Option) (*DisassociateOriginationIdentityOutput, error) {
+ req, out := c.DisassociateOriginationIdentityRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdatePool = "UpdatePool"
+const opDiscardRegistrationVersion = "DiscardRegistrationVersion"
-// UpdatePoolRequest generates a "aws/request.Request" representing the
-// client's request for the UpdatePool operation. The "output" return
+// DiscardRegistrationVersionRequest generates a "aws/request.Request" representing the
+// client's request for the DiscardRegistrationVersion operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdatePool for more information on using the UpdatePool
+// See DiscardRegistrationVersion for more information on using the DiscardRegistrationVersion
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdatePoolRequest method.
-// req, resp := client.UpdatePoolRequest(params)
+// // Example sending a request using the DiscardRegistrationVersionRequest method.
+// req, resp := client.DiscardRegistrationVersionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool
-func (c *PinpointSMSVoiceV2) UpdatePoolRequest(input *UpdatePoolInput) (req *request.Request, output *UpdatePoolOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DiscardRegistrationVersion
+func (c *PinpointSMSVoiceV2) DiscardRegistrationVersionRequest(input *DiscardRegistrationVersionInput) (req *request.Request, output *DiscardRegistrationVersionOutput) {
op := &request.Operation{
- Name: opUpdatePool,
+ Name: opDiscardRegistrationVersion,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &UpdatePoolInput{}
+ input = &DiscardRegistrationVersionInput{}
}
- output = &UpdatePoolOutput{}
+ output = &DiscardRegistrationVersionOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdatePool API operation for Amazon Pinpoint SMS Voice V2.
+// DiscardRegistrationVersion API operation for Amazon Pinpoint SMS Voice V2.
//
-// Updates the configuration of an existing pool. You can update the opt-out
-// list, enable or disable two-way messaging, change the TwoWayChannelArn, enable
-// or disable self-managed opt-outs, enable or disable deletion protection,
-// and enable or disable shared routes.
+// Discard the current version of the registration.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
-// API operation UpdatePool for usage and error information.
+// API operation DiscardRegistrationVersion for usage and error information.
//
// Returned Error Types:
//
@@ -5026,109 +5462,7004 @@ func (c *PinpointSMSVoiceV2) UpdatePoolRequest(input *UpdatePoolInput) (req *req
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool
-func (c *PinpointSMSVoiceV2) UpdatePool(input *UpdatePoolInput) (*UpdatePoolOutput, error) {
- req, out := c.UpdatePoolRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DiscardRegistrationVersion
+func (c *PinpointSMSVoiceV2) DiscardRegistrationVersion(input *DiscardRegistrationVersionInput) (*DiscardRegistrationVersionOutput, error) {
+ req, out := c.DiscardRegistrationVersionRequest(input)
return out, req.Send()
}
-// UpdatePoolWithContext is the same as UpdatePool with the addition of
+// DiscardRegistrationVersionWithContext is the same as DiscardRegistrationVersion with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdatePool for details on how to use this API operation.
+// See DiscardRegistrationVersion for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *PinpointSMSVoiceV2) UpdatePoolWithContext(ctx aws.Context, input *UpdatePoolInput, opts ...request.Option) (*UpdatePoolOutput, error) {
- req, out := c.UpdatePoolRequest(input)
+func (c *PinpointSMSVoiceV2) DiscardRegistrationVersionWithContext(ctx aws.Context, input *DiscardRegistrationVersionInput, opts ...request.Option) (*DiscardRegistrationVersionOutput, error) {
+ req, out := c.DiscardRegistrationVersionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// The request was denied because you don't have sufficient permissions to access
-// the resource.
-type AccessDeniedException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"Message" type:"string"`
-
- // The reason for the exception.
- Reason *string `type:"string" enum:"AccessDeniedExceptionReason"`
-}
+const opListPoolOriginationIdentities = "ListPoolOriginationIdentities"
-// String returns the string representation.
+// ListPoolOriginationIdentitiesRequest generates a "aws/request.Request" representing the
+// client's request for the ListPoolOriginationIdentities operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessDeniedException) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessDeniedException) GoString() string {
- return s.String()
-}
-
-func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
- return &AccessDeniedException{
- RespMetadata: v,
+// See ListPoolOriginationIdentities for more information on using the ListPoolOriginationIdentities
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListPoolOriginationIdentitiesRequest method.
+// req, resp := client.ListPoolOriginationIdentitiesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities
+func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest(input *ListPoolOriginationIdentitiesInput) (req *request.Request, output *ListPoolOriginationIdentitiesOutput) {
+ op := &request.Operation{
+ Name: opListPoolOriginationIdentities,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
}
-}
-
-// Code returns the exception type name.
-func (s *AccessDeniedException) Code() string {
- return "AccessDeniedException"
-}
-// Message returns the exception's message.
-func (s *AccessDeniedException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
+ if input == nil {
+ input = &ListPoolOriginationIdentitiesInput{}
}
- return ""
-}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *AccessDeniedException) OrigErr() error {
- return nil
+ output = &ListPoolOriginationIdentitiesOutput{}
+ req = c.newRequest(op, input, output)
+ return
}
-func (s *AccessDeniedException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+// ListPoolOriginationIdentities API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Lists all associated origination identities in your pool.
+//
+// If you specify filters, the output includes information for only those origination
+// identities that meet the filter criteria.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation ListPoolOriginationIdentities for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities
+func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentities(input *ListPoolOriginationIdentitiesInput) (*ListPoolOriginationIdentitiesOutput, error) {
+ req, out := c.ListPoolOriginationIdentitiesRequest(input)
+ return out, req.Send()
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *AccessDeniedException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// ListPoolOriginationIdentitiesWithContext is the same as ListPoolOriginationIdentities with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListPoolOriginationIdentities for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesWithContext(ctx aws.Context, input *ListPoolOriginationIdentitiesInput, opts ...request.Option) (*ListPoolOriginationIdentitiesOutput, error) {
+ req, out := c.ListPoolOriginationIdentitiesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
}
-// RequestID returns the service's response RequestID for request.
-func (s *AccessDeniedException) RequestID() string {
- return s.RespMetadata.RequestID
+// ListPoolOriginationIdentitiesPages iterates over the pages of a ListPoolOriginationIdentities operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListPoolOriginationIdentities method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListPoolOriginationIdentities operation.
+// pageNum := 0
+// err := client.ListPoolOriginationIdentitiesPages(params,
+// func(page *pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPages(input *ListPoolOriginationIdentitiesInput, fn func(*ListPoolOriginationIdentitiesOutput, bool) bool) error {
+ return c.ListPoolOriginationIdentitiesPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// Displays the attributes associated with a single Amazon Web Services account.
-type AccountAttribute struct {
- _ struct{} `type:"structure"`
+// ListPoolOriginationIdentitiesPagesWithContext same as ListPoolOriginationIdentitiesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPagesWithContext(ctx aws.Context, input *ListPoolOriginationIdentitiesInput, fn func(*ListPoolOriginationIdentitiesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListPoolOriginationIdentitiesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListPoolOriginationIdentitiesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
- // The name of the account attribute.
- //
- // Name is a required field
- Name *string `type:"string" required:"true" enum:"AccountAttributeName"`
+ for p.Next() {
+ if !fn(p.Page().(*ListPoolOriginationIdentitiesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
- // The value associated with the account attribute name.
- //
- // Value is a required field
- Value *string `type:"string" required:"true"`
+ return p.Err()
+}
+
+const opListRegistrationAssociations = "ListRegistrationAssociations"
+
+// ListRegistrationAssociationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListRegistrationAssociations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListRegistrationAssociations for more information on using the ListRegistrationAssociations
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListRegistrationAssociationsRequest method.
+// req, resp := client.ListRegistrationAssociationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListRegistrationAssociations
+func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsRequest(input *ListRegistrationAssociationsInput) (req *request.Request, output *ListRegistrationAssociationsOutput) {
+ op := &request.Operation{
+ Name: opListRegistrationAssociations,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListRegistrationAssociationsInput{}
+ }
+
+ output = &ListRegistrationAssociationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListRegistrationAssociations API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Retreive all of the origination identies that are associated with a registration.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation ListRegistrationAssociations for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListRegistrationAssociations
+func (c *PinpointSMSVoiceV2) ListRegistrationAssociations(input *ListRegistrationAssociationsInput) (*ListRegistrationAssociationsOutput, error) {
+ req, out := c.ListRegistrationAssociationsRequest(input)
+ return out, req.Send()
+}
+
+// ListRegistrationAssociationsWithContext is the same as ListRegistrationAssociations with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListRegistrationAssociations for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsWithContext(ctx aws.Context, input *ListRegistrationAssociationsInput, opts ...request.Option) (*ListRegistrationAssociationsOutput, error) {
+ req, out := c.ListRegistrationAssociationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListRegistrationAssociationsPages iterates over the pages of a ListRegistrationAssociations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListRegistrationAssociations method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListRegistrationAssociations operation.
+// pageNum := 0
+// err := client.ListRegistrationAssociationsPages(params,
+// func(page *pinpointsmsvoicev2.ListRegistrationAssociationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsPages(input *ListRegistrationAssociationsInput, fn func(*ListRegistrationAssociationsOutput, bool) bool) error {
+ return c.ListRegistrationAssociationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListRegistrationAssociationsPagesWithContext same as ListRegistrationAssociationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) ListRegistrationAssociationsPagesWithContext(ctx aws.Context, input *ListRegistrationAssociationsInput, fn func(*ListRegistrationAssociationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListRegistrationAssociationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListRegistrationAssociationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListRegistrationAssociationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListTagsForResource = "ListTagsForResource"
+
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// client's request for the ListTagsForResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListTagsForResource for more information on using the ListTagsForResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListTagsForResourceRequest method.
+// req, resp := client.ListTagsForResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource
+func (c *PinpointSMSVoiceV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+ op := &request.Operation{
+ Name: opListTagsForResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListTagsForResourceInput{}
+ }
+
+ output = &ListTagsForResourceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTagsForResource API operation for Amazon Pinpoint SMS Voice V2.
+//
+// List all tags associated with a resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation ListTagsForResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource
+func (c *PinpointSMSVoiceV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ return out, req.Send()
+}
+
+// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTagsForResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutKeyword = "PutKeyword"
+
+// PutKeywordRequest generates a "aws/request.Request" representing the
+// client's request for the PutKeyword operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutKeyword for more information on using the PutKeyword
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutKeywordRequest method.
+// req, resp := client.PutKeywordRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword
+func (c *PinpointSMSVoiceV2) PutKeywordRequest(input *PutKeywordInput) (req *request.Request, output *PutKeywordOutput) {
+ op := &request.Operation{
+ Name: opPutKeyword,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutKeywordInput{}
+ }
+
+ output = &PutKeywordOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutKeyword API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Creates or updates a keyword configuration on an origination phone number
+// or pool.
+//
+// A keyword is a word that you can search for on a particular phone number
+// or pool. It is also a specific word or phrase that an end user can send to
+// your number to elicit a response, such as an informational message or a special
+// offer. When your number receives a message that begins with a keyword, Amazon
+// Pinpoint responds with a customizable message.
+//
+// If you specify a keyword that isn't valid, an error is returned.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation PutKeyword for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword
+func (c *PinpointSMSVoiceV2) PutKeyword(input *PutKeywordInput) (*PutKeywordOutput, error) {
+ req, out := c.PutKeywordRequest(input)
+ return out, req.Send()
+}
+
+// PutKeywordWithContext is the same as PutKeyword with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutKeyword for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) PutKeywordWithContext(ctx aws.Context, input *PutKeywordInput, opts ...request.Option) (*PutKeywordOutput, error) {
+ req, out := c.PutKeywordRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutOptedOutNumber = "PutOptedOutNumber"
+
+// PutOptedOutNumberRequest generates a "aws/request.Request" representing the
+// client's request for the PutOptedOutNumber operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutOptedOutNumber for more information on using the PutOptedOutNumber
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutOptedOutNumberRequest method.
+// req, resp := client.PutOptedOutNumberRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber
+func (c *PinpointSMSVoiceV2) PutOptedOutNumberRequest(input *PutOptedOutNumberInput) (req *request.Request, output *PutOptedOutNumberOutput) {
+ op := &request.Operation{
+ Name: opPutOptedOutNumber,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutOptedOutNumberInput{}
+ }
+
+ output = &PutOptedOutNumberOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutOptedOutNumber API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Creates an opted out destination phone number in the opt-out list.
+//
+// If the destination phone number isn't valid or if the specified opt-out list
+// doesn't exist, an error is returned.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation PutOptedOutNumber for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber
+func (c *PinpointSMSVoiceV2) PutOptedOutNumber(input *PutOptedOutNumberInput) (*PutOptedOutNumberOutput, error) {
+ req, out := c.PutOptedOutNumberRequest(input)
+ return out, req.Send()
+}
+
+// PutOptedOutNumberWithContext is the same as PutOptedOutNumber with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutOptedOutNumber for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) PutOptedOutNumberWithContext(ctx aws.Context, input *PutOptedOutNumberInput, opts ...request.Option) (*PutOptedOutNumberOutput, error) {
+ req, out := c.PutOptedOutNumberRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutRegistrationFieldValue = "PutRegistrationFieldValue"
+
+// PutRegistrationFieldValueRequest generates a "aws/request.Request" representing the
+// client's request for the PutRegistrationFieldValue operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutRegistrationFieldValue for more information on using the PutRegistrationFieldValue
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutRegistrationFieldValueRequest method.
+// req, resp := client.PutRegistrationFieldValueRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutRegistrationFieldValue
+func (c *PinpointSMSVoiceV2) PutRegistrationFieldValueRequest(input *PutRegistrationFieldValueInput) (req *request.Request, output *PutRegistrationFieldValueOutput) {
+ op := &request.Operation{
+ Name: opPutRegistrationFieldValue,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutRegistrationFieldValueInput{}
+ }
+
+ output = &PutRegistrationFieldValueOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutRegistrationFieldValue API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Creates or updates a field value for a registration.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation PutRegistrationFieldValue for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutRegistrationFieldValue
+func (c *PinpointSMSVoiceV2) PutRegistrationFieldValue(input *PutRegistrationFieldValueInput) (*PutRegistrationFieldValueOutput, error) {
+ req, out := c.PutRegistrationFieldValueRequest(input)
+ return out, req.Send()
+}
+
+// PutRegistrationFieldValueWithContext is the same as PutRegistrationFieldValue with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutRegistrationFieldValue for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) PutRegistrationFieldValueWithContext(ctx aws.Context, input *PutRegistrationFieldValueInput, opts ...request.Option) (*PutRegistrationFieldValueOutput, error) {
+ req, out := c.PutRegistrationFieldValueRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opReleasePhoneNumber = "ReleasePhoneNumber"
+
+// ReleasePhoneNumberRequest generates a "aws/request.Request" representing the
+// client's request for the ReleasePhoneNumber operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ReleasePhoneNumber for more information on using the ReleasePhoneNumber
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ReleasePhoneNumberRequest method.
+// req, resp := client.ReleasePhoneNumberRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber
+func (c *PinpointSMSVoiceV2) ReleasePhoneNumberRequest(input *ReleasePhoneNumberInput) (req *request.Request, output *ReleasePhoneNumberOutput) {
+ op := &request.Operation{
+ Name: opReleasePhoneNumber,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ReleasePhoneNumberInput{}
+ }
+
+ output = &ReleasePhoneNumberOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ReleasePhoneNumber API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Releases an existing origination phone number in your account. Once released,
+// a phone number is no longer available for sending messages.
+//
+// If the origination phone number has deletion protection enabled or is associated
+// with a pool, an error is returned.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation ReleasePhoneNumber for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber
+func (c *PinpointSMSVoiceV2) ReleasePhoneNumber(input *ReleasePhoneNumberInput) (*ReleasePhoneNumberOutput, error) {
+ req, out := c.ReleasePhoneNumberRequest(input)
+ return out, req.Send()
+}
+
+// ReleasePhoneNumberWithContext is the same as ReleasePhoneNumber with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ReleasePhoneNumber for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) ReleasePhoneNumberWithContext(ctx aws.Context, input *ReleasePhoneNumberInput, opts ...request.Option) (*ReleasePhoneNumberOutput, error) {
+ req, out := c.ReleasePhoneNumberRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opReleaseSenderId = "ReleaseSenderId"
+
+// ReleaseSenderIdRequest generates a "aws/request.Request" representing the
+// client's request for the ReleaseSenderId operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ReleaseSenderId for more information on using the ReleaseSenderId
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ReleaseSenderIdRequest method.
+// req, resp := client.ReleaseSenderIdRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleaseSenderId
+func (c *PinpointSMSVoiceV2) ReleaseSenderIdRequest(input *ReleaseSenderIdInput) (req *request.Request, output *ReleaseSenderIdOutput) {
+ op := &request.Operation{
+ Name: opReleaseSenderId,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ReleaseSenderIdInput{}
+ }
+
+ output = &ReleaseSenderIdOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ReleaseSenderId API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Releases an existing sender ID in your account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation ReleaseSenderId for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleaseSenderId
+func (c *PinpointSMSVoiceV2) ReleaseSenderId(input *ReleaseSenderIdInput) (*ReleaseSenderIdOutput, error) {
+ req, out := c.ReleaseSenderIdRequest(input)
+ return out, req.Send()
+}
+
+// ReleaseSenderIdWithContext is the same as ReleaseSenderId with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ReleaseSenderId for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) ReleaseSenderIdWithContext(ctx aws.Context, input *ReleaseSenderIdInput, opts ...request.Option) (*ReleaseSenderIdOutput, error) {
+ req, out := c.ReleaseSenderIdRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opRequestPhoneNumber = "RequestPhoneNumber"
+
+// RequestPhoneNumberRequest generates a "aws/request.Request" representing the
+// client's request for the RequestPhoneNumber operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See RequestPhoneNumber for more information on using the RequestPhoneNumber
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the RequestPhoneNumberRequest method.
+// req, resp := client.RequestPhoneNumberRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber
+func (c *PinpointSMSVoiceV2) RequestPhoneNumberRequest(input *RequestPhoneNumberInput) (req *request.Request, output *RequestPhoneNumberOutput) {
+ op := &request.Operation{
+ Name: opRequestPhoneNumber,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &RequestPhoneNumberInput{}
+ }
+
+ output = &RequestPhoneNumberOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// RequestPhoneNumber API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Request an origination phone number for use in your account. For more information
+// on phone number request see Requesting a number (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-request-number.html)
+// in the Amazon Pinpoint User Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation RequestPhoneNumber for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber
+func (c *PinpointSMSVoiceV2) RequestPhoneNumber(input *RequestPhoneNumberInput) (*RequestPhoneNumberOutput, error) {
+ req, out := c.RequestPhoneNumberRequest(input)
+ return out, req.Send()
+}
+
+// RequestPhoneNumberWithContext is the same as RequestPhoneNumber with the addition of
+// the ability to pass a context and additional request options.
+//
+// See RequestPhoneNumber for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) RequestPhoneNumberWithContext(ctx aws.Context, input *RequestPhoneNumberInput, opts ...request.Option) (*RequestPhoneNumberOutput, error) {
+ req, out := c.RequestPhoneNumberRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opRequestSenderId = "RequestSenderId"
+
+// RequestSenderIdRequest generates a "aws/request.Request" representing the
+// client's request for the RequestSenderId operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See RequestSenderId for more information on using the RequestSenderId
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the RequestSenderIdRequest method.
+// req, resp := client.RequestSenderIdRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestSenderId
+func (c *PinpointSMSVoiceV2) RequestSenderIdRequest(input *RequestSenderIdInput) (req *request.Request, output *RequestSenderIdOutput) {
+ op := &request.Operation{
+ Name: opRequestSenderId,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &RequestSenderIdInput{}
+ }
+
+ output = &RequestSenderIdOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// RequestSenderId API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Request a new sender ID that doesn't require registration.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation RequestSenderId for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestSenderId
+func (c *PinpointSMSVoiceV2) RequestSenderId(input *RequestSenderIdInput) (*RequestSenderIdOutput, error) {
+ req, out := c.RequestSenderIdRequest(input)
+ return out, req.Send()
+}
+
+// RequestSenderIdWithContext is the same as RequestSenderId with the addition of
+// the ability to pass a context and additional request options.
+//
+// See RequestSenderId for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) RequestSenderIdWithContext(ctx aws.Context, input *RequestSenderIdInput, opts ...request.Option) (*RequestSenderIdOutput, error) {
+ req, out := c.RequestSenderIdRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSendDestinationNumberVerificationCode = "SendDestinationNumberVerificationCode"
+
+// SendDestinationNumberVerificationCodeRequest generates a "aws/request.Request" representing the
+// client's request for the SendDestinationNumberVerificationCode operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SendDestinationNumberVerificationCode for more information on using the SendDestinationNumberVerificationCode
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SendDestinationNumberVerificationCodeRequest method.
+// req, resp := client.SendDestinationNumberVerificationCodeRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendDestinationNumberVerificationCode
+func (c *PinpointSMSVoiceV2) SendDestinationNumberVerificationCodeRequest(input *SendDestinationNumberVerificationCodeInput) (req *request.Request, output *SendDestinationNumberVerificationCodeOutput) {
+ op := &request.Operation{
+ Name: opSendDestinationNumberVerificationCode,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SendDestinationNumberVerificationCodeInput{}
+ }
+
+ output = &SendDestinationNumberVerificationCodeOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SendDestinationNumberVerificationCode API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Before you can send test messages to a verified destination phone number
+// you need to opt-in the verified destination phone number. Creates a new text
+// message with a verification code and send it to a verified destination phone
+// number. Once you have the verification code use VerifyDestinationNumber to
+// opt-in the verified destination phone number to receive messages.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SendDestinationNumberVerificationCode for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendDestinationNumberVerificationCode
+func (c *PinpointSMSVoiceV2) SendDestinationNumberVerificationCode(input *SendDestinationNumberVerificationCodeInput) (*SendDestinationNumberVerificationCodeOutput, error) {
+ req, out := c.SendDestinationNumberVerificationCodeRequest(input)
+ return out, req.Send()
+}
+
+// SendDestinationNumberVerificationCodeWithContext is the same as SendDestinationNumberVerificationCode with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SendDestinationNumberVerificationCode for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SendDestinationNumberVerificationCodeWithContext(ctx aws.Context, input *SendDestinationNumberVerificationCodeInput, opts ...request.Option) (*SendDestinationNumberVerificationCodeOutput, error) {
+ req, out := c.SendDestinationNumberVerificationCodeRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSendTextMessage = "SendTextMessage"
+
+// SendTextMessageRequest generates a "aws/request.Request" representing the
+// client's request for the SendTextMessage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SendTextMessage for more information on using the SendTextMessage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SendTextMessageRequest method.
+// req, resp := client.SendTextMessageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage
+func (c *PinpointSMSVoiceV2) SendTextMessageRequest(input *SendTextMessageInput) (req *request.Request, output *SendTextMessageOutput) {
+ op := &request.Operation{
+ Name: opSendTextMessage,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SendTextMessageInput{}
+ }
+
+ output = &SendTextMessageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SendTextMessage API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Creates a new text message and sends it to a recipient's phone number.
+//
+// SMS throughput limits are measured in Message Parts per Second (MPS). Your
+// MPS limit depends on the destination country of your messages, as well as
+// the type of phone number (origination number) that you use to send the message.
+// For more information, see Message Parts per Second (MPS) limits (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-limitations-mps.html)
+// in the Amazon Pinpoint User Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SendTextMessage for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage
+func (c *PinpointSMSVoiceV2) SendTextMessage(input *SendTextMessageInput) (*SendTextMessageOutput, error) {
+ req, out := c.SendTextMessageRequest(input)
+ return out, req.Send()
+}
+
+// SendTextMessageWithContext is the same as SendTextMessage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SendTextMessage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SendTextMessageWithContext(ctx aws.Context, input *SendTextMessageInput, opts ...request.Option) (*SendTextMessageOutput, error) {
+ req, out := c.SendTextMessageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSendVoiceMessage = "SendVoiceMessage"
+
+// SendVoiceMessageRequest generates a "aws/request.Request" representing the
+// client's request for the SendVoiceMessage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SendVoiceMessage for more information on using the SendVoiceMessage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SendVoiceMessageRequest method.
+// req, resp := client.SendVoiceMessageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage
+func (c *PinpointSMSVoiceV2) SendVoiceMessageRequest(input *SendVoiceMessageInput) (req *request.Request, output *SendVoiceMessageOutput) {
+ op := &request.Operation{
+ Name: opSendVoiceMessage,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SendVoiceMessageInput{}
+ }
+
+ output = &SendVoiceMessageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SendVoiceMessage API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Allows you to send a request that sends a voice message through Amazon Pinpoint.
+// This operation uses Amazon Polly (http://aws.amazon.com/polly/) to convert
+// a text script into a voice message.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SendVoiceMessage for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage
+func (c *PinpointSMSVoiceV2) SendVoiceMessage(input *SendVoiceMessageInput) (*SendVoiceMessageOutput, error) {
+ req, out := c.SendVoiceMessageRequest(input)
+ return out, req.Send()
+}
+
+// SendVoiceMessageWithContext is the same as SendVoiceMessage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SendVoiceMessage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SendVoiceMessageWithContext(ctx aws.Context, input *SendVoiceMessageInput, opts ...request.Option) (*SendVoiceMessageOutput, error) {
+ req, out := c.SendVoiceMessageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSetDefaultMessageType = "SetDefaultMessageType"
+
+// SetDefaultMessageTypeRequest generates a "aws/request.Request" representing the
+// client's request for the SetDefaultMessageType operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SetDefaultMessageType for more information on using the SetDefaultMessageType
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SetDefaultMessageTypeRequest method.
+// req, resp := client.SetDefaultMessageTypeRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType
+func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeRequest(input *SetDefaultMessageTypeInput) (req *request.Request, output *SetDefaultMessageTypeOutput) {
+ op := &request.Operation{
+ Name: opSetDefaultMessageType,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SetDefaultMessageTypeInput{}
+ }
+
+ output = &SetDefaultMessageTypeOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SetDefaultMessageType API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Sets the default message type on a configuration set.
+//
+// Choose the category of SMS messages that you plan to send from this account.
+// If you send account-related messages or time-sensitive messages such as one-time
+// passcodes, choose Transactional. If you plan to send messages that contain
+// marketing material or other promotional content, choose Promotional. This
+// setting applies to your entire Amazon Web Services account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SetDefaultMessageType for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType
+func (c *PinpointSMSVoiceV2) SetDefaultMessageType(input *SetDefaultMessageTypeInput) (*SetDefaultMessageTypeOutput, error) {
+ req, out := c.SetDefaultMessageTypeRequest(input)
+ return out, req.Send()
+}
+
+// SetDefaultMessageTypeWithContext is the same as SetDefaultMessageType with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SetDefaultMessageType for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeWithContext(ctx aws.Context, input *SetDefaultMessageTypeInput, opts ...request.Option) (*SetDefaultMessageTypeOutput, error) {
+ req, out := c.SetDefaultMessageTypeRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSetDefaultSenderId = "SetDefaultSenderId"
+
+// SetDefaultSenderIdRequest generates a "aws/request.Request" representing the
+// client's request for the SetDefaultSenderId operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SetDefaultSenderId for more information on using the SetDefaultSenderId
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SetDefaultSenderIdRequest method.
+// req, resp := client.SetDefaultSenderIdRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId
+func (c *PinpointSMSVoiceV2) SetDefaultSenderIdRequest(input *SetDefaultSenderIdInput) (req *request.Request, output *SetDefaultSenderIdOutput) {
+ op := &request.Operation{
+ Name: opSetDefaultSenderId,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SetDefaultSenderIdInput{}
+ }
+
+ output = &SetDefaultSenderIdOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SetDefaultSenderId API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Sets default sender ID on a configuration set.
+//
+// When sending a text message to a destination country that supports sender
+// IDs, the default sender ID on the configuration set specified will be used
+// if no dedicated origination phone numbers or registered sender IDs are available
+// in your account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SetDefaultSenderId for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId
+func (c *PinpointSMSVoiceV2) SetDefaultSenderId(input *SetDefaultSenderIdInput) (*SetDefaultSenderIdOutput, error) {
+ req, out := c.SetDefaultSenderIdRequest(input)
+ return out, req.Send()
+}
+
+// SetDefaultSenderIdWithContext is the same as SetDefaultSenderId with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SetDefaultSenderId for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SetDefaultSenderIdWithContext(ctx aws.Context, input *SetDefaultSenderIdInput, opts ...request.Option) (*SetDefaultSenderIdOutput, error) {
+ req, out := c.SetDefaultSenderIdRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSetTextMessageSpendLimitOverride = "SetTextMessageSpendLimitOverride"
+
+// SetTextMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
+// client's request for the SetTextMessageSpendLimitOverride operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SetTextMessageSpendLimitOverride for more information on using the SetTextMessageSpendLimitOverride
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SetTextMessageSpendLimitOverrideRequest method.
+// req, resp := client.SetTextMessageSpendLimitOverrideRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest(input *SetTextMessageSpendLimitOverrideInput) (req *request.Request, output *SetTextMessageSpendLimitOverrideOutput) {
+ op := &request.Operation{
+ Name: opSetTextMessageSpendLimitOverride,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SetTextMessageSpendLimitOverrideInput{}
+ }
+
+ output = &SetTextMessageSpendLimitOverrideOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SetTextMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Sets an account level monthly spend limit override for sending text messages.
+// The requested spend limit must be less than or equal to the MaxLimit, which
+// is set by Amazon Web Services.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SetTextMessageSpendLimitOverride for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverride(input *SetTextMessageSpendLimitOverrideInput) (*SetTextMessageSpendLimitOverrideOutput, error) {
+ req, out := c.SetTextMessageSpendLimitOverrideRequest(input)
+ return out, req.Send()
+}
+
+// SetTextMessageSpendLimitOverrideWithContext is the same as SetTextMessageSpendLimitOverride with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SetTextMessageSpendLimitOverride for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideWithContext(ctx aws.Context, input *SetTextMessageSpendLimitOverrideInput, opts ...request.Option) (*SetTextMessageSpendLimitOverrideOutput, error) {
+ req, out := c.SetTextMessageSpendLimitOverrideRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSetVoiceMessageSpendLimitOverride = "SetVoiceMessageSpendLimitOverride"
+
+// SetVoiceMessageSpendLimitOverrideRequest generates a "aws/request.Request" representing the
+// client's request for the SetVoiceMessageSpendLimitOverride operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SetVoiceMessageSpendLimitOverride for more information on using the SetVoiceMessageSpendLimitOverride
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SetVoiceMessageSpendLimitOverrideRequest method.
+// req, resp := client.SetVoiceMessageSpendLimitOverrideRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest(input *SetVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *SetVoiceMessageSpendLimitOverrideOutput) {
+ op := &request.Operation{
+ Name: opSetVoiceMessageSpendLimitOverride,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SetVoiceMessageSpendLimitOverrideInput{}
+ }
+
+ output = &SetVoiceMessageSpendLimitOverrideOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SetVoiceMessageSpendLimitOverride API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Sets an account level monthly spend limit override for sending voice messages.
+// The requested spend limit must be less than or equal to the MaxLimit, which
+// is set by Amazon Web Services.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SetVoiceMessageSpendLimitOverride for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride
+func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverride(input *SetVoiceMessageSpendLimitOverrideInput) (*SetVoiceMessageSpendLimitOverrideOutput, error) {
+ req, out := c.SetVoiceMessageSpendLimitOverrideRequest(input)
+ return out, req.Send()
+}
+
+// SetVoiceMessageSpendLimitOverrideWithContext is the same as SetVoiceMessageSpendLimitOverride with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SetVoiceMessageSpendLimitOverride for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideWithContext(ctx aws.Context, input *SetVoiceMessageSpendLimitOverrideInput, opts ...request.Option) (*SetVoiceMessageSpendLimitOverrideOutput, error) {
+ req, out := c.SetVoiceMessageSpendLimitOverrideRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opSubmitRegistrationVersion = "SubmitRegistrationVersion"
+
+// SubmitRegistrationVersionRequest generates a "aws/request.Request" representing the
+// client's request for the SubmitRegistrationVersion operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See SubmitRegistrationVersion for more information on using the SubmitRegistrationVersion
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the SubmitRegistrationVersionRequest method.
+// req, resp := client.SubmitRegistrationVersionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SubmitRegistrationVersion
+func (c *PinpointSMSVoiceV2) SubmitRegistrationVersionRequest(input *SubmitRegistrationVersionInput) (req *request.Request, output *SubmitRegistrationVersionOutput) {
+ op := &request.Operation{
+ Name: opSubmitRegistrationVersion,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SubmitRegistrationVersionInput{}
+ }
+
+ output = &SubmitRegistrationVersionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// SubmitRegistrationVersion API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Submit the specified registration for review and approval.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation SubmitRegistrationVersion for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SubmitRegistrationVersion
+func (c *PinpointSMSVoiceV2) SubmitRegistrationVersion(input *SubmitRegistrationVersionInput) (*SubmitRegistrationVersionOutput, error) {
+ req, out := c.SubmitRegistrationVersionRequest(input)
+ return out, req.Send()
+}
+
+// SubmitRegistrationVersionWithContext is the same as SubmitRegistrationVersion with the addition of
+// the ability to pass a context and additional request options.
+//
+// See SubmitRegistrationVersion for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) SubmitRegistrationVersionWithContext(ctx aws.Context, input *SubmitRegistrationVersionInput, opts ...request.Option) (*SubmitRegistrationVersionOutput, error) {
+ req, out := c.SubmitRegistrationVersionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opTagResource = "TagResource"
+
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See TagResource for more information on using the TagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource
+func (c *PinpointSMSVoiceV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+ op := &request.Operation{
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ output = &TagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// TagResource API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Adds or overwrites only the specified tags for the specified Amazon Pinpoint
+// SMS Voice, version 2 resource. When you specify an existing tag key, the
+// value is overwritten with the new value. Each resource can have a maximum
+// of 50 tags. Each tag consists of a key and an optional value. Tag keys must
+// be unique per resource. For more information about tags, see Tagging Amazon
+// Pinpoint resources (https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html)
+// in the Amazon Pinpoint Developer Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// The request would cause a service quota to be exceeded.
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource
+func (c *PinpointSMSVoiceV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ return out, req.Send()
+}
+
+// TagResourceWithContext is the same as TagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UntagResource for more information on using the UntagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource
+func (c *PinpointSMSVoiceV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ output = &UntagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UntagResource API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Removes the association of the specified tags from an Amazon Pinpoint SMS
+// Voice V2 resource. For more information on tags see Tagging Amazon Pinpoint
+// resources (https://docs.aws.amazon.com/pinpoint/latest/developerguide/tagging-resources.html)
+// in the Amazon Pinpoint Developer Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource
+func (c *PinpointSMSVoiceV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ return out, req.Send()
+}
+
+// UntagResourceWithContext is the same as UntagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UntagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateEventDestination = "UpdateEventDestination"
+
+// UpdateEventDestinationRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateEventDestination operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateEventDestination for more information on using the UpdateEventDestination
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateEventDestinationRequest method.
+// req, resp := client.UpdateEventDestinationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination
+func (c *PinpointSMSVoiceV2) UpdateEventDestinationRequest(input *UpdateEventDestinationInput) (req *request.Request, output *UpdateEventDestinationOutput) {
+ op := &request.Operation{
+ Name: opUpdateEventDestination,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateEventDestinationInput{}
+ }
+
+ output = &UpdateEventDestinationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateEventDestination API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Updates an existing event destination in a configuration set. You can update
+// the IAM role ARN for CloudWatch Logs and Kinesis Data Firehose. You can also
+// enable or disable the event destination.
+//
+// You may want to update an event destination to change its matching event
+// types or updating the destination resource ARN. You can't change an event
+// destination's type between CloudWatch Logs, Kinesis Data Firehose, and Amazon
+// SNS.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation UpdateEventDestination for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination
+func (c *PinpointSMSVoiceV2) UpdateEventDestination(input *UpdateEventDestinationInput) (*UpdateEventDestinationOutput, error) {
+ req, out := c.UpdateEventDestinationRequest(input)
+ return out, req.Send()
+}
+
+// UpdateEventDestinationWithContext is the same as UpdateEventDestination with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateEventDestination for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) UpdateEventDestinationWithContext(ctx aws.Context, input *UpdateEventDestinationInput, opts ...request.Option) (*UpdateEventDestinationOutput, error) {
+ req, out := c.UpdateEventDestinationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdatePhoneNumber = "UpdatePhoneNumber"
+
+// UpdatePhoneNumberRequest generates a "aws/request.Request" representing the
+// client's request for the UpdatePhoneNumber operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdatePhoneNumber for more information on using the UpdatePhoneNumber
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdatePhoneNumberRequest method.
+// req, resp := client.UpdatePhoneNumberRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber
+func (c *PinpointSMSVoiceV2) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput) {
+ op := &request.Operation{
+ Name: opUpdatePhoneNumber,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdatePhoneNumberInput{}
+ }
+
+ output = &UpdatePhoneNumberOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdatePhoneNumber API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Updates the configuration of an existing origination phone number. You can
+// update the opt-out list, enable or disable two-way messaging, change the
+// TwoWayChannelArn, enable or disable self-managed opt-outs, and enable or
+// disable deletion protection.
+//
+// If the origination phone number is associated with a pool, an error is returned.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation UpdatePhoneNumber for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber
+func (c *PinpointSMSVoiceV2) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error) {
+ req, out := c.UpdatePhoneNumberRequest(input)
+ return out, req.Send()
+}
+
+// UpdatePhoneNumberWithContext is the same as UpdatePhoneNumber with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdatePhoneNumber for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) UpdatePhoneNumberWithContext(ctx aws.Context, input *UpdatePhoneNumberInput, opts ...request.Option) (*UpdatePhoneNumberOutput, error) {
+ req, out := c.UpdatePhoneNumberRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdatePool = "UpdatePool"
+
+// UpdatePoolRequest generates a "aws/request.Request" representing the
+// client's request for the UpdatePool operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdatePool for more information on using the UpdatePool
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdatePoolRequest method.
+// req, resp := client.UpdatePoolRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool
+func (c *PinpointSMSVoiceV2) UpdatePoolRequest(input *UpdatePoolInput) (req *request.Request, output *UpdatePoolOutput) {
+ op := &request.Operation{
+ Name: opUpdatePool,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdatePoolInput{}
+ }
+
+ output = &UpdatePoolOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdatePool API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Updates the configuration of an existing pool. You can update the opt-out
+// list, enable or disable two-way messaging, change the TwoWayChannelArn, enable
+// or disable self-managed opt-outs, enable or disable deletion protection,
+// and enable or disable shared routes.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation UpdatePool for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool
+func (c *PinpointSMSVoiceV2) UpdatePool(input *UpdatePoolInput) (*UpdatePoolOutput, error) {
+ req, out := c.UpdatePoolRequest(input)
+ return out, req.Send()
+}
+
+// UpdatePoolWithContext is the same as UpdatePool with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdatePool for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) UpdatePoolWithContext(ctx aws.Context, input *UpdatePoolInput, opts ...request.Option) (*UpdatePoolOutput, error) {
+ req, out := c.UpdatePoolRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateSenderId = "UpdateSenderId"
+
+// UpdateSenderIdRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateSenderId operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateSenderId for more information on using the UpdateSenderId
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateSenderIdRequest method.
+// req, resp := client.UpdateSenderIdRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateSenderId
+func (c *PinpointSMSVoiceV2) UpdateSenderIdRequest(input *UpdateSenderIdInput) (req *request.Request, output *UpdateSenderIdOutput) {
+ op := &request.Operation{
+ Name: opUpdateSenderId,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateSenderIdInput{}
+ }
+
+ output = &UpdateSenderIdOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateSenderId API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Updates the configuration of an existing sender ID.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation UpdateSenderId for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateSenderId
+func (c *PinpointSMSVoiceV2) UpdateSenderId(input *UpdateSenderIdInput) (*UpdateSenderIdOutput, error) {
+ req, out := c.UpdateSenderIdRequest(input)
+ return out, req.Send()
+}
+
+// UpdateSenderIdWithContext is the same as UpdateSenderId with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateSenderId for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) UpdateSenderIdWithContext(ctx aws.Context, input *UpdateSenderIdInput, opts ...request.Option) (*UpdateSenderIdOutput, error) {
+ req, out := c.UpdateSenderIdRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opVerifyDestinationNumber = "VerifyDestinationNumber"
+
+// VerifyDestinationNumberRequest generates a "aws/request.Request" representing the
+// client's request for the VerifyDestinationNumber operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See VerifyDestinationNumber for more information on using the VerifyDestinationNumber
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the VerifyDestinationNumberRequest method.
+// req, resp := client.VerifyDestinationNumberRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/VerifyDestinationNumber
+func (c *PinpointSMSVoiceV2) VerifyDestinationNumberRequest(input *VerifyDestinationNumberInput) (req *request.Request, output *VerifyDestinationNumberOutput) {
+ op := &request.Operation{
+ Name: opVerifyDestinationNumber,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &VerifyDestinationNumberInput{}
+ }
+
+ output = &VerifyDestinationNumberOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// VerifyDestinationNumber API operation for Amazon Pinpoint SMS Voice V2.
+//
+// Use the verification code that was received by the verified destination phone
+// number to opt-in the verified destination phone number to receive more messages.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Pinpoint SMS Voice V2's
+// API operation VerifyDestinationNumber for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// An error that occurred because too many requests were sent during a certain
+// amount of time.
+//
+// - AccessDeniedException
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+//
+// - ResourceNotFoundException
+// A requested resource couldn't be found.
+//
+// - ValidationException
+// A validation exception for a field.
+//
+// - ConflictException
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+//
+// - InternalServerException
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/VerifyDestinationNumber
+func (c *PinpointSMSVoiceV2) VerifyDestinationNumber(input *VerifyDestinationNumberInput) (*VerifyDestinationNumberOutput, error) {
+ req, out := c.VerifyDestinationNumberRequest(input)
+ return out, req.Send()
+}
+
+// VerifyDestinationNumberWithContext is the same as VerifyDestinationNumber with the addition of
+// the ability to pass a context and additional request options.
+//
+// See VerifyDestinationNumber for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *PinpointSMSVoiceV2) VerifyDestinationNumberWithContext(ctx aws.Context, input *VerifyDestinationNumberInput, opts ...request.Option) (*VerifyDestinationNumberOutput, error) {
+ req, out := c.VerifyDestinationNumberRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// The request was denied because you don't have sufficient permissions to access
+// the resource.
+type AccessDeniedException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"Message" type:"string"`
+
+ // The reason for the exception.
+ Reason *string `type:"string" enum:"AccessDeniedExceptionReason"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) GoString() string {
+ return s.String()
+}
+
+func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
+ return &AccessDeniedException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *AccessDeniedException) Code() string {
+ return "AccessDeniedException"
+}
+
+// Message returns the exception's message.
+func (s *AccessDeniedException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *AccessDeniedException) OrigErr() error {
+ return nil
+}
+
+func (s *AccessDeniedException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *AccessDeniedException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *AccessDeniedException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Displays the attributes associated with a single Amazon Web Services account.
+type AccountAttribute struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the account attribute.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"AccountAttributeName"`
+
+ // The value associated with the account attribute name.
+ //
+ // Value is a required field
+ Value *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAttribute) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAttribute) GoString() string {
+ return s.String()
+}
+
+// SetName sets the Name field's value.
+func (s *AccountAttribute) SetName(v string) *AccountAttribute {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AccountAttribute) SetValue(v string) *AccountAttribute {
+ s.Value = &v
+ return s
+}
+
+// The current resource quotas associated with an Amazon Web Services account.
+type AccountLimit struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Web Services set limit for that resource type, in US dollars.
+ //
+ // Max is a required field
+ Max *int64 `type:"long" required:"true"`
+
+ // The name of the attribute to apply the account limit to.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"AccountLimitName"`
+
+ // The current amount that has been spent, in US dollars.
+ //
+ // Used is a required field
+ Used *int64 `type:"long" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountLimit) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountLimit) GoString() string {
+ return s.String()
+}
+
+// SetMax sets the Max field's value.
+func (s *AccountLimit) SetMax(v int64) *AccountLimit {
+ s.Max = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AccountLimit) SetName(v string) *AccountLimit {
+ s.Name = &v
+ return s
+}
+
+// SetUsed sets the Used field's value.
+func (s *AccountLimit) SetUsed(v int64) *AccountLimit {
+ s.Used = &v
+ return s
+}
+
+type AssociateOriginationIdentityInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The new two-character code, in ISO 3166-1 alpha-2 format, for the country
+ // or region of the origination identity.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
+
+ // The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId,
+ // or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId
+ // and PhoneNumberArn, while DescribeSenderIds can be used to get the values
+ // for SenderId and SenderIdArn.
+ //
+ // OriginationIdentity is a required field
+ OriginationIdentity *string `min:"1" type:"string" required:"true"`
+
+ // The pool to update with the new Identity. This value can be either the PoolId
+ // or PoolArn, and you can find these values using DescribePools.
+ //
+ // PoolId is a required field
+ PoolId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateOriginationIdentityInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateOriginationIdentityInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssociateOriginationIdentityInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssociateOriginationIdentityInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.IsoCountryCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
+ }
+ if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
+ invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
+ }
+ if s.OriginationIdentity == nil {
+ invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+ }
+ if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ }
+ if s.PoolId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PoolId"))
+ }
+ if s.PoolId != nil && len(*s.PoolId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *AssociateOriginationIdentityInput) SetClientToken(v string) *AssociateOriginationIdentityInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *AssociateOriginationIdentityInput) SetIsoCountryCode(v string) *AssociateOriginationIdentityInput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *AssociateOriginationIdentityInput) SetOriginationIdentity(v string) *AssociateOriginationIdentityInput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *AssociateOriginationIdentityInput) SetPoolId(v string) *AssociateOriginationIdentityInput {
+ s.PoolId = &v
+ return s
+}
+
+type AssociateOriginationIdentityOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ IsoCountryCode *string `min:"2" type:"string"`
+
+ // The PhoneNumberId or SenderId of the origination identity.
+ OriginationIdentity *string `type:"string"`
+
+ // The PhoneNumberArn or SenderIdArn of the origination identity.
+ OriginationIdentityArn *string `type:"string"`
+
+ // The Amazon Resource Name (ARN) of the pool that is now associated with the
+ // origination identity.
+ PoolArn *string `type:"string"`
+
+ // The PoolId of the pool that is now associated with the origination identity.
+ PoolId *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateOriginationIdentityOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssociateOriginationIdentityOutput) GoString() string {
+ return s.String()
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *AssociateOriginationIdentityOutput) SetIsoCountryCode(v string) *AssociateOriginationIdentityOutput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *AssociateOriginationIdentityOutput) SetOriginationIdentity(v string) *AssociateOriginationIdentityOutput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
+func (s *AssociateOriginationIdentityOutput) SetOriginationIdentityArn(v string) *AssociateOriginationIdentityOutput {
+ s.OriginationIdentityArn = &v
+ return s
+}
+
+// SetPoolArn sets the PoolArn field's value.
+func (s *AssociateOriginationIdentityOutput) SetPoolArn(v string) *AssociateOriginationIdentityOutput {
+ s.PoolArn = &v
+ return s
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *AssociateOriginationIdentityOutput) SetPoolId(v string) *AssociateOriginationIdentityOutput {
+ s.PoolId = &v
+ return s
+}
+
+// Contains the destination configuration to use when publishing message sending
+// events.
+type CloudWatchLogsDestination struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of an Amazon Identity and Access Management
+ // (IAM) role that is able to write event data to an Amazon CloudWatch destination.
+ //
+ // IamRoleArn is a required field
+ IamRoleArn *string `min:"20" type:"string" required:"true"`
+
+ // The name of the Amazon CloudWatch log group that you want to record events
+ // in.
+ //
+ // LogGroupArn is a required field
+ LogGroupArn *string `min:"20" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CloudWatchLogsDestination) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CloudWatchLogsDestination) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CloudWatchLogsDestination) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CloudWatchLogsDestination"}
+ if s.IamRoleArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("IamRoleArn"))
+ }
+ if s.IamRoleArn != nil && len(*s.IamRoleArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("IamRoleArn", 20))
+ }
+ if s.LogGroupArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("LogGroupArn"))
+ }
+ if s.LogGroupArn != nil && len(*s.LogGroupArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("LogGroupArn", 20))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetIamRoleArn sets the IamRoleArn field's value.
+func (s *CloudWatchLogsDestination) SetIamRoleArn(v string) *CloudWatchLogsDestination {
+ s.IamRoleArn = &v
+ return s
+}
+
+// SetLogGroupArn sets the LogGroupArn field's value.
+func (s *CloudWatchLogsDestination) SetLogGroupArn(v string) *CloudWatchLogsDestination {
+ s.LogGroupArn = &v
+ return s
+}
+
+// The information for configuration sets that meet a specified criteria.
+type ConfigurationSetFilter struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"ConfigurationSetFilterName"`
+
+ // An array values to filter for.
+ //
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConfigurationSetFilter) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConfigurationSetFilter) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ConfigurationSetFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ConfigurationSetFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
+ }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *ConfigurationSetFilter) SetName(v string) *ConfigurationSetFilter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *ConfigurationSetFilter) SetValues(v []*string) *ConfigurationSetFilter {
+ s.Values = v
+ return s
+}
+
+// Information related to a given configuration set in your Amazon Web Services
+// account.
+type ConfigurationSetInformation struct {
+ _ struct{} `type:"structure"`
+
+ // The Resource Name (ARN) of the ConfigurationSet.
+ //
+ // ConfigurationSetArn is a required field
+ ConfigurationSetArn *string `type:"string" required:"true"`
+
+ // The name of the ConfigurationSet.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+
+ // The time when the ConfigurationSet was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ DefaultMessageType *string `type:"string" enum:"MessageType"`
+
+ // The default sender ID used by the ConfigurationSet.
+ DefaultSenderId *string `min:"1" type:"string"`
+
+ // An array of EventDestination objects that describe any events to log and
+ // where to log them.
+ //
+ // EventDestinations is a required field
+ EventDestinations []*EventDestination `type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConfigurationSetInformation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConfigurationSetInformation) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
+func (s *ConfigurationSetInformation) SetConfigurationSetArn(v string) *ConfigurationSetInformation {
+ s.ConfigurationSetArn = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *ConfigurationSetInformation) SetConfigurationSetName(v string) *ConfigurationSetInformation {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *ConfigurationSetInformation) SetCreatedTimestamp(v time.Time) *ConfigurationSetInformation {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetDefaultMessageType sets the DefaultMessageType field's value.
+func (s *ConfigurationSetInformation) SetDefaultMessageType(v string) *ConfigurationSetInformation {
+ s.DefaultMessageType = &v
+ return s
+}
+
+// SetDefaultSenderId sets the DefaultSenderId field's value.
+func (s *ConfigurationSetInformation) SetDefaultSenderId(v string) *ConfigurationSetInformation {
+ s.DefaultSenderId = &v
+ return s
+}
+
+// SetEventDestinations sets the EventDestinations field's value.
+func (s *ConfigurationSetInformation) SetEventDestinations(v []*EventDestination) *ConfigurationSetInformation {
+ s.EventDestinations = v
+ return s
+}
+
+// Your request has conflicting operations. This can occur if you're trying
+// to perform more than one operation on the same resource at the same time
+// or it could be that the requested action isn't valid for the current state
+// or configuration of the resource.
+type ConflictException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"Message" type:"string"`
+
+ // The reason for the exception.
+ Reason *string `type:"string" enum:"ConflictExceptionReason"`
+
+ // The unique identifier of the request.
+ ResourceId *string `type:"string"`
+
+ // The type of resource that caused the exception.
+ ResourceType *string `type:"string" enum:"ResourceType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) GoString() string {
+ return s.String()
+}
+
+func newErrorConflictException(v protocol.ResponseMetadata) error {
+ return &ConflictException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ConflictException) Code() string {
+ return "ConflictException"
+}
+
+// Message returns the exception's message.
+func (s *ConflictException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ConflictException) OrigErr() error {
+ return nil
+}
+
+func (s *ConflictException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ConflictException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ConflictException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type CreateConfigurationSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The name to use for the new configuration set.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+
+ // An array of key and value pair tags that's associated with the new configuration
+ // set.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateConfigurationSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateConfigurationSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateConfigurationSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateConfigurationSetInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateConfigurationSetInput) SetClientToken(v string) *CreateConfigurationSetInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *CreateConfigurationSetInput) SetConfigurationSetName(v string) *CreateConfigurationSetInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateConfigurationSetInput) SetTags(v []*Tag) *CreateConfigurationSetInput {
+ s.Tags = v
+ return s
+}
+
+type CreateConfigurationSetOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the newly created configuration set.
+ ConfigurationSetArn *string `type:"string"`
+
+ // The name of the new configuration set.
+ ConfigurationSetName *string `min:"1" type:"string"`
+
+ // The time when the configuration set was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ CreatedTimestamp *time.Time `type:"timestamp"`
+
+ // An array of key and value pair tags that's associated with the configuration
+ // set.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateConfigurationSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateConfigurationSetOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
+func (s *CreateConfigurationSetOutput) SetConfigurationSetArn(v string) *CreateConfigurationSetOutput {
+ s.ConfigurationSetArn = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *CreateConfigurationSetOutput) SetConfigurationSetName(v string) *CreateConfigurationSetOutput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *CreateConfigurationSetOutput) SetCreatedTimestamp(v time.Time) *CreateConfigurationSetOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateConfigurationSetOutput) SetTags(v []*Tag) *CreateConfigurationSetOutput {
+ s.Tags = v
+ return s
+}
+
+type CreateEventDestinationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // An object that contains information about an event destination for logging
+ // to Amazon CloudWatch logs.
+ CloudWatchLogsDestination *CloudWatchLogsDestination `type:"structure"`
+
+ // Either the name of the configuration set or the configuration set ARN to
+ // apply event logging to. The ConfigurateSetName and ConfigurationSetArn can
+ // be found using the DescribeConfigurationSets action.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+
+ // The name that identifies the event destination.
+ //
+ // EventDestinationName is a required field
+ EventDestinationName *string `min:"1" type:"string" required:"true"`
+
+ // An object that contains information about an event destination for logging
+ // to Amazon Kinesis Data Firehose.
+ KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`
+
+ // An array of event types that determine which events to log. If "ALL" is used,
+ // then Amazon Pinpoint logs every event type.
+ //
+ // The TEXT_SENT event type is not supported.
+ //
+ // MatchingEventTypes is a required field
+ MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"`
+
+ // An object that contains information about an event destination for logging
+ // to Amazon SNS.
+ SnsDestination *SnsDestination `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEventDestinationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEventDestinationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateEventDestinationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateEventDestinationInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ }
+ if s.EventDestinationName == nil {
+ invalidParams.Add(request.NewErrParamRequired("EventDestinationName"))
+ }
+ if s.EventDestinationName != nil && len(*s.EventDestinationName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("EventDestinationName", 1))
+ }
+ if s.MatchingEventTypes == nil {
+ invalidParams.Add(request.NewErrParamRequired("MatchingEventTypes"))
+ }
+ if s.MatchingEventTypes != nil && len(s.MatchingEventTypes) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MatchingEventTypes", 1))
+ }
+ if s.CloudWatchLogsDestination != nil {
+ if err := s.CloudWatchLogsDestination.Validate(); err != nil {
+ invalidParams.AddNested("CloudWatchLogsDestination", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.KinesisFirehoseDestination != nil {
+ if err := s.KinesisFirehoseDestination.Validate(); err != nil {
+ invalidParams.AddNested("KinesisFirehoseDestination", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.SnsDestination != nil {
+ if err := s.SnsDestination.Validate(); err != nil {
+ invalidParams.AddNested("SnsDestination", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateEventDestinationInput) SetClientToken(v string) *CreateEventDestinationInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.
+func (s *CreateEventDestinationInput) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *CreateEventDestinationInput {
+ s.CloudWatchLogsDestination = v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *CreateEventDestinationInput) SetConfigurationSetName(v string) *CreateEventDestinationInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetEventDestinationName sets the EventDestinationName field's value.
+func (s *CreateEventDestinationInput) SetEventDestinationName(v string) *CreateEventDestinationInput {
+ s.EventDestinationName = &v
+ return s
+}
+
+// SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
+func (s *CreateEventDestinationInput) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *CreateEventDestinationInput {
+ s.KinesisFirehoseDestination = v
+ return s
+}
+
+// SetMatchingEventTypes sets the MatchingEventTypes field's value.
+func (s *CreateEventDestinationInput) SetMatchingEventTypes(v []*string) *CreateEventDestinationInput {
+ s.MatchingEventTypes = v
+ return s
+}
+
+// SetSnsDestination sets the SnsDestination field's value.
+func (s *CreateEventDestinationInput) SetSnsDestination(v *SnsDestination) *CreateEventDestinationInput {
+ s.SnsDestination = v
+ return s
+}
+
+type CreateEventDestinationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the configuration set.
+ ConfigurationSetArn *string `type:"string"`
+
+ // The name of the configuration set.
+ ConfigurationSetName *string `min:"1" type:"string"`
+
+ // The details of the destination where events are logged.
+ EventDestination *EventDestination `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEventDestinationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateEventDestinationOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
+func (s *CreateEventDestinationOutput) SetConfigurationSetArn(v string) *CreateEventDestinationOutput {
+ s.ConfigurationSetArn = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *CreateEventDestinationOutput) SetConfigurationSetName(v string) *CreateEventDestinationOutput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetEventDestination sets the EventDestination field's value.
+func (s *CreateEventDestinationOutput) SetEventDestination(v *EventDestination) *CreateEventDestinationOutput {
+ s.EventDestination = v
+ return s
+}
+
+type CreateOptOutListInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The name of the new OptOutList.
+ //
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
+
+ // An array of tags (key and value pairs) to associate with the new OptOutList.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateOptOutListInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateOptOutListInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateOptOutListInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateOptOutListInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.OptOutListName == nil {
+ invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
+ }
+ if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateOptOutListInput) SetClientToken(v string) *CreateOptOutListInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *CreateOptOutListInput) SetOptOutListName(v string) *CreateOptOutListInput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateOptOutListInput) SetTags(v []*Tag) *CreateOptOutListInput {
+ s.Tags = v
+ return s
+}
+
+type CreateOptOutListOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ CreatedTimestamp *time.Time `type:"timestamp"`
+
+ // The Amazon Resource Name (ARN) for the OptOutList.
+ OptOutListArn *string `type:"string"`
+
+ // The name of the new OptOutList.
+ OptOutListName *string `min:"1" type:"string"`
+
+ // An array of tags (key and value pairs) associated with the new OptOutList.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateOptOutListOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateOptOutListOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *CreateOptOutListOutput) SetCreatedTimestamp(v time.Time) *CreateOptOutListOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetOptOutListArn sets the OptOutListArn field's value.
+func (s *CreateOptOutListOutput) SetOptOutListArn(v string) *CreateOptOutListOutput {
+ s.OptOutListArn = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *CreateOptOutListOutput) SetOptOutListName(v string) *CreateOptOutListOutput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateOptOutListOutput) SetTags(v []*Tag) *CreateOptOutListOutput {
+ s.Tags = v
+ return s
+}
+
+type CreatePoolInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // By default this is set to false. When set to true the pool can't be deleted.
+ // You can change this value using the UpdatePool action.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
+ // The new two-character code, in ISO 3166-1 alpha-2 format, for the country
+ // or region of the new pool.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
+
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ //
+ // MessageType is a required field
+ MessageType *string `type:"string" required:"true" enum:"MessageType"`
+
+ // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
+ // SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values
+ // for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
+ // to get the values for SenderId and SenderIdArn.
+ //
+ // OriginationIdentity is a required field
+ OriginationIdentity *string `min:"1" type:"string" required:"true"`
+
+ // An array of tags (key and value pairs) associated with the pool.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePoolInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePoolInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreatePoolInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreatePoolInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.IsoCountryCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
+ }
+ if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
+ invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
+ }
+ if s.MessageType == nil {
+ invalidParams.Add(request.NewErrParamRequired("MessageType"))
+ }
+ if s.OriginationIdentity == nil {
+ invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+ }
+ if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreatePoolInput) SetClientToken(v string) *CreatePoolInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *CreatePoolInput) SetDeletionProtectionEnabled(v bool) *CreatePoolInput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *CreatePoolInput) SetIsoCountryCode(v string) *CreatePoolInput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetMessageType sets the MessageType field's value.
+func (s *CreatePoolInput) SetMessageType(v string) *CreatePoolInput {
+ s.MessageType = &v
+ return s
+}
+
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *CreatePoolInput) SetOriginationIdentity(v string) *CreatePoolInput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreatePoolInput) SetTags(v []*Tag) *CreatePoolInput {
+ s.Tags = v
+ return s
+}
+
+type CreatePoolOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ CreatedTimestamp *time.Time `type:"timestamp"`
+
+ // When set to true deletion protection is enabled. By default this is set to
+ // false.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
+ // The type of message for the pool to use.
+ MessageType *string `type:"string" enum:"MessageType"`
+
+ // The name of the OptOutList associated with the pool.
+ OptOutListName *string `min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) for the pool.
+ PoolArn *string `type:"string"`
+
+ // The unique identifier for the pool.
+ PoolId *string `type:"string"`
+
+ // By default this is set to false. When an end recipient sends a message that
+ // begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
+ // automatically replies with a customizable message and adds the end recipient
+ // to the OptOutList. When set to true you're responsible for responding to
+ // HELP and STOP requests. You're also responsible for tracking and honoring
+ // opt-out requests.
+ SelfManagedOptOutsEnabled *bool `type:"boolean"`
+
+ // Indicates whether shared routes are enabled for the pool.
+ SharedRoutesEnabled *bool `type:"boolean"`
+
+ // The current status of the pool.
+ //
+ // * CREATING: The pool is currently being created and isn't yet available
+ // for use.
+ //
+ // * ACTIVE: The pool is active and available for use.
+ //
+ // * DELETING: The pool is being deleted.
+ Status *string `type:"string" enum:"PoolStatus"`
+
+ // An array of tags (key and value pairs) associated with the pool.
+ Tags []*Tag `type:"list"`
+
+ // The Amazon Resource Name (ARN) of the two way channel.
+ TwoWayChannelArn *string `min:"20" type:"string"`
+
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
+ // By default this is set to false. When set to true you can receive incoming
+ // text messages from your end recipients.
+ TwoWayEnabled *bool `type:"boolean"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePoolOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePoolOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *CreatePoolOutput) SetCreatedTimestamp(v time.Time) *CreatePoolOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *CreatePoolOutput) SetDeletionProtectionEnabled(v bool) *CreatePoolOutput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
+// SetMessageType sets the MessageType field's value.
+func (s *CreatePoolOutput) SetMessageType(v string) *CreatePoolOutput {
+ s.MessageType = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *CreatePoolOutput) SetOptOutListName(v string) *CreatePoolOutput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetPoolArn sets the PoolArn field's value.
+func (s *CreatePoolOutput) SetPoolArn(v string) *CreatePoolOutput {
+ s.PoolArn = &v
+ return s
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *CreatePoolOutput) SetPoolId(v string) *CreatePoolOutput {
+ s.PoolId = &v
+ return s
+}
+
+// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
+func (s *CreatePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *CreatePoolOutput {
+ s.SelfManagedOptOutsEnabled = &v
+ return s
+}
+
+// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
+func (s *CreatePoolOutput) SetSharedRoutesEnabled(v bool) *CreatePoolOutput {
+ s.SharedRoutesEnabled = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CreatePoolOutput) SetStatus(v string) *CreatePoolOutput {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreatePoolOutput) SetTags(v []*Tag) *CreatePoolOutput {
+ s.Tags = v
+ return s
+}
+
+// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
+func (s *CreatePoolOutput) SetTwoWayChannelArn(v string) *CreatePoolOutput {
+ s.TwoWayChannelArn = &v
+ return s
+}
+
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *CreatePoolOutput) SetTwoWayChannelRole(v string) *CreatePoolOutput {
+ s.TwoWayChannelRole = &v
+ return s
+}
+
+// SetTwoWayEnabled sets the TwoWayEnabled field's value.
+func (s *CreatePoolOutput) SetTwoWayEnabled(v bool) *CreatePoolOutput {
+ s.TwoWayEnabled = &v
+ return s
+}
+
+type CreateRegistrationAssociationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
+
+ // The unique identifier for the origination identity. For example this could
+ // be a PhoneNumberId or SenderId.
+ //
+ // ResourceId is a required field
+ ResourceId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAssociationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAssociationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateRegistrationAssociationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateRegistrationAssociationInput"}
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+ if s.ResourceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceId"))
+ }
+ if s.ResourceId != nil && len(*s.ResourceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *CreateRegistrationAssociationInput) SetRegistrationId(v string) *CreateRegistrationAssociationInput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *CreateRegistrationAssociationInput) SetResourceId(v string) *CreateRegistrationAssociationInput {
+ s.ResourceId = &v
+ return s
+}
+
+type CreateRegistrationAssociationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ IsoCountryCode *string `min:"2" type:"string"`
+
+ // The phone number associated with the registration in E.164 format.
+ PhoneNumber *string `min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) of the origination identity that is associated
+ // with the registration.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the origination identity. For example this could
+ // be a PhoneNumberId or SenderId.
+ //
+ // ResourceId is a required field
+ ResourceId *string `type:"string" required:"true"`
+
+ // The registration type or origination identity type.
+ //
+ // ResourceType is a required field
+ ResourceType *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAssociationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAssociationOutput) GoString() string {
+ return s.String()
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *CreateRegistrationAssociationOutput) SetIsoCountryCode(v string) *CreateRegistrationAssociationOutput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *CreateRegistrationAssociationOutput) SetPhoneNumber(v string) *CreateRegistrationAssociationOutput {
+ s.PhoneNumber = &v
+ return s
+}
+
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *CreateRegistrationAssociationOutput) SetRegistrationArn(v string) *CreateRegistrationAssociationOutput {
+ s.RegistrationArn = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *CreateRegistrationAssociationOutput) SetRegistrationId(v string) *CreateRegistrationAssociationOutput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *CreateRegistrationAssociationOutput) SetRegistrationType(v string) *CreateRegistrationAssociationOutput {
+ s.RegistrationType = &v
+ return s
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *CreateRegistrationAssociationOutput) SetResourceArn(v string) *CreateRegistrationAssociationOutput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *CreateRegistrationAssociationOutput) SetResourceId(v string) *CreateRegistrationAssociationOutput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *CreateRegistrationAssociationOutput) SetResourceType(v string) *CreateRegistrationAssociationOutput {
+ s.ResourceType = &v
+ return s
+}
+
+type CreateRegistrationAttachmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The registration file to upload. The maximum file size is 1MiB and valid
+ // file extensions are PDF, JPEG and PNG.
+ // AttachmentBody is automatically base64 encoded/decoded by the SDK.
+ AttachmentBody []byte `min:"1" type:"blob"`
+
+ // A URL to the required registration file. For example, you can provide the
+ // S3 object URL.
+ AttachmentUrl *string `min:"1" type:"string"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // An array of tags (key and value pairs) to associate with the registration
+ // attachment.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAttachmentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAttachmentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateRegistrationAttachmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateRegistrationAttachmentInput"}
+ if s.AttachmentBody != nil && len(s.AttachmentBody) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AttachmentBody", 1))
+ }
+ if s.AttachmentUrl != nil && len(*s.AttachmentUrl) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AttachmentUrl", 1))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAttachmentBody sets the AttachmentBody field's value.
+func (s *CreateRegistrationAttachmentInput) SetAttachmentBody(v []byte) *CreateRegistrationAttachmentInput {
+ s.AttachmentBody = v
+ return s
+}
+
+// SetAttachmentUrl sets the AttachmentUrl field's value.
+func (s *CreateRegistrationAttachmentInput) SetAttachmentUrl(v string) *CreateRegistrationAttachmentInput {
+ s.AttachmentUrl = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateRegistrationAttachmentInput) SetClientToken(v string) *CreateRegistrationAttachmentInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateRegistrationAttachmentInput) SetTags(v []*Tag) *CreateRegistrationAttachmentInput {
+ s.Tags = v
+ return s
+}
+
+type CreateRegistrationAttachmentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status of the registration attachment.
+ //
+ // * UPLOAD_IN_PROGRESS The attachment is being uploaded.
+ //
+ // * UPLOAD_COMPLETE The attachment has been uploaded.
+ //
+ // * UPLOAD_FAILED The attachment failed to uploaded.
+ //
+ // * DELETED The attachment has been deleted..
+ //
+ // AttachmentStatus is a required field
+ AttachmentStatus *string `type:"string" required:"true" enum:"AttachmentStatus"`
+
+ // The time when the registration attachment was created, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The Amazon Resource Name (ARN) for the registration attachment.
+ //
+ // RegistrationAttachmentArn is a required field
+ RegistrationAttachmentArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration attachment.
+ //
+ // RegistrationAttachmentId is a required field
+ RegistrationAttachmentId *string `type:"string" required:"true"`
+
+ // An array of tags (key and value pairs) to associate with the registration
+ // attachment.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAttachmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationAttachmentOutput) GoString() string {
+ return s.String()
+}
+
+// SetAttachmentStatus sets the AttachmentStatus field's value.
+func (s *CreateRegistrationAttachmentOutput) SetAttachmentStatus(v string) *CreateRegistrationAttachmentOutput {
+ s.AttachmentStatus = &v
+ return s
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *CreateRegistrationAttachmentOutput) SetCreatedTimestamp(v time.Time) *CreateRegistrationAttachmentOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.
+func (s *CreateRegistrationAttachmentOutput) SetRegistrationAttachmentArn(v string) *CreateRegistrationAttachmentOutput {
+ s.RegistrationAttachmentArn = &v
+ return s
+}
+
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *CreateRegistrationAttachmentOutput) SetRegistrationAttachmentId(v string) *CreateRegistrationAttachmentOutput {
+ s.RegistrationAttachmentId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateRegistrationAttachmentOutput) SetTags(v []*Tag) *CreateRegistrationAttachmentOutput {
+ s.Tags = v
+ return s
+}
+
+type CreateRegistrationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The type of registration form to create. The list of RegistrationTypes can
+ // be found using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
+
+ // An array of tags (key and value pairs) to associate with the registration.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateRegistrationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateRegistrationInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.RegistrationType == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationType"))
+ }
+ if s.RegistrationType != nil && len(*s.RegistrationType) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationType", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateRegistrationInput) SetClientToken(v string) *CreateRegistrationInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *CreateRegistrationInput) SetRegistrationType(v string) *CreateRegistrationInput {
+ s.RegistrationType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateRegistrationInput) SetTags(v []*Tag) *CreateRegistrationInput {
+ s.Tags = v
+ return s
+}
+
+type CreateRegistrationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Metadata about a given registration which is specific to that registration
+ // type.
+ AdditionalAttributes map[string]*string `type:"map"`
+
+ // The time when the registration was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The current version number of the registration.
+ //
+ // CurrentVersionNumber is a required field
+ CurrentVersionNumber *int64 `min:"1" type:"long" required:"true"`
+
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The status of the registration.
+ //
+ // * CREATED: Your registration is created but not submitted.
+ //
+ // * SUBMITTED: Your registration has been submitted and is awaiting review.
+ //
+ // * REVIEWING: Your registration has been accepted and is being reviewed.
+ //
+ // * PROVISIONING: Your registration has been approved and your origination
+ // identity is being created.
+ //
+ // * COMPLETE: Your registration has been approved and and your origination
+ // identity has been created.
+ //
+ // * REQUIRES_UPDATES: You must fix your registration and resubmit it.
+ //
+ // * CLOSED: The phone number or sender ID has been deleted and you must
+ // also delete the registration for the number.
+ //
+ // * DELETED: The registration has been deleted.
+ //
+ // RegistrationStatus is a required field
+ RegistrationStatus *string `type:"string" required:"true" enum:"RegistrationStatus"`
+
+ // The type of registration form to create. The list of RegistrationTypes can
+ // be found using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
+
+ // An array of tags (key and value pairs) to associate with the registration.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationOutput) GoString() string {
+ return s.String()
+}
+
+// SetAdditionalAttributes sets the AdditionalAttributes field's value.
+func (s *CreateRegistrationOutput) SetAdditionalAttributes(v map[string]*string) *CreateRegistrationOutput {
+ s.AdditionalAttributes = v
+ return s
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *CreateRegistrationOutput) SetCreatedTimestamp(v time.Time) *CreateRegistrationOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetCurrentVersionNumber sets the CurrentVersionNumber field's value.
+func (s *CreateRegistrationOutput) SetCurrentVersionNumber(v int64) *CreateRegistrationOutput {
+ s.CurrentVersionNumber = &v
+ return s
+}
+
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *CreateRegistrationOutput) SetRegistrationArn(v string) *CreateRegistrationOutput {
+ s.RegistrationArn = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *CreateRegistrationOutput) SetRegistrationId(v string) *CreateRegistrationOutput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationStatus sets the RegistrationStatus field's value.
+func (s *CreateRegistrationOutput) SetRegistrationStatus(v string) *CreateRegistrationOutput {
+ s.RegistrationStatus = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *CreateRegistrationOutput) SetRegistrationType(v string) *CreateRegistrationOutput {
+ s.RegistrationType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateRegistrationOutput) SetTags(v []*Tag) *CreateRegistrationOutput {
+ s.Tags = v
+ return s
+}
+
+type CreateRegistrationVersionInput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationVersionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationVersionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateRegistrationVersionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateRegistrationVersionInput"}
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *CreateRegistrationVersionInput) SetRegistrationId(v string) *CreateRegistrationVersionInput {
+ s.RegistrationId = &v
+ return s
+}
+
+type CreateRegistrationVersionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The status of the registration.
+ //
+ // * DRAFT: The initial status of a registration version after it’s created.
+ //
+ // * SUBMITTED: Your registration has been submitted.
+ //
+ // * REVIEWING: Your registration has been accepted and is being reviewed.
+ //
+ // * APPROVED: Your registration has been approved.
+ //
+ // * DISCARDED: You've abandon this version of their registration to start
+ // over with a new version.
+ //
+ // * DENIED: You must fix your registration and resubmit it.
+ //
+ // * REVOKED: Your previously approved registration has been revoked.
+ //
+ // * ARCHIVED: Your previously approved registration version moves into this
+ // status when a more recently submitted version is approved.
+ //
+ // RegistrationVersionStatus is a required field
+ RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`
+
+ // A RegistrationVersionStatusHistory object that contains timestamps for the
+ // registration.
+ //
+ // RegistrationVersionStatusHistory is a required field
+ RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`
+
+ // The new version number of the registration.
+ //
+ // VersionNumber is a required field
+ VersionNumber *int64 `min:"1" type:"long" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationVersionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRegistrationVersionOutput) GoString() string {
+ return s.String()
+}
+
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *CreateRegistrationVersionOutput) SetRegistrationArn(v string) *CreateRegistrationVersionOutput {
+ s.RegistrationArn = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *CreateRegistrationVersionOutput) SetRegistrationId(v string) *CreateRegistrationVersionOutput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
+func (s *CreateRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *CreateRegistrationVersionOutput {
+ s.RegistrationVersionStatus = &v
+ return s
+}
+
+// SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
+func (s *CreateRegistrationVersionOutput) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *CreateRegistrationVersionOutput {
+ s.RegistrationVersionStatusHistory = v
+ return s
+}
+
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *CreateRegistrationVersionOutput) SetVersionNumber(v int64) *CreateRegistrationVersionOutput {
+ s.VersionNumber = &v
+ return s
+}
+
+type CreateVerifiedDestinationNumberInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The verified destination phone number, in E.164 format.
+ //
+ // DestinationPhoneNumber is a required field
+ DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`
+
+ // An array of tags (key and value pairs) to associate with the destination
+ // number.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateVerifiedDestinationNumberInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateVerifiedDestinationNumberInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateVerifiedDestinationNumberInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateVerifiedDestinationNumberInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.DestinationPhoneNumber == nil {
+ invalidParams.Add(request.NewErrParamRequired("DestinationPhoneNumber"))
+ }
+ if s.DestinationPhoneNumber != nil && len(*s.DestinationPhoneNumber) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DestinationPhoneNumber", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateVerifiedDestinationNumberInput) SetClientToken(v string) *CreateVerifiedDestinationNumberInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
+func (s *CreateVerifiedDestinationNumberInput) SetDestinationPhoneNumber(v string) *CreateVerifiedDestinationNumberInput {
+ s.DestinationPhoneNumber = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateVerifiedDestinationNumberInput) SetTags(v []*Tag) *CreateVerifiedDestinationNumberInput {
+ s.Tags = v
+ return s
+}
+
+type CreateVerifiedDestinationNumberOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the verified phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The verified destination phone number, in E.164 format.
+ //
+ // DestinationPhoneNumber is a required field
+ DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`
+
+ // The status of the verified destination phone number.
+ //
+ // * PENDING: The phone number hasn't been verified yet.
+ //
+ // * VERIFIED: The phone number is verified and can receive messages.
+ //
+ // Status is a required field
+ Status *string `type:"string" required:"true" enum:"VerificationStatus"`
+
+ // An array of tags (key and value pairs) to associate with the destination
+ // number.
+ Tags []*Tag `type:"list"`
+
+ // The Amazon Resource Name (ARN) for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberArn is a required field
+ VerifiedDestinationNumberArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberId is a required field
+ VerifiedDestinationNumberId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateVerifiedDestinationNumberOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateVerifiedDestinationNumberOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *CreateVerifiedDestinationNumberOutput) SetCreatedTimestamp(v time.Time) *CreateVerifiedDestinationNumberOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
+func (s *CreateVerifiedDestinationNumberOutput) SetDestinationPhoneNumber(v string) *CreateVerifiedDestinationNumberOutput {
+ s.DestinationPhoneNumber = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CreateVerifiedDestinationNumberOutput) SetStatus(v string) *CreateVerifiedDestinationNumberOutput {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateVerifiedDestinationNumberOutput) SetTags(v []*Tag) *CreateVerifiedDestinationNumberOutput {
+ s.Tags = v
+ return s
+}
+
+// SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
+func (s *CreateVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberArn(v string) *CreateVerifiedDestinationNumberOutput {
+ s.VerifiedDestinationNumberArn = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
+func (s *CreateVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberId(v string) *CreateVerifiedDestinationNumberOutput {
+ s.VerifiedDestinationNumberId = &v
+ return s
+}
+
+type DeleteConfigurationSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set or the configuration set ARN that you want
+ // to delete. The ConfigurationSetName and ConfigurationSetArn can be found
+ // using the DescribeConfigurationSets action.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConfigurationSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConfigurationSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteConfigurationSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteConfigurationSetInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteConfigurationSetInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+type DeleteConfigurationSetOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the deleted configuration set.
+ ConfigurationSetArn *string `type:"string"`
+
+ // The name of the deleted configuration set.
+ ConfigurationSetName *string `min:"1" type:"string"`
+
+ // The time that the deleted configuration set was created in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ CreatedTimestamp *time.Time `type:"timestamp"`
+
+ // The default message type of the configuration set that was deleted.
+ DefaultMessageType *string `type:"string" enum:"MessageType"`
+
+ // The default Sender ID of the configuration set that was deleted.
+ DefaultSenderId *string `min:"1" type:"string"`
+
+ // An array of any EventDestination objects that were associated with the deleted
+ // configuration set.
+ EventDestinations []*EventDestination `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConfigurationSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConfigurationSetOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
+func (s *DeleteConfigurationSetOutput) SetConfigurationSetArn(v string) *DeleteConfigurationSetOutput {
+ s.ConfigurationSetArn = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteConfigurationSetOutput) SetConfigurationSetName(v string) *DeleteConfigurationSetOutput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *DeleteConfigurationSetOutput) SetCreatedTimestamp(v time.Time) *DeleteConfigurationSetOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetDefaultMessageType sets the DefaultMessageType field's value.
+func (s *DeleteConfigurationSetOutput) SetDefaultMessageType(v string) *DeleteConfigurationSetOutput {
+ s.DefaultMessageType = &v
+ return s
+}
+
+// SetDefaultSenderId sets the DefaultSenderId field's value.
+func (s *DeleteConfigurationSetOutput) SetDefaultSenderId(v string) *DeleteConfigurationSetOutput {
+ s.DefaultSenderId = &v
+ return s
+}
+
+// SetEventDestinations sets the EventDestinations field's value.
+func (s *DeleteConfigurationSetOutput) SetEventDestinations(v []*EventDestination) *DeleteConfigurationSetOutput {
+ s.EventDestinations = v
+ return s
+}
+
+type DeleteDefaultMessageTypeInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set or the configuration set Amazon Resource
+ // Name (ARN) to delete the default message type from. The ConfigurationSetName
+ // and ConfigurationSetArn can be found using the DescribeConfigurationSets
+ // action.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultMessageTypeInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultMessageTypeInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteDefaultMessageTypeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteDefaultMessageTypeInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteDefaultMessageTypeInput) SetConfigurationSetName(v string) *DeleteDefaultMessageTypeInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+type DeleteDefaultMessageTypeOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the configuration set.
+ ConfigurationSetArn *string `type:"string"`
+
+ // The name of the configuration set.
+ ConfigurationSetName *string `min:"1" type:"string"`
+
+ // The current message type for the configuration set.
+ MessageType *string `type:"string" enum:"MessageType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultMessageTypeOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultMessageTypeOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
+func (s *DeleteDefaultMessageTypeOutput) SetConfigurationSetArn(v string) *DeleteDefaultMessageTypeOutput {
+ s.ConfigurationSetArn = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteDefaultMessageTypeOutput) SetConfigurationSetName(v string) *DeleteDefaultMessageTypeOutput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetMessageType sets the MessageType field's value.
+func (s *DeleteDefaultMessageTypeOutput) SetMessageType(v string) *DeleteDefaultMessageTypeOutput {
+ s.MessageType = &v
+ return s
+}
+
+type DeleteDefaultSenderIdInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set or the configuration set Amazon Resource
+ // Name (ARN) to delete the default sender ID from. The ConfigurationSetName
+ // and ConfigurationSetArn can be found using the DescribeConfigurationSets
+ // action.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultSenderIdInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultSenderIdInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteDefaultSenderIdInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteDefaultSenderIdInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteDefaultSenderIdInput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+type DeleteDefaultSenderIdOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the configuration set.
+ ConfigurationSetArn *string `type:"string"`
+
+ // The name of the configuration set.
+ ConfigurationSetName *string `min:"1" type:"string"`
+
+ // The current sender ID for the configuration set.
+ SenderId *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultSenderIdOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteDefaultSenderIdOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
+func (s *DeleteDefaultSenderIdOutput) SetConfigurationSetArn(v string) *DeleteDefaultSenderIdOutput {
+ s.ConfigurationSetArn = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteDefaultSenderIdOutput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdOutput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetSenderId sets the SenderId field's value.
+func (s *DeleteDefaultSenderIdOutput) SetSenderId(v string) *DeleteDefaultSenderIdOutput {
+ s.SenderId = &v
+ return s
+}
+
+type DeleteEventDestinationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set or the configuration set's Amazon Resource
+ // Name (ARN) to remove the event destination from. The ConfigurateSetName and
+ // ConfigurationSetArn can be found using the DescribeConfigurationSets action.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+
+ // The name of the event destination to delete.
+ //
+ // EventDestinationName is a required field
+ EventDestinationName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEventDestinationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEventDestinationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteEventDestinationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteEventDestinationInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ }
+ if s.EventDestinationName == nil {
+ invalidParams.Add(request.NewErrParamRequired("EventDestinationName"))
+ }
+ if s.EventDestinationName != nil && len(*s.EventDestinationName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("EventDestinationName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteEventDestinationInput) SetConfigurationSetName(v string) *DeleteEventDestinationInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetEventDestinationName sets the EventDestinationName field's value.
+func (s *DeleteEventDestinationInput) SetEventDestinationName(v string) *DeleteEventDestinationInput {
+ s.EventDestinationName = &v
+ return s
+}
+
+type DeleteEventDestinationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the configuration set.
+ ConfigurationSetArn *string `type:"string"`
+
+ // The name of the configuration set the event destination was deleted from.
+ ConfigurationSetName *string `min:"1" type:"string"`
+
+ // The event destination object that was deleted.
+ EventDestination *EventDestination `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEventDestinationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteEventDestinationOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
+func (s *DeleteEventDestinationOutput) SetConfigurationSetArn(v string) *DeleteEventDestinationOutput {
+ s.ConfigurationSetArn = &v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteEventDestinationOutput) SetConfigurationSetName(v string) *DeleteEventDestinationOutput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetEventDestination sets the EventDestination field's value.
+func (s *DeleteEventDestinationOutput) SetEventDestination(v *EventDestination) *DeleteEventDestinationOutput {
+ s.EventDestination = v
+ return s
+}
+
+type DeleteKeywordInput struct {
+ _ struct{} `type:"structure"`
+
+ // The keyword to delete.
+ //
+ // Keyword is a required field
+ Keyword *string `min:"1" type:"string" required:"true"`
+
+ // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
+ // PoolId or PoolArn. You can use DescribePhoneNumbers to find the values for
+ // PhoneNumberId and PhoneNumberArn and DescribePools to find the values of
+ // PoolId and PoolArn.
+ //
+ // OriginationIdentity is a required field
+ OriginationIdentity *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteKeywordInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteKeywordInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteKeywordInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteKeywordInput"}
+ if s.Keyword == nil {
+ invalidParams.Add(request.NewErrParamRequired("Keyword"))
+ }
+ if s.Keyword != nil && len(*s.Keyword) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Keyword", 1))
+ }
+ if s.OriginationIdentity == nil {
+ invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+ }
+ if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetKeyword sets the Keyword field's value.
+func (s *DeleteKeywordInput) SetKeyword(v string) *DeleteKeywordInput {
+ s.Keyword = &v
+ return s
+}
+
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *DeleteKeywordInput) SetOriginationIdentity(v string) *DeleteKeywordInput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+type DeleteKeywordOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The keyword that was deleted.
+ Keyword *string `min:"1" type:"string"`
+
+ // The action that was associated with the deleted keyword.
+ KeywordAction *string `type:"string" enum:"KeywordAction"`
+
+ // The message that was associated with the deleted keyword.
+ KeywordMessage *string `min:"1" type:"string"`
+
+ // The PhoneNumberId or PoolId that the keyword was associated with.
+ OriginationIdentity *string `type:"string"`
+
+ // The PhoneNumberArn or PoolArn that the keyword was associated with.
+ OriginationIdentityArn *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteKeywordOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteKeywordOutput) GoString() string {
+ return s.String()
+}
+
+// SetKeyword sets the Keyword field's value.
+func (s *DeleteKeywordOutput) SetKeyword(v string) *DeleteKeywordOutput {
+ s.Keyword = &v
+ return s
+}
+
+// SetKeywordAction sets the KeywordAction field's value.
+func (s *DeleteKeywordOutput) SetKeywordAction(v string) *DeleteKeywordOutput {
+ s.KeywordAction = &v
+ return s
+}
+
+// SetKeywordMessage sets the KeywordMessage field's value.
+func (s *DeleteKeywordOutput) SetKeywordMessage(v string) *DeleteKeywordOutput {
+ s.KeywordMessage = &v
+ return s
+}
+
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *DeleteKeywordOutput) SetOriginationIdentity(v string) *DeleteKeywordOutput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
+func (s *DeleteKeywordOutput) SetOriginationIdentityArn(v string) *DeleteKeywordOutput {
+ s.OriginationIdentityArn = &v
+ return s
+}
+
+type DeleteOptOutListInput struct {
+ _ struct{} `type:"structure"`
+
+ // The OptOutListName or OptOutListArn of the OptOutList to delete. You can
+ // use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
+ //
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptOutListInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptOutListInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteOptOutListInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteOptOutListInput"}
+ if s.OptOutListName == nil {
+ invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
+ }
+ if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *DeleteOptOutListInput) SetOptOutListName(v string) *DeleteOptOutListInput {
+ s.OptOutListName = &v
+ return s
+}
+
+type DeleteOptOutListOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the OptOutList was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ CreatedTimestamp *time.Time `type:"timestamp"`
+
+ // The Amazon Resource Name (ARN) of the OptOutList that was removed.
+ OptOutListArn *string `type:"string"`
+
+ // The name of the OptOutList that was removed.
+ OptOutListName *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptOutListOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptOutListOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *DeleteOptOutListOutput) SetCreatedTimestamp(v time.Time) *DeleteOptOutListOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetOptOutListArn sets the OptOutListArn field's value.
+func (s *DeleteOptOutListOutput) SetOptOutListArn(v string) *DeleteOptOutListOutput {
+ s.OptOutListArn = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *DeleteOptOutListOutput) SetOptOutListName(v string) *DeleteOptOutListOutput {
+ s.OptOutListName = &v
+ return s
+}
+
+type DeleteOptedOutNumberInput struct {
+ _ struct{} `type:"structure"`
+
+ // The OptOutListName or OptOutListArn to remove the phone number from.
+ //
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
+
+ // The phone number, in E.164 format, to remove from the OptOutList.
+ //
+ // OptedOutNumber is a required field
+ OptedOutNumber *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptedOutNumberInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptedOutNumberInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteOptedOutNumberInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteOptedOutNumberInput"}
+ if s.OptOutListName == nil {
+ invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
+ }
+ if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ }
+ if s.OptedOutNumber == nil {
+ invalidParams.Add(request.NewErrParamRequired("OptedOutNumber"))
+ }
+ if s.OptedOutNumber != nil && len(*s.OptedOutNumber) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptedOutNumber", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *DeleteOptedOutNumberInput) SetOptOutListName(v string) *DeleteOptedOutNumberInput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetOptedOutNumber sets the OptedOutNumber field's value.
+func (s *DeleteOptedOutNumberInput) SetOptedOutNumber(v string) *DeleteOptedOutNumberInput {
+ s.OptedOutNumber = &v
+ return s
+}
+
+type DeleteOptedOutNumberOutput struct {
+ _ struct{} `type:"structure"`
+
+ // This is true if it was the end user who requested their phone number be removed.
+ EndUserOptedOut *bool `type:"boolean"`
+
+ // The OptOutListArn that the phone number was removed from.
+ OptOutListArn *string `type:"string"`
+
+ // The OptOutListName that the phone number was removed from.
+ OptOutListName *string `min:"1" type:"string"`
+
+ // The phone number that was removed from the OptOutList.
+ OptedOutNumber *string `min:"1" type:"string"`
+
+ // The time that the number was removed at, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ OptedOutTimestamp *time.Time `type:"timestamp"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptedOutNumberOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteOptedOutNumberOutput) GoString() string {
+ return s.String()
+}
+
+// SetEndUserOptedOut sets the EndUserOptedOut field's value.
+func (s *DeleteOptedOutNumberOutput) SetEndUserOptedOut(v bool) *DeleteOptedOutNumberOutput {
+ s.EndUserOptedOut = &v
+ return s
+}
+
+// SetOptOutListArn sets the OptOutListArn field's value.
+func (s *DeleteOptedOutNumberOutput) SetOptOutListArn(v string) *DeleteOptedOutNumberOutput {
+ s.OptOutListArn = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *DeleteOptedOutNumberOutput) SetOptOutListName(v string) *DeleteOptedOutNumberOutput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetOptedOutNumber sets the OptedOutNumber field's value.
+func (s *DeleteOptedOutNumberOutput) SetOptedOutNumber(v string) *DeleteOptedOutNumberOutput {
+ s.OptedOutNumber = &v
+ return s
+}
+
+// SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
+func (s *DeleteOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *DeleteOptedOutNumberOutput {
+ s.OptedOutTimestamp = &v
+ return s
+}
+
+type DeletePoolInput struct {
+ _ struct{} `type:"structure"`
+
+ // The PoolId or PoolArn of the pool to delete. You can use DescribePools to
+ // find the values for PoolId and PoolArn .
+ //
+ // PoolId is a required field
+ PoolId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePoolInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePoolInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeletePoolInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeletePoolInput"}
+ if s.PoolId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PoolId"))
+ }
+ if s.PoolId != nil && len(*s.PoolId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *DeletePoolInput) SetPoolId(v string) *DeletePoolInput {
+ s.PoolId = &v
+ return s
+}
+
+type DeletePoolOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ CreatedTimestamp *time.Time `type:"timestamp"`
+
+ // The message type that was associated with the deleted pool.
+ MessageType *string `type:"string" enum:"MessageType"`
+
+ // The name of the OptOutList that was associated with the deleted pool.
+ OptOutListName *string `min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the pool that was deleted.
+ PoolArn *string `type:"string"`
+
+ // The PoolId of the pool that was deleted.
+ PoolId *string `type:"string"`
+
+ // By default this is set to false. When an end recipient sends a message that
+ // begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
+ // automatically replies with a customizable message and adds the end recipient
+ // to the OptOutList. When set to true you're responsible for responding to
+ // HELP and STOP requests. You're also responsible for tracking and honoring
+ // opt-out requests.
+ SelfManagedOptOutsEnabled *bool `type:"boolean"`
+
+ // Indicates whether shared routes are enabled for the pool.
+ SharedRoutesEnabled *bool `type:"boolean"`
+
+ // The current status of the pool.
+ //
+ // * CREATING: The pool is currently being created and isn't yet available
+ // for use.
+ //
+ // * ACTIVE: The pool is active and available for use.
+ //
+ // * DELETING: The pool is being deleted.
+ Status *string `type:"string" enum:"PoolStatus"`
+
+ // The Amazon Resource Name (ARN) of the TwoWayChannel.
+ TwoWayChannelArn *string `min:"20" type:"string"`
+
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
+ // By default this is set to false. When set to true you can receive incoming
+ // text messages from your end recipients.
+ TwoWayEnabled *bool `type:"boolean"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePoolOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePoolOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *DeletePoolOutput) SetCreatedTimestamp(v time.Time) *DeletePoolOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetMessageType sets the MessageType field's value.
+func (s *DeletePoolOutput) SetMessageType(v string) *DeletePoolOutput {
+ s.MessageType = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *DeletePoolOutput) SetOptOutListName(v string) *DeletePoolOutput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetPoolArn sets the PoolArn field's value.
+func (s *DeletePoolOutput) SetPoolArn(v string) *DeletePoolOutput {
+ s.PoolArn = &v
+ return s
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *DeletePoolOutput) SetPoolId(v string) *DeletePoolOutput {
+ s.PoolId = &v
+ return s
+}
+
+// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
+func (s *DeletePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *DeletePoolOutput {
+ s.SelfManagedOptOutsEnabled = &v
+ return s
+}
+
+// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
+func (s *DeletePoolOutput) SetSharedRoutesEnabled(v bool) *DeletePoolOutput {
+ s.SharedRoutesEnabled = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DeletePoolOutput) SetStatus(v string) *DeletePoolOutput {
+ s.Status = &v
+ return s
+}
+
+// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
+func (s *DeletePoolOutput) SetTwoWayChannelArn(v string) *DeletePoolOutput {
+ s.TwoWayChannelArn = &v
+ return s
+}
+
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *DeletePoolOutput) SetTwoWayChannelRole(v string) *DeletePoolOutput {
+ s.TwoWayChannelRole = &v
+ return s
+}
+
+// SetTwoWayEnabled sets the TwoWayEnabled field's value.
+func (s *DeletePoolOutput) SetTwoWayEnabled(v bool) *DeletePoolOutput {
+ s.TwoWayEnabled = &v
+ return s
+}
+
+type DeleteRegistrationAttachmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the registration attachment.
+ //
+ // RegistrationAttachmentId is a required field
+ RegistrationAttachmentId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationAttachmentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationAttachmentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteRegistrationAttachmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteRegistrationAttachmentInput"}
+ if s.RegistrationAttachmentId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationAttachmentId"))
+ }
+ if s.RegistrationAttachmentId != nil && len(*s.RegistrationAttachmentId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationAttachmentId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *DeleteRegistrationAttachmentInput) SetRegistrationAttachmentId(v string) *DeleteRegistrationAttachmentInput {
+ s.RegistrationAttachmentId = &v
+ return s
+}
+
+type DeleteRegistrationAttachmentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status of the registration attachment.
+ //
+ // * UPLOAD_IN_PROGRESS The attachment is being uploaded.
+ //
+ // * UPLOAD_COMPLETE The attachment has been uploaded.
+ //
+ // * UPLOAD_FAILED The attachment failed to uploaded.
+ //
+ // * DELETED The attachment has been deleted..
+ //
+ // AttachmentStatus is a required field
+ AttachmentStatus *string `type:"string" required:"true" enum:"AttachmentStatus"`
+
+ // The error message if the upload failed.
+ AttachmentUploadErrorReason *string `type:"string" enum:"AttachmentUploadErrorReason"`
+
+ // The time when the registration attachment was created, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The Amazon Resource Name (ARN) for the registration attachment.
+ //
+ // RegistrationAttachmentArn is a required field
+ RegistrationAttachmentArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration attachment.
+ //
+ // RegistrationAttachmentId is a required field
+ RegistrationAttachmentId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationAttachmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationAttachmentOutput) GoString() string {
+ return s.String()
+}
+
+// SetAttachmentStatus sets the AttachmentStatus field's value.
+func (s *DeleteRegistrationAttachmentOutput) SetAttachmentStatus(v string) *DeleteRegistrationAttachmentOutput {
+ s.AttachmentStatus = &v
+ return s
+}
+
+// SetAttachmentUploadErrorReason sets the AttachmentUploadErrorReason field's value.
+func (s *DeleteRegistrationAttachmentOutput) SetAttachmentUploadErrorReason(v string) *DeleteRegistrationAttachmentOutput {
+ s.AttachmentUploadErrorReason = &v
+ return s
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *DeleteRegistrationAttachmentOutput) SetCreatedTimestamp(v time.Time) *DeleteRegistrationAttachmentOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.
+func (s *DeleteRegistrationAttachmentOutput) SetRegistrationAttachmentArn(v string) *DeleteRegistrationAttachmentOutput {
+ s.RegistrationAttachmentArn = &v
+ return s
+}
+
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *DeleteRegistrationAttachmentOutput) SetRegistrationAttachmentId(v string) *DeleteRegistrationAttachmentOutput {
+ s.RegistrationAttachmentId = &v
+ return s
+}
+
+type DeleteRegistrationFieldValueInput struct {
+ _ struct{} `type:"structure"`
+
+ // The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
+ // for a list of FieldPaths.
+ //
+ // FieldPath is a required field
+ FieldPath *string `min:"1" type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationFieldValueInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationFieldValueInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteRegistrationFieldValueInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteRegistrationFieldValueInput"}
+ if s.FieldPath == nil {
+ invalidParams.Add(request.NewErrParamRequired("FieldPath"))
+ }
+ if s.FieldPath != nil && len(*s.FieldPath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("FieldPath", 1))
+ }
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetFieldPath sets the FieldPath field's value.
+func (s *DeleteRegistrationFieldValueInput) SetFieldPath(v string) *DeleteRegistrationFieldValueInput {
+ s.FieldPath = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DeleteRegistrationFieldValueInput) SetRegistrationId(v string) *DeleteRegistrationFieldValueInput {
+ s.RegistrationId = &v
+ return s
+}
+
+type DeleteRegistrationFieldValueOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The path to the registration form field.
+ //
+ // FieldPath is a required field
+ FieldPath *string `min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration attachment.
+ RegistrationAttachmentId *string `type:"string"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // An array of values for the form field.
+ SelectChoices []*string `type:"list"`
+
+ // The text data for a free form field.
+ TextValue *string `min:"1" type:"string"`
+
+ // The version number of the registration.
+ //
+ // VersionNumber is a required field
+ VersionNumber *int64 `min:"1" type:"long" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationFieldValueOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationFieldValueOutput) GoString() string {
+ return s.String()
+}
+
+// SetFieldPath sets the FieldPath field's value.
+func (s *DeleteRegistrationFieldValueOutput) SetFieldPath(v string) *DeleteRegistrationFieldValueOutput {
+ s.FieldPath = &v
+ return s
+}
+
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *DeleteRegistrationFieldValueOutput) SetRegistrationArn(v string) *DeleteRegistrationFieldValueOutput {
+ s.RegistrationArn = &v
+ return s
+}
+
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *DeleteRegistrationFieldValueOutput) SetRegistrationAttachmentId(v string) *DeleteRegistrationFieldValueOutput {
+ s.RegistrationAttachmentId = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DeleteRegistrationFieldValueOutput) SetRegistrationId(v string) *DeleteRegistrationFieldValueOutput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetSelectChoices sets the SelectChoices field's value.
+func (s *DeleteRegistrationFieldValueOutput) SetSelectChoices(v []*string) *DeleteRegistrationFieldValueOutput {
+ s.SelectChoices = v
+ return s
+}
+
+// SetTextValue sets the TextValue field's value.
+func (s *DeleteRegistrationFieldValueOutput) SetTextValue(v string) *DeleteRegistrationFieldValueOutput {
+ s.TextValue = &v
+ return s
+}
+
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *DeleteRegistrationFieldValueOutput) SetVersionNumber(v int64) *DeleteRegistrationFieldValueOutput {
+ s.VersionNumber = &v
+ return s
+}
+
+type DeleteRegistrationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteRegistrationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteRegistrationInput"}
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DeleteRegistrationInput) SetRegistrationId(v string) *DeleteRegistrationInput {
+ s.RegistrationId = &v
+ return s
+}
+
+type DeleteRegistrationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Metadata about a given registration which is specific to that registration
+ // type.
+ AdditionalAttributes map[string]*string `type:"map"`
+
+ // The version number of the registration that was approved.
+ ApprovedVersionNumber *int64 `min:"1" type:"long"`
+
+ // The time when the registration was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The current version number of the registration.
+ //
+ // CurrentVersionNumber is a required field
+ CurrentVersionNumber *int64 `min:"1" type:"long" required:"true"`
+
+ // The latest version number of the registration that was denied.
+ LatestDeniedVersionNumber *int64 `min:"1" type:"long"`
+
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The status of the registration.
+ //
+ // * CREATED: Your registration is created but not submitted.
+ //
+ // * SUBMITTED: Your registration has been submitted and is awaiting review.
+ //
+ // * REVIEWING: Your registration has been accepted and is being reviewed.
+ //
+ // * PROVISIONING: Your registration has been approved and your origination
+ // identity is being created.
+ //
+ // * COMPLETE: Your registration has been approved and and your origination
+ // identity has been created.
+ //
+ // * REQUIRES_UPDATES: You must fix your registration and resubmit it.
+ //
+ // * CLOSED: The phone number or sender ID has been deleted and you must
+ // also delete the registration for the number.
+ //
+ // * DELETED: The registration has been deleted.
+ //
+ // RegistrationStatus is a required field
+ RegistrationStatus *string `type:"string" required:"true" enum:"RegistrationStatus"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRegistrationOutput) GoString() string {
+ return s.String()
+}
+
+// SetAdditionalAttributes sets the AdditionalAttributes field's value.
+func (s *DeleteRegistrationOutput) SetAdditionalAttributes(v map[string]*string) *DeleteRegistrationOutput {
+ s.AdditionalAttributes = v
+ return s
+}
+
+// SetApprovedVersionNumber sets the ApprovedVersionNumber field's value.
+func (s *DeleteRegistrationOutput) SetApprovedVersionNumber(v int64) *DeleteRegistrationOutput {
+ s.ApprovedVersionNumber = &v
+ return s
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *DeleteRegistrationOutput) SetCreatedTimestamp(v time.Time) *DeleteRegistrationOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetCurrentVersionNumber sets the CurrentVersionNumber field's value.
+func (s *DeleteRegistrationOutput) SetCurrentVersionNumber(v int64) *DeleteRegistrationOutput {
+ s.CurrentVersionNumber = &v
+ return s
+}
+
+// SetLatestDeniedVersionNumber sets the LatestDeniedVersionNumber field's value.
+func (s *DeleteRegistrationOutput) SetLatestDeniedVersionNumber(v int64) *DeleteRegistrationOutput {
+ s.LatestDeniedVersionNumber = &v
+ return s
+}
+
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *DeleteRegistrationOutput) SetRegistrationArn(v string) *DeleteRegistrationOutput {
+ s.RegistrationArn = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DeleteRegistrationOutput) SetRegistrationId(v string) *DeleteRegistrationOutput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationStatus sets the RegistrationStatus field's value.
+func (s *DeleteRegistrationOutput) SetRegistrationStatus(v string) *DeleteRegistrationOutput {
+ s.RegistrationStatus = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *DeleteRegistrationOutput) SetRegistrationType(v string) *DeleteRegistrationOutput {
+ s.RegistrationType = &v
+ return s
+}
+
+type DeleteTextMessageSpendLimitOverrideInput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTextMessageSpendLimitOverrideInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTextMessageSpendLimitOverrideInput) GoString() string {
+ return s.String()
+}
+
+type DeleteTextMessageSpendLimitOverrideOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The current monthly limit, in US dollars.
+ MonthlyLimit *int64 `type:"long"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTextMessageSpendLimitOverrideOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTextMessageSpendLimitOverrideOutput) GoString() string {
+ return s.String()
+}
+
+// SetMonthlyLimit sets the MonthlyLimit field's value.
+func (s *DeleteTextMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *DeleteTextMessageSpendLimitOverrideOutput {
+ s.MonthlyLimit = &v
+ return s
+}
+
+type DeleteVerifiedDestinationNumberInput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberId is a required field
+ VerifiedDestinationNumberId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVerifiedDestinationNumberInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVerifiedDestinationNumberInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteVerifiedDestinationNumberInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteVerifiedDestinationNumberInput"}
+ if s.VerifiedDestinationNumberId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VerifiedDestinationNumberId"))
+ }
+ if s.VerifiedDestinationNumberId != nil && len(*s.VerifiedDestinationNumberId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VerifiedDestinationNumberId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
+func (s *DeleteVerifiedDestinationNumberInput) SetVerifiedDestinationNumberId(v string) *DeleteVerifiedDestinationNumberInput {
+ s.VerifiedDestinationNumberId = &v
+ return s
+}
+
+type DeleteVerifiedDestinationNumberOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the destination phone number was created, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The verified destination phone number, in E.164 format.
+ //
+ // DestinationPhoneNumber is a required field
+ DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberArn is a required field
+ VerifiedDestinationNumberArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberId is a required field
+ VerifiedDestinationNumberId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVerifiedDestinationNumberOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVerifiedDestinationNumberOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *DeleteVerifiedDestinationNumberOutput) SetCreatedTimestamp(v time.Time) *DeleteVerifiedDestinationNumberOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
+func (s *DeleteVerifiedDestinationNumberOutput) SetDestinationPhoneNumber(v string) *DeleteVerifiedDestinationNumberOutput {
+ s.DestinationPhoneNumber = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
+func (s *DeleteVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberArn(v string) *DeleteVerifiedDestinationNumberOutput {
+ s.VerifiedDestinationNumberArn = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
+func (s *DeleteVerifiedDestinationNumberOutput) SetVerifiedDestinationNumberId(v string) *DeleteVerifiedDestinationNumberOutput {
+ s.VerifiedDestinationNumberId = &v
+ return s
+}
+
+type DeleteVoiceMessageSpendLimitOverrideInput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVoiceMessageSpendLimitOverrideInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVoiceMessageSpendLimitOverrideInput) GoString() string {
+ return s.String()
+}
+
+type DeleteVoiceMessageSpendLimitOverrideOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The current monthly limit, in US dollars.
+ MonthlyLimit *int64 `type:"long"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVoiceMessageSpendLimitOverrideOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteVoiceMessageSpendLimitOverrideOutput) GoString() string {
+ return s.String()
+}
+
+// SetMonthlyLimit sets the MonthlyLimit field's value.
+func (s *DeleteVoiceMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *DeleteVoiceMessageSpendLimitOverrideOutput {
+ s.MonthlyLimit = &v
+ return s
+}
+
+type DescribeAccountAttributesInput struct {
+ _ struct{} `type:"structure"`
+
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAttributesInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAttributesInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeAccountAttributesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAccountAttributesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeAccountAttributesInput) SetMaxResults(v int64) *DescribeAccountAttributesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAccountAttributesInput) SetNextToken(v string) *DescribeAccountAttributesInput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeAccountAttributesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An array of AccountAttributes objects.
+ AccountAttributes []*AccountAttribute `type:"list"`
+
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAttributesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAttributesOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountAttributes sets the AccountAttributes field's value.
+func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttribute) *DescribeAccountAttributesOutput {
+ s.AccountAttributes = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAccountAttributesOutput) SetNextToken(v string) *DescribeAccountAttributesOutput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeAccountLimitsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountLimitsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountLimitsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeAccountLimitsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAccountLimitsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeAccountLimitsInput) SetMaxResults(v int64) *DescribeAccountLimitsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimitsInput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeAccountLimitsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An array of AccountLimit objects that show the current spend limits.
+ AccountLimits []*AccountLimit `type:"list"`
+
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountLimitsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountLimitsOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountLimits sets the AccountLimits field's value.
+func (s *DescribeAccountLimitsOutput) SetAccountLimits(v []*AccountLimit) *DescribeAccountLimitsOutput {
+ s.AccountLimits = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLimitsOutput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeConfigurationSetsInput struct {
+ _ struct{} `type:"structure"`
+
+ // An array of strings. Each element can be either a ConfigurationSetName or
+ // ConfigurationSetArn.
+ ConfigurationSetNames []*string `type:"list"`
+
+ // An array of filters to apply to the results that are returned.
+ Filters []*ConfigurationSetFilter `type:"list"`
+
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeConfigurationSetsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeConfigurationSetsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeConfigurationSetsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeConfigurationSetsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetNames sets the ConfigurationSetNames field's value.
+func (s *DescribeConfigurationSetsInput) SetConfigurationSetNames(v []*string) *DescribeConfigurationSetsInput {
+ s.ConfigurationSetNames = v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeConfigurationSetsInput) SetFilters(v []*ConfigurationSetFilter) *DescribeConfigurationSetsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeConfigurationSetsInput) SetMaxResults(v int64) *DescribeConfigurationSetsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeConfigurationSetsInput) SetNextToken(v string) *DescribeConfigurationSetsInput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeConfigurationSetsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An array of ConfigurationSets objects.
+ ConfigurationSets []*ConfigurationSetInformation `type:"list"`
+
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeConfigurationSetsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeConfigurationSetsOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSets sets the ConfigurationSets field's value.
+func (s *DescribeConfigurationSetsOutput) SetConfigurationSets(v []*ConfigurationSetInformation) *DescribeConfigurationSetsOutput {
+ s.ConfigurationSets = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeConfigurationSetsOutput) SetNextToken(v string) *DescribeConfigurationSetsOutput {
+ s.NextToken = &v
+ return s
+}
+
+type DescribeKeywordsInput struct {
+ _ struct{} `type:"structure"`
+
+ // An array of keyword filters to filter the results.
+ Filters []*KeywordFilter `type:"list"`
+
+ // An array of keywords to search for.
+ Keywords []*string `type:"list"`
+
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
+ // SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values
+ // for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
+ // to get the values for SenderId and SenderIdArn.
+ //
+ // OriginationIdentity is a required field
+ OriginationIdentity *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -5136,7 +12467,7 @@ type AccountAttribute struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAttribute) String() string {
+func (s DescribeKeywordsInput) String() string {
return awsutil.Prettify(s)
}
@@ -5145,40 +12476,87 @@ func (s AccountAttribute) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAttribute) GoString() string {
+func (s DescribeKeywordsInput) GoString() string {
return s.String()
}
-// SetName sets the Name field's value.
-func (s *AccountAttribute) SetName(v string) *AccountAttribute {
- s.Name = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeKeywordsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeKeywordsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.OriginationIdentity == nil {
+ invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+ }
+ if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeKeywordsInput) SetFilters(v []*KeywordFilter) *DescribeKeywordsInput {
+ s.Filters = v
return s
}
-// SetValue sets the Value field's value.
-func (s *AccountAttribute) SetValue(v string) *AccountAttribute {
- s.Value = &v
+// SetKeywords sets the Keywords field's value.
+func (s *DescribeKeywordsInput) SetKeywords(v []*string) *DescribeKeywordsInput {
+ s.Keywords = v
return s
}
-// The current resource quotas associated with an Amazon Web Services account.
-type AccountLimit struct {
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeKeywordsInput) SetMaxResults(v int64) *DescribeKeywordsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeKeywordsInput) SetNextToken(v string) *DescribeKeywordsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *DescribeKeywordsInput) SetOriginationIdentity(v string) *DescribeKeywordsInput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+type DescribeKeywordsOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Web Services set limit for that resource type, in US dollars.
- //
- // Max is a required field
- Max *int64 `type:"long" required:"true"`
+ // An array of KeywordInformation objects that contain the results.
+ Keywords []*KeywordInformation `type:"list"`
- // The name of the attribute to apply the account limit to.
- //
- // Name is a required field
- Name *string `type:"string" required:"true" enum:"AccountLimitName"`
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
- // The current amount that has been spent, in US dollars.
- //
- // Used is a required field
- Used *int64 `type:"long" required:"true"`
+ // The PhoneNumberId or PoolId that is associated with the OriginationIdentity.
+ OriginationIdentity *string `type:"string"`
+
+ // The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.
+ OriginationIdentityArn *string `type:"string"`
}
// String returns the string representation.
@@ -5186,7 +12564,7 @@ type AccountLimit struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountLimit) String() string {
+func (s DescribeKeywordsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5195,55 +12573,47 @@ func (s AccountLimit) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountLimit) GoString() string {
+func (s DescribeKeywordsOutput) GoString() string {
return s.String()
}
-// SetMax sets the Max field's value.
-func (s *AccountLimit) SetMax(v int64) *AccountLimit {
- s.Max = &v
+// SetKeywords sets the Keywords field's value.
+func (s *DescribeKeywordsOutput) SetKeywords(v []*KeywordInformation) *DescribeKeywordsOutput {
+ s.Keywords = v
return s
}
-// SetName sets the Name field's value.
-func (s *AccountLimit) SetName(v string) *AccountLimit {
- s.Name = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeKeywordsOutput) SetNextToken(v string) *DescribeKeywordsOutput {
+ s.NextToken = &v
return s
}
-// SetUsed sets the Used field's value.
-func (s *AccountLimit) SetUsed(v int64) *AccountLimit {
- s.Used = &v
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *DescribeKeywordsOutput) SetOriginationIdentity(v string) *DescribeKeywordsOutput {
+ s.OriginationIdentity = &v
return s
}
-type AssociateOriginationIdentityInput struct {
- _ struct{} `type:"structure"`
+// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
+func (s *DescribeKeywordsOutput) SetOriginationIdentityArn(v string) *DescribeKeywordsOutput {
+ s.OriginationIdentityArn = &v
+ return s
+}
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request. If you don't specify a client token, a randomly generated
- // token is used for the request to ensure idempotency.
- ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+type DescribeOptOutListsInput struct {
+ _ struct{} `type:"structure"`
- // The new two-character code, in ISO 3166-1 alpha-2 format, for the country
- // or region of the origination identity.
- //
- // IsoCountryCode is a required field
- IsoCountryCode *string `min:"2" type:"string" required:"true"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId,
- // or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId
- // and PhoneNumberArn, while DescribeSenderIds can be used to get the values
- // for SenderId and SenderIdArn.
- //
- // OriginationIdentity is a required field
- OriginationIdentity *string `min:"1" type:"string" required:"true"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // The pool to update with the new Identity. This value can be either the PoolId
- // or PoolArn, and you can find these values using DescribePools.
- //
- // PoolId is a required field
- PoolId *string `min:"1" type:"string" required:"true"`
+ // The OptOutLists to show the details of. This is an array of strings that
+ // can be either the OptOutListName or OptOutListArn.
+ OptOutListNames []*string `type:"list"`
}
// String returns the string representation.
@@ -5251,7 +12621,7 @@ type AssociateOriginationIdentityInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AssociateOriginationIdentityInput) String() string {
+func (s DescribeOptOutListsInput) String() string {
return awsutil.Prettify(s)
}
@@ -5260,33 +12630,18 @@ func (s AssociateOriginationIdentityInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AssociateOriginationIdentityInput) GoString() string {
+func (s DescribeOptOutListsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *AssociateOriginationIdentityInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AssociateOriginationIdentityInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.IsoCountryCode == nil {
- invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
- }
- if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
- invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
- }
- if s.OriginationIdentity == nil {
- invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
- }
- if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
- }
- if s.PoolId == nil {
- invalidParams.Add(request.NewErrParamRequired("PoolId"))
+func (s *DescribeOptOutListsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeOptOutListsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.PoolId != nil && len(*s.PoolId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if invalidParams.Len() > 0 {
@@ -5295,49 +12650,34 @@ func (s *AssociateOriginationIdentityInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *AssociateOriginationIdentityInput) SetClientToken(v string) *AssociateOriginationIdentityInput {
- s.ClientToken = &v
- return s
-}
-
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *AssociateOriginationIdentityInput) SetIsoCountryCode(v string) *AssociateOriginationIdentityInput {
- s.IsoCountryCode = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeOptOutListsInput) SetMaxResults(v int64) *DescribeOptOutListsInput {
+ s.MaxResults = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *AssociateOriginationIdentityInput) SetOriginationIdentity(v string) *AssociateOriginationIdentityInput {
- s.OriginationIdentity = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeOptOutListsInput) SetNextToken(v string) *DescribeOptOutListsInput {
+ s.NextToken = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *AssociateOriginationIdentityInput) SetPoolId(v string) *AssociateOriginationIdentityInput {
- s.PoolId = &v
+// SetOptOutListNames sets the OptOutListNames field's value.
+func (s *DescribeOptOutListsInput) SetOptOutListNames(v []*string) *DescribeOptOutListsInput {
+ s.OptOutListNames = v
return s
}
-type AssociateOriginationIdentityOutput struct {
- _ struct{} `type:"structure"`
-
- // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
- // region.
- IsoCountryCode *string `min:"2" type:"string"`
-
- // The PhoneNumberId or SenderId of the origination identity.
- OriginationIdentity *string `type:"string"`
-
- // The PhoneNumberArn or SenderIdArn of the origination identity.
- OriginationIdentityArn *string `type:"string"`
-
- // The Amazon Resource Name (ARN) of the pool that is now associated with the
- // origination identity.
- PoolArn *string `type:"string"`
+type DescribeOptOutListsOutput struct {
+ _ struct{} `type:"structure"`
- // The PoolId of the pool that is now associated with the origination identity.
- PoolId *string `type:"string"`
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of OptOutListInformation objects that contain the details for the
+ // requested OptOutLists.
+ OptOutLists []*OptOutListInformation `type:"list"`
}
// String returns the string representation.
@@ -5345,7 +12685,7 @@ type AssociateOriginationIdentityOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AssociateOriginationIdentityOutput) String() string {
+func (s DescribeOptOutListsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5354,56 +12694,43 @@ func (s AssociateOriginationIdentityOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AssociateOriginationIdentityOutput) GoString() string {
+func (s DescribeOptOutListsOutput) GoString() string {
return s.String()
}
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *AssociateOriginationIdentityOutput) SetIsoCountryCode(v string) *AssociateOriginationIdentityOutput {
- s.IsoCountryCode = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeOptOutListsOutput) SetNextToken(v string) *DescribeOptOutListsOutput {
+ s.NextToken = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *AssociateOriginationIdentityOutput) SetOriginationIdentity(v string) *AssociateOriginationIdentityOutput {
- s.OriginationIdentity = &v
+// SetOptOutLists sets the OptOutLists field's value.
+func (s *DescribeOptOutListsOutput) SetOptOutLists(v []*OptOutListInformation) *DescribeOptOutListsOutput {
+ s.OptOutLists = v
return s
}
-// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
-func (s *AssociateOriginationIdentityOutput) SetOriginationIdentityArn(v string) *AssociateOriginationIdentityOutput {
- s.OriginationIdentityArn = &v
- return s
-}
+type DescribeOptedOutNumbersInput struct {
+ _ struct{} `type:"structure"`
-// SetPoolArn sets the PoolArn field's value.
-func (s *AssociateOriginationIdentityOutput) SetPoolArn(v string) *AssociateOriginationIdentityOutput {
- s.PoolArn = &v
- return s
-}
+ // An array of OptedOutFilter objects to filter the results on.
+ Filters []*OptedOutFilter `type:"list"`
-// SetPoolId sets the PoolId field's value.
-func (s *AssociateOriginationIdentityOutput) SetPoolId(v string) *AssociateOriginationIdentityOutput {
- s.PoolId = &v
- return s
-}
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
-// Contains the destination configuration to use when publishing message sending
-// events.
-type CloudWatchLogsDestination struct {
- _ struct{} `type:"structure"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of an Amazon Identity and Access Management
- // (IAM) role that is able to write event data to an Amazon CloudWatch destination.
+ // The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists
+ // to find the values for OptOutListName and OptOutListArn.
//
- // IamRoleArn is a required field
- IamRoleArn *string `min:"20" type:"string" required:"true"`
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
- // The name of the Amazon CloudWatch log group that you want to record events
- // in.
- //
- // LogGroupArn is a required field
- LogGroupArn *string `min:"20" type:"string" required:"true"`
+ // An array of phone numbers to search for in the OptOutList.
+ OptedOutNumbers []*string `type:"list"`
}
// String returns the string representation.
@@ -5411,7 +12738,7 @@ type CloudWatchLogsDestination struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CloudWatchLogsDestination) String() string {
+func (s DescribeOptedOutNumbersInput) String() string {
return awsutil.Prettify(s)
}
@@ -5420,24 +12747,34 @@ func (s CloudWatchLogsDestination) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CloudWatchLogsDestination) GoString() string {
+func (s DescribeOptedOutNumbersInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CloudWatchLogsDestination) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CloudWatchLogsDestination"}
- if s.IamRoleArn == nil {
- invalidParams.Add(request.NewErrParamRequired("IamRoleArn"))
+func (s *DescribeOptedOutNumbersInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeOptedOutNumbersInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.IamRoleArn != nil && len(*s.IamRoleArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("IamRoleArn", 20))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.LogGroupArn == nil {
- invalidParams.Add(request.NewErrParamRequired("LogGroupArn"))
+ if s.OptOutListName == nil {
+ invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
}
- if s.LogGroupArn != nil && len(*s.LogGroupArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("LogGroupArn", 20))
+ if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -5446,31 +12783,52 @@ func (s *CloudWatchLogsDestination) Validate() error {
return nil
}
-// SetIamRoleArn sets the IamRoleArn field's value.
-func (s *CloudWatchLogsDestination) SetIamRoleArn(v string) *CloudWatchLogsDestination {
- s.IamRoleArn = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribeOptedOutNumbersInput) SetFilters(v []*OptedOutFilter) *DescribeOptedOutNumbersInput {
+ s.Filters = v
return s
}
-// SetLogGroupArn sets the LogGroupArn field's value.
-func (s *CloudWatchLogsDestination) SetLogGroupArn(v string) *CloudWatchLogsDestination {
- s.LogGroupArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeOptedOutNumbersInput) SetMaxResults(v int64) *DescribeOptedOutNumbersInput {
+ s.MaxResults = &v
return s
}
-// The information for configuration sets that meet a specified criteria.
-type ConfigurationSetFilter struct {
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeOptedOutNumbersInput) SetNextToken(v string) *DescribeOptedOutNumbersInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *DescribeOptedOutNumbersInput) SetOptOutListName(v string) *DescribeOptedOutNumbersInput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetOptedOutNumbers sets the OptedOutNumbers field's value.
+func (s *DescribeOptedOutNumbersInput) SetOptedOutNumbers(v []*string) *DescribeOptedOutNumbersInput {
+ s.OptedOutNumbers = v
+ return s
+}
+
+type DescribeOptedOutNumbersOutput struct {
_ struct{} `type:"structure"`
- // The name of the attribute to filter on.
- //
- // Name is a required field
- Name *string `type:"string" required:"true" enum:"ConfigurationSetFilterName"`
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
- // An array values to filter for.
- //
- // Values is a required field
- Values []*string `min:"1" type:"list" required:"true"`
+ // The Amazon Resource Name (ARN) of the OptOutList.
+ OptOutListArn *string `type:"string"`
+
+ // The name of the OptOutList.
+ OptOutListName *string `min:"1" type:"string"`
+
+ // An array of OptedOutNumbersInformation objects that provide information about
+ // the requested OptedOutNumbers.
+ OptedOutNumbers []*OptedOutNumberInformation `type:"list"`
}
// String returns the string representation.
@@ -5478,7 +12836,7 @@ type ConfigurationSetFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConfigurationSetFilter) String() string {
+func (s DescribeOptedOutNumbersOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5487,75 +12845,50 @@ func (s ConfigurationSetFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConfigurationSetFilter) GoString() string {
+func (s DescribeOptedOutNumbersOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ConfigurationSetFilter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ConfigurationSetFilter"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Values == nil {
- invalidParams.Add(request.NewErrParamRequired("Values"))
- }
- if s.Values != nil && len(s.Values) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Values", 1))
- }
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeOptedOutNumbersOutput) SetNextToken(v string) *DescribeOptedOutNumbersOutput {
+ s.NextToken = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetOptOutListArn sets the OptOutListArn field's value.
+func (s *DescribeOptedOutNumbersOutput) SetOptOutListArn(v string) *DescribeOptedOutNumbersOutput {
+ s.OptOutListArn = &v
+ return s
}
-// SetName sets the Name field's value.
-func (s *ConfigurationSetFilter) SetName(v string) *ConfigurationSetFilter {
- s.Name = &v
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *DescribeOptedOutNumbersOutput) SetOptOutListName(v string) *DescribeOptedOutNumbersOutput {
+ s.OptOutListName = &v
return s
}
-// SetValues sets the Values field's value.
-func (s *ConfigurationSetFilter) SetValues(v []*string) *ConfigurationSetFilter {
- s.Values = v
+// SetOptedOutNumbers sets the OptedOutNumbers field's value.
+func (s *DescribeOptedOutNumbersOutput) SetOptedOutNumbers(v []*OptedOutNumberInformation) *DescribeOptedOutNumbersOutput {
+ s.OptedOutNumbers = v
return s
}
-// Information related to a given configuration set in your Amazon Web Services
-// account.
-type ConfigurationSetInformation struct {
+type DescribePhoneNumbersInput struct {
_ struct{} `type:"structure"`
- // The Resource Name (ARN) of the ConfigurationSet.
- //
- // ConfigurationSetArn is a required field
- ConfigurationSetArn *string `type:"string" required:"true"`
-
- // The name of the ConfigurationSet.
- //
- // ConfigurationSetName is a required field
- ConfigurationSetName *string `min:"1" type:"string" required:"true"`
-
- // The time when the ConfigurationSet was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- //
- // CreatedTimestamp is a required field
- CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+ // An array of PhoneNumberFilter objects to filter the results.
+ Filters []*PhoneNumberFilter `type:"list"`
- // The type of message. Valid values are TRANSACTIONAL for messages that are
- // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
- // or time-sensitive.
- DefaultMessageType *string `type:"string" enum:"MessageType"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The default sender ID used by the ConfigurationSet.
- DefaultSenderId *string `min:"1" type:"string"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // An array of EventDestination objects that describe any events to log and
- // where to log them.
- //
- // EventDestinations is a required field
- EventDestinations []*EventDestination `type:"list" required:"true"`
+ // The unique identifier of phone numbers to find information about. This is
+ // an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
+ PhoneNumberIds []*string `type:"list"`
}
// String returns the string representation.
@@ -5563,7 +12896,7 @@ type ConfigurationSetInformation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConfigurationSetInformation) String() string {
+func (s DescribePhoneNumbersInput) String() string {
return awsutil.Prettify(s)
}
@@ -5572,64 +12905,70 @@ func (s ConfigurationSetInformation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConfigurationSetInformation) GoString() string {
+func (s DescribePhoneNumbersInput) GoString() string {
return s.String()
}
-// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
-func (s *ConfigurationSetInformation) SetConfigurationSetArn(v string) *ConfigurationSetInformation {
- s.ConfigurationSetArn = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribePhoneNumbersInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribePhoneNumbersInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *ConfigurationSetInformation) SetConfigurationSetName(v string) *ConfigurationSetInformation {
- s.ConfigurationSetName = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *ConfigurationSetInformation) SetCreatedTimestamp(v time.Time) *ConfigurationSetInformation {
- s.CreatedTimestamp = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribePhoneNumbersInput) SetFilters(v []*PhoneNumberFilter) *DescribePhoneNumbersInput {
+ s.Filters = v
return s
}
-// SetDefaultMessageType sets the DefaultMessageType field's value.
-func (s *ConfigurationSetInformation) SetDefaultMessageType(v string) *ConfigurationSetInformation {
- s.DefaultMessageType = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribePhoneNumbersInput) SetMaxResults(v int64) *DescribePhoneNumbersInput {
+ s.MaxResults = &v
return s
}
-// SetDefaultSenderId sets the DefaultSenderId field's value.
-func (s *ConfigurationSetInformation) SetDefaultSenderId(v string) *ConfigurationSetInformation {
- s.DefaultSenderId = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePhoneNumbersInput) SetNextToken(v string) *DescribePhoneNumbersInput {
+ s.NextToken = &v
return s
}
-// SetEventDestinations sets the EventDestinations field's value.
-func (s *ConfigurationSetInformation) SetEventDestinations(v []*EventDestination) *ConfigurationSetInformation {
- s.EventDestinations = v
+// SetPhoneNumberIds sets the PhoneNumberIds field's value.
+func (s *DescribePhoneNumbersInput) SetPhoneNumberIds(v []*string) *DescribePhoneNumbersInput {
+ s.PhoneNumberIds = v
return s
}
-// Your request has conflicting operations. This can occur if you're trying
-// to perform more than one operation on the same resource at the same time
-// or it could be that the requested action isn't valid for the current state
-// or configuration of the resource.
-type ConflictException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"Message" type:"string"`
-
- // The reason for the exception.
- Reason *string `type:"string" enum:"ConflictExceptionReason"`
+type DescribePhoneNumbersOutput struct {
+ _ struct{} `type:"structure"`
- // The unique identifier of the request.
- ResourceId *string `type:"string"`
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
- // The type of resource that caused the exception.
- ResourceType *string `type:"string" enum:"ResourceType"`
+ // An array of PhoneNumberInformation objects that contain the details for the
+ // requested phone numbers.
+ PhoneNumbers []*PhoneNumberInformation `type:"list"`
}
// String returns the string representation.
@@ -5637,7 +12976,7 @@ type ConflictException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) String() string {
+func (s DescribePhoneNumbersOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5646,64 +12985,38 @@ func (s ConflictException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) GoString() string {
+func (s DescribePhoneNumbersOutput) GoString() string {
return s.String()
}
-func newErrorConflictException(v protocol.ResponseMetadata) error {
- return &ConflictException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *ConflictException) Code() string {
- return "ConflictException"
-}
-
-// Message returns the exception's message.
-func (s *ConflictException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ConflictException) OrigErr() error {
- return nil
-}
-
-func (s *ConflictException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *ConflictException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePhoneNumbersOutput) SetNextToken(v string) *DescribePhoneNumbersOutput {
+ s.NextToken = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *ConflictException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetPhoneNumbers sets the PhoneNumbers field's value.
+func (s *DescribePhoneNumbersOutput) SetPhoneNumbers(v []*PhoneNumberInformation) *DescribePhoneNumbersOutput {
+ s.PhoneNumbers = v
+ return s
}
-type CreateConfigurationSetInput struct {
+type DescribePoolsInput struct {
_ struct{} `type:"structure"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request. If you don't specify a client token, a randomly generated
- // token is used for the request to ensure idempotency.
- ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+ // An array of PoolFilter objects to filter the results.
+ Filters []*PoolFilter `type:"list"`
- // The name to use for the new configuration set.
- //
- // ConfigurationSetName is a required field
- ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
- // An array of key and value pair tags that's associated with the new configuration
- // set.
- Tags []*Tag `type:"list"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // The unique identifier of pools to find. This is an array of strings that
+ // can be either the PoolId or PoolArn.
+ PoolIds []*string `type:"list"`
}
// String returns the string representation.
@@ -5711,7 +13024,7 @@ type CreateConfigurationSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateConfigurationSetInput) String() string {
+func (s DescribePoolsInput) String() string {
return awsutil.Prettify(s)
}
@@ -5720,29 +13033,26 @@ func (s CreateConfigurationSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateConfigurationSetInput) GoString() string {
+func (s DescribePoolsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateConfigurationSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateConfigurationSetInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.ConfigurationSetName == nil {
- invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+func (s *DescribePoolsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribePoolsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.Tags != nil {
- for i, v := range s.Tags {
+ if s.Filters != nil {
+ for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
@@ -5753,40 +13063,40 @@ func (s *CreateConfigurationSetInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateConfigurationSetInput) SetClientToken(v string) *CreateConfigurationSetInput {
- s.ClientToken = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribePoolsInput) SetFilters(v []*PoolFilter) *DescribePoolsInput {
+ s.Filters = v
return s
}
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *CreateConfigurationSetInput) SetConfigurationSetName(v string) *CreateConfigurationSetInput {
- s.ConfigurationSetName = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribePoolsInput) SetMaxResults(v int64) *DescribePoolsInput {
+ s.MaxResults = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateConfigurationSetInput) SetTags(v []*Tag) *CreateConfigurationSetInput {
- s.Tags = v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePoolsInput) SetNextToken(v string) *DescribePoolsInput {
+ s.NextToken = &v
return s
}
-type CreateConfigurationSetOutput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the newly created configuration set.
- ConfigurationSetArn *string `type:"string"`
+// SetPoolIds sets the PoolIds field's value.
+func (s *DescribePoolsInput) SetPoolIds(v []*string) *DescribePoolsInput {
+ s.PoolIds = v
+ return s
+}
- // The name of the new configuration set.
- ConfigurationSetName *string `min:"1" type:"string"`
+type DescribePoolsOutput struct {
+ _ struct{} `type:"structure"`
- // The time when the configuration set was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- CreatedTimestamp *time.Time `type:"timestamp"`
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
- // An array of key and value pair tags that's associated with the configuration
- // set.
- Tags []*Tag `type:"list"`
+ // An array of PoolInformation objects that contain the details for the requested
+ // pools.
+ Pools []*PoolInformation `type:"list"`
}
// String returns the string representation.
@@ -5794,7 +13104,7 @@ type CreateConfigurationSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateConfigurationSetOutput) String() string {
+func (s DescribePoolsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5803,71 +13113,38 @@ func (s CreateConfigurationSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateConfigurationSetOutput) GoString() string {
+func (s DescribePoolsOutput) GoString() string {
return s.String()
}
-// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
-func (s *CreateConfigurationSetOutput) SetConfigurationSetArn(v string) *CreateConfigurationSetOutput {
- s.ConfigurationSetArn = &v
- return s
-}
-
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *CreateConfigurationSetOutput) SetConfigurationSetName(v string) *CreateConfigurationSetOutput {
- s.ConfigurationSetName = &v
- return s
-}
-
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *CreateConfigurationSetOutput) SetCreatedTimestamp(v time.Time) *CreateConfigurationSetOutput {
- s.CreatedTimestamp = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePoolsOutput) SetNextToken(v string) *DescribePoolsOutput {
+ s.NextToken = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateConfigurationSetOutput) SetTags(v []*Tag) *CreateConfigurationSetOutput {
- s.Tags = v
+// SetPools sets the Pools field's value.
+func (s *DescribePoolsOutput) SetPools(v []*PoolInformation) *DescribePoolsOutput {
+ s.Pools = v
return s
}
-type CreateEventDestinationInput struct {
- _ struct{} `type:"structure"`
-
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request. If you don't specify a client token, a randomly generated
- // token is used for the request to ensure idempotency.
- ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
-
- // An object that contains information about an event destination for logging
- // to Amazon CloudWatch logs.
- CloudWatchLogsDestination *CloudWatchLogsDestination `type:"structure"`
-
- // Either the name of the configuration set or the configuration set ARN to
- // apply event logging to. The ConfigurateSetName and ConfigurationSetArn can
- // be found using the DescribeConfigurationSets action.
- //
- // ConfigurationSetName is a required field
- ConfigurationSetName *string `min:"1" type:"string" required:"true"`
-
- // The name that identifies the event destination.
- //
- // EventDestinationName is a required field
- EventDestinationName *string `min:"1" type:"string" required:"true"`
-
- // An object that contains information about an event destination for logging
- // to Amazon Kinesis Data Firehose.
- KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`
+type DescribeRegistrationAttachmentsInput struct {
+ _ struct{} `type:"structure"`
- // An array of event types that determine which events to log. If "ALL" is used,
- // then Amazon Pinpoint logs every event type.
- //
- // MatchingEventTypes is a required field
- MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"`
+ // An array of RegistrationAttachmentFilter objects to filter the results.
+ Filters []*RegistrationAttachmentFilter `type:"list"`
- // An object that contains information about an event destination for logging
- // to Amazon SNS.
- SnsDestination *SnsDestination `type:"structure"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // The unique identifier of registration attachments to find. This is an array
+ // of RegistrationAttachmentId.
+ RegistrationAttachmentIds []*string `type:"list"`
}
// String returns the string representation.
@@ -5875,7 +13152,7 @@ type CreateEventDestinationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateEventDestinationInput) String() string {
+func (s DescribeRegistrationAttachmentsInput) String() string {
return awsutil.Prettify(s)
}
@@ -5884,47 +13161,27 @@ func (s CreateEventDestinationInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateEventDestinationInput) GoString() string {
+func (s DescribeRegistrationAttachmentsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateEventDestinationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateEventDestinationInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.ConfigurationSetName == nil {
- invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
- }
- if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
- }
- if s.EventDestinationName == nil {
- invalidParams.Add(request.NewErrParamRequired("EventDestinationName"))
- }
- if s.EventDestinationName != nil && len(*s.EventDestinationName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("EventDestinationName", 1))
- }
- if s.MatchingEventTypes == nil {
- invalidParams.Add(request.NewErrParamRequired("MatchingEventTypes"))
- }
- if s.MatchingEventTypes != nil && len(s.MatchingEventTypes) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("MatchingEventTypes", 1))
- }
- if s.CloudWatchLogsDestination != nil {
- if err := s.CloudWatchLogsDestination.Validate(); err != nil {
- invalidParams.AddNested("CloudWatchLogsDestination", err.(request.ErrInvalidParams))
- }
+func (s *DescribeRegistrationAttachmentsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRegistrationAttachmentsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.KinesisFirehoseDestination != nil {
- if err := s.KinesisFirehoseDestination.Validate(); err != nil {
- invalidParams.AddNested("KinesisFirehoseDestination", err.(request.ErrInvalidParams))
- }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.SnsDestination != nil {
- if err := s.SnsDestination.Validate(); err != nil {
- invalidParams.AddNested("SnsDestination", err.(request.ErrInvalidParams))
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
}
}
@@ -5934,59 +13191,42 @@ func (s *CreateEventDestinationInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateEventDestinationInput) SetClientToken(v string) *CreateEventDestinationInput {
- s.ClientToken = &v
- return s
-}
-
-// SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.
-func (s *CreateEventDestinationInput) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *CreateEventDestinationInput {
- s.CloudWatchLogsDestination = v
- return s
-}
-
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *CreateEventDestinationInput) SetConfigurationSetName(v string) *CreateEventDestinationInput {
- s.ConfigurationSetName = &v
- return s
-}
-
-// SetEventDestinationName sets the EventDestinationName field's value.
-func (s *CreateEventDestinationInput) SetEventDestinationName(v string) *CreateEventDestinationInput {
- s.EventDestinationName = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribeRegistrationAttachmentsInput) SetFilters(v []*RegistrationAttachmentFilter) *DescribeRegistrationAttachmentsInput {
+ s.Filters = v
return s
}
-// SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
-func (s *CreateEventDestinationInput) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *CreateEventDestinationInput {
- s.KinesisFirehoseDestination = v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRegistrationAttachmentsInput) SetMaxResults(v int64) *DescribeRegistrationAttachmentsInput {
+ s.MaxResults = &v
return s
}
-// SetMatchingEventTypes sets the MatchingEventTypes field's value.
-func (s *CreateEventDestinationInput) SetMatchingEventTypes(v []*string) *CreateEventDestinationInput {
- s.MatchingEventTypes = v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationAttachmentsInput) SetNextToken(v string) *DescribeRegistrationAttachmentsInput {
+ s.NextToken = &v
return s
}
-// SetSnsDestination sets the SnsDestination field's value.
-func (s *CreateEventDestinationInput) SetSnsDestination(v *SnsDestination) *CreateEventDestinationInput {
- s.SnsDestination = v
+// SetRegistrationAttachmentIds sets the RegistrationAttachmentIds field's value.
+func (s *DescribeRegistrationAttachmentsInput) SetRegistrationAttachmentIds(v []*string) *DescribeRegistrationAttachmentsInput {
+ s.RegistrationAttachmentIds = v
return s
}
-type CreateEventDestinationOutput struct {
+type DescribeRegistrationAttachmentsOutput struct {
_ struct{} `type:"structure"`
- // The ARN of the configuration set.
- ConfigurationSetArn *string `type:"string"`
-
- // The name of the configuration set.
- ConfigurationSetName *string `min:"1" type:"string"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // The details of the destination where events are logged.
- EventDestination *EventDestination `type:"structure"`
+ // An array of RegistrationAttachments objects that contain the details for
+ // the requested registration attachments.
+ //
+ // RegistrationAttachments is a required field
+ RegistrationAttachments []*RegistrationAttachmentsInformation `type:"list" required:"true"`
}
// String returns the string representation.
@@ -5994,7 +13234,7 @@ type CreateEventDestinationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateEventDestinationOutput) String() string {
+func (s DescribeRegistrationAttachmentsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6003,43 +13243,43 @@ func (s CreateEventDestinationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateEventDestinationOutput) GoString() string {
+func (s DescribeRegistrationAttachmentsOutput) GoString() string {
return s.String()
}
-// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
-func (s *CreateEventDestinationOutput) SetConfigurationSetArn(v string) *CreateEventDestinationOutput {
- s.ConfigurationSetArn = &v
- return s
-}
-
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *CreateEventDestinationOutput) SetConfigurationSetName(v string) *CreateEventDestinationOutput {
- s.ConfigurationSetName = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationAttachmentsOutput) SetNextToken(v string) *DescribeRegistrationAttachmentsOutput {
+ s.NextToken = &v
return s
}
-// SetEventDestination sets the EventDestination field's value.
-func (s *CreateEventDestinationOutput) SetEventDestination(v *EventDestination) *CreateEventDestinationOutput {
- s.EventDestination = v
+// SetRegistrationAttachments sets the RegistrationAttachments field's value.
+func (s *DescribeRegistrationAttachmentsOutput) SetRegistrationAttachments(v []*RegistrationAttachmentsInformation) *DescribeRegistrationAttachmentsOutput {
+ s.RegistrationAttachments = v
return s
}
-type CreateOptOutListInput struct {
+type DescribeRegistrationFieldDefinitionsInput struct {
_ struct{} `type:"structure"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request. If you don't specify a client token, a randomly generated
- // token is used for the request to ensure idempotency.
- ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+ // An array of paths to the registration form field.
+ FieldPaths []*string `type:"list"`
- // The name of the new OptOutList.
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
//
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
- // An array of tags (key and value pairs) to associate with the new OptOutList.
- Tags []*Tag `type:"list"`
+ // The path to the section of the registration.
+ SectionPath *string `min:"1" type:"string"`
}
// String returns the string representation.
@@ -6047,7 +13287,7 @@ type CreateOptOutListInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateOptOutListInput) String() string {
+func (s DescribeRegistrationFieldDefinitionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6056,31 +13296,27 @@ func (s CreateOptOutListInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateOptOutListInput) GoString() string {
+func (s DescribeRegistrationFieldDefinitionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateOptOutListInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateOptOutListInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+func (s *DescribeRegistrationFieldDefinitionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRegistrationFieldDefinitionsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.OptOutListName == nil {
- invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ if s.RegistrationType == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationType"))
}
- if s.Tags != nil {
- for i, v := range s.Tags {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.RegistrationType != nil && len(*s.RegistrationType) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationType", 1))
+ }
+ if s.SectionPath != nil && len(*s.SectionPath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SectionPath", 1))
}
if invalidParams.Len() > 0 {
@@ -6089,39 +13325,54 @@ func (s *CreateOptOutListInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateOptOutListInput) SetClientToken(v string) *CreateOptOutListInput {
- s.ClientToken = &v
+// SetFieldPaths sets the FieldPaths field's value.
+func (s *DescribeRegistrationFieldDefinitionsInput) SetFieldPaths(v []*string) *DescribeRegistrationFieldDefinitionsInput {
+ s.FieldPaths = v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *CreateOptOutListInput) SetOptOutListName(v string) *CreateOptOutListInput {
- s.OptOutListName = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRegistrationFieldDefinitionsInput) SetMaxResults(v int64) *DescribeRegistrationFieldDefinitionsInput {
+ s.MaxResults = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateOptOutListInput) SetTags(v []*Tag) *CreateOptOutListInput {
- s.Tags = v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationFieldDefinitionsInput) SetNextToken(v string) *DescribeRegistrationFieldDefinitionsInput {
+ s.NextToken = &v
return s
}
-type CreateOptOutListOutput struct {
- _ struct{} `type:"structure"`
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *DescribeRegistrationFieldDefinitionsInput) SetRegistrationType(v string) *DescribeRegistrationFieldDefinitionsInput {
+ s.RegistrationType = &v
+ return s
+}
- // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- CreatedTimestamp *time.Time `type:"timestamp"`
+// SetSectionPath sets the SectionPath field's value.
+func (s *DescribeRegistrationFieldDefinitionsInput) SetSectionPath(v string) *DescribeRegistrationFieldDefinitionsInput {
+ s.SectionPath = &v
+ return s
+}
- // The Amazon Resource Name (ARN) for the OptOutList.
- OptOutListArn *string `type:"string"`
+type DescribeRegistrationFieldDefinitionsOutput struct {
+ _ struct{} `type:"structure"`
- // The name of the new OptOutList.
- OptOutListName *string `min:"1" type:"string"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // An array of tags (key and value pairs) associated with the new OptOutList.
- Tags []*Tag `type:"list"`
+ // An array of RegistrationFieldDefinitions objects that contain the details
+ // for the requested fields.
+ //
+ // RegistrationFieldDefinitions is a required field
+ RegistrationFieldDefinitions []*RegistrationFieldDefinition `type:"list" required:"true"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6129,7 +13380,7 @@ type CreateOptOutListOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateOptOutListOutput) String() string {
+func (s DescribeRegistrationFieldDefinitionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6138,69 +13389,51 @@ func (s CreateOptOutListOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateOptOutListOutput) GoString() string {
+func (s DescribeRegistrationFieldDefinitionsOutput) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *CreateOptOutListOutput) SetCreatedTimestamp(v time.Time) *CreateOptOutListOutput {
- s.CreatedTimestamp = &v
- return s
-}
-
-// SetOptOutListArn sets the OptOutListArn field's value.
-func (s *CreateOptOutListOutput) SetOptOutListArn(v string) *CreateOptOutListOutput {
- s.OptOutListArn = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationFieldDefinitionsOutput) SetNextToken(v string) *DescribeRegistrationFieldDefinitionsOutput {
+ s.NextToken = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *CreateOptOutListOutput) SetOptOutListName(v string) *CreateOptOutListOutput {
- s.OptOutListName = &v
+// SetRegistrationFieldDefinitions sets the RegistrationFieldDefinitions field's value.
+func (s *DescribeRegistrationFieldDefinitionsOutput) SetRegistrationFieldDefinitions(v []*RegistrationFieldDefinition) *DescribeRegistrationFieldDefinitionsOutput {
+ s.RegistrationFieldDefinitions = v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateOptOutListOutput) SetTags(v []*Tag) *CreateOptOutListOutput {
- s.Tags = v
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *DescribeRegistrationFieldDefinitionsOutput) SetRegistrationType(v string) *DescribeRegistrationFieldDefinitionsOutput {
+ s.RegistrationType = &v
return s
}
-type CreatePoolInput struct {
+type DescribeRegistrationFieldValuesInput struct {
_ struct{} `type:"structure"`
- // Unique, case-sensitive identifier that you provide to ensure the idempotency
- // of the request. If you don't specify a client token, a randomly generated
- // token is used for the request to ensure idempotency.
- ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+ // An array of paths to the registration form field.
+ FieldPaths []*string `type:"list"`
- // By default this is set to false. When set to true the pool can't be deleted.
- // You can change this value using the UpdatePool action.
- DeletionProtectionEnabled *bool `type:"boolean"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The new two-character code, in ISO 3166-1 alpha-2 format, for the country
- // or region of the new pool.
- //
- // IsoCountryCode is a required field
- IsoCountryCode *string `min:"2" type:"string" required:"true"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // The type of message. Valid values are TRANSACTIONAL for messages that are
- // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
- // or time-sensitive.
+ // The unique identifier for the registration.
//
- // MessageType is a required field
- MessageType *string `type:"string" required:"true" enum:"MessageType"`
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
- // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
- // SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values
- // for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
- // to get the values for SenderId and SenderIdArn.
- //
- // OriginationIdentity is a required field
- OriginationIdentity *string `min:"1" type:"string" required:"true"`
+ // The path to the section of the registration.
+ SectionPath *string `min:"1" type:"string"`
- // An array of tags (key and value pairs) associated with the pool.
- Tags []*Tag `type:"list"`
+ // The version number of the registration.
+ VersionNumber *int64 `min:"1" type:"long"`
}
// String returns the string representation.
@@ -6208,7 +13441,7 @@ type CreatePoolInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreatePoolInput) String() string {
+func (s DescribeRegistrationFieldValuesInput) String() string {
return awsutil.Prettify(s)
}
@@ -6217,40 +13450,30 @@ func (s CreatePoolInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreatePoolInput) GoString() string {
+func (s DescribeRegistrationFieldValuesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreatePoolInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreatePoolInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.IsoCountryCode == nil {
- invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
+func (s *DescribeRegistrationFieldValuesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRegistrationFieldValuesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
- invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.MessageType == nil {
- invalidParams.Add(request.NewErrParamRequired("MessageType"))
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
}
- if s.OriginationIdentity == nil {
- invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
}
- if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ if s.SectionPath != nil && len(*s.SectionPath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SectionPath", 1))
}
- if s.Tags != nil {
- for i, v := range s.Tags {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.VersionNumber != nil && *s.VersionNumber < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
}
if invalidParams.Len() > 0 {
@@ -6259,95 +13482,69 @@ func (s *CreatePoolInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreatePoolInput) SetClientToken(v string) *CreatePoolInput {
- s.ClientToken = &v
+// SetFieldPaths sets the FieldPaths field's value.
+func (s *DescribeRegistrationFieldValuesInput) SetFieldPaths(v []*string) *DescribeRegistrationFieldValuesInput {
+ s.FieldPaths = v
return s
}
-// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
-func (s *CreatePoolInput) SetDeletionProtectionEnabled(v bool) *CreatePoolInput {
- s.DeletionProtectionEnabled = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRegistrationFieldValuesInput) SetMaxResults(v int64) *DescribeRegistrationFieldValuesInput {
+ s.MaxResults = &v
return s
}
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *CreatePoolInput) SetIsoCountryCode(v string) *CreatePoolInput {
- s.IsoCountryCode = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationFieldValuesInput) SetNextToken(v string) *DescribeRegistrationFieldValuesInput {
+ s.NextToken = &v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *CreatePoolInput) SetMessageType(v string) *CreatePoolInput {
- s.MessageType = &v
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DescribeRegistrationFieldValuesInput) SetRegistrationId(v string) *DescribeRegistrationFieldValuesInput {
+ s.RegistrationId = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *CreatePoolInput) SetOriginationIdentity(v string) *CreatePoolInput {
- s.OriginationIdentity = &v
+// SetSectionPath sets the SectionPath field's value.
+func (s *DescribeRegistrationFieldValuesInput) SetSectionPath(v string) *DescribeRegistrationFieldValuesInput {
+ s.SectionPath = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreatePoolInput) SetTags(v []*Tag) *CreatePoolInput {
- s.Tags = v
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *DescribeRegistrationFieldValuesInput) SetVersionNumber(v int64) *DescribeRegistrationFieldValuesInput {
+ s.VersionNumber = &v
return s
}
-type CreatePoolOutput struct {
+type DescribeRegistrationFieldValuesOutput struct {
_ struct{} `type:"structure"`
- // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- CreatedTimestamp *time.Time `type:"timestamp"`
-
- // When set to true deletion protection is enabled. By default this is set to
- // false.
- DeletionProtectionEnabled *bool `type:"boolean"`
-
- // The type of message for the pool to use.
- MessageType *string `type:"string" enum:"MessageType"`
-
- // The name of the OptOutList associated with the pool.
- OptOutListName *string `min:"1" type:"string"`
-
- // The Amazon Resource Name (ARN) for the pool.
- PoolArn *string `type:"string"`
-
- // The unique identifier for the pool.
- PoolId *string `type:"string"`
-
- // By default this is set to false. When an end recipient sends a message that
- // begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
- // automatically replies with a customizable message and adds the end recipient
- // to the OptOutList. When set to true you're responsible for responding to
- // HELP and STOP requests. You're also responsible for tracking and honoring
- // opt-out requests.
- SelfManagedOptOutsEnabled *bool `type:"boolean"`
-
- // Indicates whether shared routes are enabled for the pool.
- SharedRoutesEnabled *bool `type:"boolean"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // The current status of the pool.
- //
- // * CREATING: The pool is currently being created and isn't yet available
- // for use.
+ // The Amazon Resource Name (ARN) for the registration.
//
- // * ACTIVE: The pool is active and available for use.
- //
- // * DELETING: The pool is being deleted.
- Status *string `type:"string" enum:"PoolStatus"`
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
- // An array of tags (key and value pairs) associated with the pool.
- Tags []*Tag `type:"list"`
+ // An array of RegistrationFieldValues objects that contain the values for the
+ // requested registration.
+ //
+ // RegistrationFieldValues is a required field
+ RegistrationFieldValues []*RegistrationFieldValueInformation `type:"list" required:"true"`
- // The Amazon Resource Name (ARN) of the two way channel.
- TwoWayChannelArn *string `min:"20" type:"string"`
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
- // By default this is set to false. When set to true you can receive incoming
- // text messages from your end recipients.
- TwoWayEnabled *bool `type:"boolean"`
+ // The current version of the registration.
+ //
+ // VersionNumber is a required field
+ VersionNumber *int64 `min:"1" type:"long" required:"true"`
}
// String returns the string representation.
@@ -6355,7 +13552,7 @@ type CreatePoolOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreatePoolOutput) String() string {
+func (s DescribeRegistrationFieldValuesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6364,91 +13561,195 @@ func (s CreatePoolOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreatePoolOutput) GoString() string {
+func (s DescribeRegistrationFieldValuesOutput) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *CreatePoolOutput) SetCreatedTimestamp(v time.Time) *CreatePoolOutput {
- s.CreatedTimestamp = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationFieldValuesOutput) SetNextToken(v string) *DescribeRegistrationFieldValuesOutput {
+ s.NextToken = &v
return s
}
-// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
-func (s *CreatePoolOutput) SetDeletionProtectionEnabled(v bool) *CreatePoolOutput {
- s.DeletionProtectionEnabled = &v
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *DescribeRegistrationFieldValuesOutput) SetRegistrationArn(v string) *DescribeRegistrationFieldValuesOutput {
+ s.RegistrationArn = &v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *CreatePoolOutput) SetMessageType(v string) *CreatePoolOutput {
- s.MessageType = &v
+// SetRegistrationFieldValues sets the RegistrationFieldValues field's value.
+func (s *DescribeRegistrationFieldValuesOutput) SetRegistrationFieldValues(v []*RegistrationFieldValueInformation) *DescribeRegistrationFieldValuesOutput {
+ s.RegistrationFieldValues = v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *CreatePoolOutput) SetOptOutListName(v string) *CreatePoolOutput {
- s.OptOutListName = &v
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DescribeRegistrationFieldValuesOutput) SetRegistrationId(v string) *DescribeRegistrationFieldValuesOutput {
+ s.RegistrationId = &v
return s
}
-// SetPoolArn sets the PoolArn field's value.
-func (s *CreatePoolOutput) SetPoolArn(v string) *CreatePoolOutput {
- s.PoolArn = &v
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *DescribeRegistrationFieldValuesOutput) SetVersionNumber(v int64) *DescribeRegistrationFieldValuesOutput {
+ s.VersionNumber = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *CreatePoolOutput) SetPoolId(v string) *CreatePoolOutput {
- s.PoolId = &v
+type DescribeRegistrationSectionDefinitionsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
+
+ // An array of paths for the registration form section.
+ SectionPaths []*string `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRegistrationSectionDefinitionsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRegistrationSectionDefinitionsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeRegistrationSectionDefinitionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRegistrationSectionDefinitionsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.RegistrationType == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationType"))
+ }
+ if s.RegistrationType != nil && len(*s.RegistrationType) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationType", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRegistrationSectionDefinitionsInput) SetMaxResults(v int64) *DescribeRegistrationSectionDefinitionsInput {
+ s.MaxResults = &v
return s
}
-// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
-func (s *CreatePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *CreatePoolOutput {
- s.SelfManagedOptOutsEnabled = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationSectionDefinitionsInput) SetNextToken(v string) *DescribeRegistrationSectionDefinitionsInput {
+ s.NextToken = &v
return s
}
-// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
-func (s *CreatePoolOutput) SetSharedRoutesEnabled(v bool) *CreatePoolOutput {
- s.SharedRoutesEnabled = &v
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *DescribeRegistrationSectionDefinitionsInput) SetRegistrationType(v string) *DescribeRegistrationSectionDefinitionsInput {
+ s.RegistrationType = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *CreatePoolOutput) SetStatus(v string) *CreatePoolOutput {
- s.Status = &v
+// SetSectionPaths sets the SectionPaths field's value.
+func (s *DescribeRegistrationSectionDefinitionsInput) SetSectionPaths(v []*string) *DescribeRegistrationSectionDefinitionsInput {
+ s.SectionPaths = v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreatePoolOutput) SetTags(v []*Tag) *CreatePoolOutput {
- s.Tags = v
+type DescribeRegistrationSectionDefinitionsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of RegistrationSectionDefinition objects.
+ //
+ // RegistrationSectionDefinitions is a required field
+ RegistrationSectionDefinitions []*RegistrationSectionDefinition `type:"list" required:"true"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRegistrationSectionDefinitionsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRegistrationSectionDefinitionsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationSectionDefinitionsOutput) SetNextToken(v string) *DescribeRegistrationSectionDefinitionsOutput {
+ s.NextToken = &v
return s
}
-// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
-func (s *CreatePoolOutput) SetTwoWayChannelArn(v string) *CreatePoolOutput {
- s.TwoWayChannelArn = &v
+// SetRegistrationSectionDefinitions sets the RegistrationSectionDefinitions field's value.
+func (s *DescribeRegistrationSectionDefinitionsOutput) SetRegistrationSectionDefinitions(v []*RegistrationSectionDefinition) *DescribeRegistrationSectionDefinitionsOutput {
+ s.RegistrationSectionDefinitions = v
return s
}
-// SetTwoWayEnabled sets the TwoWayEnabled field's value.
-func (s *CreatePoolOutput) SetTwoWayEnabled(v bool) *CreatePoolOutput {
- s.TwoWayEnabled = &v
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *DescribeRegistrationSectionDefinitionsOutput) SetRegistrationType(v string) *DescribeRegistrationSectionDefinitionsOutput {
+ s.RegistrationType = &v
return s
}
-type DeleteConfigurationSetInput struct {
+type DescribeRegistrationTypeDefinitionsInput struct {
_ struct{} `type:"structure"`
- // The name of the configuration set or the configuration set ARN that you want
- // to delete. The ConfigurationSetName and ConfigurationSetArn can be found
- // using the DescribeConfigurationSets action.
- //
- // ConfigurationSetName is a required field
- ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+ // An array of RegistrationFilter objects to filter the results.
+ Filters []*RegistrationTypeFilter `type:"list"`
+
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ RegistrationTypes []*string `type:"list"`
}
// String returns the string representation.
@@ -6456,7 +13757,7 @@ type DeleteConfigurationSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteConfigurationSetInput) String() string {
+func (s DescribeRegistrationTypeDefinitionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6465,18 +13766,28 @@ func (s DeleteConfigurationSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteConfigurationSetInput) GoString() string {
+func (s DescribeRegistrationTypeDefinitionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteConfigurationSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteConfigurationSetInput"}
- if s.ConfigurationSetName == nil {
- invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+func (s *DescribeRegistrationTypeDefinitionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRegistrationTypeDefinitionsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -6485,34 +13796,42 @@ func (s *DeleteConfigurationSetInput) Validate() error {
return nil
}
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteConfigurationSetInput {
- s.ConfigurationSetName = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribeRegistrationTypeDefinitionsInput) SetFilters(v []*RegistrationTypeFilter) *DescribeRegistrationTypeDefinitionsInput {
+ s.Filters = v
return s
}
-type DeleteConfigurationSetOutput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the deleted configuration set.
- ConfigurationSetArn *string `type:"string"`
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRegistrationTypeDefinitionsInput) SetMaxResults(v int64) *DescribeRegistrationTypeDefinitionsInput {
+ s.MaxResults = &v
+ return s
+}
- // The name of the deleted configuration set.
- ConfigurationSetName *string `min:"1" type:"string"`
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationTypeDefinitionsInput) SetNextToken(v string) *DescribeRegistrationTypeDefinitionsInput {
+ s.NextToken = &v
+ return s
+}
- // The time that the deleted configuration set was created in UNIX epoch time
- // (https://www.epochconverter.com/) format.
- CreatedTimestamp *time.Time `type:"timestamp"`
+// SetRegistrationTypes sets the RegistrationTypes field's value.
+func (s *DescribeRegistrationTypeDefinitionsInput) SetRegistrationTypes(v []*string) *DescribeRegistrationTypeDefinitionsInput {
+ s.RegistrationTypes = v
+ return s
+}
- // The default message type of the configuration set that was deleted.
- DefaultMessageType *string `type:"string" enum:"MessageType"`
+type DescribeRegistrationTypeDefinitionsOutput struct {
+ _ struct{} `type:"structure"`
- // The default Sender ID of the configuration set that was deleted.
- DefaultSenderId *string `min:"1" type:"string"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // An array of any EventDestination objects that were associated with the deleted
- // configuration set.
- EventDestinations []*EventDestination `type:"list"`
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationTypeDefinitions is a required field
+ RegistrationTypeDefinitions []*RegistrationTypeDefinition `type:"list" required:"true"`
}
// String returns the string representation.
@@ -6520,7 +13839,7 @@ type DeleteConfigurationSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteConfigurationSetOutput) String() string {
+func (s DescribeRegistrationTypeDefinitionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6529,56 +13848,42 @@ func (s DeleteConfigurationSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteConfigurationSetOutput) GoString() string {
+func (s DescribeRegistrationTypeDefinitionsOutput) GoString() string {
return s.String()
}
-// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
-func (s *DeleteConfigurationSetOutput) SetConfigurationSetArn(v string) *DeleteConfigurationSetOutput {
- s.ConfigurationSetArn = &v
- return s
-}
-
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteConfigurationSetOutput) SetConfigurationSetName(v string) *DeleteConfigurationSetOutput {
- s.ConfigurationSetName = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationTypeDefinitionsOutput) SetNextToken(v string) *DescribeRegistrationTypeDefinitionsOutput {
+ s.NextToken = &v
return s
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *DeleteConfigurationSetOutput) SetCreatedTimestamp(v time.Time) *DeleteConfigurationSetOutput {
- s.CreatedTimestamp = &v
+// SetRegistrationTypeDefinitions sets the RegistrationTypeDefinitions field's value.
+func (s *DescribeRegistrationTypeDefinitionsOutput) SetRegistrationTypeDefinitions(v []*RegistrationTypeDefinition) *DescribeRegistrationTypeDefinitionsOutput {
+ s.RegistrationTypeDefinitions = v
return s
}
-// SetDefaultMessageType sets the DefaultMessageType field's value.
-func (s *DeleteConfigurationSetOutput) SetDefaultMessageType(v string) *DeleteConfigurationSetOutput {
- s.DefaultMessageType = &v
- return s
-}
+type DescribeRegistrationVersionsInput struct {
+ _ struct{} `type:"structure"`
-// SetDefaultSenderId sets the DefaultSenderId field's value.
-func (s *DeleteConfigurationSetOutput) SetDefaultSenderId(v string) *DeleteConfigurationSetOutput {
- s.DefaultSenderId = &v
- return s
-}
+ // An array of RegistrationVersionFilter objects to filter the results.
+ Filters []*RegistrationVersionFilter `type:"list"`
-// SetEventDestinations sets the EventDestinations field's value.
-func (s *DeleteConfigurationSetOutput) SetEventDestinations(v []*EventDestination) *DeleteConfigurationSetOutput {
- s.EventDestinations = v
- return s
-}
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
-type DeleteDefaultMessageTypeInput struct {
- _ struct{} `type:"structure"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // The name of the configuration set or the configuration set Amazon Resource
- // Name (ARN) to delete the default message type from. The ConfigurationSetName
- // and ConfigurationSetArn can be found using the DescribeConfigurationSets
- // action.
+ // The unique identifier for the registration.
//
- // ConfigurationSetName is a required field
- ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
+
+ // An array of registration version numbers.
+ VersionNumbers []*int64 `type:"list"`
}
// String returns the string representation.
@@ -6586,7 +13891,7 @@ type DeleteDefaultMessageTypeInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultMessageTypeInput) String() string {
+func (s DescribeRegistrationVersionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6595,18 +13900,34 @@ func (s DeleteDefaultMessageTypeInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultMessageTypeInput) GoString() string {
+func (s DescribeRegistrationVersionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteDefaultMessageTypeInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteDefaultMessageTypeInput"}
- if s.ConfigurationSetName == nil {
- invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+func (s *DescribeRegistrationVersionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRegistrationVersionsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -6615,23 +13936,57 @@ func (s *DeleteDefaultMessageTypeInput) Validate() error {
return nil
}
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteDefaultMessageTypeInput) SetConfigurationSetName(v string) *DeleteDefaultMessageTypeInput {
- s.ConfigurationSetName = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribeRegistrationVersionsInput) SetFilters(v []*RegistrationVersionFilter) *DescribeRegistrationVersionsInput {
+ s.Filters = v
return s
}
-type DeleteDefaultMessageTypeOutput struct {
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRegistrationVersionsInput) SetMaxResults(v int64) *DescribeRegistrationVersionsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationVersionsInput) SetNextToken(v string) *DescribeRegistrationVersionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DescribeRegistrationVersionsInput) SetRegistrationId(v string) *DescribeRegistrationVersionsInput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetVersionNumbers sets the VersionNumbers field's value.
+func (s *DescribeRegistrationVersionsInput) SetVersionNumbers(v []*int64) *DescribeRegistrationVersionsInput {
+ s.VersionNumbers = v
+ return s
+}
+
+type DescribeRegistrationVersionsOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the configuration set.
- ConfigurationSetArn *string `type:"string"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
- // The name of the configuration set.
- ConfigurationSetName *string `min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
- // The current message type for the configuration set.
- MessageType *string `type:"string" enum:"MessageType"`
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // An array of RegistrationVersions objects.
+ //
+ // RegistrationVersions is a required field
+ RegistrationVersions []*RegistrationVersionInformation `type:"list" required:"true"`
}
// String returns the string representation.
@@ -6639,7 +13994,7 @@ type DeleteDefaultMessageTypeOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultMessageTypeOutput) String() string {
+func (s DescribeRegistrationVersionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6648,38 +14003,49 @@ func (s DeleteDefaultMessageTypeOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultMessageTypeOutput) GoString() string {
+func (s DescribeRegistrationVersionsOutput) GoString() string {
return s.String()
}
-// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
-func (s *DeleteDefaultMessageTypeOutput) SetConfigurationSetArn(v string) *DeleteDefaultMessageTypeOutput {
- s.ConfigurationSetArn = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationVersionsOutput) SetNextToken(v string) *DescribeRegistrationVersionsOutput {
+ s.NextToken = &v
return s
}
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteDefaultMessageTypeOutput) SetConfigurationSetName(v string) *DeleteDefaultMessageTypeOutput {
- s.ConfigurationSetName = &v
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *DescribeRegistrationVersionsOutput) SetRegistrationArn(v string) *DescribeRegistrationVersionsOutput {
+ s.RegistrationArn = &v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *DeleteDefaultMessageTypeOutput) SetMessageType(v string) *DeleteDefaultMessageTypeOutput {
- s.MessageType = &v
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DescribeRegistrationVersionsOutput) SetRegistrationId(v string) *DescribeRegistrationVersionsOutput {
+ s.RegistrationId = &v
return s
}
-type DeleteDefaultSenderIdInput struct {
+// SetRegistrationVersions sets the RegistrationVersions field's value.
+func (s *DescribeRegistrationVersionsOutput) SetRegistrationVersions(v []*RegistrationVersionInformation) *DescribeRegistrationVersionsOutput {
+ s.RegistrationVersions = v
+ return s
+}
+
+type DescribeRegistrationsInput struct {
_ struct{} `type:"structure"`
- // The name of the configuration set or the configuration set Amazon Resource
- // Name (ARN) to delete the default sender ID from. The ConfigurationSetName
- // and ConfigurationSetArn can be found using the DescribeConfigurationSets
- // action.
- //
- // ConfigurationSetName is a required field
- ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+ // An array of RegistrationFilter objects to filter the results.
+ Filters []*RegistrationFilter `type:"list"`
+
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of unique identifiers for each registration.
+ RegistrationIds []*string `type:"list"`
}
// String returns the string representation.
@@ -6687,7 +14053,7 @@ type DeleteDefaultSenderIdInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultSenderIdInput) String() string {
+func (s DescribeRegistrationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6696,18 +14062,28 @@ func (s DeleteDefaultSenderIdInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultSenderIdInput) GoString() string {
+func (s DescribeRegistrationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteDefaultSenderIdInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteDefaultSenderIdInput"}
- if s.ConfigurationSetName == nil {
- invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+func (s *DescribeRegistrationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRegistrationsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -6716,23 +14092,41 @@ func (s *DeleteDefaultSenderIdInput) Validate() error {
return nil
}
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteDefaultSenderIdInput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdInput {
- s.ConfigurationSetName = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribeRegistrationsInput) SetFilters(v []*RegistrationFilter) *DescribeRegistrationsInput {
+ s.Filters = v
return s
}
-type DeleteDefaultSenderIdOutput struct {
- _ struct{} `type:"structure"`
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRegistrationsInput) SetMaxResults(v int64) *DescribeRegistrationsInput {
+ s.MaxResults = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the configuration set.
- ConfigurationSetArn *string `type:"string"`
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationsInput) SetNextToken(v string) *DescribeRegistrationsInput {
+ s.NextToken = &v
+ return s
+}
- // The name of the configuration set.
- ConfigurationSetName *string `min:"1" type:"string"`
+// SetRegistrationIds sets the RegistrationIds field's value.
+func (s *DescribeRegistrationsInput) SetRegistrationIds(v []*string) *DescribeRegistrationsInput {
+ s.RegistrationIds = v
+ return s
+}
- // The current sender ID for the configuration set.
- SenderId *string `min:"1" type:"string"`
+type DescribeRegistrationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of RegistrationInformation objects.
+ //
+ // Registrations is a required field
+ Registrations []*RegistrationInformation `type:"list" required:"true"`
}
// String returns the string representation.
@@ -6740,7 +14134,7 @@ type DeleteDefaultSenderIdOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultSenderIdOutput) String() string {
+func (s DescribeRegistrationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6749,42 +14143,37 @@ func (s DeleteDefaultSenderIdOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteDefaultSenderIdOutput) GoString() string {
+func (s DescribeRegistrationsOutput) GoString() string {
return s.String()
}
-// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
-func (s *DeleteDefaultSenderIdOutput) SetConfigurationSetArn(v string) *DeleteDefaultSenderIdOutput {
- s.ConfigurationSetArn = &v
- return s
-}
-
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteDefaultSenderIdOutput) SetConfigurationSetName(v string) *DeleteDefaultSenderIdOutput {
- s.ConfigurationSetName = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRegistrationsOutput) SetNextToken(v string) *DescribeRegistrationsOutput {
+ s.NextToken = &v
return s
}
-// SetSenderId sets the SenderId field's value.
-func (s *DeleteDefaultSenderIdOutput) SetSenderId(v string) *DeleteDefaultSenderIdOutput {
- s.SenderId = &v
+// SetRegistrations sets the Registrations field's value.
+func (s *DescribeRegistrationsOutput) SetRegistrations(v []*RegistrationInformation) *DescribeRegistrationsOutput {
+ s.Registrations = v
return s
}
-type DeleteEventDestinationInput struct {
+type DescribeSenderIdsInput struct {
_ struct{} `type:"structure"`
- // The name of the configuration set or the configuration set's Amazon Resource
- // Name (ARN) to remove the event destination from. The ConfigurateSetName and
- // ConfigurationSetArn can be found using the DescribeConfigurationSets action.
- //
- // ConfigurationSetName is a required field
- ConfigurationSetName *string `min:"1" type:"string" required:"true"`
+ // An array of SenderIdFilter objects to filter the results.
+ Filters []*SenderIdFilter `type:"list"`
- // The name of the event destination to delete.
- //
- // EventDestinationName is a required field
- EventDestinationName *string `min:"1" type:"string" required:"true"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of SenderIdAndCountry objects to search for.
+ SenderIds []*SenderIdAndCountry `type:"list"`
}
// String returns the string representation.
@@ -6792,7 +14181,7 @@ type DeleteEventDestinationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteEventDestinationInput) String() string {
+func (s DescribeSenderIdsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6801,24 +14190,38 @@ func (s DeleteEventDestinationInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteEventDestinationInput) GoString() string {
+func (s DescribeSenderIdsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteEventDestinationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteEventDestinationInput"}
- if s.ConfigurationSetName == nil {
- invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+func (s *DescribeSenderIdsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeSenderIdsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
- if s.EventDestinationName == nil {
- invalidParams.Add(request.NewErrParamRequired("EventDestinationName"))
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
- if s.EventDestinationName != nil && len(*s.EventDestinationName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("EventDestinationName", 1))
+ if s.SenderIds != nil {
+ for i, v := range s.SenderIds {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SenderIds", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -6827,29 +14230,40 @@ func (s *DeleteEventDestinationInput) Validate() error {
return nil
}
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteEventDestinationInput) SetConfigurationSetName(v string) *DeleteEventDestinationInput {
- s.ConfigurationSetName = &v
+// SetFilters sets the Filters field's value.
+func (s *DescribeSenderIdsInput) SetFilters(v []*SenderIdFilter) *DescribeSenderIdsInput {
+ s.Filters = v
return s
}
-// SetEventDestinationName sets the EventDestinationName field's value.
-func (s *DeleteEventDestinationInput) SetEventDestinationName(v string) *DeleteEventDestinationInput {
- s.EventDestinationName = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSenderIdsInput) SetMaxResults(v int64) *DescribeSenderIdsInput {
+ s.MaxResults = &v
return s
}
-type DeleteEventDestinationOutput struct {
- _ struct{} `type:"structure"`
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSenderIdsInput) SetNextToken(v string) *DescribeSenderIdsInput {
+ s.NextToken = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the configuration set.
- ConfigurationSetArn *string `type:"string"`
+// SetSenderIds sets the SenderIds field's value.
+func (s *DescribeSenderIdsInput) SetSenderIds(v []*SenderIdAndCountry) *DescribeSenderIdsInput {
+ s.SenderIds = v
+ return s
+}
- // The name of the configuration set the event destination was deleted from.
- ConfigurationSetName *string `min:"1" type:"string"`
+type DescribeSenderIdsOutput struct {
+ _ struct{} `type:"structure"`
- // The event destination object that was deleted.
- EventDestination *EventDestination `type:"structure"`
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of SernderIdInformation objects that contain the details for the
+ // requested SenderIds.
+ SenderIds []*SenderIdInformation `type:"list"`
}
// String returns the string representation.
@@ -6857,7 +14271,7 @@ type DeleteEventDestinationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteEventDestinationOutput) String() string {
+func (s DescribeSenderIdsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6866,43 +14280,31 @@ func (s DeleteEventDestinationOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteEventDestinationOutput) GoString() string {
+func (s DescribeSenderIdsOutput) GoString() string {
return s.String()
}
-// SetConfigurationSetArn sets the ConfigurationSetArn field's value.
-func (s *DeleteEventDestinationOutput) SetConfigurationSetArn(v string) *DeleteEventDestinationOutput {
- s.ConfigurationSetArn = &v
- return s
-}
-
-// SetConfigurationSetName sets the ConfigurationSetName field's value.
-func (s *DeleteEventDestinationOutput) SetConfigurationSetName(v string) *DeleteEventDestinationOutput {
- s.ConfigurationSetName = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSenderIdsOutput) SetNextToken(v string) *DescribeSenderIdsOutput {
+ s.NextToken = &v
return s
}
-// SetEventDestination sets the EventDestination field's value.
-func (s *DeleteEventDestinationOutput) SetEventDestination(v *EventDestination) *DeleteEventDestinationOutput {
- s.EventDestination = v
+// SetSenderIds sets the SenderIds field's value.
+func (s *DescribeSenderIdsOutput) SetSenderIds(v []*SenderIdInformation) *DescribeSenderIdsOutput {
+ s.SenderIds = v
return s
}
-type DeleteKeywordInput struct {
+type DescribeSpendLimitsInput struct {
_ struct{} `type:"structure"`
- // The keyword to delete.
- //
- // Keyword is a required field
- Keyword *string `min:"1" type:"string" required:"true"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
- // PoolId or PoolArn. You can use DescribePhoneNumbers to find the values for
- // PhoneNumberId and PhoneNumberArn and DescribePools to find the values of
- // PoolId and PoolArn.
- //
- // OriginationIdentity is a required field
- OriginationIdentity *string `min:"1" type:"string" required:"true"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
}
// String returns the string representation.
@@ -6910,7 +14312,7 @@ type DeleteKeywordInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteKeywordInput) String() string {
+func (s DescribeSpendLimitsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6919,24 +14321,18 @@ func (s DeleteKeywordInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteKeywordInput) GoString() string {
+func (s DescribeSpendLimitsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteKeywordInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteKeywordInput"}
- if s.Keyword == nil {
- invalidParams.Add(request.NewErrParamRequired("Keyword"))
- }
- if s.Keyword != nil && len(*s.Keyword) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Keyword", 1))
- }
- if s.OriginationIdentity == nil {
- invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+func (s *DescribeSpendLimitsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeSpendLimitsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
if invalidParams.Len() > 0 {
@@ -6945,35 +14341,28 @@ func (s *DeleteKeywordInput) Validate() error {
return nil
}
-// SetKeyword sets the Keyword field's value.
-func (s *DeleteKeywordInput) SetKeyword(v string) *DeleteKeywordInput {
- s.Keyword = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSpendLimitsInput) SetMaxResults(v int64) *DescribeSpendLimitsInput {
+ s.MaxResults = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *DeleteKeywordInput) SetOriginationIdentity(v string) *DeleteKeywordInput {
- s.OriginationIdentity = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpendLimitsInput) SetNextToken(v string) *DescribeSpendLimitsInput {
+ s.NextToken = &v
return s
}
-type DeleteKeywordOutput struct {
+type DescribeSpendLimitsOutput struct {
_ struct{} `type:"structure"`
- // The keyword that was deleted.
- Keyword *string `min:"1" type:"string"`
-
- // The action that was associated with the deleted keyword.
- KeywordAction *string `type:"string" enum:"KeywordAction"`
-
- // The message that was associated with the deleted keyword.
- KeywordMessage *string `min:"1" type:"string"`
-
- // The PhoneNumberId or PoolId that the keyword was associated with.
- OriginationIdentity *string `type:"string"`
+ // The token to be used for the next set of paginated results. If this field
+ // is empty then there are no more results.
+ NextToken *string `min:"1" type:"string"`
- // The PhoneNumberArn or PoolArn that the keyword was associated with.
- OriginationIdentityArn *string `type:"string"`
+ // An array of SpendLimit objects that contain the details for the requested
+ // spend limits.
+ SpendLimits []*SpendLimit `type:"list"`
}
// String returns the string representation.
@@ -6981,7 +14370,7 @@ type DeleteKeywordOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteKeywordOutput) String() string {
+func (s DescribeSpendLimitsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6990,48 +14379,40 @@ func (s DeleteKeywordOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteKeywordOutput) GoString() string {
+func (s DescribeSpendLimitsOutput) GoString() string {
return s.String()
}
-// SetKeyword sets the Keyword field's value.
-func (s *DeleteKeywordOutput) SetKeyword(v string) *DeleteKeywordOutput {
- s.Keyword = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpendLimitsOutput) SetNextToken(v string) *DescribeSpendLimitsOutput {
+ s.NextToken = &v
return s
}
-// SetKeywordAction sets the KeywordAction field's value.
-func (s *DeleteKeywordOutput) SetKeywordAction(v string) *DeleteKeywordOutput {
- s.KeywordAction = &v
+// SetSpendLimits sets the SpendLimits field's value.
+func (s *DescribeSpendLimitsOutput) SetSpendLimits(v []*SpendLimit) *DescribeSpendLimitsOutput {
+ s.SpendLimits = v
return s
}
-// SetKeywordMessage sets the KeywordMessage field's value.
-func (s *DeleteKeywordOutput) SetKeywordMessage(v string) *DeleteKeywordOutput {
- s.KeywordMessage = &v
- return s
-}
+type DescribeVerifiedDestinationNumbersInput struct {
+ _ struct{} `type:"structure"`
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *DeleteKeywordOutput) SetOriginationIdentity(v string) *DeleteKeywordOutput {
- s.OriginationIdentity = &v
- return s
-}
+ // An array of verified destination phone number, in E.164 format.
+ DestinationPhoneNumbers []*string `type:"list"`
-// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
-func (s *DeleteKeywordOutput) SetOriginationIdentityArn(v string) *DeleteKeywordOutput {
- s.OriginationIdentityArn = &v
- return s
-}
+ // An array of VerifiedDestinationNumberFilter objects to filter the results.
+ Filters []*VerifiedDestinationNumberFilter `type:"list"`
-type DeleteOptOutListInput struct {
- _ struct{} `type:"structure"`
+ // The maximum number of results to return per each request.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The OptOutListName or OptOutListArn of the OptOutList to delete. You can
- // use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.
- //
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of VerifiedDestinationNumberid to retreive.
+ VerifiedDestinationNumberIds []*string `type:"list"`
}
// String returns the string representation.
@@ -7039,7 +14420,7 @@ type DeleteOptOutListInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptOutListInput) String() string {
+func (s DescribeVerifiedDestinationNumbersInput) String() string {
return awsutil.Prettify(s)
}
@@ -7048,18 +14429,28 @@ func (s DeleteOptOutListInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptOutListInput) GoString() string {
+func (s DescribeVerifiedDestinationNumbersInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteOptOutListInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteOptOutListInput"}
- if s.OptOutListName == nil {
- invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
+func (s *DescribeVerifiedDestinationNumbersInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeVerifiedDestinationNumbersInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -7068,24 +14459,47 @@ func (s *DeleteOptOutListInput) Validate() error {
return nil
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *DeleteOptOutListInput) SetOptOutListName(v string) *DeleteOptOutListInput {
- s.OptOutListName = &v
+// SetDestinationPhoneNumbers sets the DestinationPhoneNumbers field's value.
+func (s *DescribeVerifiedDestinationNumbersInput) SetDestinationPhoneNumbers(v []*string) *DescribeVerifiedDestinationNumbersInput {
+ s.DestinationPhoneNumbers = v
return s
}
-type DeleteOptOutListOutput struct {
- _ struct{} `type:"structure"`
+// SetFilters sets the Filters field's value.
+func (s *DescribeVerifiedDestinationNumbersInput) SetFilters(v []*VerifiedDestinationNumberFilter) *DescribeVerifiedDestinationNumbersInput {
+ s.Filters = v
+ return s
+}
- // The time when the OptOutList was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- CreatedTimestamp *time.Time `type:"timestamp"`
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeVerifiedDestinationNumbersInput) SetMaxResults(v int64) *DescribeVerifiedDestinationNumbersInput {
+ s.MaxResults = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the OptOutList that was removed.
- OptOutListArn *string `type:"string"`
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVerifiedDestinationNumbersInput) SetNextToken(v string) *DescribeVerifiedDestinationNumbersInput {
+ s.NextToken = &v
+ return s
+}
- // The name of the OptOutList that was removed.
- OptOutListName *string `min:"1" type:"string"`
+// SetVerifiedDestinationNumberIds sets the VerifiedDestinationNumberIds field's value.
+func (s *DescribeVerifiedDestinationNumbersInput) SetVerifiedDestinationNumberIds(v []*string) *DescribeVerifiedDestinationNumbersInput {
+ s.VerifiedDestinationNumberIds = v
+ return s
+}
+
+type DescribeVerifiedDestinationNumbersOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
+ NextToken *string `min:"1" type:"string"`
+
+ // An array of VerifiedDestinationNumberInformation objects
+ //
+ // VerifiedDestinationNumbers is a required field
+ VerifiedDestinationNumbers []*VerifiedDestinationNumberInformation `type:"list" required:"true"`
}
// String returns the string representation.
@@ -7093,7 +14507,7 @@ type DeleteOptOutListOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptOutListOutput) String() string {
+func (s DescribeVerifiedDestinationNumbersOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7102,40 +14516,49 @@ func (s DeleteOptOutListOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptOutListOutput) GoString() string {
+func (s DescribeVerifiedDestinationNumbersOutput) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *DeleteOptOutListOutput) SetCreatedTimestamp(v time.Time) *DeleteOptOutListOutput {
- s.CreatedTimestamp = &v
- return s
-}
-
-// SetOptOutListArn sets the OptOutListArn field's value.
-func (s *DeleteOptOutListOutput) SetOptOutListArn(v string) *DeleteOptOutListOutput {
- s.OptOutListArn = &v
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVerifiedDestinationNumbersOutput) SetNextToken(v string) *DescribeVerifiedDestinationNumbersOutput {
+ s.NextToken = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *DeleteOptOutListOutput) SetOptOutListName(v string) *DeleteOptOutListOutput {
- s.OptOutListName = &v
+// SetVerifiedDestinationNumbers sets the VerifiedDestinationNumbers field's value.
+func (s *DescribeVerifiedDestinationNumbersOutput) SetVerifiedDestinationNumbers(v []*VerifiedDestinationNumberInformation) *DescribeVerifiedDestinationNumbersOutput {
+ s.VerifiedDestinationNumbers = v
return s
}
-type DeleteOptedOutNumberInput struct {
+type DisassociateOriginationIdentityInput struct {
_ struct{} `type:"structure"`
- // The OptOutListName or OptOutListArn to remove the phone number from.
+ // Unique, case-sensitive identifier you provide to ensure the idempotency of
+ // the request. If you don't specify a client token, a randomly generated token
+ // is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
//
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
- // The phone number, in E.164 format, to remove from the OptOutList.
+ // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
+ // SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values
+ // for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the
+ // values for SenderId and SenderIdArn.
//
- // OptedOutNumber is a required field
- OptedOutNumber *string `min:"1" type:"string" required:"true"`
+ // OriginationIdentity is a required field
+ OriginationIdentity *string `min:"1" type:"string" required:"true"`
+
+ // The unique identifier for the pool to disassociate with the origination identity.
+ // This value can be either the PoolId or PoolArn.
+ //
+ // PoolId is a required field
+ PoolId *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7143,7 +14566,7 @@ type DeleteOptedOutNumberInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptedOutNumberInput) String() string {
+func (s DisassociateOriginationIdentityInput) String() string {
return awsutil.Prettify(s)
}
@@ -7152,24 +14575,33 @@ func (s DeleteOptedOutNumberInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptedOutNumberInput) GoString() string {
+func (s DisassociateOriginationIdentityInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteOptedOutNumberInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteOptedOutNumberInput"}
- if s.OptOutListName == nil {
- invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
+func (s *DisassociateOriginationIdentityInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DisassociateOriginationIdentityInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
}
- if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ if s.IsoCountryCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
}
- if s.OptedOutNumber == nil {
- invalidParams.Add(request.NewErrParamRequired("OptedOutNumber"))
+ if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
+ invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
}
- if s.OptedOutNumber != nil && len(*s.OptedOutNumber) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptedOutNumber", 1))
+ if s.OriginationIdentity == nil {
+ invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+ }
+ if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ }
+ if s.PoolId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PoolId"))
+ }
+ if s.PoolId != nil && len(*s.PoolId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
}
if invalidParams.Len() > 0 {
@@ -7178,36 +14610,48 @@ func (s *DeleteOptedOutNumberInput) Validate() error {
return nil
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *DeleteOptedOutNumberInput) SetOptOutListName(v string) *DeleteOptedOutNumberInput {
- s.OptOutListName = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *DisassociateOriginationIdentityInput) SetClientToken(v string) *DisassociateOriginationIdentityInput {
+ s.ClientToken = &v
return s
}
-// SetOptedOutNumber sets the OptedOutNumber field's value.
-func (s *DeleteOptedOutNumberInput) SetOptedOutNumber(v string) *DeleteOptedOutNumberInput {
- s.OptedOutNumber = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *DisassociateOriginationIdentityInput) SetIsoCountryCode(v string) *DisassociateOriginationIdentityInput {
+ s.IsoCountryCode = &v
return s
}
-type DeleteOptedOutNumberOutput struct {
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *DisassociateOriginationIdentityInput) SetOriginationIdentity(v string) *DisassociateOriginationIdentityInput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *DisassociateOriginationIdentityInput) SetPoolId(v string) *DisassociateOriginationIdentityInput {
+ s.PoolId = &v
+ return s
+}
+
+type DisassociateOriginationIdentityOutput struct {
_ struct{} `type:"structure"`
- // This is true if it was the end user who requested their phone number be removed.
- EndUserOptedOut *bool `type:"boolean"`
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ IsoCountryCode *string `min:"2" type:"string"`
- // The OptOutListArn that the phone number was removed from.
- OptOutListArn *string `type:"string"`
+ // The PhoneNumberId or SenderId of the origination identity.
+ OriginationIdentity *string `type:"string"`
- // The OptOutListName that the phone number was removed from.
- OptOutListName *string `min:"1" type:"string"`
+ // The PhoneNumberArn or SenderIdArn of the origination identity.
+ OriginationIdentityArn *string `type:"string"`
- // The phone number that was removed from the OptOutList.
- OptedOutNumber *string `min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the pool.
+ PoolArn *string `type:"string"`
- // The time that the number was removed at, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- OptedOutTimestamp *time.Time `type:"timestamp"`
+ // The PoolId of the pool no longer associated with the origination identity.
+ PoolId *string `type:"string"`
}
// String returns the string representation.
@@ -7215,7 +14659,7 @@ type DeleteOptedOutNumberOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptedOutNumberOutput) String() string {
+func (s DisassociateOriginationIdentityOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7224,48 +14668,135 @@ func (s DeleteOptedOutNumberOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteOptedOutNumberOutput) GoString() string {
+func (s DisassociateOriginationIdentityOutput) GoString() string {
return s.String()
}
-// SetEndUserOptedOut sets the EndUserOptedOut field's value.
-func (s *DeleteOptedOutNumberOutput) SetEndUserOptedOut(v bool) *DeleteOptedOutNumberOutput {
- s.EndUserOptedOut = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *DisassociateOriginationIdentityOutput) SetIsoCountryCode(v string) *DisassociateOriginationIdentityOutput {
+ s.IsoCountryCode = &v
return s
}
-// SetOptOutListArn sets the OptOutListArn field's value.
-func (s *DeleteOptedOutNumberOutput) SetOptOutListArn(v string) *DeleteOptedOutNumberOutput {
- s.OptOutListArn = &v
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *DisassociateOriginationIdentityOutput) SetOriginationIdentity(v string) *DisassociateOriginationIdentityOutput {
+ s.OriginationIdentity = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *DeleteOptedOutNumberOutput) SetOptOutListName(v string) *DeleteOptedOutNumberOutput {
- s.OptOutListName = &v
+// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
+func (s *DisassociateOriginationIdentityOutput) SetOriginationIdentityArn(v string) *DisassociateOriginationIdentityOutput {
+ s.OriginationIdentityArn = &v
return s
}
-// SetOptedOutNumber sets the OptedOutNumber field's value.
-func (s *DeleteOptedOutNumberOutput) SetOptedOutNumber(v string) *DeleteOptedOutNumberOutput {
- s.OptedOutNumber = &v
+// SetPoolArn sets the PoolArn field's value.
+func (s *DisassociateOriginationIdentityOutput) SetPoolArn(v string) *DisassociateOriginationIdentityOutput {
+ s.PoolArn = &v
return s
}
-// SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
-func (s *DeleteOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *DeleteOptedOutNumberOutput {
- s.OptedOutTimestamp = &v
+// SetPoolId sets the PoolId field's value.
+func (s *DisassociateOriginationIdentityOutput) SetPoolId(v string) *DisassociateOriginationIdentityOutput {
+ s.PoolId = &v
return s
}
-type DeletePoolInput struct {
+type DiscardRegistrationVersionInput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DiscardRegistrationVersionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DiscardRegistrationVersionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DiscardRegistrationVersionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DiscardRegistrationVersionInput"}
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DiscardRegistrationVersionInput) SetRegistrationId(v string) *DiscardRegistrationVersionInput {
+ s.RegistrationId = &v
+ return s
+}
+
+type DiscardRegistrationVersionOutput struct {
_ struct{} `type:"structure"`
- // The PoolId or PoolArn of the pool to delete. You can use DescribePools to
- // find the values for PoolId and PoolArn .
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The status of the registration version.
+ //
+ // * DRAFT: The initial status of a registration version after it’s created.
+ //
+ // * SUBMITTED: Your registration has been submitted.
+ //
+ // * REVIEWING: Your registration has been accepted and is being reviewed.
+ //
+ // * APPROVED: Your registration has been approved.
+ //
+ // * DISCARDED: You've abandon this version of their registration to start
+ // over with a new version.
+ //
+ // * DENIED: You must fix your registration and resubmit it.
+ //
+ // * REVOKED: Your previously approved registration has been revoked.
+ //
+ // * ARCHIVED: Your previously approved registration version moves into this
+ // status when a more recently submitted version is approved.
+ //
+ // RegistrationVersionStatus is a required field
+ RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`
+
+ // The RegistrationVersionStatusHistory object contains the time stamps for
+ // when the reservations status changes.
//
- // PoolId is a required field
- PoolId *string `min:"1" type:"string" required:"true"`
+ // RegistrationVersionStatusHistory is a required field
+ RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`
+
+ // The version number of the registration.
+ //
+ // VersionNumber is a required field
+ VersionNumber *int64 `min:"1" type:"long" required:"true"`
}
// String returns the string representation.
@@ -7273,7 +14804,7 @@ type DeletePoolInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePoolInput) String() string {
+func (s DiscardRegistrationVersionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7282,78 +14813,76 @@ func (s DeletePoolInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePoolInput) GoString() string {
+func (s DiscardRegistrationVersionOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeletePoolInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeletePoolInput"}
- if s.PoolId == nil {
- invalidParams.Add(request.NewErrParamRequired("PoolId"))
- }
- if s.PoolId != nil && len(*s.PoolId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *DiscardRegistrationVersionOutput) SetRegistrationArn(v string) *DiscardRegistrationVersionOutput {
+ s.RegistrationArn = &v
+ return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *DeletePoolInput) SetPoolId(v string) *DeletePoolInput {
- s.PoolId = &v
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *DiscardRegistrationVersionOutput) SetRegistrationId(v string) *DiscardRegistrationVersionOutput {
+ s.RegistrationId = &v
return s
}
-type DeletePoolOutput struct {
- _ struct{} `type:"structure"`
+// SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
+func (s *DiscardRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *DiscardRegistrationVersionOutput {
+ s.RegistrationVersionStatus = &v
+ return s
+}
- // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- CreatedTimestamp *time.Time `type:"timestamp"`
+// SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
+func (s *DiscardRegistrationVersionOutput) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *DiscardRegistrationVersionOutput {
+ s.RegistrationVersionStatusHistory = v
+ return s
+}
- // The message type that was associated with the deleted pool.
- MessageType *string `type:"string" enum:"MessageType"`
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *DiscardRegistrationVersionOutput) SetVersionNumber(v int64) *DiscardRegistrationVersionOutput {
+ s.VersionNumber = &v
+ return s
+}
- // The name of the OptOutList that was associated with the deleted pool.
- OptOutListName *string `min:"1" type:"string"`
+// Contains information about an event destination.
+//
+// Event destinations are associated with configuration sets, which enable you
+// to publish message sending events to CloudWatch, Kinesis Data Firehose,or
+// Amazon SNS.
+type EventDestination struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the pool that was deleted.
- PoolArn *string `type:"string"`
+ // An object that contains information about an event destination that sends
+ // logging events to Amazon CloudWatch logs.
+ CloudWatchLogsDestination *CloudWatchLogsDestination `type:"structure"`
- // The PoolId of the pool that was deleted.
- PoolId *string `type:"string"`
+ // When set to true events will be logged.
+ //
+ // Enabled is a required field
+ Enabled *bool `type:"boolean" required:"true"`
- // By default this is set to false. When an end recipient sends a message that
- // begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
- // automatically replies with a customizable message and adds the end recipient
- // to the OptOutList. When set to true you're responsible for responding to
- // HELP and STOP requests. You're also responsible for tracking and honoring
- // opt-out requests.
- SelfManagedOptOutsEnabled *bool `type:"boolean"`
+ // The name of the EventDestination.
+ //
+ // EventDestinationName is a required field
+ EventDestinationName *string `min:"1" type:"string" required:"true"`
- // Indicates whether shared routes are enabled for the pool.
- SharedRoutesEnabled *bool `type:"boolean"`
+ // An object that contains information about an event destination for logging
+ // to Amazon Kinesis Data Firehose.
+ KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`
- // The current status of the pool.
- //
- // * CREATING: The pool is currently being created and isn't yet available
- // for use.
+ // An array of event types that determine which events to log.
//
- // * ACTIVE: The pool is active and available for use.
+ // The TEXT_SENT event type is not supported.
//
- // * DELETING: The pool is being deleted.
- Status *string `type:"string" enum:"PoolStatus"`
-
- // The Amazon Resource Name (ARN) of the TwoWayChannel.
- TwoWayChannelArn *string `min:"20" type:"string"`
+ // MatchingEventTypes is a required field
+ MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"`
- // By default this is set to false. When set to true you can receive incoming
- // text messages from your end recipients.
- TwoWayEnabled *bool `type:"boolean"`
+ // An object that contains information about an event destination that sends
+ // logging events to Amazon SNS.
+ SnsDestination *SnsDestination `type:"structure"`
}
// String returns the string representation.
@@ -7361,7 +14890,7 @@ type DeletePoolOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePoolOutput) String() string {
+func (s EventDestination) String() string {
return awsutil.Prettify(s)
}
@@ -7370,72 +14899,127 @@ func (s DeletePoolOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePoolOutput) GoString() string {
+func (s EventDestination) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *DeletePoolOutput) SetCreatedTimestamp(v time.Time) *DeletePoolOutput {
- s.CreatedTimestamp = &v
+// SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.
+func (s *EventDestination) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *EventDestination {
+ s.CloudWatchLogsDestination = v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *DeletePoolOutput) SetMessageType(v string) *DeletePoolOutput {
- s.MessageType = &v
+// SetEnabled sets the Enabled field's value.
+func (s *EventDestination) SetEnabled(v bool) *EventDestination {
+ s.Enabled = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *DeletePoolOutput) SetOptOutListName(v string) *DeletePoolOutput {
- s.OptOutListName = &v
+// SetEventDestinationName sets the EventDestinationName field's value.
+func (s *EventDestination) SetEventDestinationName(v string) *EventDestination {
+ s.EventDestinationName = &v
return s
}
-// SetPoolArn sets the PoolArn field's value.
-func (s *DeletePoolOutput) SetPoolArn(v string) *DeletePoolOutput {
- s.PoolArn = &v
+// SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
+func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination {
+ s.KinesisFirehoseDestination = v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *DeletePoolOutput) SetPoolId(v string) *DeletePoolOutput {
- s.PoolId = &v
+// SetMatchingEventTypes sets the MatchingEventTypes field's value.
+func (s *EventDestination) SetMatchingEventTypes(v []*string) *EventDestination {
+ s.MatchingEventTypes = v
return s
}
-// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
-func (s *DeletePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *DeletePoolOutput {
- s.SelfManagedOptOutsEnabled = &v
+// SetSnsDestination sets the SnsDestination field's value.
+func (s *EventDestination) SetSnsDestination(v *SnsDestination) *EventDestination {
+ s.SnsDestination = v
return s
}
-// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
-func (s *DeletePoolOutput) SetSharedRoutesEnabled(v bool) *DeletePoolOutput {
- s.SharedRoutesEnabled = &v
- return s
+// The API encountered an unexpected error and couldn't complete the request.
+// You might be able to successfully issue the request again in the future.
+type InternalServerException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"Message" type:"string"`
+
+ // The unique identifier of the request.
+ RequestId *string `type:"string"`
}
-// SetStatus sets the Status field's value.
-func (s *DeletePoolOutput) SetStatus(v string) *DeletePoolOutput {
- s.Status = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) String() string {
+ return awsutil.Prettify(s)
}
-// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
-func (s *DeletePoolOutput) SetTwoWayChannelArn(v string) *DeletePoolOutput {
- s.TwoWayChannelArn = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) GoString() string {
+ return s.String()
}
-// SetTwoWayEnabled sets the TwoWayEnabled field's value.
-func (s *DeletePoolOutput) SetTwoWayEnabled(v bool) *DeletePoolOutput {
- s.TwoWayEnabled = &v
- return s
+func newErrorInternalServerException(v protocol.ResponseMetadata) error {
+ return &InternalServerException{
+ RespMetadata: v,
+ }
}
-type DeleteTextMessageSpendLimitOverrideInput struct {
+// Code returns the exception type name.
+func (s *InternalServerException) Code() string {
+ return "InternalServerException"
+}
+
+// Message returns the exception's message.
+func (s *InternalServerException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InternalServerException) OrigErr() error {
+ return nil
+}
+
+func (s *InternalServerException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *InternalServerException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InternalServerException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// The information for keywords that meet a specified criteria.
+type KeywordFilter struct {
_ struct{} `type:"structure"`
+
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"KeywordFilterName"`
+
+ // An array values to filter for.
+ //
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -7443,7 +15027,7 @@ type DeleteTextMessageSpendLimitOverrideInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteTextMessageSpendLimitOverrideInput) String() string {
+func (s KeywordFilter) String() string {
return awsutil.Prettify(s)
}
@@ -7452,15 +15036,59 @@ func (s DeleteTextMessageSpendLimitOverrideInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteTextMessageSpendLimitOverrideInput) GoString() string {
+func (s KeywordFilter) GoString() string {
return s.String()
}
-type DeleteTextMessageSpendLimitOverrideOutput struct {
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *KeywordFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "KeywordFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
+ }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *KeywordFilter) SetName(v string) *KeywordFilter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *KeywordFilter) SetValues(v []*string) *KeywordFilter {
+ s.Values = v
+ return s
+}
+
+// The information for all keywords in a pool.
+type KeywordInformation struct {
_ struct{} `type:"structure"`
- // The current monthly limit, in US dollars.
- MonthlyLimit *int64 `type:"long"`
+ // The keyword as a string.
+ //
+ // Keyword is a required field
+ Keyword *string `min:"1" type:"string" required:"true"`
+
+ // The action to perform for the keyword.
+ //
+ // KeywordAction is a required field
+ KeywordAction *string `type:"string" required:"true" enum:"KeywordAction"`
+
+ // A custom message that can be used with the keyword.
+ //
+ // KeywordMessage is a required field
+ KeywordMessage *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7468,7 +15096,7 @@ type DeleteTextMessageSpendLimitOverrideOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteTextMessageSpendLimitOverrideOutput) String() string {
+func (s KeywordInformation) String() string {
return awsutil.Prettify(s)
}
@@ -7477,43 +15105,47 @@ func (s DeleteTextMessageSpendLimitOverrideOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteTextMessageSpendLimitOverrideOutput) GoString() string {
+func (s KeywordInformation) GoString() string {
return s.String()
}
-// SetMonthlyLimit sets the MonthlyLimit field's value.
-func (s *DeleteTextMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *DeleteTextMessageSpendLimitOverrideOutput {
- s.MonthlyLimit = &v
+// SetKeyword sets the Keyword field's value.
+func (s *KeywordInformation) SetKeyword(v string) *KeywordInformation {
+ s.Keyword = &v
return s
}
-type DeleteVoiceMessageSpendLimitOverrideInput struct {
- _ struct{} `type:"structure"`
+// SetKeywordAction sets the KeywordAction field's value.
+func (s *KeywordInformation) SetKeywordAction(v string) *KeywordInformation {
+ s.KeywordAction = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DeleteVoiceMessageSpendLimitOverrideInput) String() string {
- return awsutil.Prettify(s)
+// SetKeywordMessage sets the KeywordMessage field's value.
+func (s *KeywordInformation) SetKeywordMessage(v string) *KeywordInformation {
+ s.KeywordMessage = &v
+ return s
}
-// GoString returns the string representation.
+// Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the
+// Identity and Access Management (IAM) role associated with an Kinesis Data
+// Firehose event destination.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DeleteVoiceMessageSpendLimitOverrideInput) GoString() string {
- return s.String()
-}
-
-type DeleteVoiceMessageSpendLimitOverrideOutput struct {
+// Event destinations, such as Kinesis Data Firehose, are associated with configuration
+// sets, which enable you to publish message sending events.
+type KinesisFirehoseDestination struct {
_ struct{} `type:"structure"`
- // The current monthly limit, in US dollars.
- MonthlyLimit *int64 `type:"long"`
+ // The Amazon Resource Name (ARN) of the delivery stream.
+ //
+ // DeliveryStreamArn is a required field
+ DeliveryStreamArn *string `min:"20" type:"string" required:"true"`
+
+ // The ARN of an Amazon Identity and Access Management (IAM) role that is able
+ // to write event data to an Amazon Firehose destination.
+ //
+ // IamRoleArn is a required field
+ IamRoleArn *string `min:"20" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7521,7 +15153,7 @@ type DeleteVoiceMessageSpendLimitOverrideOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteVoiceMessageSpendLimitOverrideOutput) String() string {
+func (s KinesisFirehoseDestination) String() string {
return awsutil.Prettify(s)
}
@@ -7530,25 +15162,62 @@ func (s DeleteVoiceMessageSpendLimitOverrideOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteVoiceMessageSpendLimitOverrideOutput) GoString() string {
+func (s KinesisFirehoseDestination) GoString() string {
return s.String()
}
-// SetMonthlyLimit sets the MonthlyLimit field's value.
-func (s *DeleteVoiceMessageSpendLimitOverrideOutput) SetMonthlyLimit(v int64) *DeleteVoiceMessageSpendLimitOverrideOutput {
- s.MonthlyLimit = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *KinesisFirehoseDestination) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "KinesisFirehoseDestination"}
+ if s.DeliveryStreamArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("DeliveryStreamArn"))
+ }
+ if s.DeliveryStreamArn != nil && len(*s.DeliveryStreamArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("DeliveryStreamArn", 20))
+ }
+ if s.IamRoleArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("IamRoleArn"))
+ }
+ if s.IamRoleArn != nil && len(*s.IamRoleArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("IamRoleArn", 20))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDeliveryStreamArn sets the DeliveryStreamArn field's value.
+func (s *KinesisFirehoseDestination) SetDeliveryStreamArn(v string) *KinesisFirehoseDestination {
+ s.DeliveryStreamArn = &v
return s
}
-type DescribeAccountAttributesInput struct {
+// SetIamRoleArn sets the IamRoleArn field's value.
+func (s *KinesisFirehoseDestination) SetIamRoleArn(v string) *KinesisFirehoseDestination {
+ s.IamRoleArn = &v
+ return s
+}
+
+type ListPoolOriginationIdentitiesInput struct {
_ struct{} `type:"structure"`
+ // An array of PoolOriginationIdentitiesFilter objects to filter the results..
+ Filters []*PoolOriginationIdentitiesFilter `type:"list"`
+
// The maximum number of results to return per each request.
MaxResults *int64 `min:"1" type:"integer"`
// The token to be used for the next set of paginated results. You don't need
// to supply a value for this field in the initial request.
NextToken *string `min:"1" type:"string"`
+
+ // The unique identifier for the pool. This value can be either the PoolId or
+ // PoolArn.
+ //
+ // PoolId is a required field
+ PoolId *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7556,7 +15225,7 @@ type DescribeAccountAttributesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAttributesInput) String() string {
+func (s ListPoolOriginationIdentitiesInput) String() string {
return awsutil.Prettify(s)
}
@@ -7565,19 +15234,35 @@ func (s DescribeAccountAttributesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAttributesInput) GoString() string {
+func (s ListPoolOriginationIdentitiesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAccountAttributesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAccountAttributesInput"}
+func (s *ListPoolOriginationIdentitiesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListPoolOriginationIdentitiesInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
+ if s.PoolId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PoolId"))
+ }
+ if s.PoolId != nil && len(*s.PoolId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -7585,27 +15270,45 @@ func (s *DescribeAccountAttributesInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *ListPoolOriginationIdentitiesInput) SetFilters(v []*PoolOriginationIdentitiesFilter) *ListPoolOriginationIdentitiesInput {
+ s.Filters = v
+ return s
+}
+
// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeAccountAttributesInput) SetMaxResults(v int64) *DescribeAccountAttributesInput {
+func (s *ListPoolOriginationIdentitiesInput) SetMaxResults(v int64) *ListPoolOriginationIdentitiesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *DescribeAccountAttributesInput) SetNextToken(v string) *DescribeAccountAttributesInput {
+func (s *ListPoolOriginationIdentitiesInput) SetNextToken(v string) *ListPoolOriginationIdentitiesInput {
s.NextToken = &v
return s
}
-type DescribeAccountAttributesOutput struct {
- _ struct{} `type:"structure"`
+// SetPoolId sets the PoolId field's value.
+func (s *ListPoolOriginationIdentitiesInput) SetPoolId(v string) *ListPoolOriginationIdentitiesInput {
+ s.PoolId = &v
+ return s
+}
- // An array of AccountAttributes objects.
- AccountAttributes []*AccountAttribute `type:"list"`
+type ListPoolOriginationIdentitiesOutput struct {
+ _ struct{} `type:"structure"`
// The token to be used for the next set of paginated results. If this field
// is empty then there are no more results.
NextToken *string `min:"1" type:"string"`
+
+ // An array of any OriginationIdentityMetadata objects.
+ OriginationIdentities []*OriginationIdentityMetadata `type:"list"`
+
+ // The Amazon Resource Name (ARN) for the pool.
+ PoolArn *string `type:"string"`
+
+ // The unique PoolId of the pool.
+ PoolId *string `type:"string"`
}
// String returns the string representation.
@@ -7613,7 +15316,7 @@ type DescribeAccountAttributesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAttributesOutput) String() string {
+func (s ListPoolOriginationIdentitiesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7622,31 +15325,52 @@ func (s DescribeAccountAttributesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAttributesOutput) GoString() string {
+func (s ListPoolOriginationIdentitiesOutput) GoString() string {
return s.String()
}
-// SetAccountAttributes sets the AccountAttributes field's value.
-func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttribute) *DescribeAccountAttributesOutput {
- s.AccountAttributes = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListPoolOriginationIdentitiesOutput) SetNextToken(v string) *ListPoolOriginationIdentitiesOutput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeAccountAttributesOutput) SetNextToken(v string) *DescribeAccountAttributesOutput {
- s.NextToken = &v
+// SetOriginationIdentities sets the OriginationIdentities field's value.
+func (s *ListPoolOriginationIdentitiesOutput) SetOriginationIdentities(v []*OriginationIdentityMetadata) *ListPoolOriginationIdentitiesOutput {
+ s.OriginationIdentities = v
return s
}
-type DescribeAccountLimitsInput struct {
+// SetPoolArn sets the PoolArn field's value.
+func (s *ListPoolOriginationIdentitiesOutput) SetPoolArn(v string) *ListPoolOriginationIdentitiesOutput {
+ s.PoolArn = &v
+ return s
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *ListPoolOriginationIdentitiesOutput) SetPoolId(v string) *ListPoolOriginationIdentitiesOutput {
+ s.PoolId = &v
+ return s
+}
+
+type ListRegistrationAssociationsInput struct {
_ struct{} `type:"structure"`
+ // An array of RegistrationAssociationFilter to apply to the results that are
+ // returned.
+ Filters []*RegistrationAssociationFilter `type:"list"`
+
// The maximum number of results to return per each request.
MaxResults *int64 `min:"1" type:"integer"`
// The token to be used for the next set of paginated results. You don't need
// to supply a value for this field in the initial request.
NextToken *string `min:"1" type:"string"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7654,7 +15378,7 @@ type DescribeAccountLimitsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountLimitsInput) String() string {
+func (s ListRegistrationAssociationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -7663,19 +15387,35 @@ func (s DescribeAccountLimitsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountLimitsInput) GoString() string {
+func (s ListRegistrationAssociationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAccountLimitsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAccountLimitsInput"}
+func (s *ListRegistrationAssociationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListRegistrationAssociationsInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if s.NextToken != nil && len(*s.NextToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
}
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+ if s.Filters != nil {
+ for i, v := range s.Filters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -7683,27 +15423,57 @@ func (s *DescribeAccountLimitsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *ListRegistrationAssociationsInput) SetFilters(v []*RegistrationAssociationFilter) *ListRegistrationAssociationsInput {
+ s.Filters = v
+ return s
+}
+
// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeAccountLimitsInput) SetMaxResults(v int64) *DescribeAccountLimitsInput {
+func (s *ListRegistrationAssociationsInput) SetMaxResults(v int64) *ListRegistrationAssociationsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimitsInput {
+func (s *ListRegistrationAssociationsInput) SetNextToken(v string) *ListRegistrationAssociationsInput {
s.NextToken = &v
return s
}
-type DescribeAccountLimitsOutput struct {
- _ struct{} `type:"structure"`
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *ListRegistrationAssociationsInput) SetRegistrationId(v string) *ListRegistrationAssociationsInput {
+ s.RegistrationId = &v
+ return s
+}
- // An array of AccountLimit objects that show the current spend limits.
- AccountLimits []*AccountLimit `type:"list"`
+type ListRegistrationAssociationsOutput struct {
+ _ struct{} `type:"structure"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
+ // The token to be used for the next set of paginated results. You don't need
+ // to supply a value for this field in the initial request.
NextToken *string `min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // An array of RegistrationAssociationMetadata objects.
+ //
+ // RegistrationAssociations is a required field
+ RegistrationAssociations []*RegistrationAssociationMetadata `type:"list" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7711,7 +15481,7 @@ type DescribeAccountLimitsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountLimitsOutput) String() string {
+func (s ListRegistrationAssociationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7720,38 +15490,47 @@ func (s DescribeAccountLimitsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountLimitsOutput) GoString() string {
+func (s ListRegistrationAssociationsOutput) GoString() string {
return s.String()
}
-// SetAccountLimits sets the AccountLimits field's value.
-func (s *DescribeAccountLimitsOutput) SetAccountLimits(v []*AccountLimit) *DescribeAccountLimitsOutput {
- s.AccountLimits = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListRegistrationAssociationsOutput) SetNextToken(v string) *ListRegistrationAssociationsOutput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLimitsOutput {
- s.NextToken = &v
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *ListRegistrationAssociationsOutput) SetRegistrationArn(v string) *ListRegistrationAssociationsOutput {
+ s.RegistrationArn = &v
return s
}
-type DescribeConfigurationSetsInput struct {
- _ struct{} `type:"structure"`
+// SetRegistrationAssociations sets the RegistrationAssociations field's value.
+func (s *ListRegistrationAssociationsOutput) SetRegistrationAssociations(v []*RegistrationAssociationMetadata) *ListRegistrationAssociationsOutput {
+ s.RegistrationAssociations = v
+ return s
+}
- // An array of strings. Each element can be either a ConfigurationSetName or
- // ConfigurationSetArn.
- ConfigurationSetNames []*string `type:"list"`
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *ListRegistrationAssociationsOutput) SetRegistrationId(v string) *ListRegistrationAssociationsOutput {
+ s.RegistrationId = &v
+ return s
+}
- // An array of filters to apply to the results that are returned.
- Filters []*ConfigurationSetFilter `type:"list"`
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *ListRegistrationAssociationsOutput) SetRegistrationType(v string) *ListRegistrationAssociationsOutput {
+ s.RegistrationType = &v
+ return s
+}
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
+type ListTagsForResourceInput struct {
+ _ struct{} `type:"structure"`
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the resource to query for.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `min:"20" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7759,7 +15538,7 @@ type DescribeConfigurationSetsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeConfigurationSetsInput) String() string {
+func (s ListTagsForResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -7768,28 +15547,18 @@ func (s DescribeConfigurationSetsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeConfigurationSetsInput) GoString() string {
+func (s ListTagsForResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeConfigurationSetsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeConfigurationSetsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+func (s *ListTagsForResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
}
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20))
}
if invalidParams.Len() > 0 {
@@ -7798,39 +15567,71 @@ func (s *DescribeConfigurationSetsInput) Validate() error {
return nil
}
-// SetConfigurationSetNames sets the ConfigurationSetNames field's value.
-func (s *DescribeConfigurationSetsInput) SetConfigurationSetNames(v []*string) *DescribeConfigurationSetsInput {
- s.ConfigurationSetNames = v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
return s
}
-// SetFilters sets the Filters field's value.
-func (s *DescribeConfigurationSetsInput) SetFilters(v []*ConfigurationSetFilter) *DescribeConfigurationSetsInput {
- s.Filters = v
- return s
+type ListTagsForResourceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the resource.
+ ResourceArn *string `min:"20" type:"string"`
+
+ // An array of key and value pair tags that are associated with the resource.
+ Tags []*Tag `type:"list"`
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeConfigurationSetsInput) SetMaxResults(v int64) *DescribeConfigurationSetsInput {
- s.MaxResults = &v
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceOutput) GoString() string {
+ return s.String()
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceOutput) SetResourceArn(v string) *ListTagsForResourceOutput {
+ s.ResourceArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeConfigurationSetsInput) SetNextToken(v string) *DescribeConfigurationSetsInput {
- s.NextToken = &v
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
+ s.Tags = v
return s
}
-type DescribeConfigurationSetsOutput struct {
+// The information for all OptOutList in an Amazon Web Services account.
+type OptOutListInformation struct {
_ struct{} `type:"structure"`
- // An array of ConfigurationSets objects.
- ConfigurationSets []*ConfigurationSetInformation `type:"list"`
+ // The time when the OutOutList was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the OptOutList.
+ //
+ // OptOutListArn is a required field
+ OptOutListArn *string `type:"string" required:"true"`
+
+ // The name of the OptOutList.
+ //
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7838,7 +15639,7 @@ type DescribeConfigurationSetsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeConfigurationSetsOutput) String() string {
+func (s OptOutListInformation) String() string {
return awsutil.Prettify(s)
}
@@ -7847,45 +15648,41 @@ func (s DescribeConfigurationSetsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeConfigurationSetsOutput) GoString() string {
+func (s OptOutListInformation) GoString() string {
return s.String()
}
-// SetConfigurationSets sets the ConfigurationSets field's value.
-func (s *DescribeConfigurationSetsOutput) SetConfigurationSets(v []*ConfigurationSetInformation) *DescribeConfigurationSetsOutput {
- s.ConfigurationSets = v
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *OptOutListInformation) SetCreatedTimestamp(v time.Time) *OptOutListInformation {
+ s.CreatedTimestamp = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeConfigurationSetsOutput) SetNextToken(v string) *DescribeConfigurationSetsOutput {
- s.NextToken = &v
+// SetOptOutListArn sets the OptOutListArn field's value.
+func (s *OptOutListInformation) SetOptOutListArn(v string) *OptOutListInformation {
+ s.OptOutListArn = &v
return s
}
-type DescribeKeywordsInput struct {
- _ struct{} `type:"structure"`
-
- // An array of keyword filters to filter the results.
- Filters []*KeywordFilter `type:"list"`
-
- // An array of keywords to search for.
- Keywords []*string `type:"list"`
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *OptOutListInformation) SetOptOutListName(v string) *OptOutListInformation {
+ s.OptOutListName = &v
+ return s
+}
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
+// The information for opted out numbers that meet a specified criteria.
+type OptedOutFilter struct {
+ _ struct{} `type:"structure"`
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"OptedOutFilterName"`
- // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
- // SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values
- // for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
- // to get the values for SenderId and SenderIdArn.
+ // An array of values to filter for.
//
- // OriginationIdentity is a required field
- OriginationIdentity *string `min:"1" type:"string" required:"true"`
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -7893,7 +15690,7 @@ type DescribeKeywordsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeKeywordsInput) String() string {
+func (s OptedOutFilter) String() string {
return awsutil.Prettify(s)
}
@@ -7902,34 +15699,21 @@ func (s DescribeKeywordsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeKeywordsInput) GoString() string {
+func (s OptedOutFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeKeywordsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeKeywordsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.OriginationIdentity == nil {
- invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+func (s *OptedOutFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "OptedOutFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
}
- if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
}
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
}
if invalidParams.Len() > 0 {
@@ -7938,51 +15722,37 @@ func (s *DescribeKeywordsInput) Validate() error {
return nil
}
-// SetFilters sets the Filters field's value.
-func (s *DescribeKeywordsInput) SetFilters(v []*KeywordFilter) *DescribeKeywordsInput {
- s.Filters = v
- return s
-}
-
-// SetKeywords sets the Keywords field's value.
-func (s *DescribeKeywordsInput) SetKeywords(v []*string) *DescribeKeywordsInput {
- s.Keywords = v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeKeywordsInput) SetMaxResults(v int64) *DescribeKeywordsInput {
- s.MaxResults = &v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeKeywordsInput) SetNextToken(v string) *DescribeKeywordsInput {
- s.NextToken = &v
+// SetName sets the Name field's value.
+func (s *OptedOutFilter) SetName(v string) *OptedOutFilter {
+ s.Name = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *DescribeKeywordsInput) SetOriginationIdentity(v string) *DescribeKeywordsInput {
- s.OriginationIdentity = &v
+// SetValues sets the Values field's value.
+func (s *OptedOutFilter) SetValues(v []*string) *OptedOutFilter {
+ s.Values = v
return s
}
-type DescribeKeywordsOutput struct {
+// The information for an opted out number in an Amazon Web Services account.
+type OptedOutNumberInformation struct {
_ struct{} `type:"structure"`
- // An array of KeywordInformation objects that contain the results.
- Keywords []*KeywordInformation `type:"list"`
-
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // This is set to true if it was the end recipient that opted out.
+ //
+ // EndUserOptedOut is a required field
+ EndUserOptedOut *bool `type:"boolean" required:"true"`
- // The PhoneNumberId or PoolId that is associated with the OriginationIdentity.
- OriginationIdentity *string `type:"string"`
+ // The phone number that is opted out.
+ //
+ // OptedOutNumber is a required field
+ OptedOutNumber *string `min:"1" type:"string" required:"true"`
- // The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.
- OriginationIdentityArn *string `type:"string"`
+ // The time that the op tout occurred, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // OptedOutTimestamp is a required field
+ OptedOutTimestamp *time.Time `type:"timestamp" required:"true"`
}
// String returns the string representation.
@@ -7990,7 +15760,7 @@ type DescribeKeywordsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeKeywordsOutput) String() string {
+func (s OptedOutNumberInformation) String() string {
return awsutil.Prettify(s)
}
@@ -7999,47 +15769,56 @@ func (s DescribeKeywordsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeKeywordsOutput) GoString() string {
+func (s OptedOutNumberInformation) GoString() string {
return s.String()
}
-// SetKeywords sets the Keywords field's value.
-func (s *DescribeKeywordsOutput) SetKeywords(v []*KeywordInformation) *DescribeKeywordsOutput {
- s.Keywords = v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeKeywordsOutput) SetNextToken(v string) *DescribeKeywordsOutput {
- s.NextToken = &v
+// SetEndUserOptedOut sets the EndUserOptedOut field's value.
+func (s *OptedOutNumberInformation) SetEndUserOptedOut(v bool) *OptedOutNumberInformation {
+ s.EndUserOptedOut = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *DescribeKeywordsOutput) SetOriginationIdentity(v string) *DescribeKeywordsOutput {
- s.OriginationIdentity = &v
+// SetOptedOutNumber sets the OptedOutNumber field's value.
+func (s *OptedOutNumberInformation) SetOptedOutNumber(v string) *OptedOutNumberInformation {
+ s.OptedOutNumber = &v
return s
}
-// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
-func (s *DescribeKeywordsOutput) SetOriginationIdentityArn(v string) *DescribeKeywordsOutput {
- s.OriginationIdentityArn = &v
+// SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
+func (s *OptedOutNumberInformation) SetOptedOutTimestamp(v time.Time) *OptedOutNumberInformation {
+ s.OptedOutTimestamp = &v
return s
}
-type DescribeOptOutListsInput struct {
+// The metadata for an origination identity associated with a pool.
+type OriginationIdentityMetadata struct {
_ struct{} `type:"structure"`
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+ // Describes if the origination identity can be used for text messages, voice
+ // calls or both.
+ //
+ // NumberCapabilities is a required field
+ NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`
- // The OptOutLists to show the details of. This is an array of strings that
- // can be either the OptOutListName or OptOutListArn.
- OptOutListNames []*string `type:"list"`
+ // The unique identifier of the origination identity.
+ //
+ // OriginationIdentity is a required field
+ OriginationIdentity *string `type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) associated with the origination identity.
+ //
+ // OriginationIdentityArn is a required field
+ OriginationIdentityArn *string `type:"string" required:"true"`
+
+ // The phone number in E.164 format.
+ PhoneNumber *string `min:"1" type:"string"`
}
// String returns the string representation.
@@ -8047,7 +15826,7 @@ type DescribeOptOutListsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeOptOutListsInput) String() string {
+func (s OriginationIdentityMetadata) String() string {
return awsutil.Prettify(s)
}
@@ -8056,54 +15835,53 @@ func (s DescribeOptOutListsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeOptOutListsInput) GoString() string {
+func (s OriginationIdentityMetadata) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeOptOutListsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeOptOutListsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *OriginationIdentityMetadata) SetIsoCountryCode(v string) *OriginationIdentityMetadata {
+ s.IsoCountryCode = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetNumberCapabilities sets the NumberCapabilities field's value.
+func (s *OriginationIdentityMetadata) SetNumberCapabilities(v []*string) *OriginationIdentityMetadata {
+ s.NumberCapabilities = v
+ return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeOptOutListsInput) SetMaxResults(v int64) *DescribeOptOutListsInput {
- s.MaxResults = &v
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *OriginationIdentityMetadata) SetOriginationIdentity(v string) *OriginationIdentityMetadata {
+ s.OriginationIdentity = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeOptOutListsInput) SetNextToken(v string) *DescribeOptOutListsInput {
- s.NextToken = &v
+// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
+func (s *OriginationIdentityMetadata) SetOriginationIdentityArn(v string) *OriginationIdentityMetadata {
+ s.OriginationIdentityArn = &v
return s
}
-// SetOptOutListNames sets the OptOutListNames field's value.
-func (s *DescribeOptOutListsInput) SetOptOutListNames(v []*string) *DescribeOptOutListsInput {
- s.OptOutListNames = v
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *OriginationIdentityMetadata) SetPhoneNumber(v string) *OriginationIdentityMetadata {
+ s.PhoneNumber = &v
return s
}
-type DescribeOptOutListsOutput struct {
+// The information for a phone number that meets a specified criteria.
+type PhoneNumberFilter struct {
_ struct{} `type:"structure"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"PhoneNumberFilterName"`
- // An array of OptOutListInformation objects that contain the details for the
- // requested OptOutLists.
- OptOutLists []*OptOutListInformation `type:"list"`
+ // An array values to filter for.
+ //
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -8111,7 +15889,7 @@ type DescribeOptOutListsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeOptOutListsOutput) String() string {
+func (s PhoneNumberFilter) String() string {
return awsutil.Prettify(s)
}
@@ -8120,141 +15898,137 @@ func (s DescribeOptOutListsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeOptOutListsOutput) GoString() string {
+func (s PhoneNumberFilter) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeOptOutListsOutput) SetNextToken(v string) *DescribeOptOutListsOutput {
- s.NextToken = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PhoneNumberFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PhoneNumberFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
+ }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *PhoneNumberFilter) SetName(v string) *PhoneNumberFilter {
+ s.Name = &v
return s
}
-// SetOptOutLists sets the OptOutLists field's value.
-func (s *DescribeOptOutListsOutput) SetOptOutLists(v []*OptOutListInformation) *DescribeOptOutListsOutput {
- s.OptOutLists = v
+// SetValues sets the Values field's value.
+func (s *PhoneNumberFilter) SetValues(v []*string) *PhoneNumberFilter {
+ s.Values = v
return s
}
-type DescribeOptedOutNumbersInput struct {
+// The information for a phone number, in E.164 format, in an Amazon Web Services
+// account.
+type PhoneNumberInformation struct {
_ struct{} `type:"structure"`
- // An array of OptedOutFilter objects to filter the results on.
- Filters []*OptedOutFilter `type:"list"`
-
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
-
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+ // The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
- // The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists
- // to find the values for OptOutListName and OptOutListArn.
+ // When set to true the phone number can't be deleted.
//
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
+ // DeletionProtectionEnabled is a required field
+ DeletionProtectionEnabled *bool `type:"boolean" required:"true"`
- // An array of phone numbers to search for in the OptOutList.
- OptedOutNumbers []*string `type:"list"`
-}
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeOptedOutNumbersInput) String() string {
- return awsutil.Prettify(s)
-}
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ //
+ // MessageType is a required field
+ MessageType *string `type:"string" required:"true" enum:"MessageType"`
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeOptedOutNumbersInput) GoString() string {
- return s.String()
-}
+ // The price, in US dollars, to lease the phone number.
+ //
+ // MonthlyLeasingPrice is a required field
+ MonthlyLeasingPrice *string `type:"string" required:"true"`
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeOptedOutNumbersInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeOptedOutNumbersInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.OptOutListName == nil {
- invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
- }
- if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
+ // Describes if the origination identity can be used for text messages, voice
+ // calls or both.
+ //
+ // NumberCapabilities is a required field
+ NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
+ // The type of phone number.
+ //
+ // NumberType is a required field
+ NumberType *string `type:"string" required:"true" enum:"NumberType"`
-// SetFilters sets the Filters field's value.
-func (s *DescribeOptedOutNumbersInput) SetFilters(v []*OptedOutFilter) *DescribeOptedOutNumbersInput {
- s.Filters = v
- return s
-}
+ // The name of the OptOutList associated with the phone number.
+ //
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeOptedOutNumbersInput) SetMaxResults(v int64) *DescribeOptedOutNumbersInput {
- s.MaxResults = &v
- return s
-}
+ // The phone number in E.164 format.
+ //
+ // PhoneNumber is a required field
+ PhoneNumber *string `min:"1" type:"string" required:"true"`
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeOptedOutNumbersInput) SetNextToken(v string) *DescribeOptedOutNumbersInput {
- s.NextToken = &v
- return s
-}
+ // The Amazon Resource Name (ARN) associated with the phone number.
+ //
+ // PhoneNumberArn is a required field
+ PhoneNumberArn *string `type:"string" required:"true"`
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *DescribeOptedOutNumbersInput) SetOptOutListName(v string) *DescribeOptedOutNumbersInput {
- s.OptOutListName = &v
- return s
-}
+ // The unique identifier for the phone number.
+ PhoneNumberId *string `type:"string"`
-// SetOptedOutNumbers sets the OptedOutNumbers field's value.
-func (s *DescribeOptedOutNumbersInput) SetOptedOutNumbers(v []*string) *DescribeOptedOutNumbersInput {
- s.OptedOutNumbers = v
- return s
-}
+ // The unique identifier of the pool associated with the phone number.
+ PoolId *string `type:"string"`
-type DescribeOptedOutNumbersOutput struct {
- _ struct{} `type:"structure"`
+ // The unique identifier for the registration.
+ RegistrationId *string `type:"string"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // When set to false an end recipient sends a message that begins with HELP
+ // or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
+ // with a customizable message and adds the end recipient to the OptOutList.
+ // When set to true you're responsible for responding to HELP and STOP requests.
+ // You're also responsible for tracking and honoring opt-out request. For more
+ // information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
+ //
+ // SelfManagedOptOutsEnabled is a required field
+ SelfManagedOptOutsEnabled *bool `type:"boolean" required:"true"`
- // The Amazon Resource Name (ARN) of the OptOutList.
- OptOutListArn *string `type:"string"`
+ // The current status of the phone number.
+ //
+ // Status is a required field
+ Status *string `type:"string" required:"true" enum:"NumberStatus"`
- // The name of the OptOutList.
- OptOutListName *string `min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the two way channel.
+ TwoWayChannelArn *string `min:"20" type:"string"`
- // An array of OptedOutNumbersInformation objects that provide information about
- // the requested OptedOutNumbers.
- OptedOutNumbers []*OptedOutNumberInformation `type:"list"`
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
+ // By default this is set to false. When set to true you can receive incoming
+ // text messages from your end recipients using the TwoWayChannelArn.
+ //
+ // TwoWayEnabled is a required field
+ TwoWayEnabled *bool `type:"boolean" required:"true"`
}
// String returns the string representation.
@@ -8262,7 +16036,7 @@ type DescribeOptedOutNumbersOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeOptedOutNumbersOutput) String() string {
+func (s PhoneNumberInformation) String() string {
return awsutil.Prettify(s)
}
@@ -8271,178 +16045,131 @@ func (s DescribeOptedOutNumbersOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeOptedOutNumbersOutput) GoString() string {
+func (s PhoneNumberInformation) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeOptedOutNumbersOutput) SetNextToken(v string) *DescribeOptedOutNumbersOutput {
- s.NextToken = &v
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *PhoneNumberInformation) SetCreatedTimestamp(v time.Time) *PhoneNumberInformation {
+ s.CreatedTimestamp = &v
return s
}
-// SetOptOutListArn sets the OptOutListArn field's value.
-func (s *DescribeOptedOutNumbersOutput) SetOptOutListArn(v string) *DescribeOptedOutNumbersOutput {
- s.OptOutListArn = &v
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *PhoneNumberInformation) SetDeletionProtectionEnabled(v bool) *PhoneNumberInformation {
+ s.DeletionProtectionEnabled = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *DescribeOptedOutNumbersOutput) SetOptOutListName(v string) *DescribeOptedOutNumbersOutput {
- s.OptOutListName = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *PhoneNumberInformation) SetIsoCountryCode(v string) *PhoneNumberInformation {
+ s.IsoCountryCode = &v
return s
}
-// SetOptedOutNumbers sets the OptedOutNumbers field's value.
-func (s *DescribeOptedOutNumbersOutput) SetOptedOutNumbers(v []*OptedOutNumberInformation) *DescribeOptedOutNumbersOutput {
- s.OptedOutNumbers = v
+// SetMessageType sets the MessageType field's value.
+func (s *PhoneNumberInformation) SetMessageType(v string) *PhoneNumberInformation {
+ s.MessageType = &v
return s
}
-type DescribePhoneNumbersInput struct {
- _ struct{} `type:"structure"`
-
- // An array of PhoneNumberFilter objects to filter the results.
- Filters []*PhoneNumberFilter `type:"list"`
-
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
-
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
-
- // The unique identifier of phone numbers to find information about. This is
- // an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
- PhoneNumberIds []*string `type:"list"`
+// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
+func (s *PhoneNumberInformation) SetMonthlyLeasingPrice(v string) *PhoneNumberInformation {
+ s.MonthlyLeasingPrice = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribePhoneNumbersInput) String() string {
- return awsutil.Prettify(s)
+// SetNumberCapabilities sets the NumberCapabilities field's value.
+func (s *PhoneNumberInformation) SetNumberCapabilities(v []*string) *PhoneNumberInformation {
+ s.NumberCapabilities = v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribePhoneNumbersInput) GoString() string {
- return s.String()
+// SetNumberType sets the NumberType field's value.
+func (s *PhoneNumberInformation) SetNumberType(v string) *PhoneNumberInformation {
+ s.NumberType = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribePhoneNumbersInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribePhoneNumbersInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *PhoneNumberInformation) SetOptOutListName(v string) *PhoneNumberInformation {
+ s.OptOutListName = &v
+ return s
}
-// SetFilters sets the Filters field's value.
-func (s *DescribePhoneNumbersInput) SetFilters(v []*PhoneNumberFilter) *DescribePhoneNumbersInput {
- s.Filters = v
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *PhoneNumberInformation) SetPhoneNumber(v string) *PhoneNumberInformation {
+ s.PhoneNumber = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribePhoneNumbersInput) SetMaxResults(v int64) *DescribePhoneNumbersInput {
- s.MaxResults = &v
+// SetPhoneNumberArn sets the PhoneNumberArn field's value.
+func (s *PhoneNumberInformation) SetPhoneNumberArn(v string) *PhoneNumberInformation {
+ s.PhoneNumberArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribePhoneNumbersInput) SetNextToken(v string) *DescribePhoneNumbersInput {
- s.NextToken = &v
+// SetPhoneNumberId sets the PhoneNumberId field's value.
+func (s *PhoneNumberInformation) SetPhoneNumberId(v string) *PhoneNumberInformation {
+ s.PhoneNumberId = &v
return s
}
-// SetPhoneNumberIds sets the PhoneNumberIds field's value.
-func (s *DescribePhoneNumbersInput) SetPhoneNumberIds(v []*string) *DescribePhoneNumbersInput {
- s.PhoneNumberIds = v
+// SetPoolId sets the PoolId field's value.
+func (s *PhoneNumberInformation) SetPoolId(v string) *PhoneNumberInformation {
+ s.PoolId = &v
return s
}
-type DescribePhoneNumbersOutput struct {
- _ struct{} `type:"structure"`
-
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *PhoneNumberInformation) SetRegistrationId(v string) *PhoneNumberInformation {
+ s.RegistrationId = &v
+ return s
+}
- // An array of PhoneNumberInformation objects that contain the details for the
- // requested phone numbers.
- PhoneNumbers []*PhoneNumberInformation `type:"list"`
+// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
+func (s *PhoneNumberInformation) SetSelfManagedOptOutsEnabled(v bool) *PhoneNumberInformation {
+ s.SelfManagedOptOutsEnabled = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribePhoneNumbersOutput) String() string {
- return awsutil.Prettify(s)
+// SetStatus sets the Status field's value.
+func (s *PhoneNumberInformation) SetStatus(v string) *PhoneNumberInformation {
+ s.Status = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribePhoneNumbersOutput) GoString() string {
- return s.String()
+// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
+func (s *PhoneNumberInformation) SetTwoWayChannelArn(v string) *PhoneNumberInformation {
+ s.TwoWayChannelArn = &v
+ return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribePhoneNumbersOutput) SetNextToken(v string) *DescribePhoneNumbersOutput {
- s.NextToken = &v
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *PhoneNumberInformation) SetTwoWayChannelRole(v string) *PhoneNumberInformation {
+ s.TwoWayChannelRole = &v
return s
}
-// SetPhoneNumbers sets the PhoneNumbers field's value.
-func (s *DescribePhoneNumbersOutput) SetPhoneNumbers(v []*PhoneNumberInformation) *DescribePhoneNumbersOutput {
- s.PhoneNumbers = v
+// SetTwoWayEnabled sets the TwoWayEnabled field's value.
+func (s *PhoneNumberInformation) SetTwoWayEnabled(v bool) *PhoneNumberInformation {
+ s.TwoWayEnabled = &v
return s
}
-type DescribePoolsInput struct {
+// The information for a pool that meets a specified criteria.
+type PoolFilter struct {
_ struct{} `type:"structure"`
- // An array of PoolFilter objects to filter the results.
- Filters []*PoolFilter `type:"list"`
-
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
-
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"PoolFilterName"`
- // The unique identifier of pools to find. This is an array of strings that
- // can be either the PoolId or PoolArn.
- PoolIds []*string `type:"list"`
+ // An array values to filter for.
+ //
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -8450,7 +16177,7 @@ type DescribePoolsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePoolsInput) String() string {
+func (s PoolFilter) String() string {
return awsutil.Prettify(s)
}
@@ -8459,28 +16186,21 @@ func (s DescribePoolsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePoolsInput) GoString() string {
+func (s PoolFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribePoolsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribePoolsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+func (s *PoolFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PoolFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
}
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
}
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
}
if invalidParams.Len() > 0 {
@@ -8489,40 +16209,93 @@ func (s *DescribePoolsInput) Validate() error {
return nil
}
-// SetFilters sets the Filters field's value.
-func (s *DescribePoolsInput) SetFilters(v []*PoolFilter) *DescribePoolsInput {
- s.Filters = v
+// SetName sets the Name field's value.
+func (s *PoolFilter) SetName(v string) *PoolFilter {
+ s.Name = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribePoolsInput) SetMaxResults(v int64) *DescribePoolsInput {
- s.MaxResults = &v
+// SetValues sets the Values field's value.
+func (s *PoolFilter) SetValues(v []*string) *PoolFilter {
+ s.Values = v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribePoolsInput) SetNextToken(v string) *DescribePoolsInput {
- s.NextToken = &v
- return s
-}
+// The information for a pool in an Amazon Web Services account.
+type PoolInformation struct {
+ _ struct{} `type:"structure"`
-// SetPoolIds sets the PoolIds field's value.
-func (s *DescribePoolsInput) SetPoolIds(v []*string) *DescribePoolsInput {
- s.PoolIds = v
- return s
-}
+ // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
-type DescribePoolsOutput struct {
- _ struct{} `type:"structure"`
+ // When set to true the pool can't be deleted.
+ //
+ // DeletionProtectionEnabled is a required field
+ DeletionProtectionEnabled *bool `type:"boolean" required:"true"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ //
+ // MessageType is a required field
+ MessageType *string `type:"string" required:"true" enum:"MessageType"`
- // An array of PoolInformation objects that contain the details for the requested
- // pools.
- Pools []*PoolInformation `type:"list"`
+ // The name of the OptOutList associated with the pool.
+ //
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) for the pool.
+ //
+ // PoolArn is a required field
+ PoolArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the pool.
+ //
+ // PoolId is a required field
+ PoolId *string `type:"string" required:"true"`
+
+ // When set to false, an end recipient sends a message that begins with HELP
+ // or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
+ // with a customizable message and adds the end recipient to the OptOutList.
+ // When set to true you're responsible for responding to HELP and STOP requests.
+ // You're also responsible for tracking and honoring opt-out requests. For more
+ // information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
+ //
+ // SelfManagedOptOutsEnabled is a required field
+ SelfManagedOptOutsEnabled *bool `type:"boolean" required:"true"`
+
+ // Allows you to enable shared routes on your pool.
+ //
+ // By default, this is set to False. If you set this value to True, your messages
+ // are sent using phone numbers or sender IDs (depending on the country) that
+ // are shared with other Amazon Pinpoint users. In some countries, such as the
+ // United States, senders aren't allowed to use shared routes and must use a
+ // dedicated phone number or short code.
+ //
+ // SharedRoutesEnabled is a required field
+ SharedRoutesEnabled *bool `type:"boolean" required:"true"`
+
+ // The current status of the pool.
+ //
+ // Status is a required field
+ Status *string `type:"string" required:"true" enum:"PoolStatus"`
+
+ // The Amazon Resource Name (ARN) of the two way channel.
+ TwoWayChannelArn *string `min:"20" type:"string"`
+
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
+ // When set to true you can receive incoming text messages from your end recipients
+ // using the TwoWayChannelArn.
+ //
+ // TwoWayEnabled is a required field
+ TwoWayEnabled *bool `type:"boolean" required:"true"`
}
// String returns the string representation.
@@ -8530,7 +16303,7 @@ type DescribePoolsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePoolsOutput) String() string {
+func (s PoolInformation) String() string {
return awsutil.Prettify(s)
}
@@ -8539,127 +16312,96 @@ func (s DescribePoolsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePoolsOutput) GoString() string {
+func (s PoolInformation) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribePoolsOutput) SetNextToken(v string) *DescribePoolsOutput {
- s.NextToken = &v
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *PoolInformation) SetCreatedTimestamp(v time.Time) *PoolInformation {
+ s.CreatedTimestamp = &v
return s
}
-// SetPools sets the Pools field's value.
-func (s *DescribePoolsOutput) SetPools(v []*PoolInformation) *DescribePoolsOutput {
- s.Pools = v
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *PoolInformation) SetDeletionProtectionEnabled(v bool) *PoolInformation {
+ s.DeletionProtectionEnabled = &v
return s
}
-type DescribeSenderIdsInput struct {
- _ struct{} `type:"structure"`
-
- // An array of SenderIdFilter objects to filter the results.
- Filters []*SenderIdFilter `type:"list"`
-
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
-
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+// SetMessageType sets the MessageType field's value.
+func (s *PoolInformation) SetMessageType(v string) *PoolInformation {
+ s.MessageType = &v
+ return s
+}
- // An array of SenderIdAndCountry objects to search for.
- SenderIds []*SenderIdAndCountry `type:"list"`
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *PoolInformation) SetOptOutListName(v string) *PoolInformation {
+ s.OptOutListName = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeSenderIdsInput) String() string {
- return awsutil.Prettify(s)
+// SetPoolArn sets the PoolArn field's value.
+func (s *PoolInformation) SetPoolArn(v string) *PoolInformation {
+ s.PoolArn = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeSenderIdsInput) GoString() string {
- return s.String()
+// SetPoolId sets the PoolId field's value.
+func (s *PoolInformation) SetPoolId(v string) *PoolInformation {
+ s.PoolId = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeSenderIdsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeSenderIdsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
- if s.SenderIds != nil {
- for i, v := range s.SenderIds {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SenderIds", i), err.(request.ErrInvalidParams))
- }
- }
- }
+// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
+func (s *PoolInformation) SetSelfManagedOptOutsEnabled(v bool) *PoolInformation {
+ s.SelfManagedOptOutsEnabled = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
+func (s *PoolInformation) SetSharedRoutesEnabled(v bool) *PoolInformation {
+ s.SharedRoutesEnabled = &v
+ return s
}
-// SetFilters sets the Filters field's value.
-func (s *DescribeSenderIdsInput) SetFilters(v []*SenderIdFilter) *DescribeSenderIdsInput {
- s.Filters = v
+// SetStatus sets the Status field's value.
+func (s *PoolInformation) SetStatus(v string) *PoolInformation {
+ s.Status = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeSenderIdsInput) SetMaxResults(v int64) *DescribeSenderIdsInput {
- s.MaxResults = &v
+// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
+func (s *PoolInformation) SetTwoWayChannelArn(v string) *PoolInformation {
+ s.TwoWayChannelArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeSenderIdsInput) SetNextToken(v string) *DescribeSenderIdsInput {
- s.NextToken = &v
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *PoolInformation) SetTwoWayChannelRole(v string) *PoolInformation {
+ s.TwoWayChannelRole = &v
return s
}
-// SetSenderIds sets the SenderIds field's value.
-func (s *DescribeSenderIdsInput) SetSenderIds(v []*SenderIdAndCountry) *DescribeSenderIdsInput {
- s.SenderIds = v
+// SetTwoWayEnabled sets the TwoWayEnabled field's value.
+func (s *PoolInformation) SetTwoWayEnabled(v bool) *PoolInformation {
+ s.TwoWayEnabled = &v
return s
}
-type DescribeSenderIdsOutput struct {
+// Information about origination identities associated with a pool that meets
+// a specified criteria.
+type PoolOriginationIdentitiesFilter struct {
_ struct{} `type:"structure"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"PoolOriginationIdentitiesFilterName"`
- // An array of SernderIdInformation objects that contain the details for the
- // requested SenderIds.
- SenderIds []*SenderIdInformation `type:"list"`
+ // An array values to filter for.
+ //
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -8667,7 +16409,7 @@ type DescribeSenderIdsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeSenderIdsOutput) String() string {
+func (s PoolOriginationIdentitiesFilter) String() string {
return awsutil.Prettify(s)
}
@@ -8676,31 +16418,70 @@ func (s DescribeSenderIdsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeSenderIdsOutput) GoString() string {
+func (s PoolOriginationIdentitiesFilter) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeSenderIdsOutput) SetNextToken(v string) *DescribeSenderIdsOutput {
- s.NextToken = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PoolOriginationIdentitiesFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PoolOriginationIdentitiesFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
+ }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *PoolOriginationIdentitiesFilter) SetName(v string) *PoolOriginationIdentitiesFilter {
+ s.Name = &v
return s
}
-// SetSenderIds sets the SenderIds field's value.
-func (s *DescribeSenderIdsOutput) SetSenderIds(v []*SenderIdInformation) *DescribeSenderIdsOutput {
- s.SenderIds = v
+// SetValues sets the Values field's value.
+func (s *PoolOriginationIdentitiesFilter) SetValues(v []*string) *PoolOriginationIdentitiesFilter {
+ s.Values = v
return s
}
-type DescribeSpendLimitsInput struct {
+type PutKeywordInput struct {
_ struct{} `type:"structure"`
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
+ // The new keyword to add.
+ //
+ // Keyword is a required field
+ Keyword *string `min:"1" type:"string" required:"true"`
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+ // The action to perform for the new keyword when it is received.
+ //
+ // * AUTOMATIC_RESPONSE: A message is sent to the recipient.
+ //
+ // * OPT_OUT: Keeps the recipient from receiving future messages.
+ //
+ // * OPT_IN: The recipient wants to receive future messages.
+ KeywordAction *string `type:"string" enum:"KeywordAction"`
+
+ // The message associated with the keyword.
+ //
+ // KeywordMessage is a required field
+ KeywordMessage *string `min:"1" type:"string" required:"true"`
+
+ // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
+ // SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values
+ // for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
+ // to get the values for SenderId and SenderIdArn.
+ //
+ // OriginationIdentity is a required field
+ OriginationIdentity *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -8708,7 +16489,7 @@ type DescribeSpendLimitsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeSpendLimitsInput) String() string {
+func (s PutKeywordInput) String() string {
return awsutil.Prettify(s)
}
@@ -8717,18 +16498,30 @@ func (s DescribeSpendLimitsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeSpendLimitsInput) GoString() string {
+func (s PutKeywordInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeSpendLimitsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeSpendLimitsInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+func (s *PutKeywordInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutKeywordInput"}
+ if s.Keyword == nil {
+ invalidParams.Add(request.NewErrParamRequired("Keyword"))
}
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ if s.Keyword != nil && len(*s.Keyword) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Keyword", 1))
+ }
+ if s.KeywordMessage == nil {
+ invalidParams.Add(request.NewErrParamRequired("KeywordMessage"))
+ }
+ if s.KeywordMessage != nil && len(*s.KeywordMessage) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KeywordMessage", 1))
+ }
+ if s.OriginationIdentity == nil {
+ invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+ }
+ if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
}
if invalidParams.Len() > 0 {
@@ -8737,28 +16530,47 @@ func (s *DescribeSpendLimitsInput) Validate() error {
return nil
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *DescribeSpendLimitsInput) SetMaxResults(v int64) *DescribeSpendLimitsInput {
- s.MaxResults = &v
+// SetKeyword sets the Keyword field's value.
+func (s *PutKeywordInput) SetKeyword(v string) *PutKeywordInput {
+ s.Keyword = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeSpendLimitsInput) SetNextToken(v string) *DescribeSpendLimitsInput {
- s.NextToken = &v
+// SetKeywordAction sets the KeywordAction field's value.
+func (s *PutKeywordInput) SetKeywordAction(v string) *PutKeywordInput {
+ s.KeywordAction = &v
return s
}
-type DescribeSpendLimitsOutput struct {
+// SetKeywordMessage sets the KeywordMessage field's value.
+func (s *PutKeywordInput) SetKeywordMessage(v string) *PutKeywordInput {
+ s.KeywordMessage = &v
+ return s
+}
+
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *PutKeywordInput) SetOriginationIdentity(v string) *PutKeywordInput {
+ s.OriginationIdentity = &v
+ return s
+}
+
+type PutKeywordOutput struct {
_ struct{} `type:"structure"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // The keyword that was added.
+ Keyword *string `min:"1" type:"string"`
- // An array of SpendLimit objects that contain the details for the requested
- // spend limits.
- SpendLimits []*SpendLimit `type:"list"`
+ // The action to perform when the keyword is used.
+ KeywordAction *string `type:"string" enum:"KeywordAction"`
+
+ // The message associated with the keyword.
+ KeywordMessage *string `min:"1" type:"string"`
+
+ // The PhoneNumberId or PoolId that the keyword was associated with.
+ OriginationIdentity *string `type:"string"`
+
+ // The PhoneNumberArn or PoolArn that the keyword was associated with.
+ OriginationIdentityArn *string `type:"string"`
}
// String returns the string representation.
@@ -8766,7 +16578,7 @@ type DescribeSpendLimitsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeSpendLimitsOutput) String() string {
+func (s PutKeywordOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8775,49 +16587,52 @@ func (s DescribeSpendLimitsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeSpendLimitsOutput) GoString() string {
+func (s PutKeywordOutput) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *DescribeSpendLimitsOutput) SetNextToken(v string) *DescribeSpendLimitsOutput {
- s.NextToken = &v
+// SetKeyword sets the Keyword field's value.
+func (s *PutKeywordOutput) SetKeyword(v string) *PutKeywordOutput {
+ s.Keyword = &v
return s
}
-// SetSpendLimits sets the SpendLimits field's value.
-func (s *DescribeSpendLimitsOutput) SetSpendLimits(v []*SpendLimit) *DescribeSpendLimitsOutput {
- s.SpendLimits = v
+// SetKeywordAction sets the KeywordAction field's value.
+func (s *PutKeywordOutput) SetKeywordAction(v string) *PutKeywordOutput {
+ s.KeywordAction = &v
return s
}
-type DisassociateOriginationIdentityInput struct {
- _ struct{} `type:"structure"`
+// SetKeywordMessage sets the KeywordMessage field's value.
+func (s *PutKeywordOutput) SetKeywordMessage(v string) *PutKeywordOutput {
+ s.KeywordMessage = &v
+ return s
+}
- // Unique, case-sensitive identifier you provide to ensure the idempotency of
- // the request. If you don't specify a client token, a randomly generated token
- // is used for the request to ensure idempotency.
- ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *PutKeywordOutput) SetOriginationIdentity(v string) *PutKeywordOutput {
+ s.OriginationIdentity = &v
+ return s
+}
- // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
- // region.
- //
- // IsoCountryCode is a required field
- IsoCountryCode *string `min:"2" type:"string" required:"true"`
+// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
+func (s *PutKeywordOutput) SetOriginationIdentityArn(v string) *PutKeywordOutput {
+ s.OriginationIdentityArn = &v
+ return s
+}
- // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
- // SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values
- // for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the
- // values for SenderId and SenderIdArn.
+type PutOptedOutNumberInput struct {
+ _ struct{} `type:"structure"`
+
+ // The OptOutListName or OptOutListArn to add the phone number to.
//
- // OriginationIdentity is a required field
- OriginationIdentity *string `min:"1" type:"string" required:"true"`
+ // OptOutListName is a required field
+ OptOutListName *string `min:"1" type:"string" required:"true"`
- // The unique identifier for the pool to disassociate with the origination identity.
- // This value can be either the PoolId or PoolArn.
+ // The phone number to add to the OptOutList in E.164 format.
//
- // PoolId is a required field
- PoolId *string `min:"1" type:"string" required:"true"`
+ // OptedOutNumber is a required field
+ OptedOutNumber *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -8825,7 +16640,7 @@ type DisassociateOriginationIdentityInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisassociateOriginationIdentityInput) String() string {
+func (s PutOptedOutNumberInput) String() string {
return awsutil.Prettify(s)
}
@@ -8834,33 +16649,24 @@ func (s DisassociateOriginationIdentityInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisassociateOriginationIdentityInput) GoString() string {
+func (s PutOptedOutNumberInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DisassociateOriginationIdentityInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DisassociateOriginationIdentityInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.IsoCountryCode == nil {
- invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
- }
- if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
- invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
- }
- if s.OriginationIdentity == nil {
- invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
+func (s *PutOptedOutNumberInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutOptedOutNumberInput"}
+ if s.OptOutListName == nil {
+ invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
}
- if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
}
- if s.PoolId == nil {
- invalidParams.Add(request.NewErrParamRequired("PoolId"))
+ if s.OptedOutNumber == nil {
+ invalidParams.Add(request.NewErrParamRequired("OptedOutNumber"))
}
- if s.PoolId != nil && len(*s.PoolId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
+ if s.OptedOutNumber != nil && len(*s.OptedOutNumber) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptedOutNumber", 1))
}
if invalidParams.Len() > 0 {
@@ -8869,48 +16675,36 @@ func (s *DisassociateOriginationIdentityInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *DisassociateOriginationIdentityInput) SetClientToken(v string) *DisassociateOriginationIdentityInput {
- s.ClientToken = &v
- return s
-}
-
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *DisassociateOriginationIdentityInput) SetIsoCountryCode(v string) *DisassociateOriginationIdentityInput {
- s.IsoCountryCode = &v
- return s
-}
-
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *DisassociateOriginationIdentityInput) SetOriginationIdentity(v string) *DisassociateOriginationIdentityInput {
- s.OriginationIdentity = &v
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *PutOptedOutNumberInput) SetOptOutListName(v string) *PutOptedOutNumberInput {
+ s.OptOutListName = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *DisassociateOriginationIdentityInput) SetPoolId(v string) *DisassociateOriginationIdentityInput {
- s.PoolId = &v
+// SetOptedOutNumber sets the OptedOutNumber field's value.
+func (s *PutOptedOutNumberInput) SetOptedOutNumber(v string) *PutOptedOutNumberInput {
+ s.OptedOutNumber = &v
return s
}
-type DisassociateOriginationIdentityOutput struct {
+type PutOptedOutNumberOutput struct {
_ struct{} `type:"structure"`
- // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
- // region.
- IsoCountryCode *string `min:"2" type:"string"`
+ // This is true if it was the end user who requested their phone number be removed.
+ EndUserOptedOut *bool `type:"boolean"`
- // The PhoneNumberId or SenderId of the origination identity.
- OriginationIdentity *string `type:"string"`
+ // The OptOutListArn that the phone number was removed from.
+ OptOutListArn *string `type:"string"`
- // The PhoneNumberArn or SenderIdArn of the origination identity.
- OriginationIdentityArn *string `type:"string"`
+ // The OptOutListName that the phone number was removed from.
+ OptOutListName *string `min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the pool.
- PoolArn *string `type:"string"`
+ // The phone number that was added to the OptOutList.
+ OptedOutNumber *string `min:"1" type:"string"`
- // The PoolId of the pool no longer associated with the origination identity.
- PoolId *string `type:"string"`
+ // The time that the phone number was added to the OptOutList, in UNIX epoch
+ // time (https://www.epochconverter.com/) format.
+ OptedOutTimestamp *time.Time `type:"timestamp"`
}
// String returns the string representation.
@@ -8918,7 +16712,7 @@ type DisassociateOriginationIdentityOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisassociateOriginationIdentityOutput) String() string {
+func (s PutOptedOutNumberOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8927,74 +16721,62 @@ func (s DisassociateOriginationIdentityOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisassociateOriginationIdentityOutput) GoString() string {
+func (s PutOptedOutNumberOutput) GoString() string {
return s.String()
}
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *DisassociateOriginationIdentityOutput) SetIsoCountryCode(v string) *DisassociateOriginationIdentityOutput {
- s.IsoCountryCode = &v
+// SetEndUserOptedOut sets the EndUserOptedOut field's value.
+func (s *PutOptedOutNumberOutput) SetEndUserOptedOut(v bool) *PutOptedOutNumberOutput {
+ s.EndUserOptedOut = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *DisassociateOriginationIdentityOutput) SetOriginationIdentity(v string) *DisassociateOriginationIdentityOutput {
- s.OriginationIdentity = &v
+// SetOptOutListArn sets the OptOutListArn field's value.
+func (s *PutOptedOutNumberOutput) SetOptOutListArn(v string) *PutOptedOutNumberOutput {
+ s.OptOutListArn = &v
return s
}
-// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
-func (s *DisassociateOriginationIdentityOutput) SetOriginationIdentityArn(v string) *DisassociateOriginationIdentityOutput {
- s.OriginationIdentityArn = &v
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *PutOptedOutNumberOutput) SetOptOutListName(v string) *PutOptedOutNumberOutput {
+ s.OptOutListName = &v
return s
}
-// SetPoolArn sets the PoolArn field's value.
-func (s *DisassociateOriginationIdentityOutput) SetPoolArn(v string) *DisassociateOriginationIdentityOutput {
- s.PoolArn = &v
+// SetOptedOutNumber sets the OptedOutNumber field's value.
+func (s *PutOptedOutNumberOutput) SetOptedOutNumber(v string) *PutOptedOutNumberOutput {
+ s.OptedOutNumber = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *DisassociateOriginationIdentityOutput) SetPoolId(v string) *DisassociateOriginationIdentityOutput {
- s.PoolId = &v
+// SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
+func (s *PutOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *PutOptedOutNumberOutput {
+ s.OptedOutTimestamp = &v
return s
}
-// Contains information about an event destination.
-//
-// Event destinations are associated with configuration sets, which enable you
-// to publish message sending events to Amazon CloudWatch, Amazon Kinesis Data
-// Firehose, or Amazon SNS.
-type EventDestination struct {
+type PutRegistrationFieldValueInput struct {
_ struct{} `type:"structure"`
- // An object that contains information about an event destination that sends
- // logging events to Amazon CloudWatch logs.
- CloudWatchLogsDestination *CloudWatchLogsDestination `type:"structure"`
-
- // When set to true events will be logged.
- //
- // Enabled is a required field
- Enabled *bool `type:"boolean" required:"true"`
-
- // The name of the EventDestination.
+ // The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
+ // for a list of FieldPaths.
//
- // EventDestinationName is a required field
- EventDestinationName *string `min:"1" type:"string" required:"true"`
+ // FieldPath is a required field
+ FieldPath *string `min:"1" type:"string" required:"true"`
- // An object that contains information about an event destination for logging
- // to Amazon Kinesis Data Firehose.
- KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`
+ // The unique identifier for the registration attachment.
+ RegistrationAttachmentId *string `min:"1" type:"string"`
- // An array of event types that determine which events to log.
+ // The unique identifier for the registration.
//
- // MatchingEventTypes is a required field
- MatchingEventTypes []*string `min:"1" type:"list" required:"true" enum:"EventType"`
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
- // An object that contains information about an event destination that sends
- // logging events to Amazon SNS.
- SnsDestination *SnsDestination `type:"structure"`
+ // An array of values for the form field.
+ SelectChoices []*string `type:"list"`
+
+ // The text data for a free form field.
+ TextValue *string `min:"1" type:"string"`
}
// String returns the string representation.
@@ -9002,7 +16784,7 @@ type EventDestination struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s EventDestination) String() string {
+func (s PutRegistrationFieldValueInput) String() string {
return awsutil.Prettify(s)
}
@@ -9011,56 +16793,100 @@ func (s EventDestination) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s EventDestination) GoString() string {
+func (s PutRegistrationFieldValueInput) GoString() string {
return s.String()
}
-// SetCloudWatchLogsDestination sets the CloudWatchLogsDestination field's value.
-func (s *EventDestination) SetCloudWatchLogsDestination(v *CloudWatchLogsDestination) *EventDestination {
- s.CloudWatchLogsDestination = v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutRegistrationFieldValueInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutRegistrationFieldValueInput"}
+ if s.FieldPath == nil {
+ invalidParams.Add(request.NewErrParamRequired("FieldPath"))
+ }
+ if s.FieldPath != nil && len(*s.FieldPath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("FieldPath", 1))
+ }
+ if s.RegistrationAttachmentId != nil && len(*s.RegistrationAttachmentId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationAttachmentId", 1))
+ }
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+ if s.TextValue != nil && len(*s.TextValue) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TextValue", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetEnabled sets the Enabled field's value.
-func (s *EventDestination) SetEnabled(v bool) *EventDestination {
- s.Enabled = &v
+// SetFieldPath sets the FieldPath field's value.
+func (s *PutRegistrationFieldValueInput) SetFieldPath(v string) *PutRegistrationFieldValueInput {
+ s.FieldPath = &v
return s
}
-// SetEventDestinationName sets the EventDestinationName field's value.
-func (s *EventDestination) SetEventDestinationName(v string) *EventDestination {
- s.EventDestinationName = &v
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *PutRegistrationFieldValueInput) SetRegistrationAttachmentId(v string) *PutRegistrationFieldValueInput {
+ s.RegistrationAttachmentId = &v
return s
}
-// SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
-func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination {
- s.KinesisFirehoseDestination = v
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *PutRegistrationFieldValueInput) SetRegistrationId(v string) *PutRegistrationFieldValueInput {
+ s.RegistrationId = &v
return s
}
-// SetMatchingEventTypes sets the MatchingEventTypes field's value.
-func (s *EventDestination) SetMatchingEventTypes(v []*string) *EventDestination {
- s.MatchingEventTypes = v
+// SetSelectChoices sets the SelectChoices field's value.
+func (s *PutRegistrationFieldValueInput) SetSelectChoices(v []*string) *PutRegistrationFieldValueInput {
+ s.SelectChoices = v
return s
}
-// SetSnsDestination sets the SnsDestination field's value.
-func (s *EventDestination) SetSnsDestination(v *SnsDestination) *EventDestination {
- s.SnsDestination = v
+// SetTextValue sets the TextValue field's value.
+func (s *PutRegistrationFieldValueInput) SetTextValue(v string) *PutRegistrationFieldValueInput {
+ s.TextValue = &v
return s
}
-// The API encountered an unexpected error and couldn't complete the request.
-// You might be able to successfully issue the request again in the future.
-type InternalServerException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+type PutRegistrationFieldValueOutput struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"Message" type:"string"`
+ // The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
+ // for a list of FieldPaths.
+ //
+ // FieldPath is a required field
+ FieldPath *string `min:"1" type:"string" required:"true"`
- // The unique identifier of the request.
- RequestId *string `type:"string"`
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration attachment.
+ RegistrationAttachmentId *string `type:"string"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // An array of values for the form field.
+ SelectChoices []*string `type:"list"`
+
+ // The text data for a free form field.
+ TextValue *string `min:"1" type:"string"`
+
+ // The version number of the registration.
+ //
+ // VersionNumber is a required field
+ VersionNumber *int64 `min:"1" type:"long" required:"true"`
}
// String returns the string representation.
@@ -9068,7 +16894,7 @@ type InternalServerException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) String() string {
+func (s PutRegistrationFieldValueOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9077,58 +16903,63 @@ func (s InternalServerException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) GoString() string {
+func (s PutRegistrationFieldValueOutput) GoString() string {
return s.String()
}
-func newErrorInternalServerException(v protocol.ResponseMetadata) error {
- return &InternalServerException{
- RespMetadata: v,
- }
+// SetFieldPath sets the FieldPath field's value.
+func (s *PutRegistrationFieldValueOutput) SetFieldPath(v string) *PutRegistrationFieldValueOutput {
+ s.FieldPath = &v
+ return s
}
-// Code returns the exception type name.
-func (s *InternalServerException) Code() string {
- return "InternalServerException"
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *PutRegistrationFieldValueOutput) SetRegistrationArn(v string) *PutRegistrationFieldValueOutput {
+ s.RegistrationArn = &v
+ return s
}
-// Message returns the exception's message.
-func (s *InternalServerException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *PutRegistrationFieldValueOutput) SetRegistrationAttachmentId(v string) *PutRegistrationFieldValueOutput {
+ s.RegistrationAttachmentId = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InternalServerException) OrigErr() error {
- return nil
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *PutRegistrationFieldValueOutput) SetRegistrationId(v string) *PutRegistrationFieldValueOutput {
+ s.RegistrationId = &v
+ return s
}
-func (s *InternalServerException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+// SetSelectChoices sets the SelectChoices field's value.
+func (s *PutRegistrationFieldValueOutput) SetSelectChoices(v []*string) *PutRegistrationFieldValueOutput {
+ s.SelectChoices = v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *InternalServerException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetTextValue sets the TextValue field's value.
+func (s *PutRegistrationFieldValueOutput) SetTextValue(v string) *PutRegistrationFieldValueOutput {
+ s.TextValue = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InternalServerException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *PutRegistrationFieldValueOutput) SetVersionNumber(v int64) *PutRegistrationFieldValueOutput {
+ s.VersionNumber = &v
+ return s
}
-// The information for keywords that meet a specified criteria.
-type KeywordFilter struct {
+// The filter definition for filtering registrations that meets a specified
+// criteria.
+type RegistrationAssociationFilter struct {
_ struct{} `type:"structure"`
// The name of the attribute to filter on.
//
// Name is a required field
- Name *string `type:"string" required:"true" enum:"KeywordFilterName"`
+ Name *string `type:"string" required:"true" enum:"RegistrationAssociationFilterName"`
- // An array values to filter for.
+ // An array of values to filter for.
//
// Values is a required field
Values []*string `min:"1" type:"list" required:"true"`
@@ -9139,7 +16970,7 @@ type KeywordFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s KeywordFilter) String() string {
+func (s RegistrationAssociationFilter) String() string {
return awsutil.Prettify(s)
}
@@ -9148,13 +16979,13 @@ func (s KeywordFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s KeywordFilter) GoString() string {
+func (s RegistrationAssociationFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *KeywordFilter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "KeywordFilter"}
+func (s *RegistrationAssociationFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RegistrationAssociationFilter"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
@@ -9172,35 +17003,44 @@ func (s *KeywordFilter) Validate() error {
}
// SetName sets the Name field's value.
-func (s *KeywordFilter) SetName(v string) *KeywordFilter {
+func (s *RegistrationAssociationFilter) SetName(v string) *RegistrationAssociationFilter {
s.Name = &v
return s
}
// SetValues sets the Values field's value.
-func (s *KeywordFilter) SetValues(v []*string) *KeywordFilter {
+func (s *RegistrationAssociationFilter) SetValues(v []*string) *RegistrationAssociationFilter {
s.Values = v
return s
}
-// The information for all keywords in a pool.
-type KeywordInformation struct {
+// Metadata for the origination identity that is associated with the registration.
+type RegistrationAssociationMetadata struct {
_ struct{} `type:"structure"`
- // The keyword as a string.
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ IsoCountryCode *string `min:"2" type:"string"`
+
+ // The phone number associated with the registration in E.164 format.
+ PhoneNumber *string `min:"1" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the origination identity that is associated
+ // with the registration.
//
- // Keyword is a required field
- Keyword *string `min:"1" type:"string" required:"true"`
+ // ResourceArn is a required field
+ ResourceArn *string `type:"string" required:"true"`
- // The action to perform for the keyword.
+ // The unique identifier for the origination identity. For example this could
+ // be a PhoneNumberId or SenderId.
//
- // KeywordAction is a required field
- KeywordAction *string `type:"string" required:"true" enum:"KeywordAction"`
+ // ResourceId is a required field
+ ResourceId *string `type:"string" required:"true"`
- // A custom message that can be used with the keyword.
+ // The origination identity type.
//
- // KeywordMessage is a required field
- KeywordMessage *string `min:"1" type:"string" required:"true"`
+ // ResourceType is a required field
+ ResourceType *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9208,7 +17048,7 @@ type KeywordInformation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s KeywordInformation) String() string {
+func (s RegistrationAssociationMetadata) String() string {
return awsutil.Prettify(s)
}
@@ -9217,47 +17057,54 @@ func (s KeywordInformation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s KeywordInformation) GoString() string {
+func (s RegistrationAssociationMetadata) GoString() string {
return s.String()
}
-// SetKeyword sets the Keyword field's value.
-func (s *KeywordInformation) SetKeyword(v string) *KeywordInformation {
- s.Keyword = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *RegistrationAssociationMetadata) SetIsoCountryCode(v string) *RegistrationAssociationMetadata {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *RegistrationAssociationMetadata) SetPhoneNumber(v string) *RegistrationAssociationMetadata {
+ s.PhoneNumber = &v
+ return s
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *RegistrationAssociationMetadata) SetResourceArn(v string) *RegistrationAssociationMetadata {
+ s.ResourceArn = &v
return s
}
-// SetKeywordAction sets the KeywordAction field's value.
-func (s *KeywordInformation) SetKeywordAction(v string) *KeywordInformation {
- s.KeywordAction = &v
+// SetResourceId sets the ResourceId field's value.
+func (s *RegistrationAssociationMetadata) SetResourceId(v string) *RegistrationAssociationMetadata {
+ s.ResourceId = &v
return s
}
-// SetKeywordMessage sets the KeywordMessage field's value.
-func (s *KeywordInformation) SetKeywordMessage(v string) *KeywordInformation {
- s.KeywordMessage = &v
+// SetResourceType sets the ResourceType field's value.
+func (s *RegistrationAssociationMetadata) SetResourceType(v string) *RegistrationAssociationMetadata {
+ s.ResourceType = &v
return s
}
-// Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the
-// Identity and Access Management (IAM) role associated with an Kinesis Data
-// Firehose event destination.
-//
-// Event destinations, such as Kinesis Data Firehose, are associated with configuration
-// sets, which enable you to publish message sending events.
-type KinesisFirehoseDestination struct {
+// The filter definition for filtering registration attachments that meets a
+// specified criteria.
+type RegistrationAttachmentFilter struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the delivery stream.
+ // The name of the attribute to filter on.
//
- // DeliveryStreamArn is a required field
- DeliveryStreamArn *string `min:"20" type:"string" required:"true"`
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"RegistrationAttachmentFilterName"`
- // The ARN of an Amazon Identity and Access Management (IAM) role that is able
- // to write event data to an Amazon Firehose destination.
+ // An array of values to filter on.
//
- // IamRoleArn is a required field
- IamRoleArn *string `min:"20" type:"string" required:"true"`
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -9265,7 +17112,7 @@ type KinesisFirehoseDestination struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s KinesisFirehoseDestination) String() string {
+func (s RegistrationAttachmentFilter) String() string {
return awsutil.Prettify(s)
}
@@ -9274,24 +17121,21 @@ func (s KinesisFirehoseDestination) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s KinesisFirehoseDestination) GoString() string {
+func (s RegistrationAttachmentFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *KinesisFirehoseDestination) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "KinesisFirehoseDestination"}
- if s.DeliveryStreamArn == nil {
- invalidParams.Add(request.NewErrParamRequired("DeliveryStreamArn"))
- }
- if s.DeliveryStreamArn != nil && len(*s.DeliveryStreamArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("DeliveryStreamArn", 20))
+func (s *RegistrationAttachmentFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RegistrationAttachmentFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
}
- if s.IamRoleArn == nil {
- invalidParams.Add(request.NewErrParamRequired("IamRoleArn"))
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
}
- if s.IamRoleArn != nil && len(*s.IamRoleArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("IamRoleArn", 20))
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
}
if invalidParams.Len() > 0 {
@@ -9300,36 +17144,53 @@ func (s *KinesisFirehoseDestination) Validate() error {
return nil
}
-// SetDeliveryStreamArn sets the DeliveryStreamArn field's value.
-func (s *KinesisFirehoseDestination) SetDeliveryStreamArn(v string) *KinesisFirehoseDestination {
- s.DeliveryStreamArn = &v
+// SetName sets the Name field's value.
+func (s *RegistrationAttachmentFilter) SetName(v string) *RegistrationAttachmentFilter {
+ s.Name = &v
return s
}
-// SetIamRoleArn sets the IamRoleArn field's value.
-func (s *KinesisFirehoseDestination) SetIamRoleArn(v string) *KinesisFirehoseDestination {
- s.IamRoleArn = &v
+// SetValues sets the Values field's value.
+func (s *RegistrationAttachmentFilter) SetValues(v []*string) *RegistrationAttachmentFilter {
+ s.Values = v
return s
}
-type ListPoolOriginationIdentitiesInput struct {
+// Provides information on the specified registration attachments.
+type RegistrationAttachmentsInformation struct {
_ struct{} `type:"structure"`
- // An array of PoolOriginationIdentitiesFilter objects to filter the results..
- Filters []*PoolOriginationIdentitiesFilter `type:"list"`
+ // The status of the registration attachment.
+ //
+ // * UPLOAD_IN_PROGRESS The attachment is being uploaded.
+ //
+ // * UPLOAD_COMPLETE The attachment has been uploaded.
+ //
+ // * UPLOAD_FAILED The attachment failed to uploaded.
+ //
+ // * DELETED The attachment has been deleted..
+ //
+ // AttachmentStatus is a required field
+ AttachmentStatus *string `type:"string" required:"true" enum:"AttachmentStatus"`
- // The maximum number of results to return per each request.
- MaxResults *int64 `min:"1" type:"integer"`
+ // A description of why the upload didn't successfully complete.
+ AttachmentUploadErrorReason *string `type:"string" enum:"AttachmentUploadErrorReason"`
- // The token to be used for the next set of paginated results. You don't need
- // to supply a value for this field in the initial request.
- NextToken *string `min:"1" type:"string"`
+ // The time when the registration attachment was created, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
- // The unique identifier for the pool. This value can be either the PoolId or
- // PoolArn.
+ // The Amazon Resource Name (ARN) for the registration attachment.
//
- // PoolId is a required field
- PoolId *string `min:"1" type:"string" required:"true"`
+ // RegistrationAttachmentArn is a required field
+ RegistrationAttachmentArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration attachment.
+ //
+ // RegistrationAttachmentId is a required field
+ RegistrationAttachmentId *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9337,7 +17198,7 @@ type ListPoolOriginationIdentitiesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPoolOriginationIdentitiesInput) String() string {
+func (s RegistrationAttachmentsInformation) String() string {
return awsutil.Prettify(s)
}
@@ -9346,81 +17207,62 @@ func (s ListPoolOriginationIdentitiesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPoolOriginationIdentitiesInput) GoString() string {
+func (s RegistrationAttachmentsInformation) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListPoolOriginationIdentitiesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListPoolOriginationIdentitiesInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.NextToken != nil && len(*s.NextToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
- }
- if s.PoolId == nil {
- invalidParams.Add(request.NewErrParamRequired("PoolId"))
- }
- if s.PoolId != nil && len(*s.PoolId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
- }
- if s.Filters != nil {
- for i, v := range s.Filters {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
- }
- }
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetAttachmentStatus sets the AttachmentStatus field's value.
+func (s *RegistrationAttachmentsInformation) SetAttachmentStatus(v string) *RegistrationAttachmentsInformation {
+ s.AttachmentStatus = &v
+ return s
}
-// SetFilters sets the Filters field's value.
-func (s *ListPoolOriginationIdentitiesInput) SetFilters(v []*PoolOriginationIdentitiesFilter) *ListPoolOriginationIdentitiesInput {
- s.Filters = v
+// SetAttachmentUploadErrorReason sets the AttachmentUploadErrorReason field's value.
+func (s *RegistrationAttachmentsInformation) SetAttachmentUploadErrorReason(v string) *RegistrationAttachmentsInformation {
+ s.AttachmentUploadErrorReason = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListPoolOriginationIdentitiesInput) SetMaxResults(v int64) *ListPoolOriginationIdentitiesInput {
- s.MaxResults = &v
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *RegistrationAttachmentsInformation) SetCreatedTimestamp(v time.Time) *RegistrationAttachmentsInformation {
+ s.CreatedTimestamp = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPoolOriginationIdentitiesInput) SetNextToken(v string) *ListPoolOriginationIdentitiesInput {
- s.NextToken = &v
+// SetRegistrationAttachmentArn sets the RegistrationAttachmentArn field's value.
+func (s *RegistrationAttachmentsInformation) SetRegistrationAttachmentArn(v string) *RegistrationAttachmentsInformation {
+ s.RegistrationAttachmentArn = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *ListPoolOriginationIdentitiesInput) SetPoolId(v string) *ListPoolOriginationIdentitiesInput {
- s.PoolId = &v
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *RegistrationAttachmentsInformation) SetRegistrationAttachmentId(v string) *RegistrationAttachmentsInformation {
+ s.RegistrationAttachmentId = &v
return s
}
-type ListPoolOriginationIdentitiesOutput struct {
+// Provides the reason a registration was rejected.
+type RegistrationDeniedReasonInformation struct {
_ struct{} `type:"structure"`
- // The token to be used for the next set of paginated results. If this field
- // is empty then there are no more results.
- NextToken *string `min:"1" type:"string"`
+ // The link to the document.
+ DocumentationLink *string `type:"string"`
- // An array of any OriginationIdentityMetadata objects.
- OriginationIdentities []*OriginationIdentityMetadata `type:"list"`
+ // The title of the document.
+ DocumentationTitle *string `type:"string"`
- // The Amazon Resource Name (ARN) for the pool.
- PoolArn *string `type:"string"`
+ // A long description of the rejection reason.
+ LongDescription *string `type:"string"`
- // The unique PoolId of the pool.
- PoolId *string `type:"string"`
+ // The reason a registration was rejected.
+ //
+ // Reason is a required field
+ Reason *string `type:"string" required:"true"`
+
+ // A short description of the rejection reason.
+ //
+ // ShortDescription is a required field
+ ShortDescription *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9428,7 +17270,7 @@ type ListPoolOriginationIdentitiesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPoolOriginationIdentitiesOutput) String() string {
+func (s RegistrationDeniedReasonInformation) String() string {
return awsutil.Prettify(s)
}
@@ -9437,41 +17279,76 @@ func (s ListPoolOriginationIdentitiesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPoolOriginationIdentitiesOutput) GoString() string {
+func (s RegistrationDeniedReasonInformation) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPoolOriginationIdentitiesOutput) SetNextToken(v string) *ListPoolOriginationIdentitiesOutput {
- s.NextToken = &v
+// SetDocumentationLink sets the DocumentationLink field's value.
+func (s *RegistrationDeniedReasonInformation) SetDocumentationLink(v string) *RegistrationDeniedReasonInformation {
+ s.DocumentationLink = &v
return s
}
-// SetOriginationIdentities sets the OriginationIdentities field's value.
-func (s *ListPoolOriginationIdentitiesOutput) SetOriginationIdentities(v []*OriginationIdentityMetadata) *ListPoolOriginationIdentitiesOutput {
- s.OriginationIdentities = v
+// SetDocumentationTitle sets the DocumentationTitle field's value.
+func (s *RegistrationDeniedReasonInformation) SetDocumentationTitle(v string) *RegistrationDeniedReasonInformation {
+ s.DocumentationTitle = &v
return s
}
-// SetPoolArn sets the PoolArn field's value.
-func (s *ListPoolOriginationIdentitiesOutput) SetPoolArn(v string) *ListPoolOriginationIdentitiesOutput {
- s.PoolArn = &v
+// SetLongDescription sets the LongDescription field's value.
+func (s *RegistrationDeniedReasonInformation) SetLongDescription(v string) *RegistrationDeniedReasonInformation {
+ s.LongDescription = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *ListPoolOriginationIdentitiesOutput) SetPoolId(v string) *ListPoolOriginationIdentitiesOutput {
- s.PoolId = &v
+// SetReason sets the Reason field's value.
+func (s *RegistrationDeniedReasonInformation) SetReason(v string) *RegistrationDeniedReasonInformation {
+ s.Reason = &v
return s
}
-type ListTagsForResourceInput struct {
+// SetShortDescription sets the ShortDescription field's value.
+func (s *RegistrationDeniedReasonInformation) SetShortDescription(v string) *RegistrationDeniedReasonInformation {
+ s.ShortDescription = &v
+ return s
+}
+
+// Provides a description of the specified field.
+type RegistrationFieldDefinition struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the resource to query for.
+ // An array of RegistrationFieldDisplayHints objects for the field.
//
- // ResourceArn is a required field
- ResourceArn *string `min:"20" type:"string" required:"true"`
+ // DisplayHints is a required field
+ DisplayHints *RegistrationFieldDisplayHints `type:"structure" required:"true"`
+
+ // The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
+ // for a list of FieldPaths.
+ //
+ // FieldPath is a required field
+ FieldPath *string `min:"1" type:"string" required:"true"`
+
+ // Specifies if the field for the registration form is required, conditional
+ // or optional.
+ //
+ // FieldRequirement is a required field
+ FieldRequirement *string `type:"string" required:"true" enum:"FieldRequirement"`
+
+ // The type of field.
+ //
+ // FieldType is a required field
+ FieldType *string `type:"string" required:"true" enum:"FieldType"`
+
+ // The section path of the field.
+ //
+ // SectionPath is a required field
+ SectionPath *string `min:"1" type:"string" required:"true"`
+
+ // The validation rules for a select field.
+ SelectValidation *SelectValidation `type:"structure"`
+
+ // The validation rules for a text field.
+ TextValidation *TextValidation `type:"structure"`
}
// String returns the string representation.
@@ -9479,7 +17356,7 @@ type ListTagsForResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) String() string {
+func (s RegistrationFieldDefinition) String() string {
return awsutil.Prettify(s)
}
@@ -9488,40 +17365,83 @@ func (s ListTagsForResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) GoString() string {
+func (s RegistrationFieldDefinition) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListTagsForResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
- if s.ResourceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
- }
- if s.ResourceArn != nil && len(*s.ResourceArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 20))
- }
+// SetDisplayHints sets the DisplayHints field's value.
+func (s *RegistrationFieldDefinition) SetDisplayHints(v *RegistrationFieldDisplayHints) *RegistrationFieldDefinition {
+ s.DisplayHints = v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetFieldPath sets the FieldPath field's value.
+func (s *RegistrationFieldDefinition) SetFieldPath(v string) *RegistrationFieldDefinition {
+ s.FieldPath = &v
+ return s
}
-// SetResourceArn sets the ResourceArn field's value.
-func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
- s.ResourceArn = &v
+// SetFieldRequirement sets the FieldRequirement field's value.
+func (s *RegistrationFieldDefinition) SetFieldRequirement(v string) *RegistrationFieldDefinition {
+ s.FieldRequirement = &v
return s
}
-type ListTagsForResourceOutput struct {
+// SetFieldType sets the FieldType field's value.
+func (s *RegistrationFieldDefinition) SetFieldType(v string) *RegistrationFieldDefinition {
+ s.FieldType = &v
+ return s
+}
+
+// SetSectionPath sets the SectionPath field's value.
+func (s *RegistrationFieldDefinition) SetSectionPath(v string) *RegistrationFieldDefinition {
+ s.SectionPath = &v
+ return s
+}
+
+// SetSelectValidation sets the SelectValidation field's value.
+func (s *RegistrationFieldDefinition) SetSelectValidation(v *SelectValidation) *RegistrationFieldDefinition {
+ s.SelectValidation = v
+ return s
+}
+
+// SetTextValidation sets the TextValidation field's value.
+func (s *RegistrationFieldDefinition) SetTextValidation(v *TextValidation) *RegistrationFieldDefinition {
+ s.TextValidation = v
+ return s
+}
+
+// Provides help information on the registration field.
+type RegistrationFieldDisplayHints struct {
_ struct{} `type:"structure"`
- // The ARN of the resource.
- ResourceArn *string `min:"20" type:"string"`
+ // The link to the document the display hint is associated with.
+ DocumentationLink *string `type:"string"`
- // An array of key and value pair tags that are associated with the resource.
- Tags []*Tag `type:"list"`
+ // The title of the document the display hint is associated with.
+ DocumentationTitle *string `type:"string"`
+
+ // Example text of what the value of a field should contain.
+ ExampleTextValue *string `type:"string"`
+
+ // A full description of the display hint.
+ LongDescription *string `type:"string"`
+
+ // An array of SelectOptionDescription objects.
+ SelectOptionDescriptions []*SelectOptionDescription `type:"list"`
+
+ // A short description of the display hint.
+ //
+ // ShortDescription is a required field
+ ShortDescription *string `type:"string" required:"true"`
+
+ // The validation rules for the text field.
+ TextValidationDescription *string `type:"string"`
+
+ // The title of the display hint.
+ //
+ // Title is a required field
+ Title *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9529,7 +17449,7 @@ type ListTagsForResourceOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) String() string {
+func (s RegistrationFieldDisplayHints) String() string {
return awsutil.Prettify(s)
}
@@ -9538,41 +17458,79 @@ func (s ListTagsForResourceOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) GoString() string {
+func (s RegistrationFieldDisplayHints) GoString() string {
return s.String()
}
-// SetResourceArn sets the ResourceArn field's value.
-func (s *ListTagsForResourceOutput) SetResourceArn(v string) *ListTagsForResourceOutput {
- s.ResourceArn = &v
+// SetDocumentationLink sets the DocumentationLink field's value.
+func (s *RegistrationFieldDisplayHints) SetDocumentationLink(v string) *RegistrationFieldDisplayHints {
+ s.DocumentationLink = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
- s.Tags = v
+// SetDocumentationTitle sets the DocumentationTitle field's value.
+func (s *RegistrationFieldDisplayHints) SetDocumentationTitle(v string) *RegistrationFieldDisplayHints {
+ s.DocumentationTitle = &v
return s
}
-// The information for all OptOutList in an Amazon Web Services account.
-type OptOutListInformation struct {
+// SetExampleTextValue sets the ExampleTextValue field's value.
+func (s *RegistrationFieldDisplayHints) SetExampleTextValue(v string) *RegistrationFieldDisplayHints {
+ s.ExampleTextValue = &v
+ return s
+}
+
+// SetLongDescription sets the LongDescription field's value.
+func (s *RegistrationFieldDisplayHints) SetLongDescription(v string) *RegistrationFieldDisplayHints {
+ s.LongDescription = &v
+ return s
+}
+
+// SetSelectOptionDescriptions sets the SelectOptionDescriptions field's value.
+func (s *RegistrationFieldDisplayHints) SetSelectOptionDescriptions(v []*SelectOptionDescription) *RegistrationFieldDisplayHints {
+ s.SelectOptionDescriptions = v
+ return s
+}
+
+// SetShortDescription sets the ShortDescription field's value.
+func (s *RegistrationFieldDisplayHints) SetShortDescription(v string) *RegistrationFieldDisplayHints {
+ s.ShortDescription = &v
+ return s
+}
+
+// SetTextValidationDescription sets the TextValidationDescription field's value.
+func (s *RegistrationFieldDisplayHints) SetTextValidationDescription(v string) *RegistrationFieldDisplayHints {
+ s.TextValidationDescription = &v
+ return s
+}
+
+// SetTitle sets the Title field's value.
+func (s *RegistrationFieldDisplayHints) SetTitle(v string) *RegistrationFieldDisplayHints {
+ s.Title = &v
+ return s
+}
+
+// Provides the values of the specified field.
+type RegistrationFieldValueInformation struct {
_ struct{} `type:"structure"`
- // The time when the OutOutList was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- //
- // CreatedTimestamp is a required field
- CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+ // A description of why the registration was denied.
+ DeniedReason *string `type:"string"`
- // The Amazon Resource Name (ARN) of the OptOutList.
+ // The path to the registration form field. You can use DescribeRegistrationFieldDefinitions
+ // for a list of FieldPaths.
//
- // OptOutListArn is a required field
- OptOutListArn *string `type:"string" required:"true"`
+ // FieldPath is a required field
+ FieldPath *string `min:"1" type:"string" required:"true"`
- // The name of the OptOutList.
- //
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
+ // The unique identifier for the registration attachment.
+ RegistrationAttachmentId *string `min:"1" type:"string"`
+
+ // An array of values for the form field.
+ SelectChoices []*string `type:"list"`
+
+ // The text data for a free form field.
+ TextValue *string `min:"1" type:"string"`
}
// String returns the string representation.
@@ -9580,7 +17538,7 @@ type OptOutListInformation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OptOutListInformation) String() string {
+func (s RegistrationFieldValueInformation) String() string {
return awsutil.Prettify(s)
}
@@ -9589,38 +17547,51 @@ func (s OptOutListInformation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OptOutListInformation) GoString() string {
+func (s RegistrationFieldValueInformation) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *OptOutListInformation) SetCreatedTimestamp(v time.Time) *OptOutListInformation {
- s.CreatedTimestamp = &v
+// SetDeniedReason sets the DeniedReason field's value.
+func (s *RegistrationFieldValueInformation) SetDeniedReason(v string) *RegistrationFieldValueInformation {
+ s.DeniedReason = &v
return s
}
-// SetOptOutListArn sets the OptOutListArn field's value.
-func (s *OptOutListInformation) SetOptOutListArn(v string) *OptOutListInformation {
- s.OptOutListArn = &v
+// SetFieldPath sets the FieldPath field's value.
+func (s *RegistrationFieldValueInformation) SetFieldPath(v string) *RegistrationFieldValueInformation {
+ s.FieldPath = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *OptOutListInformation) SetOptOutListName(v string) *OptOutListInformation {
- s.OptOutListName = &v
+// SetRegistrationAttachmentId sets the RegistrationAttachmentId field's value.
+func (s *RegistrationFieldValueInformation) SetRegistrationAttachmentId(v string) *RegistrationFieldValueInformation {
+ s.RegistrationAttachmentId = &v
return s
}
-// The information for opted out numbers that meet a specified criteria.
-type OptedOutFilter struct {
+// SetSelectChoices sets the SelectChoices field's value.
+func (s *RegistrationFieldValueInformation) SetSelectChoices(v []*string) *RegistrationFieldValueInformation {
+ s.SelectChoices = v
+ return s
+}
+
+// SetTextValue sets the TextValue field's value.
+func (s *RegistrationFieldValueInformation) SetTextValue(v string) *RegistrationFieldValueInformation {
+ s.TextValue = &v
+ return s
+}
+
+// The filter definition for filtering registrations that meets a specified
+// criteria.
+type RegistrationFilter struct {
_ struct{} `type:"structure"`
// The name of the attribute to filter on.
//
// Name is a required field
- Name *string `type:"string" required:"true" enum:"OptedOutFilterName"`
+ Name *string `type:"string" required:"true" enum:"RegistrationFilterName"`
- // An array of values to filter for.
+ // An array of values to filter on.
//
// Values is a required field
Values []*string `min:"1" type:"list" required:"true"`
@@ -9631,7 +17602,7 @@ type OptedOutFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OptedOutFilter) String() string {
+func (s RegistrationFilter) String() string {
return awsutil.Prettify(s)
}
@@ -9640,13 +17611,13 @@ func (s OptedOutFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OptedOutFilter) GoString() string {
+func (s RegistrationFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *OptedOutFilter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "OptedOutFilter"}
+func (s *RegistrationFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RegistrationFilter"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
@@ -9664,36 +17635,81 @@ func (s *OptedOutFilter) Validate() error {
}
// SetName sets the Name field's value.
-func (s *OptedOutFilter) SetName(v string) *OptedOutFilter {
+func (s *RegistrationFilter) SetName(v string) *RegistrationFilter {
s.Name = &v
return s
}
// SetValues sets the Values field's value.
-func (s *OptedOutFilter) SetValues(v []*string) *OptedOutFilter {
+func (s *RegistrationFilter) SetValues(v []*string) *RegistrationFilter {
s.Values = v
return s
}
-// The information for an opted out number in an Amazon Web Services account.
-type OptedOutNumberInformation struct {
+// Provides information about the requested registration.
+type RegistrationInformation struct {
_ struct{} `type:"structure"`
- // This is set to true if it was the end recipient that opted out.
+ // Metadata about a given registration which is specific to that registration
+ // type.
+ AdditionalAttributes map[string]*string `type:"map"`
+
+ // The version number of the registration that was approved.
+ ApprovedVersionNumber *int64 `min:"1" type:"long"`
+
+ // The time when the registration was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
//
- // EndUserOptedOut is a required field
- EndUserOptedOut *bool `type:"boolean" required:"true"`
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
- // The phone number that is opted out.
+ // The current version number of the registration.
//
- // OptedOutNumber is a required field
- OptedOutNumber *string `min:"1" type:"string" required:"true"`
+ // CurrentVersionNumber is a required field
+ CurrentVersionNumber *int64 `min:"1" type:"long" required:"true"`
- // The time that the op tout occurred, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
+ // The latest version number of the registration that was denied.
+ LatestDeniedVersionNumber *int64 `min:"1" type:"long"`
+
+ // The Amazon Resource Name (ARN) for the registration.
//
- // OptedOutTimestamp is a required field
- OptedOutTimestamp *time.Time `type:"timestamp" required:"true"`
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The status of the registration.
+ //
+ // * CREATED: Your registration is created but not submitted.
+ //
+ // * SUBMITTED: Your registration has been submitted and is awaiting review.
+ //
+ // * REVIEWING: Your registration has been accepted and is being reviewed.
+ //
+ // * PROVISIONING: Your registration has been approved and your origination
+ // identity is being created.
+ //
+ // * COMPLETE: Your registration has been approved and and your origination
+ // identity has been created.
+ //
+ // * REQUIRES_UPDATES: You must fix your registration and resubmit it.
+ //
+ // * CLOSED: The phone number or sender ID has been deleted and you must
+ // also delete the registration for the number.
+ //
+ // * DELETED: The registration has been deleted.
+ //
+ // RegistrationStatus is a required field
+ RegistrationStatus *string `type:"string" required:"true" enum:"RegistrationStatus"`
+
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
+ //
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -9701,7 +17717,7 @@ type OptedOutNumberInformation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OptedOutNumberInformation) String() string {
+func (s RegistrationInformation) String() string {
return awsutil.Prettify(s)
}
@@ -9710,53 +17726,77 @@ func (s OptedOutNumberInformation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OptedOutNumberInformation) GoString() string {
+func (s RegistrationInformation) GoString() string {
return s.String()
}
-// SetEndUserOptedOut sets the EndUserOptedOut field's value.
-func (s *OptedOutNumberInformation) SetEndUserOptedOut(v bool) *OptedOutNumberInformation {
- s.EndUserOptedOut = &v
+// SetAdditionalAttributes sets the AdditionalAttributes field's value.
+func (s *RegistrationInformation) SetAdditionalAttributes(v map[string]*string) *RegistrationInformation {
+ s.AdditionalAttributes = v
return s
}
-// SetOptedOutNumber sets the OptedOutNumber field's value.
-func (s *OptedOutNumberInformation) SetOptedOutNumber(v string) *OptedOutNumberInformation {
- s.OptedOutNumber = &v
+// SetApprovedVersionNumber sets the ApprovedVersionNumber field's value.
+func (s *RegistrationInformation) SetApprovedVersionNumber(v int64) *RegistrationInformation {
+ s.ApprovedVersionNumber = &v
return s
}
-// SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
-func (s *OptedOutNumberInformation) SetOptedOutTimestamp(v time.Time) *OptedOutNumberInformation {
- s.OptedOutTimestamp = &v
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *RegistrationInformation) SetCreatedTimestamp(v time.Time) *RegistrationInformation {
+ s.CreatedTimestamp = &v
return s
}
-// The metadata for an origination identity associated with a pool.
-type OriginationIdentityMetadata struct {
- _ struct{} `type:"structure"`
+// SetCurrentVersionNumber sets the CurrentVersionNumber field's value.
+func (s *RegistrationInformation) SetCurrentVersionNumber(v int64) *RegistrationInformation {
+ s.CurrentVersionNumber = &v
+ return s
+}
- // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
- // region.
- //
- // IsoCountryCode is a required field
- IsoCountryCode *string `min:"2" type:"string" required:"true"`
+// SetLatestDeniedVersionNumber sets the LatestDeniedVersionNumber field's value.
+func (s *RegistrationInformation) SetLatestDeniedVersionNumber(v int64) *RegistrationInformation {
+ s.LatestDeniedVersionNumber = &v
+ return s
+}
- // Describes if the origination identity can be used for text messages, voice
- // calls or both.
- //
- // NumberCapabilities is a required field
- NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *RegistrationInformation) SetRegistrationArn(v string) *RegistrationInformation {
+ s.RegistrationArn = &v
+ return s
+}
- // The unique identifier of the origination identity.
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *RegistrationInformation) SetRegistrationId(v string) *RegistrationInformation {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationStatus sets the RegistrationStatus field's value.
+func (s *RegistrationInformation) SetRegistrationStatus(v string) *RegistrationInformation {
+ s.RegistrationStatus = &v
+ return s
+}
+
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *RegistrationInformation) SetRegistrationType(v string) *RegistrationInformation {
+ s.RegistrationType = &v
+ return s
+}
+
+// Provides information on the specified section definition.
+type RegistrationSectionDefinition struct {
+ _ struct{} `type:"structure"`
+
+ // The path to the section of the registration.
//
- // OriginationIdentity is a required field
- OriginationIdentity *string `type:"string" required:"true"`
+ // DisplayHints is a required field
+ DisplayHints *RegistrationSectionDisplayHints `type:"structure" required:"true"`
- // The Amazon Resource Name (ARN) associated with the origination identity.
+ // The path to the section of the registration.
//
- // OriginationIdentityArn is a required field
- OriginationIdentityArn *string `type:"string" required:"true"`
+ // SectionPath is a required field
+ SectionPath *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -9764,7 +17804,7 @@ type OriginationIdentityMetadata struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OriginationIdentityMetadata) String() string {
+func (s RegistrationSectionDefinition) String() string {
return awsutil.Prettify(s)
}
@@ -9773,47 +17813,44 @@ func (s OriginationIdentityMetadata) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OriginationIdentityMetadata) GoString() string {
+func (s RegistrationSectionDefinition) GoString() string {
return s.String()
}
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *OriginationIdentityMetadata) SetIsoCountryCode(v string) *OriginationIdentityMetadata {
- s.IsoCountryCode = &v
+// SetDisplayHints sets the DisplayHints field's value.
+func (s *RegistrationSectionDefinition) SetDisplayHints(v *RegistrationSectionDisplayHints) *RegistrationSectionDefinition {
+ s.DisplayHints = v
return s
}
-// SetNumberCapabilities sets the NumberCapabilities field's value.
-func (s *OriginationIdentityMetadata) SetNumberCapabilities(v []*string) *OriginationIdentityMetadata {
- s.NumberCapabilities = v
+// SetSectionPath sets the SectionPath field's value.
+func (s *RegistrationSectionDefinition) SetSectionPath(v string) *RegistrationSectionDefinition {
+ s.SectionPath = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *OriginationIdentityMetadata) SetOriginationIdentity(v string) *OriginationIdentityMetadata {
- s.OriginationIdentity = &v
- return s
-}
+// Provides help information on the registration section.
+type RegistrationSectionDisplayHints struct {
+ _ struct{} `type:"structure"`
-// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
-func (s *OriginationIdentityMetadata) SetOriginationIdentityArn(v string) *OriginationIdentityMetadata {
- s.OriginationIdentityArn = &v
- return s
-}
+ // The link to the document the display hint is associated with.
+ DocumentationLink *string `type:"string"`
-// The information for a phone number that meets a specified criteria.
-type PhoneNumberFilter struct {
- _ struct{} `type:"structure"`
+ // The title of the document the display hint is associated with.
+ DocumentationTitle *string `type:"string"`
- // The name of the attribute to filter on.
+ // A full description of the display hint.
+ LongDescription *string `type:"string"`
+
+ // A short description of the display hint.
//
- // Name is a required field
- Name *string `type:"string" required:"true" enum:"PhoneNumberFilterName"`
+ // ShortDescription is a required field
+ ShortDescription *string `type:"string" required:"true"`
- // An array values to filter for.
+ // The title of the display hint.
//
- // Values is a required field
- Values []*string `min:"1" type:"list" required:"true"`
+ // Title is a required field
+ Title *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9821,7 +17858,7 @@ type PhoneNumberFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PhoneNumberFilter) String() string {
+func (s RegistrationSectionDisplayHints) String() string {
return awsutil.Prettify(s)
}
@@ -9830,129 +17867,115 @@ func (s PhoneNumberFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PhoneNumberFilter) GoString() string {
+func (s RegistrationSectionDisplayHints) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *PhoneNumberFilter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PhoneNumberFilter"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Values == nil {
- invalidParams.Add(request.NewErrParamRequired("Values"))
- }
- if s.Values != nil && len(s.Values) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Values", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetDocumentationLink sets the DocumentationLink field's value.
+func (s *RegistrationSectionDisplayHints) SetDocumentationLink(v string) *RegistrationSectionDisplayHints {
+ s.DocumentationLink = &v
+ return s
}
-// SetName sets the Name field's value.
-func (s *PhoneNumberFilter) SetName(v string) *PhoneNumberFilter {
- s.Name = &v
+// SetDocumentationTitle sets the DocumentationTitle field's value.
+func (s *RegistrationSectionDisplayHints) SetDocumentationTitle(v string) *RegistrationSectionDisplayHints {
+ s.DocumentationTitle = &v
return s
}
-// SetValues sets the Values field's value.
-func (s *PhoneNumberFilter) SetValues(v []*string) *PhoneNumberFilter {
- s.Values = v
+// SetLongDescription sets the LongDescription field's value.
+func (s *RegistrationSectionDisplayHints) SetLongDescription(v string) *RegistrationSectionDisplayHints {
+ s.LongDescription = &v
return s
}
-// The information for a phone number in an Amazon Web Services account.
-type PhoneNumberInformation struct {
- _ struct{} `type:"structure"`
-
- // The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- //
- // CreatedTimestamp is a required field
- CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+// SetShortDescription sets the ShortDescription field's value.
+func (s *RegistrationSectionDisplayHints) SetShortDescription(v string) *RegistrationSectionDisplayHints {
+ s.ShortDescription = &v
+ return s
+}
- // When set to true the phone number can't be deleted.
- //
- // DeletionProtectionEnabled is a required field
- DeletionProtectionEnabled *bool `type:"boolean" required:"true"`
+// SetTitle sets the Title field's value.
+func (s *RegistrationSectionDisplayHints) SetTitle(v string) *RegistrationSectionDisplayHints {
+ s.Title = &v
+ return s
+}
- // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
- // region.
- //
- // IsoCountryCode is a required field
- IsoCountryCode *string `min:"2" type:"string" required:"true"`
+// Provides information on the supported registration type.
+type RegistrationTypeDefinition struct {
+ _ struct{} `type:"structure"`
- // The type of message. Valid values are TRANSACTIONAL for messages that are
- // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
- // or time-sensitive.
+ // Provides help information on the registration.
//
- // MessageType is a required field
- MessageType *string `type:"string" required:"true" enum:"MessageType"`
+ // DisplayHints is a required field
+ DisplayHints *RegistrationTypeDisplayHints `type:"structure" required:"true"`
- // The price, in US dollars, to lease the phone number.
+ // The type of registration form. The list of RegistrationTypes can be found
+ // using the DescribeRegistrationTypeDefinitions action.
//
- // MonthlyLeasingPrice is a required field
- MonthlyLeasingPrice *string `type:"string" required:"true"`
+ // RegistrationType is a required field
+ RegistrationType *string `min:"1" type:"string" required:"true"`
- // Describes if the origination identity can be used for text messages, voice
- // calls or both.
- //
- // NumberCapabilities is a required field
- NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`
+ // The supported association behavior for the registration type.
+ SupportedAssociations []*SupportedAssociation `type:"list"`
+}
- // The type of phone number.
- //
- // NumberType is a required field
- NumberType *string `type:"string" required:"true" enum:"NumberType"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RegistrationTypeDefinition) String() string {
+ return awsutil.Prettify(s)
+}
- // The name of the OptOutList associated with the phone number.
- //
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RegistrationTypeDefinition) GoString() string {
+ return s.String()
+}
- // The phone number in E.164 format.
- //
- // PhoneNumber is a required field
- PhoneNumber *string `min:"1" type:"string" required:"true"`
+// SetDisplayHints sets the DisplayHints field's value.
+func (s *RegistrationTypeDefinition) SetDisplayHints(v *RegistrationTypeDisplayHints) *RegistrationTypeDefinition {
+ s.DisplayHints = v
+ return s
+}
- // The Amazon Resource Name (ARN) associated with the phone number.
- //
- // PhoneNumberArn is a required field
- PhoneNumberArn *string `type:"string" required:"true"`
+// SetRegistrationType sets the RegistrationType field's value.
+func (s *RegistrationTypeDefinition) SetRegistrationType(v string) *RegistrationTypeDefinition {
+ s.RegistrationType = &v
+ return s
+}
- // The unique identifier for the phone number.
- PhoneNumberId *string `type:"string"`
+// SetSupportedAssociations sets the SupportedAssociations field's value.
+func (s *RegistrationTypeDefinition) SetSupportedAssociations(v []*SupportedAssociation) *RegistrationTypeDefinition {
+ s.SupportedAssociations = v
+ return s
+}
- // The unique identifier of the pool associated with the phone number.
- PoolId *string `type:"string"`
+// Provides help information on the registration type.
+type RegistrationTypeDisplayHints struct {
+ _ struct{} `type:"structure"`
- // When set to false an end recipient sends a message that begins with HELP
- // or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
- // with a customizable message and adds the end recipient to the OptOutList.
- // When set to true you're responsible for responding to HELP and STOP requests.
- // You're also responsible for tracking and honoring opt-out request. For more
- // information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
- //
- // SelfManagedOptOutsEnabled is a required field
- SelfManagedOptOutsEnabled *bool `type:"boolean" required:"true"`
+ // The link to the document the display hint is associated with.
+ DocumentationLink *string `type:"string"`
- // The current status of the phone number.
- //
- // Status is a required field
- Status *string `type:"string" required:"true" enum:"NumberStatus"`
+ // The title of the document the display hint is associated with.
+ DocumentationTitle *string `type:"string"`
- // The Amazon Resource Name (ARN) of the two way channel.
- TwoWayChannelArn *string `min:"20" type:"string"`
+ // A full description of the display hint.
+ LongDescription *string `type:"string"`
- // By default this is set to false. When set to true you can receive incoming
- // text messages from your end recipients using the TwoWayChannelArn.
+ // A short description of the display hint.
+ ShortDescription *string `type:"string"`
+
+ // The title of the display hint.
//
- // TwoWayEnabled is a required field
- TwoWayEnabled *bool `type:"boolean" required:"true"`
+ // Title is a required field
+ Title *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9960,7 +17983,7 @@ type PhoneNumberInformation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PhoneNumberInformation) String() string {
+func (s RegistrationTypeDisplayHints) String() string {
return awsutil.Prettify(s)
}
@@ -9969,116 +17992,116 @@ func (s PhoneNumberInformation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PhoneNumberInformation) GoString() string {
+func (s RegistrationTypeDisplayHints) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *PhoneNumberInformation) SetCreatedTimestamp(v time.Time) *PhoneNumberInformation {
- s.CreatedTimestamp = &v
- return s
-}
-
-// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
-func (s *PhoneNumberInformation) SetDeletionProtectionEnabled(v bool) *PhoneNumberInformation {
- s.DeletionProtectionEnabled = &v
- return s
-}
-
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *PhoneNumberInformation) SetIsoCountryCode(v string) *PhoneNumberInformation {
- s.IsoCountryCode = &v
+// SetDocumentationLink sets the DocumentationLink field's value.
+func (s *RegistrationTypeDisplayHints) SetDocumentationLink(v string) *RegistrationTypeDisplayHints {
+ s.DocumentationLink = &v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *PhoneNumberInformation) SetMessageType(v string) *PhoneNumberInformation {
- s.MessageType = &v
+// SetDocumentationTitle sets the DocumentationTitle field's value.
+func (s *RegistrationTypeDisplayHints) SetDocumentationTitle(v string) *RegistrationTypeDisplayHints {
+ s.DocumentationTitle = &v
return s
}
-// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
-func (s *PhoneNumberInformation) SetMonthlyLeasingPrice(v string) *PhoneNumberInformation {
- s.MonthlyLeasingPrice = &v
+// SetLongDescription sets the LongDescription field's value.
+func (s *RegistrationTypeDisplayHints) SetLongDescription(v string) *RegistrationTypeDisplayHints {
+ s.LongDescription = &v
return s
}
-// SetNumberCapabilities sets the NumberCapabilities field's value.
-func (s *PhoneNumberInformation) SetNumberCapabilities(v []*string) *PhoneNumberInformation {
- s.NumberCapabilities = v
+// SetShortDescription sets the ShortDescription field's value.
+func (s *RegistrationTypeDisplayHints) SetShortDescription(v string) *RegistrationTypeDisplayHints {
+ s.ShortDescription = &v
return s
}
-// SetNumberType sets the NumberType field's value.
-func (s *PhoneNumberInformation) SetNumberType(v string) *PhoneNumberInformation {
- s.NumberType = &v
+// SetTitle sets the Title field's value.
+func (s *RegistrationTypeDisplayHints) SetTitle(v string) *RegistrationTypeDisplayHints {
+ s.Title = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *PhoneNumberInformation) SetOptOutListName(v string) *PhoneNumberInformation {
- s.OptOutListName = &v
- return s
-}
+// The filter definition for filtering registration types that meets a specified
+// criteria.
+type RegistrationTypeFilter struct {
+ _ struct{} `type:"structure"`
-// SetPhoneNumber sets the PhoneNumber field's value.
-func (s *PhoneNumberInformation) SetPhoneNumber(v string) *PhoneNumberInformation {
- s.PhoneNumber = &v
- return s
-}
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"RegistrationTypeFilterName"`
-// SetPhoneNumberArn sets the PhoneNumberArn field's value.
-func (s *PhoneNumberInformation) SetPhoneNumberArn(v string) *PhoneNumberInformation {
- s.PhoneNumberArn = &v
- return s
+ // An array of values to filter on.
+ //
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
}
-// SetPhoneNumberId sets the PhoneNumberId field's value.
-func (s *PhoneNumberInformation) SetPhoneNumberId(v string) *PhoneNumberInformation {
- s.PhoneNumberId = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RegistrationTypeFilter) String() string {
+ return awsutil.Prettify(s)
}
-// SetPoolId sets the PoolId field's value.
-func (s *PhoneNumberInformation) SetPoolId(v string) *PhoneNumberInformation {
- s.PoolId = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RegistrationTypeFilter) GoString() string {
+ return s.String()
}
-// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
-func (s *PhoneNumberInformation) SetSelfManagedOptOutsEnabled(v bool) *PhoneNumberInformation {
- s.SelfManagedOptOutsEnabled = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *RegistrationTypeFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RegistrationTypeFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
+ }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
-// SetStatus sets the Status field's value.
-func (s *PhoneNumberInformation) SetStatus(v string) *PhoneNumberInformation {
- s.Status = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
-func (s *PhoneNumberInformation) SetTwoWayChannelArn(v string) *PhoneNumberInformation {
- s.TwoWayChannelArn = &v
+// SetName sets the Name field's value.
+func (s *RegistrationTypeFilter) SetName(v string) *RegistrationTypeFilter {
+ s.Name = &v
return s
}
-// SetTwoWayEnabled sets the TwoWayEnabled field's value.
-func (s *PhoneNumberInformation) SetTwoWayEnabled(v bool) *PhoneNumberInformation {
- s.TwoWayEnabled = &v
+// SetValues sets the Values field's value.
+func (s *RegistrationTypeFilter) SetValues(v []*string) *RegistrationTypeFilter {
+ s.Values = v
return s
}
-// The information for a pool that meets a specified criteria.
-type PoolFilter struct {
+// The filter definition for filtering registration versions that meets a specified
+// criteria.
+type RegistrationVersionFilter struct {
_ struct{} `type:"structure"`
// The name of the attribute to filter on.
//
// Name is a required field
- Name *string `type:"string" required:"true" enum:"PoolFilterName"`
+ Name *string `type:"string" required:"true" enum:"RegistrationVersionFilterName"`
- // An array values to filter for.
+ // An array of values to filter on.
//
// Values is a required field
Values []*string `min:"1" type:"list" required:"true"`
@@ -10089,7 +18112,7 @@ type PoolFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PoolFilter) String() string {
+func (s RegistrationVersionFilter) String() string {
return awsutil.Prettify(s)
}
@@ -10098,13 +18121,13 @@ func (s PoolFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PoolFilter) GoString() string {
+func (s RegistrationVersionFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *PoolFilter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PoolFilter"}
+func (s *RegistrationVersionFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RegistrationVersionFilter"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
@@ -10122,88 +18145,57 @@ func (s *PoolFilter) Validate() error {
}
// SetName sets the Name field's value.
-func (s *PoolFilter) SetName(v string) *PoolFilter {
+func (s *RegistrationVersionFilter) SetName(v string) *RegistrationVersionFilter {
s.Name = &v
return s
}
// SetValues sets the Values field's value.
-func (s *PoolFilter) SetValues(v []*string) *PoolFilter {
+func (s *RegistrationVersionFilter) SetValues(v []*string) *RegistrationVersionFilter {
s.Values = v
return s
}
-// The information for a pool in an Amazon Web Services account.
-type PoolInformation struct {
+// Provides information about the specified version of the registration.
+type RegistrationVersionInformation struct {
_ struct{} `type:"structure"`
- // The time when the pool was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- //
- // CreatedTimestamp is a required field
- CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+ // An array of RegistrationDeniedReasonInformation objects.
+ DeniedReasons []*RegistrationDeniedReasonInformation `type:"list"`
- // When set to true the pool can't be deleted.
+ // The status of the registration.
//
- // DeletionProtectionEnabled is a required field
- DeletionProtectionEnabled *bool `type:"boolean" required:"true"`
-
- // The type of message. Valid values are TRANSACTIONAL for messages that are
- // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
- // or time-sensitive.
+ // * DRAFT: The initial status of a registration version after it’s created.
//
- // MessageType is a required field
- MessageType *string `type:"string" required:"true" enum:"MessageType"`
-
- // The name of the OptOutList associated with the pool.
+ // * SUBMITTED: Your registration has been submitted.
//
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
-
- // The Amazon Resource Name (ARN) for the pool.
+ // * REVIEWING: Your registration has been accepted and is being reviewed.
//
- // PoolArn is a required field
- PoolArn *string `type:"string" required:"true"`
-
- // The unique identifier for the pool.
+ // * APPROVED: Your registration has been approved.
//
- // PoolId is a required field
- PoolId *string `type:"string" required:"true"`
-
- // When set to false, an end recipient sends a message that begins with HELP
- // or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies
- // with a customizable message and adds the end recipient to the OptOutList.
- // When set to true you're responsible for responding to HELP and STOP requests.
- // You're also responsible for tracking and honoring opt-out requests. For more
- // information see Self-managed opt-outs (https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out)
+ // * DISCARDED: You've abandon this version of their registration to start
+ // over with a new version.
//
- // SelfManagedOptOutsEnabled is a required field
- SelfManagedOptOutsEnabled *bool `type:"boolean" required:"true"`
-
- // Allows you to enable shared routes on your pool.
+ // * DENIED: You must fix your registration and resubmit it.
//
- // By default, this is set to False. If you set this value to True, your messages
- // are sent using phone numbers or sender IDs (depending on the country) that
- // are shared with other Amazon Pinpoint users. In some countries, such as the
- // United States, senders aren't allowed to use shared routes and must use a
- // dedicated phone number or short code.
+ // * REVOKED: Your previously approved registration has been revoked.
//
- // SharedRoutesEnabled is a required field
- SharedRoutesEnabled *bool `type:"boolean" required:"true"`
-
- // The current status of the pool.
+ // * ARCHIVED: Your previously approved registration version moves into this
+ // status when a more recently submitted version is approved.
//
- // Status is a required field
- Status *string `type:"string" required:"true" enum:"PoolStatus"`
+ // RegistrationVersionStatus is a required field
+ RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`
- // The Amazon Resource Name (ARN) of the two way channel.
- TwoWayChannelArn *string `min:"20" type:"string"`
+ // The RegistrationVersionStatusHistory object contains the time stamps for
+ // when the reservations status changes.
+ //
+ // RegistrationVersionStatusHistory is a required field
+ RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`
- // When set to true you can receive incoming text messages from your end recipients
- // using the TwoWayChannelArn.
+ // The version number of the registration.
//
- // TwoWayEnabled is a required field
- TwoWayEnabled *bool `type:"boolean" required:"true"`
+ // VersionNumber is a required field
+ VersionNumber *int64 `min:"1" type:"long" required:"true"`
}
// String returns the string representation.
@@ -10211,7 +18203,7 @@ type PoolInformation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PoolInformation) String() string {
+func (s RegistrationVersionInformation) String() string {
return awsutil.Prettify(s)
}
@@ -10220,90 +18212,148 @@ func (s PoolInformation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PoolInformation) GoString() string {
+func (s RegistrationVersionInformation) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *PoolInformation) SetCreatedTimestamp(v time.Time) *PoolInformation {
- s.CreatedTimestamp = &v
+// SetDeniedReasons sets the DeniedReasons field's value.
+func (s *RegistrationVersionInformation) SetDeniedReasons(v []*RegistrationDeniedReasonInformation) *RegistrationVersionInformation {
+ s.DeniedReasons = v
return s
}
-// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
-func (s *PoolInformation) SetDeletionProtectionEnabled(v bool) *PoolInformation {
- s.DeletionProtectionEnabled = &v
+// SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
+func (s *RegistrationVersionInformation) SetRegistrationVersionStatus(v string) *RegistrationVersionInformation {
+ s.RegistrationVersionStatus = &v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *PoolInformation) SetMessageType(v string) *PoolInformation {
- s.MessageType = &v
+// SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
+func (s *RegistrationVersionInformation) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *RegistrationVersionInformation {
+ s.RegistrationVersionStatusHistory = v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *PoolInformation) SetOptOutListName(v string) *PoolInformation {
- s.OptOutListName = &v
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *RegistrationVersionInformation) SetVersionNumber(v int64) *RegistrationVersionInformation {
+ s.VersionNumber = &v
return s
}
-// SetPoolArn sets the PoolArn field's value.
-func (s *PoolInformation) SetPoolArn(v string) *PoolInformation {
- s.PoolArn = &v
+// The RegistrationVersionStatusHistory object contains the time stamps for
+// when the reservations status changes.
+type RegistrationVersionStatusHistory struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the registration was in the approved state, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ ApprovedTimestamp *time.Time `type:"timestamp"`
+
+ // The time when the registration was in the archived state, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ ArchivedTimestamp *time.Time `type:"timestamp"`
+
+ // The time when the registration was in the denied state, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ DeniedTimestamp *time.Time `type:"timestamp"`
+
+ // The time when the registration was in the discarded state, in UNIX epoch
+ // time (https://www.epochconverter.com/) format.
+ DiscardedTimestamp *time.Time `type:"timestamp"`
+
+ // The time when the registration was in the draft state, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ //
+ // DraftTimestamp is a required field
+ DraftTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The time when the registration was in the reviewing state, in UNIX epoch
+ // time (https://www.epochconverter.com/) format.
+ ReviewingTimestamp *time.Time `type:"timestamp"`
+
+ // The time when the registration was in the revoked state, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ RevokedTimestamp *time.Time `type:"timestamp"`
+
+ // The time when the registration was in the submitted state, in UNIX epoch
+ // time (https://www.epochconverter.com/) format.
+ SubmittedTimestamp *time.Time `type:"timestamp"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RegistrationVersionStatusHistory) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RegistrationVersionStatusHistory) GoString() string {
+ return s.String()
+}
+
+// SetApprovedTimestamp sets the ApprovedTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetApprovedTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.ApprovedTimestamp = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *PoolInformation) SetPoolId(v string) *PoolInformation {
- s.PoolId = &v
+// SetArchivedTimestamp sets the ArchivedTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetArchivedTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.ArchivedTimestamp = &v
return s
}
-// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
-func (s *PoolInformation) SetSelfManagedOptOutsEnabled(v bool) *PoolInformation {
- s.SelfManagedOptOutsEnabled = &v
+// SetDeniedTimestamp sets the DeniedTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetDeniedTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.DeniedTimestamp = &v
return s
}
-// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
-func (s *PoolInformation) SetSharedRoutesEnabled(v bool) *PoolInformation {
- s.SharedRoutesEnabled = &v
+// SetDiscardedTimestamp sets the DiscardedTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetDiscardedTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.DiscardedTimestamp = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *PoolInformation) SetStatus(v string) *PoolInformation {
- s.Status = &v
+// SetDraftTimestamp sets the DraftTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetDraftTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.DraftTimestamp = &v
return s
}
-// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
-func (s *PoolInformation) SetTwoWayChannelArn(v string) *PoolInformation {
- s.TwoWayChannelArn = &v
+// SetReviewingTimestamp sets the ReviewingTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetReviewingTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.ReviewingTimestamp = &v
return s
}
-// SetTwoWayEnabled sets the TwoWayEnabled field's value.
-func (s *PoolInformation) SetTwoWayEnabled(v bool) *PoolInformation {
- s.TwoWayEnabled = &v
+// SetRevokedTimestamp sets the RevokedTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetRevokedTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.RevokedTimestamp = &v
return s
}
-// Information about origination identities associated with a pool that meets
-// a specified criteria.
-type PoolOriginationIdentitiesFilter struct {
- _ struct{} `type:"structure"`
+// SetSubmittedTimestamp sets the SubmittedTimestamp field's value.
+func (s *RegistrationVersionStatusHistory) SetSubmittedTimestamp(v time.Time) *RegistrationVersionStatusHistory {
+ s.SubmittedTimestamp = &v
+ return s
+}
- // The name of the attribute to filter on.
- //
- // Name is a required field
- Name *string `type:"string" required:"true" enum:"PoolOriginationIdentitiesFilterName"`
+type ReleasePhoneNumberInput struct {
+ _ struct{} `type:"structure"`
- // An array values to filter for.
+ // The PhoneNumberId or PhoneNumberArn of the phone number to release. You can
+ // use DescribePhoneNumbers to get the values for PhoneNumberId and PhoneNumberArn.
//
- // Values is a required field
- Values []*string `min:"1" type:"list" required:"true"`
+ // PhoneNumberId is a required field
+ PhoneNumberId *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10311,7 +18361,7 @@ type PoolOriginationIdentitiesFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PoolOriginationIdentitiesFilter) String() string {
+func (s ReleasePhoneNumberInput) String() string {
return awsutil.Prettify(s)
}
@@ -10320,21 +18370,18 @@ func (s PoolOriginationIdentitiesFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PoolOriginationIdentitiesFilter) GoString() string {
+func (s ReleasePhoneNumberInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *PoolOriginationIdentitiesFilter) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PoolOriginationIdentitiesFilter"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Values == nil {
- invalidParams.Add(request.NewErrParamRequired("Values"))
+func (s *ReleasePhoneNumberInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ReleasePhoneNumberInput"}
+ if s.PhoneNumberId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
}
- if s.Values != nil && len(s.Values) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
}
if invalidParams.Len() > 0 {
@@ -10343,47 +18390,71 @@ func (s *PoolOriginationIdentitiesFilter) Validate() error {
return nil
}
-// SetName sets the Name field's value.
-func (s *PoolOriginationIdentitiesFilter) SetName(v string) *PoolOriginationIdentitiesFilter {
- s.Name = &v
- return s
-}
-
-// SetValues sets the Values field's value.
-func (s *PoolOriginationIdentitiesFilter) SetValues(v []*string) *PoolOriginationIdentitiesFilter {
- s.Values = v
+// SetPhoneNumberId sets the PhoneNumberId field's value.
+func (s *ReleasePhoneNumberInput) SetPhoneNumberId(v string) *ReleasePhoneNumberInput {
+ s.PhoneNumberId = &v
return s
}
-type PutKeywordInput struct {
+type ReleasePhoneNumberOutput struct {
_ struct{} `type:"structure"`
- // The new keyword to add.
- //
- // Keyword is a required field
- Keyword *string `min:"1" type:"string" required:"true"`
+ // The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
+ // format.
+ CreatedTimestamp *time.Time `type:"timestamp"`
- // The action to perform for the new keyword when it is received.
- KeywordAction *string `type:"string" enum:"KeywordAction"`
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ IsoCountryCode *string `min:"2" type:"string"`
- // The message associated with the keyword.
- //
- // * AUTOMATIC_RESPONSE: A message is sent to the recipient.
- //
- // * OPT_OUT: Keeps the recipient from receiving future messages.
- //
- // * OPT_IN: The recipient wants to receive future messages.
- //
- // KeywordMessage is a required field
- KeywordMessage *string `min:"1" type:"string" required:"true"`
+ // The message type that was associated with the phone number.
+ MessageType *string `type:"string" enum:"MessageType"`
- // The origination identity to use such as a PhoneNumberId, PhoneNumberArn,
- // SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values
- // for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used
- // to get the values for SenderId and SenderIdArn.
- //
- // OriginationIdentity is a required field
- OriginationIdentity *string `min:"1" type:"string" required:"true"`
+ // The monthly price of the phone number, in US dollars.
+ MonthlyLeasingPrice *string `type:"string"`
+
+ // Specifies if the number could be used for text messages, voice, or both.
+ NumberCapabilities []*string `min:"1" type:"list" enum:"NumberCapability"`
+
+ // The type of number that was released.
+ NumberType *string `type:"string" enum:"NumberType"`
+
+ // The name of the OptOutList that was associated with the phone number.
+ OptOutListName *string `min:"1" type:"string"`
+
+ // The phone number that was released.
+ PhoneNumber *string `min:"1" type:"string"`
+
+ // The PhoneNumberArn of the phone number that was released.
+ PhoneNumberArn *string `type:"string"`
+
+ // The PhoneNumberId of the phone number that was released.
+ PhoneNumberId *string `type:"string"`
+
+ // The unique identifier for the registration.
+ RegistrationId *string `type:"string"`
+
+ // By default this is set to false. When an end recipient sends a message that
+ // begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
+ // automatically replies with a customizable message and adds the end recipient
+ // to the OptOutList. When set to true you're responsible for responding to
+ // HELP and STOP requests. You're also responsible for tracking and honoring
+ // opt-out requests.
+ SelfManagedOptOutsEnabled *bool `type:"boolean"`
+
+ // The current status of the request.
+ Status *string `type:"string" enum:"NumberStatus"`
+
+ // The Amazon Resource Name (ARN) of the TwoWayChannel.
+ TwoWayChannelArn *string `min:"20" type:"string"`
+
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
+ // By default this is set to false. When set to true you can receive incoming
+ // text messages from your end recipients.
+ TwoWayEnabled *bool `type:"boolean"`
}
// String returns the string representation.
@@ -10391,7 +18462,7 @@ type PutKeywordInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutKeywordInput) String() string {
+func (s ReleasePhoneNumberOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10400,141 +18471,119 @@ func (s PutKeywordInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutKeywordInput) GoString() string {
+func (s ReleasePhoneNumberOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *PutKeywordInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PutKeywordInput"}
- if s.Keyword == nil {
- invalidParams.Add(request.NewErrParamRequired("Keyword"))
- }
- if s.Keyword != nil && len(*s.Keyword) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Keyword", 1))
- }
- if s.KeywordMessage == nil {
- invalidParams.Add(request.NewErrParamRequired("KeywordMessage"))
- }
- if s.KeywordMessage != nil && len(*s.KeywordMessage) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("KeywordMessage", 1))
- }
- if s.OriginationIdentity == nil {
- invalidParams.Add(request.NewErrParamRequired("OriginationIdentity"))
- }
- if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *ReleasePhoneNumberOutput) SetCreatedTimestamp(v time.Time) *ReleasePhoneNumberOutput {
+ s.CreatedTimestamp = &v
+ return s
}
-// SetKeyword sets the Keyword field's value.
-func (s *PutKeywordInput) SetKeyword(v string) *PutKeywordInput {
- s.Keyword = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *ReleasePhoneNumberOutput) SetIsoCountryCode(v string) *ReleasePhoneNumberOutput {
+ s.IsoCountryCode = &v
return s
}
-// SetKeywordAction sets the KeywordAction field's value.
-func (s *PutKeywordInput) SetKeywordAction(v string) *PutKeywordInput {
- s.KeywordAction = &v
+// SetMessageType sets the MessageType field's value.
+func (s *ReleasePhoneNumberOutput) SetMessageType(v string) *ReleasePhoneNumberOutput {
+ s.MessageType = &v
return s
}
-// SetKeywordMessage sets the KeywordMessage field's value.
-func (s *PutKeywordInput) SetKeywordMessage(v string) *PutKeywordInput {
- s.KeywordMessage = &v
+// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
+func (s *ReleasePhoneNumberOutput) SetMonthlyLeasingPrice(v string) *ReleasePhoneNumberOutput {
+ s.MonthlyLeasingPrice = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *PutKeywordInput) SetOriginationIdentity(v string) *PutKeywordInput {
- s.OriginationIdentity = &v
+// SetNumberCapabilities sets the NumberCapabilities field's value.
+func (s *ReleasePhoneNumberOutput) SetNumberCapabilities(v []*string) *ReleasePhoneNumberOutput {
+ s.NumberCapabilities = v
return s
}
-type PutKeywordOutput struct {
- _ struct{} `type:"structure"`
-
- // The keyword that was added.
- Keyword *string `min:"1" type:"string"`
-
- // The action to perform when the keyword is used.
- KeywordAction *string `type:"string" enum:"KeywordAction"`
+// SetNumberType sets the NumberType field's value.
+func (s *ReleasePhoneNumberOutput) SetNumberType(v string) *ReleasePhoneNumberOutput {
+ s.NumberType = &v
+ return s
+}
- // The message associated with the keyword.
- KeywordMessage *string `min:"1" type:"string"`
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *ReleasePhoneNumberOutput) SetOptOutListName(v string) *ReleasePhoneNumberOutput {
+ s.OptOutListName = &v
+ return s
+}
- // The PhoneNumberId or PoolId that the keyword was associated with.
- OriginationIdentity *string `type:"string"`
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *ReleasePhoneNumberOutput) SetPhoneNumber(v string) *ReleasePhoneNumberOutput {
+ s.PhoneNumber = &v
+ return s
+}
- // The PhoneNumberArn or PoolArn that the keyword was associated with.
- OriginationIdentityArn *string `type:"string"`
+// SetPhoneNumberArn sets the PhoneNumberArn field's value.
+func (s *ReleasePhoneNumberOutput) SetPhoneNumberArn(v string) *ReleasePhoneNumberOutput {
+ s.PhoneNumberArn = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s PutKeywordOutput) String() string {
- return awsutil.Prettify(s)
+// SetPhoneNumberId sets the PhoneNumberId field's value.
+func (s *ReleasePhoneNumberOutput) SetPhoneNumberId(v string) *ReleasePhoneNumberOutput {
+ s.PhoneNumberId = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s PutKeywordOutput) GoString() string {
- return s.String()
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *ReleasePhoneNumberOutput) SetRegistrationId(v string) *ReleasePhoneNumberOutput {
+ s.RegistrationId = &v
+ return s
}
-// SetKeyword sets the Keyword field's value.
-func (s *PutKeywordOutput) SetKeyword(v string) *PutKeywordOutput {
- s.Keyword = &v
+// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
+func (s *ReleasePhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *ReleasePhoneNumberOutput {
+ s.SelfManagedOptOutsEnabled = &v
return s
}
-// SetKeywordAction sets the KeywordAction field's value.
-func (s *PutKeywordOutput) SetKeywordAction(v string) *PutKeywordOutput {
- s.KeywordAction = &v
+// SetStatus sets the Status field's value.
+func (s *ReleasePhoneNumberOutput) SetStatus(v string) *ReleasePhoneNumberOutput {
+ s.Status = &v
return s
}
-// SetKeywordMessage sets the KeywordMessage field's value.
-func (s *PutKeywordOutput) SetKeywordMessage(v string) *PutKeywordOutput {
- s.KeywordMessage = &v
+// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
+func (s *ReleasePhoneNumberOutput) SetTwoWayChannelArn(v string) *ReleasePhoneNumberOutput {
+ s.TwoWayChannelArn = &v
return s
}
-// SetOriginationIdentity sets the OriginationIdentity field's value.
-func (s *PutKeywordOutput) SetOriginationIdentity(v string) *PutKeywordOutput {
- s.OriginationIdentity = &v
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *ReleasePhoneNumberOutput) SetTwoWayChannelRole(v string) *ReleasePhoneNumberOutput {
+ s.TwoWayChannelRole = &v
return s
}
-// SetOriginationIdentityArn sets the OriginationIdentityArn field's value.
-func (s *PutKeywordOutput) SetOriginationIdentityArn(v string) *PutKeywordOutput {
- s.OriginationIdentityArn = &v
+// SetTwoWayEnabled sets the TwoWayEnabled field's value.
+func (s *ReleasePhoneNumberOutput) SetTwoWayEnabled(v bool) *ReleasePhoneNumberOutput {
+ s.TwoWayEnabled = &v
return s
}
-type PutOptedOutNumberInput struct {
+type ReleaseSenderIdInput struct {
_ struct{} `type:"structure"`
- // The OptOutListName or OptOutListArn to add the phone number to.
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
//
- // OptOutListName is a required field
- OptOutListName *string `min:"1" type:"string" required:"true"`
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
- // The phone number to add to the OptOutList in E.164 format.
+ // The sender ID to release.
//
- // OptedOutNumber is a required field
- OptedOutNumber *string `min:"1" type:"string" required:"true"`
+ // SenderId is a required field
+ SenderId *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10542,7 +18591,7 @@ type PutOptedOutNumberInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutOptedOutNumberInput) String() string {
+func (s ReleaseSenderIdInput) String() string {
return awsutil.Prettify(s)
}
@@ -10551,24 +18600,24 @@ func (s PutOptedOutNumberInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutOptedOutNumberInput) GoString() string {
+func (s ReleaseSenderIdInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *PutOptedOutNumberInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PutOptedOutNumberInput"}
- if s.OptOutListName == nil {
- invalidParams.Add(request.NewErrParamRequired("OptOutListName"))
+func (s *ReleaseSenderIdInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ReleaseSenderIdInput"}
+ if s.IsoCountryCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
}
- if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
+ invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
}
- if s.OptedOutNumber == nil {
- invalidParams.Add(request.NewErrParamRequired("OptedOutNumber"))
+ if s.SenderId == nil {
+ invalidParams.Add(request.NewErrParamRequired("SenderId"))
}
- if s.OptedOutNumber != nil && len(*s.OptedOutNumber) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptedOutNumber", 1))
+ if s.SenderId != nil && len(*s.SenderId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SenderId", 1))
}
if invalidParams.Len() > 0 {
@@ -10577,36 +18626,56 @@ func (s *PutOptedOutNumberInput) Validate() error {
return nil
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *PutOptedOutNumberInput) SetOptOutListName(v string) *PutOptedOutNumberInput {
- s.OptOutListName = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *ReleaseSenderIdInput) SetIsoCountryCode(v string) *ReleaseSenderIdInput {
+ s.IsoCountryCode = &v
return s
}
-// SetOptedOutNumber sets the OptedOutNumber field's value.
-func (s *PutOptedOutNumberInput) SetOptedOutNumber(v string) *PutOptedOutNumberInput {
- s.OptedOutNumber = &v
+// SetSenderId sets the SenderId field's value.
+func (s *ReleaseSenderIdInput) SetSenderId(v string) *ReleaseSenderIdInput {
+ s.SenderId = &v
return s
}
-type PutOptedOutNumberOutput struct {
+type ReleaseSenderIdOutput struct {
_ struct{} `type:"structure"`
- // This is true if it was the end user who requested their phone number be removed.
- EndUserOptedOut *bool `type:"boolean"`
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
- // The OptOutListArn that the phone number was removed from.
- OptOutListArn *string `type:"string"`
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ //
+ // MessageTypes is a required field
+ MessageTypes []*string `type:"list" required:"true" enum:"MessageType"`
- // The OptOutListName that the phone number was removed from.
- OptOutListName *string `min:"1" type:"string"`
+ // The monthly price, in US dollars, to lease the sender ID.
+ //
+ // MonthlyLeasingPrice is a required field
+ MonthlyLeasingPrice *string `type:"string" required:"true"`
- // The phone number that was added to the OptOutList.
- OptedOutNumber *string `min:"1" type:"string"`
+ // True if the sender ID is registered.
+ //
+ // Registered is a required field
+ Registered *bool `type:"boolean" required:"true"`
- // The time that the phone number was added to the OptOutList, in UNIX epoch
- // time (https://www.epochconverter.com/) format.
- OptedOutTimestamp *time.Time `type:"timestamp"`
+ // The unique identifier for the registration.
+ RegistrationId *string `type:"string"`
+
+ // The sender ID that was released.
+ //
+ // SenderId is a required field
+ SenderId *string `min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) associated with the SenderId.
+ //
+ // SenderIdArn is a required field
+ SenderIdArn *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -10614,7 +18683,7 @@ type PutOptedOutNumberOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutOptedOutNumberOutput) String() string {
+func (s ReleaseSenderIdOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10623,48 +18692,101 @@ func (s PutOptedOutNumberOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutOptedOutNumberOutput) GoString() string {
+func (s ReleaseSenderIdOutput) GoString() string {
return s.String()
}
-// SetEndUserOptedOut sets the EndUserOptedOut field's value.
-func (s *PutOptedOutNumberOutput) SetEndUserOptedOut(v bool) *PutOptedOutNumberOutput {
- s.EndUserOptedOut = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *ReleaseSenderIdOutput) SetIsoCountryCode(v string) *ReleaseSenderIdOutput {
+ s.IsoCountryCode = &v
return s
}
-// SetOptOutListArn sets the OptOutListArn field's value.
-func (s *PutOptedOutNumberOutput) SetOptOutListArn(v string) *PutOptedOutNumberOutput {
- s.OptOutListArn = &v
+// SetMessageTypes sets the MessageTypes field's value.
+func (s *ReleaseSenderIdOutput) SetMessageTypes(v []*string) *ReleaseSenderIdOutput {
+ s.MessageTypes = v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *PutOptedOutNumberOutput) SetOptOutListName(v string) *PutOptedOutNumberOutput {
- s.OptOutListName = &v
+// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
+func (s *ReleaseSenderIdOutput) SetMonthlyLeasingPrice(v string) *ReleaseSenderIdOutput {
+ s.MonthlyLeasingPrice = &v
return s
}
-// SetOptedOutNumber sets the OptedOutNumber field's value.
-func (s *PutOptedOutNumberOutput) SetOptedOutNumber(v string) *PutOptedOutNumberOutput {
- s.OptedOutNumber = &v
+// SetRegistered sets the Registered field's value.
+func (s *ReleaseSenderIdOutput) SetRegistered(v bool) *ReleaseSenderIdOutput {
+ s.Registered = &v
return s
}
-// SetOptedOutTimestamp sets the OptedOutTimestamp field's value.
-func (s *PutOptedOutNumberOutput) SetOptedOutTimestamp(v time.Time) *PutOptedOutNumberOutput {
- s.OptedOutTimestamp = &v
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *ReleaseSenderIdOutput) SetRegistrationId(v string) *ReleaseSenderIdOutput {
+ s.RegistrationId = &v
return s
}
-type ReleasePhoneNumberInput struct {
+// SetSenderId sets the SenderId field's value.
+func (s *ReleaseSenderIdOutput) SetSenderId(v string) *ReleaseSenderIdOutput {
+ s.SenderId = &v
+ return s
+}
+
+// SetSenderIdArn sets the SenderIdArn field's value.
+func (s *ReleaseSenderIdOutput) SetSenderIdArn(v string) *ReleaseSenderIdOutput {
+ s.SenderIdArn = &v
+ return s
+}
+
+type RequestPhoneNumberInput struct {
_ struct{} `type:"structure"`
- // The PhoneNumberId or PhoneNumberArn of the phone number to release. You can
- // use DescribePhoneNumbers to get the values for PhoneNumberId and PhoneNumberArn.
+ // Unique, case-sensitive identifier that you provide to ensure the idempotency
+ // of the request. If you don't specify a client token, a randomly generated
+ // token is used for the request to ensure idempotency.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // By default this is set to false. When set to true the phone number can't
+ // be deleted.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
//
- // PhoneNumberId is a required field
- PhoneNumberId *string `min:"1" type:"string" required:"true"`
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
+
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ //
+ // MessageType is a required field
+ MessageType *string `type:"string" required:"true" enum:"MessageType"`
+
+ // Indicates if the phone number will be used for text messages, voice messages,
+ // or both.
+ //
+ // NumberCapabilities is a required field
+ NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`
+
+ // The type of phone number to request.
+ //
+ // NumberType is a required field
+ NumberType *string `type:"string" required:"true" enum:"RequestableNumberType"`
+
+ // The name of the OptOutList to associate with the phone number. You can use
+ // the OptOutListName or OptOutListArn.
+ OptOutListName *string `min:"1" type:"string"`
+
+ // The pool to associated with the phone number. You can use the PoolId or PoolArn.
+ PoolId *string `min:"1" type:"string"`
+
+ // Use this field to attach your phone number for an external registration process.
+ RegistrationId *string `min:"1" type:"string"`
+
+ // An array of tags (key and value pairs) associate with the requested phone
+ // number.
+ Tags []*Tag `type:"list"`
}
// String returns the string representation.
@@ -10672,7 +18794,7 @@ type ReleasePhoneNumberInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ReleasePhoneNumberInput) String() string {
+func (s RequestPhoneNumberInput) String() string {
return awsutil.Prettify(s)
}
@@ -10681,67 +18803,168 @@ func (s ReleasePhoneNumberInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ReleasePhoneNumberInput) GoString() string {
+func (s RequestPhoneNumberInput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ReleasePhoneNumberInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ReleasePhoneNumberInput"}
- if s.PhoneNumberId == nil {
- invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
- }
- if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
- }
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *RequestPhoneNumberInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RequestPhoneNumberInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.IsoCountryCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
+ }
+ if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
+ invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
+ }
+ if s.MessageType == nil {
+ invalidParams.Add(request.NewErrParamRequired("MessageType"))
+ }
+ if s.NumberCapabilities == nil {
+ invalidParams.Add(request.NewErrParamRequired("NumberCapabilities"))
+ }
+ if s.NumberCapabilities != nil && len(s.NumberCapabilities) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NumberCapabilities", 1))
+ }
+ if s.NumberType == nil {
+ invalidParams.Add(request.NewErrParamRequired("NumberType"))
+ }
+ if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
+ }
+ if s.PoolId != nil && len(*s.PoolId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *RequestPhoneNumberInput) SetClientToken(v string) *RequestPhoneNumberInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *RequestPhoneNumberInput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberInput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *RequestPhoneNumberInput) SetIsoCountryCode(v string) *RequestPhoneNumberInput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetMessageType sets the MessageType field's value.
+func (s *RequestPhoneNumberInput) SetMessageType(v string) *RequestPhoneNumberInput {
+ s.MessageType = &v
+ return s
+}
+
+// SetNumberCapabilities sets the NumberCapabilities field's value.
+func (s *RequestPhoneNumberInput) SetNumberCapabilities(v []*string) *RequestPhoneNumberInput {
+ s.NumberCapabilities = v
+ return s
+}
+
+// SetNumberType sets the NumberType field's value.
+func (s *RequestPhoneNumberInput) SetNumberType(v string) *RequestPhoneNumberInput {
+ s.NumberType = &v
+ return s
+}
+
+// SetOptOutListName sets the OptOutListName field's value.
+func (s *RequestPhoneNumberInput) SetOptOutListName(v string) *RequestPhoneNumberInput {
+ s.OptOutListName = &v
+ return s
+}
+
+// SetPoolId sets the PoolId field's value.
+func (s *RequestPhoneNumberInput) SetPoolId(v string) *RequestPhoneNumberInput {
+ s.PoolId = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *RequestPhoneNumberInput) SetRegistrationId(v string) *RequestPhoneNumberInput {
+ s.RegistrationId = &v
+ return s
}
-// SetPhoneNumberId sets the PhoneNumberId field's value.
-func (s *ReleasePhoneNumberInput) SetPhoneNumberId(v string) *ReleasePhoneNumberInput {
- s.PhoneNumberId = &v
+// SetTags sets the Tags field's value.
+func (s *RequestPhoneNumberInput) SetTags(v []*Tag) *RequestPhoneNumberInput {
+ s.Tags = v
return s
}
-type ReleasePhoneNumberOutput struct {
+type RequestPhoneNumberOutput struct {
_ struct{} `type:"structure"`
// The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
// format.
CreatedTimestamp *time.Time `type:"timestamp"`
+ // By default this is set to false. When set to true the phone number can't
+ // be deleted.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
// region.
IsoCountryCode *string `min:"2" type:"string"`
- // The message type that was associated with the phone number.
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
MessageType *string `type:"string" enum:"MessageType"`
- // The monthly price of the phone number, in US dollars.
+ // The monthly price, in US dollars, to lease the phone number.
MonthlyLeasingPrice *string `type:"string"`
- // Specifies if the number could be used for text messages, voice, or both.
+ // Indicates if the phone number will be used for text messages, voice messages
+ // or both.
NumberCapabilities []*string `min:"1" type:"list" enum:"NumberCapability"`
// The type of number that was released.
- NumberType *string `type:"string" enum:"NumberType"`
+ NumberType *string `type:"string" enum:"RequestableNumberType"`
- // The name of the OptOutList that was associated with the phone number.
+ // The name of the OptOutList that is associated with the requested phone number.
OptOutListName *string `min:"1" type:"string"`
- // The phone number that was released.
+ // The new phone number that was requested.
PhoneNumber *string `min:"1" type:"string"`
- // The PhoneNumberArn of the phone number that was released.
+ // The Amazon Resource Name (ARN) of the requested phone number.
PhoneNumberArn *string `type:"string"`
- // The PhoneNumberId of the phone number that was released.
+ // The unique identifier of the new phone number.
PhoneNumberId *string `type:"string"`
+ // The unique identifier of the pool associated with the phone number
+ PoolId *string `type:"string"`
+
+ // The unique identifier for the registration.
+ RegistrationId *string `type:"string"`
+
// By default this is set to false. When an end recipient sends a message that
// begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
// automatically replies with a customizable message and adds the end recipient
@@ -10753,9 +18976,16 @@ type ReleasePhoneNumberOutput struct {
// The current status of the request.
Status *string `type:"string" enum:"NumberStatus"`
- // The Amazon Resource Name (ARN) of the TwoWayChannel.
+ // An array of key and value pair tags that are associated with the phone number.
+ Tags []*Tag `type:"list"`
+
+ // The ARN used to identify the two way channel.
TwoWayChannelArn *string `min:"20" type:"string"`
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
// By default this is set to false. When set to true you can receive incoming
// text messages from your end recipients.
TwoWayEnabled *bool `type:"boolean"`
@@ -10766,7 +18996,7 @@ type ReleasePhoneNumberOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ReleasePhoneNumberOutput) String() string {
+func (s RequestPhoneNumberOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10775,95 +19005,125 @@ func (s ReleasePhoneNumberOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ReleasePhoneNumberOutput) GoString() string {
+func (s RequestPhoneNumberOutput) GoString() string {
return s.String()
}
// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *ReleasePhoneNumberOutput) SetCreatedTimestamp(v time.Time) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetCreatedTimestamp(v time.Time) *RequestPhoneNumberOutput {
s.CreatedTimestamp = &v
return s
}
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *RequestPhoneNumberOutput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberOutput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *ReleasePhoneNumberOutput) SetIsoCountryCode(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetIsoCountryCode(v string) *RequestPhoneNumberOutput {
s.IsoCountryCode = &v
return s
}
// SetMessageType sets the MessageType field's value.
-func (s *ReleasePhoneNumberOutput) SetMessageType(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetMessageType(v string) *RequestPhoneNumberOutput {
s.MessageType = &v
return s
}
// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
-func (s *ReleasePhoneNumberOutput) SetMonthlyLeasingPrice(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetMonthlyLeasingPrice(v string) *RequestPhoneNumberOutput {
s.MonthlyLeasingPrice = &v
return s
}
// SetNumberCapabilities sets the NumberCapabilities field's value.
-func (s *ReleasePhoneNumberOutput) SetNumberCapabilities(v []*string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetNumberCapabilities(v []*string) *RequestPhoneNumberOutput {
s.NumberCapabilities = v
return s
}
// SetNumberType sets the NumberType field's value.
-func (s *ReleasePhoneNumberOutput) SetNumberType(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetNumberType(v string) *RequestPhoneNumberOutput {
s.NumberType = &v
return s
}
// SetOptOutListName sets the OptOutListName field's value.
-func (s *ReleasePhoneNumberOutput) SetOptOutListName(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetOptOutListName(v string) *RequestPhoneNumberOutput {
s.OptOutListName = &v
return s
}
// SetPhoneNumber sets the PhoneNumber field's value.
-func (s *ReleasePhoneNumberOutput) SetPhoneNumber(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetPhoneNumber(v string) *RequestPhoneNumberOutput {
s.PhoneNumber = &v
return s
}
// SetPhoneNumberArn sets the PhoneNumberArn field's value.
-func (s *ReleasePhoneNumberOutput) SetPhoneNumberArn(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetPhoneNumberArn(v string) *RequestPhoneNumberOutput {
s.PhoneNumberArn = &v
return s
}
// SetPhoneNumberId sets the PhoneNumberId field's value.
-func (s *ReleasePhoneNumberOutput) SetPhoneNumberId(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetPhoneNumberId(v string) *RequestPhoneNumberOutput {
s.PhoneNumberId = &v
return s
}
+// SetPoolId sets the PoolId field's value.
+func (s *RequestPhoneNumberOutput) SetPoolId(v string) *RequestPhoneNumberOutput {
+ s.PoolId = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *RequestPhoneNumberOutput) SetRegistrationId(v string) *RequestPhoneNumberOutput {
+ s.RegistrationId = &v
+ return s
+}
+
// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
-func (s *ReleasePhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *RequestPhoneNumberOutput {
s.SelfManagedOptOutsEnabled = &v
return s
}
// SetStatus sets the Status field's value.
-func (s *ReleasePhoneNumberOutput) SetStatus(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetStatus(v string) *RequestPhoneNumberOutput {
s.Status = &v
return s
}
+// SetTags sets the Tags field's value.
+func (s *RequestPhoneNumberOutput) SetTags(v []*Tag) *RequestPhoneNumberOutput {
+ s.Tags = v
+ return s
+}
+
// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
-func (s *ReleasePhoneNumberOutput) SetTwoWayChannelArn(v string) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetTwoWayChannelArn(v string) *RequestPhoneNumberOutput {
s.TwoWayChannelArn = &v
return s
}
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *RequestPhoneNumberOutput) SetTwoWayChannelRole(v string) *RequestPhoneNumberOutput {
+ s.TwoWayChannelRole = &v
+ return s
+}
+
// SetTwoWayEnabled sets the TwoWayEnabled field's value.
-func (s *ReleasePhoneNumberOutput) SetTwoWayEnabled(v bool) *ReleasePhoneNumberOutput {
+func (s *RequestPhoneNumberOutput) SetTwoWayEnabled(v bool) *RequestPhoneNumberOutput {
s.TwoWayEnabled = &v
return s
}
-type RequestPhoneNumberInput struct {
+type RequestSenderIdInput struct {
_ struct{} `type:"structure"`
// Unique, case-sensitive identifier that you provide to ensure the idempotency
@@ -10871,8 +19131,8 @@ type RequestPhoneNumberInput struct {
// token is used for the request to ensure idempotency.
ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
- // By default this is set to false. When set to true the phone number can't
- // be deleted.
+ // By default this is set to false. When set to true the sender ID can't be
+ // deleted.
DeletionProtectionEnabled *bool `type:"boolean"`
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
@@ -10884,33 +19144,14 @@ type RequestPhoneNumberInput struct {
// The type of message. Valid values are TRANSACTIONAL for messages that are
// critical or time-sensitive and PROMOTIONAL for messages that aren't critical
// or time-sensitive.
- //
- // MessageType is a required field
- MessageType *string `type:"string" required:"true" enum:"MessageType"`
-
- // Indicates if the phone number will be used for text messages, voice messages,
- // or both.
- //
- // NumberCapabilities is a required field
- NumberCapabilities []*string `min:"1" type:"list" required:"true" enum:"NumberCapability"`
+ MessageTypes []*string `type:"list" enum:"MessageType"`
- // The type of phone number to request.
+ // The sender ID string to request.
//
- // NumberType is a required field
- NumberType *string `type:"string" required:"true" enum:"RequestableNumberType"`
-
- // The name of the OptOutList to associate with the phone number. You can use
- // the OutOutListName or OptPutListArn.
- OptOutListName *string `min:"1" type:"string"`
-
- // The pool to associated with the phone number. You can use the PoolId or PoolArn.
- PoolId *string `min:"1" type:"string"`
-
- // Use this field to attach your phone number for an external registration process.
- RegistrationId *string `min:"1" type:"string"`
+ // SenderId is a required field
+ SenderId *string `min:"1" type:"string" required:"true"`
- // An array of tags (key and value pairs) associate with the requested phone
- // number.
+ // An array of tags (key and value pairs) to associate with the sender ID.
Tags []*Tag `type:"list"`
}
@@ -10919,7 +19160,7 @@ type RequestPhoneNumberInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RequestPhoneNumberInput) String() string {
+func (s RequestSenderIdInput) String() string {
return awsutil.Prettify(s)
}
@@ -10928,13 +19169,13 @@ func (s RequestPhoneNumberInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RequestPhoneNumberInput) GoString() string {
+func (s RequestSenderIdInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *RequestPhoneNumberInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RequestPhoneNumberInput"}
+func (s *RequestSenderIdInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RequestSenderIdInput"}
if s.ClientToken != nil && len(*s.ClientToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
}
@@ -10944,26 +19185,11 @@ func (s *RequestPhoneNumberInput) Validate() error {
if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
}
- if s.MessageType == nil {
- invalidParams.Add(request.NewErrParamRequired("MessageType"))
- }
- if s.NumberCapabilities == nil {
- invalidParams.Add(request.NewErrParamRequired("NumberCapabilities"))
- }
- if s.NumberCapabilities != nil && len(s.NumberCapabilities) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("NumberCapabilities", 1))
- }
- if s.NumberType == nil {
- invalidParams.Add(request.NewErrParamRequired("NumberType"))
- }
- if s.OptOutListName != nil && len(*s.OptOutListName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("OptOutListName", 1))
- }
- if s.PoolId != nil && len(*s.PoolId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PoolId", 1))
+ if s.SenderId == nil {
+ invalidParams.Add(request.NewErrParamRequired("SenderId"))
}
- if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ if s.SenderId != nil && len(*s.SenderId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SenderId", 1))
}
if s.Tags != nil {
for i, v := range s.Tags {
@@ -10983,130 +19209,237 @@ func (s *RequestPhoneNumberInput) Validate() error {
}
// SetClientToken sets the ClientToken field's value.
-func (s *RequestPhoneNumberInput) SetClientToken(v string) *RequestPhoneNumberInput {
+func (s *RequestSenderIdInput) SetClientToken(v string) *RequestSenderIdInput {
s.ClientToken = &v
return s
}
// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
-func (s *RequestPhoneNumberInput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberInput {
+func (s *RequestSenderIdInput) SetDeletionProtectionEnabled(v bool) *RequestSenderIdInput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *RequestSenderIdInput) SetIsoCountryCode(v string) *RequestSenderIdInput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetMessageTypes sets the MessageTypes field's value.
+func (s *RequestSenderIdInput) SetMessageTypes(v []*string) *RequestSenderIdInput {
+ s.MessageTypes = v
+ return s
+}
+
+// SetSenderId sets the SenderId field's value.
+func (s *RequestSenderIdInput) SetSenderId(v string) *RequestSenderIdInput {
+ s.SenderId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RequestSenderIdInput) SetTags(v []*Tag) *RequestSenderIdInput {
+ s.Tags = v
+ return s
+}
+
+type RequestSenderIdOutput struct {
+ _ struct{} `type:"structure"`
+
+ // By default this is set to false. When set to true the sender ID can't be
+ // deleted.
+ //
+ // DeletionProtectionEnabled is a required field
+ DeletionProtectionEnabled *bool `type:"boolean" required:"true"`
+
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
+
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ //
+ // MessageTypes is a required field
+ MessageTypes []*string `type:"list" required:"true" enum:"MessageType"`
+
+ // The monthly price, in US dollars, to lease the sender ID.
+ //
+ // MonthlyLeasingPrice is a required field
+ MonthlyLeasingPrice *string `type:"string" required:"true"`
+
+ // True if the sender ID is registered.
+ //
+ // Registered is a required field
+ Registered *bool `type:"boolean" required:"true"`
+
+ // The sender ID that was requested.
+ //
+ // SenderId is a required field
+ SenderId *string `min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) associated with the SenderId.
+ //
+ // SenderIdArn is a required field
+ SenderIdArn *string `type:"string" required:"true"`
+
+ // An array of tags (key and value pairs) to associate with the sender ID.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RequestSenderIdOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s RequestSenderIdOutput) GoString() string {
+ return s.String()
+}
+
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *RequestSenderIdOutput) SetDeletionProtectionEnabled(v bool) *RequestSenderIdOutput {
s.DeletionProtectionEnabled = &v
return s
}
// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *RequestPhoneNumberInput) SetIsoCountryCode(v string) *RequestPhoneNumberInput {
+func (s *RequestSenderIdOutput) SetIsoCountryCode(v string) *RequestSenderIdOutput {
s.IsoCountryCode = &v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *RequestPhoneNumberInput) SetMessageType(v string) *RequestPhoneNumberInput {
- s.MessageType = &v
- return s
-}
-
-// SetNumberCapabilities sets the NumberCapabilities field's value.
-func (s *RequestPhoneNumberInput) SetNumberCapabilities(v []*string) *RequestPhoneNumberInput {
- s.NumberCapabilities = v
+// SetMessageTypes sets the MessageTypes field's value.
+func (s *RequestSenderIdOutput) SetMessageTypes(v []*string) *RequestSenderIdOutput {
+ s.MessageTypes = v
return s
}
-// SetNumberType sets the NumberType field's value.
-func (s *RequestPhoneNumberInput) SetNumberType(v string) *RequestPhoneNumberInput {
- s.NumberType = &v
+// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
+func (s *RequestSenderIdOutput) SetMonthlyLeasingPrice(v string) *RequestSenderIdOutput {
+ s.MonthlyLeasingPrice = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *RequestPhoneNumberInput) SetOptOutListName(v string) *RequestPhoneNumberInput {
- s.OptOutListName = &v
+// SetRegistered sets the Registered field's value.
+func (s *RequestSenderIdOutput) SetRegistered(v bool) *RequestSenderIdOutput {
+ s.Registered = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *RequestPhoneNumberInput) SetPoolId(v string) *RequestPhoneNumberInput {
- s.PoolId = &v
+// SetSenderId sets the SenderId field's value.
+func (s *RequestSenderIdOutput) SetSenderId(v string) *RequestSenderIdOutput {
+ s.SenderId = &v
return s
}
-// SetRegistrationId sets the RegistrationId field's value.
-func (s *RequestPhoneNumberInput) SetRegistrationId(v string) *RequestPhoneNumberInput {
- s.RegistrationId = &v
+// SetSenderIdArn sets the SenderIdArn field's value.
+func (s *RequestSenderIdOutput) SetSenderIdArn(v string) *RequestSenderIdOutput {
+ s.SenderIdArn = &v
return s
}
// SetTags sets the Tags field's value.
-func (s *RequestPhoneNumberInput) SetTags(v []*Tag) *RequestPhoneNumberInput {
+func (s *RequestSenderIdOutput) SetTags(v []*Tag) *RequestSenderIdOutput {
s.Tags = v
return s
}
-type RequestPhoneNumberOutput struct {
- _ struct{} `type:"structure"`
-
- // The time when the phone number was created, in UNIX epoch time (https://www.epochconverter.com/)
- // format.
- CreatedTimestamp *time.Time `type:"timestamp"`
+// A requested resource couldn't be found.
+type ResourceNotFoundException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // By default this is set to false. When set to true the phone number can't
- // be deleted.
- DeletionProtectionEnabled *bool `type:"boolean"`
+ Message_ *string `locationName:"Message" type:"string"`
- // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
- // region.
- IsoCountryCode *string `min:"2" type:"string"`
+ // The unique identifier of the resource.
+ ResourceId *string `type:"string"`
- // The type of message. Valid values are TRANSACTIONAL for messages that are
- // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
- // or time-sensitive.
- MessageType *string `type:"string" enum:"MessageType"`
+ // The type of resource that caused the exception.
+ ResourceType *string `type:"string" enum:"ResourceType"`
+}
- // The monthly price, in US dollars, to lease the phone number.
- MonthlyLeasingPrice *string `type:"string"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceNotFoundException) String() string {
+ return awsutil.Prettify(s)
+}
- // Indicates if the phone number will be used for text messages, voice messages
- // or both.
- NumberCapabilities []*string `min:"1" type:"list" enum:"NumberCapability"`
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceNotFoundException) GoString() string {
+ return s.String()
+}
- // The type of number that was released.
- NumberType *string `type:"string" enum:"RequestableNumberType"`
+func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
+ return &ResourceNotFoundException{
+ RespMetadata: v,
+ }
+}
- // The name of the OptOutList that is associated with the requested phone number.
- OptOutListName *string `min:"1" type:"string"`
+// Code returns the exception type name.
+func (s *ResourceNotFoundException) Code() string {
+ return "ResourceNotFoundException"
+}
- // The new phone number that was requested.
- PhoneNumber *string `min:"1" type:"string"`
+// Message returns the exception's message.
+func (s *ResourceNotFoundException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
- // The Amazon Resource Name (ARN) of the requested phone number.
- PhoneNumberArn *string `type:"string"`
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ResourceNotFoundException) OrigErr() error {
+ return nil
+}
- // The unique identifier of the new phone number.
- PhoneNumberId *string `type:"string"`
+func (s *ResourceNotFoundException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
- // The unique identifier of the pool associated with the phone number
- PoolId *string `type:"string"`
+// Status code returns the HTTP status code for the request's response error.
+func (s *ResourceNotFoundException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
- // By default this is set to false. When an end recipient sends a message that
- // begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint
- // automatically replies with a customizable message and adds the end recipient
- // to the OptOutList. When set to true you're responsible for responding to
- // HELP and STOP requests. You're also responsible for tracking and honoring
- // opt-out requests.
- SelfManagedOptOutsEnabled *bool `type:"boolean"`
+// RequestID returns the service's response RequestID for request.
+func (s *ResourceNotFoundException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // The current status of the request.
- Status *string `type:"string" enum:"NumberStatus"`
+// A description of each select option.
+type SelectOptionDescription struct {
+ _ struct{} `type:"structure"`
- // An array of key and value pair tags that are associated with the phone number.
- Tags []*Tag `type:"list"`
+ // A description of the option meaning.
+ Description *string `type:"string"`
- // The ARN used to identify the two way channel.
- TwoWayChannelArn *string `min:"20" type:"string"`
+ // The value of the option.
+ //
+ // Option is a required field
+ Option *string `type:"string" required:"true"`
- // By default this is set to false. When set to true you can receive incoming
- // text messages from your end recipients.
- TwoWayEnabled *bool `type:"boolean"`
+ // The title of the select option.
+ Title *string `type:"string"`
}
// String returns the string representation.
@@ -11114,7 +19447,7 @@ type RequestPhoneNumberOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RequestPhoneNumberOutput) String() string {
+func (s SelectOptionDescription) String() string {
return awsutil.Prettify(s)
}
@@ -11123,124 +19456,211 @@ func (s RequestPhoneNumberOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RequestPhoneNumberOutput) GoString() string {
+func (s SelectOptionDescription) GoString() string {
return s.String()
}
-// SetCreatedTimestamp sets the CreatedTimestamp field's value.
-func (s *RequestPhoneNumberOutput) SetCreatedTimestamp(v time.Time) *RequestPhoneNumberOutput {
- s.CreatedTimestamp = &v
+// SetDescription sets the Description field's value.
+func (s *SelectOptionDescription) SetDescription(v string) *SelectOptionDescription {
+ s.Description = &v
return s
}
-// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
-func (s *RequestPhoneNumberOutput) SetDeletionProtectionEnabled(v bool) *RequestPhoneNumberOutput {
- s.DeletionProtectionEnabled = &v
+// SetOption sets the Option field's value.
+func (s *SelectOptionDescription) SetOption(v string) *SelectOptionDescription {
+ s.Option = &v
return s
}
-// SetIsoCountryCode sets the IsoCountryCode field's value.
-func (s *RequestPhoneNumberOutput) SetIsoCountryCode(v string) *RequestPhoneNumberOutput {
- s.IsoCountryCode = &v
+// SetTitle sets the Title field's value.
+func (s *SelectOptionDescription) SetTitle(v string) *SelectOptionDescription {
+ s.Title = &v
return s
}
-// SetMessageType sets the MessageType field's value.
-func (s *RequestPhoneNumberOutput) SetMessageType(v string) *RequestPhoneNumberOutput {
- s.MessageType = &v
- return s
+// Validation rules for a select field.
+type SelectValidation struct {
+ _ struct{} `type:"structure"`
+
+ // The maximum number of choices for the select.
+ //
+ // MaxChoices is a required field
+ MaxChoices *int64 `type:"integer" required:"true"`
+
+ // The minimum number of choices for the select.
+ //
+ // MinChoices is a required field
+ MinChoices *int64 `type:"integer" required:"true"`
+
+ // An array of strings for the possible selection options.
+ //
+ // Options is a required field
+ Options []*string `type:"list" required:"true"`
}
-// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
-func (s *RequestPhoneNumberOutput) SetMonthlyLeasingPrice(v string) *RequestPhoneNumberOutput {
- s.MonthlyLeasingPrice = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SelectValidation) String() string {
+ return awsutil.Prettify(s)
}
-// SetNumberCapabilities sets the NumberCapabilities field's value.
-func (s *RequestPhoneNumberOutput) SetNumberCapabilities(v []*string) *RequestPhoneNumberOutput {
- s.NumberCapabilities = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SelectValidation) GoString() string {
+ return s.String()
}
-// SetNumberType sets the NumberType field's value.
-func (s *RequestPhoneNumberOutput) SetNumberType(v string) *RequestPhoneNumberOutput {
- s.NumberType = &v
+// SetMaxChoices sets the MaxChoices field's value.
+func (s *SelectValidation) SetMaxChoices(v int64) *SelectValidation {
+ s.MaxChoices = &v
return s
}
-// SetOptOutListName sets the OptOutListName field's value.
-func (s *RequestPhoneNumberOutput) SetOptOutListName(v string) *RequestPhoneNumberOutput {
- s.OptOutListName = &v
+// SetMinChoices sets the MinChoices field's value.
+func (s *SelectValidation) SetMinChoices(v int64) *SelectValidation {
+ s.MinChoices = &v
return s
}
-// SetPhoneNumber sets the PhoneNumber field's value.
-func (s *RequestPhoneNumberOutput) SetPhoneNumber(v string) *RequestPhoneNumberOutput {
- s.PhoneNumber = &v
+// SetOptions sets the Options field's value.
+func (s *SelectValidation) SetOptions(v []*string) *SelectValidation {
+ s.Options = v
return s
}
-// SetPhoneNumberArn sets the PhoneNumberArn field's value.
-func (s *RequestPhoneNumberOutput) SetPhoneNumberArn(v string) *RequestPhoneNumberOutput {
- s.PhoneNumberArn = &v
- return s
+type SendDestinationNumberVerificationCodeInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set to use. This can be either the ConfigurationSetName
+ // or ConfigurationSetArn.
+ ConfigurationSetName *string `min:"1" type:"string"`
+
+ // You can specify custom data in this field. If you do, that data is logged
+ // to the event destination.
+ Context map[string]*string `type:"map"`
+
+ // This field is used for any country-specific registration requirements. Currently,
+ // this setting is only used when you send messages to recipients in India using
+ // a sender ID. For more information see Special requirements for sending SMS
+ // messages to recipients in India (https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-senderid-india.html).
+ DestinationCountryParameters map[string]*string `type:"map"`
+
+ // Choose the language to use for the message.
+ LanguageCode *string `type:"string" enum:"LanguageCode"`
+
+ // The origination identity of the message. This can be either the PhoneNumber,
+ // PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
+ OriginationIdentity *string `min:"1" type:"string"`
+
+ // Choose to send the verification code as an SMS or voice message.
+ //
+ // VerificationChannel is a required field
+ VerificationChannel *string `type:"string" required:"true" enum:"VerificationChannel"`
+
+ // The unique identifier for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberId is a required field
+ VerifiedDestinationNumberId *string `min:"1" type:"string" required:"true"`
}
-// SetPhoneNumberId sets the PhoneNumberId field's value.
-func (s *RequestPhoneNumberOutput) SetPhoneNumberId(v string) *RequestPhoneNumberOutput {
- s.PhoneNumberId = &v
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SendDestinationNumberVerificationCodeInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SendDestinationNumberVerificationCodeInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *SendDestinationNumberVerificationCodeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SendDestinationNumberVerificationCodeInput"}
+ if s.ConfigurationSetName != nil && len(*s.ConfigurationSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConfigurationSetName", 1))
+ }
+ if s.OriginationIdentity != nil && len(*s.OriginationIdentity) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("OriginationIdentity", 1))
+ }
+ if s.VerificationChannel == nil {
+ invalidParams.Add(request.NewErrParamRequired("VerificationChannel"))
+ }
+ if s.VerifiedDestinationNumberId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VerifiedDestinationNumberId"))
+ }
+ if s.VerifiedDestinationNumberId != nil && len(*s.VerifiedDestinationNumberId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VerifiedDestinationNumberId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *SendDestinationNumberVerificationCodeInput) SetConfigurationSetName(v string) *SendDestinationNumberVerificationCodeInput {
+ s.ConfigurationSetName = &v
return s
}
-// SetPoolId sets the PoolId field's value.
-func (s *RequestPhoneNumberOutput) SetPoolId(v string) *RequestPhoneNumberOutput {
- s.PoolId = &v
+// SetContext sets the Context field's value.
+func (s *SendDestinationNumberVerificationCodeInput) SetContext(v map[string]*string) *SendDestinationNumberVerificationCodeInput {
+ s.Context = v
return s
}
-// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
-func (s *RequestPhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *RequestPhoneNumberOutput {
- s.SelfManagedOptOutsEnabled = &v
+// SetDestinationCountryParameters sets the DestinationCountryParameters field's value.
+func (s *SendDestinationNumberVerificationCodeInput) SetDestinationCountryParameters(v map[string]*string) *SendDestinationNumberVerificationCodeInput {
+ s.DestinationCountryParameters = v
return s
}
-// SetStatus sets the Status field's value.
-func (s *RequestPhoneNumberOutput) SetStatus(v string) *RequestPhoneNumberOutput {
- s.Status = &v
+// SetLanguageCode sets the LanguageCode field's value.
+func (s *SendDestinationNumberVerificationCodeInput) SetLanguageCode(v string) *SendDestinationNumberVerificationCodeInput {
+ s.LanguageCode = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *RequestPhoneNumberOutput) SetTags(v []*Tag) *RequestPhoneNumberOutput {
- s.Tags = v
+// SetOriginationIdentity sets the OriginationIdentity field's value.
+func (s *SendDestinationNumberVerificationCodeInput) SetOriginationIdentity(v string) *SendDestinationNumberVerificationCodeInput {
+ s.OriginationIdentity = &v
return s
}
-// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
-func (s *RequestPhoneNumberOutput) SetTwoWayChannelArn(v string) *RequestPhoneNumberOutput {
- s.TwoWayChannelArn = &v
+// SetVerificationChannel sets the VerificationChannel field's value.
+func (s *SendDestinationNumberVerificationCodeInput) SetVerificationChannel(v string) *SendDestinationNumberVerificationCodeInput {
+ s.VerificationChannel = &v
return s
}
-// SetTwoWayEnabled sets the TwoWayEnabled field's value.
-func (s *RequestPhoneNumberOutput) SetTwoWayEnabled(v bool) *RequestPhoneNumberOutput {
- s.TwoWayEnabled = &v
+// SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
+func (s *SendDestinationNumberVerificationCodeInput) SetVerifiedDestinationNumberId(v string) *SendDestinationNumberVerificationCodeInput {
+ s.VerifiedDestinationNumberId = &v
return s
}
-// A requested resource couldn't be found.
-type ResourceNotFoundException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"Message" type:"string"`
-
- // The unique identifier of the resource.
- ResourceId *string `type:"string"`
+type SendDestinationNumberVerificationCodeOutput struct {
+ _ struct{} `type:"structure"`
- // The type of resource that caused the exception.
- ResourceType *string `type:"string" enum:"ResourceType"`
+ // The unique identifier for the message.
+ //
+ // MessageId is a required field
+ MessageId *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -11248,7 +19668,7 @@ type ResourceNotFoundException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) String() string {
+func (s SendDestinationNumberVerificationCodeOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11257,46 +19677,14 @@ func (s ResourceNotFoundException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) GoString() string {
+func (s SendDestinationNumberVerificationCodeOutput) GoString() string {
return s.String()
}
-func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
- return &ResourceNotFoundException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *ResourceNotFoundException) Code() string {
- return "ResourceNotFoundException"
-}
-
-// Message returns the exception's message.
-func (s *ResourceNotFoundException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ResourceNotFoundException) OrigErr() error {
- return nil
-}
-
-func (s *ResourceNotFoundException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *ResourceNotFoundException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
-
-// RequestID returns the service's response RequestID for request.
-func (s *ResourceNotFoundException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetMessageId sets the MessageId field's value.
+func (s *SendDestinationNumberVerificationCodeOutput) SetMessageId(v string) *SendDestinationNumberVerificationCodeOutput {
+ s.MessageId = &v
+ return s
}
type SendTextMessageInput struct {
@@ -11336,9 +19724,8 @@ type SendTextMessageInput struct {
// The body of the text message.
MessageBody *string `min:"1" type:"string"`
- // The type of message. Valid values are TRANSACTIONAL for messages that are
- // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
- // or time-sensitive.
+ // The type of message. Valid values are for messages that are critical or time-sensitive
+ // and PROMOTIONAL for messages that aren't critical or time-sensitive.
MessageType *string `type:"string" enum:"MessageType"`
// The origination identity of the message. This can be either the PhoneNumber,
@@ -11829,6 +20216,12 @@ func (s *SenderIdFilter) SetValues(v []*string) *SenderIdFilter {
type SenderIdInformation struct {
_ struct{} `type:"structure"`
+ // By default this is set to false. When set to true the sender ID can't be
+ // deleted.
+ //
+ // DeletionProtectionEnabled is a required field
+ DeletionProtectionEnabled *bool `type:"boolean" required:"true"`
+
// The two-character code, in ISO 3166-1 alpha-2 format, for the country or
// region.
//
@@ -11847,6 +20240,14 @@ type SenderIdInformation struct {
// MonthlyLeasingPrice is a required field
MonthlyLeasingPrice *string `type:"string" required:"true"`
+ // True if the sender ID is registered.
+ //
+ // Registered is a required field
+ Registered *bool `type:"boolean" required:"true"`
+
+ // The unique identifier for the registration.
+ RegistrationId *string `type:"string"`
+
// The alphanumeric sender ID in a specific country that you'd like to describe.
//
// SenderId is a required field
@@ -11876,6 +20277,12 @@ func (s SenderIdInformation) GoString() string {
return s.String()
}
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *SenderIdInformation) SetDeletionProtectionEnabled(v bool) *SenderIdInformation {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
// SetIsoCountryCode sets the IsoCountryCode field's value.
func (s *SenderIdInformation) SetIsoCountryCode(v string) *SenderIdInformation {
s.IsoCountryCode = &v
@@ -11894,6 +20301,18 @@ func (s *SenderIdInformation) SetMonthlyLeasingPrice(v string) *SenderIdInformat
return s
}
+// SetRegistered sets the Registered field's value.
+func (s *SenderIdInformation) SetRegistered(v bool) *SenderIdInformation {
+ s.Registered = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *SenderIdInformation) SetRegistrationId(v string) *SenderIdInformation {
+ s.RegistrationId = &v
+ return s
+}
+
// SetSenderId sets the SenderId field's value.
func (s *SenderIdInformation) SetSenderId(v string) *SenderIdInformation {
s.SenderId = &v
@@ -12432,20 +20851,255 @@ type SpendLimit struct {
// The maximum amount of money that you are able to spend to send messages each
// month, in US dollars.
//
- // MaxLimit is a required field
- MaxLimit *int64 `type:"long" required:"true"`
+ // MaxLimit is a required field
+ MaxLimit *int64 `type:"long" required:"true"`
+
+ // The name for the SpendLimit.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"SpendLimitName"`
+
+ // When set to True, the value that has been specified in the EnforcedLimit
+ // is used to determine the maximum amount in US dollars that can be spent to
+ // send messages each month, in US dollars.
+ //
+ // Overridden is a required field
+ Overridden *bool `type:"boolean" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SpendLimit) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SpendLimit) GoString() string {
+ return s.String()
+}
+
+// SetEnforcedLimit sets the EnforcedLimit field's value.
+func (s *SpendLimit) SetEnforcedLimit(v int64) *SpendLimit {
+ s.EnforcedLimit = &v
+ return s
+}
+
+// SetMaxLimit sets the MaxLimit field's value.
+func (s *SpendLimit) SetMaxLimit(v int64) *SpendLimit {
+ s.MaxLimit = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *SpendLimit) SetName(v string) *SpendLimit {
+ s.Name = &v
+ return s
+}
+
+// SetOverridden sets the Overridden field's value.
+func (s *SpendLimit) SetOverridden(v bool) *SpendLimit {
+ s.Overridden = &v
+ return s
+}
+
+type SubmitRegistrationVersionInput struct {
+ _ struct{} `type:"structure"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SubmitRegistrationVersionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SubmitRegistrationVersionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *SubmitRegistrationVersionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SubmitRegistrationVersionInput"}
+ if s.RegistrationId == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationId"))
+ }
+ if s.RegistrationId != nil && len(*s.RegistrationId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RegistrationId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *SubmitRegistrationVersionInput) SetRegistrationId(v string) *SubmitRegistrationVersionInput {
+ s.RegistrationId = &v
+ return s
+}
+
+type SubmitRegistrationVersionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) for the registration.
+ //
+ // RegistrationArn is a required field
+ RegistrationArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the registration.
+ //
+ // RegistrationId is a required field
+ RegistrationId *string `type:"string" required:"true"`
+
+ // The status of the registration version.
+ //
+ // * DRAFT: The initial status of a registration version after it’s created.
+ //
+ // * SUBMITTED: Your registration has been submitted.
+ //
+ // * REVIEWING: Your registration has been accepted and is being reviewed.
+ //
+ // * APPROVED: Your registration has been approved.
+ //
+ // * DISCARDED: You've abandon this version of their registration to start
+ // over with a new version.
+ //
+ // * DENIED: You must fix your registration and resubmit it.
+ //
+ // * REVOKED: Your previously approved registration has been revoked.
+ //
+ // * ARCHIVED: Your previously approved registration version moves into this
+ // status when a more recently submitted version is approved.
+ //
+ // RegistrationVersionStatus is a required field
+ RegistrationVersionStatus *string `type:"string" required:"true" enum:"RegistrationVersionStatus"`
+
+ // The RegistrationVersionStatusHistory object contains the time stamps for
+ // when the reservations status changes.
+ //
+ // RegistrationVersionStatusHistory is a required field
+ RegistrationVersionStatusHistory *RegistrationVersionStatusHistory `type:"structure" required:"true"`
+
+ // The version number of the registration.
+ //
+ // VersionNumber is a required field
+ VersionNumber *int64 `min:"1" type:"long" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SubmitRegistrationVersionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SubmitRegistrationVersionOutput) GoString() string {
+ return s.String()
+}
+
+// SetRegistrationArn sets the RegistrationArn field's value.
+func (s *SubmitRegistrationVersionOutput) SetRegistrationArn(v string) *SubmitRegistrationVersionOutput {
+ s.RegistrationArn = &v
+ return s
+}
+
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *SubmitRegistrationVersionOutput) SetRegistrationId(v string) *SubmitRegistrationVersionOutput {
+ s.RegistrationId = &v
+ return s
+}
+
+// SetRegistrationVersionStatus sets the RegistrationVersionStatus field's value.
+func (s *SubmitRegistrationVersionOutput) SetRegistrationVersionStatus(v string) *SubmitRegistrationVersionOutput {
+ s.RegistrationVersionStatus = &v
+ return s
+}
+
+// SetRegistrationVersionStatusHistory sets the RegistrationVersionStatusHistory field's value.
+func (s *SubmitRegistrationVersionOutput) SetRegistrationVersionStatusHistory(v *RegistrationVersionStatusHistory) *SubmitRegistrationVersionOutput {
+ s.RegistrationVersionStatusHistory = v
+ return s
+}
+
+// SetVersionNumber sets the VersionNumber field's value.
+func (s *SubmitRegistrationVersionOutput) SetVersionNumber(v int64) *SubmitRegistrationVersionOutput {
+ s.VersionNumber = &v
+ return s
+}
+
+// The processing rules for when a registration can be associated with an origination
+// identity and disassociated from an origination identity.
+type SupportedAssociation struct {
+ _ struct{} `type:"structure"`
+
+ // The association behavior.
+ //
+ // * ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied
+ // when creating a registration.
+ //
+ // * ASSOCIATE_ON_APPROVAL This applies to all short code registrations.
+ // The short code will be automatically provisioned once the registration
+ // is approved.
+ //
+ // * ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations
+ // when you must complete a registration first, then associate one or more
+ // phone numbers later. For example 10DLC campaigns and long codes.
+ //
+ // AssociationBehavior is a required field
+ AssociationBehavior *string `type:"string" required:"true" enum:"RegistrationAssociationBehavior"`
- // The name for the SpendLimit.
+ // The disassociation behavior.
//
- // Name is a required field
- Name *string `type:"string" required:"true" enum:"SpendLimitName"`
+ // * DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must
+ // be disassociated from the registration before the registration can be
+ // closed.
+ //
+ // * DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities
+ // must be disassociated from the registration before the registration can
+ // be deleted.
+ //
+ // * DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and
+ // all origination identities will be disasscoiated.
+ //
+ // DisassociationBehavior is a required field
+ DisassociationBehavior *string `type:"string" required:"true" enum:"RegistrationDisassociationBehavior"`
- // When set to True, the value that has been specified in the EnforcedLimit
- // is used to determine the maximum amount in US dollars that can be spent to
- // send messages each month, in US dollars.
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ IsoCountryCode *string `min:"2" type:"string"`
+
+ // Defines the behavior of when an origination identity and registration can
+ // be associated with each other.
//
- // Overridden is a required field
- Overridden *bool `type:"boolean" required:"true"`
+ // ResourceType is a required field
+ ResourceType *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -12453,7 +21107,7 @@ type SpendLimit struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s SpendLimit) String() string {
+func (s SupportedAssociation) String() string {
return awsutil.Prettify(s)
}
@@ -12462,31 +21116,31 @@ func (s SpendLimit) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s SpendLimit) GoString() string {
+func (s SupportedAssociation) GoString() string {
return s.String()
}
-// SetEnforcedLimit sets the EnforcedLimit field's value.
-func (s *SpendLimit) SetEnforcedLimit(v int64) *SpendLimit {
- s.EnforcedLimit = &v
+// SetAssociationBehavior sets the AssociationBehavior field's value.
+func (s *SupportedAssociation) SetAssociationBehavior(v string) *SupportedAssociation {
+ s.AssociationBehavior = &v
return s
}
-// SetMaxLimit sets the MaxLimit field's value.
-func (s *SpendLimit) SetMaxLimit(v int64) *SpendLimit {
- s.MaxLimit = &v
+// SetDisassociationBehavior sets the DisassociationBehavior field's value.
+func (s *SupportedAssociation) SetDisassociationBehavior(v string) *SupportedAssociation {
+ s.DisassociationBehavior = &v
return s
}
-// SetName sets the Name field's value.
-func (s *SpendLimit) SetName(v string) *SpendLimit {
- s.Name = &v
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *SupportedAssociation) SetIsoCountryCode(v string) *SupportedAssociation {
+ s.IsoCountryCode = &v
return s
}
-// SetOverridden sets the Overridden field's value.
-func (s *SpendLimit) SetOverridden(v bool) *SpendLimit {
- s.Overridden = &v
+// SetResourceType sets the ResourceType field's value.
+func (s *SupportedAssociation) SetResourceType(v string) *SupportedAssociation {
+ s.ResourceType = &v
return s
}
@@ -12652,6 +21306,62 @@ func (s TagResourceOutput) GoString() string {
return s.String()
}
+// Validation rules for a text field.
+type TextValidation struct {
+ _ struct{} `type:"structure"`
+
+ // The maximum number of characters for the text field.
+ //
+ // MaxLength is a required field
+ MaxLength *int64 `type:"integer" required:"true"`
+
+ // The minimum number of characters for the text field.
+ //
+ // MinLength is a required field
+ MinLength *int64 `type:"integer" required:"true"`
+
+ // The regular expression used to validate the text field.
+ //
+ // Pattern is a required field
+ Pattern *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TextValidation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TextValidation) GoString() string {
+ return s.String()
+}
+
+// SetMaxLength sets the MaxLength field's value.
+func (s *TextValidation) SetMaxLength(v int64) *TextValidation {
+ s.MaxLength = &v
+ return s
+}
+
+// SetMinLength sets the MinLength field's value.
+func (s *TextValidation) SetMinLength(v int64) *TextValidation {
+ s.MinLength = &v
+ return s
+}
+
+// SetPattern sets the Pattern field's value.
+func (s *TextValidation) SetPattern(v string) *TextValidation {
+ s.Pattern = &v
+ return s
+}
+
// An error that occurred because too many requests were sent during a certain
// amount of time.
type ThrottlingException struct {
@@ -12831,6 +21541,8 @@ type UpdateEventDestinationInput struct {
KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`
// An array of event types that determine which events to log.
+ //
+ // The TEXT_SENT event type is not supported.
MatchingEventTypes []*string `min:"1" type:"list" enum:"EventType"`
// An object that contains information about an event destination that sends
@@ -13016,6 +21728,10 @@ type UpdatePhoneNumberInput struct {
// The Amazon Resource Name (ARN) of the two way channel.
TwoWayChannelArn *string `min:"20" type:"string"`
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
// By default this is set to false. When set to true you can receive incoming
// text messages from your end recipients.
TwoWayEnabled *bool `type:"boolean"`
@@ -13054,6 +21770,9 @@ func (s *UpdatePhoneNumberInput) Validate() error {
if s.TwoWayChannelArn != nil && len(*s.TwoWayChannelArn) < 20 {
invalidParams.Add(request.NewErrParamMinLen("TwoWayChannelArn", 20))
}
+ if s.TwoWayChannelRole != nil && len(*s.TwoWayChannelRole) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("TwoWayChannelRole", 20))
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -13091,6 +21810,12 @@ func (s *UpdatePhoneNumberInput) SetTwoWayChannelArn(v string) *UpdatePhoneNumbe
return s
}
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *UpdatePhoneNumberInput) SetTwoWayChannelRole(v string) *UpdatePhoneNumberInput {
+ s.TwoWayChannelRole = &v
+ return s
+}
+
// SetTwoWayEnabled sets the TwoWayEnabled field's value.
func (s *UpdatePhoneNumberInput) SetTwoWayEnabled(v bool) *UpdatePhoneNumberInput {
s.TwoWayEnabled = &v
@@ -13137,6 +21862,9 @@ type UpdatePhoneNumberOutput struct {
// The unique identifier of the phone number.
PhoneNumberId *string `type:"string"`
+ // The unique identifier for the registration.
+ RegistrationId *string `type:"string"`
+
// This is true if self managed opt-out are enabled.
SelfManagedOptOutsEnabled *bool `type:"boolean"`
@@ -13146,6 +21874,10 @@ type UpdatePhoneNumberOutput struct {
// The Amazon Resource Name (ARN) of the two way channel.
TwoWayChannelArn *string `min:"20" type:"string"`
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
// By default this is set to false. When set to true you can receive incoming
// text messages from your end recipients.
TwoWayEnabled *bool `type:"boolean"`
@@ -13235,6 +21967,12 @@ func (s *UpdatePhoneNumberOutput) SetPhoneNumberId(v string) *UpdatePhoneNumberO
return s
}
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *UpdatePhoneNumberOutput) SetRegistrationId(v string) *UpdatePhoneNumberOutput {
+ s.RegistrationId = &v
+ return s
+}
+
// SetSelfManagedOptOutsEnabled sets the SelfManagedOptOutsEnabled field's value.
func (s *UpdatePhoneNumberOutput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePhoneNumberOutput {
s.SelfManagedOptOutsEnabled = &v
@@ -13253,6 +21991,12 @@ func (s *UpdatePhoneNumberOutput) SetTwoWayChannelArn(v string) *UpdatePhoneNumb
return s
}
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *UpdatePhoneNumberOutput) SetTwoWayChannelRole(v string) *UpdatePhoneNumberOutput {
+ s.TwoWayChannelRole = &v
+ return s
+}
+
// SetTwoWayEnabled sets the TwoWayEnabled field's value.
func (s *UpdatePhoneNumberOutput) SetTwoWayEnabled(v bool) *UpdatePhoneNumberOutput {
s.TwoWayEnabled = &v
@@ -13289,6 +22033,10 @@ type UpdatePoolInput struct {
// The Amazon Resource Name (ARN) of the two way channel.
TwoWayChannelArn *string `min:"20" type:"string"`
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
// By default this is set to false. When set to true you can receive incoming
// text messages from your end recipients.
TwoWayEnabled *bool `type:"boolean"`
@@ -13327,6 +22075,9 @@ func (s *UpdatePoolInput) Validate() error {
if s.TwoWayChannelArn != nil && len(*s.TwoWayChannelArn) < 20 {
invalidParams.Add(request.NewErrParamMinLen("TwoWayChannelArn", 20))
}
+ if s.TwoWayChannelRole != nil && len(*s.TwoWayChannelRole) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("TwoWayChannelRole", 20))
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -13370,6 +22121,12 @@ func (s *UpdatePoolInput) SetTwoWayChannelArn(v string) *UpdatePoolInput {
return s
}
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *UpdatePoolInput) SetTwoWayChannelRole(v string) *UpdatePoolInput {
+ s.TwoWayChannelRole = &v
+ return s
+}
+
// SetTwoWayEnabled sets the TwoWayEnabled field's value.
func (s *UpdatePoolInput) SetTwoWayEnabled(v bool) *UpdatePoolInput {
s.TwoWayEnabled = &v
@@ -13414,6 +22171,10 @@ type UpdatePoolOutput struct {
// The Amazon Resource Name (ARN) of the two way channel.
TwoWayChannelArn *string `min:"20" type:"string"`
+ // An optional IAM Role Arn for a service to assume, to be able to post inbound
+ // SMS messages.
+ TwoWayChannelRole *string `min:"20" type:"string"`
+
// By default this is set to false. When set to true you can receive incoming
// text messages from your end recipients.
TwoWayEnabled *bool `type:"boolean"`
@@ -13479,27 +22240,222 @@ func (s *UpdatePoolOutput) SetSelfManagedOptOutsEnabled(v bool) *UpdatePoolOutpu
return s
}
-// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
-func (s *UpdatePoolOutput) SetSharedRoutesEnabled(v bool) *UpdatePoolOutput {
- s.SharedRoutesEnabled = &v
+// SetSharedRoutesEnabled sets the SharedRoutesEnabled field's value.
+func (s *UpdatePoolOutput) SetSharedRoutesEnabled(v bool) *UpdatePoolOutput {
+ s.SharedRoutesEnabled = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdatePoolOutput) SetStatus(v string) *UpdatePoolOutput {
+ s.Status = &v
+ return s
+}
+
+// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
+func (s *UpdatePoolOutput) SetTwoWayChannelArn(v string) *UpdatePoolOutput {
+ s.TwoWayChannelArn = &v
+ return s
+}
+
+// SetTwoWayChannelRole sets the TwoWayChannelRole field's value.
+func (s *UpdatePoolOutput) SetTwoWayChannelRole(v string) *UpdatePoolOutput {
+ s.TwoWayChannelRole = &v
+ return s
+}
+
+// SetTwoWayEnabled sets the TwoWayEnabled field's value.
+func (s *UpdatePoolOutput) SetTwoWayEnabled(v bool) *UpdatePoolOutput {
+ s.TwoWayEnabled = &v
+ return s
+}
+
+type UpdateSenderIdInput struct {
+ _ struct{} `type:"structure"`
+
+ // By default this is set to false. When set to true the sender ID can't be
+ // deleted.
+ DeletionProtectionEnabled *bool `type:"boolean"`
+
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
+
+ // The sender ID to update.
+ //
+ // SenderId is a required field
+ SenderId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSenderIdInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSenderIdInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateSenderIdInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateSenderIdInput"}
+ if s.IsoCountryCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("IsoCountryCode"))
+ }
+ if s.IsoCountryCode != nil && len(*s.IsoCountryCode) < 2 {
+ invalidParams.Add(request.NewErrParamMinLen("IsoCountryCode", 2))
+ }
+ if s.SenderId == nil {
+ invalidParams.Add(request.NewErrParamRequired("SenderId"))
+ }
+ if s.SenderId != nil && len(*s.SenderId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SenderId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *UpdateSenderIdInput) SetDeletionProtectionEnabled(v bool) *UpdateSenderIdInput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *UpdateSenderIdInput) SetIsoCountryCode(v string) *UpdateSenderIdInput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetSenderId sets the SenderId field's value.
+func (s *UpdateSenderIdInput) SetSenderId(v string) *UpdateSenderIdInput {
+ s.SenderId = &v
+ return s
+}
+
+type UpdateSenderIdOutput struct {
+ _ struct{} `type:"structure"`
+
+ // By default this is set to false. When set to true the sender ID can't be
+ // deleted.
+ //
+ // DeletionProtectionEnabled is a required field
+ DeletionProtectionEnabled *bool `type:"boolean" required:"true"`
+
+ // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
+ // region.
+ //
+ // IsoCountryCode is a required field
+ IsoCountryCode *string `min:"2" type:"string" required:"true"`
+
+ // The type of message. Valid values are TRANSACTIONAL for messages that are
+ // critical or time-sensitive and PROMOTIONAL for messages that aren't critical
+ // or time-sensitive.
+ //
+ // MessageTypes is a required field
+ MessageTypes []*string `type:"list" required:"true" enum:"MessageType"`
+
+ // The monthly price, in US dollars, to lease the sender ID.
+ //
+ // MonthlyLeasingPrice is a required field
+ MonthlyLeasingPrice *string `type:"string" required:"true"`
+
+ // True if the sender ID is registered..
+ //
+ // Registered is a required field
+ Registered *bool `type:"boolean" required:"true"`
+
+ // The unique identifier for the registration.
+ RegistrationId *string `type:"string"`
+
+ // The sender ID that was updated.
+ //
+ // SenderId is a required field
+ SenderId *string `min:"1" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) associated with the SenderId.
+ //
+ // SenderIdArn is a required field
+ SenderIdArn *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSenderIdOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSenderIdOutput) GoString() string {
+ return s.String()
+}
+
+// SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value.
+func (s *UpdateSenderIdOutput) SetDeletionProtectionEnabled(v bool) *UpdateSenderIdOutput {
+ s.DeletionProtectionEnabled = &v
+ return s
+}
+
+// SetIsoCountryCode sets the IsoCountryCode field's value.
+func (s *UpdateSenderIdOutput) SetIsoCountryCode(v string) *UpdateSenderIdOutput {
+ s.IsoCountryCode = &v
+ return s
+}
+
+// SetMessageTypes sets the MessageTypes field's value.
+func (s *UpdateSenderIdOutput) SetMessageTypes(v []*string) *UpdateSenderIdOutput {
+ s.MessageTypes = v
+ return s
+}
+
+// SetMonthlyLeasingPrice sets the MonthlyLeasingPrice field's value.
+func (s *UpdateSenderIdOutput) SetMonthlyLeasingPrice(v string) *UpdateSenderIdOutput {
+ s.MonthlyLeasingPrice = &v
+ return s
+}
+
+// SetRegistered sets the Registered field's value.
+func (s *UpdateSenderIdOutput) SetRegistered(v bool) *UpdateSenderIdOutput {
+ s.Registered = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *UpdatePoolOutput) SetStatus(v string) *UpdatePoolOutput {
- s.Status = &v
+// SetRegistrationId sets the RegistrationId field's value.
+func (s *UpdateSenderIdOutput) SetRegistrationId(v string) *UpdateSenderIdOutput {
+ s.RegistrationId = &v
return s
}
-// SetTwoWayChannelArn sets the TwoWayChannelArn field's value.
-func (s *UpdatePoolOutput) SetTwoWayChannelArn(v string) *UpdatePoolOutput {
- s.TwoWayChannelArn = &v
+// SetSenderId sets the SenderId field's value.
+func (s *UpdateSenderIdOutput) SetSenderId(v string) *UpdateSenderIdOutput {
+ s.SenderId = &v
return s
}
-// SetTwoWayEnabled sets the TwoWayEnabled field's value.
-func (s *UpdatePoolOutput) SetTwoWayEnabled(v bool) *UpdatePoolOutput {
- s.TwoWayEnabled = &v
+// SetSenderIdArn sets the SenderIdArn field's value.
+func (s *UpdateSenderIdOutput) SetSenderIdArn(v string) *UpdateSenderIdOutput {
+ s.SenderIdArn = &v
return s
}
@@ -13619,6 +22575,299 @@ func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField {
return s
}
+// The filter definition for filtering verified destination phone numbers that
+// meets a specified criteria.
+type VerifiedDestinationNumberFilter struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the attribute to filter on.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true" enum:"VerifiedDestinationNumberFilterName"`
+
+ // An array of values to filter on.
+ //
+ // Values is a required field
+ Values []*string `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifiedDestinationNumberFilter) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifiedDestinationNumberFilter) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *VerifiedDestinationNumberFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "VerifiedDestinationNumberFilter"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Values == nil {
+ invalidParams.Add(request.NewErrParamRequired("Values"))
+ }
+ if s.Values != nil && len(s.Values) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Values", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *VerifiedDestinationNumberFilter) SetName(v string) *VerifiedDestinationNumberFilter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *VerifiedDestinationNumberFilter) SetValues(v []*string) *VerifiedDestinationNumberFilter {
+ s.Values = v
+ return s
+}
+
+// Provides information about the requested verified destintion phone number.
+type VerifiedDestinationNumberInformation struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the destination phone number was created, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The verified destination phone number, in E.164 format.
+ //
+ // DestinationPhoneNumber is a required field
+ DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`
+
+ // The status of the verified destination phone number.
+ //
+ // * PENDING: The phone number hasn't been verified yet.
+ //
+ // * VERIFIED: The phone number is verified and can receive messages.
+ //
+ // Status is a required field
+ Status *string `type:"string" required:"true" enum:"VerificationStatus"`
+
+ // The Amazon Resource Name (ARN) for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberArn is a required field
+ VerifiedDestinationNumberArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberId is a required field
+ VerifiedDestinationNumberId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifiedDestinationNumberInformation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifiedDestinationNumberInformation) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *VerifiedDestinationNumberInformation) SetCreatedTimestamp(v time.Time) *VerifiedDestinationNumberInformation {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
+func (s *VerifiedDestinationNumberInformation) SetDestinationPhoneNumber(v string) *VerifiedDestinationNumberInformation {
+ s.DestinationPhoneNumber = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *VerifiedDestinationNumberInformation) SetStatus(v string) *VerifiedDestinationNumberInformation {
+ s.Status = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
+func (s *VerifiedDestinationNumberInformation) SetVerifiedDestinationNumberArn(v string) *VerifiedDestinationNumberInformation {
+ s.VerifiedDestinationNumberArn = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
+func (s *VerifiedDestinationNumberInformation) SetVerifiedDestinationNumberId(v string) *VerifiedDestinationNumberInformation {
+ s.VerifiedDestinationNumberId = &v
+ return s
+}
+
+type VerifyDestinationNumberInput struct {
+ _ struct{} `type:"structure"`
+
+ // The verification code that was received by the verified destination phone
+ // number.
+ //
+ // VerificationCode is a required field
+ VerificationCode *string `min:"1" type:"string" required:"true"`
+
+ // The unique identifier for the verififed destination phone number.
+ //
+ // VerifiedDestinationNumberId is a required field
+ VerifiedDestinationNumberId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifyDestinationNumberInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifyDestinationNumberInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *VerifyDestinationNumberInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "VerifyDestinationNumberInput"}
+ if s.VerificationCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("VerificationCode"))
+ }
+ if s.VerificationCode != nil && len(*s.VerificationCode) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VerificationCode", 1))
+ }
+ if s.VerifiedDestinationNumberId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VerifiedDestinationNumberId"))
+ }
+ if s.VerifiedDestinationNumberId != nil && len(*s.VerifiedDestinationNumberId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VerifiedDestinationNumberId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetVerificationCode sets the VerificationCode field's value.
+func (s *VerifyDestinationNumberInput) SetVerificationCode(v string) *VerifyDestinationNumberInput {
+ s.VerificationCode = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
+func (s *VerifyDestinationNumberInput) SetVerifiedDestinationNumberId(v string) *VerifyDestinationNumberInput {
+ s.VerifiedDestinationNumberId = &v
+ return s
+}
+
+type VerifyDestinationNumberOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time when the destination phone number was created, in UNIX epoch time
+ // (https://www.epochconverter.com/) format.
+ //
+ // CreatedTimestamp is a required field
+ CreatedTimestamp *time.Time `type:"timestamp" required:"true"`
+
+ // The phone number in E.164 format.
+ //
+ // DestinationPhoneNumber is a required field
+ DestinationPhoneNumber *string `min:"1" type:"string" required:"true"`
+
+ // The status for being able to send messages to the phone number.
+ //
+ // Status is a required field
+ Status *string `type:"string" required:"true" enum:"VerificationStatus"`
+
+ // The Amazon Resource Name (ARN) for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberArn is a required field
+ VerifiedDestinationNumberArn *string `type:"string" required:"true"`
+
+ // The unique identifier for the verified destination phone number.
+ //
+ // VerifiedDestinationNumberId is a required field
+ VerifiedDestinationNumberId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifyDestinationNumberOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s VerifyDestinationNumberOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *VerifyDestinationNumberOutput) SetCreatedTimestamp(v time.Time) *VerifyDestinationNumberOutput {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value.
+func (s *VerifyDestinationNumberOutput) SetDestinationPhoneNumber(v string) *VerifyDestinationNumberOutput {
+ s.DestinationPhoneNumber = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *VerifyDestinationNumberOutput) SetStatus(v string) *VerifyDestinationNumberOutput {
+ s.Status = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberArn sets the VerifiedDestinationNumberArn field's value.
+func (s *VerifyDestinationNumberOutput) SetVerifiedDestinationNumberArn(v string) *VerifyDestinationNumberOutput {
+ s.VerifiedDestinationNumberArn = &v
+ return s
+}
+
+// SetVerifiedDestinationNumberId sets the VerifiedDestinationNumberId field's value.
+func (s *VerifyDestinationNumberOutput) SetVerifiedDestinationNumberId(v string) *VerifyDestinationNumberOutput {
+ s.VerifiedDestinationNumberId = &v
+ return s
+}
+
const (
// AccessDeniedExceptionReasonInsufficientAccountReputation is a AccessDeniedExceptionReason enum value
AccessDeniedExceptionReasonInsufficientAccountReputation = "INSUFFICIENT_ACCOUNT_REPUTATION"
@@ -13657,17 +22906,69 @@ const (
// AccountLimitNameConfigurationSets is a AccountLimitName enum value
AccountLimitNameConfigurationSets = "CONFIGURATION_SETS"
- // AccountLimitNameOptOutLists is a AccountLimitName enum value
- AccountLimitNameOptOutLists = "OPT_OUT_LISTS"
+ // AccountLimitNameOptOutLists is a AccountLimitName enum value
+ AccountLimitNameOptOutLists = "OPT_OUT_LISTS"
+
+ // AccountLimitNameSenderIds is a AccountLimitName enum value
+ AccountLimitNameSenderIds = "SENDER_IDS"
+
+ // AccountLimitNameRegistrations is a AccountLimitName enum value
+ AccountLimitNameRegistrations = "REGISTRATIONS"
+
+ // AccountLimitNameRegistrationAttachments is a AccountLimitName enum value
+ AccountLimitNameRegistrationAttachments = "REGISTRATION_ATTACHMENTS"
+
+ // AccountLimitNameVerifiedDestinationNumbers is a AccountLimitName enum value
+ AccountLimitNameVerifiedDestinationNumbers = "VERIFIED_DESTINATION_NUMBERS"
+)
+
+// AccountLimitName_Values returns all elements of the AccountLimitName enum
+func AccountLimitName_Values() []string {
+ return []string{
+ AccountLimitNamePhoneNumbers,
+ AccountLimitNamePools,
+ AccountLimitNameConfigurationSets,
+ AccountLimitNameOptOutLists,
+ AccountLimitNameSenderIds,
+ AccountLimitNameRegistrations,
+ AccountLimitNameRegistrationAttachments,
+ AccountLimitNameVerifiedDestinationNumbers,
+ }
+}
+
+const (
+ // AttachmentStatusUploadInProgress is a AttachmentStatus enum value
+ AttachmentStatusUploadInProgress = "UPLOAD_IN_PROGRESS"
+
+ // AttachmentStatusUploadComplete is a AttachmentStatus enum value
+ AttachmentStatusUploadComplete = "UPLOAD_COMPLETE"
+
+ // AttachmentStatusUploadFailed is a AttachmentStatus enum value
+ AttachmentStatusUploadFailed = "UPLOAD_FAILED"
+
+ // AttachmentStatusDeleted is a AttachmentStatus enum value
+ AttachmentStatusDeleted = "DELETED"
+)
+
+// AttachmentStatus_Values returns all elements of the AttachmentStatus enum
+func AttachmentStatus_Values() []string {
+ return []string{
+ AttachmentStatusUploadInProgress,
+ AttachmentStatusUploadComplete,
+ AttachmentStatusUploadFailed,
+ AttachmentStatusDeleted,
+ }
+}
+
+const (
+ // AttachmentUploadErrorReasonInternalError is a AttachmentUploadErrorReason enum value
+ AttachmentUploadErrorReasonInternalError = "INTERNAL_ERROR"
)
-// AccountLimitName_Values returns all elements of the AccountLimitName enum
-func AccountLimitName_Values() []string {
+// AttachmentUploadErrorReason_Values returns all elements of the AttachmentUploadErrorReason enum
+func AttachmentUploadErrorReason_Values() []string {
return []string{
- AccountLimitNamePhoneNumbers,
- AccountLimitNamePools,
- AccountLimitNameConfigurationSets,
- AccountLimitNameOptOutLists,
+ AttachmentUploadErrorReasonInternalError,
}
}
@@ -13696,6 +22997,9 @@ func ConfigurationSetFilterName_Values() []string {
}
const (
+ // ConflictExceptionReasonCreateRegistrationVersionNotAllowed is a ConflictExceptionReason enum value
+ ConflictExceptionReasonCreateRegistrationVersionNotAllowed = "CREATE_REGISTRATION_VERSION_NOT_ALLOWED"
+
// ConflictExceptionReasonDeletionProtectionEnabled is a ConflictExceptionReason enum value
ConflictExceptionReasonDeletionProtectionEnabled = "DELETION_PROTECTION_ENABLED"
@@ -13705,6 +23009,15 @@ const (
// ConflictExceptionReasonDestinationPhoneNumberOptedOut is a ConflictExceptionReason enum value
ConflictExceptionReasonDestinationPhoneNumberOptedOut = "DESTINATION_PHONE_NUMBER_OPTED_OUT"
+ // ConflictExceptionReasonDisassociateRegistrationNotAllowed is a ConflictExceptionReason enum value
+ ConflictExceptionReasonDisassociateRegistrationNotAllowed = "DISASSOCIATE_REGISTRATION_NOT_ALLOWED"
+
+ // ConflictExceptionReasonDiscardRegistrationVersionNotAllowed is a ConflictExceptionReason enum value
+ ConflictExceptionReasonDiscardRegistrationVersionNotAllowed = "DISCARD_REGISTRATION_VERSION_NOT_ALLOWED"
+
+ // ConflictExceptionReasonEditRegistrationFieldValuesNotAllowed is a ConflictExceptionReason enum value
+ ConflictExceptionReasonEditRegistrationFieldValuesNotAllowed = "EDIT_REGISTRATION_FIELD_VALUES_NOT_ALLOWED"
+
// ConflictExceptionReasonEventDestinationMismatch is a ConflictExceptionReason enum value
ConflictExceptionReasonEventDestinationMismatch = "EVENT_DESTINATION_MISMATCH"
@@ -13714,8 +23027,8 @@ const (
// ConflictExceptionReasonLastPhoneNumber is a ConflictExceptionReason enum value
ConflictExceptionReasonLastPhoneNumber = "LAST_PHONE_NUMBER"
- // ConflictExceptionReasonSelfManagedOptOutsMismatch is a ConflictExceptionReason enum value
- ConflictExceptionReasonSelfManagedOptOutsMismatch = "SELF_MANAGED_OPT_OUTS_MISMATCH"
+ // ConflictExceptionReasonNumberCapabilitiesMismatch is a ConflictExceptionReason enum value
+ ConflictExceptionReasonNumberCapabilitiesMismatch = "NUMBER_CAPABILITIES_MISMATCH"
// ConflictExceptionReasonMessageTypeMismatch is a ConflictExceptionReason enum value
ConflictExceptionReasonMessageTypeMismatch = "MESSAGE_TYPE_MISMATCH"
@@ -13729,12 +23042,24 @@ const (
// ConflictExceptionReasonPhoneNumberAssociatedToPool is a ConflictExceptionReason enum value
ConflictExceptionReasonPhoneNumberAssociatedToPool = "PHONE_NUMBER_ASSOCIATED_TO_POOL"
+ // ConflictExceptionReasonPhoneNumberAssociatedToRegistration is a ConflictExceptionReason enum value
+ ConflictExceptionReasonPhoneNumberAssociatedToRegistration = "PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION"
+
// ConflictExceptionReasonPhoneNumberNotAssociatedToPool is a ConflictExceptionReason enum value
ConflictExceptionReasonPhoneNumberNotAssociatedToPool = "PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL"
// ConflictExceptionReasonPhoneNumberNotInRegistrationRegion is a ConflictExceptionReason enum value
ConflictExceptionReasonPhoneNumberNotInRegistrationRegion = "PHONE_NUMBER_NOT_IN_REGISTRATION_REGION"
+ // ConflictExceptionReasonRegistrationAlreadySubmitted is a ConflictExceptionReason enum value
+ ConflictExceptionReasonRegistrationAlreadySubmitted = "REGISTRATION_ALREADY_SUBMITTED"
+
+ // ConflictExceptionReasonRegistrationNotComplete is a ConflictExceptionReason enum value
+ ConflictExceptionReasonRegistrationNotComplete = "REGISTRATION_NOT_COMPLETE"
+
+ // ConflictExceptionReasonSenderIdAssociatedToPool is a ConflictExceptionReason enum value
+ ConflictExceptionReasonSenderIdAssociatedToPool = "SENDER_ID_ASSOCIATED_TO_POOL"
+
// ConflictExceptionReasonResourceAlreadyExists is a ConflictExceptionReason enum value
ConflictExceptionReasonResourceAlreadyExists = "RESOURCE_ALREADY_EXISTS"
@@ -13750,32 +23075,56 @@ const (
// ConflictExceptionReasonResourceNotEmpty is a ConflictExceptionReason enum value
ConflictExceptionReasonResourceNotEmpty = "RESOURCE_NOT_EMPTY"
+ // ConflictExceptionReasonSelfManagedOptOutsMismatch is a ConflictExceptionReason enum value
+ ConflictExceptionReasonSelfManagedOptOutsMismatch = "SELF_MANAGED_OPT_OUTS_MISMATCH"
+
+ // ConflictExceptionReasonSubmitRegistrationVersionNotAllowed is a ConflictExceptionReason enum value
+ ConflictExceptionReasonSubmitRegistrationVersionNotAllowed = "SUBMIT_REGISTRATION_VERSION_NOT_ALLOWED"
+
// ConflictExceptionReasonTwoWayConfigMismatch is a ConflictExceptionReason enum value
ConflictExceptionReasonTwoWayConfigMismatch = "TWO_WAY_CONFIG_MISMATCH"
+
+ // ConflictExceptionReasonVerificationCodeExpired is a ConflictExceptionReason enum value
+ ConflictExceptionReasonVerificationCodeExpired = "VERIFICATION_CODE_EXPIRED"
+
+ // ConflictExceptionReasonVerificationAlreadyComplete is a ConflictExceptionReason enum value
+ ConflictExceptionReasonVerificationAlreadyComplete = "VERIFICATION_ALREADY_COMPLETE"
)
// ConflictExceptionReason_Values returns all elements of the ConflictExceptionReason enum
func ConflictExceptionReason_Values() []string {
return []string{
+ ConflictExceptionReasonCreateRegistrationVersionNotAllowed,
ConflictExceptionReasonDeletionProtectionEnabled,
ConflictExceptionReasonDestinationPhoneNumberNotVerified,
ConflictExceptionReasonDestinationPhoneNumberOptedOut,
+ ConflictExceptionReasonDisassociateRegistrationNotAllowed,
+ ConflictExceptionReasonDiscardRegistrationVersionNotAllowed,
+ ConflictExceptionReasonEditRegistrationFieldValuesNotAllowed,
ConflictExceptionReasonEventDestinationMismatch,
ConflictExceptionReasonKeywordMismatch,
ConflictExceptionReasonLastPhoneNumber,
- ConflictExceptionReasonSelfManagedOptOutsMismatch,
+ ConflictExceptionReasonNumberCapabilitiesMismatch,
ConflictExceptionReasonMessageTypeMismatch,
ConflictExceptionReasonNoOriginationIdentitiesFound,
ConflictExceptionReasonOptOutListMismatch,
ConflictExceptionReasonPhoneNumberAssociatedToPool,
+ ConflictExceptionReasonPhoneNumberAssociatedToRegistration,
ConflictExceptionReasonPhoneNumberNotAssociatedToPool,
ConflictExceptionReasonPhoneNumberNotInRegistrationRegion,
+ ConflictExceptionReasonRegistrationAlreadySubmitted,
+ ConflictExceptionReasonRegistrationNotComplete,
+ ConflictExceptionReasonSenderIdAssociatedToPool,
ConflictExceptionReasonResourceAlreadyExists,
ConflictExceptionReasonResourceDeletionNotAllowed,
ConflictExceptionReasonResourceModificationNotAllowed,
ConflictExceptionReasonResourceNotActive,
ConflictExceptionReasonResourceNotEmpty,
+ ConflictExceptionReasonSelfManagedOptOutsMismatch,
+ ConflictExceptionReasonSubmitRegistrationVersionNotAllowed,
ConflictExceptionReasonTwoWayConfigMismatch,
+ ConflictExceptionReasonVerificationCodeExpired,
+ ConflictExceptionReasonVerificationAlreadyComplete,
}
}
@@ -13903,6 +23252,46 @@ func EventType_Values() []string {
}
}
+const (
+ // FieldRequirementRequired is a FieldRequirement enum value
+ FieldRequirementRequired = "REQUIRED"
+
+ // FieldRequirementConditional is a FieldRequirement enum value
+ FieldRequirementConditional = "CONDITIONAL"
+
+ // FieldRequirementOptional is a FieldRequirement enum value
+ FieldRequirementOptional = "OPTIONAL"
+)
+
+// FieldRequirement_Values returns all elements of the FieldRequirement enum
+func FieldRequirement_Values() []string {
+ return []string{
+ FieldRequirementRequired,
+ FieldRequirementConditional,
+ FieldRequirementOptional,
+ }
+}
+
+const (
+ // FieldTypeSelect is a FieldType enum value
+ FieldTypeSelect = "SELECT"
+
+ // FieldTypeText is a FieldType enum value
+ FieldTypeText = "TEXT"
+
+ // FieldTypeAttachment is a FieldType enum value
+ FieldTypeAttachment = "ATTACHMENT"
+)
+
+// FieldType_Values returns all elements of the FieldType enum
+func FieldType_Values() []string {
+ return []string{
+ FieldTypeSelect,
+ FieldTypeText,
+ FieldTypeAttachment,
+ }
+}
+
const (
// KeywordActionAutomaticResponse is a KeywordAction enum value
KeywordActionAutomaticResponse = "AUTOMATIC_RESPONSE"
@@ -13935,6 +23324,66 @@ func KeywordFilterName_Values() []string {
}
}
+const (
+ // LanguageCodeDeDe is a LanguageCode enum value
+ LanguageCodeDeDe = "DE_DE"
+
+ // LanguageCodeEnGb is a LanguageCode enum value
+ LanguageCodeEnGb = "EN_GB"
+
+ // LanguageCodeEnUs is a LanguageCode enum value
+ LanguageCodeEnUs = "EN_US"
+
+ // LanguageCodeEs419 is a LanguageCode enum value
+ LanguageCodeEs419 = "ES_419"
+
+ // LanguageCodeEsEs is a LanguageCode enum value
+ LanguageCodeEsEs = "ES_ES"
+
+ // LanguageCodeFrCa is a LanguageCode enum value
+ LanguageCodeFrCa = "FR_CA"
+
+ // LanguageCodeFrFr is a LanguageCode enum value
+ LanguageCodeFrFr = "FR_FR"
+
+ // LanguageCodeItIt is a LanguageCode enum value
+ LanguageCodeItIt = "IT_IT"
+
+ // LanguageCodeJaJp is a LanguageCode enum value
+ LanguageCodeJaJp = "JA_JP"
+
+ // LanguageCodeKoKr is a LanguageCode enum value
+ LanguageCodeKoKr = "KO_KR"
+
+ // LanguageCodePtBr is a LanguageCode enum value
+ LanguageCodePtBr = "PT_BR"
+
+ // LanguageCodeZhCn is a LanguageCode enum value
+ LanguageCodeZhCn = "ZH_CN"
+
+ // LanguageCodeZhTw is a LanguageCode enum value
+ LanguageCodeZhTw = "ZH_TW"
+)
+
+// LanguageCode_Values returns all elements of the LanguageCode enum
+func LanguageCode_Values() []string {
+ return []string{
+ LanguageCodeDeDe,
+ LanguageCodeEnGb,
+ LanguageCodeEnUs,
+ LanguageCodeEs419,
+ LanguageCodeEsEs,
+ LanguageCodeFrCa,
+ LanguageCodeFrFr,
+ LanguageCodeItIt,
+ LanguageCodeJaJp,
+ LanguageCodeKoKr,
+ LanguageCodePtBr,
+ LanguageCodeZhCn,
+ LanguageCodeZhTw,
+ }
+}
+
const (
// MessageTypeTransactional is a MessageType enum value
MessageTypeTransactional = "TRANSACTIONAL"
@@ -14007,6 +23456,9 @@ const (
// NumberTypeTenDlc is a NumberType enum value
NumberTypeTenDlc = "TEN_DLC"
+
+ // NumberTypeSimulator is a NumberType enum value
+ NumberTypeSimulator = "SIMULATOR"
)
// NumberType_Values returns all elements of the NumberType enum
@@ -14016,6 +23468,7 @@ func NumberType_Values() []string {
NumberTypeLongCode,
NumberTypeTollFree,
NumberTypeTenDlc,
+ NumberTypeSimulator,
}
}
@@ -14058,6 +23511,9 @@ const (
// PhoneNumberFilterNameDeletionProtectionEnabled is a PhoneNumberFilterName enum value
PhoneNumberFilterNameDeletionProtectionEnabled = "deletion-protection-enabled"
+
+ // PhoneNumberFilterNameTwoWayChannelArn is a PhoneNumberFilterName enum value
+ PhoneNumberFilterNameTwoWayChannelArn = "two-way-channel-arn"
)
// PhoneNumberFilterName_Values returns all elements of the PhoneNumberFilterName enum
@@ -14072,6 +23528,7 @@ func PhoneNumberFilterName_Values() []string {
PhoneNumberFilterNameSelfManagedOptOutsEnabled,
PhoneNumberFilterNameOptOutListName,
PhoneNumberFilterNameDeletionProtectionEnabled,
+ PhoneNumberFilterNameTwoWayChannelArn,
}
}
@@ -14096,6 +23553,9 @@ const (
// PoolFilterNameDeletionProtectionEnabled is a PoolFilterName enum value
PoolFilterNameDeletionProtectionEnabled = "deletion-protection-enabled"
+
+ // PoolFilterNameTwoWayChannelArn is a PoolFilterName enum value
+ PoolFilterNameTwoWayChannelArn = "two-way-channel-arn"
)
// PoolFilterName_Values returns all elements of the PoolFilterName enum
@@ -14108,6 +23568,7 @@ func PoolFilterName_Values() []string {
PoolFilterNameOptOutListName,
PoolFilterNameSharedRoutesEnabled,
PoolFilterNameDeletionProtectionEnabled,
+ PoolFilterNameTwoWayChannelArn,
}
}
@@ -14147,6 +23608,198 @@ func PoolStatus_Values() []string {
}
}
+const (
+ // RegistrationAssociationBehaviorAssociateBeforeSubmit is a RegistrationAssociationBehavior enum value
+ RegistrationAssociationBehaviorAssociateBeforeSubmit = "ASSOCIATE_BEFORE_SUBMIT"
+
+ // RegistrationAssociationBehaviorAssociateOnApproval is a RegistrationAssociationBehavior enum value
+ RegistrationAssociationBehaviorAssociateOnApproval = "ASSOCIATE_ON_APPROVAL"
+
+ // RegistrationAssociationBehaviorAssociateAfterComplete is a RegistrationAssociationBehavior enum value
+ RegistrationAssociationBehaviorAssociateAfterComplete = "ASSOCIATE_AFTER_COMPLETE"
+)
+
+// RegistrationAssociationBehavior_Values returns all elements of the RegistrationAssociationBehavior enum
+func RegistrationAssociationBehavior_Values() []string {
+ return []string{
+ RegistrationAssociationBehaviorAssociateBeforeSubmit,
+ RegistrationAssociationBehaviorAssociateOnApproval,
+ RegistrationAssociationBehaviorAssociateAfterComplete,
+ }
+}
+
+const (
+ // RegistrationAssociationFilterNameResourceType is a RegistrationAssociationFilterName enum value
+ RegistrationAssociationFilterNameResourceType = "resource-type"
+
+ // RegistrationAssociationFilterNameIsoCountryCode is a RegistrationAssociationFilterName enum value
+ RegistrationAssociationFilterNameIsoCountryCode = "iso-country-code"
+)
+
+// RegistrationAssociationFilterName_Values returns all elements of the RegistrationAssociationFilterName enum
+func RegistrationAssociationFilterName_Values() []string {
+ return []string{
+ RegistrationAssociationFilterNameResourceType,
+ RegistrationAssociationFilterNameIsoCountryCode,
+ }
+}
+
+const (
+ // RegistrationAttachmentFilterNameAttachmentStatus is a RegistrationAttachmentFilterName enum value
+ RegistrationAttachmentFilterNameAttachmentStatus = "attachment-status"
+)
+
+// RegistrationAttachmentFilterName_Values returns all elements of the RegistrationAttachmentFilterName enum
+func RegistrationAttachmentFilterName_Values() []string {
+ return []string{
+ RegistrationAttachmentFilterNameAttachmentStatus,
+ }
+}
+
+const (
+ // RegistrationDisassociationBehaviorDisassociateAllClosesRegistration is a RegistrationDisassociationBehavior enum value
+ RegistrationDisassociationBehaviorDisassociateAllClosesRegistration = "DISASSOCIATE_ALL_CLOSES_REGISTRATION"
+
+ // RegistrationDisassociationBehaviorDisassociateAllAllowsDeleteRegistration is a RegistrationDisassociationBehavior enum value
+ RegistrationDisassociationBehaviorDisassociateAllAllowsDeleteRegistration = "DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION"
+
+ // RegistrationDisassociationBehaviorDeleteRegistrationDisassociates is a RegistrationDisassociationBehavior enum value
+ RegistrationDisassociationBehaviorDeleteRegistrationDisassociates = "DELETE_REGISTRATION_DISASSOCIATES"
+)
+
+// RegistrationDisassociationBehavior_Values returns all elements of the RegistrationDisassociationBehavior enum
+func RegistrationDisassociationBehavior_Values() []string {
+ return []string{
+ RegistrationDisassociationBehaviorDisassociateAllClosesRegistration,
+ RegistrationDisassociationBehaviorDisassociateAllAllowsDeleteRegistration,
+ RegistrationDisassociationBehaviorDeleteRegistrationDisassociates,
+ }
+}
+
+const (
+ // RegistrationFilterNameRegistrationType is a RegistrationFilterName enum value
+ RegistrationFilterNameRegistrationType = "registration-type"
+
+ // RegistrationFilterNameRegistrationStatus is a RegistrationFilterName enum value
+ RegistrationFilterNameRegistrationStatus = "registration-status"
+)
+
+// RegistrationFilterName_Values returns all elements of the RegistrationFilterName enum
+func RegistrationFilterName_Values() []string {
+ return []string{
+ RegistrationFilterNameRegistrationType,
+ RegistrationFilterNameRegistrationStatus,
+ }
+}
+
+const (
+ // RegistrationStatusCreated is a RegistrationStatus enum value
+ RegistrationStatusCreated = "CREATED"
+
+ // RegistrationStatusSubmitted is a RegistrationStatus enum value
+ RegistrationStatusSubmitted = "SUBMITTED"
+
+ // RegistrationStatusReviewing is a RegistrationStatus enum value
+ RegistrationStatusReviewing = "REVIEWING"
+
+ // RegistrationStatusProvisioning is a RegistrationStatus enum value
+ RegistrationStatusProvisioning = "PROVISIONING"
+
+ // RegistrationStatusComplete is a RegistrationStatus enum value
+ RegistrationStatusComplete = "COMPLETE"
+
+ // RegistrationStatusRequiresUpdates is a RegistrationStatus enum value
+ RegistrationStatusRequiresUpdates = "REQUIRES_UPDATES"
+
+ // RegistrationStatusClosed is a RegistrationStatus enum value
+ RegistrationStatusClosed = "CLOSED"
+
+ // RegistrationStatusDeleted is a RegistrationStatus enum value
+ RegistrationStatusDeleted = "DELETED"
+)
+
+// RegistrationStatus_Values returns all elements of the RegistrationStatus enum
+func RegistrationStatus_Values() []string {
+ return []string{
+ RegistrationStatusCreated,
+ RegistrationStatusSubmitted,
+ RegistrationStatusReviewing,
+ RegistrationStatusProvisioning,
+ RegistrationStatusComplete,
+ RegistrationStatusRequiresUpdates,
+ RegistrationStatusClosed,
+ RegistrationStatusDeleted,
+ }
+}
+
+const (
+ // RegistrationTypeFilterNameSupportedAssociationResourceType is a RegistrationTypeFilterName enum value
+ RegistrationTypeFilterNameSupportedAssociationResourceType = "supported-association-resource-type"
+
+ // RegistrationTypeFilterNameSupportedAssociationIsoCountryCode is a RegistrationTypeFilterName enum value
+ RegistrationTypeFilterNameSupportedAssociationIsoCountryCode = "supported-association-iso-country-code"
+)
+
+// RegistrationTypeFilterName_Values returns all elements of the RegistrationTypeFilterName enum
+func RegistrationTypeFilterName_Values() []string {
+ return []string{
+ RegistrationTypeFilterNameSupportedAssociationResourceType,
+ RegistrationTypeFilterNameSupportedAssociationIsoCountryCode,
+ }
+}
+
+const (
+ // RegistrationVersionFilterNameRegistrationVersionStatus is a RegistrationVersionFilterName enum value
+ RegistrationVersionFilterNameRegistrationVersionStatus = "registration-version-status"
+)
+
+// RegistrationVersionFilterName_Values returns all elements of the RegistrationVersionFilterName enum
+func RegistrationVersionFilterName_Values() []string {
+ return []string{
+ RegistrationVersionFilterNameRegistrationVersionStatus,
+ }
+}
+
+const (
+ // RegistrationVersionStatusDraft is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusDraft = "DRAFT"
+
+ // RegistrationVersionStatusSubmitted is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusSubmitted = "SUBMITTED"
+
+ // RegistrationVersionStatusReviewing is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusReviewing = "REVIEWING"
+
+ // RegistrationVersionStatusApproved is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusApproved = "APPROVED"
+
+ // RegistrationVersionStatusDiscarded is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusDiscarded = "DISCARDED"
+
+ // RegistrationVersionStatusDenied is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusDenied = "DENIED"
+
+ // RegistrationVersionStatusRevoked is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusRevoked = "REVOKED"
+
+ // RegistrationVersionStatusArchived is a RegistrationVersionStatus enum value
+ RegistrationVersionStatusArchived = "ARCHIVED"
+)
+
+// RegistrationVersionStatus_Values returns all elements of the RegistrationVersionStatus enum
+func RegistrationVersionStatus_Values() []string {
+ return []string{
+ RegistrationVersionStatusDraft,
+ RegistrationVersionStatusSubmitted,
+ RegistrationVersionStatusReviewing,
+ RegistrationVersionStatusApproved,
+ RegistrationVersionStatusDiscarded,
+ RegistrationVersionStatusDenied,
+ RegistrationVersionStatusRevoked,
+ RegistrationVersionStatusArchived,
+ }
+}
+
const (
// RequestableNumberTypeLongCode is a RequestableNumberType enum value
RequestableNumberTypeLongCode = "LONG_CODE"
@@ -14156,6 +23809,9 @@ const (
// RequestableNumberTypeTenDlc is a RequestableNumberType enum value
RequestableNumberTypeTenDlc = "TEN_DLC"
+
+ // RequestableNumberTypeSimulator is a RequestableNumberType enum value
+ RequestableNumberTypeSimulator = "SIMULATOR"
)
// RequestableNumberType_Values returns all elements of the RequestableNumberType enum
@@ -14164,6 +23820,7 @@ func RequestableNumberType_Values() []string {
RequestableNumberTypeLongCode,
RequestableNumberTypeTollFree,
RequestableNumberTypeTenDlc,
+ RequestableNumberTypeSimulator,
}
}
@@ -14197,6 +23854,12 @@ const (
// ResourceTypeRegistration is a ResourceType enum value
ResourceTypeRegistration = "registration"
+
+ // ResourceTypeRegistrationAttachment is a ResourceType enum value
+ ResourceTypeRegistrationAttachment = "registration-attachment"
+
+ // ResourceTypeVerifiedDestinationNumber is a ResourceType enum value
+ ResourceTypeVerifiedDestinationNumber = "verified-destination-number"
)
// ResourceType_Values returns all elements of the ResourceType enum
@@ -14212,6 +23875,8 @@ func ResourceType_Values() []string {
ResourceTypeKeyword,
ResourceTypeOptedOutNumber,
ResourceTypeRegistration,
+ ResourceTypeRegistrationAttachment,
+ ResourceTypeVerifiedDestinationNumber,
}
}
@@ -14224,6 +23889,12 @@ const (
// SenderIdFilterNameMessageType is a SenderIdFilterName enum value
SenderIdFilterNameMessageType = "message-type"
+
+ // SenderIdFilterNameDeletionProtectionEnabled is a SenderIdFilterName enum value
+ SenderIdFilterNameDeletionProtectionEnabled = "deletion-protection-enabled"
+
+ // SenderIdFilterNameRegistered is a SenderIdFilterName enum value
+ SenderIdFilterNameRegistered = "registered"
)
// SenderIdFilterName_Values returns all elements of the SenderIdFilterName enum
@@ -14232,10 +23903,15 @@ func SenderIdFilterName_Values() []string {
SenderIdFilterNameSenderId,
SenderIdFilterNameIsoCountryCode,
SenderIdFilterNameMessageType,
+ SenderIdFilterNameDeletionProtectionEnabled,
+ SenderIdFilterNameRegistered,
}
}
const (
+ // ServiceQuotaExceededExceptionReasonAssociationsPerRegistration is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonAssociationsPerRegistration = "ASSOCIATIONS_PER_REGISTRATION"
+
// ServiceQuotaExceededExceptionReasonConfigurationSetsPerAccount is a ServiceQuotaExceededExceptionReason enum value
ServiceQuotaExceededExceptionReasonConfigurationSetsPerAccount = "CONFIGURATION_SETS_PER_ACCOUNT"
@@ -14272,13 +23948,35 @@ const (
// ServiceQuotaExceededExceptionReasonPoolsPerAccount is a ServiceQuotaExceededExceptionReason enum value
ServiceQuotaExceededExceptionReasonPoolsPerAccount = "POOLS_PER_ACCOUNT"
+ // ServiceQuotaExceededExceptionReasonRegistrationAttachmentsCreatedPerDay is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonRegistrationAttachmentsCreatedPerDay = "REGISTRATION_ATTACHMENTS_CREATED_PER_DAY"
+
+ // ServiceQuotaExceededExceptionReasonRegistrationAttachmentsPerAccount is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonRegistrationAttachmentsPerAccount = "REGISTRATION_ATTACHMENTS_PER_ACCOUNT"
+
+ // ServiceQuotaExceededExceptionReasonRegistrationVersionsCreatedPerDay is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonRegistrationVersionsCreatedPerDay = "REGISTRATION_VERSIONS_CREATED_PER_DAY"
+
+ // ServiceQuotaExceededExceptionReasonRegistrationsPerAccount is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonRegistrationsPerAccount = "REGISTRATIONS_PER_ACCOUNT"
+
+ // ServiceQuotaExceededExceptionReasonSenderIdsPerAccount is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonSenderIdsPerAccount = "SENDER_IDS_PER_ACCOUNT"
+
// ServiceQuotaExceededExceptionReasonTagsPerResource is a ServiceQuotaExceededExceptionReason enum value
ServiceQuotaExceededExceptionReasonTagsPerResource = "TAGS_PER_RESOURCE"
+
+ // ServiceQuotaExceededExceptionReasonVerifiedDestinationNumbersPerAccount is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonVerifiedDestinationNumbersPerAccount = "VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT"
+
+ // ServiceQuotaExceededExceptionReasonVerificationAttemptsPerDay is a ServiceQuotaExceededExceptionReason enum value
+ ServiceQuotaExceededExceptionReasonVerificationAttemptsPerDay = "VERIFICATION_ATTEMPTS_PER_DAY"
)
// ServiceQuotaExceededExceptionReason_Values returns all elements of the ServiceQuotaExceededExceptionReason enum
func ServiceQuotaExceededExceptionReason_Values() []string {
return []string{
+ ServiceQuotaExceededExceptionReasonAssociationsPerRegistration,
ServiceQuotaExceededExceptionReasonConfigurationSetsPerAccount,
ServiceQuotaExceededExceptionReasonDailyDestinationCallLimit,
ServiceQuotaExceededExceptionReasonEventDestinationsPerConfigurationSet,
@@ -14291,7 +23989,14 @@ func ServiceQuotaExceededExceptionReason_Values() []string {
ServiceQuotaExceededExceptionReasonPhoneNumbersPerAccount,
ServiceQuotaExceededExceptionReasonPhoneNumbersPerRegistration,
ServiceQuotaExceededExceptionReasonPoolsPerAccount,
+ ServiceQuotaExceededExceptionReasonRegistrationAttachmentsCreatedPerDay,
+ ServiceQuotaExceededExceptionReasonRegistrationAttachmentsPerAccount,
+ ServiceQuotaExceededExceptionReasonRegistrationVersionsCreatedPerDay,
+ ServiceQuotaExceededExceptionReasonRegistrationsPerAccount,
+ ServiceQuotaExceededExceptionReasonSenderIdsPerAccount,
ServiceQuotaExceededExceptionReasonTagsPerResource,
+ ServiceQuotaExceededExceptionReasonVerifiedDestinationNumbersPerAccount,
+ ServiceQuotaExceededExceptionReasonVerificationAttemptsPerDay,
}
}
@@ -14312,41 +24017,47 @@ func SpendLimitName_Values() []string {
}
const (
- // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
- ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION"
+ // ValidationExceptionReasonCannotAddOptedOutNumber is a ValidationExceptionReason enum value
+ ValidationExceptionReasonCannotAddOptedOutNumber = "CANNOT_ADD_OPTED_OUT_NUMBER"
// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
ValidationExceptionReasonCannotParse = "CANNOT_PARSE"
+ // ValidationExceptionReasonCountryCodeMismatch is a ValidationExceptionReason enum value
+ ValidationExceptionReasonCountryCodeMismatch = "COUNTRY_CODE_MISMATCH"
+
+ // ValidationExceptionReasonDestinationCountryBlocked is a ValidationExceptionReason enum value
+ ValidationExceptionReasonDestinationCountryBlocked = "DESTINATION_COUNTRY_BLOCKED"
+
// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED"
- // ValidationExceptionReasonOther is a ValidationExceptionReason enum value
- ValidationExceptionReasonOther = "OTHER"
-
- // ValidationExceptionReasonInvalidParameter is a ValidationExceptionReason enum value
- ValidationExceptionReasonInvalidParameter = "INVALID_PARAMETER"
+ // ValidationExceptionReasonAttachmentTypeNotSupported is a ValidationExceptionReason enum value
+ ValidationExceptionReasonAttachmentTypeNotSupported = "ATTACHMENT_TYPE_NOT_SUPPORTED"
// ValidationExceptionReasonInvalidArn is a ValidationExceptionReason enum value
ValidationExceptionReasonInvalidArn = "INVALID_ARN"
+ // ValidationExceptionReasonInvalidFilterValues is a ValidationExceptionReason enum value
+ ValidationExceptionReasonInvalidFilterValues = "INVALID_FILTER_VALUES"
+
// ValidationExceptionReasonInvalidIdentityForDestinationCountry is a ValidationExceptionReason enum value
ValidationExceptionReasonInvalidIdentityForDestinationCountry = "INVALID_IDENTITY_FOR_DESTINATION_COUNTRY"
- // ValidationExceptionReasonDestinationCountryBlocked is a ValidationExceptionReason enum value
- ValidationExceptionReasonDestinationCountryBlocked = "DESTINATION_COUNTRY_BLOCKED"
+ // ValidationExceptionReasonInvalidNextToken is a ValidationExceptionReason enum value
+ ValidationExceptionReasonInvalidNextToken = "INVALID_NEXT_TOKEN"
- // ValidationExceptionReasonCannotAddOptedOutNumber is a ValidationExceptionReason enum value
- ValidationExceptionReasonCannotAddOptedOutNumber = "CANNOT_ADD_OPTED_OUT_NUMBER"
+ // ValidationExceptionReasonInvalidParameter is a ValidationExceptionReason enum value
+ ValidationExceptionReasonInvalidParameter = "INVALID_PARAMETER"
- // ValidationExceptionReasonCountryCodeMismatch is a ValidationExceptionReason enum value
- ValidationExceptionReasonCountryCodeMismatch = "COUNTRY_CODE_MISMATCH"
+ // ValidationExceptionReasonInvalidRequest is a ValidationExceptionReason enum value
+ ValidationExceptionReasonInvalidRequest = "INVALID_REQUEST"
- // ValidationExceptionReasonInvalidFilterValues is a ValidationExceptionReason enum value
- ValidationExceptionReasonInvalidFilterValues = "INVALID_FILTER_VALUES"
+ // ValidationExceptionReasonInvalidRegistrationAssociation is a ValidationExceptionReason enum value
+ ValidationExceptionReasonInvalidRegistrationAssociation = "INVALID_REGISTRATION_ASSOCIATION"
- // ValidationExceptionReasonInvalidNextToken is a ValidationExceptionReason enum value
- ValidationExceptionReasonInvalidNextToken = "INVALID_NEXT_TOKEN"
+ // ValidationExceptionReasonMaximumSizeExceeded is a ValidationExceptionReason enum value
+ ValidationExceptionReasonMaximumSizeExceeded = "MAXIMUM_SIZE_EXCEEDED"
// ValidationExceptionReasonMissingParameter is a ValidationExceptionReason enum value
ValidationExceptionReasonMissingParameter = "MISSING_PARAMETER"
@@ -14363,6 +24074,9 @@ const (
// ValidationExceptionReasonPriceOverThreshold is a ValidationExceptionReason enum value
ValidationExceptionReasonPriceOverThreshold = "PRICE_OVER_THRESHOLD"
+ // ValidationExceptionReasonResourceNotAccessible is a ValidationExceptionReason enum value
+ ValidationExceptionReasonResourceNotAccessible = "RESOURCE_NOT_ACCESSIBLE"
+
// ValidationExceptionReasonRequestedSpendLimitHigherThanServiceLimit is a ValidationExceptionReason enum value
ValidationExceptionReasonRequestedSpendLimitHigherThanServiceLimit = "REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT"
@@ -14372,6 +24086,12 @@ const (
// ValidationExceptionReasonSenderIdNotSupported is a ValidationExceptionReason enum value
ValidationExceptionReasonSenderIdNotSupported = "SENDER_ID_NOT_SUPPORTED"
+ // ValidationExceptionReasonSenderIdRequiresRegistration is a ValidationExceptionReason enum value
+ ValidationExceptionReasonSenderIdRequiresRegistration = "SENDER_ID_REQUIRES_REGISTRATION"
+
+ // ValidationExceptionReasonTwoWayTopicNotPresent is a ValidationExceptionReason enum value
+ ValidationExceptionReasonTwoWayTopicNotPresent = "TWO_WAY_TOPIC_NOT_PRESENT"
+
// ValidationExceptionReasonTwoWayNotEnabled is a ValidationExceptionReason enum value
ValidationExceptionReasonTwoWayNotEnabled = "TWO_WAY_NOT_ENABLED"
@@ -14381,37 +24101,122 @@ const (
// ValidationExceptionReasonTwoWayNotSupportedInRegion is a ValidationExceptionReason enum value
ValidationExceptionReasonTwoWayNotSupportedInRegion = "TWO_WAY_NOT_SUPPORTED_IN_REGION"
- // ValidationExceptionReasonTwoWayTopicNotPresent is a ValidationExceptionReason enum value
- ValidationExceptionReasonTwoWayTopicNotPresent = "TWO_WAY_TOPIC_NOT_PRESENT"
+ // ValidationExceptionReasonTwoWayChannelNotPresent is a ValidationExceptionReason enum value
+ ValidationExceptionReasonTwoWayChannelNotPresent = "TWO_WAY_CHANNEL_NOT_PRESENT"
+
+ // ValidationExceptionReasonUnknownRegistrationField is a ValidationExceptionReason enum value
+ ValidationExceptionReasonUnknownRegistrationField = "UNKNOWN_REGISTRATION_FIELD"
+
+ // ValidationExceptionReasonUnknownRegistrationSection is a ValidationExceptionReason enum value
+ ValidationExceptionReasonUnknownRegistrationSection = "UNKNOWN_REGISTRATION_SECTION"
+
+ // ValidationExceptionReasonUnknownRegistrationType is a ValidationExceptionReason enum value
+ ValidationExceptionReasonUnknownRegistrationType = "UNKNOWN_REGISTRATION_TYPE"
+
+ // ValidationExceptionReasonUnknownRegistrationVersion is a ValidationExceptionReason enum value
+ ValidationExceptionReasonUnknownRegistrationVersion = "UNKNOWN_REGISTRATION_VERSION"
+
+ // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
+ ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION"
+
+ // ValidationExceptionReasonRegistrationFieldCannotBeDeleted is a ValidationExceptionReason enum value
+ ValidationExceptionReasonRegistrationFieldCannotBeDeleted = "REGISTRATION_FIELD_CANNOT_BE_DELETED"
+
+ // ValidationExceptionReasonVerificationCodeMismatch is a ValidationExceptionReason enum value
+ ValidationExceptionReasonVerificationCodeMismatch = "VERIFICATION_CODE_MISMATCH"
+
+ // ValidationExceptionReasonVoiceCapabilityNotAvailable is a ValidationExceptionReason enum value
+ ValidationExceptionReasonVoiceCapabilityNotAvailable = "VOICE_CAPABILITY_NOT_AVAILABLE"
+
+ // ValidationExceptionReasonOther is a ValidationExceptionReason enum value
+ ValidationExceptionReasonOther = "OTHER"
)
// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum
func ValidationExceptionReason_Values() []string {
return []string{
- ValidationExceptionReasonUnknownOperation,
+ ValidationExceptionReasonCannotAddOptedOutNumber,
ValidationExceptionReasonCannotParse,
+ ValidationExceptionReasonCountryCodeMismatch,
+ ValidationExceptionReasonDestinationCountryBlocked,
ValidationExceptionReasonFieldValidationFailed,
- ValidationExceptionReasonOther,
- ValidationExceptionReasonInvalidParameter,
+ ValidationExceptionReasonAttachmentTypeNotSupported,
ValidationExceptionReasonInvalidArn,
- ValidationExceptionReasonInvalidIdentityForDestinationCountry,
- ValidationExceptionReasonDestinationCountryBlocked,
- ValidationExceptionReasonCannotAddOptedOutNumber,
- ValidationExceptionReasonCountryCodeMismatch,
ValidationExceptionReasonInvalidFilterValues,
+ ValidationExceptionReasonInvalidIdentityForDestinationCountry,
ValidationExceptionReasonInvalidNextToken,
+ ValidationExceptionReasonInvalidParameter,
+ ValidationExceptionReasonInvalidRequest,
+ ValidationExceptionReasonInvalidRegistrationAssociation,
+ ValidationExceptionReasonMaximumSizeExceeded,
ValidationExceptionReasonMissingParameter,
ValidationExceptionReasonParametersCannotBeUsedTogether,
ValidationExceptionReasonPhoneNumberCannotBeOptedIn,
ValidationExceptionReasonPhoneNumberCannotBeReleased,
ValidationExceptionReasonPriceOverThreshold,
+ ValidationExceptionReasonResourceNotAccessible,
ValidationExceptionReasonRequestedSpendLimitHigherThanServiceLimit,
ValidationExceptionReasonSenderIdNotRegistered,
ValidationExceptionReasonSenderIdNotSupported,
+ ValidationExceptionReasonSenderIdRequiresRegistration,
+ ValidationExceptionReasonTwoWayTopicNotPresent,
ValidationExceptionReasonTwoWayNotEnabled,
ValidationExceptionReasonTwoWayNotSupportedInCountry,
ValidationExceptionReasonTwoWayNotSupportedInRegion,
- ValidationExceptionReasonTwoWayTopicNotPresent,
+ ValidationExceptionReasonTwoWayChannelNotPresent,
+ ValidationExceptionReasonUnknownRegistrationField,
+ ValidationExceptionReasonUnknownRegistrationSection,
+ ValidationExceptionReasonUnknownRegistrationType,
+ ValidationExceptionReasonUnknownRegistrationVersion,
+ ValidationExceptionReasonUnknownOperation,
+ ValidationExceptionReasonRegistrationFieldCannotBeDeleted,
+ ValidationExceptionReasonVerificationCodeMismatch,
+ ValidationExceptionReasonVoiceCapabilityNotAvailable,
+ ValidationExceptionReasonOther,
+ }
+}
+
+const (
+ // VerificationChannelText is a VerificationChannel enum value
+ VerificationChannelText = "TEXT"
+
+ // VerificationChannelVoice is a VerificationChannel enum value
+ VerificationChannelVoice = "VOICE"
+)
+
+// VerificationChannel_Values returns all elements of the VerificationChannel enum
+func VerificationChannel_Values() []string {
+ return []string{
+ VerificationChannelText,
+ VerificationChannelVoice,
+ }
+}
+
+const (
+ // VerificationStatusPending is a VerificationStatus enum value
+ VerificationStatusPending = "PENDING"
+
+ // VerificationStatusVerified is a VerificationStatus enum value
+ VerificationStatusVerified = "VERIFIED"
+)
+
+// VerificationStatus_Values returns all elements of the VerificationStatus enum
+func VerificationStatus_Values() []string {
+ return []string{
+ VerificationStatusPending,
+ VerificationStatusVerified,
+ }
+}
+
+const (
+ // VerifiedDestinationNumberFilterNameStatus is a VerifiedDestinationNumberFilterName enum value
+ VerifiedDestinationNumberFilterNameStatus = "status"
+)
+
+// VerifiedDestinationNumberFilterName_Values returns all elements of the VerifiedDestinationNumberFilterName enum
+func VerifiedDestinationNumberFilterName_Values() []string {
+ return []string{
+ VerifiedDestinationNumberFilterNameStatus,
}
}
diff --git a/service/pinpointsmsvoicev2/doc.go b/service/pinpointsmsvoicev2/doc.go
index a3051d187ff..53a6c96f719 100644
--- a/service/pinpointsmsvoicev2/doc.go
+++ b/service/pinpointsmsvoicev2/doc.go
@@ -22,6 +22,25 @@
// Pinpoint integration with other Amazon Web Services services, and the quotas
// that apply to use of the service.
//
+// # Regional availability
+//
+// The Amazon Pinpoint SMS and Voice, version 2 API Reference is available in
+// several Amazon Web Services Regions and it provides an endpoint for each
+// of these Regions. For a list of all the Regions and endpoints where the API
+// is currently available, see Amazon Web Services Service Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#pinpoint_region)
+// and Amazon Pinpoint endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/pinpoint.html)
+// in the Amazon Web Services General Reference. To learn more about Amazon
+// Web Services Regions, see Managing Amazon Web Services Regions (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html)
+// in the Amazon Web Services General Reference.
+//
+// In each Region, Amazon Web Services maintains multiple Availability Zones.
+// These Availability Zones are physically isolated from each other, but are
+// united by private, low-latency, high-throughput, and highly redundant network
+// connections. These Availability Zones enable us to provide very high levels
+// of availability and redundancy, while also minimizing latency. To learn more
+// about the number of Availability Zones that are available in each Region,
+// see Amazon Web Services Global Infrastructure. (https://aws.amazon.com/about-aws/global-infrastructure/)
+//
// See https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31 for more information on this service.
//
// See pinpointsmsvoicev2 package documentation for more information.
diff --git a/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go b/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go
index b54060368be..f5548defac8 100644
--- a/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go
+++ b/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go
@@ -80,6 +80,26 @@ type PinpointSMSVoiceV2API interface {
CreatePoolWithContext(aws.Context, *pinpointsmsvoicev2.CreatePoolInput, ...request.Option) (*pinpointsmsvoicev2.CreatePoolOutput, error)
CreatePoolRequest(*pinpointsmsvoicev2.CreatePoolInput) (*request.Request, *pinpointsmsvoicev2.CreatePoolOutput)
+ CreateRegistration(*pinpointsmsvoicev2.CreateRegistrationInput) (*pinpointsmsvoicev2.CreateRegistrationOutput, error)
+ CreateRegistrationWithContext(aws.Context, *pinpointsmsvoicev2.CreateRegistrationInput, ...request.Option) (*pinpointsmsvoicev2.CreateRegistrationOutput, error)
+ CreateRegistrationRequest(*pinpointsmsvoicev2.CreateRegistrationInput) (*request.Request, *pinpointsmsvoicev2.CreateRegistrationOutput)
+
+ CreateRegistrationAssociation(*pinpointsmsvoicev2.CreateRegistrationAssociationInput) (*pinpointsmsvoicev2.CreateRegistrationAssociationOutput, error)
+ CreateRegistrationAssociationWithContext(aws.Context, *pinpointsmsvoicev2.CreateRegistrationAssociationInput, ...request.Option) (*pinpointsmsvoicev2.CreateRegistrationAssociationOutput, error)
+ CreateRegistrationAssociationRequest(*pinpointsmsvoicev2.CreateRegistrationAssociationInput) (*request.Request, *pinpointsmsvoicev2.CreateRegistrationAssociationOutput)
+
+ CreateRegistrationAttachment(*pinpointsmsvoicev2.CreateRegistrationAttachmentInput) (*pinpointsmsvoicev2.CreateRegistrationAttachmentOutput, error)
+ CreateRegistrationAttachmentWithContext(aws.Context, *pinpointsmsvoicev2.CreateRegistrationAttachmentInput, ...request.Option) (*pinpointsmsvoicev2.CreateRegistrationAttachmentOutput, error)
+ CreateRegistrationAttachmentRequest(*pinpointsmsvoicev2.CreateRegistrationAttachmentInput) (*request.Request, *pinpointsmsvoicev2.CreateRegistrationAttachmentOutput)
+
+ CreateRegistrationVersion(*pinpointsmsvoicev2.CreateRegistrationVersionInput) (*pinpointsmsvoicev2.CreateRegistrationVersionOutput, error)
+ CreateRegistrationVersionWithContext(aws.Context, *pinpointsmsvoicev2.CreateRegistrationVersionInput, ...request.Option) (*pinpointsmsvoicev2.CreateRegistrationVersionOutput, error)
+ CreateRegistrationVersionRequest(*pinpointsmsvoicev2.CreateRegistrationVersionInput) (*request.Request, *pinpointsmsvoicev2.CreateRegistrationVersionOutput)
+
+ CreateVerifiedDestinationNumber(*pinpointsmsvoicev2.CreateVerifiedDestinationNumberInput) (*pinpointsmsvoicev2.CreateVerifiedDestinationNumberOutput, error)
+ CreateVerifiedDestinationNumberWithContext(aws.Context, *pinpointsmsvoicev2.CreateVerifiedDestinationNumberInput, ...request.Option) (*pinpointsmsvoicev2.CreateVerifiedDestinationNumberOutput, error)
+ CreateVerifiedDestinationNumberRequest(*pinpointsmsvoicev2.CreateVerifiedDestinationNumberInput) (*request.Request, *pinpointsmsvoicev2.CreateVerifiedDestinationNumberOutput)
+
DeleteConfigurationSet(*pinpointsmsvoicev2.DeleteConfigurationSetInput) (*pinpointsmsvoicev2.DeleteConfigurationSetOutput, error)
DeleteConfigurationSetWithContext(aws.Context, *pinpointsmsvoicev2.DeleteConfigurationSetInput, ...request.Option) (*pinpointsmsvoicev2.DeleteConfigurationSetOutput, error)
DeleteConfigurationSetRequest(*pinpointsmsvoicev2.DeleteConfigurationSetInput) (*request.Request, *pinpointsmsvoicev2.DeleteConfigurationSetOutput)
@@ -112,10 +132,26 @@ type PinpointSMSVoiceV2API interface {
DeletePoolWithContext(aws.Context, *pinpointsmsvoicev2.DeletePoolInput, ...request.Option) (*pinpointsmsvoicev2.DeletePoolOutput, error)
DeletePoolRequest(*pinpointsmsvoicev2.DeletePoolInput) (*request.Request, *pinpointsmsvoicev2.DeletePoolOutput)
+ DeleteRegistration(*pinpointsmsvoicev2.DeleteRegistrationInput) (*pinpointsmsvoicev2.DeleteRegistrationOutput, error)
+ DeleteRegistrationWithContext(aws.Context, *pinpointsmsvoicev2.DeleteRegistrationInput, ...request.Option) (*pinpointsmsvoicev2.DeleteRegistrationOutput, error)
+ DeleteRegistrationRequest(*pinpointsmsvoicev2.DeleteRegistrationInput) (*request.Request, *pinpointsmsvoicev2.DeleteRegistrationOutput)
+
+ DeleteRegistrationAttachment(*pinpointsmsvoicev2.DeleteRegistrationAttachmentInput) (*pinpointsmsvoicev2.DeleteRegistrationAttachmentOutput, error)
+ DeleteRegistrationAttachmentWithContext(aws.Context, *pinpointsmsvoicev2.DeleteRegistrationAttachmentInput, ...request.Option) (*pinpointsmsvoicev2.DeleteRegistrationAttachmentOutput, error)
+ DeleteRegistrationAttachmentRequest(*pinpointsmsvoicev2.DeleteRegistrationAttachmentInput) (*request.Request, *pinpointsmsvoicev2.DeleteRegistrationAttachmentOutput)
+
+ DeleteRegistrationFieldValue(*pinpointsmsvoicev2.DeleteRegistrationFieldValueInput) (*pinpointsmsvoicev2.DeleteRegistrationFieldValueOutput, error)
+ DeleteRegistrationFieldValueWithContext(aws.Context, *pinpointsmsvoicev2.DeleteRegistrationFieldValueInput, ...request.Option) (*pinpointsmsvoicev2.DeleteRegistrationFieldValueOutput, error)
+ DeleteRegistrationFieldValueRequest(*pinpointsmsvoicev2.DeleteRegistrationFieldValueInput) (*request.Request, *pinpointsmsvoicev2.DeleteRegistrationFieldValueOutput)
+
DeleteTextMessageSpendLimitOverride(*pinpointsmsvoicev2.DeleteTextMessageSpendLimitOverrideInput) (*pinpointsmsvoicev2.DeleteTextMessageSpendLimitOverrideOutput, error)
DeleteTextMessageSpendLimitOverrideWithContext(aws.Context, *pinpointsmsvoicev2.DeleteTextMessageSpendLimitOverrideInput, ...request.Option) (*pinpointsmsvoicev2.DeleteTextMessageSpendLimitOverrideOutput, error)
DeleteTextMessageSpendLimitOverrideRequest(*pinpointsmsvoicev2.DeleteTextMessageSpendLimitOverrideInput) (*request.Request, *pinpointsmsvoicev2.DeleteTextMessageSpendLimitOverrideOutput)
+ DeleteVerifiedDestinationNumber(*pinpointsmsvoicev2.DeleteVerifiedDestinationNumberInput) (*pinpointsmsvoicev2.DeleteVerifiedDestinationNumberOutput, error)
+ DeleteVerifiedDestinationNumberWithContext(aws.Context, *pinpointsmsvoicev2.DeleteVerifiedDestinationNumberInput, ...request.Option) (*pinpointsmsvoicev2.DeleteVerifiedDestinationNumberOutput, error)
+ DeleteVerifiedDestinationNumberRequest(*pinpointsmsvoicev2.DeleteVerifiedDestinationNumberInput) (*request.Request, *pinpointsmsvoicev2.DeleteVerifiedDestinationNumberOutput)
+
DeleteVoiceMessageSpendLimitOverride(*pinpointsmsvoicev2.DeleteVoiceMessageSpendLimitOverrideInput) (*pinpointsmsvoicev2.DeleteVoiceMessageSpendLimitOverrideOutput, error)
DeleteVoiceMessageSpendLimitOverrideWithContext(aws.Context, *pinpointsmsvoicev2.DeleteVoiceMessageSpendLimitOverrideInput, ...request.Option) (*pinpointsmsvoicev2.DeleteVoiceMessageSpendLimitOverrideOutput, error)
DeleteVoiceMessageSpendLimitOverrideRequest(*pinpointsmsvoicev2.DeleteVoiceMessageSpendLimitOverrideInput) (*request.Request, *pinpointsmsvoicev2.DeleteVoiceMessageSpendLimitOverrideOutput)
@@ -176,6 +212,55 @@ type PinpointSMSVoiceV2API interface {
DescribePoolsPages(*pinpointsmsvoicev2.DescribePoolsInput, func(*pinpointsmsvoicev2.DescribePoolsOutput, bool) bool) error
DescribePoolsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribePoolsInput, func(*pinpointsmsvoicev2.DescribePoolsOutput, bool) bool, ...request.Option) error
+ DescribeRegistrationAttachments(*pinpointsmsvoicev2.DescribeRegistrationAttachmentsInput) (*pinpointsmsvoicev2.DescribeRegistrationAttachmentsOutput, error)
+ DescribeRegistrationAttachmentsWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationAttachmentsInput, ...request.Option) (*pinpointsmsvoicev2.DescribeRegistrationAttachmentsOutput, error)
+ DescribeRegistrationAttachmentsRequest(*pinpointsmsvoicev2.DescribeRegistrationAttachmentsInput) (*request.Request, *pinpointsmsvoicev2.DescribeRegistrationAttachmentsOutput)
+
+ DescribeRegistrationAttachmentsPages(*pinpointsmsvoicev2.DescribeRegistrationAttachmentsInput, func(*pinpointsmsvoicev2.DescribeRegistrationAttachmentsOutput, bool) bool) error
+ DescribeRegistrationAttachmentsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationAttachmentsInput, func(*pinpointsmsvoicev2.DescribeRegistrationAttachmentsOutput, bool) bool, ...request.Option) error
+
+ DescribeRegistrationFieldDefinitions(*pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsInput) (*pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsOutput, error)
+ DescribeRegistrationFieldDefinitionsWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsInput, ...request.Option) (*pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsOutput, error)
+ DescribeRegistrationFieldDefinitionsRequest(*pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsInput) (*request.Request, *pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsOutput)
+
+ DescribeRegistrationFieldDefinitionsPages(*pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsOutput, bool) bool) error
+ DescribeRegistrationFieldDefinitionsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationFieldDefinitionsOutput, bool) bool, ...request.Option) error
+
+ DescribeRegistrationFieldValues(*pinpointsmsvoicev2.DescribeRegistrationFieldValuesInput) (*pinpointsmsvoicev2.DescribeRegistrationFieldValuesOutput, error)
+ DescribeRegistrationFieldValuesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationFieldValuesInput, ...request.Option) (*pinpointsmsvoicev2.DescribeRegistrationFieldValuesOutput, error)
+ DescribeRegistrationFieldValuesRequest(*pinpointsmsvoicev2.DescribeRegistrationFieldValuesInput) (*request.Request, *pinpointsmsvoicev2.DescribeRegistrationFieldValuesOutput)
+
+ DescribeRegistrationFieldValuesPages(*pinpointsmsvoicev2.DescribeRegistrationFieldValuesInput, func(*pinpointsmsvoicev2.DescribeRegistrationFieldValuesOutput, bool) bool) error
+ DescribeRegistrationFieldValuesPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationFieldValuesInput, func(*pinpointsmsvoicev2.DescribeRegistrationFieldValuesOutput, bool) bool, ...request.Option) error
+
+ DescribeRegistrationSectionDefinitions(*pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsInput) (*pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsOutput, error)
+ DescribeRegistrationSectionDefinitionsWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsInput, ...request.Option) (*pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsOutput, error)
+ DescribeRegistrationSectionDefinitionsRequest(*pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsInput) (*request.Request, *pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsOutput)
+
+ DescribeRegistrationSectionDefinitionsPages(*pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsOutput, bool) bool) error
+ DescribeRegistrationSectionDefinitionsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationSectionDefinitionsOutput, bool) bool, ...request.Option) error
+
+ DescribeRegistrationTypeDefinitions(*pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsInput) (*pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsOutput, error)
+ DescribeRegistrationTypeDefinitionsWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsInput, ...request.Option) (*pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsOutput, error)
+ DescribeRegistrationTypeDefinitionsRequest(*pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsInput) (*request.Request, *pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsOutput)
+
+ DescribeRegistrationTypeDefinitionsPages(*pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsOutput, bool) bool) error
+ DescribeRegistrationTypeDefinitionsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationTypeDefinitionsOutput, bool) bool, ...request.Option) error
+
+ DescribeRegistrationVersions(*pinpointsmsvoicev2.DescribeRegistrationVersionsInput) (*pinpointsmsvoicev2.DescribeRegistrationVersionsOutput, error)
+ DescribeRegistrationVersionsWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationVersionsInput, ...request.Option) (*pinpointsmsvoicev2.DescribeRegistrationVersionsOutput, error)
+ DescribeRegistrationVersionsRequest(*pinpointsmsvoicev2.DescribeRegistrationVersionsInput) (*request.Request, *pinpointsmsvoicev2.DescribeRegistrationVersionsOutput)
+
+ DescribeRegistrationVersionsPages(*pinpointsmsvoicev2.DescribeRegistrationVersionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationVersionsOutput, bool) bool) error
+ DescribeRegistrationVersionsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationVersionsInput, func(*pinpointsmsvoicev2.DescribeRegistrationVersionsOutput, bool) bool, ...request.Option) error
+
+ DescribeRegistrations(*pinpointsmsvoicev2.DescribeRegistrationsInput) (*pinpointsmsvoicev2.DescribeRegistrationsOutput, error)
+ DescribeRegistrationsWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationsInput, ...request.Option) (*pinpointsmsvoicev2.DescribeRegistrationsOutput, error)
+ DescribeRegistrationsRequest(*pinpointsmsvoicev2.DescribeRegistrationsInput) (*request.Request, *pinpointsmsvoicev2.DescribeRegistrationsOutput)
+
+ DescribeRegistrationsPages(*pinpointsmsvoicev2.DescribeRegistrationsInput, func(*pinpointsmsvoicev2.DescribeRegistrationsOutput, bool) bool) error
+ DescribeRegistrationsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeRegistrationsInput, func(*pinpointsmsvoicev2.DescribeRegistrationsOutput, bool) bool, ...request.Option) error
+
DescribeSenderIds(*pinpointsmsvoicev2.DescribeSenderIdsInput) (*pinpointsmsvoicev2.DescribeSenderIdsOutput, error)
DescribeSenderIdsWithContext(aws.Context, *pinpointsmsvoicev2.DescribeSenderIdsInput, ...request.Option) (*pinpointsmsvoicev2.DescribeSenderIdsOutput, error)
DescribeSenderIdsRequest(*pinpointsmsvoicev2.DescribeSenderIdsInput) (*request.Request, *pinpointsmsvoicev2.DescribeSenderIdsOutput)
@@ -190,10 +275,21 @@ type PinpointSMSVoiceV2API interface {
DescribeSpendLimitsPages(*pinpointsmsvoicev2.DescribeSpendLimitsInput, func(*pinpointsmsvoicev2.DescribeSpendLimitsOutput, bool) bool) error
DescribeSpendLimitsPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeSpendLimitsInput, func(*pinpointsmsvoicev2.DescribeSpendLimitsOutput, bool) bool, ...request.Option) error
+ DescribeVerifiedDestinationNumbers(*pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersInput) (*pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersOutput, error)
+ DescribeVerifiedDestinationNumbersWithContext(aws.Context, *pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersInput, ...request.Option) (*pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersOutput, error)
+ DescribeVerifiedDestinationNumbersRequest(*pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersInput) (*request.Request, *pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersOutput)
+
+ DescribeVerifiedDestinationNumbersPages(*pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersInput, func(*pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersOutput, bool) bool) error
+ DescribeVerifiedDestinationNumbersPagesWithContext(aws.Context, *pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersInput, func(*pinpointsmsvoicev2.DescribeVerifiedDestinationNumbersOutput, bool) bool, ...request.Option) error
+
DisassociateOriginationIdentity(*pinpointsmsvoicev2.DisassociateOriginationIdentityInput) (*pinpointsmsvoicev2.DisassociateOriginationIdentityOutput, error)
DisassociateOriginationIdentityWithContext(aws.Context, *pinpointsmsvoicev2.DisassociateOriginationIdentityInput, ...request.Option) (*pinpointsmsvoicev2.DisassociateOriginationIdentityOutput, error)
DisassociateOriginationIdentityRequest(*pinpointsmsvoicev2.DisassociateOriginationIdentityInput) (*request.Request, *pinpointsmsvoicev2.DisassociateOriginationIdentityOutput)
+ DiscardRegistrationVersion(*pinpointsmsvoicev2.DiscardRegistrationVersionInput) (*pinpointsmsvoicev2.DiscardRegistrationVersionOutput, error)
+ DiscardRegistrationVersionWithContext(aws.Context, *pinpointsmsvoicev2.DiscardRegistrationVersionInput, ...request.Option) (*pinpointsmsvoicev2.DiscardRegistrationVersionOutput, error)
+ DiscardRegistrationVersionRequest(*pinpointsmsvoicev2.DiscardRegistrationVersionInput) (*request.Request, *pinpointsmsvoicev2.DiscardRegistrationVersionOutput)
+
ListPoolOriginationIdentities(*pinpointsmsvoicev2.ListPoolOriginationIdentitiesInput) (*pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, error)
ListPoolOriginationIdentitiesWithContext(aws.Context, *pinpointsmsvoicev2.ListPoolOriginationIdentitiesInput, ...request.Option) (*pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, error)
ListPoolOriginationIdentitiesRequest(*pinpointsmsvoicev2.ListPoolOriginationIdentitiesInput) (*request.Request, *pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput)
@@ -201,6 +297,13 @@ type PinpointSMSVoiceV2API interface {
ListPoolOriginationIdentitiesPages(*pinpointsmsvoicev2.ListPoolOriginationIdentitiesInput, func(*pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, bool) bool) error
ListPoolOriginationIdentitiesPagesWithContext(aws.Context, *pinpointsmsvoicev2.ListPoolOriginationIdentitiesInput, func(*pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, bool) bool, ...request.Option) error
+ ListRegistrationAssociations(*pinpointsmsvoicev2.ListRegistrationAssociationsInput) (*pinpointsmsvoicev2.ListRegistrationAssociationsOutput, error)
+ ListRegistrationAssociationsWithContext(aws.Context, *pinpointsmsvoicev2.ListRegistrationAssociationsInput, ...request.Option) (*pinpointsmsvoicev2.ListRegistrationAssociationsOutput, error)
+ ListRegistrationAssociationsRequest(*pinpointsmsvoicev2.ListRegistrationAssociationsInput) (*request.Request, *pinpointsmsvoicev2.ListRegistrationAssociationsOutput)
+
+ ListRegistrationAssociationsPages(*pinpointsmsvoicev2.ListRegistrationAssociationsInput, func(*pinpointsmsvoicev2.ListRegistrationAssociationsOutput, bool) bool) error
+ ListRegistrationAssociationsPagesWithContext(aws.Context, *pinpointsmsvoicev2.ListRegistrationAssociationsInput, func(*pinpointsmsvoicev2.ListRegistrationAssociationsOutput, bool) bool, ...request.Option) error
+
ListTagsForResource(*pinpointsmsvoicev2.ListTagsForResourceInput) (*pinpointsmsvoicev2.ListTagsForResourceOutput, error)
ListTagsForResourceWithContext(aws.Context, *pinpointsmsvoicev2.ListTagsForResourceInput, ...request.Option) (*pinpointsmsvoicev2.ListTagsForResourceOutput, error)
ListTagsForResourceRequest(*pinpointsmsvoicev2.ListTagsForResourceInput) (*request.Request, *pinpointsmsvoicev2.ListTagsForResourceOutput)
@@ -213,14 +316,30 @@ type PinpointSMSVoiceV2API interface {
PutOptedOutNumberWithContext(aws.Context, *pinpointsmsvoicev2.PutOptedOutNumberInput, ...request.Option) (*pinpointsmsvoicev2.PutOptedOutNumberOutput, error)
PutOptedOutNumberRequest(*pinpointsmsvoicev2.PutOptedOutNumberInput) (*request.Request, *pinpointsmsvoicev2.PutOptedOutNumberOutput)
+ PutRegistrationFieldValue(*pinpointsmsvoicev2.PutRegistrationFieldValueInput) (*pinpointsmsvoicev2.PutRegistrationFieldValueOutput, error)
+ PutRegistrationFieldValueWithContext(aws.Context, *pinpointsmsvoicev2.PutRegistrationFieldValueInput, ...request.Option) (*pinpointsmsvoicev2.PutRegistrationFieldValueOutput, error)
+ PutRegistrationFieldValueRequest(*pinpointsmsvoicev2.PutRegistrationFieldValueInput) (*request.Request, *pinpointsmsvoicev2.PutRegistrationFieldValueOutput)
+
ReleasePhoneNumber(*pinpointsmsvoicev2.ReleasePhoneNumberInput) (*pinpointsmsvoicev2.ReleasePhoneNumberOutput, error)
ReleasePhoneNumberWithContext(aws.Context, *pinpointsmsvoicev2.ReleasePhoneNumberInput, ...request.Option) (*pinpointsmsvoicev2.ReleasePhoneNumberOutput, error)
ReleasePhoneNumberRequest(*pinpointsmsvoicev2.ReleasePhoneNumberInput) (*request.Request, *pinpointsmsvoicev2.ReleasePhoneNumberOutput)
+ ReleaseSenderId(*pinpointsmsvoicev2.ReleaseSenderIdInput) (*pinpointsmsvoicev2.ReleaseSenderIdOutput, error)
+ ReleaseSenderIdWithContext(aws.Context, *pinpointsmsvoicev2.ReleaseSenderIdInput, ...request.Option) (*pinpointsmsvoicev2.ReleaseSenderIdOutput, error)
+ ReleaseSenderIdRequest(*pinpointsmsvoicev2.ReleaseSenderIdInput) (*request.Request, *pinpointsmsvoicev2.ReleaseSenderIdOutput)
+
RequestPhoneNumber(*pinpointsmsvoicev2.RequestPhoneNumberInput) (*pinpointsmsvoicev2.RequestPhoneNumberOutput, error)
RequestPhoneNumberWithContext(aws.Context, *pinpointsmsvoicev2.RequestPhoneNumberInput, ...request.Option) (*pinpointsmsvoicev2.RequestPhoneNumberOutput, error)
RequestPhoneNumberRequest(*pinpointsmsvoicev2.RequestPhoneNumberInput) (*request.Request, *pinpointsmsvoicev2.RequestPhoneNumberOutput)
+ RequestSenderId(*pinpointsmsvoicev2.RequestSenderIdInput) (*pinpointsmsvoicev2.RequestSenderIdOutput, error)
+ RequestSenderIdWithContext(aws.Context, *pinpointsmsvoicev2.RequestSenderIdInput, ...request.Option) (*pinpointsmsvoicev2.RequestSenderIdOutput, error)
+ RequestSenderIdRequest(*pinpointsmsvoicev2.RequestSenderIdInput) (*request.Request, *pinpointsmsvoicev2.RequestSenderIdOutput)
+
+ SendDestinationNumberVerificationCode(*pinpointsmsvoicev2.SendDestinationNumberVerificationCodeInput) (*pinpointsmsvoicev2.SendDestinationNumberVerificationCodeOutput, error)
+ SendDestinationNumberVerificationCodeWithContext(aws.Context, *pinpointsmsvoicev2.SendDestinationNumberVerificationCodeInput, ...request.Option) (*pinpointsmsvoicev2.SendDestinationNumberVerificationCodeOutput, error)
+ SendDestinationNumberVerificationCodeRequest(*pinpointsmsvoicev2.SendDestinationNumberVerificationCodeInput) (*request.Request, *pinpointsmsvoicev2.SendDestinationNumberVerificationCodeOutput)
+
SendTextMessage(*pinpointsmsvoicev2.SendTextMessageInput) (*pinpointsmsvoicev2.SendTextMessageOutput, error)
SendTextMessageWithContext(aws.Context, *pinpointsmsvoicev2.SendTextMessageInput, ...request.Option) (*pinpointsmsvoicev2.SendTextMessageOutput, error)
SendTextMessageRequest(*pinpointsmsvoicev2.SendTextMessageInput) (*request.Request, *pinpointsmsvoicev2.SendTextMessageOutput)
@@ -245,6 +364,10 @@ type PinpointSMSVoiceV2API interface {
SetVoiceMessageSpendLimitOverrideWithContext(aws.Context, *pinpointsmsvoicev2.SetVoiceMessageSpendLimitOverrideInput, ...request.Option) (*pinpointsmsvoicev2.SetVoiceMessageSpendLimitOverrideOutput, error)
SetVoiceMessageSpendLimitOverrideRequest(*pinpointsmsvoicev2.SetVoiceMessageSpendLimitOverrideInput) (*request.Request, *pinpointsmsvoicev2.SetVoiceMessageSpendLimitOverrideOutput)
+ SubmitRegistrationVersion(*pinpointsmsvoicev2.SubmitRegistrationVersionInput) (*pinpointsmsvoicev2.SubmitRegistrationVersionOutput, error)
+ SubmitRegistrationVersionWithContext(aws.Context, *pinpointsmsvoicev2.SubmitRegistrationVersionInput, ...request.Option) (*pinpointsmsvoicev2.SubmitRegistrationVersionOutput, error)
+ SubmitRegistrationVersionRequest(*pinpointsmsvoicev2.SubmitRegistrationVersionInput) (*request.Request, *pinpointsmsvoicev2.SubmitRegistrationVersionOutput)
+
TagResource(*pinpointsmsvoicev2.TagResourceInput) (*pinpointsmsvoicev2.TagResourceOutput, error)
TagResourceWithContext(aws.Context, *pinpointsmsvoicev2.TagResourceInput, ...request.Option) (*pinpointsmsvoicev2.TagResourceOutput, error)
TagResourceRequest(*pinpointsmsvoicev2.TagResourceInput) (*request.Request, *pinpointsmsvoicev2.TagResourceOutput)
@@ -264,6 +387,14 @@ type PinpointSMSVoiceV2API interface {
UpdatePool(*pinpointsmsvoicev2.UpdatePoolInput) (*pinpointsmsvoicev2.UpdatePoolOutput, error)
UpdatePoolWithContext(aws.Context, *pinpointsmsvoicev2.UpdatePoolInput, ...request.Option) (*pinpointsmsvoicev2.UpdatePoolOutput, error)
UpdatePoolRequest(*pinpointsmsvoicev2.UpdatePoolInput) (*request.Request, *pinpointsmsvoicev2.UpdatePoolOutput)
+
+ UpdateSenderId(*pinpointsmsvoicev2.UpdateSenderIdInput) (*pinpointsmsvoicev2.UpdateSenderIdOutput, error)
+ UpdateSenderIdWithContext(aws.Context, *pinpointsmsvoicev2.UpdateSenderIdInput, ...request.Option) (*pinpointsmsvoicev2.UpdateSenderIdOutput, error)
+ UpdateSenderIdRequest(*pinpointsmsvoicev2.UpdateSenderIdInput) (*request.Request, *pinpointsmsvoicev2.UpdateSenderIdOutput)
+
+ VerifyDestinationNumber(*pinpointsmsvoicev2.VerifyDestinationNumberInput) (*pinpointsmsvoicev2.VerifyDestinationNumberOutput, error)
+ VerifyDestinationNumberWithContext(aws.Context, *pinpointsmsvoicev2.VerifyDestinationNumberInput, ...request.Option) (*pinpointsmsvoicev2.VerifyDestinationNumberOutput, error)
+ VerifyDestinationNumberRequest(*pinpointsmsvoicev2.VerifyDestinationNumberInput) (*request.Request, *pinpointsmsvoicev2.VerifyDestinationNumberOutput)
}
var _ PinpointSMSVoiceV2API = (*pinpointsmsvoicev2.PinpointSMSVoiceV2)(nil)
diff --git a/service/polly/api.go b/service/polly/api.go
index 05c6b23e3dd..5090e249a41 100644
--- a/service/polly/api.go
+++ b/service/polly/api.go
@@ -1048,8 +1048,8 @@ func (s DeleteLexiconOutput) GoString() string {
type DescribeVoicesInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // Specifies the engine (standard or neural) used by Amazon Polly when processing
- // input text for speech synthesis.
+ // Specifies the engine (standard, neural or long-form) used by Amazon Polly
+ // when processing input text for speech synthesis.
Engine *string `location:"querystring" locationName:"Engine" type:"string" enum:"Engine"`
// Boolean value indicating whether to return any bilingual voices that use
@@ -2869,9 +2869,9 @@ func (s *SsmlMarksNotSupportedForTextTypeException) RequestID() string {
type StartSpeechSynthesisTaskInput struct {
_ struct{} `type:"structure"`
- // Specifies the engine (standard or neural) for Amazon Polly to use when processing
- // input text for speech synthesis. Using a voice that is not supported for
- // the engine selected will result in an error.
+ // Specifies the engine (standard, neural or long-form) for Amazon Polly to
+ // use when processing input text for speech synthesis. Using a voice that is
+ // not supported for the engine selected will result in an error.
Engine *string `type:"string" enum:"Engine"`
// Optional language code for the Speech Synthesis request. This is only necessary
@@ -2908,7 +2908,7 @@ type StartSpeechSynthesisTaskInput struct {
//
// The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and
// "24000". The default value for standard voices is "22050". The default value
- // for neural voices is "24000".
+ // for neural voices is "24000". The default value for long-form voices is "24000".
//
// Valid values for pcm are "8000" and "16000" The default value is "16000".
SampleRate *string `type:"string"`
@@ -3087,9 +3087,9 @@ type SynthesisTask struct {
// Timestamp for the time the synthesis task was started.
CreationTime *time.Time `type:"timestamp"`
- // Specifies the engine (standard or neural) for Amazon Polly to use when processing
- // input text for speech synthesis. Using a voice that is not supported for
- // the engine selected will result in an error.
+ // Specifies the engine (standard, neural or long-form) for Amazon Polly to
+ // use when processing input text for speech synthesis. Using a voice that is
+ // not supported for the engine selected will result in an error.
Engine *string `type:"string" enum:"Engine"`
// Optional language code for a synthesis task. This is only necessary if using
@@ -3122,7 +3122,7 @@ type SynthesisTask struct {
//
// The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and
// "24000". The default value for standard voices is "22050". The default value
- // for neural voices is "24000".
+ // for neural voices is "24000". The default value for long-form voices is "24000".
//
// Valid values for pcm are "8000" and "16000" The default value is "16000".
SampleRate *string `type:"string"`
@@ -3327,10 +3327,10 @@ func (s *SynthesisTaskNotFoundException) RequestID() string {
type SynthesizeSpeechInput struct {
_ struct{} `type:"structure"`
- // Specifies the engine (standard or neural) for Amazon Polly to use when processing
- // input text for speech synthesis. For information on Amazon Polly voices and
- // which voices are available in standard-only, NTTS-only, and both standard
- // and NTTS formats, see Available Voices (https://docs.aws.amazon.com/polly/latest/dg/voicelist.html).
+ // Specifies the engine (standard, neural or long-form) for Amazon Polly to
+ // use when processing input text for speech synthesis. For information on Amazon
+ // Polly voices and which voices are available for each engine, see Available
+ // Voices (https://docs.aws.amazon.com/polly/latest/dg/voicelist.html).
//
// NTTS-only voices
//
@@ -3338,9 +3338,15 @@ type SynthesizeSpeechInput struct {
// and must be set to neural. If the engine is not specified, or is set to standard,
// this will result in an error.
//
+ // long-form-only voices
+ //
+ // When using long-form-only voices such as Danielle (en-US), this parameter
+ // is required and must be set to long-form. If the engine is not specified,
+ // or is set to standard or neural, this will result in an error.
+ //
// Type: String
//
- // Valid Values: standard | neural
+ // Valid Values: standard | neural | long-form
//
// Required: Yes
//
@@ -3381,7 +3387,7 @@ type SynthesizeSpeechInput struct {
//
// The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and
// "24000". The default value for standard voices is "22050". The default value
- // for neural voices is "24000".
+ // for neural voices is "24000". The default value for long-form voices is "24000".
//
// Valid values for pcm are "8000" and "16000" The default value is "16000".
SampleRate *string `type:"string"`
@@ -3787,8 +3793,8 @@ type Voice struct {
// readable voice name that you might display in your application.
Name *string `type:"string"`
- // Specifies which engines (standard or neural) that are supported by a given
- // voice.
+ // Specifies which engines (standard, neural or long-form) are supported by
+ // a given voice.
SupportedEngines []*string `type:"list" enum:"Engine"`
}
@@ -3858,6 +3864,9 @@ const (
// EngineNeural is a Engine enum value
EngineNeural = "neural"
+
+ // EngineLongForm is a Engine enum value
+ EngineLongForm = "long-form"
)
// Engine_Values returns all elements of the Engine enum
@@ -3865,6 +3874,7 @@ func Engine_Values() []string {
return []string{
EngineStandard,
EngineNeural,
+ EngineLongForm,
}
}
diff --git a/service/quicksight/api.go b/service/quicksight/api.go
index 5237274860a..9a33c7c4d12 100644
--- a/service/quicksight/api.go
+++ b/service/quicksight/api.go
@@ -1674,6 +1674,108 @@ func (c *QuickSight) CreateRefreshScheduleWithContext(ctx aws.Context, input *Cr
return out, req.Send()
}
+const opCreateRoleMembership = "CreateRoleMembership"
+
+// CreateRoleMembershipRequest generates a "aws/request.Request" representing the
+// client's request for the CreateRoleMembership operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateRoleMembership for more information on using the CreateRoleMembership
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateRoleMembershipRequest method.
+// req, resp := client.CreateRoleMembershipRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateRoleMembership
+func (c *QuickSight) CreateRoleMembershipRequest(input *CreateRoleMembershipInput) (req *request.Request, output *CreateRoleMembershipOutput) {
+ op := &request.Operation{
+ Name: opCreateRoleMembership,
+ HTTPMethod: "POST",
+ HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members/{MemberName}",
+ }
+
+ if input == nil {
+ input = &CreateRoleMembershipInput{}
+ }
+
+ output = &CreateRoleMembershipOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateRoleMembership API operation for Amazon QuickSight.
+//
+// Use CreateRoleMembership to add an existing Amazon QuickSight group to an
+// existing role.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon QuickSight's
+// API operation CreateRoleMembership for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to this item. The provided credentials couldn't be
+// validated. You might not be authorized to carry out the request. Make sure
+// that your account is authorized to use the Amazon QuickSight service, that
+// your policies have the correct permissions, and that you are using the correct
+// credentials.
+//
+// - InvalidParameterValueException
+// One or more parameters has a value that isn't valid.
+//
+// - ResourceNotFoundException
+// One or more resources can't be found.
+//
+// - ThrottlingException
+// Access is throttled.
+//
+// - PreconditionNotMetException
+// One or more preconditions aren't met.
+//
+// - InternalFailureException
+// An internal failure occurred.
+//
+// - ResourceUnavailableException
+// This resource is currently unavailable.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateRoleMembership
+func (c *QuickSight) CreateRoleMembership(input *CreateRoleMembershipInput) (*CreateRoleMembershipOutput, error) {
+ req, out := c.CreateRoleMembershipRequest(input)
+ return out, req.Send()
+}
+
+// CreateRoleMembershipWithContext is the same as CreateRoleMembership with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateRoleMembership for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *QuickSight) CreateRoleMembershipWithContext(ctx aws.Context, input *CreateRoleMembershipInput, opts ...request.Option) (*CreateRoleMembershipOutput, error) {
+ req, out := c.CreateRoleMembershipRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateTemplate = "CreateTemplate"
// CreateTemplateRequest generates a "aws/request.Request" representing the
@@ -3856,6 +3958,208 @@ func (c *QuickSight) DeleteRefreshScheduleWithContext(ctx aws.Context, input *De
return out, req.Send()
}
+const opDeleteRoleCustomPermission = "DeleteRoleCustomPermission"
+
+// DeleteRoleCustomPermissionRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteRoleCustomPermission operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteRoleCustomPermission for more information on using the DeleteRoleCustomPermission
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteRoleCustomPermissionRequest method.
+// req, resp := client.DeleteRoleCustomPermissionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteRoleCustomPermission
+func (c *QuickSight) DeleteRoleCustomPermissionRequest(input *DeleteRoleCustomPermissionInput) (req *request.Request, output *DeleteRoleCustomPermissionOutput) {
+ op := &request.Operation{
+ Name: opDeleteRoleCustomPermission,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission",
+ }
+
+ if input == nil {
+ input = &DeleteRoleCustomPermissionInput{}
+ }
+
+ output = &DeleteRoleCustomPermissionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteRoleCustomPermission API operation for Amazon QuickSight.
+//
+// Removes custom permissions from the role.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon QuickSight's
+// API operation DeleteRoleCustomPermission for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to this item. The provided credentials couldn't be
+// validated. You might not be authorized to carry out the request. Make sure
+// that your account is authorized to use the Amazon QuickSight service, that
+// your policies have the correct permissions, and that you are using the correct
+// credentials.
+//
+// - InvalidParameterValueException
+// One or more parameters has a value that isn't valid.
+//
+// - ResourceNotFoundException
+// One or more resources can't be found.
+//
+// - ThrottlingException
+// Access is throttled.
+//
+// - PreconditionNotMetException
+// One or more preconditions aren't met.
+//
+// - InternalFailureException
+// An internal failure occurred.
+//
+// - ResourceUnavailableException
+// This resource is currently unavailable.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteRoleCustomPermission
+func (c *QuickSight) DeleteRoleCustomPermission(input *DeleteRoleCustomPermissionInput) (*DeleteRoleCustomPermissionOutput, error) {
+ req, out := c.DeleteRoleCustomPermissionRequest(input)
+ return out, req.Send()
+}
+
+// DeleteRoleCustomPermissionWithContext is the same as DeleteRoleCustomPermission with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteRoleCustomPermission for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *QuickSight) DeleteRoleCustomPermissionWithContext(ctx aws.Context, input *DeleteRoleCustomPermissionInput, opts ...request.Option) (*DeleteRoleCustomPermissionOutput, error) {
+ req, out := c.DeleteRoleCustomPermissionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteRoleMembership = "DeleteRoleMembership"
+
+// DeleteRoleMembershipRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteRoleMembership operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteRoleMembership for more information on using the DeleteRoleMembership
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteRoleMembershipRequest method.
+// req, resp := client.DeleteRoleMembershipRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteRoleMembership
+func (c *QuickSight) DeleteRoleMembershipRequest(input *DeleteRoleMembershipInput) (req *request.Request, output *DeleteRoleMembershipOutput) {
+ op := &request.Operation{
+ Name: opDeleteRoleMembership,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members/{MemberName}",
+ }
+
+ if input == nil {
+ input = &DeleteRoleMembershipInput{}
+ }
+
+ output = &DeleteRoleMembershipOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DeleteRoleMembership API operation for Amazon QuickSight.
+//
+// Removes a group from a role.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon QuickSight's
+// API operation DeleteRoleMembership for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to this item. The provided credentials couldn't be
+// validated. You might not be authorized to carry out the request. Make sure
+// that your account is authorized to use the Amazon QuickSight service, that
+// your policies have the correct permissions, and that you are using the correct
+// credentials.
+//
+// - InvalidParameterValueException
+// One or more parameters has a value that isn't valid.
+//
+// - ResourceNotFoundException
+// One or more resources can't be found.
+//
+// - ThrottlingException
+// Access is throttled.
+//
+// - PreconditionNotMetException
+// One or more preconditions aren't met.
+//
+// - InternalFailureException
+// An internal failure occurred.
+//
+// - ResourceUnavailableException
+// This resource is currently unavailable.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteRoleMembership
+func (c *QuickSight) DeleteRoleMembership(input *DeleteRoleMembershipInput) (*DeleteRoleMembershipOutput, error) {
+ req, out := c.DeleteRoleMembershipRequest(input)
+ return out, req.Send()
+}
+
+// DeleteRoleMembershipWithContext is the same as DeleteRoleMembership with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteRoleMembership for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *QuickSight) DeleteRoleMembershipWithContext(ctx aws.Context, input *DeleteRoleMembershipInput, opts ...request.Option) (*DeleteRoleMembershipOutput, error) {
+ req, out := c.DeleteRoleMembershipRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opDeleteTemplate = "DeleteTemplate"
// DeleteTemplateRequest generates a "aws/request.Request" representing the
@@ -7719,6 +8023,107 @@ func (c *QuickSight) DescribeRefreshScheduleWithContext(ctx aws.Context, input *
return out, req.Send()
}
+const opDescribeRoleCustomPermission = "DescribeRoleCustomPermission"
+
+// DescribeRoleCustomPermissionRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRoleCustomPermission operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DescribeRoleCustomPermission for more information on using the DescribeRoleCustomPermission
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DescribeRoleCustomPermissionRequest method.
+// req, resp := client.DescribeRoleCustomPermissionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeRoleCustomPermission
+func (c *QuickSight) DescribeRoleCustomPermissionRequest(input *DescribeRoleCustomPermissionInput) (req *request.Request, output *DescribeRoleCustomPermissionOutput) {
+ op := &request.Operation{
+ Name: opDescribeRoleCustomPermission,
+ HTTPMethod: "GET",
+ HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission",
+ }
+
+ if input == nil {
+ input = &DescribeRoleCustomPermissionInput{}
+ }
+
+ output = &DescribeRoleCustomPermissionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DescribeRoleCustomPermission API operation for Amazon QuickSight.
+//
+// Describes all custom permissions that are mapped to a role.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon QuickSight's
+// API operation DescribeRoleCustomPermission for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to this item. The provided credentials couldn't be
+// validated. You might not be authorized to carry out the request. Make sure
+// that your account is authorized to use the Amazon QuickSight service, that
+// your policies have the correct permissions, and that you are using the correct
+// credentials.
+//
+// - InvalidParameterValueException
+// One or more parameters has a value that isn't valid.
+//
+// - ResourceNotFoundException
+// One or more resources can't be found.
+//
+// - ThrottlingException
+// Access is throttled.
+//
+// - PreconditionNotMetException
+// One or more preconditions aren't met.
+//
+// - InternalFailureException
+// An internal failure occurred.
+//
+// - ResourceUnavailableException
+// This resource is currently unavailable.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeRoleCustomPermission
+func (c *QuickSight) DescribeRoleCustomPermission(input *DescribeRoleCustomPermissionInput) (*DescribeRoleCustomPermissionOutput, error) {
+ req, out := c.DescribeRoleCustomPermissionRequest(input)
+ return out, req.Send()
+}
+
+// DescribeRoleCustomPermissionWithContext is the same as DescribeRoleCustomPermission with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DescribeRoleCustomPermission for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *QuickSight) DescribeRoleCustomPermissionWithContext(ctx aws.Context, input *DescribeRoleCustomPermissionInput, opts ...request.Option) (*DescribeRoleCustomPermissionOutput, error) {
+ req, out := c.DescribeRoleCustomPermissionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opDescribeTemplate = "DescribeTemplate"
// DescribeTemplateRequest generates a "aws/request.Request" representing the
@@ -12040,6 +12445,170 @@ func (c *QuickSight) ListRefreshSchedulesWithContext(ctx aws.Context, input *Lis
return out, req.Send()
}
+const opListRoleMemberships = "ListRoleMemberships"
+
+// ListRoleMembershipsRequest generates a "aws/request.Request" representing the
+// client's request for the ListRoleMemberships operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListRoleMemberships for more information on using the ListRoleMemberships
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListRoleMembershipsRequest method.
+// req, resp := client.ListRoleMembershipsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListRoleMemberships
+func (c *QuickSight) ListRoleMembershipsRequest(input *ListRoleMembershipsInput) (req *request.Request, output *ListRoleMembershipsOutput) {
+ op := &request.Operation{
+ Name: opListRoleMemberships,
+ HTTPMethod: "GET",
+ HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListRoleMembershipsInput{}
+ }
+
+ output = &ListRoleMembershipsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListRoleMemberships API operation for Amazon QuickSight.
+//
+// Lists all groups that are associated with a role.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon QuickSight's
+// API operation ListRoleMemberships for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to this item. The provided credentials couldn't be
+// validated. You might not be authorized to carry out the request. Make sure
+// that your account is authorized to use the Amazon QuickSight service, that
+// your policies have the correct permissions, and that you are using the correct
+// credentials.
+//
+// - InvalidParameterValueException
+// One or more parameters has a value that isn't valid.
+//
+// - ResourceNotFoundException
+// One or more resources can't be found.
+//
+// - ThrottlingException
+// Access is throttled.
+//
+// - InvalidNextTokenException
+// The NextToken value isn't valid.
+//
+// - PreconditionNotMetException
+// One or more preconditions aren't met.
+//
+// - LimitExceededException
+// A limit is exceeded.
+//
+// - InternalFailureException
+// An internal failure occurred.
+//
+// - ResourceUnavailableException
+// This resource is currently unavailable.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListRoleMemberships
+func (c *QuickSight) ListRoleMemberships(input *ListRoleMembershipsInput) (*ListRoleMembershipsOutput, error) {
+ req, out := c.ListRoleMembershipsRequest(input)
+ return out, req.Send()
+}
+
+// ListRoleMembershipsWithContext is the same as ListRoleMemberships with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListRoleMemberships for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *QuickSight) ListRoleMembershipsWithContext(ctx aws.Context, input *ListRoleMembershipsInput, opts ...request.Option) (*ListRoleMembershipsOutput, error) {
+ req, out := c.ListRoleMembershipsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListRoleMembershipsPages iterates over the pages of a ListRoleMemberships operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListRoleMemberships method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListRoleMemberships operation.
+// pageNum := 0
+// err := client.ListRoleMembershipsPages(params,
+// func(page *quicksight.ListRoleMembershipsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *QuickSight) ListRoleMembershipsPages(input *ListRoleMembershipsInput, fn func(*ListRoleMembershipsOutput, bool) bool) error {
+ return c.ListRoleMembershipsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListRoleMembershipsPagesWithContext same as ListRoleMembershipsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *QuickSight) ListRoleMembershipsPagesWithContext(ctx aws.Context, input *ListRoleMembershipsInput, fn func(*ListRoleMembershipsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListRoleMembershipsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListRoleMembershipsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListRoleMembershipsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
const opListTagsForResource = "ListTagsForResource"
// ListTagsForResourceRequest generates a "aws/request.Request" representing the
@@ -17441,6 +18010,107 @@ func (c *QuickSight) UpdateRefreshScheduleWithContext(ctx aws.Context, input *Up
return out, req.Send()
}
+const opUpdateRoleCustomPermission = "UpdateRoleCustomPermission"
+
+// UpdateRoleCustomPermissionRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateRoleCustomPermission operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateRoleCustomPermission for more information on using the UpdateRoleCustomPermission
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateRoleCustomPermissionRequest method.
+// req, resp := client.UpdateRoleCustomPermissionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateRoleCustomPermission
+func (c *QuickSight) UpdateRoleCustomPermissionRequest(input *UpdateRoleCustomPermissionInput) (req *request.Request, output *UpdateRoleCustomPermissionOutput) {
+ op := &request.Operation{
+ Name: opUpdateRoleCustomPermission,
+ HTTPMethod: "PUT",
+ HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission",
+ }
+
+ if input == nil {
+ input = &UpdateRoleCustomPermissionInput{}
+ }
+
+ output = &UpdateRoleCustomPermissionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateRoleCustomPermission API operation for Amazon QuickSight.
+//
+// Updates the custom permissions that are associated with a role.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon QuickSight's
+// API operation UpdateRoleCustomPermission for usage and error information.
+//
+// Returned Error Types:
+//
+// - AccessDeniedException
+// You don't have access to this item. The provided credentials couldn't be
+// validated. You might not be authorized to carry out the request. Make sure
+// that your account is authorized to use the Amazon QuickSight service, that
+// your policies have the correct permissions, and that you are using the correct
+// credentials.
+//
+// - InvalidParameterValueException
+// One or more parameters has a value that isn't valid.
+//
+// - ResourceNotFoundException
+// One or more resources can't be found.
+//
+// - ThrottlingException
+// Access is throttled.
+//
+// - PreconditionNotMetException
+// One or more preconditions aren't met.
+//
+// - InternalFailureException
+// An internal failure occurred.
+//
+// - ResourceUnavailableException
+// This resource is currently unavailable.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateRoleCustomPermission
+func (c *QuickSight) UpdateRoleCustomPermission(input *UpdateRoleCustomPermissionInput) (*UpdateRoleCustomPermissionOutput, error) {
+ req, out := c.UpdateRoleCustomPermissionRequest(input)
+ return out, req.Send()
+}
+
+// UpdateRoleCustomPermissionWithContext is the same as UpdateRoleCustomPermission with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateRoleCustomPermission for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *QuickSight) UpdateRoleCustomPermissionWithContext(ctx aws.Context, input *UpdateRoleCustomPermissionInput, opts ...request.Option) (*UpdateRoleCustomPermissionOutput, error) {
+ req, out := c.UpdateRoleCustomPermissionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opUpdateTemplate = "UpdateTemplate"
// UpdateTemplateRequest generates a "aws/request.Request" representing the
@@ -19259,9 +19929,6 @@ type Analysis struct {
// The descriptive name of the analysis.
Name *string `min:"1" type:"string"`
- // An array of analysis level configurations.
- Options *AssetOptions `type:"structure"`
-
// A list of the associated sheets with the unique identifier and name of each
// sheet.
Sheets []*Sheet `type:"list"`
@@ -19333,12 +20000,6 @@ func (s *Analysis) SetName(v string) *Analysis {
return s
}
-// SetOptions sets the Options field's value.
-func (s *Analysis) SetOptions(v *AssetOptions) *Analysis {
- s.Options = v
- return s
-}
-
// SetSheets sets the Sheets field's value.
func (s *Analysis) SetSheets(v []*Sheet) *Analysis {
s.Sheets = v
@@ -20642,7 +21303,9 @@ type AssetBundleExportJobAnalysisOverrideProperties struct {
// The ARN of the specific Analysis resource whose override properties are configured
// in this structure.
- Arn *string `type:"string"`
+ //
+ // Arn is a required field
+ Arn *string `type:"string" required:"true"`
// A list of Analysis resource properties to generate variables for in the returned
// CloudFormation template.
@@ -20672,6 +21335,9 @@ func (s AssetBundleExportJobAnalysisOverrideProperties) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *AssetBundleExportJobAnalysisOverrideProperties) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AssetBundleExportJobAnalysisOverrideProperties"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
if s.Properties == nil {
invalidParams.Add(request.NewErrParamRequired("Properties"))
}
@@ -20704,7 +21370,9 @@ type AssetBundleExportJobDashboardOverrideProperties struct {
// The ARN of the specific Dashboard resource whose override properties are
// configured in this structure.
- Arn *string `type:"string"`
+ //
+ // Arn is a required field
+ Arn *string `type:"string" required:"true"`
// A list of Dashboard resource properties to generate variables for in the
// returned CloudFormation template.
@@ -20734,6 +21402,9 @@ func (s AssetBundleExportJobDashboardOverrideProperties) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *AssetBundleExportJobDashboardOverrideProperties) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AssetBundleExportJobDashboardOverrideProperties"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
if s.Properties == nil {
invalidParams.Add(request.NewErrParamRequired("Properties"))
}
@@ -20766,7 +21437,9 @@ type AssetBundleExportJobDataSetOverrideProperties struct {
// The ARN of the specific DataSet resource whose override properties are configured
// in this structure.
- Arn *string `type:"string"`
+ //
+ // Arn is a required field
+ Arn *string `type:"string" required:"true"`
// A list of DataSet resource properties to generate variables for in the returned
// CloudFormation template.
@@ -20796,6 +21469,9 @@ func (s AssetBundleExportJobDataSetOverrideProperties) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *AssetBundleExportJobDataSetOverrideProperties) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AssetBundleExportJobDataSetOverrideProperties"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
if s.Properties == nil {
invalidParams.Add(request.NewErrParamRequired("Properties"))
}
@@ -20828,7 +21504,9 @@ type AssetBundleExportJobDataSourceOverrideProperties struct {
// The ARN of the specific DataSource resource whose override properties are
// configured in this structure.
- Arn *string `type:"string"`
+ //
+ // Arn is a required field
+ Arn *string `type:"string" required:"true"`
// A list of DataSource resource properties to generate variables for in the
// returned CloudFormation template.
@@ -20858,6 +21536,9 @@ func (s AssetBundleExportJobDataSourceOverrideProperties) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *AssetBundleExportJobDataSourceOverrideProperties) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AssetBundleExportJobDataSourceOverrideProperties"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
if s.Properties == nil {
invalidParams.Add(request.NewErrParamRequired("Properties"))
}
@@ -20940,7 +21621,9 @@ type AssetBundleExportJobRefreshScheduleOverrideProperties struct {
// The ARN of the specific RefreshSchedule resource whose override properties
// are configured in this structure.
- Arn *string `type:"string"`
+ //
+ // Arn is a required field
+ Arn *string `type:"string" required:"true"`
// A list of RefreshSchedule resource properties to generate variables for in
// the returned CloudFormation template.
@@ -20970,6 +21653,9 @@ func (s AssetBundleExportJobRefreshScheduleOverrideProperties) GoString() string
// Validate inspects the fields of the type to determine if they are valid.
func (s *AssetBundleExportJobRefreshScheduleOverrideProperties) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AssetBundleExportJobRefreshScheduleOverrideProperties"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
if s.Properties == nil {
invalidParams.Add(request.NewErrParamRequired("Properties"))
}
@@ -21051,6 +21737,14 @@ type AssetBundleExportJobSummary struct {
// asset bundle.
IncludeAllDependencies *bool `type:"boolean"`
+ // The flag that determines the inclusion of permissions associated with each
+ // resource ARN.
+ IncludePermissions *bool `type:"boolean"`
+
+ // The flag that determines the inclusion of tags associated with each resource
+ // ARN.
+ IncludeTags *bool `type:"boolean"`
+
// The current status of the export job.
JobStatus *string `type:"string" enum:"AssetBundleExportJobStatus"`
}
@@ -21103,6 +21797,18 @@ func (s *AssetBundleExportJobSummary) SetIncludeAllDependencies(v bool) *AssetBu
return s
}
+// SetIncludePermissions sets the IncludePermissions field's value.
+func (s *AssetBundleExportJobSummary) SetIncludePermissions(v bool) *AssetBundleExportJobSummary {
+ s.IncludePermissions = &v
+ return s
+}
+
+// SetIncludeTags sets the IncludeTags field's value.
+func (s *AssetBundleExportJobSummary) SetIncludeTags(v bool) *AssetBundleExportJobSummary {
+ s.IncludeTags = &v
+ return s
+}
+
// SetJobStatus sets the JobStatus field's value.
func (s *AssetBundleExportJobSummary) SetJobStatus(v string) *AssetBundleExportJobSummary {
s.JobStatus = &v
@@ -21116,7 +21822,9 @@ type AssetBundleExportJobThemeOverrideProperties struct {
// The ARN of the specific Theme resource whose override properties are configured
// in this structure.
- Arn *string `type:"string"`
+ //
+ // Arn is a required field
+ Arn *string `type:"string" required:"true"`
// A list of Theme resource properties to generate variables for in the returned
// CloudFormation template.
@@ -21146,6 +21854,9 @@ func (s AssetBundleExportJobThemeOverrideProperties) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *AssetBundleExportJobThemeOverrideProperties) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AssetBundleExportJobThemeOverrideProperties"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
if s.Properties == nil {
invalidParams.Add(request.NewErrParamRequired("Properties"))
}
@@ -21178,7 +21889,9 @@ type AssetBundleExportJobVPCConnectionOverrideProperties struct {
// The ARN of the specific VPCConnection resource whose override properties
// are configured in this structure.
- Arn *string `type:"string"`
+ //
+ // Arn is a required field
+ Arn *string `type:"string" required:"true"`
// A list of VPCConnection resource properties to generate variables for in
// the returned CloudFormation template.
@@ -21208,6 +21921,9 @@ func (s AssetBundleExportJobVPCConnectionOverrideProperties) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *AssetBundleExportJobVPCConnectionOverrideProperties) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AssetBundleExportJobVPCConnectionOverrideProperties"}
+ if s.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
if s.Properties == nil {
invalidParams.Add(request.NewErrParamRequired("Properties"))
}
@@ -21233,6 +21949,82 @@ func (s *AssetBundleExportJobVPCConnectionOverrideProperties) SetProperties(v []
return s
}
+// The option to relax the validation that is required to export each asset.
+// When StrictModeForAllResource is set to true, validation is skipped for specific
+// UI errors.
+type AssetBundleExportJobValidationStrategy struct {
+ _ struct{} `type:"structure"`
+
+ // A Boolean value that indicates whether to export resources under strict or
+ // lenient mode.
+ StrictModeForAllResources *bool `type:"boolean"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleExportJobValidationStrategy) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleExportJobValidationStrategy) GoString() string {
+ return s.String()
+}
+
+// SetStrictModeForAllResources sets the StrictModeForAllResources field's value.
+func (s *AssetBundleExportJobValidationStrategy) SetStrictModeForAllResources(v bool) *AssetBundleExportJobValidationStrategy {
+ s.StrictModeForAllResources = &v
+ return s
+}
+
+// Describes a warning that occurred during an Asset Bundle export job.
+type AssetBundleExportJobWarning struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the resource whose processing caused a warning.
+ Arn *string `type:"string"`
+
+ // A description of the warning.
+ Message *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleExportJobWarning) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleExportJobWarning) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *AssetBundleExportJobWarning) SetArn(v string) *AssetBundleExportJobWarning {
+ s.Arn = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *AssetBundleExportJobWarning) SetMessage(v string) *AssetBundleExportJobWarning {
+ s.Message = &v
+ return s
+}
+
// The override parameters for a single analysis that is being imported.
type AssetBundleImportJobAnalysisOverrideParameters struct {
_ struct{} `type:"structure"`
@@ -21292,6 +22084,156 @@ func (s *AssetBundleImportJobAnalysisOverrideParameters) SetName(v string) *Asse
return s
}
+// An object that contains a list of permissions to be applied to a list of
+// analysis IDs.
+type AssetBundleImportJobAnalysisOverridePermissions struct {
+ _ struct{} `type:"structure"`
+
+ // A list of analysis IDs that you want to apply overrides to. You can use *
+ // to override all analyses in this asset bundle.
+ //
+ // AnalysisIds is a required field
+ AnalysisIds []*string `min:"1" type:"list" required:"true"`
+
+ // A list of permissions for the analyses that you want to apply overrides to.
+ //
+ // Permissions is a required field
+ Permissions *AssetBundleResourcePermissions `type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobAnalysisOverridePermissions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobAnalysisOverridePermissions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobAnalysisOverridePermissions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobAnalysisOverridePermissions"}
+ if s.AnalysisIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("AnalysisIds"))
+ }
+ if s.AnalysisIds != nil && len(s.AnalysisIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AnalysisIds", 1))
+ }
+ if s.Permissions == nil {
+ invalidParams.Add(request.NewErrParamRequired("Permissions"))
+ }
+ if s.Permissions != nil {
+ if err := s.Permissions.Validate(); err != nil {
+ invalidParams.AddNested("Permissions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAnalysisIds sets the AnalysisIds field's value.
+func (s *AssetBundleImportJobAnalysisOverridePermissions) SetAnalysisIds(v []*string) *AssetBundleImportJobAnalysisOverridePermissions {
+ s.AnalysisIds = v
+ return s
+}
+
+// SetPermissions sets the Permissions field's value.
+func (s *AssetBundleImportJobAnalysisOverridePermissions) SetPermissions(v *AssetBundleResourcePermissions) *AssetBundleImportJobAnalysisOverridePermissions {
+ s.Permissions = v
+ return s
+}
+
+// An object that contains a list of tags to be assigned to a list of analysis
+// IDs.
+type AssetBundleImportJobAnalysisOverrideTags struct {
+ _ struct{} `type:"structure"`
+
+ // A list of analysis IDs that you want to apply overrides to. You can use *
+ // to override all analyses in this asset bundle.
+ //
+ // AnalysisIds is a required field
+ AnalysisIds []*string `min:"1" type:"list" required:"true"`
+
+ // A list of tags for the analyses that you want to apply overrides to.
+ //
+ // Tags is a required field
+ Tags []*Tag `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobAnalysisOverrideTags) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobAnalysisOverrideTags) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobAnalysisOverrideTags) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobAnalysisOverrideTags"}
+ if s.AnalysisIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("AnalysisIds"))
+ }
+ if s.AnalysisIds != nil && len(s.AnalysisIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AnalysisIds", 1))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAnalysisIds sets the AnalysisIds field's value.
+func (s *AssetBundleImportJobAnalysisOverrideTags) SetAnalysisIds(v []*string) *AssetBundleImportJobAnalysisOverrideTags {
+ s.AnalysisIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AssetBundleImportJobAnalysisOverrideTags) SetTags(v []*Tag) *AssetBundleImportJobAnalysisOverrideTags {
+ s.Tags = v
+ return s
+}
+
// The override parameters for a single dashboard that is being imported.
type AssetBundleImportJobDashboardOverrideParameters struct {
_ struct{} `type:"structure"`
@@ -21351,6 +22293,167 @@ func (s *AssetBundleImportJobDashboardOverrideParameters) SetName(v string) *Ass
return s
}
+// An object that contains a list of permissions to be applied to a list of
+// dashboard IDs.
+type AssetBundleImportJobDashboardOverridePermissions struct {
+ _ struct{} `type:"structure"`
+
+ // A list of dashboard IDs that you want to apply overrides to. You can use
+ // * to override all dashboards in this asset bundle.
+ //
+ // DashboardIds is a required field
+ DashboardIds []*string `min:"1" type:"list" required:"true"`
+
+ // A structure that contains the link sharing configurations that you want to
+ // apply overrides to.
+ LinkSharingConfiguration *AssetBundleResourceLinkSharingConfiguration `type:"structure"`
+
+ // A list of permissions for the dashboards that you want to apply overrides
+ // to.
+ Permissions *AssetBundleResourcePermissions `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDashboardOverridePermissions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDashboardOverridePermissions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobDashboardOverridePermissions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobDashboardOverridePermissions"}
+ if s.DashboardIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("DashboardIds"))
+ }
+ if s.DashboardIds != nil && len(s.DashboardIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DashboardIds", 1))
+ }
+ if s.LinkSharingConfiguration != nil {
+ if err := s.LinkSharingConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("LinkSharingConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Permissions != nil {
+ if err := s.Permissions.Validate(); err != nil {
+ invalidParams.AddNested("Permissions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDashboardIds sets the DashboardIds field's value.
+func (s *AssetBundleImportJobDashboardOverridePermissions) SetDashboardIds(v []*string) *AssetBundleImportJobDashboardOverridePermissions {
+ s.DashboardIds = v
+ return s
+}
+
+// SetLinkSharingConfiguration sets the LinkSharingConfiguration field's value.
+func (s *AssetBundleImportJobDashboardOverridePermissions) SetLinkSharingConfiguration(v *AssetBundleResourceLinkSharingConfiguration) *AssetBundleImportJobDashboardOverridePermissions {
+ s.LinkSharingConfiguration = v
+ return s
+}
+
+// SetPermissions sets the Permissions field's value.
+func (s *AssetBundleImportJobDashboardOverridePermissions) SetPermissions(v *AssetBundleResourcePermissions) *AssetBundleImportJobDashboardOverridePermissions {
+ s.Permissions = v
+ return s
+}
+
+// An object that contains a list of tags to be assigned to a list of dashboard
+// IDs.
+type AssetBundleImportJobDashboardOverrideTags struct {
+ _ struct{} `type:"structure"`
+
+ // A list of dashboard IDs that you want to apply overrides to. You can use
+ // * to override all dashboards in this asset bundle.
+ //
+ // DashboardIds is a required field
+ DashboardIds []*string `min:"1" type:"list" required:"true"`
+
+ // A list of tags for the dashboards that you want to apply overrides to.
+ //
+ // Tags is a required field
+ Tags []*Tag `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDashboardOverrideTags) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDashboardOverrideTags) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobDashboardOverrideTags) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobDashboardOverrideTags"}
+ if s.DashboardIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("DashboardIds"))
+ }
+ if s.DashboardIds != nil && len(s.DashboardIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DashboardIds", 1))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDashboardIds sets the DashboardIds field's value.
+func (s *AssetBundleImportJobDashboardOverrideTags) SetDashboardIds(v []*string) *AssetBundleImportJobDashboardOverrideTags {
+ s.DashboardIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AssetBundleImportJobDashboardOverrideTags) SetTags(v []*Tag) *AssetBundleImportJobDashboardOverrideTags {
+ s.Tags = v
+ return s
+}
+
// The override parameters for a single dataset that is being imported.
type AssetBundleImportJobDataSetOverrideParameters struct {
_ struct{} `type:"structure"`
@@ -21410,6 +22513,156 @@ func (s *AssetBundleImportJobDataSetOverrideParameters) SetName(v string) *Asset
return s
}
+// An object that contains a list of permissions to be applied to a list of
+// dataset IDs.
+type AssetBundleImportJobDataSetOverridePermissions struct {
+ _ struct{} `type:"structure"`
+
+ // A list of dataset IDs that you want to apply overrides to. You can use *
+ // to override all datasets in this asset bundle.
+ //
+ // DataSetIds is a required field
+ DataSetIds []*string `min:"1" type:"list" required:"true"`
+
+ // A list of permissions for the datasets that you want to apply overrides to.
+ //
+ // Permissions is a required field
+ Permissions *AssetBundleResourcePermissions `type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSetOverridePermissions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSetOverridePermissions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobDataSetOverridePermissions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobDataSetOverridePermissions"}
+ if s.DataSetIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("DataSetIds"))
+ }
+ if s.DataSetIds != nil && len(s.DataSetIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSetIds", 1))
+ }
+ if s.Permissions == nil {
+ invalidParams.Add(request.NewErrParamRequired("Permissions"))
+ }
+ if s.Permissions != nil {
+ if err := s.Permissions.Validate(); err != nil {
+ invalidParams.AddNested("Permissions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDataSetIds sets the DataSetIds field's value.
+func (s *AssetBundleImportJobDataSetOverridePermissions) SetDataSetIds(v []*string) *AssetBundleImportJobDataSetOverridePermissions {
+ s.DataSetIds = v
+ return s
+}
+
+// SetPermissions sets the Permissions field's value.
+func (s *AssetBundleImportJobDataSetOverridePermissions) SetPermissions(v *AssetBundleResourcePermissions) *AssetBundleImportJobDataSetOverridePermissions {
+ s.Permissions = v
+ return s
+}
+
+// An object that contains a list of tags to be assigned to a list of dataset
+// IDs.
+type AssetBundleImportJobDataSetOverrideTags struct {
+ _ struct{} `type:"structure"`
+
+ // A list of dataset IDs that you want to apply overrides to. You can use *
+ // to override all datasets in this asset bundle.
+ //
+ // DataSetIds is a required field
+ DataSetIds []*string `min:"1" type:"list" required:"true"`
+
+ // A list of tags for the datasets that you want to apply overrides to.
+ //
+ // Tags is a required field
+ Tags []*Tag `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSetOverrideTags) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSetOverrideTags) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobDataSetOverrideTags) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobDataSetOverrideTags"}
+ if s.DataSetIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("DataSetIds"))
+ }
+ if s.DataSetIds != nil && len(s.DataSetIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSetIds", 1))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDataSetIds sets the DataSetIds field's value.
+func (s *AssetBundleImportJobDataSetOverrideTags) SetDataSetIds(v []*string) *AssetBundleImportJobDataSetOverrideTags {
+ s.DataSetIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AssetBundleImportJobDataSetOverrideTags) SetTags(v []*Tag) *AssetBundleImportJobDataSetOverrideTags {
+ s.Tags = v
+ return s
+}
+
// A username and password credential pair to use to import a data source resource.
type AssetBundleImportJobDataSourceCredentialPair struct {
_ struct{} `type:"structure" sensitive:"true"`
@@ -21658,6 +22911,157 @@ func (s *AssetBundleImportJobDataSourceOverrideParameters) SetVpcConnectionPrope
return s
}
+// An object that contains a list of permissions to be applied to a list of
+// data source IDs.
+type AssetBundleImportJobDataSourceOverridePermissions struct {
+ _ struct{} `type:"structure"`
+
+ // A list of data source IDs that you want to apply overrides to. You can use
+ // * to override all data sources in this asset bundle.
+ //
+ // DataSourceIds is a required field
+ DataSourceIds []*string `min:"1" type:"list" required:"true"`
+
+ // A list of permissions for the data source that you want to apply overrides
+ // to.
+ //
+ // Permissions is a required field
+ Permissions *AssetBundleResourcePermissions `type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSourceOverridePermissions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSourceOverridePermissions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobDataSourceOverridePermissions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobDataSourceOverridePermissions"}
+ if s.DataSourceIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("DataSourceIds"))
+ }
+ if s.DataSourceIds != nil && len(s.DataSourceIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSourceIds", 1))
+ }
+ if s.Permissions == nil {
+ invalidParams.Add(request.NewErrParamRequired("Permissions"))
+ }
+ if s.Permissions != nil {
+ if err := s.Permissions.Validate(); err != nil {
+ invalidParams.AddNested("Permissions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDataSourceIds sets the DataSourceIds field's value.
+func (s *AssetBundleImportJobDataSourceOverridePermissions) SetDataSourceIds(v []*string) *AssetBundleImportJobDataSourceOverridePermissions {
+ s.DataSourceIds = v
+ return s
+}
+
+// SetPermissions sets the Permissions field's value.
+func (s *AssetBundleImportJobDataSourceOverridePermissions) SetPermissions(v *AssetBundleResourcePermissions) *AssetBundleImportJobDataSourceOverridePermissions {
+ s.Permissions = v
+ return s
+}
+
+// An object that contains a list of tags to be assigned to a list of data source
+// IDs.
+type AssetBundleImportJobDataSourceOverrideTags struct {
+ _ struct{} `type:"structure"`
+
+ // A list of data source IDs that you want to apply overrides to. You can use
+ // * to override all data sources in this asset bundle.
+ //
+ // DataSourceIds is a required field
+ DataSourceIds []*string `min:"1" type:"list" required:"true"`
+
+ // A list of tags for the data source that you want to apply overrides to.
+ //
+ // Tags is a required field
+ Tags []*Tag `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSourceOverrideTags) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobDataSourceOverrideTags) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobDataSourceOverrideTags) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobDataSourceOverrideTags"}
+ if s.DataSourceIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("DataSourceIds"))
+ }
+ if s.DataSourceIds != nil && len(s.DataSourceIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSourceIds", 1))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDataSourceIds sets the DataSourceIds field's value.
+func (s *AssetBundleImportJobDataSourceOverrideTags) SetDataSourceIds(v []*string) *AssetBundleImportJobDataSourceOverrideTags {
+ s.DataSourceIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AssetBundleImportJobDataSourceOverrideTags) SetTags(v []*Tag) *AssetBundleImportJobDataSourceOverrideTags {
+ s.Tags = v
+ return s
+}
+
// Describes an error that occurred within an Asset Bundle import execution.
type AssetBundleImportJobError struct {
_ struct{} `type:"structure"`
@@ -21913,6 +23317,361 @@ func (s *AssetBundleImportJobOverrideParameters) SetVPCConnections(v []*AssetBun
return s
}
+// A structure that contains the override permission configurations that modify
+// the permissions for specified resources before the resource is imported.
+type AssetBundleImportJobOverridePermissions struct {
+ _ struct{} `type:"structure"`
+
+ // A list of permissions overrides for any Analysis resources that are present
+ // in the asset bundle that is imported.
+ Analyses []*AssetBundleImportJobAnalysisOverridePermissions `min:"1" type:"list"`
+
+ // A list of permissions overrides for any Dashboard resources that are present
+ // in the asset bundle that is imported.
+ Dashboards []*AssetBundleImportJobDashboardOverridePermissions `min:"1" type:"list"`
+
+ // A list of permissions overrides for any DataSet resources that are present
+ // in the asset bundle that is imported.
+ DataSets []*AssetBundleImportJobDataSetOverridePermissions `min:"1" type:"list"`
+
+ // A list of permissions overrides for any DataSource resources that are present
+ // in the asset bundle that is imported.
+ DataSources []*AssetBundleImportJobDataSourceOverridePermissions `min:"1" type:"list"`
+
+ // A list of permissions overrides for any Theme resources that are present
+ // in the asset bundle that is imported.
+ Themes []*AssetBundleImportJobThemeOverridePermissions `min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobOverridePermissions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobOverridePermissions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobOverridePermissions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobOverridePermissions"}
+ if s.Analyses != nil && len(s.Analyses) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Analyses", 1))
+ }
+ if s.Dashboards != nil && len(s.Dashboards) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Dashboards", 1))
+ }
+ if s.DataSets != nil && len(s.DataSets) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSets", 1))
+ }
+ if s.DataSources != nil && len(s.DataSources) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSources", 1))
+ }
+ if s.Themes != nil && len(s.Themes) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Themes", 1))
+ }
+ if s.Analyses != nil {
+ for i, v := range s.Analyses {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Analyses", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.Dashboards != nil {
+ for i, v := range s.Dashboards {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Dashboards", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.DataSets != nil {
+ for i, v := range s.DataSets {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSets", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.DataSources != nil {
+ for i, v := range s.DataSources {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSources", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.Themes != nil {
+ for i, v := range s.Themes {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Themes", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAnalyses sets the Analyses field's value.
+func (s *AssetBundleImportJobOverridePermissions) SetAnalyses(v []*AssetBundleImportJobAnalysisOverridePermissions) *AssetBundleImportJobOverridePermissions {
+ s.Analyses = v
+ return s
+}
+
+// SetDashboards sets the Dashboards field's value.
+func (s *AssetBundleImportJobOverridePermissions) SetDashboards(v []*AssetBundleImportJobDashboardOverridePermissions) *AssetBundleImportJobOverridePermissions {
+ s.Dashboards = v
+ return s
+}
+
+// SetDataSets sets the DataSets field's value.
+func (s *AssetBundleImportJobOverridePermissions) SetDataSets(v []*AssetBundleImportJobDataSetOverridePermissions) *AssetBundleImportJobOverridePermissions {
+ s.DataSets = v
+ return s
+}
+
+// SetDataSources sets the DataSources field's value.
+func (s *AssetBundleImportJobOverridePermissions) SetDataSources(v []*AssetBundleImportJobDataSourceOverridePermissions) *AssetBundleImportJobOverridePermissions {
+ s.DataSources = v
+ return s
+}
+
+// SetThemes sets the Themes field's value.
+func (s *AssetBundleImportJobOverridePermissions) SetThemes(v []*AssetBundleImportJobThemeOverridePermissions) *AssetBundleImportJobOverridePermissions {
+ s.Themes = v
+ return s
+}
+
+// A structure that contains the override tag configuration that modify the
+// tags that are assigned to specified resources before the resource is imported.
+type AssetBundleImportJobOverrideTags struct {
+ _ struct{} `type:"structure"`
+
+ // A list of tag overrides for any Analysis resources that are present in the
+ // asset bundle that is imported.
+ Analyses []*AssetBundleImportJobAnalysisOverrideTags `min:"1" type:"list"`
+
+ // A list of tag overrides for any Dashboard resources that are present in the
+ // asset bundle that is imported.
+ Dashboards []*AssetBundleImportJobDashboardOverrideTags `min:"1" type:"list"`
+
+ // A list of tag overrides for any DataSet resources that are present in the
+ // asset bundle that is imported.
+ DataSets []*AssetBundleImportJobDataSetOverrideTags `min:"1" type:"list"`
+
+ // A list of tag overrides for any DataSource resources that are present in
+ // the asset bundle that is imported.
+ DataSources []*AssetBundleImportJobDataSourceOverrideTags `min:"1" type:"list"`
+
+ // A list of tag overrides for any Theme resources that are present in the asset
+ // bundle that is imported.
+ Themes []*AssetBundleImportJobThemeOverrideTags `min:"1" type:"list"`
+
+ // A list of tag overrides for any VPCConnection resources that are present
+ // in the asset bundle that is imported.
+ VPCConnections []*AssetBundleImportJobVPCConnectionOverrideTags `min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobOverrideTags) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobOverrideTags) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobOverrideTags) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobOverrideTags"}
+ if s.Analyses != nil && len(s.Analyses) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Analyses", 1))
+ }
+ if s.Dashboards != nil && len(s.Dashboards) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Dashboards", 1))
+ }
+ if s.DataSets != nil && len(s.DataSets) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSets", 1))
+ }
+ if s.DataSources != nil && len(s.DataSources) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSources", 1))
+ }
+ if s.Themes != nil && len(s.Themes) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Themes", 1))
+ }
+ if s.VPCConnections != nil && len(s.VPCConnections) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VPCConnections", 1))
+ }
+ if s.Analyses != nil {
+ for i, v := range s.Analyses {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Analyses", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.Dashboards != nil {
+ for i, v := range s.Dashboards {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Dashboards", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.DataSets != nil {
+ for i, v := range s.DataSets {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSets", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.DataSources != nil {
+ for i, v := range s.DataSources {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSources", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.Themes != nil {
+ for i, v := range s.Themes {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Themes", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.VPCConnections != nil {
+ for i, v := range s.VPCConnections {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VPCConnections", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAnalyses sets the Analyses field's value.
+func (s *AssetBundleImportJobOverrideTags) SetAnalyses(v []*AssetBundleImportJobAnalysisOverrideTags) *AssetBundleImportJobOverrideTags {
+ s.Analyses = v
+ return s
+}
+
+// SetDashboards sets the Dashboards field's value.
+func (s *AssetBundleImportJobOverrideTags) SetDashboards(v []*AssetBundleImportJobDashboardOverrideTags) *AssetBundleImportJobOverrideTags {
+ s.Dashboards = v
+ return s
+}
+
+// SetDataSets sets the DataSets field's value.
+func (s *AssetBundleImportJobOverrideTags) SetDataSets(v []*AssetBundleImportJobDataSetOverrideTags) *AssetBundleImportJobOverrideTags {
+ s.DataSets = v
+ return s
+}
+
+// SetDataSources sets the DataSources field's value.
+func (s *AssetBundleImportJobOverrideTags) SetDataSources(v []*AssetBundleImportJobDataSourceOverrideTags) *AssetBundleImportJobOverrideTags {
+ s.DataSources = v
+ return s
+}
+
+// SetThemes sets the Themes field's value.
+func (s *AssetBundleImportJobOverrideTags) SetThemes(v []*AssetBundleImportJobThemeOverrideTags) *AssetBundleImportJobOverrideTags {
+ s.Themes = v
+ return s
+}
+
+// SetVPCConnections sets the VPCConnections field's value.
+func (s *AssetBundleImportJobOverrideTags) SetVPCConnections(v []*AssetBundleImportJobVPCConnectionOverrideTags) *AssetBundleImportJobOverrideTags {
+ s.VPCConnections = v
+ return s
+}
+
+// An optional parameter that overrides the validation strategy for all analyses
+// and dashboards before the resource is imported.
+type AssetBundleImportJobOverrideValidationStrategy struct {
+ _ struct{} `type:"structure"`
+
+ // A Boolean value that indicates whether to import all analyses and dashboards
+ // under strict or lenient mode.
+ StrictModeForAllResources *bool `type:"boolean"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobOverrideValidationStrategy) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobOverrideValidationStrategy) GoString() string {
+ return s.String()
+}
+
+// SetStrictModeForAllResources sets the StrictModeForAllResources field's value.
+func (s *AssetBundleImportJobOverrideValidationStrategy) SetStrictModeForAllResources(v bool) *AssetBundleImportJobOverrideValidationStrategy {
+ s.StrictModeForAllResources = &v
+ return s
+}
+
// A list of overrides for a specific RefreshsSchedule resource that is present
// in the asset bundle that is imported.
type AssetBundleImportJobRefreshScheduleOverrideParameters struct {
@@ -22151,6 +23910,156 @@ func (s *AssetBundleImportJobThemeOverrideParameters) SetThemeId(v string) *Asse
return s
}
+// An object that contains a list of permissions to be applied to a list of
+// theme IDs.
+type AssetBundleImportJobThemeOverridePermissions struct {
+ _ struct{} `type:"structure"`
+
+ // A list of permissions for the themes that you want to apply overrides to.
+ //
+ // Permissions is a required field
+ Permissions *AssetBundleResourcePermissions `type:"structure" required:"true"`
+
+ // A list of theme IDs that you want to apply overrides to. You can use * to
+ // override all themes in this asset bundle.
+ //
+ // ThemeIds is a required field
+ ThemeIds []*string `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobThemeOverridePermissions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobThemeOverridePermissions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobThemeOverridePermissions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobThemeOverridePermissions"}
+ if s.Permissions == nil {
+ invalidParams.Add(request.NewErrParamRequired("Permissions"))
+ }
+ if s.ThemeIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("ThemeIds"))
+ }
+ if s.ThemeIds != nil && len(s.ThemeIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ThemeIds", 1))
+ }
+ if s.Permissions != nil {
+ if err := s.Permissions.Validate(); err != nil {
+ invalidParams.AddNested("Permissions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetPermissions sets the Permissions field's value.
+func (s *AssetBundleImportJobThemeOverridePermissions) SetPermissions(v *AssetBundleResourcePermissions) *AssetBundleImportJobThemeOverridePermissions {
+ s.Permissions = v
+ return s
+}
+
+// SetThemeIds sets the ThemeIds field's value.
+func (s *AssetBundleImportJobThemeOverridePermissions) SetThemeIds(v []*string) *AssetBundleImportJobThemeOverridePermissions {
+ s.ThemeIds = v
+ return s
+}
+
+// An object that contains a list of tags to be assigned to a list of theme
+// IDs.
+type AssetBundleImportJobThemeOverrideTags struct {
+ _ struct{} `type:"structure"`
+
+ // A list of tags for the themes that you want to apply overrides to.
+ //
+ // Tags is a required field
+ Tags []*Tag `min:"1" type:"list" required:"true"`
+
+ // A list of theme IDs that you want to apply overrides to. You can use * to
+ // override all themes in this asset bundle.
+ //
+ // ThemeIds is a required field
+ ThemeIds []*string `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobThemeOverrideTags) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobThemeOverrideTags) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobThemeOverrideTags) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobThemeOverrideTags"}
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.ThemeIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("ThemeIds"))
+ }
+ if s.ThemeIds != nil && len(s.ThemeIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ThemeIds", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetTags sets the Tags field's value.
+func (s *AssetBundleImportJobThemeOverrideTags) SetTags(v []*Tag) *AssetBundleImportJobThemeOverrideTags {
+ s.Tags = v
+ return s
+}
+
+// SetThemeIds sets the ThemeIds field's value.
+func (s *AssetBundleImportJobThemeOverrideTags) SetThemeIds(v []*string) *AssetBundleImportJobThemeOverrideTags {
+ s.ThemeIds = v
+ return s
+}
+
// The override parameters for a single VPC connection that is imported.
type AssetBundleImportJobVPCConnectionOverrideParameters struct {
_ struct{} `type:"structure"`
@@ -22262,6 +24171,85 @@ func (s *AssetBundleImportJobVPCConnectionOverrideParameters) SetVPCConnectionId
return s
}
+// An object that contains a list of tags to be assigned to a list of VPC connection
+// IDs.
+type AssetBundleImportJobVPCConnectionOverrideTags struct {
+ _ struct{} `type:"structure"`
+
+ // A list of tags for the VPC connections that you want to apply overrides to.
+ //
+ // Tags is a required field
+ Tags []*Tag `min:"1" type:"list" required:"true"`
+
+ // A list of VPC connection IDs that you want to apply overrides to. You can
+ // use * to override all VPC connections in this asset bundle.
+ //
+ // VPCConnectionIds is a required field
+ VPCConnectionIds []*string `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobVPCConnectionOverrideTags) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleImportJobVPCConnectionOverrideTags) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleImportJobVPCConnectionOverrideTags) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleImportJobVPCConnectionOverrideTags"}
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.VPCConnectionIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("VPCConnectionIds"))
+ }
+ if s.VPCConnectionIds != nil && len(s.VPCConnectionIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VPCConnectionIds", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetTags sets the Tags field's value.
+func (s *AssetBundleImportJobVPCConnectionOverrideTags) SetTags(v []*Tag) *AssetBundleImportJobVPCConnectionOverrideTags {
+ s.Tags = v
+ return s
+}
+
+// SetVPCConnectionIds sets the VPCConnectionIds field's value.
+func (s *AssetBundleImportJobVPCConnectionOverrideTags) SetVPCConnectionIds(v []*string) *AssetBundleImportJobVPCConnectionOverrideTags {
+ s.VPCConnectionIds = v
+ return s
+}
+
// The source of the asset bundle zip file that contains the data that you want
// to import. The file must be in QUICKSIGHT_JSON format.
type AssetBundleImportSource struct {
@@ -22329,7 +24317,11 @@ type AssetBundleImportSourceDescription struct {
// at the start of the import job. This URL is valid for five minutes after
// issuance. Call DescribeAssetBundleExportJob again for a fresh URL if needed.
// The downloaded asset bundle is a .qs zip file.
- Body *string `type:"string"`
+ //
+ // Body is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by AssetBundleImportSourceDescription's
+ // String and GoString methods.
+ Body *string `type:"string" sensitive:"true"`
// The Amazon S3 URI that you provided at the start of the import job.
S3Uri *string `type:"string"`
@@ -22365,6 +24357,123 @@ func (s *AssetBundleImportSourceDescription) SetS3Uri(v string) *AssetBundleImpo
return s
}
+// A structure that contains the configuration of a shared link to an Amazon
+// QuickSight dashboard.
+type AssetBundleResourceLinkSharingConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // A list of link sharing permissions for the dashboards that you want to apply
+ // overrides to.
+ Permissions *AssetBundleResourcePermissions `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleResourceLinkSharingConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleResourceLinkSharingConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleResourceLinkSharingConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleResourceLinkSharingConfiguration"}
+ if s.Permissions != nil {
+ if err := s.Permissions.Validate(); err != nil {
+ invalidParams.AddNested("Permissions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetPermissions sets the Permissions field's value.
+func (s *AssetBundleResourceLinkSharingConfiguration) SetPermissions(v *AssetBundleResourcePermissions) *AssetBundleResourceLinkSharingConfiguration {
+ s.Permissions = v
+ return s
+}
+
+// A structure that contains the permissions for the resource that you want
+// to override in an asset bundle import job.
+type AssetBundleResourcePermissions struct {
+ _ struct{} `type:"structure"`
+
+ // A list of IAM actions to grant permissions on.
+ //
+ // Actions is a required field
+ Actions []*string `min:"1" type:"list" required:"true"`
+
+ // A list of principals to grant permissions on.
+ //
+ // Principals is a required field
+ Principals []*string `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleResourcePermissions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AssetBundleResourcePermissions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssetBundleResourcePermissions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssetBundleResourcePermissions"}
+ if s.Actions == nil {
+ invalidParams.Add(request.NewErrParamRequired("Actions"))
+ }
+ if s.Actions != nil && len(s.Actions) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Actions", 1))
+ }
+ if s.Principals == nil {
+ invalidParams.Add(request.NewErrParamRequired("Principals"))
+ }
+ if s.Principals != nil && len(s.Principals) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Principals", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetActions sets the Actions field's value.
+func (s *AssetBundleResourcePermissions) SetActions(v []*string) *AssetBundleResourcePermissions {
+ s.Actions = v
+ return s
+}
+
+// SetPrincipals sets the Principals field's value.
+func (s *AssetBundleResourcePermissions) SetPrincipals(v []*string) *AssetBundleResourcePermissions {
+ s.Principals = v
+ return s
+}
+
// An array of analysis level configurations.
type AssetOptions struct {
_ struct{} `type:"structure"`
@@ -23944,6 +26053,68 @@ func (s *BarChartVisual) SetVisualId(v string) *BarChartVisual {
return s
}
+// The parameters that are required to connect to a Google BigQuery data source.
+type BigQueryParameters struct {
+ _ struct{} `type:"structure"`
+
+ // The storage location where you create a Google BigQuery data source.
+ DataSetRegion *string `min:"1" type:"string"`
+
+ // The Google Cloud Platform project ID where your datasource was created.
+ //
+ // ProjectId is a required field
+ ProjectId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BigQueryParameters) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BigQueryParameters) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *BigQueryParameters) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "BigQueryParameters"}
+ if s.DataSetRegion != nil && len(*s.DataSetRegion) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DataSetRegion", 1))
+ }
+ if s.ProjectId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProjectId"))
+ }
+ if s.ProjectId != nil && len(*s.ProjectId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProjectId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDataSetRegion sets the DataSetRegion field's value.
+func (s *BigQueryParameters) SetDataSetRegion(v string) *BigQueryParameters {
+ s.DataSetRegion = &v
+ return s
+}
+
+// SetProjectId sets the ProjectId field's value.
+func (s *BigQueryParameters) SetProjectId(v string) *BigQueryParameters {
+ s.ProjectId = &v
+ return s
+}
+
// The options that determine the bin count of a histogram.
type BinCountOptions struct {
_ struct{} `type:"structure"`
@@ -28742,27 +30913,37 @@ type CreateAccountSubscriptionInput struct {
// is the selected authentication method of the new Amazon QuickSight account.
ActiveDirectoryName *string `type:"string"`
- // The admin group associated with your Active Directory. This field is required
- // if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon
- // QuickSight account. For more information about using Active Directory in
- // Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise
- // Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html)
+ // The admin group associated with your Active Directory or IAM Identity Center
+ // account. This field is required if ACTIVE_DIRECTORY or IAM_IDENTITY_CENTER
+ // is the selected authentication method of the new Amazon QuickSight account.
+ //
+ // For more information about using IAM Identity Center in Amazon QuickSight,
+ // see Using IAM Identity Center with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html)
+ // in the Amazon QuickSight User Guide. For more information about using Active
+ // Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight
+ // Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html)
// in the Amazon QuickSight User Guide.
AdminGroup []*string `type:"list"`
// The method that you want to use to authenticate your Amazon QuickSight account.
- // Currently, the valid values for this parameter are IAM_AND_QUICKSIGHT, IAM_ONLY,
- // and ACTIVE_DIRECTORY.
//
// If you choose ACTIVE_DIRECTORY, provide an ActiveDirectoryName and an AdminGroup
// associated with your Active Directory.
//
+ // If you choose IAM_IDENTITY_CENTER, provide an AdminGroup associated with
+ // your IAM Identity Center account.
+ //
// AuthenticationMethod is a required field
AuthenticationMethod *string `type:"string" required:"true" enum:"AuthenticationMethodOption"`
- // The author group associated with your Active Directory. For more information
- // about using Active Directory in Amazon QuickSight, see Using Active Directory
- // with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html)
+ // The author group associated with your Active Directory or IAM Identity Center
+ // account.
+ //
+ // For more information about using IAM Identity Center in Amazon QuickSight,
+ // see Using IAM Identity Center with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html)
+ // in the Amazon QuickSight User Guide. For more information about using Active
+ // Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight
+ // Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html)
// in the Amazon QuickSight User Guide.
AuthorGroup []*string `type:"list"`
@@ -28818,9 +30999,14 @@ type CreateAccountSubscriptionInput struct {
// NotificationEmail is a required field
NotificationEmail *string `type:"string" required:"true"`
- // The reader group associated with your Active Direcrtory. For more information
- // about using Active Directory in Amazon QuickSight, see Using Active Directory
- // with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html)
+ // The reader group associated with your Active Directory or IAM Identity Center
+ // account.
+ //
+ // For more information about using IAM Identity Center in Amazon QuickSight,
+ // see Using IAM Identity Center with Amazon QuickSight Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html)
+ // in the Amazon QuickSight User Guide. For more information about using Active
+ // Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight
+ // Enterprise Edition (https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html)
// in the Amazon QuickSight User Guide.
ReaderGroup []*string `type:"list"`
@@ -29413,6 +31599,9 @@ type CreateDashboardInput struct {
// folders.
FolderArns []*string `type:"list"`
+ // A structure that contains the permissions of a shareable link to the dashboard.
+ LinkSharingConfiguration *LinkSharingConfiguration `type:"structure"`
+
// The display name of the dashboard.
//
// Name is a required field
@@ -29519,6 +31708,11 @@ func (s *CreateDashboardInput) Validate() error {
invalidParams.AddNested("Definition", err.(request.ErrInvalidParams))
}
}
+ if s.LinkSharingConfiguration != nil {
+ if err := s.LinkSharingConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("LinkSharingConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
if s.Parameters != nil {
if err := s.Parameters.Validate(); err != nil {
invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
@@ -29591,6 +31785,12 @@ func (s *CreateDashboardInput) SetFolderArns(v []*string) *CreateDashboardInput
return s
}
+// SetLinkSharingConfiguration sets the LinkSharingConfiguration field's value.
+func (s *CreateDashboardInput) SetLinkSharingConfiguration(v *LinkSharingConfiguration) *CreateDashboardInput {
+ s.LinkSharingConfiguration = v
+ return s
+}
+
// SetName sets the Name field's value.
func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput {
s.Name = &v
@@ -31765,6 +33965,148 @@ func (s *CreateRefreshScheduleOutput) SetStatus(v int64) *CreateRefreshScheduleO
return s
}
+type CreateRoleMembershipInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID for the Amazon Web Services account that you want to create a group
+ // in. The Amazon Web Services account ID that you provide must be the same
+ // Amazon Web Services account that contains your Amazon QuickSight account.
+ //
+ // AwsAccountId is a required field
+ AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
+
+ // The name of the group that you want to add to the role.
+ //
+ // MemberName is a required field
+ MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
+
+ // The namespace that the role belongs to.
+ //
+ // Namespace is a required field
+ Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
+
+ // The role that you want to add a group to.
+ //
+ // Role is a required field
+ Role *string `location:"uri" locationName:"Role" type:"string" required:"true" enum:"Role"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRoleMembershipInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRoleMembershipInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateRoleMembershipInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateRoleMembershipInput"}
+ if s.AwsAccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
+ }
+ if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
+ }
+ if s.MemberName == nil {
+ invalidParams.Add(request.NewErrParamRequired("MemberName"))
+ }
+ if s.MemberName != nil && len(*s.MemberName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
+ }
+ if s.Namespace == nil {
+ invalidParams.Add(request.NewErrParamRequired("Namespace"))
+ }
+ if s.Namespace != nil && len(*s.Namespace) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
+ }
+ if s.Role == nil {
+ invalidParams.Add(request.NewErrParamRequired("Role"))
+ }
+ if s.Role != nil && len(*s.Role) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Role", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *CreateRoleMembershipInput) SetAwsAccountId(v string) *CreateRoleMembershipInput {
+ s.AwsAccountId = &v
+ return s
+}
+
+// SetMemberName sets the MemberName field's value.
+func (s *CreateRoleMembershipInput) SetMemberName(v string) *CreateRoleMembershipInput {
+ s.MemberName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *CreateRoleMembershipInput) SetNamespace(v string) *CreateRoleMembershipInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *CreateRoleMembershipInput) SetRole(v string) *CreateRoleMembershipInput {
+ s.Role = &v
+ return s
+}
+
+type CreateRoleMembershipOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Web Services request ID for this operation.
+ RequestId *string `type:"string"`
+
+ // The HTTP status of the request.
+ Status *int64 `location:"statusCode" type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRoleMembershipOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRoleMembershipOutput) GoString() string {
+ return s.String()
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *CreateRoleMembershipOutput) SetRequestId(v string) *CreateRoleMembershipOutput {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CreateRoleMembershipOutput) SetStatus(v int64) *CreateRoleMembershipOutput {
+ s.Status = &v
+ return s
+}
+
type CreateTemplateAliasInput struct {
_ struct{} `type:"structure"`
@@ -35008,9 +37350,6 @@ type DashboardVersion struct {
// Errors associated with this dashboard version.
Errors []*DashboardError `min:"1" type:"list"`
- // An array of analysis level configurations.
- Options *AssetOptions `type:"structure"`
-
// A list of the associated sheets with the unique identifier and name of each
// sheet.
Sheets []*Sheet `type:"list"`
@@ -35076,12 +37415,6 @@ func (s *DashboardVersion) SetErrors(v []*DashboardError) *DashboardVersion {
return s
}
-// SetOptions sets the Options field's value.
-func (s *DashboardVersion) SetOptions(v *AssetOptions) *DashboardVersion {
- s.Options = v
- return s
-}
-
// SetSheets sets the Sheets field's value.
func (s *DashboardVersion) SetSheets(v []*Sheet) *DashboardVersion {
s.Sheets = v
@@ -37445,6 +39778,9 @@ type DataSourceParameters struct {
// The parameters for IoT Analytics.
AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"`
+ // The parameters that are required to connect to a Google BigQuery data source.
+ BigQueryParameters *BigQueryParameters `type:"structure"`
+
// The parameters that are required to connect to a Databricks data source.
DatabricksParameters *DatabricksParameters `type:"structure"`
@@ -37554,6 +39890,11 @@ func (s *DataSourceParameters) Validate() error {
invalidParams.AddNested("AwsIotAnalyticsParameters", err.(request.ErrInvalidParams))
}
}
+ if s.BigQueryParameters != nil {
+ if err := s.BigQueryParameters.Validate(); err != nil {
+ invalidParams.AddNested("BigQueryParameters", err.(request.ErrInvalidParams))
+ }
+ }
if s.DatabricksParameters != nil {
if err := s.DatabricksParameters.Validate(); err != nil {
invalidParams.AddNested("DatabricksParameters", err.(request.ErrInvalidParams))
@@ -37692,6 +40033,12 @@ func (s *DataSourceParameters) SetAwsIotAnalyticsParameters(v *AwsIotAnalyticsPa
return s
}
+// SetBigQueryParameters sets the BigQueryParameters field's value.
+func (s *DataSourceParameters) SetBigQueryParameters(v *BigQueryParameters) *DataSourceParameters {
+ s.BigQueryParameters = v
+ return s
+}
+
// SetDatabricksParameters sets the DatabricksParameters field's value.
func (s *DataSourceParameters) SetDatabricksParameters(v *DatabricksParameters) *DataSourceParameters {
s.DatabricksParameters = v
@@ -41801,6 +44148,273 @@ func (s *DeleteRefreshScheduleOutput) SetStatus(v int64) *DeleteRefreshScheduleO
return s
}
+type DeleteRoleCustomPermissionInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID for the Amazon Web Services account that the group is in. Currently,
+ // you use the ID for the Amazon Web Services account that contains your Amazon
+ // QuickSight account.
+ //
+ // AwsAccountId is a required field
+ AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
+
+ // The namespace that includes the role.
+ //
+ // Namespace is a required field
+ Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
+
+ // The role that you want to remove permissions from.
+ //
+ // Role is a required field
+ Role *string `location:"uri" locationName:"Role" type:"string" required:"true" enum:"Role"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleCustomPermissionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleCustomPermissionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteRoleCustomPermissionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteRoleCustomPermissionInput"}
+ if s.AwsAccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
+ }
+ if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
+ }
+ if s.Namespace == nil {
+ invalidParams.Add(request.NewErrParamRequired("Namespace"))
+ }
+ if s.Namespace != nil && len(*s.Namespace) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
+ }
+ if s.Role == nil {
+ invalidParams.Add(request.NewErrParamRequired("Role"))
+ }
+ if s.Role != nil && len(*s.Role) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Role", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *DeleteRoleCustomPermissionInput) SetAwsAccountId(v string) *DeleteRoleCustomPermissionInput {
+ s.AwsAccountId = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *DeleteRoleCustomPermissionInput) SetNamespace(v string) *DeleteRoleCustomPermissionInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *DeleteRoleCustomPermissionInput) SetRole(v string) *DeleteRoleCustomPermissionInput {
+ s.Role = &v
+ return s
+}
+
+type DeleteRoleCustomPermissionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Web Services request ID for this operation.
+ RequestId *string `type:"string"`
+
+ // The HTTP status of the request.
+ Status *int64 `type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleCustomPermissionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleCustomPermissionOutput) GoString() string {
+ return s.String()
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteRoleCustomPermissionOutput) SetRequestId(v string) *DeleteRoleCustomPermissionOutput {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DeleteRoleCustomPermissionOutput) SetStatus(v int64) *DeleteRoleCustomPermissionOutput {
+ s.Status = &v
+ return s
+}
+
+type DeleteRoleMembershipInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID for the Amazon Web Services account that you want to create a group
+ // in. The Amazon Web Services account ID that you provide must be the same
+ // Amazon Web Services account that contains your Amazon QuickSight account.
+ //
+ // AwsAccountId is a required field
+ AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
+
+ // The name of the group.
+ //
+ // MemberName is a required field
+ MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
+
+ // The namespace that contains the role.
+ //
+ // Namespace is a required field
+ Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
+
+ // The role that you want to remove permissions from.
+ //
+ // Role is a required field
+ Role *string `location:"uri" locationName:"Role" type:"string" required:"true" enum:"Role"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleMembershipInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleMembershipInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteRoleMembershipInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteRoleMembershipInput"}
+ if s.AwsAccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
+ }
+ if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
+ }
+ if s.MemberName == nil {
+ invalidParams.Add(request.NewErrParamRequired("MemberName"))
+ }
+ if s.MemberName != nil && len(*s.MemberName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
+ }
+ if s.Namespace == nil {
+ invalidParams.Add(request.NewErrParamRequired("Namespace"))
+ }
+ if s.Namespace != nil && len(*s.Namespace) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
+ }
+ if s.Role == nil {
+ invalidParams.Add(request.NewErrParamRequired("Role"))
+ }
+ if s.Role != nil && len(*s.Role) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Role", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *DeleteRoleMembershipInput) SetAwsAccountId(v string) *DeleteRoleMembershipInput {
+ s.AwsAccountId = &v
+ return s
+}
+
+// SetMemberName sets the MemberName field's value.
+func (s *DeleteRoleMembershipInput) SetMemberName(v string) *DeleteRoleMembershipInput {
+ s.MemberName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *DeleteRoleMembershipInput) SetNamespace(v string) *DeleteRoleMembershipInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *DeleteRoleMembershipInput) SetRole(v string) *DeleteRoleMembershipInput {
+ s.Role = &v
+ return s
+}
+
+type DeleteRoleMembershipOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Web Services request ID for this operation.
+ RequestId *string `type:"string"`
+
+ // The HTTP status of the request.
+ Status *int64 `location:"statusCode" type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleMembershipOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteRoleMembershipOutput) GoString() string {
+ return s.String()
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *DeleteRoleMembershipOutput) SetRequestId(v string) *DeleteRoleMembershipOutput {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DeleteRoleMembershipOutput) SetStatus(v int64) *DeleteRoleMembershipOutput {
+ s.Status = &v
+ return s
+}
+
type DeleteTemplateAliasInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -43959,7 +46573,11 @@ type DescribeAssetBundleExportJobOutput struct {
//
// This URL can't be used in a StartAssetBundleImportJob API call and should
// only be used for download purposes.
- DownloadUrl *string `type:"string"`
+ //
+ // DownloadUrl is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by DescribeAssetBundleExportJobOutput's
+ // String and GoString methods.
+ DownloadUrl *string `type:"string" sensitive:"true"`
// An array of error records that describes any failures that occurred during
// the export job processing.
@@ -43977,6 +46595,12 @@ type DescribeAssetBundleExportJobOutput struct {
// The include dependencies flag.
IncludeAllDependencies *bool `type:"boolean"`
+ // The include permissions flag.
+ IncludePermissions *bool `type:"boolean"`
+
+ // The include tags flag.
+ IncludeTags *bool `type:"boolean"`
+
// Indicates the status of a job through its queuing and execution.
//
// Poll this DescribeAssetBundleExportApi until JobStatus is either SUCCESSFUL
@@ -43991,6 +46615,17 @@ type DescribeAssetBundleExportJobOutput struct {
// The HTTP status of the response.
Status *int64 `location:"statusCode" type:"integer"`
+
+ // The validation strategy that is used to export the analysis or dashboard.
+ ValidationStrategy *AssetBundleExportJobValidationStrategy `type:"structure"`
+
+ // An array of warning records that describe the analysis or dashboard that
+ // is exported. This array includes UI errors that can be skipped during the
+ // validation process.
+ //
+ // This property only appears if StrictModeForAllResources in ValidationStrategy
+ // is set to FALSE.
+ Warnings []*AssetBundleExportJobWarning `type:"list"`
}
// String returns the string representation.
@@ -44065,6 +46700,18 @@ func (s *DescribeAssetBundleExportJobOutput) SetIncludeAllDependencies(v bool) *
return s
}
+// SetIncludePermissions sets the IncludePermissions field's value.
+func (s *DescribeAssetBundleExportJobOutput) SetIncludePermissions(v bool) *DescribeAssetBundleExportJobOutput {
+ s.IncludePermissions = &v
+ return s
+}
+
+// SetIncludeTags sets the IncludeTags field's value.
+func (s *DescribeAssetBundleExportJobOutput) SetIncludeTags(v bool) *DescribeAssetBundleExportJobOutput {
+ s.IncludeTags = &v
+ return s
+}
+
// SetJobStatus sets the JobStatus field's value.
func (s *DescribeAssetBundleExportJobOutput) SetJobStatus(v string) *DescribeAssetBundleExportJobOutput {
s.JobStatus = &v
@@ -44089,6 +46736,18 @@ func (s *DescribeAssetBundleExportJobOutput) SetStatus(v int64) *DescribeAssetBu
return s
}
+// SetValidationStrategy sets the ValidationStrategy field's value.
+func (s *DescribeAssetBundleExportJobOutput) SetValidationStrategy(v *AssetBundleExportJobValidationStrategy) *DescribeAssetBundleExportJobOutput {
+ s.ValidationStrategy = v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *DescribeAssetBundleExportJobOutput) SetWarnings(v []*AssetBundleExportJobWarning) *DescribeAssetBundleExportJobOutput {
+ s.Warnings = v
+ return s
+}
+
type DescribeAssetBundleImportJobInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -44200,9 +46859,22 @@ type DescribeAssetBundleImportJobOutput struct {
// * FAILED_ROLLBACK_ERROR
JobStatus *string `type:"string" enum:"AssetBundleImportJobStatus"`
- // Optional overrides to be applied to the resource configuration before import.
+ // Optional overrides that are applied to the resource configuration before
+ // import.
OverrideParameters *AssetBundleImportJobOverrideParameters `type:"structure"`
+ // Optional permission overrides that are applied to the resource configuration
+ // before import.
+ OverridePermissions *AssetBundleImportJobOverridePermissions `type:"structure"`
+
+ // Optional tag overrides that are applied to the resource configuration before
+ // import.
+ OverrideTags *AssetBundleImportJobOverrideTags `type:"structure"`
+
+ // An optional validation strategy override for all analyses and dashboards
+ // to be applied to the resource configuration before import.
+ OverrideValidationStrategy *AssetBundleImportJobOverrideValidationStrategy `type:"structure"`
+
// The Amazon Web Services request ID for this operation.
RequestId *string `type:"string"`
@@ -44289,6 +46961,24 @@ func (s *DescribeAssetBundleImportJobOutput) SetOverrideParameters(v *AssetBundl
return s
}
+// SetOverridePermissions sets the OverridePermissions field's value.
+func (s *DescribeAssetBundleImportJobOutput) SetOverridePermissions(v *AssetBundleImportJobOverridePermissions) *DescribeAssetBundleImportJobOutput {
+ s.OverridePermissions = v
+ return s
+}
+
+// SetOverrideTags sets the OverrideTags field's value.
+func (s *DescribeAssetBundleImportJobOutput) SetOverrideTags(v *AssetBundleImportJobOverrideTags) *DescribeAssetBundleImportJobOutput {
+ s.OverrideTags = v
+ return s
+}
+
+// SetOverrideValidationStrategy sets the OverrideValidationStrategy field's value.
+func (s *DescribeAssetBundleImportJobOutput) SetOverrideValidationStrategy(v *AssetBundleImportJobOverrideValidationStrategy) *DescribeAssetBundleImportJobOutput {
+ s.OverrideValidationStrategy = v
+ return s
+}
+
// SetRequestId sets the RequestId field's value.
func (s *DescribeAssetBundleImportJobOutput) SetRequestId(v string) *DescribeAssetBundleImportJobOutput {
s.RequestId = &v
@@ -47228,6 +49918,140 @@ func (s *DescribeRefreshScheduleOutput) SetStatus(v int64) *DescribeRefreshSched
return s
}
+type DescribeRoleCustomPermissionInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID for the Amazon Web Services account that you want to create a group
+ // in. The Amazon Web Services account ID that you provide must be the same
+ // Amazon Web Services account that contains your Amazon QuickSight account.
+ //
+ // AwsAccountId is a required field
+ AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
+
+ // The namespace that contains the role.
+ //
+ // Namespace is a required field
+ Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
+
+ // The name of the role whose permissions you want described.
+ //
+ // Role is a required field
+ Role *string `location:"uri" locationName:"Role" type:"string" required:"true" enum:"Role"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRoleCustomPermissionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRoleCustomPermissionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeRoleCustomPermissionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRoleCustomPermissionInput"}
+ if s.AwsAccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
+ }
+ if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
+ }
+ if s.Namespace == nil {
+ invalidParams.Add(request.NewErrParamRequired("Namespace"))
+ }
+ if s.Namespace != nil && len(*s.Namespace) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
+ }
+ if s.Role == nil {
+ invalidParams.Add(request.NewErrParamRequired("Role"))
+ }
+ if s.Role != nil && len(*s.Role) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Role", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *DescribeRoleCustomPermissionInput) SetAwsAccountId(v string) *DescribeRoleCustomPermissionInput {
+ s.AwsAccountId = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *DescribeRoleCustomPermissionInput) SetNamespace(v string) *DescribeRoleCustomPermissionInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *DescribeRoleCustomPermissionInput) SetRole(v string) *DescribeRoleCustomPermissionInput {
+ s.Role = &v
+ return s
+}
+
+type DescribeRoleCustomPermissionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the custom permission that is described.
+ CustomPermissionsName *string `min:"1" type:"string"`
+
+ // The Amazon Web Services request ID for this operation.
+ RequestId *string `type:"string"`
+
+ // The HTTP status of the request.
+ Status *int64 `type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRoleCustomPermissionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeRoleCustomPermissionOutput) GoString() string {
+ return s.String()
+}
+
+// SetCustomPermissionsName sets the CustomPermissionsName field's value.
+func (s *DescribeRoleCustomPermissionOutput) SetCustomPermissionsName(v string) *DescribeRoleCustomPermissionOutput {
+ s.CustomPermissionsName = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *DescribeRoleCustomPermissionOutput) SetRequestId(v string) *DescribeRoleCustomPermissionOutput {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeRoleCustomPermissionOutput) SetStatus(v int64) *DescribeRoleCustomPermissionOutput {
+ s.Status = &v
+ return s
+}
+
type DescribeTemplateAliasInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -62785,6 +65609,29 @@ func (s LinkSharingConfiguration) GoString() string {
return s.String()
}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *LinkSharingConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LinkSharingConfiguration"}
+ if s.Permissions != nil && len(s.Permissions) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
+ }
+ if s.Permissions != nil {
+ for i, v := range s.Permissions {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
// SetPermissions sets the Permissions field's value.
func (s *LinkSharingConfiguration) SetPermissions(v []*ResourcePermission) *LinkSharingConfiguration {
s.Permissions = v
@@ -65152,6 +67999,170 @@ func (s *ListRefreshSchedulesOutput) SetStatus(v int64) *ListRefreshSchedulesOut
return s
}
+type ListRoleMembershipsInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID for the Amazon Web Services account that you want to create a group
+ // in. The Amazon Web Services account ID that you provide must be the same
+ // Amazon Web Services account that contains your Amazon QuickSight account.
+ //
+ // AwsAccountId is a required field
+ AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
+
+ // The maximum number of results to return.
+ MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
+
+ // The namespace that includes the role.
+ //
+ // Namespace is a required field
+ Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
+
+ // A pagination token that can be used in a subsequent request.
+ NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
+
+ // The name of the role.
+ //
+ // Role is a required field
+ Role *string `location:"uri" locationName:"Role" type:"string" required:"true" enum:"Role"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListRoleMembershipsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListRoleMembershipsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListRoleMembershipsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListRoleMembershipsInput"}
+ if s.AwsAccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
+ }
+ if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.Namespace == nil {
+ invalidParams.Add(request.NewErrParamRequired("Namespace"))
+ }
+ if s.Namespace != nil && len(*s.Namespace) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
+ }
+ if s.Role == nil {
+ invalidParams.Add(request.NewErrParamRequired("Role"))
+ }
+ if s.Role != nil && len(*s.Role) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Role", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *ListRoleMembershipsInput) SetAwsAccountId(v string) *ListRoleMembershipsInput {
+ s.AwsAccountId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListRoleMembershipsInput) SetMaxResults(v int64) *ListRoleMembershipsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *ListRoleMembershipsInput) SetNamespace(v string) *ListRoleMembershipsInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRoleMembershipsInput) SetNextToken(v string) *ListRoleMembershipsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *ListRoleMembershipsInput) SetRole(v string) *ListRoleMembershipsInput {
+ s.Role = &v
+ return s
+}
+
+type ListRoleMembershipsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The list of groups associated with a role
+ MembersList []*string `type:"list"`
+
+ // A pagination token that can be used in a subsequent request.
+ NextToken *string `type:"string"`
+
+ // The Amazon Web Services request ID for this operation.
+ RequestId *string `type:"string"`
+
+ // The HTTP status of the request.
+ Status *int64 `location:"statusCode" type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListRoleMembershipsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListRoleMembershipsOutput) GoString() string {
+ return s.String()
+}
+
+// SetMembersList sets the MembersList field's value.
+func (s *ListRoleMembershipsOutput) SetMembersList(v []*string) *ListRoleMembershipsOutput {
+ s.MembersList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRoleMembershipsOutput) SetNextToken(v string) *ListRoleMembershipsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *ListRoleMembershipsOutput) SetRequestId(v string) *ListRoleMembershipsOutput {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ListRoleMembershipsOutput) SetStatus(v int64) *ListRoleMembershipsOutput {
+ s.Status = &v
+ return s
+}
+
type ListTagsForResourceInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -83970,6 +86981,16 @@ type StartAssetBundleExportJobInput struct {
// dashboard is also exported.
IncludeAllDependencies *bool `type:"boolean"`
+ // A Boolean that determines whether all permissions for each resource ARN are
+ // exported with the job. If you set IncludePermissions to TRUE, any permissions
+ // associated with each resource are exported.
+ IncludePermissions *bool `type:"boolean"`
+
+ // A Boolean that determines whether all tags for each resource ARN are exported
+ // with the job. If you set IncludeTags to TRUE, any tags associated with each
+ // resource are exported.
+ IncludeTags *bool `type:"boolean"`
+
// An array of resource ARNs to export. The following resources are supported.
//
// * Analysis
@@ -83991,6 +87012,13 @@ type StartAssetBundleExportJobInput struct {
//
// ResourceArns is a required field
ResourceArns []*string `min:"1" type:"list" required:"true"`
+
+ // An optional parameter that determines which validation strategy to use for
+ // the export job. If StrictModeForAllResources is set to TRUE, strict validation
+ // for every error is enforced. If it is set to FALSE, validation is skipped
+ // for specific UI errors that are shown as warnings. The default value for
+ // StrictModeForAllResources is FALSE.
+ ValidationStrategy *AssetBundleExportJobValidationStrategy `type:"structure"`
}
// String returns the string representation.
@@ -84077,12 +87105,30 @@ func (s *StartAssetBundleExportJobInput) SetIncludeAllDependencies(v bool) *Star
return s
}
+// SetIncludePermissions sets the IncludePermissions field's value.
+func (s *StartAssetBundleExportJobInput) SetIncludePermissions(v bool) *StartAssetBundleExportJobInput {
+ s.IncludePermissions = &v
+ return s
+}
+
+// SetIncludeTags sets the IncludeTags field's value.
+func (s *StartAssetBundleExportJobInput) SetIncludeTags(v bool) *StartAssetBundleExportJobInput {
+ s.IncludeTags = &v
+ return s
+}
+
// SetResourceArns sets the ResourceArns field's value.
func (s *StartAssetBundleExportJobInput) SetResourceArns(v []*string) *StartAssetBundleExportJobInput {
s.ResourceArns = v
return s
}
+// SetValidationStrategy sets the ValidationStrategy field's value.
+func (s *StartAssetBundleExportJobInput) SetValidationStrategy(v *AssetBundleExportJobValidationStrategy) *StartAssetBundleExportJobInput {
+ s.ValidationStrategy = v
+ return s
+}
+
type StartAssetBundleExportJobOutput struct {
_ struct{} `type:"structure"`
@@ -84172,8 +87218,21 @@ type StartAssetBundleImportJobInput struct {
// account in an inconsistent state.
FailureAction *string `type:"string" enum:"AssetBundleImportFailureAction"`
- // Optional overrides to be applied to the resource configuration before import.
+ // Optional overrides that are applied to the resource configuration before
+ // import.
OverrideParameters *AssetBundleImportJobOverrideParameters `type:"structure"`
+
+ // Optional permission overrides that are applied to the resource configuration
+ // before import.
+ OverridePermissions *AssetBundleImportJobOverridePermissions `type:"structure"`
+
+ // Optional tag overrides that are applied to the resource configuration before
+ // import.
+ OverrideTags *AssetBundleImportJobOverrideTags `type:"structure"`
+
+ // An optional validation strategy override for all analyses and dashboards
+ // that is applied to the resource configuration before import.
+ OverrideValidationStrategy *AssetBundleImportJobOverrideValidationStrategy `type:"structure"`
}
// String returns the string representation.
@@ -84217,6 +87276,16 @@ func (s *StartAssetBundleImportJobInput) Validate() error {
invalidParams.AddNested("OverrideParameters", err.(request.ErrInvalidParams))
}
}
+ if s.OverridePermissions != nil {
+ if err := s.OverridePermissions.Validate(); err != nil {
+ invalidParams.AddNested("OverridePermissions", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.OverrideTags != nil {
+ if err := s.OverrideTags.Validate(); err != nil {
+ invalidParams.AddNested("OverrideTags", err.(request.ErrInvalidParams))
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -84254,6 +87323,24 @@ func (s *StartAssetBundleImportJobInput) SetOverrideParameters(v *AssetBundleImp
return s
}
+// SetOverridePermissions sets the OverridePermissions field's value.
+func (s *StartAssetBundleImportJobInput) SetOverridePermissions(v *AssetBundleImportJobOverridePermissions) *StartAssetBundleImportJobInput {
+ s.OverridePermissions = v
+ return s
+}
+
+// SetOverrideTags sets the OverrideTags field's value.
+func (s *StartAssetBundleImportJobInput) SetOverrideTags(v *AssetBundleImportJobOverrideTags) *StartAssetBundleImportJobInput {
+ s.OverrideTags = v
+ return s
+}
+
+// SetOverrideValidationStrategy sets the OverrideValidationStrategy field's value.
+func (s *StartAssetBundleImportJobInput) SetOverrideValidationStrategy(v *AssetBundleImportJobOverrideValidationStrategy) *StartAssetBundleImportJobInput {
+ s.OverrideValidationStrategy = v
+ return s
+}
+
type StartAssetBundleImportJobOutput struct {
_ struct{} `type:"structure"`
@@ -87683,9 +90770,6 @@ type TemplateVersion struct {
// Errors associated with this template version.
Errors []*TemplateError `min:"1" type:"list"`
- // An array of analysis level configurations.
- Options *AssetOptions `type:"structure"`
-
// A list of the associated sheets with the unique identifier and name of each
// sheet.
Sheets []*Sheet `type:"list"`
@@ -87760,12 +90844,6 @@ func (s *TemplateVersion) SetErrors(v []*TemplateError) *TemplateVersion {
return s
}
-// SetOptions sets the Options field's value.
-func (s *TemplateVersion) SetOptions(v *AssetOptions) *TemplateVersion {
- s.Options = v
- return s
-}
-
// SetSheets sets the Sheets field's value.
func (s *TemplateVersion) SetSheets(v []*Sheet) *TemplateVersion {
s.Sheets = v
@@ -96513,6 +99591,148 @@ func (s *UpdateRefreshScheduleOutput) SetStatus(v int64) *UpdateRefreshScheduleO
return s
}
+type UpdateRoleCustomPermissionInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID for the Amazon Web Services account that you want to create a group
+ // in. The Amazon Web Services account ID that you provide must be the same
+ // Amazon Web Services account that contains your Amazon QuickSight account.
+ //
+ // AwsAccountId is a required field
+ AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
+
+ // The name of the custom permission that you want to update the role with.
+ //
+ // CustomPermissionsName is a required field
+ CustomPermissionsName *string `min:"1" type:"string" required:"true"`
+
+ // The namespace that contains the role that you want to update.
+ //
+ // Namespace is a required field
+ Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
+
+ // The name of role tht you want to update.
+ //
+ // Role is a required field
+ Role *string `location:"uri" locationName:"Role" type:"string" required:"true" enum:"Role"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateRoleCustomPermissionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateRoleCustomPermissionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateRoleCustomPermissionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateRoleCustomPermissionInput"}
+ if s.AwsAccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
+ }
+ if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
+ }
+ if s.CustomPermissionsName == nil {
+ invalidParams.Add(request.NewErrParamRequired("CustomPermissionsName"))
+ }
+ if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1))
+ }
+ if s.Namespace == nil {
+ invalidParams.Add(request.NewErrParamRequired("Namespace"))
+ }
+ if s.Namespace != nil && len(*s.Namespace) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
+ }
+ if s.Role == nil {
+ invalidParams.Add(request.NewErrParamRequired("Role"))
+ }
+ if s.Role != nil && len(*s.Role) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Role", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *UpdateRoleCustomPermissionInput) SetAwsAccountId(v string) *UpdateRoleCustomPermissionInput {
+ s.AwsAccountId = &v
+ return s
+}
+
+// SetCustomPermissionsName sets the CustomPermissionsName field's value.
+func (s *UpdateRoleCustomPermissionInput) SetCustomPermissionsName(v string) *UpdateRoleCustomPermissionInput {
+ s.CustomPermissionsName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *UpdateRoleCustomPermissionInput) SetNamespace(v string) *UpdateRoleCustomPermissionInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *UpdateRoleCustomPermissionInput) SetRole(v string) *UpdateRoleCustomPermissionInput {
+ s.Role = &v
+ return s
+}
+
+type UpdateRoleCustomPermissionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Web Services request ID for this operation.
+ RequestId *string `type:"string"`
+
+ // The HTTP status of the request.
+ Status *int64 `type:"integer"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateRoleCustomPermissionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateRoleCustomPermissionOutput) GoString() string {
+ return s.String()
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *UpdateRoleCustomPermissionOutput) SetRequestId(v string) *UpdateRoleCustomPermissionOutput {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdateRoleCustomPermissionOutput) SetStatus(v int64) *UpdateRoleCustomPermissionOutput {
+ s.Status = &v
+ return s
+}
+
type UpdateTemplateAliasInput struct {
_ struct{} `type:"structure"`
@@ -99138,7 +102358,7 @@ func (s *VPCConnectionSummary) SetVPCId(v string) *VPCConnectionSummary {
type ValidationStrategy struct {
_ struct{} `type:"structure"`
- // The mode of validation for the asset to be creaed or updated. When you set
+ // The mode of validation for the asset to be created or updated. When you set
// this value to STRICT, strict validation for every error is enforced. When
// you set this value to LENIENT, validation is skipped for specific UI errors.
//
@@ -102634,6 +105854,15 @@ const (
// DataSourceTypeDatabricks is a DataSourceType enum value
DataSourceTypeDatabricks = "DATABRICKS"
+
+ // DataSourceTypeStarburst is a DataSourceType enum value
+ DataSourceTypeStarburst = "STARBURST"
+
+ // DataSourceTypeTrino is a DataSourceType enum value
+ DataSourceTypeTrino = "TRINO"
+
+ // DataSourceTypeBigquery is a DataSourceType enum value
+ DataSourceTypeBigquery = "BIGQUERY"
)
// DataSourceType_Values returns all elements of the DataSourceType enum
@@ -102665,6 +105894,9 @@ func DataSourceType_Values() []string {
DataSourceTypeAmazonOpensearch,
DataSourceTypeExasol,
DataSourceTypeDatabricks,
+ DataSourceTypeStarburst,
+ DataSourceTypeTrino,
+ DataSourceTypeBigquery,
}
}
@@ -104964,6 +108196,26 @@ func ResourceStatus_Values() []string {
}
}
+const (
+ // RoleAdmin is a Role enum value
+ RoleAdmin = "ADMIN"
+
+ // RoleAuthor is a Role enum value
+ RoleAuthor = "AUTHOR"
+
+ // RoleReader is a Role enum value
+ RoleReader = "READER"
+)
+
+// Role_Values returns all elements of the Role enum
+func Role_Values() []string {
+ return []string{
+ RoleAdmin,
+ RoleAuthor,
+ RoleReader,
+ }
+}
+
const (
// RowLevelPermissionFormatVersionVersion1 is a RowLevelPermissionFormatVersion enum value
RowLevelPermissionFormatVersionVersion1 = "VERSION_1"
diff --git a/service/quicksight/quicksightiface/interface.go b/service/quicksight/quicksightiface/interface.go
index 7666b784593..4e3b72c2318 100644
--- a/service/quicksight/quicksightiface/interface.go
+++ b/service/quicksight/quicksightiface/interface.go
@@ -120,6 +120,10 @@ type QuickSightAPI interface {
CreateRefreshScheduleWithContext(aws.Context, *quicksight.CreateRefreshScheduleInput, ...request.Option) (*quicksight.CreateRefreshScheduleOutput, error)
CreateRefreshScheduleRequest(*quicksight.CreateRefreshScheduleInput) (*request.Request, *quicksight.CreateRefreshScheduleOutput)
+ CreateRoleMembership(*quicksight.CreateRoleMembershipInput) (*quicksight.CreateRoleMembershipOutput, error)
+ CreateRoleMembershipWithContext(aws.Context, *quicksight.CreateRoleMembershipInput, ...request.Option) (*quicksight.CreateRoleMembershipOutput, error)
+ CreateRoleMembershipRequest(*quicksight.CreateRoleMembershipInput) (*request.Request, *quicksight.CreateRoleMembershipOutput)
+
CreateTemplate(*quicksight.CreateTemplateInput) (*quicksight.CreateTemplateOutput, error)
CreateTemplateWithContext(aws.Context, *quicksight.CreateTemplateInput, ...request.Option) (*quicksight.CreateTemplateOutput, error)
CreateTemplateRequest(*quicksight.CreateTemplateInput) (*request.Request, *quicksight.CreateTemplateOutput)
@@ -204,6 +208,14 @@ type QuickSightAPI interface {
DeleteRefreshScheduleWithContext(aws.Context, *quicksight.DeleteRefreshScheduleInput, ...request.Option) (*quicksight.DeleteRefreshScheduleOutput, error)
DeleteRefreshScheduleRequest(*quicksight.DeleteRefreshScheduleInput) (*request.Request, *quicksight.DeleteRefreshScheduleOutput)
+ DeleteRoleCustomPermission(*quicksight.DeleteRoleCustomPermissionInput) (*quicksight.DeleteRoleCustomPermissionOutput, error)
+ DeleteRoleCustomPermissionWithContext(aws.Context, *quicksight.DeleteRoleCustomPermissionInput, ...request.Option) (*quicksight.DeleteRoleCustomPermissionOutput, error)
+ DeleteRoleCustomPermissionRequest(*quicksight.DeleteRoleCustomPermissionInput) (*request.Request, *quicksight.DeleteRoleCustomPermissionOutput)
+
+ DeleteRoleMembership(*quicksight.DeleteRoleMembershipInput) (*quicksight.DeleteRoleMembershipOutput, error)
+ DeleteRoleMembershipWithContext(aws.Context, *quicksight.DeleteRoleMembershipInput, ...request.Option) (*quicksight.DeleteRoleMembershipOutput, error)
+ DeleteRoleMembershipRequest(*quicksight.DeleteRoleMembershipInput) (*request.Request, *quicksight.DeleteRoleMembershipOutput)
+
DeleteTemplate(*quicksight.DeleteTemplateInput) (*quicksight.DeleteTemplateOutput, error)
DeleteTemplateWithContext(aws.Context, *quicksight.DeleteTemplateInput, ...request.Option) (*quicksight.DeleteTemplateOutput, error)
DeleteTemplateRequest(*quicksight.DeleteTemplateInput) (*request.Request, *quicksight.DeleteTemplateOutput)
@@ -358,6 +370,10 @@ type QuickSightAPI interface {
DescribeRefreshScheduleWithContext(aws.Context, *quicksight.DescribeRefreshScheduleInput, ...request.Option) (*quicksight.DescribeRefreshScheduleOutput, error)
DescribeRefreshScheduleRequest(*quicksight.DescribeRefreshScheduleInput) (*request.Request, *quicksight.DescribeRefreshScheduleOutput)
+ DescribeRoleCustomPermission(*quicksight.DescribeRoleCustomPermissionInput) (*quicksight.DescribeRoleCustomPermissionOutput, error)
+ DescribeRoleCustomPermissionWithContext(aws.Context, *quicksight.DescribeRoleCustomPermissionInput, ...request.Option) (*quicksight.DescribeRoleCustomPermissionOutput, error)
+ DescribeRoleCustomPermissionRequest(*quicksight.DescribeRoleCustomPermissionInput) (*request.Request, *quicksight.DescribeRoleCustomPermissionOutput)
+
DescribeTemplate(*quicksight.DescribeTemplateInput) (*quicksight.DescribeTemplateOutput, error)
DescribeTemplateWithContext(aws.Context, *quicksight.DescribeTemplateInput, ...request.Option) (*quicksight.DescribeTemplateOutput, error)
DescribeTemplateRequest(*quicksight.DescribeTemplateInput) (*request.Request, *quicksight.DescribeTemplateOutput)
@@ -535,6 +551,13 @@ type QuickSightAPI interface {
ListRefreshSchedulesWithContext(aws.Context, *quicksight.ListRefreshSchedulesInput, ...request.Option) (*quicksight.ListRefreshSchedulesOutput, error)
ListRefreshSchedulesRequest(*quicksight.ListRefreshSchedulesInput) (*request.Request, *quicksight.ListRefreshSchedulesOutput)
+ ListRoleMemberships(*quicksight.ListRoleMembershipsInput) (*quicksight.ListRoleMembershipsOutput, error)
+ ListRoleMembershipsWithContext(aws.Context, *quicksight.ListRoleMembershipsInput, ...request.Option) (*quicksight.ListRoleMembershipsOutput, error)
+ ListRoleMembershipsRequest(*quicksight.ListRoleMembershipsInput) (*request.Request, *quicksight.ListRoleMembershipsOutput)
+
+ ListRoleMembershipsPages(*quicksight.ListRoleMembershipsInput, func(*quicksight.ListRoleMembershipsOutput, bool) bool) error
+ ListRoleMembershipsPagesWithContext(aws.Context, *quicksight.ListRoleMembershipsInput, func(*quicksight.ListRoleMembershipsOutput, bool) bool, ...request.Option) error
+
ListTagsForResource(*quicksight.ListTagsForResourceInput) (*quicksight.ListTagsForResourceOutput, error)
ListTagsForResourceWithContext(aws.Context, *quicksight.ListTagsForResourceInput, ...request.Option) (*quicksight.ListTagsForResourceOutput, error)
ListTagsForResourceRequest(*quicksight.ListTagsForResourceInput) (*request.Request, *quicksight.ListTagsForResourceOutput)
@@ -756,6 +779,10 @@ type QuickSightAPI interface {
UpdateRefreshScheduleWithContext(aws.Context, *quicksight.UpdateRefreshScheduleInput, ...request.Option) (*quicksight.UpdateRefreshScheduleOutput, error)
UpdateRefreshScheduleRequest(*quicksight.UpdateRefreshScheduleInput) (*request.Request, *quicksight.UpdateRefreshScheduleOutput)
+ UpdateRoleCustomPermission(*quicksight.UpdateRoleCustomPermissionInput) (*quicksight.UpdateRoleCustomPermissionOutput, error)
+ UpdateRoleCustomPermissionWithContext(aws.Context, *quicksight.UpdateRoleCustomPermissionInput, ...request.Option) (*quicksight.UpdateRoleCustomPermissionOutput, error)
+ UpdateRoleCustomPermissionRequest(*quicksight.UpdateRoleCustomPermissionInput) (*request.Request, *quicksight.UpdateRoleCustomPermissionOutput)
+
UpdateTemplate(*quicksight.UpdateTemplateInput) (*quicksight.UpdateTemplateOutput, error)
UpdateTemplateWithContext(aws.Context, *quicksight.UpdateTemplateInput, ...request.Option) (*quicksight.UpdateTemplateOutput, error)
UpdateTemplateRequest(*quicksight.UpdateTemplateInput) (*request.Request, *quicksight.UpdateTemplateOutput)
diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go
index 05969a363cc..a97a41c7831 100644
--- a/service/sagemaker/api.go
+++ b/service/sagemaker/api.go
@@ -55484,6 +55484,10 @@ type DescribeDomainOutput struct {
// apps and the RStudioServerPro app.
SecurityGroupIdForDomainBoundary *string `type:"string"`
+ // The ARN of the associated Amazon Web Services Single Sign-On application
+ // for this Domain.
+ SingleSignOnApplicationArn *string `type:"string"`
+
// The IAM Identity Center managed application instance ID.
SingleSignOnManagedApplicationInstanceId *string `type:"string"`
@@ -55614,6 +55618,12 @@ func (s *DescribeDomainOutput) SetSecurityGroupIdForDomainBoundary(v string) *De
return s
}
+// SetSingleSignOnApplicationArn sets the SingleSignOnApplicationArn field's value.
+func (s *DescribeDomainOutput) SetSingleSignOnApplicationArn(v string) *DescribeDomainOutput {
+ s.SingleSignOnApplicationArn = &v
+ return s
+}
+
// SetSingleSignOnManagedApplicationInstanceId sets the SingleSignOnManagedApplicationInstanceId field's value.
func (s *DescribeDomainOutput) SetSingleSignOnManagedApplicationInstanceId(v string) *DescribeDomainOutput {
s.SingleSignOnManagedApplicationInstanceId = &v
@@ -92088,9 +92098,7 @@ type ModelPackageSummary struct {
ModelPackageGroupName *string `min:"1" type:"string"`
// The name of the model package.
- //
- // ModelPackageName is a required field
- ModelPackageName *string `min:"1" type:"string" required:"true"`
+ ModelPackageName *string `min:"1" type:"string"`
// The overall status of the model package.
//
@@ -107948,6 +107956,9 @@ func (s StopTransformJobOutput) GoString() string {
type StoppingCondition struct {
_ struct{} `type:"structure"`
+ // The maximum pending time in seconds.
+ MaxPendingTimeInSeconds *int64 `min:"7200" type:"integer"`
+
// The maximum length of time, in seconds, that a training or compilation job
// can run before it is stopped.
//
@@ -107998,6 +108009,9 @@ func (s StoppingCondition) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *StoppingCondition) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "StoppingCondition"}
+ if s.MaxPendingTimeInSeconds != nil && *s.MaxPendingTimeInSeconds < 7200 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxPendingTimeInSeconds", 7200))
+ }
if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
}
@@ -108011,6 +108025,12 @@ func (s *StoppingCondition) Validate() error {
return nil
}
+// SetMaxPendingTimeInSeconds sets the MaxPendingTimeInSeconds field's value.
+func (s *StoppingCondition) SetMaxPendingTimeInSeconds(v int64) *StoppingCondition {
+ s.MaxPendingTimeInSeconds = &v
+ return s
+}
+
// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition {
s.MaxRuntimeInSeconds = &v
@@ -118784,6 +118804,15 @@ const (
// AppInstanceTypeMlP4de24xlarge is a AppInstanceType enum value
AppInstanceTypeMlP4de24xlarge = "ml.p4de.24xlarge"
+
+ // AppInstanceTypeMlTrn12xlarge is a AppInstanceType enum value
+ AppInstanceTypeMlTrn12xlarge = "ml.trn1.2xlarge"
+
+ // AppInstanceTypeMlTrn132xlarge is a AppInstanceType enum value
+ AppInstanceTypeMlTrn132xlarge = "ml.trn1.32xlarge"
+
+ // AppInstanceTypeMlTrn1n32xlarge is a AppInstanceType enum value
+ AppInstanceTypeMlTrn1n32xlarge = "ml.trn1n.32xlarge"
)
// AppInstanceType_Values returns all elements of the AppInstanceType enum
@@ -118849,6 +118878,9 @@ func AppInstanceType_Values() []string {
AppInstanceTypeMlGeospatialInteractive,
AppInstanceTypeMlP4d24xlarge,
AppInstanceTypeMlP4de24xlarge,
+ AppInstanceTypeMlTrn12xlarge,
+ AppInstanceTypeMlTrn132xlarge,
+ AppInstanceTypeMlTrn1n32xlarge,
}
}
diff --git a/service/ssm/api.go b/service/ssm/api.go
index aa2b3f1d597..673ad831d17 100644
--- a/service/ssm/api.go
+++ b/service/ssm/api.go
@@ -18828,6 +18828,9 @@ type AutomationExecution struct {
// The CloudWatch alarm that was invoked by the automation.
TriggeredAlarms []*AlarmStateInformation `min:"1" type:"list"`
+
+ // Variables defined for the automation.
+ Variables map[string][]*string `min:"1" type:"map"`
}
// String returns the string representation.
@@ -19046,6 +19049,12 @@ func (s *AutomationExecution) SetTriggeredAlarms(v []*AlarmStateInformation) *Au
return s
}
+// SetVariables sets the Variables field's value.
+func (s *AutomationExecution) SetVariables(v map[string][]*string) *AutomationExecution {
+ s.Variables = v
+ return s
+}
+
// A filter used to match specific automation executions. This is used to limit
// the scope of Automation execution information returned.
type AutomationExecutionFilter struct {
@@ -22968,7 +22977,7 @@ type CreateOpsItemInput struct {
// * /aws/changerequest This type of OpsItem is used by Change Manager for
// reviewing and approving or rejecting change requests.
//
- // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating
+ // * /aws/insight This type of OpsItem is used by OpsCenter for aggregating
// and reporting on duplicate OpsItems.
OpsItemType *string `type:"string"`
@@ -27178,6 +27187,9 @@ type DescribeInstancePatchesInput struct {
// * Severity Sample values: Important | Medium | Low
//
// * State Sample values: Installed | InstalledOther | InstalledPendingReboot
+ // For lists of all State values, see Understanding patch compliance state
+ // values (https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-compliance-states.html)
+ // in the Amazon Web Services Systems Manager User Guide.
Filters []*PatchOrchestratorFilter `type:"list"`
// The ID of the managed node whose patch state information should be retrieved.
@@ -45492,7 +45504,7 @@ type OpsItem struct {
// * /aws/changerequest This type of OpsItem is used by Change Manager for
// reviewing and approving or rejecting change requests.
//
- // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating
+ // * /aws/insight This type of OpsItem is used by OpsCenter for aggregating
// and reporting on duplicate OpsItems.
OpsItemType *string `type:"string"`
@@ -46783,7 +46795,7 @@ type OpsItemSummary struct {
// * /aws/changerequest This type of OpsItem is used by Change Manager for
// reviewing and approving or rejecting change requests.
//
- // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating
+ // * /aws/insight This type of OpsItem is used by OpsCenter for aggregating
// and reporting on duplicate OpsItems.
OpsItemType *string `type:"string"`
@@ -48633,6 +48645,74 @@ func (s *ParametersFilter) SetValues(v []*string) *ParametersFilter {
return s
}
+// A detailed status of the parent step.
+type ParentStepDetails struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the automation action.
+ Action *string `type:"string"`
+
+ // The current repetition of the loop represented by an integer.
+ Iteration *int64 `type:"integer"`
+
+ // The current value of the specified iterator in the loop.
+ IteratorValue *string `type:"string"`
+
+ // The unique ID of a step execution.
+ StepExecutionId *string `type:"string"`
+
+ // The name of the step.
+ StepName *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ParentStepDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ParentStepDetails) GoString() string {
+ return s.String()
+}
+
+// SetAction sets the Action field's value.
+func (s *ParentStepDetails) SetAction(v string) *ParentStepDetails {
+ s.Action = &v
+ return s
+}
+
+// SetIteration sets the Iteration field's value.
+func (s *ParentStepDetails) SetIteration(v int64) *ParentStepDetails {
+ s.Iteration = &v
+ return s
+}
+
+// SetIteratorValue sets the IteratorValue field's value.
+func (s *ParentStepDetails) SetIteratorValue(v string) *ParentStepDetails {
+ s.IteratorValue = &v
+ return s
+}
+
+// SetStepExecutionId sets the StepExecutionId field's value.
+func (s *ParentStepDetails) SetStepExecutionId(v string) *ParentStepDetails {
+ s.StepExecutionId = &v
+ return s
+}
+
+// SetStepName sets the StepName field's value.
+func (s *ParentStepDetails) SetStepName(v string) *ParentStepDetails {
+ s.StepName = &v
+ return s
+}
+
// Represents metadata about a patch.
type Patch struct {
_ struct{} `type:"structure"`
@@ -55401,6 +55481,9 @@ type StepExecution struct {
// A user-specified list of parameters to override when running a step.
OverriddenParameters map[string][]*string `min:"1" type:"map"`
+ // Information about the parent step.
+ ParentStepDetails *ParentStepDetails `type:"structure"`
+
// A message associated with the response code for an execution.
Response *string `type:"string"`
@@ -55533,6 +55616,12 @@ func (s *StepExecution) SetOverriddenParameters(v map[string][]*string) *StepExe
return s
}
+// SetParentStepDetails sets the ParentStepDetails field's value.
+func (s *StepExecution) SetParentStepDetails(v *ParentStepDetails) *StepExecution {
+ s.ParentStepDetails = v
+ return s
+}
+
// SetResponse sets the Response field's value.
func (s *StepExecution) SetResponse(v string) *StepExecution {
s.Response = &v
@@ -55598,9 +55687,7 @@ func (s *StepExecution) SetValidNextSteps(v []*string) *StepExecution {
type StepExecutionFilter struct {
_ struct{} `type:"structure"`
- // One or more keys to limit the results. Valid filter keys include the following:
- // StepName, Action, StepExecutionId, StepExecutionStatus, StartTimeBefore,
- // StartTimeAfter.
+ // One or more keys to limit the results.
//
// Key is a required field
Key *string `type:"string" required:"true" enum:"StepExecutionFilterKey"`
@@ -59984,23 +60071,25 @@ type UpdateServiceSettingInput struct {
// The new value to specify for the service setting. The following list specifies
// the available values for each setting.
//
- // * /ssm/managed-instance/default-ec2-instance-management-role: The name
- // of an IAM role
+ // * For /ssm/managed-instance/default-ec2-instance-management-role, enter
+ // the name of an IAM role.
//
- // * /ssm/automation/customer-script-log-destination: CloudWatch
+ // * For /ssm/automation/customer-script-log-destination, enter CloudWatch.
//
- // * /ssm/automation/customer-script-log-group-name: The name of an Amazon
- // CloudWatch Logs log group
+ // * For /ssm/automation/customer-script-log-group-name, enter the name of
+ // an Amazon CloudWatch Logs log group.
//
- // * /ssm/documents/console/public-sharing-permission: Enable or Disable
+ // * For /ssm/documents/console/public-sharing-permission, enter Enable or
+ // Disable.
//
- // * /ssm/managed-instance/activation-tier: standard or advanced
+ // * For /ssm/managed-instance/activation-tier, enter standard or advanced.
//
- // * /ssm/opsinsights/opscenter: Enabled or Disabled
+ // * For /ssm/opsinsights/opscenter, enter Enabled or Disabled.
//
- // * /ssm/parameter-store/default-parameter-tier: Standard, Advanced, Intelligent-Tiering
+ // * For /ssm/parameter-store/default-parameter-tier, enter Standard, Advanced,
+ // or Intelligent-Tiering
//
- // * /ssm/parameter-store/high-throughput-enabled: true or false
+ // * For /ssm/parameter-store/high-throughput-enabled, enter true or false.
//
// SettingValue is a required field
SettingValue *string `min:"1" type:"string" required:"true"`
@@ -60387,6 +60476,9 @@ const (
// AutomationExecutionStatusCompletedWithFailure is a AutomationExecutionStatus enum value
AutomationExecutionStatusCompletedWithFailure = "CompletedWithFailure"
+
+ // AutomationExecutionStatusExited is a AutomationExecutionStatus enum value
+ AutomationExecutionStatusExited = "Exited"
)
// AutomationExecutionStatus_Values returns all elements of the AutomationExecutionStatus enum
@@ -60410,6 +60502,7 @@ func AutomationExecutionStatus_Values() []string {
AutomationExecutionStatusChangeCalendarOverrideRejected,
AutomationExecutionStatusCompletedWithSuccess,
AutomationExecutionStatusCompletedWithFailure,
+ AutomationExecutionStatusExited,
}
}
@@ -62328,6 +62421,15 @@ const (
// StepExecutionFilterKeyAction is a StepExecutionFilterKey enum value
StepExecutionFilterKeyAction = "Action"
+
+ // StepExecutionFilterKeyParentStepExecutionId is a StepExecutionFilterKey enum value
+ StepExecutionFilterKeyParentStepExecutionId = "ParentStepExecutionId"
+
+ // StepExecutionFilterKeyParentStepIteration is a StepExecutionFilterKey enum value
+ StepExecutionFilterKeyParentStepIteration = "ParentStepIteration"
+
+ // StepExecutionFilterKeyParentStepIteratorValue is a StepExecutionFilterKey enum value
+ StepExecutionFilterKeyParentStepIteratorValue = "ParentStepIteratorValue"
)
// StepExecutionFilterKey_Values returns all elements of the StepExecutionFilterKey enum
@@ -62339,6 +62441,9 @@ func StepExecutionFilterKey_Values() []string {
StepExecutionFilterKeyStepExecutionId,
StepExecutionFilterKeyStepName,
StepExecutionFilterKeyAction,
+ StepExecutionFilterKeyParentStepExecutionId,
+ StepExecutionFilterKeyParentStepIteration,
+ StepExecutionFilterKeyParentStepIteratorValue,
}
}
diff --git a/service/ssm/doc.go b/service/ssm/doc.go
index b7b2854b4a9..a527ef256c4 100644
--- a/service/ssm/doc.go
+++ b/service/ssm/doc.go
@@ -15,7 +15,7 @@
// Related resources
//
// - For information about each of the capabilities that comprise Systems
-// Manager, see Systems Manager capabilities (https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html)
+// Manager, see Systems Manager capabilities (https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities)
// in the Amazon Web Services Systems Manager User Guide.
//
// - For details about predefined runbooks for Automation, a capability of
diff --git a/service/ssmincidents/api.go b/service/ssmincidents/api.go
index 2416400b8c9..532db5f0ef6 100644
--- a/service/ssmincidents/api.go
+++ b/service/ssmincidents/api.go
@@ -13,6 +13,103 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/restjson"
)
+const opBatchGetIncidentFindings = "BatchGetIncidentFindings"
+
+// BatchGetIncidentFindingsRequest generates a "aws/request.Request" representing the
+// client's request for the BatchGetIncidentFindings operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See BatchGetIncidentFindings for more information on using the BatchGetIncidentFindings
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the BatchGetIncidentFindingsRequest method.
+// req, resp := client.BatchGetIncidentFindingsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/BatchGetIncidentFindings
+func (c *SSMIncidents) BatchGetIncidentFindingsRequest(input *BatchGetIncidentFindingsInput) (req *request.Request, output *BatchGetIncidentFindingsOutput) {
+ op := &request.Operation{
+ Name: opBatchGetIncidentFindings,
+ HTTPMethod: "POST",
+ HTTPPath: "/batchGetIncidentFindings",
+ }
+
+ if input == nil {
+ input = &BatchGetIncidentFindingsInput{}
+ }
+
+ output = &BatchGetIncidentFindingsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// BatchGetIncidentFindings API operation for AWS Systems Manager Incident Manager.
+//
+// Retrieves details about all specified findings for an incident, including
+// descriptive details about each finding. A finding represents a recent application
+// environment change made by an CodeDeploy deployment or an CloudFormation
+// stack creation or update that can be investigated as a potential cause of
+// the incident.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Systems Manager Incident Manager's
+// API operation BatchGetIncidentFindings for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// The request was denied due to request throttling.
+//
+// - ResourceNotFoundException
+// Request references a resource which doesn't exist.
+//
+// - AccessDeniedException
+// You don't have sufficient access to perform this operation.
+//
+// - ValidationException
+// The input fails to satisfy the constraints specified by an Amazon Web Services
+// service.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception
+// or failure.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/BatchGetIncidentFindings
+func (c *SSMIncidents) BatchGetIncidentFindings(input *BatchGetIncidentFindingsInput) (*BatchGetIncidentFindingsOutput, error) {
+ req, out := c.BatchGetIncidentFindingsRequest(input)
+ return out, req.Send()
+}
+
+// BatchGetIncidentFindingsWithContext is the same as BatchGetIncidentFindings with the addition of
+// the ability to pass a context and additional request options.
+//
+// See BatchGetIncidentFindings for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSMIncidents) BatchGetIncidentFindingsWithContext(ctx aws.Context, input *BatchGetIncidentFindingsInput, opts ...request.Option) (*BatchGetIncidentFindingsOutput, error) {
+ req, out := c.BatchGetIncidentFindingsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateReplicationSet = "CreateReplicationSet"
// CreateReplicationSetRequest generates a "aws/request.Request" representing the
@@ -1294,6 +1391,160 @@ func (c *SSMIncidents) GetTimelineEventWithContext(ctx aws.Context, input *GetTi
return out, req.Send()
}
+const opListIncidentFindings = "ListIncidentFindings"
+
+// ListIncidentFindingsRequest generates a "aws/request.Request" representing the
+// client's request for the ListIncidentFindings operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListIncidentFindings for more information on using the ListIncidentFindings
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListIncidentFindingsRequest method.
+// req, resp := client.ListIncidentFindingsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentFindings
+func (c *SSMIncidents) ListIncidentFindingsRequest(input *ListIncidentFindingsInput) (req *request.Request, output *ListIncidentFindingsOutput) {
+ op := &request.Operation{
+ Name: opListIncidentFindings,
+ HTTPMethod: "POST",
+ HTTPPath: "/listIncidentFindings",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListIncidentFindingsInput{}
+ }
+
+ output = &ListIncidentFindingsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListIncidentFindings API operation for AWS Systems Manager Incident Manager.
+//
+// Retrieves a list of the IDs of findings, plus their last modified times,
+// that have been identified for a specified incident. A finding represents
+// a recent application environment change made by an CloudFormation stack creation
+// or update or an CodeDeploy deployment that can be investigated as a potential
+// cause of the incident.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Systems Manager Incident Manager's
+// API operation ListIncidentFindings for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// The request was denied due to request throttling.
+//
+// - ResourceNotFoundException
+// Request references a resource which doesn't exist.
+//
+// - AccessDeniedException
+// You don't have sufficient access to perform this operation.
+//
+// - ValidationException
+// The input fails to satisfy the constraints specified by an Amazon Web Services
+// service.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception
+// or failure.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentFindings
+func (c *SSMIncidents) ListIncidentFindings(input *ListIncidentFindingsInput) (*ListIncidentFindingsOutput, error) {
+ req, out := c.ListIncidentFindingsRequest(input)
+ return out, req.Send()
+}
+
+// ListIncidentFindingsWithContext is the same as ListIncidentFindings with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListIncidentFindings for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSMIncidents) ListIncidentFindingsWithContext(ctx aws.Context, input *ListIncidentFindingsInput, opts ...request.Option) (*ListIncidentFindingsOutput, error) {
+ req, out := c.ListIncidentFindingsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListIncidentFindingsPages iterates over the pages of a ListIncidentFindings operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListIncidentFindings method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListIncidentFindings operation.
+// pageNum := 0
+// err := client.ListIncidentFindingsPages(params,
+// func(page *ssmincidents.ListIncidentFindingsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSMIncidents) ListIncidentFindingsPages(input *ListIncidentFindingsInput, fn func(*ListIncidentFindingsOutput, bool) bool) error {
+ return c.ListIncidentFindingsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListIncidentFindingsPagesWithContext same as ListIncidentFindingsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSMIncidents) ListIncidentFindingsPagesWithContext(ctx aws.Context, input *ListIncidentFindingsInput, fn func(*ListIncidentFindingsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListIncidentFindingsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListIncidentFindingsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListIncidentFindingsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
const opListIncidentRecords = "ListIncidentRecords"
// ListIncidentRecordsRequest generates a "aws/request.Request" representing the
@@ -1926,7 +2177,7 @@ func (c *SSMIncidents) ListTagsForResourceRequest(input *ListTagsForResourceInpu
// ListTagsForResource API operation for AWS Systems Manager Incident Manager.
//
-// Lists the tags that are attached to the specified response plan.
+// Lists the tags that are attached to the specified response plan or incident.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -3339,17 +3590,27 @@ func (s *AutomationExecution) SetSsmExecutionArn(v string) *AutomationExecution
return s
}
-// The Chatbot chat channel used for collaboration during an incident.
-type ChatChannel struct {
+// Details about an error returned for a BatchGetIncidentFindings operation.
+type BatchGetIncidentFindingsError struct {
_ struct{} `type:"structure"`
- // The Amazon SNS targets that Chatbot uses to notify the chat channel of updates
- // to an incident. You can also make updates to the incident through the chat
- // channel by using the Amazon SNS topics.
- ChatbotSns []*string `locationName:"chatbotSns" min:"1" type:"list"`
+ // The code associated with an error that was returned for a BatchGetIncidentFindings
+ // operation.
+ //
+ // Code is a required field
+ Code *string `locationName:"code" type:"string" required:"true"`
- // Used to remove the chat channel from an incident record or response plan.
- Empty *EmptyChatChannel `locationName:"empty" type:"structure"`
+ // The ID of a specified finding for which an error was returned for a BatchGetIncidentFindings
+ // operation.
+ //
+ // FindingId is a required field
+ FindingId *string `locationName:"findingId" type:"string" required:"true"`
+
+ // The description for an error that was returned for a BatchGetIncidentFindings
+ // operation.
+ //
+ // Message is a required field
+ Message *string `locationName:"message" type:"string" required:"true"`
}
// String returns the string representation.
@@ -3357,7 +3618,7 @@ type ChatChannel struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ChatChannel) String() string {
+func (s BatchGetIncidentFindingsError) String() string {
return awsutil.Prettify(s)
}
@@ -3366,50 +3627,41 @@ func (s ChatChannel) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ChatChannel) GoString() string {
+func (s BatchGetIncidentFindingsError) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ChatChannel) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ChatChannel"}
- if s.ChatbotSns != nil && len(s.ChatbotSns) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ChatbotSns", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetCode sets the Code field's value.
+func (s *BatchGetIncidentFindingsError) SetCode(v string) *BatchGetIncidentFindingsError {
+ s.Code = &v
+ return s
}
-// SetChatbotSns sets the ChatbotSns field's value.
-func (s *ChatChannel) SetChatbotSns(v []*string) *ChatChannel {
- s.ChatbotSns = v
+// SetFindingId sets the FindingId field's value.
+func (s *BatchGetIncidentFindingsError) SetFindingId(v string) *BatchGetIncidentFindingsError {
+ s.FindingId = &v
return s
}
-// SetEmpty sets the Empty field's value.
-func (s *ChatChannel) SetEmpty(v *EmptyChatChannel) *ChatChannel {
- s.Empty = v
+// SetMessage sets the Message field's value.
+func (s *BatchGetIncidentFindingsError) SetMessage(v string) *BatchGetIncidentFindingsError {
+ s.Message = &v
return s
}
-// A conditional statement with which to compare a value, after a timestamp,
-// before a timestamp, or equal to a string or integer. If multiple conditions
-// are specified, the conditionals become an ANDed statement. If multiple values
-// are specified for a conditional, the values are ORd.
-type Condition struct {
+type BatchGetIncidentFindingsInput struct {
_ struct{} `type:"structure"`
- // After the specified timestamp.
- After *time.Time `locationName:"after" type:"timestamp"`
-
- // Before the specified timestamp
- Before *time.Time `locationName:"before" type:"timestamp"`
+ // A list of IDs of findings for which you want to view details.
+ //
+ // FindingIds is a required field
+ FindingIds []*string `locationName:"findingIds" type:"list" required:"true"`
- // The value is equal to the provided string or integer.
- Equals *AttributeValueList `locationName:"equals" type:"structure"`
+ // The Amazon Resource Name (ARN) of the incident for which you want to view
+ // finding details.
+ //
+ // IncidentRecordArn is a required field
+ IncidentRecordArn *string `locationName:"incidentRecordArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -3417,7 +3669,7 @@ type Condition struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Condition) String() string {
+func (s BatchGetIncidentFindingsInput) String() string {
return awsutil.Prettify(s)
}
@@ -3426,24 +3678,312 @@ func (s Condition) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Condition) GoString() string {
+func (s BatchGetIncidentFindingsInput) GoString() string {
return s.String()
}
-// SetAfter sets the After field's value.
-func (s *Condition) SetAfter(v time.Time) *Condition {
- s.After = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *BatchGetIncidentFindingsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "BatchGetIncidentFindingsInput"}
+ if s.FindingIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("FindingIds"))
+ }
+ if s.IncidentRecordArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("IncidentRecordArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetBefore sets the Before field's value.
-func (s *Condition) SetBefore(v time.Time) *Condition {
- s.Before = &v
+// SetFindingIds sets the FindingIds field's value.
+func (s *BatchGetIncidentFindingsInput) SetFindingIds(v []*string) *BatchGetIncidentFindingsInput {
+ s.FindingIds = v
return s
}
-// SetEquals sets the Equals field's value.
-func (s *Condition) SetEquals(v *AttributeValueList) *Condition {
+// SetIncidentRecordArn sets the IncidentRecordArn field's value.
+func (s *BatchGetIncidentFindingsInput) SetIncidentRecordArn(v string) *BatchGetIncidentFindingsInput {
+ s.IncidentRecordArn = &v
+ return s
+}
+
+type BatchGetIncidentFindingsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of errors encountered during the operation.
+ //
+ // Errors is a required field
+ Errors []*BatchGetIncidentFindingsError `locationName:"errors" type:"list" required:"true"`
+
+ // Information about the requested findings.
+ //
+ // Findings is a required field
+ Findings []*Finding `locationName:"findings" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchGetIncidentFindingsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s BatchGetIncidentFindingsOutput) GoString() string {
+ return s.String()
+}
+
+// SetErrors sets the Errors field's value.
+func (s *BatchGetIncidentFindingsOutput) SetErrors(v []*BatchGetIncidentFindingsError) *BatchGetIncidentFindingsOutput {
+ s.Errors = v
+ return s
+}
+
+// SetFindings sets the Findings field's value.
+func (s *BatchGetIncidentFindingsOutput) SetFindings(v []*Finding) *BatchGetIncidentFindingsOutput {
+ s.Findings = v
+ return s
+}
+
+// The Chatbot chat channel used for collaboration during an incident.
+type ChatChannel struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon SNS targets that Chatbot uses to notify the chat channel of updates
+ // to an incident. You can also make updates to the incident through the chat
+ // channel by using the Amazon SNS topics.
+ ChatbotSns []*string `locationName:"chatbotSns" min:"1" type:"list"`
+
+ // Used to remove the chat channel from an incident record or response plan.
+ Empty *EmptyChatChannel `locationName:"empty" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ChatChannel) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ChatChannel) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ChatChannel) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ChatChannel"}
+ if s.ChatbotSns != nil && len(s.ChatbotSns) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ChatbotSns", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetChatbotSns sets the ChatbotSns field's value.
+func (s *ChatChannel) SetChatbotSns(v []*string) *ChatChannel {
+ s.ChatbotSns = v
+ return s
+}
+
+// SetEmpty sets the Empty field's value.
+func (s *ChatChannel) SetEmpty(v *EmptyChatChannel) *ChatChannel {
+ s.Empty = v
+ return s
+}
+
+// Information about an CloudFormation stack creation or update that occurred
+// around the time of an incident and could be a potential cause of the incident.
+type CloudFormationStackUpdate struct {
+ _ struct{} `type:"structure"`
+
+ // The timestamp for when the CloudFormation stack creation or update ended.
+ // Not reported for deployments that are still in progress.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp"`
+
+ // The Amazon Resource Name (ARN) of the CloudFormation stack involved in the
+ // update.
+ //
+ // StackArn is a required field
+ StackArn *string `locationName:"stackArn" type:"string" required:"true"`
+
+ // The timestamp for when the CloudFormation stack creation or update began.
+ //
+ // StartTime is a required field
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CloudFormationStackUpdate) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CloudFormationStackUpdate) GoString() string {
+ return s.String()
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *CloudFormationStackUpdate) SetEndTime(v time.Time) *CloudFormationStackUpdate {
+ s.EndTime = &v
+ return s
+}
+
+// SetStackArn sets the StackArn field's value.
+func (s *CloudFormationStackUpdate) SetStackArn(v string) *CloudFormationStackUpdate {
+ s.StackArn = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *CloudFormationStackUpdate) SetStartTime(v time.Time) *CloudFormationStackUpdate {
+ s.StartTime = &v
+ return s
+}
+
+// Information about a CodeDeploy deployment that occurred around the time of
+// an incident and could be a possible cause of the incident.
+type CodeDeployDeployment struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the CodeDeploy deployment group associated
+ // with the deployment.
+ //
+ // DeploymentGroupArn is a required field
+ DeploymentGroupArn *string `locationName:"deploymentGroupArn" type:"string" required:"true"`
+
+ // The ID of the CodeDeploy deployment.
+ //
+ // DeploymentId is a required field
+ DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"`
+
+ // The timestamp for when the CodeDeploy deployment ended. Not reported for
+ // deployments that are still in progress.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp"`
+
+ // The timestamp for when the CodeDeploy deployment began.
+ //
+ // StartTime is a required field
+ StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CodeDeployDeployment) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CodeDeployDeployment) GoString() string {
+ return s.String()
+}
+
+// SetDeploymentGroupArn sets the DeploymentGroupArn field's value.
+func (s *CodeDeployDeployment) SetDeploymentGroupArn(v string) *CodeDeployDeployment {
+ s.DeploymentGroupArn = &v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *CodeDeployDeployment) SetDeploymentId(v string) *CodeDeployDeployment {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *CodeDeployDeployment) SetEndTime(v time.Time) *CodeDeployDeployment {
+ s.EndTime = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *CodeDeployDeployment) SetStartTime(v time.Time) *CodeDeployDeployment {
+ s.StartTime = &v
+ return s
+}
+
+// A conditional statement with which to compare a value, after a timestamp,
+// before a timestamp, or equal to a string or integer. If multiple conditions
+// are specified, the conditionals become an ANDed statement. If multiple values
+// are specified for a conditional, the values are ORd.
+type Condition struct {
+ _ struct{} `type:"structure"`
+
+ // After the specified timestamp.
+ After *time.Time `locationName:"after" type:"timestamp"`
+
+ // Before the specified timestamp
+ Before *time.Time `locationName:"before" type:"timestamp"`
+
+ // The value is equal to the provided string or integer.
+ Equals *AttributeValueList `locationName:"equals" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Condition) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Condition) GoString() string {
+ return s.String()
+}
+
+// SetAfter sets the After field's value.
+func (s *Condition) SetAfter(v time.Time) *Condition {
+ s.After = &v
+ return s
+}
+
+// SetBefore sets the Before field's value.
+func (s *Condition) SetBefore(v time.Time) *Condition {
+ s.Before = &v
+ return s
+}
+
+// SetEquals sets the Equals field's value.
+func (s *Condition) SetEquals(v *AttributeValueList) *Condition {
s.Equals = v
return s
}
@@ -3841,12 +4381,17 @@ type CreateTimelineEventInput struct {
// a related item.
EventReferences []*EventReference `locationName:"eventReferences" type:"list"`
- // The time that the event occurred.
+ // The timestamp for when the event occurred.
//
// EventTime is a required field
EventTime *time.Time `locationName:"eventTime" type:"timestamp" required:"true"`
- // The type of event. You can create timeline events of type Custom Event.
+ // The type of event. You can create timeline events of type Custom Event and
+ // Note.
+ //
+ // To make a Note-type event appear on the Incident notes panel in the console,
+ // specify eventType as Noteand enter the Amazon Resource Name (ARN) of the
+ // incident as the value for eventReference.
//
// EventType is a required field
EventType *string `locationName:"eventType" type:"string" required:"true"`
@@ -4510,17 +5055,17 @@ type EventSummary struct {
// A list of references in a TimelineEvent.
EventReferences []*EventReference `locationName:"eventReferences" type:"list"`
- // The time that the event occurred.
+ // The timestamp for when the event occurred.
//
// EventTime is a required field
EventTime *time.Time `locationName:"eventTime" type:"timestamp" required:"true"`
- // The type of event. The timeline event must be Custom Event.
+ // The type of event. The timeline event must be Custom Event or Note.
//
// EventType is a required field
EventType *string `locationName:"eventType" type:"string" required:"true"`
- // The time that the timeline event was last updated.
+ // The timestamp for when the timeline event was last updated.
//
// EventUpdatedTime is a required field
EventUpdatedTime *time.Time `locationName:"eventUpdatedTime" type:"timestamp" required:"true"`
@@ -4647,6 +5192,161 @@ func (s *Filter) SetKey(v string) *Filter {
return s
}
+// Information about a specific CodeDeploy deployment or CloudFormation stack
+// creation or update that occurred around the time of a reported incident.
+// These activities can be investigated as a potential cause of the incident.
+type Finding struct {
+ _ struct{} `type:"structure"`
+
+ // The timestamp for when a finding was created.
+ //
+ // CreationTime is a required field
+ CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`
+
+ // Details about the finding.
+ Details *FindingDetails `locationName:"details" type:"structure"`
+
+ // The ID assigned to the finding.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // The timestamp for when the finding was most recently updated with additional
+ // information.
+ //
+ // LastModifiedTime is a required field
+ LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Finding) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Finding) GoString() string {
+ return s.String()
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *Finding) SetCreationTime(v time.Time) *Finding {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDetails sets the Details field's value.
+func (s *Finding) SetDetails(v *FindingDetails) *Finding {
+ s.Details = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Finding) SetId(v string) *Finding {
+ s.Id = &v
+ return s
+}
+
+// SetLastModifiedTime sets the LastModifiedTime field's value.
+func (s *Finding) SetLastModifiedTime(v time.Time) *Finding {
+ s.LastModifiedTime = &v
+ return s
+}
+
+// Extended textual information about the finding.
+type FindingDetails struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the CloudFormation stack creation or update associated
+ // with the finding.
+ CloudFormationStackUpdate *CloudFormationStackUpdate `locationName:"cloudFormationStackUpdate" type:"structure"`
+
+ // Information about the CodeDeploy deployment associated with the finding.
+ CodeDeployDeployment *CodeDeployDeployment `locationName:"codeDeployDeployment" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FindingDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FindingDetails) GoString() string {
+ return s.String()
+}
+
+// SetCloudFormationStackUpdate sets the CloudFormationStackUpdate field's value.
+func (s *FindingDetails) SetCloudFormationStackUpdate(v *CloudFormationStackUpdate) *FindingDetails {
+ s.CloudFormationStackUpdate = v
+ return s
+}
+
+// SetCodeDeployDeployment sets the CodeDeployDeployment field's value.
+func (s *FindingDetails) SetCodeDeployDeployment(v *CodeDeployDeployment) *FindingDetails {
+ s.CodeDeployDeployment = v
+ return s
+}
+
+// Identifying information about the finding.
+type FindingSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the finding.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // The timestamp for when the finding was last updated.
+ //
+ // LastModifiedTime is a required field
+ LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FindingSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FindingSummary) GoString() string {
+ return s.String()
+}
+
+// SetId sets the Id field's value.
+func (s *FindingSummary) SetId(v string) *FindingSummary {
+ s.Id = &v
+ return s
+}
+
+// SetLastModifiedTime sets the LastModifiedTime field's value.
+func (s *FindingSummary) SetLastModifiedTime(v time.Time) *FindingSummary {
+ s.LastModifiedTime = &v
+ return s
+}
+
type GetIncidentRecordInput struct {
_ struct{} `type:"structure" nopayload:"true"`
@@ -4811,7 +5511,8 @@ type GetResourcePoliciesInput struct {
// The maximum number of resource policies to display for each page of results.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The pagination token to continue to the next page of results.
+ // The pagination token for the next set of items to return. (You received this
+ // token from a previous call.)
NextToken *string `locationName:"nextToken" type:"string"`
// The Amazon Resource Name (ARN) of the response plan with the attached resource
@@ -4876,7 +5577,8 @@ func (s *GetResourcePoliciesInput) SetResourceArn(v string) *GetResourcePolicies
type GetResourcePoliciesOutput struct {
_ struct{} `type:"structure"`
- // The pagination token to continue to the next page of results.
+ // The pagination token to use when requesting the next set of items. If there
+ // are no additional items to return, the string is null.
NextToken *string `locationName:"nextToken" type:"string"`
// Details about the resource policy attached to the response plan.
@@ -5173,7 +5875,7 @@ type IncidentRecord struct {
// The chat channel used for collaboration during an incident.
ChatChannel *ChatChannel `locationName:"chatChannel" type:"structure"`
- // The time that Incident Manager created the incident record.
+ // The timestamp for when Incident Manager created the incident record.
//
// CreationTime is a required field
CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`
@@ -5186,6 +5888,18 @@ type IncidentRecord struct {
// The impact of the incident on customers and applications.
//
+ // Supported impact codes
+ //
+ // * 1 - Critical
+ //
+ // * 2 - High
+ //
+ // * 3 - Medium
+ //
+ // * 4 - Low
+ //
+ // * 5 - No Impact
+ //
// Impact is a required field
Impact *int64 `locationName:"impact" min:"1" type:"integer" required:"true"`
@@ -5199,7 +5913,7 @@ type IncidentRecord struct {
// LastModifiedBy is a required field
LastModifiedBy *string `locationName:"lastModifiedBy" type:"string" required:"true"`
- // The time at which the incident was most recently modified.
+ // The timestamp for when the incident was most recently modified.
//
// LastModifiedTime is a required field
LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" required:"true"`
@@ -5207,7 +5921,8 @@ type IncidentRecord struct {
// The Amazon SNS targets that are notified when updates are made to an incident.
NotificationTargets []*NotificationTargetItem `locationName:"notificationTargets" type:"list"`
- // The time at which the incident was resolved. This appears as a timeline event.
+ // The timestamp for when the incident was resolved. This appears as a timeline
+ // event.
ResolvedTime *time.Time `locationName:"resolvedTime" type:"timestamp"`
// The current status of the incident.
@@ -5402,7 +6117,7 @@ type IncidentRecordSummary struct {
// Arn is a required field
Arn *string `locationName:"arn" type:"string" required:"true"`
- // The time the incident was created.
+ // The timestamp for when the incident was created.
//
// CreationTime is a required field
CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`
@@ -5417,7 +6132,7 @@ type IncidentRecordSummary struct {
// IncidentRecordSource is a required field
IncidentRecordSource *IncidentRecordSource `locationName:"incidentRecordSource" type:"structure" required:"true"`
- // The time the incident was resolved.
+ // The timestamp for when the incident was resolved.
ResolvedTime *time.Time `locationName:"resolvedTime" type:"timestamp"`
// The current status of the incident.
@@ -5497,12 +6212,35 @@ func (s *IncidentRecordSummary) SetTitle(v string) *IncidentRecordSummary {
type IncidentTemplate struct {
_ struct{} `type:"structure"`
- // Used to stop Incident Manager from creating multiple incident records for
- // the same incident.
+ // The string Incident Manager uses to prevent the same root cause from creating
+ // multiple incidents in the same account.
+ //
+ // A deduplication string is a term or phrase the system uses to check for duplicate
+ // incidents. If you specify a deduplication string, Incident Manager searches
+ // for open incidents that contain the same string in the dedupeString field
+ // when it creates the incident. If a duplicate is detected, Incident Manager
+ // deduplicates the newer incident into the existing incident.
+ //
+ // By default, Incident Manager automatically deduplicates multiple incidents
+ // created by the same Amazon CloudWatch alarm or Amazon EventBridge event.
+ // You don't have to enter your own deduplication string to prevent duplication
+ // for these resource types.
DedupeString *string `locationName:"dedupeString" type:"string"`
// The impact of the incident on your customers and applications.
//
+ // Supported impact codes
+ //
+ // * 1 - Critical
+ //
+ // * 2 - High
+ //
+ // * 3 - Medium
+ //
+ // * 4 - Low
+ //
+ // * 5 - No Impact
+ //
// Impact is a required field
Impact *int64 `locationName:"impact" min:"1" type:"integer" required:"true"`
@@ -5853,6 +6591,119 @@ func (s *ItemValue) SetUrl(v string) *ItemValue {
return s
}
+type ListIncidentFindingsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the incident for which you want to view
+ // associated findings.
+ //
+ // IncidentRecordArn is a required field
+ IncidentRecordArn *string `locationName:"incidentRecordArn" type:"string" required:"true"`
+
+ // The maximum number of findings to retrieve per call.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // The pagination token for the next set of items to return. (You received this
+ // token from a previous call.)
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListIncidentFindingsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListIncidentFindingsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListIncidentFindingsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListIncidentFindingsInput"}
+ if s.IncidentRecordArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("IncidentRecordArn"))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetIncidentRecordArn sets the IncidentRecordArn field's value.
+func (s *ListIncidentFindingsInput) SetIncidentRecordArn(v string) *ListIncidentFindingsInput {
+ s.IncidentRecordArn = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListIncidentFindingsInput) SetMaxResults(v int64) *ListIncidentFindingsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIncidentFindingsInput) SetNextToken(v string) *ListIncidentFindingsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListIncidentFindingsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of findings that represent deployments that might be the potential
+ // cause of the incident.
+ //
+ // Findings is a required field
+ Findings []*FindingSummary `locationName:"findings" type:"list" required:"true"`
+
+ // The pagination token to use when requesting the next set of items. If there
+ // are no additional items to return, the string is null.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListIncidentFindingsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListIncidentFindingsOutput) GoString() string {
+ return s.String()
+}
+
+// SetFindings sets the Findings field's value.
+func (s *ListIncidentFindingsOutput) SetFindings(v []*FindingSummary) *ListIncidentFindingsOutput {
+ s.Findings = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIncidentFindingsOutput) SetNextToken(v string) *ListIncidentFindingsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListIncidentRecordsInput struct {
_ struct{} `type:"structure"`
@@ -5881,7 +6732,8 @@ type ListIncidentRecordsInput struct {
// The maximum number of results per page.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The pagination token to continue to the next page of results.
+ // The pagination token for the next set of items to return. (You received this
+ // token from a previous call.)
NextToken *string `locationName:"nextToken" type:"string"`
}
@@ -5952,7 +6804,8 @@ type ListIncidentRecordsOutput struct {
// IncidentRecordSummaries is a required field
IncidentRecordSummaries []*IncidentRecordSummary `locationName:"incidentRecordSummaries" type:"list" required:"true"`
- // The pagination token to continue to the next page of results.
+ // The pagination token to use when requesting the next set of items. If there
+ // are no additional items to return, the string is null.
NextToken *string `locationName:"nextToken" type:"string"`
}
@@ -5998,7 +6851,8 @@ type ListRelatedItemsInput struct {
// The maximum number of related items per page.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The pagination token to continue to the next page of results.
+ // The pagination token for the next set of items to return. (You received this
+ // token from a previous call.)
NextToken *string `locationName:"nextToken" type:"string"`
}
@@ -6057,7 +6911,8 @@ func (s *ListRelatedItemsInput) SetNextToken(v string) *ListRelatedItemsInput {
type ListRelatedItemsOutput struct {
_ struct{} `type:"structure"`
- // The pagination token to continue to the next page of results.
+ // The pagination token to use when requesting the next set of items. If there
+ // are no additional items to return, the string is null.
NextToken *string `locationName:"nextToken" type:"string"`
// Details about each related item.
@@ -6102,7 +6957,8 @@ type ListReplicationSetsInput struct {
// The maximum number of results per page.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The pagination token to continue to the next page of results.
+ // The pagination token for the next set of items to return. (You received this
+ // token from a previous call.)
NextToken *string `locationName:"nextToken" type:"string"`
}
@@ -6152,7 +7008,8 @@ func (s *ListReplicationSetsInput) SetNextToken(v string) *ListReplicationSetsIn
type ListReplicationSetsOutput struct {
_ struct{} `type:"structure"`
- // The pagination token to continue to the next page of results.
+ // The pagination token to use when requesting the next set of items. If there
+ // are no additional items to return, the string is null.
NextToken *string `locationName:"nextToken" type:"string"`
// The Amazon Resource Name (ARN) of the list replication set.
@@ -6197,7 +7054,8 @@ type ListResponsePlansInput struct {
// The maximum number of response plans per page.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The pagination token to continue to the next page of results.
+ // The pagination token for the next set of items to return. (You received this
+ // token from a previous call.)
NextToken *string `locationName:"nextToken" type:"string"`
}
@@ -6247,7 +7105,8 @@ func (s *ListResponsePlansInput) SetNextToken(v string) *ListResponsePlansInput
type ListResponsePlansOutput struct {
_ struct{} `type:"structure"`
- // The pagination token to continue to the next page of results.
+ // The pagination token to use when requesting the next set of items. If there
+ // are no additional items to return, the string is null.
NextToken *string `locationName:"nextToken" type:"string"`
// Details of each response plan.
@@ -6289,7 +7148,7 @@ func (s *ListResponsePlansOutput) SetResponsePlanSummaries(v []*ResponsePlanSumm
type ListTagsForResourceInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the response plan.
+ // The Amazon Resource Name (ARN) of the response plan or incident.
//
// ResourceArn is a required field
ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
@@ -6338,7 +7197,7 @@ func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResource
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
- // A list of tags for the response plan.
+ // A list of tags for the response plan or incident.
//
// Tags is a required field
Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"`
@@ -6374,6 +7233,8 @@ type ListTimelineEventsInput struct {
// Filters the timeline events based on the provided conditional values. You
// can filter timeline events with the following keys:
//
+ // * eventReference
+ //
// * eventTime
//
// * eventType
@@ -6398,7 +7259,8 @@ type ListTimelineEventsInput struct {
// The maximum number of results per page.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The pagination token to continue to the next page of results.
+ // The pagination token for the next set of items to return. (You received this
+ // token from a previous call.)
NextToken *string `locationName:"nextToken" type:"string"`
// Sort timeline events by the specified key value pair.
@@ -6496,7 +7358,8 @@ type ListTimelineEventsOutput struct {
// EventSummaries is a required field
EventSummaries []*EventSummary `locationName:"eventSummaries" type:"list" required:"true"`
- // The pagination token to continue to the next page of results.
+ // The pagination token to use when requesting the next set of items. If there
+ // are no additional items to return, the string is null.
NextToken *string `locationName:"nextToken" type:"string"`
}
@@ -6887,8 +7750,8 @@ type RegionInfo struct {
// Information displayed about the status of the Amazon Web Services Region.
StatusMessage *string `locationName:"statusMessage" type:"string"`
- // The most recent date and time that Incident Manager updated the Amazon Web
- // Services Region's status.
+ // The timestamp for when Incident Manager updated the status of the Amazon
+ // Web Services Region.
//
// StatusUpdateDateTime is a required field
StatusUpdateDateTime *time.Time `locationName:"statusUpdateDateTime" type:"timestamp" required:"true"`
@@ -7595,19 +8458,17 @@ type StartIncidentInput struct {
// Defines the impact to the customers. Providing an impact overwrites the impact
// provided by a response plan.
//
- // Possible impacts:
+ // Supported impact codes
//
- // * 1 - Critical impact, this typically relates to full application failure
- // that impacts many to all customers.
+ // * 1 - Critical
//
- // * 2 - High impact, partial application failure with impact to many customers.
+ // * 2 - High
//
- // * 3 - Medium impact, the application is providing reduced service to customers.
+ // * 3 - Medium
//
- // * 4 - Low impact, customer might aren't impacted by the problem yet.
+ // * 4 - Low
//
- // * 5 - No impact, customers aren't currently impacted but urgent action
- // is needed to avoid impact.
+ // * 5 - No Impact
Impact *int64 `locationName:"impact" min:"1" type:"integer"`
// Add related items to the incident for other responders to use. Related items
@@ -7927,18 +8788,18 @@ type TimelineEvent struct {
// A list of references in a TimelineEvent.
EventReferences []*EventReference `locationName:"eventReferences" type:"list"`
- // The time that the event occurred.
+ // The timestamp for when the event occurred.
//
// EventTime is a required field
EventTime *time.Time `locationName:"eventTime" type:"timestamp" required:"true"`
// The type of event that occurred. Currently Incident Manager supports only
- // the Custom Event type.
+ // the Custom Event and Note types.
//
// EventType is a required field
EventType *string `locationName:"eventType" type:"string" required:"true"`
- // The time that the timeline event was last updated.
+ // The timestamp for when the timeline event was last updated.
//
// EventUpdatedTime is a required field
EventUpdatedTime *time.Time `locationName:"eventUpdatedTime" type:"timestamp" required:"true"`
@@ -8025,7 +8886,7 @@ type TriggerDetails struct {
// Source is a required field
Source *string `locationName:"source" type:"string" required:"true"`
- // The time that the incident was detected.
+ // The timestamp for when the incident was detected.
//
// Timestamp is a required field
Timestamp *time.Time `locationName:"timestamp" type:"timestamp" required:"true"`
@@ -8292,19 +9153,17 @@ type UpdateIncidentRecordInput struct {
// provide an impact for an incident, it overwrites the impact provided by the
// response plan.
//
- // Possible impacts:
+ // Supported impact codes
//
- // * 1 - Critical impact, full application failure that impacts many to all
- // customers.
+ // * 1 - Critical
//
- // * 2 - High impact, partial application failure with impact to many customers.
+ // * 2 - High
//
- // * 3 - Medium impact, the application is providing reduced service to customers.
+ // * 3 - Medium
//
- // * 4 - Low impact, customer aren't impacted by the problem yet.
+ // * 4 - Low
//
- // * 5 - No impact, customers aren't currently impacted but urgent action
- // is needed to avoid impact.
+ // * 5 - No Impact
Impact *int64 `locationName:"impact" min:"1" type:"integer"`
// The Amazon SNS targets that Incident Manager notifies when a client updates
@@ -8734,17 +9593,17 @@ type UpdateResponsePlanInput struct {
// Defines the impact to the customers. Providing an impact overwrites the impact
// provided by a response plan.
//
- // Possible impacts:
+ // Supported impact codes
//
- // * 5 - Severe impact
+ // * 1 - Critical
//
- // * 4 - High impact
+ // * 2 - High
//
- // * 3 - Medium impact
+ // * 3 - Medium
//
- // * 2 - Low impact
+ // * 4 - Low
//
- // * 1 - No impact
+ // * 5 - No Impact
IncidentTemplateImpact *int64 `locationName:"incidentTemplateImpact" min:"1" type:"integer"`
// The Amazon SNS targets that are notified when updates are made to an incident.
@@ -8955,10 +9814,10 @@ type UpdateTimelineEventInput struct {
// action removes any existing references and enters only new references.
EventReferences []*EventReference `locationName:"eventReferences" type:"list"`
- // The time that the event occurred.
+ // The timestamp for when the event occurred.
EventTime *time.Time `locationName:"eventTime" type:"timestamp"`
- // The type of event. You can update events of type Custom Event.
+ // The type of event. You can update events of type Custom Event and Note.
EventType *string `locationName:"eventType" type:"string"`
// The Amazon Resource Name (ARN) of the incident that includes the timeline
diff --git a/service/ssmincidents/ssmincidentsiface/interface.go b/service/ssmincidents/ssmincidentsiface/interface.go
index 2bd186e2169..3fbb36a382c 100644
--- a/service/ssmincidents/ssmincidentsiface/interface.go
+++ b/service/ssmincidents/ssmincidentsiface/interface.go
@@ -26,7 +26,7 @@ import (
// // myFunc uses an SDK service client to make a request to
// // AWS Systems Manager Incident Manager.
// func myFunc(svc ssmincidentsiface.SSMIncidentsAPI) bool {
-// // Make svc.CreateReplicationSet request
+// // Make svc.BatchGetIncidentFindings request
// }
//
// func main() {
@@ -42,7 +42,7 @@ import (
// type mockSSMIncidentsClient struct {
// ssmincidentsiface.SSMIncidentsAPI
// }
-// func (m *mockSSMIncidentsClient) CreateReplicationSet(input *ssmincidents.CreateReplicationSetInput) (*ssmincidents.CreateReplicationSetOutput, error) {
+// func (m *mockSSMIncidentsClient) BatchGetIncidentFindings(input *ssmincidents.BatchGetIncidentFindingsInput) (*ssmincidents.BatchGetIncidentFindingsOutput, error) {
// // mock response/functionality
// }
//
@@ -60,6 +60,10 @@ import (
// and waiters. Its suggested to use the pattern above for testing, or using
// tooling to generate mocks to satisfy the interfaces.
type SSMIncidentsAPI interface {
+ BatchGetIncidentFindings(*ssmincidents.BatchGetIncidentFindingsInput) (*ssmincidents.BatchGetIncidentFindingsOutput, error)
+ BatchGetIncidentFindingsWithContext(aws.Context, *ssmincidents.BatchGetIncidentFindingsInput, ...request.Option) (*ssmincidents.BatchGetIncidentFindingsOutput, error)
+ BatchGetIncidentFindingsRequest(*ssmincidents.BatchGetIncidentFindingsInput) (*request.Request, *ssmincidents.BatchGetIncidentFindingsOutput)
+
CreateReplicationSet(*ssmincidents.CreateReplicationSetInput) (*ssmincidents.CreateReplicationSetOutput, error)
CreateReplicationSetWithContext(aws.Context, *ssmincidents.CreateReplicationSetInput, ...request.Option) (*ssmincidents.CreateReplicationSetOutput, error)
CreateReplicationSetRequest(*ssmincidents.CreateReplicationSetInput) (*request.Request, *ssmincidents.CreateReplicationSetOutput)
@@ -115,6 +119,13 @@ type SSMIncidentsAPI interface {
GetTimelineEventWithContext(aws.Context, *ssmincidents.GetTimelineEventInput, ...request.Option) (*ssmincidents.GetTimelineEventOutput, error)
GetTimelineEventRequest(*ssmincidents.GetTimelineEventInput) (*request.Request, *ssmincidents.GetTimelineEventOutput)
+ ListIncidentFindings(*ssmincidents.ListIncidentFindingsInput) (*ssmincidents.ListIncidentFindingsOutput, error)
+ ListIncidentFindingsWithContext(aws.Context, *ssmincidents.ListIncidentFindingsInput, ...request.Option) (*ssmincidents.ListIncidentFindingsOutput, error)
+ ListIncidentFindingsRequest(*ssmincidents.ListIncidentFindingsInput) (*request.Request, *ssmincidents.ListIncidentFindingsOutput)
+
+ ListIncidentFindingsPages(*ssmincidents.ListIncidentFindingsInput, func(*ssmincidents.ListIncidentFindingsOutput, bool) bool) error
+ ListIncidentFindingsPagesWithContext(aws.Context, *ssmincidents.ListIncidentFindingsInput, func(*ssmincidents.ListIncidentFindingsOutput, bool) bool, ...request.Option) error
+
ListIncidentRecords(*ssmincidents.ListIncidentRecordsInput) (*ssmincidents.ListIncidentRecordsOutput, error)
ListIncidentRecordsWithContext(aws.Context, *ssmincidents.ListIncidentRecordsInput, ...request.Option) (*ssmincidents.ListIncidentRecordsOutput, error)
ListIncidentRecordsRequest(*ssmincidents.ListIncidentRecordsInput) (*request.Request, *ssmincidents.ListIncidentRecordsOutput)
diff --git a/service/ssoadmin/api.go b/service/ssoadmin/api.go
index 7d26ea1a853..e764dd685f3 100644
--- a/service/ssoadmin/api.go
+++ b/service/ssoadmin/api.go
@@ -343,68 +343,64 @@ func (c *SSOAdmin) CreateAccountAssignmentWithContext(ctx aws.Context, input *Cr
return out, req.Send()
}
-const opCreateInstanceAccessControlAttributeConfiguration = "CreateInstanceAccessControlAttributeConfiguration"
+const opCreateApplication = "CreateApplication"
-// CreateInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
-// client's request for the CreateInstanceAccessControlAttributeConfiguration operation. The "output" return
+// CreateApplicationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See CreateInstanceAccessControlAttributeConfiguration for more information on using the CreateInstanceAccessControlAttributeConfiguration
+// See CreateApplication for more information on using the CreateApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the CreateInstanceAccessControlAttributeConfigurationRequest method.
-// req, resp := client.CreateInstanceAccessControlAttributeConfigurationRequest(params)
+// // Example sending a request using the CreateApplicationRequest method.
+// req, resp := client.CreateApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationRequest(input *CreateInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *CreateInstanceAccessControlAttributeConfigurationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateApplication
+func (c *SSOAdmin) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) {
op := &request.Operation{
- Name: opCreateInstanceAccessControlAttributeConfiguration,
+ Name: opCreateApplication,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &CreateInstanceAccessControlAttributeConfigurationInput{}
+ input = &CreateApplicationInput{}
}
- output = &CreateInstanceAccessControlAttributeConfigurationOutput{}
+ output = &CreateApplicationOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// CreateInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
-//
-// Enables the attributes-based access control (ABAC) feature for the specified
-// IAM Identity Center instance. You can also specify new attributes to add
-// to your ABAC configuration during the enabling process. For more information
-// about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html)
-// in the IAM Identity Center User Guide.
+// CreateApplication API operation for AWS Single Sign-On Admin.
//
-// After a successful response, call DescribeInstanceAccessControlAttributeConfiguration
-// to validate that InstanceAccessControlAttributeConfiguration was created.
+// Creates an application in IAM Identity Center for the given application provider.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation CreateInstanceAccessControlAttributeConfiguration for usage and error information.
+// API operation CreateApplication for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// Indicates that the principal has crossed the permitted number of resources
+// that can be created.
+//
// - ThrottlingException
// Indicates that the principal has crossed the throttling limits of the API
// operations.
@@ -428,82 +424,80 @@ func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationRequest(inpu
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfiguration(input *CreateInstanceAccessControlAttributeConfigurationInput) (*CreateInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.CreateInstanceAccessControlAttributeConfigurationRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateApplication
+func (c *SSOAdmin) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) {
+ req, out := c.CreateApplicationRequest(input)
return out, req.Send()
}
-// CreateInstanceAccessControlAttributeConfigurationWithContext is the same as CreateInstanceAccessControlAttributeConfiguration with the addition of
+// CreateApplicationWithContext is the same as CreateApplication with the addition of
// the ability to pass a context and additional request options.
//
-// See CreateInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
+// See CreateApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *CreateInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*CreateInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.CreateInstanceAccessControlAttributeConfigurationRequest(input)
+func (c *SSOAdmin) CreateApplicationWithContext(ctx aws.Context, input *CreateApplicationInput, opts ...request.Option) (*CreateApplicationOutput, error) {
+ req, out := c.CreateApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opCreatePermissionSet = "CreatePermissionSet"
+const opCreateApplicationAssignment = "CreateApplicationAssignment"
-// CreatePermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the CreatePermissionSet operation. The "output" return
+// CreateApplicationAssignmentRequest generates a "aws/request.Request" representing the
+// client's request for the CreateApplicationAssignment operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See CreatePermissionSet for more information on using the CreatePermissionSet
+// See CreateApplicationAssignment for more information on using the CreateApplicationAssignment
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the CreatePermissionSetRequest method.
-// req, resp := client.CreatePermissionSetRequest(params)
+// // Example sending a request using the CreateApplicationAssignmentRequest method.
+// req, resp := client.CreateApplicationAssignmentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet
-func (c *SSOAdmin) CreatePermissionSetRequest(input *CreatePermissionSetInput) (req *request.Request, output *CreatePermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateApplicationAssignment
+func (c *SSOAdmin) CreateApplicationAssignmentRequest(input *CreateApplicationAssignmentInput) (req *request.Request, output *CreateApplicationAssignmentOutput) {
op := &request.Operation{
- Name: opCreatePermissionSet,
+ Name: opCreateApplicationAssignment,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &CreatePermissionSetInput{}
+ input = &CreateApplicationAssignmentInput{}
}
- output = &CreatePermissionSetOutput{}
+ output = &CreateApplicationAssignmentOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// CreatePermissionSet API operation for AWS Single Sign-On Admin.
-//
-// Creates a permission set within a specified IAM Identity Center instance.
+// CreateApplicationAssignment API operation for AWS Single Sign-On Admin.
//
-// To grant users and groups access to Amazon Web Services account resources,
-// use CreateAccountAssignment .
+// Grant application access to a user or group.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation CreatePermissionSet for usage and error information.
+// API operation CreateApplicationAssignment for usage and error information.
//
// Returned Error Types:
//
@@ -534,86 +528,95 @@ func (c *SSOAdmin) CreatePermissionSetRequest(input *CreatePermissionSetInput) (
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet
-func (c *SSOAdmin) CreatePermissionSet(input *CreatePermissionSetInput) (*CreatePermissionSetOutput, error) {
- req, out := c.CreatePermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateApplicationAssignment
+func (c *SSOAdmin) CreateApplicationAssignment(input *CreateApplicationAssignmentInput) (*CreateApplicationAssignmentOutput, error) {
+ req, out := c.CreateApplicationAssignmentRequest(input)
return out, req.Send()
}
-// CreatePermissionSetWithContext is the same as CreatePermissionSet with the addition of
+// CreateApplicationAssignmentWithContext is the same as CreateApplicationAssignment with the addition of
// the ability to pass a context and additional request options.
//
-// See CreatePermissionSet for details on how to use this API operation.
+// See CreateApplicationAssignment for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) CreatePermissionSetWithContext(ctx aws.Context, input *CreatePermissionSetInput, opts ...request.Option) (*CreatePermissionSetOutput, error) {
- req, out := c.CreatePermissionSetRequest(input)
+func (c *SSOAdmin) CreateApplicationAssignmentWithContext(ctx aws.Context, input *CreateApplicationAssignmentInput, opts ...request.Option) (*CreateApplicationAssignmentOutput, error) {
+ req, out := c.CreateApplicationAssignmentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteAccountAssignment = "DeleteAccountAssignment"
+const opCreateInstance = "CreateInstance"
-// DeleteAccountAssignmentRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteAccountAssignment operation. The "output" return
+// CreateInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the CreateInstance operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteAccountAssignment for more information on using the DeleteAccountAssignment
+// See CreateInstance for more information on using the CreateInstance
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteAccountAssignmentRequest method.
-// req, resp := client.DeleteAccountAssignmentRequest(params)
+// // Example sending a request using the CreateInstanceRequest method.
+// req, resp := client.CreateInstanceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment
-func (c *SSOAdmin) DeleteAccountAssignmentRequest(input *DeleteAccountAssignmentInput) (req *request.Request, output *DeleteAccountAssignmentOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstance
+func (c *SSOAdmin) CreateInstanceRequest(input *CreateInstanceInput) (req *request.Request, output *CreateInstanceOutput) {
op := &request.Operation{
- Name: opDeleteAccountAssignment,
+ Name: opCreateInstance,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteAccountAssignmentInput{}
+ input = &CreateInstanceInput{}
}
- output = &DeleteAccountAssignmentOutput{}
+ output = &CreateInstanceOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteAccountAssignment API operation for AWS Single Sign-On Admin.
+// CreateInstance API operation for AWS Single Sign-On Admin.
//
-// Deletes a principal's access from a specified Amazon Web Services account
-// using a specified permission set.
+// Creates an instance of IAM Identity Center for a standalone Amazon Web Services
+// account that is not managed by Organizations or a member Amazon Web Services
+// account in an organization. You can create only one instance per account
+// and across all Amazon Web Services Regions.
//
-// After a successful response, call DescribeAccountAssignmentDeletionStatus
-// to describe the status of an assignment deletion request.
+// The CreateInstance request is rejected if the following apply:
+//
+// - The instance is created within the organization management account.
+//
+// - An instance already exists in the same account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DeleteAccountAssignment for usage and error information.
+// API operation CreateInstance for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// Indicates that the principal has crossed the permitted number of resources
+// that can be created.
+//
// - ThrottlingException
// Indicates that the principal has crossed the throttling limits of the API
// operations.
@@ -622,9 +625,6 @@ func (c *SSOAdmin) DeleteAccountAssignmentRequest(input *DeleteAccountAssignment
// The request processing has failed because of an unknown error, exception,
// or failure with an internal server.
//
-// - ResourceNotFoundException
-// Indicates that a requested resource is not found.
-//
// - AccessDeniedException
// You do not have sufficient access to perform this action.
//
@@ -637,80 +637,87 @@ func (c *SSOAdmin) DeleteAccountAssignmentRequest(input *DeleteAccountAssignment
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment
-func (c *SSOAdmin) DeleteAccountAssignment(input *DeleteAccountAssignmentInput) (*DeleteAccountAssignmentOutput, error) {
- req, out := c.DeleteAccountAssignmentRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstance
+func (c *SSOAdmin) CreateInstance(input *CreateInstanceInput) (*CreateInstanceOutput, error) {
+ req, out := c.CreateInstanceRequest(input)
return out, req.Send()
}
-// DeleteAccountAssignmentWithContext is the same as DeleteAccountAssignment with the addition of
+// CreateInstanceWithContext is the same as CreateInstance with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteAccountAssignment for details on how to use this API operation.
+// See CreateInstance for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DeleteAccountAssignmentWithContext(ctx aws.Context, input *DeleteAccountAssignmentInput, opts ...request.Option) (*DeleteAccountAssignmentOutput, error) {
- req, out := c.DeleteAccountAssignmentRequest(input)
+func (c *SSOAdmin) CreateInstanceWithContext(ctx aws.Context, input *CreateInstanceInput, opts ...request.Option) (*CreateInstanceOutput, error) {
+ req, out := c.CreateInstanceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteInlinePolicyFromPermissionSet = "DeleteInlinePolicyFromPermissionSet"
+const opCreateInstanceAccessControlAttributeConfiguration = "CreateInstanceAccessControlAttributeConfiguration"
-// DeleteInlinePolicyFromPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteInlinePolicyFromPermissionSet operation. The "output" return
+// CreateInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateInstanceAccessControlAttributeConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteInlinePolicyFromPermissionSet for more information on using the DeleteInlinePolicyFromPermissionSet
+// See CreateInstanceAccessControlAttributeConfiguration for more information on using the CreateInstanceAccessControlAttributeConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteInlinePolicyFromPermissionSetRequest method.
-// req, resp := client.DeleteInlinePolicyFromPermissionSetRequest(params)
+// // Example sending a request using the CreateInstanceAccessControlAttributeConfigurationRequest method.
+// req, resp := client.CreateInstanceAccessControlAttributeConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet
-func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSetRequest(input *DeleteInlinePolicyFromPermissionSetInput) (req *request.Request, output *DeleteInlinePolicyFromPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationRequest(input *CreateInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *CreateInstanceAccessControlAttributeConfigurationOutput) {
op := &request.Operation{
- Name: opDeleteInlinePolicyFromPermissionSet,
+ Name: opCreateInstanceAccessControlAttributeConfiguration,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteInlinePolicyFromPermissionSetInput{}
+ input = &CreateInstanceAccessControlAttributeConfigurationInput{}
}
- output = &DeleteInlinePolicyFromPermissionSetOutput{}
+ output = &CreateInstanceAccessControlAttributeConfigurationOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DeleteInlinePolicyFromPermissionSet API operation for AWS Single Sign-On Admin.
+// CreateInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
//
-// Deletes the inline policy from a specified permission set.
+// Enables the attributes-based access control (ABAC) feature for the specified
+// IAM Identity Center instance. You can also specify new attributes to add
+// to your ABAC configuration during the enabling process. For more information
+// about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html)
+// in the IAM Identity Center User Guide.
+//
+// After a successful response, call DescribeInstanceAccessControlAttributeConfiguration
+// to validate that InstanceAccessControlAttributeConfiguration was created.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DeleteInlinePolicyFromPermissionSet for usage and error information.
+// API operation CreateInstanceAccessControlAttributeConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -737,89 +744,89 @@ func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSetRequest(input *DeleteInlin
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet
-func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSet(input *DeleteInlinePolicyFromPermissionSetInput) (*DeleteInlinePolicyFromPermissionSetOutput, error) {
- req, out := c.DeleteInlinePolicyFromPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfiguration(input *CreateInstanceAccessControlAttributeConfigurationInput) (*CreateInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.CreateInstanceAccessControlAttributeConfigurationRequest(input)
return out, req.Send()
}
-// DeleteInlinePolicyFromPermissionSetWithContext is the same as DeleteInlinePolicyFromPermissionSet with the addition of
+// CreateInstanceAccessControlAttributeConfigurationWithContext is the same as CreateInstanceAccessControlAttributeConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteInlinePolicyFromPermissionSet for details on how to use this API operation.
+// See CreateInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSetWithContext(ctx aws.Context, input *DeleteInlinePolicyFromPermissionSetInput, opts ...request.Option) (*DeleteInlinePolicyFromPermissionSetOutput, error) {
- req, out := c.DeleteInlinePolicyFromPermissionSetRequest(input)
+func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *CreateInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*CreateInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.CreateInstanceAccessControlAttributeConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteInstanceAccessControlAttributeConfiguration = "DeleteInstanceAccessControlAttributeConfiguration"
+const opCreatePermissionSet = "CreatePermissionSet"
-// DeleteInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteInstanceAccessControlAttributeConfiguration operation. The "output" return
+// CreatePermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the CreatePermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteInstanceAccessControlAttributeConfiguration for more information on using the DeleteInstanceAccessControlAttributeConfiguration
+// See CreatePermissionSet for more information on using the CreatePermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteInstanceAccessControlAttributeConfigurationRequest method.
-// req, resp := client.DeleteInstanceAccessControlAttributeConfigurationRequest(params)
+// // Example sending a request using the CreatePermissionSetRequest method.
+// req, resp := client.CreatePermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationRequest(input *DeleteInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *DeleteInstanceAccessControlAttributeConfigurationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet
+func (c *SSOAdmin) CreatePermissionSetRequest(input *CreatePermissionSetInput) (req *request.Request, output *CreatePermissionSetOutput) {
op := &request.Operation{
- Name: opDeleteInstanceAccessControlAttributeConfiguration,
+ Name: opCreatePermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeleteInstanceAccessControlAttributeConfigurationInput{}
+ input = &CreatePermissionSetInput{}
}
- output = &DeleteInstanceAccessControlAttributeConfigurationOutput{}
+ output = &CreatePermissionSetOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DeleteInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
+// CreatePermissionSet API operation for AWS Single Sign-On Admin.
//
-// Disables the attributes-based access control (ABAC) feature for the specified
-// IAM Identity Center instance and deletes all of the attribute mappings that
-// have been configured. Once deleted, any attributes that are received from
-// an identity source and any custom attributes you have previously configured
-// will not be passed. For more information about ABAC, see Attribute-Based
-// Access Control (/singlesignon/latest/userguide/abac.html) in the IAM Identity
-// Center User Guide.
+// Creates a permission set within a specified IAM Identity Center instance.
+//
+// To grant users and groups access to Amazon Web Services account resources,
+// use CreateAccountAssignment .
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DeleteInstanceAccessControlAttributeConfiguration for usage and error information.
+// API operation CreatePermissionSet for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// Indicates that the principal has crossed the permitted number of resources
+// that can be created.
+//
// - ThrottlingException
// Indicates that the principal has crossed the throttling limits of the API
// operations.
@@ -843,83 +850,92 @@ func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationRequest(inpu
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfiguration(input *DeleteInstanceAccessControlAttributeConfigurationInput) (*DeleteInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.DeleteInstanceAccessControlAttributeConfigurationRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet
+func (c *SSOAdmin) CreatePermissionSet(input *CreatePermissionSetInput) (*CreatePermissionSetOutput, error) {
+ req, out := c.CreatePermissionSetRequest(input)
return out, req.Send()
}
-// DeleteInstanceAccessControlAttributeConfigurationWithContext is the same as DeleteInstanceAccessControlAttributeConfiguration with the addition of
+// CreatePermissionSetWithContext is the same as CreatePermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
+// See CreatePermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *DeleteInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*DeleteInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.DeleteInstanceAccessControlAttributeConfigurationRequest(input)
+func (c *SSOAdmin) CreatePermissionSetWithContext(ctx aws.Context, input *CreatePermissionSetInput, opts ...request.Option) (*CreatePermissionSetOutput, error) {
+ req, out := c.CreatePermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeletePermissionSet = "DeletePermissionSet"
+const opCreateTrustedTokenIssuer = "CreateTrustedTokenIssuer"
-// DeletePermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the DeletePermissionSet operation. The "output" return
+// CreateTrustedTokenIssuerRequest generates a "aws/request.Request" representing the
+// client's request for the CreateTrustedTokenIssuer operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeletePermissionSet for more information on using the DeletePermissionSet
+// See CreateTrustedTokenIssuer for more information on using the CreateTrustedTokenIssuer
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeletePermissionSetRequest method.
-// req, resp := client.DeletePermissionSetRequest(params)
+// // Example sending a request using the CreateTrustedTokenIssuerRequest method.
+// req, resp := client.CreateTrustedTokenIssuerRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet
-func (c *SSOAdmin) DeletePermissionSetRequest(input *DeletePermissionSetInput) (req *request.Request, output *DeletePermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateTrustedTokenIssuer
+func (c *SSOAdmin) CreateTrustedTokenIssuerRequest(input *CreateTrustedTokenIssuerInput) (req *request.Request, output *CreateTrustedTokenIssuerOutput) {
op := &request.Operation{
- Name: opDeletePermissionSet,
+ Name: opCreateTrustedTokenIssuer,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeletePermissionSetInput{}
+ input = &CreateTrustedTokenIssuerInput{}
}
- output = &DeletePermissionSetOutput{}
+ output = &CreateTrustedTokenIssuerOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DeletePermissionSet API operation for AWS Single Sign-On Admin.
+// CreateTrustedTokenIssuer API operation for AWS Single Sign-On Admin.
//
-// Deletes the specified permission set.
+// Creates a connection to a trusted token issuer in an instance of IAM Identity
+// Center. A trusted token issuer enables trusted identity propagation to be
+// used with applications that authenticate outside of Amazon Web Services.
+//
+// This trusted token issuer describes an external identity provider (IdP) that
+// can generate claims or assertions in the form of access tokens for a user.
+// Applications enabled for IAM Identity Center can use these tokens for authentication.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DeletePermissionSet for usage and error information.
+// API operation CreateTrustedTokenIssuer for usage and error information.
//
// Returned Error Types:
//
+// - ServiceQuotaExceededException
+// Indicates that the principal has crossed the permitted number of resources
+// that can be created.
+//
// - ThrottlingException
// Indicates that the principal has crossed the throttling limits of the API
// operations.
@@ -928,9 +944,6 @@ func (c *SSOAdmin) DeletePermissionSetRequest(input *DeletePermissionSetInput) (
// The request processing has failed because of an unknown error, exception,
// or failure with an internal server.
//
-// - ResourceNotFoundException
-// Indicates that a requested resource is not found.
-//
// - AccessDeniedException
// You do not have sufficient access to perform this action.
//
@@ -943,80 +956,83 @@ func (c *SSOAdmin) DeletePermissionSetRequest(input *DeletePermissionSetInput) (
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet
-func (c *SSOAdmin) DeletePermissionSet(input *DeletePermissionSetInput) (*DeletePermissionSetOutput, error) {
- req, out := c.DeletePermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateTrustedTokenIssuer
+func (c *SSOAdmin) CreateTrustedTokenIssuer(input *CreateTrustedTokenIssuerInput) (*CreateTrustedTokenIssuerOutput, error) {
+ req, out := c.CreateTrustedTokenIssuerRequest(input)
return out, req.Send()
}
-// DeletePermissionSetWithContext is the same as DeletePermissionSet with the addition of
+// CreateTrustedTokenIssuerWithContext is the same as CreateTrustedTokenIssuer with the addition of
// the ability to pass a context and additional request options.
//
-// See DeletePermissionSet for details on how to use this API operation.
+// See CreateTrustedTokenIssuer for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DeletePermissionSetWithContext(ctx aws.Context, input *DeletePermissionSetInput, opts ...request.Option) (*DeletePermissionSetOutput, error) {
- req, out := c.DeletePermissionSetRequest(input)
+func (c *SSOAdmin) CreateTrustedTokenIssuerWithContext(ctx aws.Context, input *CreateTrustedTokenIssuerInput, opts ...request.Option) (*CreateTrustedTokenIssuerOutput, error) {
+ req, out := c.CreateTrustedTokenIssuerRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeletePermissionsBoundaryFromPermissionSet = "DeletePermissionsBoundaryFromPermissionSet"
+const opDeleteAccountAssignment = "DeleteAccountAssignment"
-// DeletePermissionsBoundaryFromPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the DeletePermissionsBoundaryFromPermissionSet operation. The "output" return
+// DeleteAccountAssignmentRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteAccountAssignment operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeletePermissionsBoundaryFromPermissionSet for more information on using the DeletePermissionsBoundaryFromPermissionSet
+// See DeleteAccountAssignment for more information on using the DeleteAccountAssignment
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeletePermissionsBoundaryFromPermissionSetRequest method.
-// req, resp := client.DeletePermissionsBoundaryFromPermissionSetRequest(params)
+// // Example sending a request using the DeleteAccountAssignmentRequest method.
+// req, resp := client.DeleteAccountAssignmentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet
-func (c *SSOAdmin) DeletePermissionsBoundaryFromPermissionSetRequest(input *DeletePermissionsBoundaryFromPermissionSetInput) (req *request.Request, output *DeletePermissionsBoundaryFromPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment
+func (c *SSOAdmin) DeleteAccountAssignmentRequest(input *DeleteAccountAssignmentInput) (req *request.Request, output *DeleteAccountAssignmentOutput) {
op := &request.Operation{
- Name: opDeletePermissionsBoundaryFromPermissionSet,
+ Name: opDeleteAccountAssignment,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DeletePermissionsBoundaryFromPermissionSetInput{}
+ input = &DeleteAccountAssignmentInput{}
}
- output = &DeletePermissionsBoundaryFromPermissionSetOutput{}
+ output = &DeleteAccountAssignmentOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DeletePermissionsBoundaryFromPermissionSet API operation for AWS Single Sign-On Admin.
+// DeleteAccountAssignment API operation for AWS Single Sign-On Admin.
//
-// Deletes the permissions boundary from a specified PermissionSet.
+// Deletes a principal's access from a specified Amazon Web Services account
+// using a specified permission set.
//
-// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
-// with awserr.Error's Code and Message methods to get detailed information about
+// After a successful response, call DescribeAccountAssignmentDeletionStatus
+// to describe the status of an assignment deletion request.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DeletePermissionsBoundaryFromPermissionSet for usage and error information.
+// API operation DeleteAccountAssignment for usage and error information.
//
// Returned Error Types:
//
@@ -1037,79 +1053,87 @@ func (c *SSOAdmin) DeletePermissionsBoundaryFromPermissionSetRequest(input *Dele
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet
-func (c *SSOAdmin) DeletePermissionsBoundaryFromPermissionSet(input *DeletePermissionsBoundaryFromPermissionSetInput) (*DeletePermissionsBoundaryFromPermissionSetOutput, error) {
- req, out := c.DeletePermissionsBoundaryFromPermissionSetRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment
+func (c *SSOAdmin) DeleteAccountAssignment(input *DeleteAccountAssignmentInput) (*DeleteAccountAssignmentOutput, error) {
+ req, out := c.DeleteAccountAssignmentRequest(input)
return out, req.Send()
}
-// DeletePermissionsBoundaryFromPermissionSetWithContext is the same as DeletePermissionsBoundaryFromPermissionSet with the addition of
+// DeleteAccountAssignmentWithContext is the same as DeleteAccountAssignment with the addition of
// the ability to pass a context and additional request options.
//
-// See DeletePermissionsBoundaryFromPermissionSet for details on how to use this API operation.
+// See DeleteAccountAssignment for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DeletePermissionsBoundaryFromPermissionSetWithContext(ctx aws.Context, input *DeletePermissionsBoundaryFromPermissionSetInput, opts ...request.Option) (*DeletePermissionsBoundaryFromPermissionSetOutput, error) {
- req, out := c.DeletePermissionsBoundaryFromPermissionSetRequest(input)
+func (c *SSOAdmin) DeleteAccountAssignmentWithContext(ctx aws.Context, input *DeleteAccountAssignmentInput, opts ...request.Option) (*DeleteAccountAssignmentOutput, error) {
+ req, out := c.DeleteAccountAssignmentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeAccountAssignmentCreationStatus = "DescribeAccountAssignmentCreationStatus"
+const opDeleteApplication = "DeleteApplication"
-// DescribeAccountAssignmentCreationStatusRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeAccountAssignmentCreationStatus operation. The "output" return
+// DeleteApplicationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeAccountAssignmentCreationStatus for more information on using the DescribeAccountAssignmentCreationStatus
+// See DeleteApplication for more information on using the DeleteApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAccountAssignmentCreationStatusRequest method.
-// req, resp := client.DescribeAccountAssignmentCreationStatusRequest(params)
+// // Example sending a request using the DeleteApplicationRequest method.
+// req, resp := client.DeleteApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus
-func (c *SSOAdmin) DescribeAccountAssignmentCreationStatusRequest(input *DescribeAccountAssignmentCreationStatusInput) (req *request.Request, output *DescribeAccountAssignmentCreationStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplication
+func (c *SSOAdmin) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) {
op := &request.Operation{
- Name: opDescribeAccountAssignmentCreationStatus,
+ Name: opDeleteApplication,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribeAccountAssignmentCreationStatusInput{}
+ input = &DeleteApplicationInput{}
}
- output = &DescribeAccountAssignmentCreationStatusOutput{}
+ output = &DeleteApplicationOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DescribeAccountAssignmentCreationStatus API operation for AWS Single Sign-On Admin.
+// DeleteApplication API operation for AWS Single Sign-On Admin.
//
-// Describes the status of the assignment creation request.
+// Deletes the association with the application. The connected service resource
+// still exists.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DescribeAccountAssignmentCreationStatus for usage and error information.
+// API operation DeleteApplication for usage and error information.
//
// Returned Error Types:
//
@@ -1130,79 +1154,86 @@ func (c *SSOAdmin) DescribeAccountAssignmentCreationStatusRequest(input *Describ
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus
-func (c *SSOAdmin) DescribeAccountAssignmentCreationStatus(input *DescribeAccountAssignmentCreationStatusInput) (*DescribeAccountAssignmentCreationStatusOutput, error) {
- req, out := c.DescribeAccountAssignmentCreationStatusRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplication
+func (c *SSOAdmin) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) {
+ req, out := c.DeleteApplicationRequest(input)
return out, req.Send()
}
-// DescribeAccountAssignmentCreationStatusWithContext is the same as DescribeAccountAssignmentCreationStatus with the addition of
+// DeleteApplicationWithContext is the same as DeleteApplication with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeAccountAssignmentCreationStatus for details on how to use this API operation.
+// See DeleteApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DescribeAccountAssignmentCreationStatusWithContext(ctx aws.Context, input *DescribeAccountAssignmentCreationStatusInput, opts ...request.Option) (*DescribeAccountAssignmentCreationStatusOutput, error) {
- req, out := c.DescribeAccountAssignmentCreationStatusRequest(input)
+func (c *SSOAdmin) DeleteApplicationWithContext(ctx aws.Context, input *DeleteApplicationInput, opts ...request.Option) (*DeleteApplicationOutput, error) {
+ req, out := c.DeleteApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeAccountAssignmentDeletionStatus = "DescribeAccountAssignmentDeletionStatus"
+const opDeleteApplicationAccessScope = "DeleteApplicationAccessScope"
-// DescribeAccountAssignmentDeletionStatusRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeAccountAssignmentDeletionStatus operation. The "output" return
+// DeleteApplicationAccessScopeRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteApplicationAccessScope operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeAccountAssignmentDeletionStatus for more information on using the DescribeAccountAssignmentDeletionStatus
+// See DeleteApplicationAccessScope for more information on using the DeleteApplicationAccessScope
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAccountAssignmentDeletionStatusRequest method.
-// req, resp := client.DescribeAccountAssignmentDeletionStatusRequest(params)
+// // Example sending a request using the DeleteApplicationAccessScopeRequest method.
+// req, resp := client.DeleteApplicationAccessScopeRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus
-func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatusRequest(input *DescribeAccountAssignmentDeletionStatusInput) (req *request.Request, output *DescribeAccountAssignmentDeletionStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationAccessScope
+func (c *SSOAdmin) DeleteApplicationAccessScopeRequest(input *DeleteApplicationAccessScopeInput) (req *request.Request, output *DeleteApplicationAccessScopeOutput) {
op := &request.Operation{
- Name: opDescribeAccountAssignmentDeletionStatus,
+ Name: opDeleteApplicationAccessScope,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribeAccountAssignmentDeletionStatusInput{}
+ input = &DeleteApplicationAccessScopeInput{}
}
- output = &DescribeAccountAssignmentDeletionStatusOutput{}
+ output = &DeleteApplicationAccessScopeOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DescribeAccountAssignmentDeletionStatus API operation for AWS Single Sign-On Admin.
+// DeleteApplicationAccessScope API operation for AWS Single Sign-On Admin.
//
-// Describes the status of the assignment deletion request.
+// Deletes an IAM Identity Center access scope from an application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DescribeAccountAssignmentDeletionStatus for usage and error information.
+// API operation DeleteApplicationAccessScope for usage and error information.
//
// Returned Error Types:
//
@@ -1223,84 +1254,87 @@ func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatusRequest(input *Describ
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus
-func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatus(input *DescribeAccountAssignmentDeletionStatusInput) (*DescribeAccountAssignmentDeletionStatusOutput, error) {
- req, out := c.DescribeAccountAssignmentDeletionStatusRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationAccessScope
+func (c *SSOAdmin) DeleteApplicationAccessScope(input *DeleteApplicationAccessScopeInput) (*DeleteApplicationAccessScopeOutput, error) {
+ req, out := c.DeleteApplicationAccessScopeRequest(input)
return out, req.Send()
}
-// DescribeAccountAssignmentDeletionStatusWithContext is the same as DescribeAccountAssignmentDeletionStatus with the addition of
+// DeleteApplicationAccessScopeWithContext is the same as DeleteApplicationAccessScope with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeAccountAssignmentDeletionStatus for details on how to use this API operation.
+// See DeleteApplicationAccessScope for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatusWithContext(ctx aws.Context, input *DescribeAccountAssignmentDeletionStatusInput, opts ...request.Option) (*DescribeAccountAssignmentDeletionStatusOutput, error) {
- req, out := c.DescribeAccountAssignmentDeletionStatusRequest(input)
+func (c *SSOAdmin) DeleteApplicationAccessScopeWithContext(ctx aws.Context, input *DeleteApplicationAccessScopeInput, opts ...request.Option) (*DeleteApplicationAccessScopeOutput, error) {
+ req, out := c.DeleteApplicationAccessScopeRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeInstanceAccessControlAttributeConfiguration = "DescribeInstanceAccessControlAttributeConfiguration"
+const opDeleteApplicationAssignment = "DeleteApplicationAssignment"
-// DescribeInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeInstanceAccessControlAttributeConfiguration operation. The "output" return
+// DeleteApplicationAssignmentRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteApplicationAssignment operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeInstanceAccessControlAttributeConfiguration for more information on using the DescribeInstanceAccessControlAttributeConfiguration
+// See DeleteApplicationAssignment for more information on using the DeleteApplicationAssignment
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeInstanceAccessControlAttributeConfigurationRequest method.
-// req, resp := client.DescribeInstanceAccessControlAttributeConfigurationRequest(params)
+// // Example sending a request using the DeleteApplicationAssignmentRequest method.
+// req, resp := client.DeleteApplicationAssignmentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationRequest(input *DescribeInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *DescribeInstanceAccessControlAttributeConfigurationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationAssignment
+func (c *SSOAdmin) DeleteApplicationAssignmentRequest(input *DeleteApplicationAssignmentInput) (req *request.Request, output *DeleteApplicationAssignmentOutput) {
op := &request.Operation{
- Name: opDescribeInstanceAccessControlAttributeConfiguration,
+ Name: opDeleteApplicationAssignment,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribeInstanceAccessControlAttributeConfigurationInput{}
+ input = &DeleteApplicationAssignmentInput{}
}
- output = &DescribeInstanceAccessControlAttributeConfigurationOutput{}
+ output = &DeleteApplicationAssignmentOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DescribeInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
+// DeleteApplicationAssignment API operation for AWS Single Sign-On Admin.
//
-// Returns the list of IAM Identity Center identity store attributes that have
-// been configured to work with attributes-based access control (ABAC) for the
-// specified IAM Identity Center instance. This will not return attributes configured
-// and sent by an external identity provider. For more information about ABAC,
-// see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html)
-// in the IAM Identity Center User Guide.
+// Revoke application access to an application by deleting application assignments
+// for a user or group.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DescribeInstanceAccessControlAttributeConfiguration for usage and error information.
+// API operation DeleteApplicationAssignment for usage and error information.
//
// Returned Error Types:
//
@@ -1321,79 +1355,86 @@ func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationRequest(in
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfiguration(input *DescribeInstanceAccessControlAttributeConfigurationInput) (*DescribeInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.DescribeInstanceAccessControlAttributeConfigurationRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationAssignment
+func (c *SSOAdmin) DeleteApplicationAssignment(input *DeleteApplicationAssignmentInput) (*DeleteApplicationAssignmentOutput, error) {
+ req, out := c.DeleteApplicationAssignmentRequest(input)
return out, req.Send()
}
-// DescribeInstanceAccessControlAttributeConfigurationWithContext is the same as DescribeInstanceAccessControlAttributeConfiguration with the addition of
+// DeleteApplicationAssignmentWithContext is the same as DeleteApplicationAssignment with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
+// See DeleteApplicationAssignment for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *DescribeInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*DescribeInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.DescribeInstanceAccessControlAttributeConfigurationRequest(input)
+func (c *SSOAdmin) DeleteApplicationAssignmentWithContext(ctx aws.Context, input *DeleteApplicationAssignmentInput, opts ...request.Option) (*DeleteApplicationAssignmentOutput, error) {
+ req, out := c.DeleteApplicationAssignmentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribePermissionSet = "DescribePermissionSet"
+const opDeleteApplicationAuthenticationMethod = "DeleteApplicationAuthenticationMethod"
-// DescribePermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the DescribePermissionSet operation. The "output" return
+// DeleteApplicationAuthenticationMethodRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteApplicationAuthenticationMethod operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribePermissionSet for more information on using the DescribePermissionSet
+// See DeleteApplicationAuthenticationMethod for more information on using the DeleteApplicationAuthenticationMethod
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribePermissionSetRequest method.
-// req, resp := client.DescribePermissionSetRequest(params)
+// // Example sending a request using the DeleteApplicationAuthenticationMethodRequest method.
+// req, resp := client.DeleteApplicationAuthenticationMethodRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet
-func (c *SSOAdmin) DescribePermissionSetRequest(input *DescribePermissionSetInput) (req *request.Request, output *DescribePermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationAuthenticationMethod
+func (c *SSOAdmin) DeleteApplicationAuthenticationMethodRequest(input *DeleteApplicationAuthenticationMethodInput) (req *request.Request, output *DeleteApplicationAuthenticationMethodOutput) {
op := &request.Operation{
- Name: opDescribePermissionSet,
+ Name: opDeleteApplicationAuthenticationMethod,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribePermissionSetInput{}
+ input = &DeleteApplicationAuthenticationMethodInput{}
}
- output = &DescribePermissionSetOutput{}
+ output = &DeleteApplicationAuthenticationMethodOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DescribePermissionSet API operation for AWS Single Sign-On Admin.
+// DeleteApplicationAuthenticationMethod API operation for AWS Single Sign-On Admin.
//
-// Gets the details of the permission set.
+// Deletes an authentication method from an application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DescribePermissionSet for usage and error information.
+// API operation DeleteApplicationAuthenticationMethod for usage and error information.
//
// Returned Error Types:
//
@@ -1414,79 +1455,86 @@ func (c *SSOAdmin) DescribePermissionSetRequest(input *DescribePermissionSetInpu
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet
-func (c *SSOAdmin) DescribePermissionSet(input *DescribePermissionSetInput) (*DescribePermissionSetOutput, error) {
- req, out := c.DescribePermissionSetRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationAuthenticationMethod
+func (c *SSOAdmin) DeleteApplicationAuthenticationMethod(input *DeleteApplicationAuthenticationMethodInput) (*DeleteApplicationAuthenticationMethodOutput, error) {
+ req, out := c.DeleteApplicationAuthenticationMethodRequest(input)
return out, req.Send()
}
-// DescribePermissionSetWithContext is the same as DescribePermissionSet with the addition of
+// DeleteApplicationAuthenticationMethodWithContext is the same as DeleteApplicationAuthenticationMethod with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribePermissionSet for details on how to use this API operation.
+// See DeleteApplicationAuthenticationMethod for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DescribePermissionSetWithContext(ctx aws.Context, input *DescribePermissionSetInput, opts ...request.Option) (*DescribePermissionSetOutput, error) {
- req, out := c.DescribePermissionSetRequest(input)
+func (c *SSOAdmin) DeleteApplicationAuthenticationMethodWithContext(ctx aws.Context, input *DeleteApplicationAuthenticationMethodInput, opts ...request.Option) (*DeleteApplicationAuthenticationMethodOutput, error) {
+ req, out := c.DeleteApplicationAuthenticationMethodRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribePermissionSetProvisioningStatus = "DescribePermissionSetProvisioningStatus"
+const opDeleteApplicationGrant = "DeleteApplicationGrant"
-// DescribePermissionSetProvisioningStatusRequest generates a "aws/request.Request" representing the
-// client's request for the DescribePermissionSetProvisioningStatus operation. The "output" return
+// DeleteApplicationGrantRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteApplicationGrant operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribePermissionSetProvisioningStatus for more information on using the DescribePermissionSetProvisioningStatus
+// See DeleteApplicationGrant for more information on using the DeleteApplicationGrant
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribePermissionSetProvisioningStatusRequest method.
-// req, resp := client.DescribePermissionSetProvisioningStatusRequest(params)
+// // Example sending a request using the DeleteApplicationGrantRequest method.
+// req, resp := client.DeleteApplicationGrantRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus
-func (c *SSOAdmin) DescribePermissionSetProvisioningStatusRequest(input *DescribePermissionSetProvisioningStatusInput) (req *request.Request, output *DescribePermissionSetProvisioningStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationGrant
+func (c *SSOAdmin) DeleteApplicationGrantRequest(input *DeleteApplicationGrantInput) (req *request.Request, output *DeleteApplicationGrantOutput) {
op := &request.Operation{
- Name: opDescribePermissionSetProvisioningStatus,
+ Name: opDeleteApplicationGrant,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribePermissionSetProvisioningStatusInput{}
+ input = &DeleteApplicationGrantInput{}
}
- output = &DescribePermissionSetProvisioningStatusOutput{}
+ output = &DeleteApplicationGrantOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DescribePermissionSetProvisioningStatus API operation for AWS Single Sign-On Admin.
+// DeleteApplicationGrant API operation for AWS Single Sign-On Admin.
//
-// Describes the status for the given permission set provisioning request.
+// Deletes a grant from an application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DescribePermissionSetProvisioningStatus for usage and error information.
+// API operation DeleteApplicationGrant for usage and error information.
//
// Returned Error Types:
//
@@ -1507,80 +1555,86 @@ func (c *SSOAdmin) DescribePermissionSetProvisioningStatusRequest(input *Describ
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus
-func (c *SSOAdmin) DescribePermissionSetProvisioningStatus(input *DescribePermissionSetProvisioningStatusInput) (*DescribePermissionSetProvisioningStatusOutput, error) {
- req, out := c.DescribePermissionSetProvisioningStatusRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteApplicationGrant
+func (c *SSOAdmin) DeleteApplicationGrant(input *DeleteApplicationGrantInput) (*DeleteApplicationGrantOutput, error) {
+ req, out := c.DeleteApplicationGrantRequest(input)
return out, req.Send()
}
-// DescribePermissionSetProvisioningStatusWithContext is the same as DescribePermissionSetProvisioningStatus with the addition of
+// DeleteApplicationGrantWithContext is the same as DeleteApplicationGrant with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribePermissionSetProvisioningStatus for details on how to use this API operation.
+// See DeleteApplicationGrant for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DescribePermissionSetProvisioningStatusWithContext(ctx aws.Context, input *DescribePermissionSetProvisioningStatusInput, opts ...request.Option) (*DescribePermissionSetProvisioningStatusOutput, error) {
- req, out := c.DescribePermissionSetProvisioningStatusRequest(input)
+func (c *SSOAdmin) DeleteApplicationGrantWithContext(ctx aws.Context, input *DeleteApplicationGrantInput, opts ...request.Option) (*DeleteApplicationGrantOutput, error) {
+ req, out := c.DeleteApplicationGrantRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDetachCustomerManagedPolicyReferenceFromPermissionSet = "DetachCustomerManagedPolicyReferenceFromPermissionSet"
+const opDeleteInlinePolicyFromPermissionSet = "DeleteInlinePolicyFromPermissionSet"
-// DetachCustomerManagedPolicyReferenceFromPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the DetachCustomerManagedPolicyReferenceFromPermissionSet operation. The "output" return
+// DeleteInlinePolicyFromPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteInlinePolicyFromPermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DetachCustomerManagedPolicyReferenceFromPermissionSet for more information on using the DetachCustomerManagedPolicyReferenceFromPermissionSet
+// See DeleteInlinePolicyFromPermissionSet for more information on using the DeleteInlinePolicyFromPermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DetachCustomerManagedPolicyReferenceFromPermissionSetRequest method.
-// req, resp := client.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(params)
+// // Example sending a request using the DeleteInlinePolicyFromPermissionSetRequest method.
+// req, resp := client.DeleteInlinePolicyFromPermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet
-func (c *SSOAdmin) DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(input *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) (req *request.Request, output *DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet
+func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSetRequest(input *DeleteInlinePolicyFromPermissionSetInput) (req *request.Request, output *DeleteInlinePolicyFromPermissionSetOutput) {
op := &request.Operation{
- Name: opDetachCustomerManagedPolicyReferenceFromPermissionSet,
+ Name: opDeleteInlinePolicyFromPermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DetachCustomerManagedPolicyReferenceFromPermissionSetInput{}
+ input = &DeleteInlinePolicyFromPermissionSetInput{}
}
- output = &DetachCustomerManagedPolicyReferenceFromPermissionSetOutput{}
+ output = &DeleteInlinePolicyFromPermissionSetOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DetachCustomerManagedPolicyReferenceFromPermissionSet API operation for AWS Single Sign-On Admin.
+// DeleteInlinePolicyFromPermissionSet API operation for AWS Single Sign-On Admin.
//
-// Detaches the specified customer managed policy from the specified PermissionSet.
+// Deletes the inline policy from a specified permission set.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DetachCustomerManagedPolicyReferenceFromPermissionSet for usage and error information.
+// API operation DeleteInlinePolicyFromPermissionSet for usage and error information.
//
// Returned Error Types:
//
@@ -1607,81 +1661,83 @@ func (c *SSOAdmin) DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet
-func (c *SSOAdmin) DetachCustomerManagedPolicyReferenceFromPermissionSet(input *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) (*DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, error) {
- req, out := c.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet
+func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSet(input *DeleteInlinePolicyFromPermissionSetInput) (*DeleteInlinePolicyFromPermissionSetOutput, error) {
+ req, out := c.DeleteInlinePolicyFromPermissionSetRequest(input)
return out, req.Send()
}
-// DetachCustomerManagedPolicyReferenceFromPermissionSetWithContext is the same as DetachCustomerManagedPolicyReferenceFromPermissionSet with the addition of
+// DeleteInlinePolicyFromPermissionSetWithContext is the same as DeleteInlinePolicyFromPermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See DetachCustomerManagedPolicyReferenceFromPermissionSet for details on how to use this API operation.
+// See DeleteInlinePolicyFromPermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DetachCustomerManagedPolicyReferenceFromPermissionSetWithContext(ctx aws.Context, input *DetachCustomerManagedPolicyReferenceFromPermissionSetInput, opts ...request.Option) (*DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, error) {
- req, out := c.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(input)
+func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSetWithContext(ctx aws.Context, input *DeleteInlinePolicyFromPermissionSetInput, opts ...request.Option) (*DeleteInlinePolicyFromPermissionSetOutput, error) {
+ req, out := c.DeleteInlinePolicyFromPermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDetachManagedPolicyFromPermissionSet = "DetachManagedPolicyFromPermissionSet"
+const opDeleteInstance = "DeleteInstance"
-// DetachManagedPolicyFromPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the DetachManagedPolicyFromPermissionSet operation. The "output" return
+// DeleteInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteInstance operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DetachManagedPolicyFromPermissionSet for more information on using the DetachManagedPolicyFromPermissionSet
+// See DeleteInstance for more information on using the DeleteInstance
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DetachManagedPolicyFromPermissionSetRequest method.
-// req, resp := client.DetachManagedPolicyFromPermissionSetRequest(params)
+// // Example sending a request using the DeleteInstanceRequest method.
+// req, resp := client.DeleteInstanceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet
-func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetRequest(input *DetachManagedPolicyFromPermissionSetInput) (req *request.Request, output *DetachManagedPolicyFromPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstance
+func (c *SSOAdmin) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) {
op := &request.Operation{
- Name: opDetachManagedPolicyFromPermissionSet,
+ Name: opDeleteInstance,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DetachManagedPolicyFromPermissionSetInput{}
+ input = &DeleteInstanceInput{}
}
- output = &DetachManagedPolicyFromPermissionSetOutput{}
+ output = &DeleteInstanceOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// DetachManagedPolicyFromPermissionSet API operation for AWS Single Sign-On Admin.
+// DeleteInstance API operation for AWS Single Sign-On Admin.
//
-// Detaches the attached Amazon Web Services managed policy ARN from the specified
-// permission set.
+// Deletes the instance of IAM Identity Center. Only the account that owns the
+// instance can call this API. Neither the delegated administrator nor member
+// account can delete the organization instance, but those roles can delete
+// their own instance.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation DetachManagedPolicyFromPermissionSet for usage and error information.
+// API operation DeleteInstance for usage and error information.
//
// Returned Error Types:
//
@@ -1693,9 +1749,6 @@ func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetRequest(input *DetachMana
// The request processing has failed because of an unknown error, exception,
// or failure with an internal server.
//
-// - ResourceNotFoundException
-// Indicates that a requested resource is not found.
-//
// - AccessDeniedException
// You do not have sufficient access to perform this action.
//
@@ -1708,79 +1761,86 @@ func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetRequest(input *DetachMana
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet
-func (c *SSOAdmin) DetachManagedPolicyFromPermissionSet(input *DetachManagedPolicyFromPermissionSetInput) (*DetachManagedPolicyFromPermissionSetOutput, error) {
- req, out := c.DetachManagedPolicyFromPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstance
+func (c *SSOAdmin) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) {
+ req, out := c.DeleteInstanceRequest(input)
return out, req.Send()
}
-// DetachManagedPolicyFromPermissionSetWithContext is the same as DetachManagedPolicyFromPermissionSet with the addition of
+// DeleteInstanceWithContext is the same as DeleteInstance with the addition of
// the ability to pass a context and additional request options.
//
-// See DetachManagedPolicyFromPermissionSet for details on how to use this API operation.
+// See DeleteInstance for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetWithContext(ctx aws.Context, input *DetachManagedPolicyFromPermissionSetInput, opts ...request.Option) (*DetachManagedPolicyFromPermissionSetOutput, error) {
- req, out := c.DetachManagedPolicyFromPermissionSetRequest(input)
+func (c *SSOAdmin) DeleteInstanceWithContext(ctx aws.Context, input *DeleteInstanceInput, opts ...request.Option) (*DeleteInstanceOutput, error) {
+ req, out := c.DeleteInstanceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opGetInlinePolicyForPermissionSet = "GetInlinePolicyForPermissionSet"
+const opDeleteInstanceAccessControlAttributeConfiguration = "DeleteInstanceAccessControlAttributeConfiguration"
-// GetInlinePolicyForPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the GetInlinePolicyForPermissionSet operation. The "output" return
+// DeleteInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteInstanceAccessControlAttributeConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See GetInlinePolicyForPermissionSet for more information on using the GetInlinePolicyForPermissionSet
+// See DeleteInstanceAccessControlAttributeConfiguration for more information on using the DeleteInstanceAccessControlAttributeConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the GetInlinePolicyForPermissionSetRequest method.
-// req, resp := client.GetInlinePolicyForPermissionSetRequest(params)
+// // Example sending a request using the DeleteInstanceAccessControlAttributeConfigurationRequest method.
+// req, resp := client.DeleteInstanceAccessControlAttributeConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet
-func (c *SSOAdmin) GetInlinePolicyForPermissionSetRequest(input *GetInlinePolicyForPermissionSetInput) (req *request.Request, output *GetInlinePolicyForPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationRequest(input *DeleteInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *DeleteInstanceAccessControlAttributeConfigurationOutput) {
op := &request.Operation{
- Name: opGetInlinePolicyForPermissionSet,
+ Name: opDeleteInstanceAccessControlAttributeConfiguration,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &GetInlinePolicyForPermissionSetInput{}
+ input = &DeleteInstanceAccessControlAttributeConfigurationInput{}
}
- output = &GetInlinePolicyForPermissionSetOutput{}
+ output = &DeleteInstanceAccessControlAttributeConfigurationOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// GetInlinePolicyForPermissionSet API operation for AWS Single Sign-On Admin.
+// DeleteInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
//
-// Obtains the inline policy assigned to the permission set.
+// Disables the attributes-based access control (ABAC) feature for the specified
+// IAM Identity Center instance and deletes all of the attribute mappings that
+// have been configured. Once deleted, any attributes that are received from
+// an identity source and any custom attributes you have previously configured
+// will not be passed. For more information about ABAC, see Attribute-Based
+// Access Control (/singlesignon/latest/userguide/abac.html) in the IAM Identity
+// Center User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation GetInlinePolicyForPermissionSet for usage and error information.
+// API operation DeleteInstanceAccessControlAttributeConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -1801,79 +1861,86 @@ func (c *SSOAdmin) GetInlinePolicyForPermissionSetRequest(input *GetInlinePolicy
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet
-func (c *SSOAdmin) GetInlinePolicyForPermissionSet(input *GetInlinePolicyForPermissionSetInput) (*GetInlinePolicyForPermissionSetOutput, error) {
- req, out := c.GetInlinePolicyForPermissionSetRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfiguration(input *DeleteInstanceAccessControlAttributeConfigurationInput) (*DeleteInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.DeleteInstanceAccessControlAttributeConfigurationRequest(input)
return out, req.Send()
}
-// GetInlinePolicyForPermissionSetWithContext is the same as GetInlinePolicyForPermissionSet with the addition of
+// DeleteInstanceAccessControlAttributeConfigurationWithContext is the same as DeleteInstanceAccessControlAttributeConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See GetInlinePolicyForPermissionSet for details on how to use this API operation.
+// See DeleteInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) GetInlinePolicyForPermissionSetWithContext(ctx aws.Context, input *GetInlinePolicyForPermissionSetInput, opts ...request.Option) (*GetInlinePolicyForPermissionSetOutput, error) {
- req, out := c.GetInlinePolicyForPermissionSetRequest(input)
+func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *DeleteInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*DeleteInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.DeleteInstanceAccessControlAttributeConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opGetPermissionsBoundaryForPermissionSet = "GetPermissionsBoundaryForPermissionSet"
+const opDeletePermissionSet = "DeletePermissionSet"
-// GetPermissionsBoundaryForPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the GetPermissionsBoundaryForPermissionSet operation. The "output" return
+// DeletePermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the DeletePermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See GetPermissionsBoundaryForPermissionSet for more information on using the GetPermissionsBoundaryForPermissionSet
+// See DeletePermissionSet for more information on using the DeletePermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the GetPermissionsBoundaryForPermissionSetRequest method.
-// req, resp := client.GetPermissionsBoundaryForPermissionSetRequest(params)
+// // Example sending a request using the DeletePermissionSetRequest method.
+// req, resp := client.DeletePermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet
-func (c *SSOAdmin) GetPermissionsBoundaryForPermissionSetRequest(input *GetPermissionsBoundaryForPermissionSetInput) (req *request.Request, output *GetPermissionsBoundaryForPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet
+func (c *SSOAdmin) DeletePermissionSetRequest(input *DeletePermissionSetInput) (req *request.Request, output *DeletePermissionSetOutput) {
op := &request.Operation{
- Name: opGetPermissionsBoundaryForPermissionSet,
+ Name: opDeletePermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &GetPermissionsBoundaryForPermissionSetInput{}
+ input = &DeletePermissionSetInput{}
}
- output = &GetPermissionsBoundaryForPermissionSetOutput{}
+ output = &DeletePermissionSetOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// GetPermissionsBoundaryForPermissionSet API operation for AWS Single Sign-On Admin.
+// DeletePermissionSet API operation for AWS Single Sign-On Admin.
//
-// Obtains the permissions boundary for a specified PermissionSet.
+// Deletes the specified permission set.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation GetPermissionsBoundaryForPermissionSet for usage and error information.
+// API operation DeletePermissionSet for usage and error information.
//
// Returned Error Types:
//
@@ -1894,86 +1961,86 @@ func (c *SSOAdmin) GetPermissionsBoundaryForPermissionSetRequest(input *GetPermi
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet
-func (c *SSOAdmin) GetPermissionsBoundaryForPermissionSet(input *GetPermissionsBoundaryForPermissionSetInput) (*GetPermissionsBoundaryForPermissionSetOutput, error) {
- req, out := c.GetPermissionsBoundaryForPermissionSetRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet
+func (c *SSOAdmin) DeletePermissionSet(input *DeletePermissionSetInput) (*DeletePermissionSetOutput, error) {
+ req, out := c.DeletePermissionSetRequest(input)
return out, req.Send()
}
-// GetPermissionsBoundaryForPermissionSetWithContext is the same as GetPermissionsBoundaryForPermissionSet with the addition of
+// DeletePermissionSetWithContext is the same as DeletePermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See GetPermissionsBoundaryForPermissionSet for details on how to use this API operation.
+// See DeletePermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) GetPermissionsBoundaryForPermissionSetWithContext(ctx aws.Context, input *GetPermissionsBoundaryForPermissionSetInput, opts ...request.Option) (*GetPermissionsBoundaryForPermissionSetOutput, error) {
- req, out := c.GetPermissionsBoundaryForPermissionSetRequest(input)
+func (c *SSOAdmin) DeletePermissionSetWithContext(ctx aws.Context, input *DeletePermissionSetInput, opts ...request.Option) (*DeletePermissionSetOutput, error) {
+ req, out := c.DeletePermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opListAccountAssignmentCreationStatus = "ListAccountAssignmentCreationStatus"
+const opDeletePermissionsBoundaryFromPermissionSet = "DeletePermissionsBoundaryFromPermissionSet"
-// ListAccountAssignmentCreationStatusRequest generates a "aws/request.Request" representing the
-// client's request for the ListAccountAssignmentCreationStatus operation. The "output" return
+// DeletePermissionsBoundaryFromPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the DeletePermissionsBoundaryFromPermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAccountAssignmentCreationStatus for more information on using the ListAccountAssignmentCreationStatus
+// See DeletePermissionsBoundaryFromPermissionSet for more information on using the DeletePermissionsBoundaryFromPermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAccountAssignmentCreationStatusRequest method.
-// req, resp := client.ListAccountAssignmentCreationStatusRequest(params)
+// // Example sending a request using the DeletePermissionsBoundaryFromPermissionSetRequest method.
+// req, resp := client.DeletePermissionsBoundaryFromPermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus
-func (c *SSOAdmin) ListAccountAssignmentCreationStatusRequest(input *ListAccountAssignmentCreationStatusInput) (req *request.Request, output *ListAccountAssignmentCreationStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet
+func (c *SSOAdmin) DeletePermissionsBoundaryFromPermissionSetRequest(input *DeletePermissionsBoundaryFromPermissionSetInput) (req *request.Request, output *DeletePermissionsBoundaryFromPermissionSetOutput) {
op := &request.Operation{
- Name: opListAccountAssignmentCreationStatus,
+ Name: opDeletePermissionsBoundaryFromPermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListAccountAssignmentCreationStatusInput{}
+ input = &DeletePermissionsBoundaryFromPermissionSetInput{}
}
- output = &ListAccountAssignmentCreationStatusOutput{}
+ output = &DeletePermissionsBoundaryFromPermissionSetOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// ListAccountAssignmentCreationStatus API operation for AWS Single Sign-On Admin.
+// DeletePermissionsBoundaryFromPermissionSet API operation for AWS Single Sign-On Admin.
//
-// Lists the status of the Amazon Web Services account assignment creation requests
-// for a specified IAM Identity Center instance.
+// Deletes the permissions boundary from a specified PermissionSet.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListAccountAssignmentCreationStatus for usage and error information.
+// API operation DeletePermissionsBoundaryFromPermissionSet for usage and error information.
//
// Returned Error Types:
//
@@ -1994,137 +2061,90 @@ func (c *SSOAdmin) ListAccountAssignmentCreationStatusRequest(input *ListAccount
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus
-func (c *SSOAdmin) ListAccountAssignmentCreationStatus(input *ListAccountAssignmentCreationStatusInput) (*ListAccountAssignmentCreationStatusOutput, error) {
- req, out := c.ListAccountAssignmentCreationStatusRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionsBoundaryFromPermissionSet
+func (c *SSOAdmin) DeletePermissionsBoundaryFromPermissionSet(input *DeletePermissionsBoundaryFromPermissionSetInput) (*DeletePermissionsBoundaryFromPermissionSetOutput, error) {
+ req, out := c.DeletePermissionsBoundaryFromPermissionSetRequest(input)
return out, req.Send()
}
-// ListAccountAssignmentCreationStatusWithContext is the same as ListAccountAssignmentCreationStatus with the addition of
+// DeletePermissionsBoundaryFromPermissionSetWithContext is the same as DeletePermissionsBoundaryFromPermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAccountAssignmentCreationStatus for details on how to use this API operation.
+// See DeletePermissionsBoundaryFromPermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountAssignmentCreationStatusWithContext(ctx aws.Context, input *ListAccountAssignmentCreationStatusInput, opts ...request.Option) (*ListAccountAssignmentCreationStatusOutput, error) {
- req, out := c.ListAccountAssignmentCreationStatusRequest(input)
+func (c *SSOAdmin) DeletePermissionsBoundaryFromPermissionSetWithContext(ctx aws.Context, input *DeletePermissionsBoundaryFromPermissionSetInput, opts ...request.Option) (*DeletePermissionsBoundaryFromPermissionSetOutput, error) {
+ req, out := c.DeletePermissionsBoundaryFromPermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAccountAssignmentCreationStatusPages iterates over the pages of a ListAccountAssignmentCreationStatus operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAccountAssignmentCreationStatus method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAccountAssignmentCreationStatus operation.
-// pageNum := 0
-// err := client.ListAccountAssignmentCreationStatusPages(params,
-// func(page *ssoadmin.ListAccountAssignmentCreationStatusOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListAccountAssignmentCreationStatusPages(input *ListAccountAssignmentCreationStatusInput, fn func(*ListAccountAssignmentCreationStatusOutput, bool) bool) error {
- return c.ListAccountAssignmentCreationStatusPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAccountAssignmentCreationStatusPagesWithContext same as ListAccountAssignmentCreationStatusPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountAssignmentCreationStatusPagesWithContext(ctx aws.Context, input *ListAccountAssignmentCreationStatusInput, fn func(*ListAccountAssignmentCreationStatusOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAccountAssignmentCreationStatusInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAccountAssignmentCreationStatusRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAccountAssignmentCreationStatusOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAccountAssignmentDeletionStatus = "ListAccountAssignmentDeletionStatus"
+const opDeleteTrustedTokenIssuer = "DeleteTrustedTokenIssuer"
-// ListAccountAssignmentDeletionStatusRequest generates a "aws/request.Request" representing the
-// client's request for the ListAccountAssignmentDeletionStatus operation. The "output" return
+// DeleteTrustedTokenIssuerRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteTrustedTokenIssuer operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAccountAssignmentDeletionStatus for more information on using the ListAccountAssignmentDeletionStatus
+// See DeleteTrustedTokenIssuer for more information on using the DeleteTrustedTokenIssuer
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAccountAssignmentDeletionStatusRequest method.
-// req, resp := client.ListAccountAssignmentDeletionStatusRequest(params)
+// // Example sending a request using the DeleteTrustedTokenIssuerRequest method.
+// req, resp := client.DeleteTrustedTokenIssuerRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus
-func (c *SSOAdmin) ListAccountAssignmentDeletionStatusRequest(input *ListAccountAssignmentDeletionStatusInput) (req *request.Request, output *ListAccountAssignmentDeletionStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteTrustedTokenIssuer
+func (c *SSOAdmin) DeleteTrustedTokenIssuerRequest(input *DeleteTrustedTokenIssuerInput) (req *request.Request, output *DeleteTrustedTokenIssuerOutput) {
op := &request.Operation{
- Name: opListAccountAssignmentDeletionStatus,
+ Name: opDeleteTrustedTokenIssuer,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListAccountAssignmentDeletionStatusInput{}
+ input = &DeleteTrustedTokenIssuerInput{}
}
- output = &ListAccountAssignmentDeletionStatusOutput{}
+ output = &DeleteTrustedTokenIssuerOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// ListAccountAssignmentDeletionStatus API operation for AWS Single Sign-On Admin.
+// DeleteTrustedTokenIssuer API operation for AWS Single Sign-On Admin.
//
-// Lists the status of the Amazon Web Services account assignment deletion requests
-// for a specified IAM Identity Center instance.
+// Deletes a trusted token issuer configuration from an instance of IAM Identity
+// Center.
+//
+// Deleting this trusted token issuer configuration will cause users to lose
+// access to any applications that are configured to use the trusted token issuer.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListAccountAssignmentDeletionStatus for usage and error information.
+// API operation DeleteTrustedTokenIssuer for usage and error information.
//
// Returned Error Types:
//
@@ -2145,137 +2165,85 @@ func (c *SSOAdmin) ListAccountAssignmentDeletionStatusRequest(input *ListAccount
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus
-func (c *SSOAdmin) ListAccountAssignmentDeletionStatus(input *ListAccountAssignmentDeletionStatusInput) (*ListAccountAssignmentDeletionStatusOutput, error) {
- req, out := c.ListAccountAssignmentDeletionStatusRequest(input)
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteTrustedTokenIssuer
+func (c *SSOAdmin) DeleteTrustedTokenIssuer(input *DeleteTrustedTokenIssuerInput) (*DeleteTrustedTokenIssuerOutput, error) {
+ req, out := c.DeleteTrustedTokenIssuerRequest(input)
return out, req.Send()
}
-// ListAccountAssignmentDeletionStatusWithContext is the same as ListAccountAssignmentDeletionStatus with the addition of
+// DeleteTrustedTokenIssuerWithContext is the same as DeleteTrustedTokenIssuer with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAccountAssignmentDeletionStatus for details on how to use this API operation.
+// See DeleteTrustedTokenIssuer for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountAssignmentDeletionStatusWithContext(ctx aws.Context, input *ListAccountAssignmentDeletionStatusInput, opts ...request.Option) (*ListAccountAssignmentDeletionStatusOutput, error) {
- req, out := c.ListAccountAssignmentDeletionStatusRequest(input)
+func (c *SSOAdmin) DeleteTrustedTokenIssuerWithContext(ctx aws.Context, input *DeleteTrustedTokenIssuerInput, opts ...request.Option) (*DeleteTrustedTokenIssuerOutput, error) {
+ req, out := c.DeleteTrustedTokenIssuerRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAccountAssignmentDeletionStatusPages iterates over the pages of a ListAccountAssignmentDeletionStatus operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
+const opDescribeAccountAssignmentCreationStatus = "DescribeAccountAssignmentCreationStatus"
+
+// DescribeAccountAssignmentCreationStatusRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAccountAssignmentCreationStatus operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// See ListAccountAssignmentDeletionStatus method for more information on how to use this operation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAccountAssignmentDeletionStatus operation.
-// pageNum := 0
-// err := client.ListAccountAssignmentDeletionStatusPages(params,
-// func(page *ssoadmin.ListAccountAssignmentDeletionStatusOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListAccountAssignmentDeletionStatusPages(input *ListAccountAssignmentDeletionStatusInput, fn func(*ListAccountAssignmentDeletionStatusOutput, bool) bool) error {
- return c.ListAccountAssignmentDeletionStatusPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAccountAssignmentDeletionStatusPagesWithContext same as ListAccountAssignmentDeletionStatusPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountAssignmentDeletionStatusPagesWithContext(ctx aws.Context, input *ListAccountAssignmentDeletionStatusInput, fn func(*ListAccountAssignmentDeletionStatusOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAccountAssignmentDeletionStatusInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAccountAssignmentDeletionStatusRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAccountAssignmentDeletionStatusOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAccountAssignments = "ListAccountAssignments"
-
-// ListAccountAssignmentsRequest generates a "aws/request.Request" representing the
-// client's request for the ListAccountAssignments operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
-//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
-//
-// See ListAccountAssignments for more information on using the ListAccountAssignments
-// API call, and error handling.
+// See DescribeAccountAssignmentCreationStatus for more information on using the DescribeAccountAssignmentCreationStatus
+// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAccountAssignmentsRequest method.
-// req, resp := client.ListAccountAssignmentsRequest(params)
+// // Example sending a request using the DescribeAccountAssignmentCreationStatusRequest method.
+// req, resp := client.DescribeAccountAssignmentCreationStatusRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments
-func (c *SSOAdmin) ListAccountAssignmentsRequest(input *ListAccountAssignmentsInput) (req *request.Request, output *ListAccountAssignmentsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus
+func (c *SSOAdmin) DescribeAccountAssignmentCreationStatusRequest(input *DescribeAccountAssignmentCreationStatusInput) (req *request.Request, output *DescribeAccountAssignmentCreationStatusOutput) {
op := &request.Operation{
- Name: opListAccountAssignments,
+ Name: opDescribeAccountAssignmentCreationStatus,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListAccountAssignmentsInput{}
+ input = &DescribeAccountAssignmentCreationStatusInput{}
}
- output = &ListAccountAssignmentsOutput{}
+ output = &DescribeAccountAssignmentCreationStatusOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAccountAssignments API operation for AWS Single Sign-On Admin.
+// DescribeAccountAssignmentCreationStatus API operation for AWS Single Sign-On Admin.
//
-// Lists the assignee of the specified Amazon Web Services account with the
-// specified permission set.
+// Describes the status of the assignment creation request.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListAccountAssignments for usage and error information.
+// API operation DescribeAccountAssignmentCreationStatus for usage and error information.
//
// Returned Error Types:
//
@@ -2296,137 +2264,79 @@ func (c *SSOAdmin) ListAccountAssignmentsRequest(input *ListAccountAssignmentsIn
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments
-func (c *SSOAdmin) ListAccountAssignments(input *ListAccountAssignmentsInput) (*ListAccountAssignmentsOutput, error) {
- req, out := c.ListAccountAssignmentsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus
+func (c *SSOAdmin) DescribeAccountAssignmentCreationStatus(input *DescribeAccountAssignmentCreationStatusInput) (*DescribeAccountAssignmentCreationStatusOutput, error) {
+ req, out := c.DescribeAccountAssignmentCreationStatusRequest(input)
return out, req.Send()
}
-// ListAccountAssignmentsWithContext is the same as ListAccountAssignments with the addition of
+// DescribeAccountAssignmentCreationStatusWithContext is the same as DescribeAccountAssignmentCreationStatus with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAccountAssignments for details on how to use this API operation.
+// See DescribeAccountAssignmentCreationStatus for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountAssignmentsWithContext(ctx aws.Context, input *ListAccountAssignmentsInput, opts ...request.Option) (*ListAccountAssignmentsOutput, error) {
- req, out := c.ListAccountAssignmentsRequest(input)
+func (c *SSOAdmin) DescribeAccountAssignmentCreationStatusWithContext(ctx aws.Context, input *DescribeAccountAssignmentCreationStatusInput, opts ...request.Option) (*DescribeAccountAssignmentCreationStatusOutput, error) {
+ req, out := c.DescribeAccountAssignmentCreationStatusRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAccountAssignmentsPages iterates over the pages of a ListAccountAssignments operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAccountAssignments method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAccountAssignments operation.
-// pageNum := 0
-// err := client.ListAccountAssignmentsPages(params,
-// func(page *ssoadmin.ListAccountAssignmentsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListAccountAssignmentsPages(input *ListAccountAssignmentsInput, fn func(*ListAccountAssignmentsOutput, bool) bool) error {
- return c.ListAccountAssignmentsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAccountAssignmentsPagesWithContext same as ListAccountAssignmentsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountAssignmentsPagesWithContext(ctx aws.Context, input *ListAccountAssignmentsInput, fn func(*ListAccountAssignmentsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAccountAssignmentsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAccountAssignmentsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAccountAssignmentsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAccountsForProvisionedPermissionSet = "ListAccountsForProvisionedPermissionSet"
+const opDescribeAccountAssignmentDeletionStatus = "DescribeAccountAssignmentDeletionStatus"
-// ListAccountsForProvisionedPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the ListAccountsForProvisionedPermissionSet operation. The "output" return
+// DescribeAccountAssignmentDeletionStatusRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAccountAssignmentDeletionStatus operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAccountsForProvisionedPermissionSet for more information on using the ListAccountsForProvisionedPermissionSet
+// See DescribeAccountAssignmentDeletionStatus for more information on using the DescribeAccountAssignmentDeletionStatus
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAccountsForProvisionedPermissionSetRequest method.
-// req, resp := client.ListAccountsForProvisionedPermissionSetRequest(params)
+// // Example sending a request using the DescribeAccountAssignmentDeletionStatusRequest method.
+// req, resp := client.DescribeAccountAssignmentDeletionStatusRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet
-func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetRequest(input *ListAccountsForProvisionedPermissionSetInput) (req *request.Request, output *ListAccountsForProvisionedPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus
+func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatusRequest(input *DescribeAccountAssignmentDeletionStatusInput) (req *request.Request, output *DescribeAccountAssignmentDeletionStatusOutput) {
op := &request.Operation{
- Name: opListAccountsForProvisionedPermissionSet,
+ Name: opDescribeAccountAssignmentDeletionStatus,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListAccountsForProvisionedPermissionSetInput{}
+ input = &DescribeAccountAssignmentDeletionStatusInput{}
}
- output = &ListAccountsForProvisionedPermissionSetOutput{}
+ output = &DescribeAccountAssignmentDeletionStatusOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAccountsForProvisionedPermissionSet API operation for AWS Single Sign-On Admin.
+// DescribeAccountAssignmentDeletionStatus API operation for AWS Single Sign-On Admin.
//
-// Lists all the Amazon Web Services accounts where the specified permission
-// set is provisioned.
+// Describes the status of the assignment deletion request.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListAccountsForProvisionedPermissionSet for usage and error information.
+// API operation DescribeAccountAssignmentDeletionStatus for usage and error information.
//
// Returned Error Types:
//
@@ -2447,136 +2357,80 @@ func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetRequest(input *ListAcc
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet
-func (c *SSOAdmin) ListAccountsForProvisionedPermissionSet(input *ListAccountsForProvisionedPermissionSetInput) (*ListAccountsForProvisionedPermissionSetOutput, error) {
- req, out := c.ListAccountsForProvisionedPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus
+func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatus(input *DescribeAccountAssignmentDeletionStatusInput) (*DescribeAccountAssignmentDeletionStatusOutput, error) {
+ req, out := c.DescribeAccountAssignmentDeletionStatusRequest(input)
return out, req.Send()
}
-// ListAccountsForProvisionedPermissionSetWithContext is the same as ListAccountsForProvisionedPermissionSet with the addition of
+// DescribeAccountAssignmentDeletionStatusWithContext is the same as DescribeAccountAssignmentDeletionStatus with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAccountsForProvisionedPermissionSet for details on how to use this API operation.
+// See DescribeAccountAssignmentDeletionStatus for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetWithContext(ctx aws.Context, input *ListAccountsForProvisionedPermissionSetInput, opts ...request.Option) (*ListAccountsForProvisionedPermissionSetOutput, error) {
- req, out := c.ListAccountsForProvisionedPermissionSetRequest(input)
+func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatusWithContext(ctx aws.Context, input *DescribeAccountAssignmentDeletionStatusInput, opts ...request.Option) (*DescribeAccountAssignmentDeletionStatusOutput, error) {
+ req, out := c.DescribeAccountAssignmentDeletionStatusRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAccountsForProvisionedPermissionSetPages iterates over the pages of a ListAccountsForProvisionedPermissionSet operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAccountsForProvisionedPermissionSet method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAccountsForProvisionedPermissionSet operation.
-// pageNum := 0
-// err := client.ListAccountsForProvisionedPermissionSetPages(params,
-// func(page *ssoadmin.ListAccountsForProvisionedPermissionSetOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetPages(input *ListAccountsForProvisionedPermissionSetInput, fn func(*ListAccountsForProvisionedPermissionSetOutput, bool) bool) error {
- return c.ListAccountsForProvisionedPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAccountsForProvisionedPermissionSetPagesWithContext same as ListAccountsForProvisionedPermissionSetPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetPagesWithContext(ctx aws.Context, input *ListAccountsForProvisionedPermissionSetInput, fn func(*ListAccountsForProvisionedPermissionSetOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAccountsForProvisionedPermissionSetInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAccountsForProvisionedPermissionSetRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAccountsForProvisionedPermissionSetOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListCustomerManagedPolicyReferencesInPermissionSet = "ListCustomerManagedPolicyReferencesInPermissionSet"
+const opDescribeApplication = "DescribeApplication"
-// ListCustomerManagedPolicyReferencesInPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the ListCustomerManagedPolicyReferencesInPermissionSet operation. The "output" return
+// DescribeApplicationRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeApplication operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListCustomerManagedPolicyReferencesInPermissionSet for more information on using the ListCustomerManagedPolicyReferencesInPermissionSet
+// See DescribeApplication for more information on using the DescribeApplication
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListCustomerManagedPolicyReferencesInPermissionSetRequest method.
-// req, resp := client.ListCustomerManagedPolicyReferencesInPermissionSetRequest(params)
+// // Example sending a request using the DescribeApplicationRequest method.
+// req, resp := client.DescribeApplicationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet
-func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetRequest(input *ListCustomerManagedPolicyReferencesInPermissionSetInput) (req *request.Request, output *ListCustomerManagedPolicyReferencesInPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplication
+func (c *SSOAdmin) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput) {
op := &request.Operation{
- Name: opListCustomerManagedPolicyReferencesInPermissionSet,
+ Name: opDescribeApplication,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListCustomerManagedPolicyReferencesInPermissionSetInput{}
+ input = &DescribeApplicationInput{}
}
- output = &ListCustomerManagedPolicyReferencesInPermissionSetOutput{}
+ output = &DescribeApplicationOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListCustomerManagedPolicyReferencesInPermissionSet API operation for AWS Single Sign-On Admin.
+// DescribeApplication API operation for AWS Single Sign-On Admin.
//
-// Lists all customer managed policies attached to a specified PermissionSet.
+// Retrieves the details of an application associated with an instance of IAM
+// Identity Center.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListCustomerManagedPolicyReferencesInPermissionSet for usage and error information.
+// API operation DescribeApplication for usage and error information.
//
// Returned Error Types:
//
@@ -2597,136 +2451,82 @@ func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetRequest(inp
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet
-func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSet(input *ListCustomerManagedPolicyReferencesInPermissionSetInput) (*ListCustomerManagedPolicyReferencesInPermissionSetOutput, error) {
- req, out := c.ListCustomerManagedPolicyReferencesInPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplication
+func (c *SSOAdmin) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error) {
+ req, out := c.DescribeApplicationRequest(input)
return out, req.Send()
}
-// ListCustomerManagedPolicyReferencesInPermissionSetWithContext is the same as ListCustomerManagedPolicyReferencesInPermissionSet with the addition of
+// DescribeApplicationWithContext is the same as DescribeApplication with the addition of
// the ability to pass a context and additional request options.
//
-// See ListCustomerManagedPolicyReferencesInPermissionSet for details on how to use this API operation.
+// See DescribeApplication for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetWithContext(ctx aws.Context, input *ListCustomerManagedPolicyReferencesInPermissionSetInput, opts ...request.Option) (*ListCustomerManagedPolicyReferencesInPermissionSetOutput, error) {
- req, out := c.ListCustomerManagedPolicyReferencesInPermissionSetRequest(input)
+func (c *SSOAdmin) DescribeApplicationWithContext(ctx aws.Context, input *DescribeApplicationInput, opts ...request.Option) (*DescribeApplicationOutput, error) {
+ req, out := c.DescribeApplicationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListCustomerManagedPolicyReferencesInPermissionSetPages iterates over the pages of a ListCustomerManagedPolicyReferencesInPermissionSet operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListCustomerManagedPolicyReferencesInPermissionSet method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListCustomerManagedPolicyReferencesInPermissionSet operation.
-// pageNum := 0
-// err := client.ListCustomerManagedPolicyReferencesInPermissionSetPages(params,
-// func(page *ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetPages(input *ListCustomerManagedPolicyReferencesInPermissionSetInput, fn func(*ListCustomerManagedPolicyReferencesInPermissionSetOutput, bool) bool) error {
- return c.ListCustomerManagedPolicyReferencesInPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListCustomerManagedPolicyReferencesInPermissionSetPagesWithContext same as ListCustomerManagedPolicyReferencesInPermissionSetPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetPagesWithContext(ctx aws.Context, input *ListCustomerManagedPolicyReferencesInPermissionSetInput, fn func(*ListCustomerManagedPolicyReferencesInPermissionSetOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListCustomerManagedPolicyReferencesInPermissionSetInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListCustomerManagedPolicyReferencesInPermissionSetRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListCustomerManagedPolicyReferencesInPermissionSetOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListInstances = "ListInstances"
+const opDescribeApplicationAssignment = "DescribeApplicationAssignment"
-// ListInstancesRequest generates a "aws/request.Request" representing the
-// client's request for the ListInstances operation. The "output" return
+// DescribeApplicationAssignmentRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeApplicationAssignment operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListInstances for more information on using the ListInstances
+// See DescribeApplicationAssignment for more information on using the DescribeApplicationAssignment
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListInstancesRequest method.
-// req, resp := client.ListInstancesRequest(params)
+// // Example sending a request using the DescribeApplicationAssignmentRequest method.
+// req, resp := client.DescribeApplicationAssignmentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances
-func (c *SSOAdmin) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplicationAssignment
+func (c *SSOAdmin) DescribeApplicationAssignmentRequest(input *DescribeApplicationAssignmentInput) (req *request.Request, output *DescribeApplicationAssignmentOutput) {
op := &request.Operation{
- Name: opListInstances,
+ Name: opDescribeApplicationAssignment,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListInstancesInput{}
+ input = &DescribeApplicationAssignmentInput{}
}
- output = &ListInstancesOutput{}
+ output = &DescribeApplicationAssignmentOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListInstances API operation for AWS Single Sign-On Admin.
+// DescribeApplicationAssignment API operation for AWS Single Sign-On Admin.
//
-// Lists the IAM Identity Center instances that the caller has access to.
+// Retrieves a direct assignment of a user or group to an application. If the
+// user doesn’t have a direct assignment to the application, the user may
+// still have access to the application through a group. Therefore, don’t
+// use this API to test access to an application for a user. Instead use ListApplicationAssignmentsForPrincipal.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListInstances for usage and error information.
+// API operation DescribeApplicationAssignment for usage and error information.
//
// Returned Error Types:
//
@@ -2738,143 +2538,90 @@ func (c *SSOAdmin) ListInstancesRequest(input *ListInstancesInput) (req *request
// The request processing has failed because of an unknown error, exception,
// or failure with an internal server.
//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
// - AccessDeniedException
// You do not have sufficient access to perform this action.
//
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances
-func (c *SSOAdmin) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) {
- req, out := c.ListInstancesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplicationAssignment
+func (c *SSOAdmin) DescribeApplicationAssignment(input *DescribeApplicationAssignmentInput) (*DescribeApplicationAssignmentOutput, error) {
+ req, out := c.DescribeApplicationAssignmentRequest(input)
return out, req.Send()
}
-// ListInstancesWithContext is the same as ListInstances with the addition of
+// DescribeApplicationAssignmentWithContext is the same as DescribeApplicationAssignment with the addition of
// the ability to pass a context and additional request options.
//
-// See ListInstances for details on how to use this API operation.
+// See DescribeApplicationAssignment for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListInstancesWithContext(ctx aws.Context, input *ListInstancesInput, opts ...request.Option) (*ListInstancesOutput, error) {
- req, out := c.ListInstancesRequest(input)
+func (c *SSOAdmin) DescribeApplicationAssignmentWithContext(ctx aws.Context, input *DescribeApplicationAssignmentInput, opts ...request.Option) (*DescribeApplicationAssignmentOutput, error) {
+ req, out := c.DescribeApplicationAssignmentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListInstancesPages iterates over the pages of a ListInstances operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListInstances method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListInstances operation.
-// pageNum := 0
-// err := client.ListInstancesPages(params,
-// func(page *ssoadmin.ListInstancesOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error {
- return c.ListInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListInstancesPagesWithContext same as ListInstancesPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListInstancesInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListInstancesRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListInstancesOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListManagedPoliciesInPermissionSet = "ListManagedPoliciesInPermissionSet"
+const opDescribeApplicationProvider = "DescribeApplicationProvider"
-// ListManagedPoliciesInPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the ListManagedPoliciesInPermissionSet operation. The "output" return
+// DescribeApplicationProviderRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeApplicationProvider operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListManagedPoliciesInPermissionSet for more information on using the ListManagedPoliciesInPermissionSet
+// See DescribeApplicationProvider for more information on using the DescribeApplicationProvider
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListManagedPoliciesInPermissionSetRequest method.
-// req, resp := client.ListManagedPoliciesInPermissionSetRequest(params)
+// // Example sending a request using the DescribeApplicationProviderRequest method.
+// req, resp := client.DescribeApplicationProviderRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet
-func (c *SSOAdmin) ListManagedPoliciesInPermissionSetRequest(input *ListManagedPoliciesInPermissionSetInput) (req *request.Request, output *ListManagedPoliciesInPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplicationProvider
+func (c *SSOAdmin) DescribeApplicationProviderRequest(input *DescribeApplicationProviderInput) (req *request.Request, output *DescribeApplicationProviderOutput) {
op := &request.Operation{
- Name: opListManagedPoliciesInPermissionSet,
+ Name: opDescribeApplicationProvider,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListManagedPoliciesInPermissionSetInput{}
+ input = &DescribeApplicationProviderInput{}
}
- output = &ListManagedPoliciesInPermissionSetOutput{}
+ output = &DescribeApplicationProviderOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListManagedPoliciesInPermissionSet API operation for AWS Single Sign-On Admin.
+// DescribeApplicationProvider API operation for AWS Single Sign-On Admin.
//
-// Lists the Amazon Web Services managed policy that is attached to a specified
-// permission set.
+// Retrieves details about a provider that can be used to connect an Amazon
+// Web Services managed application or customer managed application to IAM Identity
+// Center.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListManagedPoliciesInPermissionSet for usage and error information.
+// API operation DescribeApplicationProvider for usage and error information.
//
// Returned Error Types:
//
@@ -2895,137 +2642,90 @@ func (c *SSOAdmin) ListManagedPoliciesInPermissionSetRequest(input *ListManagedP
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet
-func (c *SSOAdmin) ListManagedPoliciesInPermissionSet(input *ListManagedPoliciesInPermissionSetInput) (*ListManagedPoliciesInPermissionSetOutput, error) {
- req, out := c.ListManagedPoliciesInPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeApplicationProvider
+func (c *SSOAdmin) DescribeApplicationProvider(input *DescribeApplicationProviderInput) (*DescribeApplicationProviderOutput, error) {
+ req, out := c.DescribeApplicationProviderRequest(input)
return out, req.Send()
}
-// ListManagedPoliciesInPermissionSetWithContext is the same as ListManagedPoliciesInPermissionSet with the addition of
+// DescribeApplicationProviderWithContext is the same as DescribeApplicationProvider with the addition of
// the ability to pass a context and additional request options.
//
-// See ListManagedPoliciesInPermissionSet for details on how to use this API operation.
+// See DescribeApplicationProvider for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListManagedPoliciesInPermissionSetWithContext(ctx aws.Context, input *ListManagedPoliciesInPermissionSetInput, opts ...request.Option) (*ListManagedPoliciesInPermissionSetOutput, error) {
- req, out := c.ListManagedPoliciesInPermissionSetRequest(input)
+func (c *SSOAdmin) DescribeApplicationProviderWithContext(ctx aws.Context, input *DescribeApplicationProviderInput, opts ...request.Option) (*DescribeApplicationProviderOutput, error) {
+ req, out := c.DescribeApplicationProviderRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListManagedPoliciesInPermissionSetPages iterates over the pages of a ListManagedPoliciesInPermissionSet operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListManagedPoliciesInPermissionSet method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListManagedPoliciesInPermissionSet operation.
-// pageNum := 0
-// err := client.ListManagedPoliciesInPermissionSetPages(params,
-// func(page *ssoadmin.ListManagedPoliciesInPermissionSetOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListManagedPoliciesInPermissionSetPages(input *ListManagedPoliciesInPermissionSetInput, fn func(*ListManagedPoliciesInPermissionSetOutput, bool) bool) error {
- return c.ListManagedPoliciesInPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListManagedPoliciesInPermissionSetPagesWithContext same as ListManagedPoliciesInPermissionSetPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListManagedPoliciesInPermissionSetPagesWithContext(ctx aws.Context, input *ListManagedPoliciesInPermissionSetInput, fn func(*ListManagedPoliciesInPermissionSetOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListManagedPoliciesInPermissionSetInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListManagedPoliciesInPermissionSetRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListManagedPoliciesInPermissionSetOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListPermissionSetProvisioningStatus = "ListPermissionSetProvisioningStatus"
+const opDescribeInstance = "DescribeInstance"
-// ListPermissionSetProvisioningStatusRequest generates a "aws/request.Request" representing the
-// client's request for the ListPermissionSetProvisioningStatus operation. The "output" return
+// DescribeInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeInstance operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListPermissionSetProvisioningStatus for more information on using the ListPermissionSetProvisioningStatus
+// See DescribeInstance for more information on using the DescribeInstance
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListPermissionSetProvisioningStatusRequest method.
-// req, resp := client.ListPermissionSetProvisioningStatusRequest(params)
+// // Example sending a request using the DescribeInstanceRequest method.
+// req, resp := client.DescribeInstanceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus
-func (c *SSOAdmin) ListPermissionSetProvisioningStatusRequest(input *ListPermissionSetProvisioningStatusInput) (req *request.Request, output *ListPermissionSetProvisioningStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstance
+func (c *SSOAdmin) DescribeInstanceRequest(input *DescribeInstanceInput) (req *request.Request, output *DescribeInstanceOutput) {
op := &request.Operation{
- Name: opListPermissionSetProvisioningStatus,
+ Name: opDescribeInstance,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListPermissionSetProvisioningStatusInput{}
+ input = &DescribeInstanceInput{}
}
- output = &ListPermissionSetProvisioningStatusOutput{}
+ output = &DescribeInstanceOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListPermissionSetProvisioningStatus API operation for AWS Single Sign-On Admin.
+// DescribeInstance API operation for AWS Single Sign-On Admin.
//
-// Lists the status of the permission set provisioning requests for a specified
-// IAM Identity Center instance.
+// Returns the details of an instance of IAM Identity Center. The status can
+// be one of the following:
+//
+// - CREATE_IN_PROGRESS - The instance is in the process of being created.
+// When the instance is ready for use, DescribeInstance returns the status
+// of ACTIVE. While the instance is in the CREATE_IN_PROGRESS state, you
+// can call only DescribeInstance and DeleteInstance operations.
+//
+// - DELETE_IN_PROGRESS - The instance is being deleted. Returns AccessDeniedException
+// after the delete operation completes.
+//
+// - ACTIVE - The instance is active.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListPermissionSetProvisioningStatus for usage and error information.
+// API operation DescribeInstance for usage and error information.
//
// Returned Error Types:
//
@@ -3037,145 +2737,90 @@ func (c *SSOAdmin) ListPermissionSetProvisioningStatusRequest(input *ListPermiss
// The request processing has failed because of an unknown error, exception,
// or failure with an internal server.
//
-// - ResourceNotFoundException
-// Indicates that a requested resource is not found.
-//
// - AccessDeniedException
// You do not have sufficient access to perform this action.
//
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus
-func (c *SSOAdmin) ListPermissionSetProvisioningStatus(input *ListPermissionSetProvisioningStatusInput) (*ListPermissionSetProvisioningStatusOutput, error) {
- req, out := c.ListPermissionSetProvisioningStatusRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstance
+func (c *SSOAdmin) DescribeInstance(input *DescribeInstanceInput) (*DescribeInstanceOutput, error) {
+ req, out := c.DescribeInstanceRequest(input)
return out, req.Send()
}
-// ListPermissionSetProvisioningStatusWithContext is the same as ListPermissionSetProvisioningStatus with the addition of
+// DescribeInstanceWithContext is the same as DescribeInstance with the addition of
// the ability to pass a context and additional request options.
//
-// See ListPermissionSetProvisioningStatus for details on how to use this API operation.
+// See DescribeInstance for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListPermissionSetProvisioningStatusWithContext(ctx aws.Context, input *ListPermissionSetProvisioningStatusInput, opts ...request.Option) (*ListPermissionSetProvisioningStatusOutput, error) {
- req, out := c.ListPermissionSetProvisioningStatusRequest(input)
+func (c *SSOAdmin) DescribeInstanceWithContext(ctx aws.Context, input *DescribeInstanceInput, opts ...request.Option) (*DescribeInstanceOutput, error) {
+ req, out := c.DescribeInstanceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListPermissionSetProvisioningStatusPages iterates over the pages of a ListPermissionSetProvisioningStatus operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListPermissionSetProvisioningStatus method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListPermissionSetProvisioningStatus operation.
-// pageNum := 0
-// err := client.ListPermissionSetProvisioningStatusPages(params,
-// func(page *ssoadmin.ListPermissionSetProvisioningStatusOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListPermissionSetProvisioningStatusPages(input *ListPermissionSetProvisioningStatusInput, fn func(*ListPermissionSetProvisioningStatusOutput, bool) bool) error {
- return c.ListPermissionSetProvisioningStatusPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListPermissionSetProvisioningStatusPagesWithContext same as ListPermissionSetProvisioningStatusPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListPermissionSetProvisioningStatusPagesWithContext(ctx aws.Context, input *ListPermissionSetProvisioningStatusInput, fn func(*ListPermissionSetProvisioningStatusOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListPermissionSetProvisioningStatusInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListPermissionSetProvisioningStatusRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListPermissionSetProvisioningStatusOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListPermissionSets = "ListPermissionSets"
+const opDescribeInstanceAccessControlAttributeConfiguration = "DescribeInstanceAccessControlAttributeConfiguration"
-// ListPermissionSetsRequest generates a "aws/request.Request" representing the
-// client's request for the ListPermissionSets operation. The "output" return
+// DescribeInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeInstanceAccessControlAttributeConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListPermissionSets for more information on using the ListPermissionSets
+// See DescribeInstanceAccessControlAttributeConfiguration for more information on using the DescribeInstanceAccessControlAttributeConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListPermissionSetsRequest method.
-// req, resp := client.ListPermissionSetsRequest(params)
+// // Example sending a request using the DescribeInstanceAccessControlAttributeConfigurationRequest method.
+// req, resp := client.DescribeInstanceAccessControlAttributeConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets
-func (c *SSOAdmin) ListPermissionSetsRequest(input *ListPermissionSetsInput) (req *request.Request, output *ListPermissionSetsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationRequest(input *DescribeInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *DescribeInstanceAccessControlAttributeConfigurationOutput) {
op := &request.Operation{
- Name: opListPermissionSets,
+ Name: opDescribeInstanceAccessControlAttributeConfiguration,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListPermissionSetsInput{}
+ input = &DescribeInstanceAccessControlAttributeConfigurationInput{}
}
- output = &ListPermissionSetsOutput{}
+ output = &DescribeInstanceAccessControlAttributeConfigurationOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListPermissionSets API operation for AWS Single Sign-On Admin.
+// DescribeInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
//
-// Lists the PermissionSets in an IAM Identity Center instance.
+// Returns the list of IAM Identity Center identity store attributes that have
+// been configured to work with attributes-based access control (ABAC) for the
+// specified IAM Identity Center instance. This will not return attributes configured
+// and sent by an external identity provider. For more information about ABAC,
+// see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html)
+// in the IAM Identity Center User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListPermissionSets for usage and error information.
+// API operation DescribeInstanceAccessControlAttributeConfiguration for usage and error information.
//
// Returned Error Types:
//
@@ -3196,137 +2841,79 @@ func (c *SSOAdmin) ListPermissionSetsRequest(input *ListPermissionSetsInput) (re
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets
-func (c *SSOAdmin) ListPermissionSets(input *ListPermissionSetsInput) (*ListPermissionSetsOutput, error) {
- req, out := c.ListPermissionSetsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfiguration(input *DescribeInstanceAccessControlAttributeConfigurationInput) (*DescribeInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.DescribeInstanceAccessControlAttributeConfigurationRequest(input)
return out, req.Send()
}
-// ListPermissionSetsWithContext is the same as ListPermissionSets with the addition of
+// DescribeInstanceAccessControlAttributeConfigurationWithContext is the same as DescribeInstanceAccessControlAttributeConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See ListPermissionSets for details on how to use this API operation.
+// See DescribeInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListPermissionSetsWithContext(ctx aws.Context, input *ListPermissionSetsInput, opts ...request.Option) (*ListPermissionSetsOutput, error) {
- req, out := c.ListPermissionSetsRequest(input)
+func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *DescribeInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*DescribeInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.DescribeInstanceAccessControlAttributeConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListPermissionSetsPages iterates over the pages of a ListPermissionSets operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListPermissionSets method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListPermissionSets operation.
-// pageNum := 0
-// err := client.ListPermissionSetsPages(params,
-// func(page *ssoadmin.ListPermissionSetsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListPermissionSetsPages(input *ListPermissionSetsInput, fn func(*ListPermissionSetsOutput, bool) bool) error {
- return c.ListPermissionSetsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListPermissionSetsPagesWithContext same as ListPermissionSetsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListPermissionSetsPagesWithContext(ctx aws.Context, input *ListPermissionSetsInput, fn func(*ListPermissionSetsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListPermissionSetsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListPermissionSetsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListPermissionSetsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListPermissionSetsProvisionedToAccount = "ListPermissionSetsProvisionedToAccount"
+const opDescribePermissionSet = "DescribePermissionSet"
-// ListPermissionSetsProvisionedToAccountRequest generates a "aws/request.Request" representing the
-// client's request for the ListPermissionSetsProvisionedToAccount operation. The "output" return
+// DescribePermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the DescribePermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListPermissionSetsProvisionedToAccount for more information on using the ListPermissionSetsProvisionedToAccount
+// See DescribePermissionSet for more information on using the DescribePermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListPermissionSetsProvisionedToAccountRequest method.
-// req, resp := client.ListPermissionSetsProvisionedToAccountRequest(params)
+// // Example sending a request using the DescribePermissionSetRequest method.
+// req, resp := client.DescribePermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount
-func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountRequest(input *ListPermissionSetsProvisionedToAccountInput) (req *request.Request, output *ListPermissionSetsProvisionedToAccountOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet
+func (c *SSOAdmin) DescribePermissionSetRequest(input *DescribePermissionSetInput) (req *request.Request, output *DescribePermissionSetOutput) {
op := &request.Operation{
- Name: opListPermissionSetsProvisionedToAccount,
+ Name: opDescribePermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "MaxResults",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListPermissionSetsProvisionedToAccountInput{}
+ input = &DescribePermissionSetInput{}
}
- output = &ListPermissionSetsProvisionedToAccountOutput{}
+ output = &DescribePermissionSetOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListPermissionSetsProvisionedToAccount API operation for AWS Single Sign-On Admin.
+// DescribePermissionSet API operation for AWS Single Sign-On Admin.
//
-// Lists all the permission sets that are provisioned to a specified Amazon
-// Web Services account.
+// Gets the details of the permission set.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListPermissionSetsProvisionedToAccount for usage and error information.
+// API operation DescribePermissionSet for usage and error information.
//
// Returned Error Types:
//
@@ -3347,136 +2934,175 @@ func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountRequest(input *ListPerm
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount
-func (c *SSOAdmin) ListPermissionSetsProvisionedToAccount(input *ListPermissionSetsProvisionedToAccountInput) (*ListPermissionSetsProvisionedToAccountOutput, error) {
- req, out := c.ListPermissionSetsProvisionedToAccountRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet
+func (c *SSOAdmin) DescribePermissionSet(input *DescribePermissionSetInput) (*DescribePermissionSetOutput, error) {
+ req, out := c.DescribePermissionSetRequest(input)
return out, req.Send()
}
-// ListPermissionSetsProvisionedToAccountWithContext is the same as ListPermissionSetsProvisionedToAccount with the addition of
+// DescribePermissionSetWithContext is the same as DescribePermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See ListPermissionSetsProvisionedToAccount for details on how to use this API operation.
+// See DescribePermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountWithContext(ctx aws.Context, input *ListPermissionSetsProvisionedToAccountInput, opts ...request.Option) (*ListPermissionSetsProvisionedToAccountOutput, error) {
- req, out := c.ListPermissionSetsProvisionedToAccountRequest(input)
+func (c *SSOAdmin) DescribePermissionSetWithContext(ctx aws.Context, input *DescribePermissionSetInput, opts ...request.Option) (*DescribePermissionSetOutput, error) {
+ req, out := c.DescribePermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListPermissionSetsProvisionedToAccountPages iterates over the pages of a ListPermissionSetsProvisionedToAccount operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
+const opDescribePermissionSetProvisioningStatus = "DescribePermissionSetProvisioningStatus"
+
+// DescribePermissionSetProvisioningStatusRequest generates a "aws/request.Request" representing the
+// client's request for the DescribePermissionSetProvisioningStatus operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// See ListPermissionSetsProvisionedToAccount method for more information on how to use this operation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// Note: This operation can generate multiple requests to a service.
+// See DescribePermissionSetProvisioningStatus for more information on using the DescribePermissionSetProvisioningStatus
+// API call, and error handling.
//
-// // Example iterating over at most 3 pages of a ListPermissionSetsProvisionedToAccount operation.
-// pageNum := 0
-// err := client.ListPermissionSetsProvisionedToAccountPages(params,
-// func(page *ssoadmin.ListPermissionSetsProvisionedToAccountOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountPages(input *ListPermissionSetsProvisionedToAccountInput, fn func(*ListPermissionSetsProvisionedToAccountOutput, bool) bool) error {
- return c.ListPermissionSetsProvisionedToAccountPagesWithContext(aws.BackgroundContext(), input, fn)
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DescribePermissionSetProvisioningStatusRequest method.
+// req, resp := client.DescribePermissionSetProvisioningStatusRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus
+func (c *SSOAdmin) DescribePermissionSetProvisioningStatusRequest(input *DescribePermissionSetProvisioningStatusInput) (req *request.Request, output *DescribePermissionSetProvisioningStatusOutput) {
+ op := &request.Operation{
+ Name: opDescribePermissionSetProvisioningStatus,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribePermissionSetProvisioningStatusInput{}
+ }
+
+ output = &DescribePermissionSetProvisioningStatusOutput{}
+ req = c.newRequest(op, input, output)
+ return
}
-// ListPermissionSetsProvisionedToAccountPagesWithContext same as ListPermissionSetsProvisionedToAccountPages except
-// it takes a Context and allows setting request options on the pages.
+// DescribePermissionSetProvisioningStatus API operation for AWS Single Sign-On Admin.
//
-// The context must be non-nil and will be used for request cancellation. If
+// Describes the status for the given permission set provisioning request.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation DescribePermissionSetProvisioningStatus for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus
+func (c *SSOAdmin) DescribePermissionSetProvisioningStatus(input *DescribePermissionSetProvisioningStatusInput) (*DescribePermissionSetProvisioningStatusOutput, error) {
+ req, out := c.DescribePermissionSetProvisioningStatusRequest(input)
+ return out, req.Send()
+}
+
+// DescribePermissionSetProvisioningStatusWithContext is the same as DescribePermissionSetProvisioningStatus with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DescribePermissionSetProvisioningStatus for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountPagesWithContext(ctx aws.Context, input *ListPermissionSetsProvisionedToAccountInput, fn func(*ListPermissionSetsProvisionedToAccountOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListPermissionSetsProvisionedToAccountInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListPermissionSetsProvisionedToAccountRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListPermissionSetsProvisionedToAccountOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
+func (c *SSOAdmin) DescribePermissionSetProvisioningStatusWithContext(ctx aws.Context, input *DescribePermissionSetProvisioningStatusInput, opts ...request.Option) (*DescribePermissionSetProvisioningStatusOutput, error) {
+ req, out := c.DescribePermissionSetProvisioningStatusRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
}
-const opListTagsForResource = "ListTagsForResource"
+const opDescribeTrustedTokenIssuer = "DescribeTrustedTokenIssuer"
-// ListTagsForResourceRequest generates a "aws/request.Request" representing the
-// client's request for the ListTagsForResource operation. The "output" return
+// DescribeTrustedTokenIssuerRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeTrustedTokenIssuer operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListTagsForResource for more information on using the ListTagsForResource
+// See DescribeTrustedTokenIssuer for more information on using the DescribeTrustedTokenIssuer
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListTagsForResourceRequest method.
-// req, resp := client.ListTagsForResourceRequest(params)
+// // Example sending a request using the DescribeTrustedTokenIssuerRequest method.
+// req, resp := client.DescribeTrustedTokenIssuerRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource
-func (c *SSOAdmin) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeTrustedTokenIssuer
+func (c *SSOAdmin) DescribeTrustedTokenIssuerRequest(input *DescribeTrustedTokenIssuerInput) (req *request.Request, output *DescribeTrustedTokenIssuerOutput) {
op := &request.Operation{
- Name: opListTagsForResource,
+ Name: opDescribeTrustedTokenIssuer,
HTTPMethod: "POST",
HTTPPath: "/",
- Paginator: &request.Paginator{
- InputTokens: []string{"NextToken"},
- OutputTokens: []string{"NextToken"},
- LimitToken: "",
- TruncationToken: "",
- },
}
if input == nil {
- input = &ListTagsForResourceInput{}
+ input = &DescribeTrustedTokenIssuerInput{}
}
- output = &ListTagsForResourceOutput{}
+ output = &DescribeTrustedTokenIssuerOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListTagsForResource API operation for AWS Single Sign-On Admin.
+// DescribeTrustedTokenIssuer API operation for AWS Single Sign-On Admin.
//
-// Lists the tags that are attached to a specified resource.
+// Retrieves details about a trusted token issuer configuration stored in an
+// instance of IAM Identity Center. Details include the name of the trusted
+// token issuer, the issuer URL, and the path of the source attribute and the
+// destination attribute for a trusted token issuer configuration.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ListTagsForResource for usage and error information.
+// API operation DescribeTrustedTokenIssuer for usage and error information.
//
// Returned Error Types:
//
@@ -3497,131 +3123,80 @@ func (c *SSOAdmin) ListTagsForResourceRequest(input *ListTagsForResourceInput) (
// - ValidationException
// The request failed because it contains a syntax error.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource
-func (c *SSOAdmin) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeTrustedTokenIssuer
+func (c *SSOAdmin) DescribeTrustedTokenIssuer(input *DescribeTrustedTokenIssuerInput) (*DescribeTrustedTokenIssuerOutput, error) {
+ req, out := c.DescribeTrustedTokenIssuerRequest(input)
return out, req.Send()
}
-// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// DescribeTrustedTokenIssuerWithContext is the same as DescribeTrustedTokenIssuer with the addition of
// the ability to pass a context and additional request options.
//
-// See ListTagsForResource for details on how to use this API operation.
+// See DescribeTrustedTokenIssuer for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+func (c *SSOAdmin) DescribeTrustedTokenIssuerWithContext(ctx aws.Context, input *DescribeTrustedTokenIssuerInput, opts ...request.Option) (*DescribeTrustedTokenIssuerOutput, error) {
+ req, out := c.DescribeTrustedTokenIssuerRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListTagsForResource method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListTagsForResource operation.
-// pageNum := 0
-// err := client.ListTagsForResourcePages(params,
-// func(page *ssoadmin.ListTagsForResourceOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *SSOAdmin) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error {
- return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *SSOAdmin) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListTagsForResourceInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListTagsForResourceRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListTagsForResourceOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opProvisionPermissionSet = "ProvisionPermissionSet"
+const opDetachCustomerManagedPolicyReferenceFromPermissionSet = "DetachCustomerManagedPolicyReferenceFromPermissionSet"
-// ProvisionPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the ProvisionPermissionSet operation. The "output" return
+// DetachCustomerManagedPolicyReferenceFromPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the DetachCustomerManagedPolicyReferenceFromPermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ProvisionPermissionSet for more information on using the ProvisionPermissionSet
+// See DetachCustomerManagedPolicyReferenceFromPermissionSet for more information on using the DetachCustomerManagedPolicyReferenceFromPermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ProvisionPermissionSetRequest method.
-// req, resp := client.ProvisionPermissionSetRequest(params)
+// // Example sending a request using the DetachCustomerManagedPolicyReferenceFromPermissionSetRequest method.
+// req, resp := client.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet
-func (c *SSOAdmin) ProvisionPermissionSetRequest(input *ProvisionPermissionSetInput) (req *request.Request, output *ProvisionPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet
+func (c *SSOAdmin) DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(input *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) (req *request.Request, output *DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) {
op := &request.Operation{
- Name: opProvisionPermissionSet,
+ Name: opDetachCustomerManagedPolicyReferenceFromPermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &ProvisionPermissionSetInput{}
+ input = &DetachCustomerManagedPolicyReferenceFromPermissionSetInput{}
}
- output = &ProvisionPermissionSetOutput{}
+ output = &DetachCustomerManagedPolicyReferenceFromPermissionSetOutput{}
req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// ProvisionPermissionSet API operation for AWS Single Sign-On Admin.
+// DetachCustomerManagedPolicyReferenceFromPermissionSet API operation for AWS Single Sign-On Admin.
//
-// The process by which a specified permission set is provisioned to the specified
-// target.
+// Detaches the specified customer managed policy from the specified PermissionSet.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation ProvisionPermissionSet for usage and error information.
+// API operation DetachCustomerManagedPolicyReferenceFromPermissionSet for usage and error information.
//
// Returned Error Types:
//
@@ -3648,91 +3223,84 @@ func (c *SSOAdmin) ProvisionPermissionSetRequest(input *ProvisionPermissionSetIn
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet
-func (c *SSOAdmin) ProvisionPermissionSet(input *ProvisionPermissionSetInput) (*ProvisionPermissionSetOutput, error) {
- req, out := c.ProvisionPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachCustomerManagedPolicyReferenceFromPermissionSet
+func (c *SSOAdmin) DetachCustomerManagedPolicyReferenceFromPermissionSet(input *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) (*DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, error) {
+ req, out := c.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(input)
return out, req.Send()
}
-// ProvisionPermissionSetWithContext is the same as ProvisionPermissionSet with the addition of
+// DetachCustomerManagedPolicyReferenceFromPermissionSetWithContext is the same as DetachCustomerManagedPolicyReferenceFromPermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See ProvisionPermissionSet for details on how to use this API operation.
+// See DetachCustomerManagedPolicyReferenceFromPermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) ProvisionPermissionSetWithContext(ctx aws.Context, input *ProvisionPermissionSetInput, opts ...request.Option) (*ProvisionPermissionSetOutput, error) {
- req, out := c.ProvisionPermissionSetRequest(input)
+func (c *SSOAdmin) DetachCustomerManagedPolicyReferenceFromPermissionSetWithContext(ctx aws.Context, input *DetachCustomerManagedPolicyReferenceFromPermissionSetInput, opts ...request.Option) (*DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, error) {
+ req, out := c.DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutInlinePolicyToPermissionSet = "PutInlinePolicyToPermissionSet"
+const opDetachManagedPolicyFromPermissionSet = "DetachManagedPolicyFromPermissionSet"
-// PutInlinePolicyToPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the PutInlinePolicyToPermissionSet operation. The "output" return
+// DetachManagedPolicyFromPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the DetachManagedPolicyFromPermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PutInlinePolicyToPermissionSet for more information on using the PutInlinePolicyToPermissionSet
+// See DetachManagedPolicyFromPermissionSet for more information on using the DetachManagedPolicyFromPermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutInlinePolicyToPermissionSetRequest method.
-// req, resp := client.PutInlinePolicyToPermissionSetRequest(params)
+// // Example sending a request using the DetachManagedPolicyFromPermissionSetRequest method.
+// req, resp := client.DetachManagedPolicyFromPermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet
-func (c *SSOAdmin) PutInlinePolicyToPermissionSetRequest(input *PutInlinePolicyToPermissionSetInput) (req *request.Request, output *PutInlinePolicyToPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet
+func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetRequest(input *DetachManagedPolicyFromPermissionSetInput) (req *request.Request, output *DetachManagedPolicyFromPermissionSetOutput) {
op := &request.Operation{
- Name: opPutInlinePolicyToPermissionSet,
+ Name: opDetachManagedPolicyFromPermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &PutInlinePolicyToPermissionSetInput{}
+ input = &DetachManagedPolicyFromPermissionSetInput{}
}
- output = &PutInlinePolicyToPermissionSetOutput{}
+ output = &DetachManagedPolicyFromPermissionSetOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// PutInlinePolicyToPermissionSet API operation for AWS Single Sign-On Admin.
-//
-// Attaches an inline policy to a permission set.
+// DetachManagedPolicyFromPermissionSet API operation for AWS Single Sign-On Admin.
//
-// If the permission set is already referenced by one or more account assignments,
-// you will need to call ProvisionPermissionSet after this action to apply the
-// corresponding IAM policy updates to all assigned accounts.
+// Detaches the attached Amazon Web Services managed policy ARN from the specified
+// permission set.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation PutInlinePolicyToPermissionSet for usage and error information.
+// API operation DetachManagedPolicyFromPermissionSet for usage and error information.
//
// Returned Error Types:
//
-// - ServiceQuotaExceededException
-// Indicates that the principal has crossed the permitted number of resources
-// that can be created.
-//
// - ThrottlingException
// Indicates that the principal has crossed the throttling limits of the API
// operations.
@@ -3756,81 +3324,80 @@ func (c *SSOAdmin) PutInlinePolicyToPermissionSetRequest(input *PutInlinePolicyT
// the host serving the current request. A retry (with appropriate backoff logic)
// is the recommended response to this exception.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet
-func (c *SSOAdmin) PutInlinePolicyToPermissionSet(input *PutInlinePolicyToPermissionSetInput) (*PutInlinePolicyToPermissionSetOutput, error) {
- req, out := c.PutInlinePolicyToPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet
+func (c *SSOAdmin) DetachManagedPolicyFromPermissionSet(input *DetachManagedPolicyFromPermissionSetInput) (*DetachManagedPolicyFromPermissionSetOutput, error) {
+ req, out := c.DetachManagedPolicyFromPermissionSetRequest(input)
return out, req.Send()
}
-// PutInlinePolicyToPermissionSetWithContext is the same as PutInlinePolicyToPermissionSet with the addition of
+// DetachManagedPolicyFromPermissionSetWithContext is the same as DetachManagedPolicyFromPermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See PutInlinePolicyToPermissionSet for details on how to use this API operation.
+// See DetachManagedPolicyFromPermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) PutInlinePolicyToPermissionSetWithContext(ctx aws.Context, input *PutInlinePolicyToPermissionSetInput, opts ...request.Option) (*PutInlinePolicyToPermissionSetOutput, error) {
- req, out := c.PutInlinePolicyToPermissionSetRequest(input)
+func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetWithContext(ctx aws.Context, input *DetachManagedPolicyFromPermissionSetInput, opts ...request.Option) (*DetachManagedPolicyFromPermissionSetOutput, error) {
+ req, out := c.DetachManagedPolicyFromPermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutPermissionsBoundaryToPermissionSet = "PutPermissionsBoundaryToPermissionSet"
+const opGetApplicationAccessScope = "GetApplicationAccessScope"
-// PutPermissionsBoundaryToPermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the PutPermissionsBoundaryToPermissionSet operation. The "output" return
+// GetApplicationAccessScopeRequest generates a "aws/request.Request" representing the
+// client's request for the GetApplicationAccessScope operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PutPermissionsBoundaryToPermissionSet for more information on using the PutPermissionsBoundaryToPermissionSet
+// See GetApplicationAccessScope for more information on using the GetApplicationAccessScope
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutPermissionsBoundaryToPermissionSetRequest method.
-// req, resp := client.PutPermissionsBoundaryToPermissionSetRequest(params)
+// // Example sending a request using the GetApplicationAccessScopeRequest method.
+// req, resp := client.GetApplicationAccessScopeRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet
-func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSetRequest(input *PutPermissionsBoundaryToPermissionSetInput) (req *request.Request, output *PutPermissionsBoundaryToPermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationAccessScope
+func (c *SSOAdmin) GetApplicationAccessScopeRequest(input *GetApplicationAccessScopeInput) (req *request.Request, output *GetApplicationAccessScopeOutput) {
op := &request.Operation{
- Name: opPutPermissionsBoundaryToPermissionSet,
+ Name: opGetApplicationAccessScope,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &PutPermissionsBoundaryToPermissionSetInput{}
+ input = &GetApplicationAccessScopeInput{}
}
- output = &PutPermissionsBoundaryToPermissionSetOutput{}
+ output = &GetApplicationAccessScopeOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// PutPermissionsBoundaryToPermissionSet API operation for AWS Single Sign-On Admin.
+// GetApplicationAccessScope API operation for AWS Single Sign-On Admin.
//
-// Attaches an Amazon Web Services managed or customer managed policy to the
-// specified PermissionSet as a permissions boundary.
+// Retrieves the authorized targets for an IAM Identity Center access scope
+// for an application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation PutPermissionsBoundaryToPermissionSet for usage and error information.
+// API operation GetApplicationAccessScope for usage and error information.
//
// Returned Error Types:
//
@@ -3851,93 +3418,82 @@ func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSetRequest(input *PutPermis
// - ValidationException
// The request failed because it contains a syntax error.
//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet
-func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSet(input *PutPermissionsBoundaryToPermissionSetInput) (*PutPermissionsBoundaryToPermissionSetOutput, error) {
- req, out := c.PutPermissionsBoundaryToPermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationAccessScope
+func (c *SSOAdmin) GetApplicationAccessScope(input *GetApplicationAccessScopeInput) (*GetApplicationAccessScopeOutput, error) {
+ req, out := c.GetApplicationAccessScopeRequest(input)
return out, req.Send()
}
-// PutPermissionsBoundaryToPermissionSetWithContext is the same as PutPermissionsBoundaryToPermissionSet with the addition of
+// GetApplicationAccessScopeWithContext is the same as GetApplicationAccessScope with the addition of
// the ability to pass a context and additional request options.
//
-// See PutPermissionsBoundaryToPermissionSet for details on how to use this API operation.
+// See GetApplicationAccessScope for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSetWithContext(ctx aws.Context, input *PutPermissionsBoundaryToPermissionSetInput, opts ...request.Option) (*PutPermissionsBoundaryToPermissionSetOutput, error) {
- req, out := c.PutPermissionsBoundaryToPermissionSetRequest(input)
+func (c *SSOAdmin) GetApplicationAccessScopeWithContext(ctx aws.Context, input *GetApplicationAccessScopeInput, opts ...request.Option) (*GetApplicationAccessScopeOutput, error) {
+ req, out := c.GetApplicationAccessScopeRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opTagResource = "TagResource"
+const opGetApplicationAssignmentConfiguration = "GetApplicationAssignmentConfiguration"
-// TagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the TagResource operation. The "output" return
+// GetApplicationAssignmentConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the GetApplicationAssignmentConfiguration operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See TagResource for more information on using the TagResource
+// See GetApplicationAssignmentConfiguration for more information on using the GetApplicationAssignmentConfiguration
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the TagResourceRequest method.
-// req, resp := client.TagResourceRequest(params)
+// // Example sending a request using the GetApplicationAssignmentConfigurationRequest method.
+// req, resp := client.GetApplicationAssignmentConfigurationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource
-func (c *SSOAdmin) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationAssignmentConfiguration
+func (c *SSOAdmin) GetApplicationAssignmentConfigurationRequest(input *GetApplicationAssignmentConfigurationInput) (req *request.Request, output *GetApplicationAssignmentConfigurationOutput) {
op := &request.Operation{
- Name: opTagResource,
+ Name: opGetApplicationAssignmentConfiguration,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &TagResourceInput{}
+ input = &GetApplicationAssignmentConfigurationInput{}
}
- output = &TagResourceOutput{}
+ output = &GetApplicationAssignmentConfigurationOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// TagResource API operation for AWS Single Sign-On Admin.
+// GetApplicationAssignmentConfiguration API operation for AWS Single Sign-On Admin.
//
-// Associates a set of tags with a specified resource.
+// Retrieves the configuration of PutApplicationAssignmentConfiguration.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation TagResource for usage and error information.
+// API operation GetApplicationAssignmentConfiguration for usage and error information.
//
// Returned Error Types:
//
-// - ServiceQuotaExceededException
-// Indicates that the principal has crossed the permitted number of resources
-// that can be created.
-//
// - ThrottlingException
// Indicates that the principal has crossed the throttling limits of the API
// operations.
@@ -3955,86 +3511,79 @@ func (c *SSOAdmin) TagResourceRequest(input *TagResourceInput) (req *request.Req
// - ValidationException
// The request failed because it contains a syntax error.
//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource
-func (c *SSOAdmin) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationAssignmentConfiguration
+func (c *SSOAdmin) GetApplicationAssignmentConfiguration(input *GetApplicationAssignmentConfigurationInput) (*GetApplicationAssignmentConfigurationOutput, error) {
+ req, out := c.GetApplicationAssignmentConfigurationRequest(input)
return out, req.Send()
}
-// TagResourceWithContext is the same as TagResource with the addition of
+// GetApplicationAssignmentConfigurationWithContext is the same as GetApplicationAssignmentConfiguration with the addition of
// the ability to pass a context and additional request options.
//
-// See TagResource for details on how to use this API operation.
+// See GetApplicationAssignmentConfiguration for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+func (c *SSOAdmin) GetApplicationAssignmentConfigurationWithContext(ctx aws.Context, input *GetApplicationAssignmentConfigurationInput, opts ...request.Option) (*GetApplicationAssignmentConfigurationOutput, error) {
+ req, out := c.GetApplicationAssignmentConfigurationRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUntagResource = "UntagResource"
+const opGetApplicationAuthenticationMethod = "GetApplicationAuthenticationMethod"
-// UntagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the UntagResource operation. The "output" return
+// GetApplicationAuthenticationMethodRequest generates a "aws/request.Request" representing the
+// client's request for the GetApplicationAuthenticationMethod operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UntagResource for more information on using the UntagResource
+// See GetApplicationAuthenticationMethod for more information on using the GetApplicationAuthenticationMethod
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UntagResourceRequest method.
-// req, resp := client.UntagResourceRequest(params)
+// // Example sending a request using the GetApplicationAuthenticationMethodRequest method.
+// req, resp := client.GetApplicationAuthenticationMethodRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource
-func (c *SSOAdmin) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationAuthenticationMethod
+func (c *SSOAdmin) GetApplicationAuthenticationMethodRequest(input *GetApplicationAuthenticationMethodInput) (req *request.Request, output *GetApplicationAuthenticationMethodOutput) {
op := &request.Operation{
- Name: opUntagResource,
+ Name: opGetApplicationAuthenticationMethod,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &UntagResourceInput{}
+ input = &GetApplicationAuthenticationMethodInput{}
}
- output = &UntagResourceOutput{}
+ output = &GetApplicationAuthenticationMethodOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// UntagResource API operation for AWS Single Sign-On Admin.
+// GetApplicationAuthenticationMethod API operation for AWS Single Sign-On Admin.
//
-// Disassociates a set of tags from a specified resource.
+// Retrieves details about an authentication method used by an application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation UntagResource for usage and error information.
+// API operation GetApplicationAuthenticationMethod for usage and error information.
//
// Returned Error Types:
//
@@ -4055,94 +3604,79 @@ func (c *SSOAdmin) UntagResourceRequest(input *UntagResourceInput) (req *request
// - ValidationException
// The request failed because it contains a syntax error.
//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource
-func (c *SSOAdmin) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationAuthenticationMethod
+func (c *SSOAdmin) GetApplicationAuthenticationMethod(input *GetApplicationAuthenticationMethodInput) (*GetApplicationAuthenticationMethodOutput, error) {
+ req, out := c.GetApplicationAuthenticationMethodRequest(input)
return out, req.Send()
}
-// UntagResourceWithContext is the same as UntagResource with the addition of
+// GetApplicationAuthenticationMethodWithContext is the same as GetApplicationAuthenticationMethod with the addition of
// the ability to pass a context and additional request options.
//
-// See UntagResource for details on how to use this API operation.
+// See GetApplicationAuthenticationMethod for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+func (c *SSOAdmin) GetApplicationAuthenticationMethodWithContext(ctx aws.Context, input *GetApplicationAuthenticationMethodInput, opts ...request.Option) (*GetApplicationAuthenticationMethodOutput, error) {
+ req, out := c.GetApplicationAuthenticationMethodRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateInstanceAccessControlAttributeConfiguration = "UpdateInstanceAccessControlAttributeConfiguration"
+const opGetApplicationGrant = "GetApplicationGrant"
-// UpdateInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateInstanceAccessControlAttributeConfiguration operation. The "output" return
+// GetApplicationGrantRequest generates a "aws/request.Request" representing the
+// client's request for the GetApplicationGrant operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateInstanceAccessControlAttributeConfiguration for more information on using the UpdateInstanceAccessControlAttributeConfiguration
+// See GetApplicationGrant for more information on using the GetApplicationGrant
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateInstanceAccessControlAttributeConfigurationRequest method.
-// req, resp := client.UpdateInstanceAccessControlAttributeConfigurationRequest(params)
+// // Example sending a request using the GetApplicationGrantRequest method.
+// req, resp := client.GetApplicationGrantRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationRequest(input *UpdateInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *UpdateInstanceAccessControlAttributeConfigurationOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationGrant
+func (c *SSOAdmin) GetApplicationGrantRequest(input *GetApplicationGrantInput) (req *request.Request, output *GetApplicationGrantOutput) {
op := &request.Operation{
- Name: opUpdateInstanceAccessControlAttributeConfiguration,
+ Name: opGetApplicationGrant,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &UpdateInstanceAccessControlAttributeConfigurationInput{}
+ input = &GetApplicationGrantInput{}
}
- output = &UpdateInstanceAccessControlAttributeConfigurationOutput{}
+ output = &GetApplicationGrantOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// UpdateInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
+// GetApplicationGrant API operation for AWS Single Sign-On Admin.
//
-// Updates the IAM Identity Center identity store attributes that you can use
-// with the IAM Identity Center instance for attributes-based access control
-// (ABAC). When using an external identity provider as an identity source, you
-// can pass attributes through the SAML assertion as an alternative to configuring
-// attributes from the IAM Identity Center identity store. If a SAML assertion
-// passes any of these attributes, IAM Identity Center replaces the attribute
-// value with the value from the IAM Identity Center identity store. For more
-// information about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html)
-// in the IAM Identity Center User Guide.
+// Retrieves details about an application grant.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation UpdateInstanceAccessControlAttributeConfiguration for usage and error information.
+// API operation GetApplicationGrant for usage and error information.
//
// Returned Error Types:
//
@@ -4163,86 +3697,79 @@ func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationRequest(inpu
// - ValidationException
// The request failed because it contains a syntax error.
//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration
-func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfiguration(input *UpdateInstanceAccessControlAttributeConfigurationInput) (*UpdateInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.UpdateInstanceAccessControlAttributeConfigurationRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetApplicationGrant
+func (c *SSOAdmin) GetApplicationGrant(input *GetApplicationGrantInput) (*GetApplicationGrantOutput, error) {
+ req, out := c.GetApplicationGrantRequest(input)
return out, req.Send()
}
-// UpdateInstanceAccessControlAttributeConfigurationWithContext is the same as UpdateInstanceAccessControlAttributeConfiguration with the addition of
+// GetApplicationGrantWithContext is the same as GetApplicationGrant with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
+// See GetApplicationGrant for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *UpdateInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*UpdateInstanceAccessControlAttributeConfigurationOutput, error) {
- req, out := c.UpdateInstanceAccessControlAttributeConfigurationRequest(input)
+func (c *SSOAdmin) GetApplicationGrantWithContext(ctx aws.Context, input *GetApplicationGrantInput, opts ...request.Option) (*GetApplicationGrantOutput, error) {
+ req, out := c.GetApplicationGrantRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdatePermissionSet = "UpdatePermissionSet"
+const opGetInlinePolicyForPermissionSet = "GetInlinePolicyForPermissionSet"
-// UpdatePermissionSetRequest generates a "aws/request.Request" representing the
-// client's request for the UpdatePermissionSet operation. The "output" return
+// GetInlinePolicyForPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the GetInlinePolicyForPermissionSet operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdatePermissionSet for more information on using the UpdatePermissionSet
+// See GetInlinePolicyForPermissionSet for more information on using the GetInlinePolicyForPermissionSet
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdatePermissionSetRequest method.
-// req, resp := client.UpdatePermissionSetRequest(params)
+// // Example sending a request using the GetInlinePolicyForPermissionSetRequest method.
+// req, resp := client.GetInlinePolicyForPermissionSetRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet
-func (c *SSOAdmin) UpdatePermissionSetRequest(input *UpdatePermissionSetInput) (req *request.Request, output *UpdatePermissionSetOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet
+func (c *SSOAdmin) GetInlinePolicyForPermissionSetRequest(input *GetInlinePolicyForPermissionSetInput) (req *request.Request, output *GetInlinePolicyForPermissionSetOutput) {
op := &request.Operation{
- Name: opUpdatePermissionSet,
+ Name: opGetInlinePolicyForPermissionSet,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &UpdatePermissionSetInput{}
+ input = &GetInlinePolicyForPermissionSetInput{}
}
- output = &UpdatePermissionSetOutput{}
+ output = &GetInlinePolicyForPermissionSetOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// UpdatePermissionSet API operation for AWS Single Sign-On Admin.
+// GetInlinePolicyForPermissionSet API operation for AWS Single Sign-On Admin.
//
-// Updates an existing permission set.
+// Obtains the inline policy assigned to the permission set.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Single Sign-On Admin's
-// API operation UpdatePermissionSet for usage and error information.
+// API operation GetInlinePolicyForPermissionSet for usage and error information.
//
// Returned Error Types:
//
@@ -4263,121 +3790,9688 @@ func (c *SSOAdmin) UpdatePermissionSetRequest(input *UpdatePermissionSetInput) (
// - ValidationException
// The request failed because it contains a syntax error.
//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet
-func (c *SSOAdmin) UpdatePermissionSet(input *UpdatePermissionSetInput) (*UpdatePermissionSetOutput, error) {
- req, out := c.UpdatePermissionSetRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet
+func (c *SSOAdmin) GetInlinePolicyForPermissionSet(input *GetInlinePolicyForPermissionSetInput) (*GetInlinePolicyForPermissionSetOutput, error) {
+ req, out := c.GetInlinePolicyForPermissionSetRequest(input)
return out, req.Send()
}
-// UpdatePermissionSetWithContext is the same as UpdatePermissionSet with the addition of
+// GetInlinePolicyForPermissionSetWithContext is the same as GetInlinePolicyForPermissionSet with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdatePermissionSet for details on how to use this API operation.
+// See GetInlinePolicyForPermissionSet for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *SSOAdmin) UpdatePermissionSetWithContext(ctx aws.Context, input *UpdatePermissionSetInput, opts ...request.Option) (*UpdatePermissionSetOutput, error) {
- req, out := c.UpdatePermissionSetRequest(input)
+func (c *SSOAdmin) GetInlinePolicyForPermissionSetWithContext(ctx aws.Context, input *GetInlinePolicyForPermissionSetInput, opts ...request.Option) (*GetInlinePolicyForPermissionSetOutput, error) {
+ req, out := c.GetInlinePolicyForPermissionSetRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// These are IAM Identity Center identity store attributes that you can configure
-// for use in attributes-based access control (ABAC). You can create permissions
-// policies that determine who can access your Amazon Web Services resources
-// based upon the configured attribute values. When you enable ABAC and specify
-// AccessControlAttributes, IAM Identity Center passes the attribute values
-// of the authenticated user into IAM for use in policy evaluation.
-type AccessControlAttribute struct {
- _ struct{} `type:"structure"`
-
- // The name of the attribute associated with your identities in your identity
- // source. This is used to map a specified attribute in your identity source
- // with an attribute in IAM Identity Center.
- //
- // Key is a required field
- Key *string `min:"1" type:"string" required:"true"`
-
- // The value used for mapping a specified attribute to an identity source.
- //
- // Value is a required field
- Value *AccessControlAttributeValue `type:"structure" required:"true"`
-}
+const opGetPermissionsBoundaryForPermissionSet = "GetPermissionsBoundaryForPermissionSet"
-// String returns the string representation.
+// GetPermissionsBoundaryForPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the GetPermissionsBoundaryForPermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessControlAttribute) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessControlAttribute) GoString() string {
- return s.String()
-}
-
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *AccessControlAttribute) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AccessControlAttribute"}
- if s.Key == nil {
- invalidParams.Add(request.NewErrParamRequired("Key"))
- }
- if s.Key != nil && len(*s.Key) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Key", 1))
- }
- if s.Value == nil {
- invalidParams.Add(request.NewErrParamRequired("Value"))
- }
- if s.Value != nil {
- if err := s.Value.Validate(); err != nil {
- invalidParams.AddNested("Value", err.(request.ErrInvalidParams))
- }
+// See GetPermissionsBoundaryForPermissionSet for more information on using the GetPermissionsBoundaryForPermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetPermissionsBoundaryForPermissionSetRequest method.
+// req, resp := client.GetPermissionsBoundaryForPermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet
+func (c *SSOAdmin) GetPermissionsBoundaryForPermissionSetRequest(input *GetPermissionsBoundaryForPermissionSetInput) (req *request.Request, output *GetPermissionsBoundaryForPermissionSetOutput) {
+ op := &request.Operation{
+ Name: opGetPermissionsBoundaryForPermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
}
- if invalidParams.Len() > 0 {
- return invalidParams
+ if input == nil {
+ input = &GetPermissionsBoundaryForPermissionSetInput{}
}
- return nil
-}
-// SetKey sets the Key field's value.
-func (s *AccessControlAttribute) SetKey(v string) *AccessControlAttribute {
- s.Key = &v
- return s
+ output = &GetPermissionsBoundaryForPermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ return
}
-// SetValue sets the Value field's value.
-func (s *AccessControlAttribute) SetValue(v *AccessControlAttributeValue) *AccessControlAttribute {
- s.Value = v
- return s
-}
+// GetPermissionsBoundaryForPermissionSet API operation for AWS Single Sign-On Admin.
+//
+// Obtains the permissions boundary for a specified PermissionSet.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation GetPermissionsBoundaryForPermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetPermissionsBoundaryForPermissionSet
+func (c *SSOAdmin) GetPermissionsBoundaryForPermissionSet(input *GetPermissionsBoundaryForPermissionSetInput) (*GetPermissionsBoundaryForPermissionSetOutput, error) {
+ req, out := c.GetPermissionsBoundaryForPermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// GetPermissionsBoundaryForPermissionSetWithContext is the same as GetPermissionsBoundaryForPermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetPermissionsBoundaryForPermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) GetPermissionsBoundaryForPermissionSetWithContext(ctx aws.Context, input *GetPermissionsBoundaryForPermissionSetInput, opts ...request.Option) (*GetPermissionsBoundaryForPermissionSetOutput, error) {
+ req, out := c.GetPermissionsBoundaryForPermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opListAccountAssignmentCreationStatus = "ListAccountAssignmentCreationStatus"
+
+// ListAccountAssignmentCreationStatusRequest generates a "aws/request.Request" representing the
+// client's request for the ListAccountAssignmentCreationStatus operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListAccountAssignmentCreationStatus for more information on using the ListAccountAssignmentCreationStatus
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListAccountAssignmentCreationStatusRequest method.
+// req, resp := client.ListAccountAssignmentCreationStatusRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus
+func (c *SSOAdmin) ListAccountAssignmentCreationStatusRequest(input *ListAccountAssignmentCreationStatusInput) (req *request.Request, output *ListAccountAssignmentCreationStatusOutput) {
+ op := &request.Operation{
+ Name: opListAccountAssignmentCreationStatus,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListAccountAssignmentCreationStatusInput{}
+ }
+
+ output = &ListAccountAssignmentCreationStatusOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListAccountAssignmentCreationStatus API operation for AWS Single Sign-On Admin.
+//
+// Lists the status of the Amazon Web Services account assignment creation requests
+// for a specified IAM Identity Center instance.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListAccountAssignmentCreationStatus for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus
+func (c *SSOAdmin) ListAccountAssignmentCreationStatus(input *ListAccountAssignmentCreationStatusInput) (*ListAccountAssignmentCreationStatusOutput, error) {
+ req, out := c.ListAccountAssignmentCreationStatusRequest(input)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentCreationStatusWithContext is the same as ListAccountAssignmentCreationStatus with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListAccountAssignmentCreationStatus for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentCreationStatusWithContext(ctx aws.Context, input *ListAccountAssignmentCreationStatusInput, opts ...request.Option) (*ListAccountAssignmentCreationStatusOutput, error) {
+ req, out := c.ListAccountAssignmentCreationStatusRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentCreationStatusPages iterates over the pages of a ListAccountAssignmentCreationStatus operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListAccountAssignmentCreationStatus method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListAccountAssignmentCreationStatus operation.
+// pageNum := 0
+// err := client.ListAccountAssignmentCreationStatusPages(params,
+// func(page *ssoadmin.ListAccountAssignmentCreationStatusOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListAccountAssignmentCreationStatusPages(input *ListAccountAssignmentCreationStatusInput, fn func(*ListAccountAssignmentCreationStatusOutput, bool) bool) error {
+ return c.ListAccountAssignmentCreationStatusPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListAccountAssignmentCreationStatusPagesWithContext same as ListAccountAssignmentCreationStatusPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentCreationStatusPagesWithContext(ctx aws.Context, input *ListAccountAssignmentCreationStatusInput, fn func(*ListAccountAssignmentCreationStatusOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListAccountAssignmentCreationStatusInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListAccountAssignmentCreationStatusRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListAccountAssignmentCreationStatusOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListAccountAssignmentDeletionStatus = "ListAccountAssignmentDeletionStatus"
+
+// ListAccountAssignmentDeletionStatusRequest generates a "aws/request.Request" representing the
+// client's request for the ListAccountAssignmentDeletionStatus operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListAccountAssignmentDeletionStatus for more information on using the ListAccountAssignmentDeletionStatus
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListAccountAssignmentDeletionStatusRequest method.
+// req, resp := client.ListAccountAssignmentDeletionStatusRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus
+func (c *SSOAdmin) ListAccountAssignmentDeletionStatusRequest(input *ListAccountAssignmentDeletionStatusInput) (req *request.Request, output *ListAccountAssignmentDeletionStatusOutput) {
+ op := &request.Operation{
+ Name: opListAccountAssignmentDeletionStatus,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListAccountAssignmentDeletionStatusInput{}
+ }
+
+ output = &ListAccountAssignmentDeletionStatusOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListAccountAssignmentDeletionStatus API operation for AWS Single Sign-On Admin.
+//
+// Lists the status of the Amazon Web Services account assignment deletion requests
+// for a specified IAM Identity Center instance.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListAccountAssignmentDeletionStatus for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus
+func (c *SSOAdmin) ListAccountAssignmentDeletionStatus(input *ListAccountAssignmentDeletionStatusInput) (*ListAccountAssignmentDeletionStatusOutput, error) {
+ req, out := c.ListAccountAssignmentDeletionStatusRequest(input)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentDeletionStatusWithContext is the same as ListAccountAssignmentDeletionStatus with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListAccountAssignmentDeletionStatus for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentDeletionStatusWithContext(ctx aws.Context, input *ListAccountAssignmentDeletionStatusInput, opts ...request.Option) (*ListAccountAssignmentDeletionStatusOutput, error) {
+ req, out := c.ListAccountAssignmentDeletionStatusRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentDeletionStatusPages iterates over the pages of a ListAccountAssignmentDeletionStatus operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListAccountAssignmentDeletionStatus method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListAccountAssignmentDeletionStatus operation.
+// pageNum := 0
+// err := client.ListAccountAssignmentDeletionStatusPages(params,
+// func(page *ssoadmin.ListAccountAssignmentDeletionStatusOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListAccountAssignmentDeletionStatusPages(input *ListAccountAssignmentDeletionStatusInput, fn func(*ListAccountAssignmentDeletionStatusOutput, bool) bool) error {
+ return c.ListAccountAssignmentDeletionStatusPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListAccountAssignmentDeletionStatusPagesWithContext same as ListAccountAssignmentDeletionStatusPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentDeletionStatusPagesWithContext(ctx aws.Context, input *ListAccountAssignmentDeletionStatusInput, fn func(*ListAccountAssignmentDeletionStatusOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListAccountAssignmentDeletionStatusInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListAccountAssignmentDeletionStatusRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListAccountAssignmentDeletionStatusOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListAccountAssignments = "ListAccountAssignments"
+
+// ListAccountAssignmentsRequest generates a "aws/request.Request" representing the
+// client's request for the ListAccountAssignments operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListAccountAssignments for more information on using the ListAccountAssignments
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListAccountAssignmentsRequest method.
+// req, resp := client.ListAccountAssignmentsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments
+func (c *SSOAdmin) ListAccountAssignmentsRequest(input *ListAccountAssignmentsInput) (req *request.Request, output *ListAccountAssignmentsOutput) {
+ op := &request.Operation{
+ Name: opListAccountAssignments,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListAccountAssignmentsInput{}
+ }
+
+ output = &ListAccountAssignmentsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListAccountAssignments API operation for AWS Single Sign-On Admin.
+//
+// Lists the assignee of the specified Amazon Web Services account with the
+// specified permission set.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListAccountAssignments for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments
+func (c *SSOAdmin) ListAccountAssignments(input *ListAccountAssignmentsInput) (*ListAccountAssignmentsOutput, error) {
+ req, out := c.ListAccountAssignmentsRequest(input)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentsWithContext is the same as ListAccountAssignments with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListAccountAssignments for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentsWithContext(ctx aws.Context, input *ListAccountAssignmentsInput, opts ...request.Option) (*ListAccountAssignmentsOutput, error) {
+ req, out := c.ListAccountAssignmentsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentsPages iterates over the pages of a ListAccountAssignments operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListAccountAssignments method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListAccountAssignments operation.
+// pageNum := 0
+// err := client.ListAccountAssignmentsPages(params,
+// func(page *ssoadmin.ListAccountAssignmentsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListAccountAssignmentsPages(input *ListAccountAssignmentsInput, fn func(*ListAccountAssignmentsOutput, bool) bool) error {
+ return c.ListAccountAssignmentsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListAccountAssignmentsPagesWithContext same as ListAccountAssignmentsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentsPagesWithContext(ctx aws.Context, input *ListAccountAssignmentsInput, fn func(*ListAccountAssignmentsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListAccountAssignmentsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListAccountAssignmentsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListAccountAssignmentsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListAccountAssignmentsForPrincipal = "ListAccountAssignmentsForPrincipal"
+
+// ListAccountAssignmentsForPrincipalRequest generates a "aws/request.Request" representing the
+// client's request for the ListAccountAssignmentsForPrincipal operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListAccountAssignmentsForPrincipal for more information on using the ListAccountAssignmentsForPrincipal
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListAccountAssignmentsForPrincipalRequest method.
+// req, resp := client.ListAccountAssignmentsForPrincipalRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentsForPrincipal
+func (c *SSOAdmin) ListAccountAssignmentsForPrincipalRequest(input *ListAccountAssignmentsForPrincipalInput) (req *request.Request, output *ListAccountAssignmentsForPrincipalOutput) {
+ op := &request.Operation{
+ Name: opListAccountAssignmentsForPrincipal,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListAccountAssignmentsForPrincipalInput{}
+ }
+
+ output = &ListAccountAssignmentsForPrincipalOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListAccountAssignmentsForPrincipal API operation for AWS Single Sign-On Admin.
+//
+// Retrieves a list of the IAM Identity Center associated Amazon Web Services
+// accounts that the principal has access to.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListAccountAssignmentsForPrincipal for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentsForPrincipal
+func (c *SSOAdmin) ListAccountAssignmentsForPrincipal(input *ListAccountAssignmentsForPrincipalInput) (*ListAccountAssignmentsForPrincipalOutput, error) {
+ req, out := c.ListAccountAssignmentsForPrincipalRequest(input)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentsForPrincipalWithContext is the same as ListAccountAssignmentsForPrincipal with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListAccountAssignmentsForPrincipal for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentsForPrincipalWithContext(ctx aws.Context, input *ListAccountAssignmentsForPrincipalInput, opts ...request.Option) (*ListAccountAssignmentsForPrincipalOutput, error) {
+ req, out := c.ListAccountAssignmentsForPrincipalRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListAccountAssignmentsForPrincipalPages iterates over the pages of a ListAccountAssignmentsForPrincipal operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListAccountAssignmentsForPrincipal method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListAccountAssignmentsForPrincipal operation.
+// pageNum := 0
+// err := client.ListAccountAssignmentsForPrincipalPages(params,
+// func(page *ssoadmin.ListAccountAssignmentsForPrincipalOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListAccountAssignmentsForPrincipalPages(input *ListAccountAssignmentsForPrincipalInput, fn func(*ListAccountAssignmentsForPrincipalOutput, bool) bool) error {
+ return c.ListAccountAssignmentsForPrincipalPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListAccountAssignmentsForPrincipalPagesWithContext same as ListAccountAssignmentsForPrincipalPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountAssignmentsForPrincipalPagesWithContext(ctx aws.Context, input *ListAccountAssignmentsForPrincipalInput, fn func(*ListAccountAssignmentsForPrincipalOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListAccountAssignmentsForPrincipalInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListAccountAssignmentsForPrincipalRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListAccountAssignmentsForPrincipalOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListAccountsForProvisionedPermissionSet = "ListAccountsForProvisionedPermissionSet"
+
+// ListAccountsForProvisionedPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the ListAccountsForProvisionedPermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListAccountsForProvisionedPermissionSet for more information on using the ListAccountsForProvisionedPermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListAccountsForProvisionedPermissionSetRequest method.
+// req, resp := client.ListAccountsForProvisionedPermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet
+func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetRequest(input *ListAccountsForProvisionedPermissionSetInput) (req *request.Request, output *ListAccountsForProvisionedPermissionSetOutput) {
+ op := &request.Operation{
+ Name: opListAccountsForProvisionedPermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListAccountsForProvisionedPermissionSetInput{}
+ }
+
+ output = &ListAccountsForProvisionedPermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListAccountsForProvisionedPermissionSet API operation for AWS Single Sign-On Admin.
+//
+// Lists all the Amazon Web Services accounts where the specified permission
+// set is provisioned.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListAccountsForProvisionedPermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet
+func (c *SSOAdmin) ListAccountsForProvisionedPermissionSet(input *ListAccountsForProvisionedPermissionSetInput) (*ListAccountsForProvisionedPermissionSetOutput, error) {
+ req, out := c.ListAccountsForProvisionedPermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// ListAccountsForProvisionedPermissionSetWithContext is the same as ListAccountsForProvisionedPermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListAccountsForProvisionedPermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetWithContext(ctx aws.Context, input *ListAccountsForProvisionedPermissionSetInput, opts ...request.Option) (*ListAccountsForProvisionedPermissionSetOutput, error) {
+ req, out := c.ListAccountsForProvisionedPermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListAccountsForProvisionedPermissionSetPages iterates over the pages of a ListAccountsForProvisionedPermissionSet operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListAccountsForProvisionedPermissionSet method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListAccountsForProvisionedPermissionSet operation.
+// pageNum := 0
+// err := client.ListAccountsForProvisionedPermissionSetPages(params,
+// func(page *ssoadmin.ListAccountsForProvisionedPermissionSetOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetPages(input *ListAccountsForProvisionedPermissionSetInput, fn func(*ListAccountsForProvisionedPermissionSetOutput, bool) bool) error {
+ return c.ListAccountsForProvisionedPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListAccountsForProvisionedPermissionSetPagesWithContext same as ListAccountsForProvisionedPermissionSetPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetPagesWithContext(ctx aws.Context, input *ListAccountsForProvisionedPermissionSetInput, fn func(*ListAccountsForProvisionedPermissionSetOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListAccountsForProvisionedPermissionSetInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListAccountsForProvisionedPermissionSetRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListAccountsForProvisionedPermissionSetOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListApplicationAccessScopes = "ListApplicationAccessScopes"
+
+// ListApplicationAccessScopesRequest generates a "aws/request.Request" representing the
+// client's request for the ListApplicationAccessScopes operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListApplicationAccessScopes for more information on using the ListApplicationAccessScopes
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListApplicationAccessScopesRequest method.
+// req, resp := client.ListApplicationAccessScopesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAccessScopes
+func (c *SSOAdmin) ListApplicationAccessScopesRequest(input *ListApplicationAccessScopesInput) (req *request.Request, output *ListApplicationAccessScopesOutput) {
+ op := &request.Operation{
+ Name: opListApplicationAccessScopes,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListApplicationAccessScopesInput{}
+ }
+
+ output = &ListApplicationAccessScopesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListApplicationAccessScopes API operation for AWS Single Sign-On Admin.
+//
+// Lists the access scopes and authorized targets associated with an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListApplicationAccessScopes for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAccessScopes
+func (c *SSOAdmin) ListApplicationAccessScopes(input *ListApplicationAccessScopesInput) (*ListApplicationAccessScopesOutput, error) {
+ req, out := c.ListApplicationAccessScopesRequest(input)
+ return out, req.Send()
+}
+
+// ListApplicationAccessScopesWithContext is the same as ListApplicationAccessScopes with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListApplicationAccessScopes for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAccessScopesWithContext(ctx aws.Context, input *ListApplicationAccessScopesInput, opts ...request.Option) (*ListApplicationAccessScopesOutput, error) {
+ req, out := c.ListApplicationAccessScopesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListApplicationAccessScopesPages iterates over the pages of a ListApplicationAccessScopes operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApplicationAccessScopes method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApplicationAccessScopes operation.
+// pageNum := 0
+// err := client.ListApplicationAccessScopesPages(params,
+// func(page *ssoadmin.ListApplicationAccessScopesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListApplicationAccessScopesPages(input *ListApplicationAccessScopesInput, fn func(*ListApplicationAccessScopesOutput, bool) bool) error {
+ return c.ListApplicationAccessScopesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListApplicationAccessScopesPagesWithContext same as ListApplicationAccessScopesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAccessScopesPagesWithContext(ctx aws.Context, input *ListApplicationAccessScopesInput, fn func(*ListApplicationAccessScopesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListApplicationAccessScopesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListApplicationAccessScopesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListApplicationAccessScopesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListApplicationAssignments = "ListApplicationAssignments"
+
+// ListApplicationAssignmentsRequest generates a "aws/request.Request" representing the
+// client's request for the ListApplicationAssignments operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListApplicationAssignments for more information on using the ListApplicationAssignments
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListApplicationAssignmentsRequest method.
+// req, resp := client.ListApplicationAssignmentsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAssignments
+func (c *SSOAdmin) ListApplicationAssignmentsRequest(input *ListApplicationAssignmentsInput) (req *request.Request, output *ListApplicationAssignmentsOutput) {
+ op := &request.Operation{
+ Name: opListApplicationAssignments,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListApplicationAssignmentsInput{}
+ }
+
+ output = &ListApplicationAssignmentsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListApplicationAssignments API operation for AWS Single Sign-On Admin.
+//
+// Lists Amazon Web Services account users that are assigned to an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListApplicationAssignments for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAssignments
+func (c *SSOAdmin) ListApplicationAssignments(input *ListApplicationAssignmentsInput) (*ListApplicationAssignmentsOutput, error) {
+ req, out := c.ListApplicationAssignmentsRequest(input)
+ return out, req.Send()
+}
+
+// ListApplicationAssignmentsWithContext is the same as ListApplicationAssignments with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListApplicationAssignments for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAssignmentsWithContext(ctx aws.Context, input *ListApplicationAssignmentsInput, opts ...request.Option) (*ListApplicationAssignmentsOutput, error) {
+ req, out := c.ListApplicationAssignmentsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListApplicationAssignmentsPages iterates over the pages of a ListApplicationAssignments operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApplicationAssignments method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApplicationAssignments operation.
+// pageNum := 0
+// err := client.ListApplicationAssignmentsPages(params,
+// func(page *ssoadmin.ListApplicationAssignmentsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListApplicationAssignmentsPages(input *ListApplicationAssignmentsInput, fn func(*ListApplicationAssignmentsOutput, bool) bool) error {
+ return c.ListApplicationAssignmentsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListApplicationAssignmentsPagesWithContext same as ListApplicationAssignmentsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAssignmentsPagesWithContext(ctx aws.Context, input *ListApplicationAssignmentsInput, fn func(*ListApplicationAssignmentsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListApplicationAssignmentsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListApplicationAssignmentsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListApplicationAssignmentsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListApplicationAssignmentsForPrincipal = "ListApplicationAssignmentsForPrincipal"
+
+// ListApplicationAssignmentsForPrincipalRequest generates a "aws/request.Request" representing the
+// client's request for the ListApplicationAssignmentsForPrincipal operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListApplicationAssignmentsForPrincipal for more information on using the ListApplicationAssignmentsForPrincipal
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListApplicationAssignmentsForPrincipalRequest method.
+// req, resp := client.ListApplicationAssignmentsForPrincipalRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAssignmentsForPrincipal
+func (c *SSOAdmin) ListApplicationAssignmentsForPrincipalRequest(input *ListApplicationAssignmentsForPrincipalInput) (req *request.Request, output *ListApplicationAssignmentsForPrincipalOutput) {
+ op := &request.Operation{
+ Name: opListApplicationAssignmentsForPrincipal,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListApplicationAssignmentsForPrincipalInput{}
+ }
+
+ output = &ListApplicationAssignmentsForPrincipalOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListApplicationAssignmentsForPrincipal API operation for AWS Single Sign-On Admin.
+//
+// Lists the applications to which a specified principal is assigned.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListApplicationAssignmentsForPrincipal for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAssignmentsForPrincipal
+func (c *SSOAdmin) ListApplicationAssignmentsForPrincipal(input *ListApplicationAssignmentsForPrincipalInput) (*ListApplicationAssignmentsForPrincipalOutput, error) {
+ req, out := c.ListApplicationAssignmentsForPrincipalRequest(input)
+ return out, req.Send()
+}
+
+// ListApplicationAssignmentsForPrincipalWithContext is the same as ListApplicationAssignmentsForPrincipal with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListApplicationAssignmentsForPrincipal for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAssignmentsForPrincipalWithContext(ctx aws.Context, input *ListApplicationAssignmentsForPrincipalInput, opts ...request.Option) (*ListApplicationAssignmentsForPrincipalOutput, error) {
+ req, out := c.ListApplicationAssignmentsForPrincipalRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListApplicationAssignmentsForPrincipalPages iterates over the pages of a ListApplicationAssignmentsForPrincipal operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApplicationAssignmentsForPrincipal method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApplicationAssignmentsForPrincipal operation.
+// pageNum := 0
+// err := client.ListApplicationAssignmentsForPrincipalPages(params,
+// func(page *ssoadmin.ListApplicationAssignmentsForPrincipalOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListApplicationAssignmentsForPrincipalPages(input *ListApplicationAssignmentsForPrincipalInput, fn func(*ListApplicationAssignmentsForPrincipalOutput, bool) bool) error {
+ return c.ListApplicationAssignmentsForPrincipalPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListApplicationAssignmentsForPrincipalPagesWithContext same as ListApplicationAssignmentsForPrincipalPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAssignmentsForPrincipalPagesWithContext(ctx aws.Context, input *ListApplicationAssignmentsForPrincipalInput, fn func(*ListApplicationAssignmentsForPrincipalOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListApplicationAssignmentsForPrincipalInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListApplicationAssignmentsForPrincipalRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListApplicationAssignmentsForPrincipalOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListApplicationAuthenticationMethods = "ListApplicationAuthenticationMethods"
+
+// ListApplicationAuthenticationMethodsRequest generates a "aws/request.Request" representing the
+// client's request for the ListApplicationAuthenticationMethods operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListApplicationAuthenticationMethods for more information on using the ListApplicationAuthenticationMethods
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListApplicationAuthenticationMethodsRequest method.
+// req, resp := client.ListApplicationAuthenticationMethodsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAuthenticationMethods
+func (c *SSOAdmin) ListApplicationAuthenticationMethodsRequest(input *ListApplicationAuthenticationMethodsInput) (req *request.Request, output *ListApplicationAuthenticationMethodsOutput) {
+ op := &request.Operation{
+ Name: opListApplicationAuthenticationMethods,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListApplicationAuthenticationMethodsInput{}
+ }
+
+ output = &ListApplicationAuthenticationMethodsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListApplicationAuthenticationMethods API operation for AWS Single Sign-On Admin.
+//
+// Lists all of the authentication methods supported by the specified application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListApplicationAuthenticationMethods for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationAuthenticationMethods
+func (c *SSOAdmin) ListApplicationAuthenticationMethods(input *ListApplicationAuthenticationMethodsInput) (*ListApplicationAuthenticationMethodsOutput, error) {
+ req, out := c.ListApplicationAuthenticationMethodsRequest(input)
+ return out, req.Send()
+}
+
+// ListApplicationAuthenticationMethodsWithContext is the same as ListApplicationAuthenticationMethods with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListApplicationAuthenticationMethods for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAuthenticationMethodsWithContext(ctx aws.Context, input *ListApplicationAuthenticationMethodsInput, opts ...request.Option) (*ListApplicationAuthenticationMethodsOutput, error) {
+ req, out := c.ListApplicationAuthenticationMethodsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListApplicationAuthenticationMethodsPages iterates over the pages of a ListApplicationAuthenticationMethods operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApplicationAuthenticationMethods method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApplicationAuthenticationMethods operation.
+// pageNum := 0
+// err := client.ListApplicationAuthenticationMethodsPages(params,
+// func(page *ssoadmin.ListApplicationAuthenticationMethodsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListApplicationAuthenticationMethodsPages(input *ListApplicationAuthenticationMethodsInput, fn func(*ListApplicationAuthenticationMethodsOutput, bool) bool) error {
+ return c.ListApplicationAuthenticationMethodsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListApplicationAuthenticationMethodsPagesWithContext same as ListApplicationAuthenticationMethodsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationAuthenticationMethodsPagesWithContext(ctx aws.Context, input *ListApplicationAuthenticationMethodsInput, fn func(*ListApplicationAuthenticationMethodsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListApplicationAuthenticationMethodsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListApplicationAuthenticationMethodsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListApplicationAuthenticationMethodsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListApplicationGrants = "ListApplicationGrants"
+
+// ListApplicationGrantsRequest generates a "aws/request.Request" representing the
+// client's request for the ListApplicationGrants operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListApplicationGrants for more information on using the ListApplicationGrants
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListApplicationGrantsRequest method.
+// req, resp := client.ListApplicationGrantsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationGrants
+func (c *SSOAdmin) ListApplicationGrantsRequest(input *ListApplicationGrantsInput) (req *request.Request, output *ListApplicationGrantsOutput) {
+ op := &request.Operation{
+ Name: opListApplicationGrants,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListApplicationGrantsInput{}
+ }
+
+ output = &ListApplicationGrantsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListApplicationGrants API operation for AWS Single Sign-On Admin.
+//
+// List the grants associated with an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListApplicationGrants for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationGrants
+func (c *SSOAdmin) ListApplicationGrants(input *ListApplicationGrantsInput) (*ListApplicationGrantsOutput, error) {
+ req, out := c.ListApplicationGrantsRequest(input)
+ return out, req.Send()
+}
+
+// ListApplicationGrantsWithContext is the same as ListApplicationGrants with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListApplicationGrants for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationGrantsWithContext(ctx aws.Context, input *ListApplicationGrantsInput, opts ...request.Option) (*ListApplicationGrantsOutput, error) {
+ req, out := c.ListApplicationGrantsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListApplicationGrantsPages iterates over the pages of a ListApplicationGrants operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApplicationGrants method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApplicationGrants operation.
+// pageNum := 0
+// err := client.ListApplicationGrantsPages(params,
+// func(page *ssoadmin.ListApplicationGrantsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListApplicationGrantsPages(input *ListApplicationGrantsInput, fn func(*ListApplicationGrantsOutput, bool) bool) error {
+ return c.ListApplicationGrantsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListApplicationGrantsPagesWithContext same as ListApplicationGrantsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationGrantsPagesWithContext(ctx aws.Context, input *ListApplicationGrantsInput, fn func(*ListApplicationGrantsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListApplicationGrantsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListApplicationGrantsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListApplicationGrantsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListApplicationProviders = "ListApplicationProviders"
+
+// ListApplicationProvidersRequest generates a "aws/request.Request" representing the
+// client's request for the ListApplicationProviders operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListApplicationProviders for more information on using the ListApplicationProviders
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListApplicationProvidersRequest method.
+// req, resp := client.ListApplicationProvidersRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationProviders
+func (c *SSOAdmin) ListApplicationProvidersRequest(input *ListApplicationProvidersInput) (req *request.Request, output *ListApplicationProvidersOutput) {
+ op := &request.Operation{
+ Name: opListApplicationProviders,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListApplicationProvidersInput{}
+ }
+
+ output = &ListApplicationProvidersOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListApplicationProviders API operation for AWS Single Sign-On Admin.
+//
+// Lists the application providers configured in the IAM Identity Center identity
+// store.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListApplicationProviders for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplicationProviders
+func (c *SSOAdmin) ListApplicationProviders(input *ListApplicationProvidersInput) (*ListApplicationProvidersOutput, error) {
+ req, out := c.ListApplicationProvidersRequest(input)
+ return out, req.Send()
+}
+
+// ListApplicationProvidersWithContext is the same as ListApplicationProviders with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListApplicationProviders for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationProvidersWithContext(ctx aws.Context, input *ListApplicationProvidersInput, opts ...request.Option) (*ListApplicationProvidersOutput, error) {
+ req, out := c.ListApplicationProvidersRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListApplicationProvidersPages iterates over the pages of a ListApplicationProviders operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApplicationProviders method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApplicationProviders operation.
+// pageNum := 0
+// err := client.ListApplicationProvidersPages(params,
+// func(page *ssoadmin.ListApplicationProvidersOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListApplicationProvidersPages(input *ListApplicationProvidersInput, fn func(*ListApplicationProvidersOutput, bool) bool) error {
+ return c.ListApplicationProvidersPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListApplicationProvidersPagesWithContext same as ListApplicationProvidersPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationProvidersPagesWithContext(ctx aws.Context, input *ListApplicationProvidersInput, fn func(*ListApplicationProvidersOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListApplicationProvidersInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListApplicationProvidersRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListApplicationProvidersOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListApplications = "ListApplications"
+
+// ListApplicationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListApplications operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListApplications for more information on using the ListApplications
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListApplicationsRequest method.
+// req, resp := client.ListApplicationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplications
+func (c *SSOAdmin) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) {
+ op := &request.Operation{
+ Name: opListApplications,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListApplicationsInput{}
+ }
+
+ output = &ListApplicationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListApplications API operation for AWS Single Sign-On Admin.
+//
+// Lists all applications associated with the instance of IAM Identity Center.
+// When listing applications for an instance in the management account, member
+// accounts must use the applicationAccount parameter to filter the list to
+// only applications created from that account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListApplications for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListApplications
+func (c *SSOAdmin) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) {
+ req, out := c.ListApplicationsRequest(input)
+ return out, req.Send()
+}
+
+// ListApplicationsWithContext is the same as ListApplications with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListApplications for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationsWithContext(ctx aws.Context, input *ListApplicationsInput, opts ...request.Option) (*ListApplicationsOutput, error) {
+ req, out := c.ListApplicationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListApplicationsPages iterates over the pages of a ListApplications operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApplications method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApplications operation.
+// pageNum := 0
+// err := client.ListApplicationsPages(params,
+// func(page *ssoadmin.ListApplicationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error {
+ return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListApplicationsPagesWithContext same as ListApplicationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListApplicationsPagesWithContext(ctx aws.Context, input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListApplicationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListApplicationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListApplicationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListCustomerManagedPolicyReferencesInPermissionSet = "ListCustomerManagedPolicyReferencesInPermissionSet"
+
+// ListCustomerManagedPolicyReferencesInPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the ListCustomerManagedPolicyReferencesInPermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListCustomerManagedPolicyReferencesInPermissionSet for more information on using the ListCustomerManagedPolicyReferencesInPermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListCustomerManagedPolicyReferencesInPermissionSetRequest method.
+// req, resp := client.ListCustomerManagedPolicyReferencesInPermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet
+func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetRequest(input *ListCustomerManagedPolicyReferencesInPermissionSetInput) (req *request.Request, output *ListCustomerManagedPolicyReferencesInPermissionSetOutput) {
+ op := &request.Operation{
+ Name: opListCustomerManagedPolicyReferencesInPermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListCustomerManagedPolicyReferencesInPermissionSetInput{}
+ }
+
+ output = &ListCustomerManagedPolicyReferencesInPermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListCustomerManagedPolicyReferencesInPermissionSet API operation for AWS Single Sign-On Admin.
+//
+// Lists all customer managed policies attached to a specified PermissionSet.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListCustomerManagedPolicyReferencesInPermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListCustomerManagedPolicyReferencesInPermissionSet
+func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSet(input *ListCustomerManagedPolicyReferencesInPermissionSetInput) (*ListCustomerManagedPolicyReferencesInPermissionSetOutput, error) {
+ req, out := c.ListCustomerManagedPolicyReferencesInPermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// ListCustomerManagedPolicyReferencesInPermissionSetWithContext is the same as ListCustomerManagedPolicyReferencesInPermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListCustomerManagedPolicyReferencesInPermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetWithContext(ctx aws.Context, input *ListCustomerManagedPolicyReferencesInPermissionSetInput, opts ...request.Option) (*ListCustomerManagedPolicyReferencesInPermissionSetOutput, error) {
+ req, out := c.ListCustomerManagedPolicyReferencesInPermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListCustomerManagedPolicyReferencesInPermissionSetPages iterates over the pages of a ListCustomerManagedPolicyReferencesInPermissionSet operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListCustomerManagedPolicyReferencesInPermissionSet method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListCustomerManagedPolicyReferencesInPermissionSet operation.
+// pageNum := 0
+// err := client.ListCustomerManagedPolicyReferencesInPermissionSetPages(params,
+// func(page *ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetPages(input *ListCustomerManagedPolicyReferencesInPermissionSetInput, fn func(*ListCustomerManagedPolicyReferencesInPermissionSetOutput, bool) bool) error {
+ return c.ListCustomerManagedPolicyReferencesInPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListCustomerManagedPolicyReferencesInPermissionSetPagesWithContext same as ListCustomerManagedPolicyReferencesInPermissionSetPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListCustomerManagedPolicyReferencesInPermissionSetPagesWithContext(ctx aws.Context, input *ListCustomerManagedPolicyReferencesInPermissionSetInput, fn func(*ListCustomerManagedPolicyReferencesInPermissionSetOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListCustomerManagedPolicyReferencesInPermissionSetInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListCustomerManagedPolicyReferencesInPermissionSetRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListCustomerManagedPolicyReferencesInPermissionSetOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListInstances = "ListInstances"
+
+// ListInstancesRequest generates a "aws/request.Request" representing the
+// client's request for the ListInstances operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListInstances for more information on using the ListInstances
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListInstancesRequest method.
+// req, resp := client.ListInstancesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances
+func (c *SSOAdmin) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) {
+ op := &request.Operation{
+ Name: opListInstances,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListInstancesInput{}
+ }
+
+ output = &ListInstancesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListInstances API operation for AWS Single Sign-On Admin.
+//
+// Lists the details of the organization and account instances of IAM Identity
+// Center that were created in or visible to the account calling this API.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListInstances for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances
+func (c *SSOAdmin) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) {
+ req, out := c.ListInstancesRequest(input)
+ return out, req.Send()
+}
+
+// ListInstancesWithContext is the same as ListInstances with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListInstances for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListInstancesWithContext(ctx aws.Context, input *ListInstancesInput, opts ...request.Option) (*ListInstancesOutput, error) {
+ req, out := c.ListInstancesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListInstancesPages iterates over the pages of a ListInstances operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListInstances method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListInstances operation.
+// pageNum := 0
+// err := client.ListInstancesPages(params,
+// func(page *ssoadmin.ListInstancesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error {
+ return c.ListInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListInstancesPagesWithContext same as ListInstancesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListInstancesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListInstancesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListInstancesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListManagedPoliciesInPermissionSet = "ListManagedPoliciesInPermissionSet"
+
+// ListManagedPoliciesInPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the ListManagedPoliciesInPermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListManagedPoliciesInPermissionSet for more information on using the ListManagedPoliciesInPermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListManagedPoliciesInPermissionSetRequest method.
+// req, resp := client.ListManagedPoliciesInPermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet
+func (c *SSOAdmin) ListManagedPoliciesInPermissionSetRequest(input *ListManagedPoliciesInPermissionSetInput) (req *request.Request, output *ListManagedPoliciesInPermissionSetOutput) {
+ op := &request.Operation{
+ Name: opListManagedPoliciesInPermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListManagedPoliciesInPermissionSetInput{}
+ }
+
+ output = &ListManagedPoliciesInPermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListManagedPoliciesInPermissionSet API operation for AWS Single Sign-On Admin.
+//
+// Lists the Amazon Web Services managed policy that is attached to a specified
+// permission set.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListManagedPoliciesInPermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet
+func (c *SSOAdmin) ListManagedPoliciesInPermissionSet(input *ListManagedPoliciesInPermissionSetInput) (*ListManagedPoliciesInPermissionSetOutput, error) {
+ req, out := c.ListManagedPoliciesInPermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// ListManagedPoliciesInPermissionSetWithContext is the same as ListManagedPoliciesInPermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListManagedPoliciesInPermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListManagedPoliciesInPermissionSetWithContext(ctx aws.Context, input *ListManagedPoliciesInPermissionSetInput, opts ...request.Option) (*ListManagedPoliciesInPermissionSetOutput, error) {
+ req, out := c.ListManagedPoliciesInPermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListManagedPoliciesInPermissionSetPages iterates over the pages of a ListManagedPoliciesInPermissionSet operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListManagedPoliciesInPermissionSet method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListManagedPoliciesInPermissionSet operation.
+// pageNum := 0
+// err := client.ListManagedPoliciesInPermissionSetPages(params,
+// func(page *ssoadmin.ListManagedPoliciesInPermissionSetOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListManagedPoliciesInPermissionSetPages(input *ListManagedPoliciesInPermissionSetInput, fn func(*ListManagedPoliciesInPermissionSetOutput, bool) bool) error {
+ return c.ListManagedPoliciesInPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListManagedPoliciesInPermissionSetPagesWithContext same as ListManagedPoliciesInPermissionSetPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListManagedPoliciesInPermissionSetPagesWithContext(ctx aws.Context, input *ListManagedPoliciesInPermissionSetInput, fn func(*ListManagedPoliciesInPermissionSetOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListManagedPoliciesInPermissionSetInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListManagedPoliciesInPermissionSetRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListManagedPoliciesInPermissionSetOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListPermissionSetProvisioningStatus = "ListPermissionSetProvisioningStatus"
+
+// ListPermissionSetProvisioningStatusRequest generates a "aws/request.Request" representing the
+// client's request for the ListPermissionSetProvisioningStatus operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListPermissionSetProvisioningStatus for more information on using the ListPermissionSetProvisioningStatus
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListPermissionSetProvisioningStatusRequest method.
+// req, resp := client.ListPermissionSetProvisioningStatusRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus
+func (c *SSOAdmin) ListPermissionSetProvisioningStatusRequest(input *ListPermissionSetProvisioningStatusInput) (req *request.Request, output *ListPermissionSetProvisioningStatusOutput) {
+ op := &request.Operation{
+ Name: opListPermissionSetProvisioningStatus,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListPermissionSetProvisioningStatusInput{}
+ }
+
+ output = &ListPermissionSetProvisioningStatusOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListPermissionSetProvisioningStatus API operation for AWS Single Sign-On Admin.
+//
+// Lists the status of the permission set provisioning requests for a specified
+// IAM Identity Center instance.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListPermissionSetProvisioningStatus for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus
+func (c *SSOAdmin) ListPermissionSetProvisioningStatus(input *ListPermissionSetProvisioningStatusInput) (*ListPermissionSetProvisioningStatusOutput, error) {
+ req, out := c.ListPermissionSetProvisioningStatusRequest(input)
+ return out, req.Send()
+}
+
+// ListPermissionSetProvisioningStatusWithContext is the same as ListPermissionSetProvisioningStatus with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListPermissionSetProvisioningStatus for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListPermissionSetProvisioningStatusWithContext(ctx aws.Context, input *ListPermissionSetProvisioningStatusInput, opts ...request.Option) (*ListPermissionSetProvisioningStatusOutput, error) {
+ req, out := c.ListPermissionSetProvisioningStatusRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListPermissionSetProvisioningStatusPages iterates over the pages of a ListPermissionSetProvisioningStatus operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListPermissionSetProvisioningStatus method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListPermissionSetProvisioningStatus operation.
+// pageNum := 0
+// err := client.ListPermissionSetProvisioningStatusPages(params,
+// func(page *ssoadmin.ListPermissionSetProvisioningStatusOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListPermissionSetProvisioningStatusPages(input *ListPermissionSetProvisioningStatusInput, fn func(*ListPermissionSetProvisioningStatusOutput, bool) bool) error {
+ return c.ListPermissionSetProvisioningStatusPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListPermissionSetProvisioningStatusPagesWithContext same as ListPermissionSetProvisioningStatusPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListPermissionSetProvisioningStatusPagesWithContext(ctx aws.Context, input *ListPermissionSetProvisioningStatusInput, fn func(*ListPermissionSetProvisioningStatusOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListPermissionSetProvisioningStatusInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListPermissionSetProvisioningStatusRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListPermissionSetProvisioningStatusOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListPermissionSets = "ListPermissionSets"
+
+// ListPermissionSetsRequest generates a "aws/request.Request" representing the
+// client's request for the ListPermissionSets operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListPermissionSets for more information on using the ListPermissionSets
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListPermissionSetsRequest method.
+// req, resp := client.ListPermissionSetsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets
+func (c *SSOAdmin) ListPermissionSetsRequest(input *ListPermissionSetsInput) (req *request.Request, output *ListPermissionSetsOutput) {
+ op := &request.Operation{
+ Name: opListPermissionSets,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListPermissionSetsInput{}
+ }
+
+ output = &ListPermissionSetsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListPermissionSets API operation for AWS Single Sign-On Admin.
+//
+// Lists the PermissionSets in an IAM Identity Center instance.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListPermissionSets for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets
+func (c *SSOAdmin) ListPermissionSets(input *ListPermissionSetsInput) (*ListPermissionSetsOutput, error) {
+ req, out := c.ListPermissionSetsRequest(input)
+ return out, req.Send()
+}
+
+// ListPermissionSetsWithContext is the same as ListPermissionSets with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListPermissionSets for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListPermissionSetsWithContext(ctx aws.Context, input *ListPermissionSetsInput, opts ...request.Option) (*ListPermissionSetsOutput, error) {
+ req, out := c.ListPermissionSetsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListPermissionSetsPages iterates over the pages of a ListPermissionSets operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListPermissionSets method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListPermissionSets operation.
+// pageNum := 0
+// err := client.ListPermissionSetsPages(params,
+// func(page *ssoadmin.ListPermissionSetsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListPermissionSetsPages(input *ListPermissionSetsInput, fn func(*ListPermissionSetsOutput, bool) bool) error {
+ return c.ListPermissionSetsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListPermissionSetsPagesWithContext same as ListPermissionSetsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListPermissionSetsPagesWithContext(ctx aws.Context, input *ListPermissionSetsInput, fn func(*ListPermissionSetsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListPermissionSetsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListPermissionSetsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListPermissionSetsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListPermissionSetsProvisionedToAccount = "ListPermissionSetsProvisionedToAccount"
+
+// ListPermissionSetsProvisionedToAccountRequest generates a "aws/request.Request" representing the
+// client's request for the ListPermissionSetsProvisionedToAccount operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListPermissionSetsProvisionedToAccount for more information on using the ListPermissionSetsProvisionedToAccount
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListPermissionSetsProvisionedToAccountRequest method.
+// req, resp := client.ListPermissionSetsProvisionedToAccountRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount
+func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountRequest(input *ListPermissionSetsProvisionedToAccountInput) (req *request.Request, output *ListPermissionSetsProvisionedToAccountOutput) {
+ op := &request.Operation{
+ Name: opListPermissionSetsProvisionedToAccount,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListPermissionSetsProvisionedToAccountInput{}
+ }
+
+ output = &ListPermissionSetsProvisionedToAccountOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListPermissionSetsProvisionedToAccount API operation for AWS Single Sign-On Admin.
+//
+// Lists all the permission sets that are provisioned to a specified Amazon
+// Web Services account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListPermissionSetsProvisionedToAccount for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount
+func (c *SSOAdmin) ListPermissionSetsProvisionedToAccount(input *ListPermissionSetsProvisionedToAccountInput) (*ListPermissionSetsProvisionedToAccountOutput, error) {
+ req, out := c.ListPermissionSetsProvisionedToAccountRequest(input)
+ return out, req.Send()
+}
+
+// ListPermissionSetsProvisionedToAccountWithContext is the same as ListPermissionSetsProvisionedToAccount with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListPermissionSetsProvisionedToAccount for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountWithContext(ctx aws.Context, input *ListPermissionSetsProvisionedToAccountInput, opts ...request.Option) (*ListPermissionSetsProvisionedToAccountOutput, error) {
+ req, out := c.ListPermissionSetsProvisionedToAccountRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListPermissionSetsProvisionedToAccountPages iterates over the pages of a ListPermissionSetsProvisionedToAccount operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListPermissionSetsProvisionedToAccount method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListPermissionSetsProvisionedToAccount operation.
+// pageNum := 0
+// err := client.ListPermissionSetsProvisionedToAccountPages(params,
+// func(page *ssoadmin.ListPermissionSetsProvisionedToAccountOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountPages(input *ListPermissionSetsProvisionedToAccountInput, fn func(*ListPermissionSetsProvisionedToAccountOutput, bool) bool) error {
+ return c.ListPermissionSetsProvisionedToAccountPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListPermissionSetsProvisionedToAccountPagesWithContext same as ListPermissionSetsProvisionedToAccountPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountPagesWithContext(ctx aws.Context, input *ListPermissionSetsProvisionedToAccountInput, fn func(*ListPermissionSetsProvisionedToAccountOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListPermissionSetsProvisionedToAccountInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListPermissionSetsProvisionedToAccountRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListPermissionSetsProvisionedToAccountOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListTagsForResource = "ListTagsForResource"
+
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// client's request for the ListTagsForResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListTagsForResource for more information on using the ListTagsForResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListTagsForResourceRequest method.
+// req, resp := client.ListTagsForResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource
+func (c *SSOAdmin) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+ op := &request.Operation{
+ Name: opListTagsForResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListTagsForResourceInput{}
+ }
+
+ output = &ListTagsForResourceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTagsForResource API operation for AWS Single Sign-On Admin.
+//
+// Lists the tags that are attached to a specified resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListTagsForResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource
+func (c *SSOAdmin) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ return out, req.Send()
+}
+
+// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTagsForResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListTagsForResource method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListTagsForResource operation.
+// pageNum := 0
+// err := client.ListTagsForResourcePages(params,
+// func(page *ssoadmin.ListTagsForResourceOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error {
+ return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListTagsForResourceInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListTagsForResourceRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListTagsForResourceOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListTrustedTokenIssuers = "ListTrustedTokenIssuers"
+
+// ListTrustedTokenIssuersRequest generates a "aws/request.Request" representing the
+// client's request for the ListTrustedTokenIssuers operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListTrustedTokenIssuers for more information on using the ListTrustedTokenIssuers
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListTrustedTokenIssuersRequest method.
+// req, resp := client.ListTrustedTokenIssuersRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTrustedTokenIssuers
+func (c *SSOAdmin) ListTrustedTokenIssuersRequest(input *ListTrustedTokenIssuersInput) (req *request.Request, output *ListTrustedTokenIssuersOutput) {
+ op := &request.Operation{
+ Name: opListTrustedTokenIssuers,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"NextToken"},
+ OutputTokens: []string{"NextToken"},
+ LimitToken: "MaxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListTrustedTokenIssuersInput{}
+ }
+
+ output = &ListTrustedTokenIssuersOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTrustedTokenIssuers API operation for AWS Single Sign-On Admin.
+//
+// Lists all the trusted token issuers configured in an instance of IAM Identity
+// Center.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ListTrustedTokenIssuers for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTrustedTokenIssuers
+func (c *SSOAdmin) ListTrustedTokenIssuers(input *ListTrustedTokenIssuersInput) (*ListTrustedTokenIssuersOutput, error) {
+ req, out := c.ListTrustedTokenIssuersRequest(input)
+ return out, req.Send()
+}
+
+// ListTrustedTokenIssuersWithContext is the same as ListTrustedTokenIssuers with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTrustedTokenIssuers for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListTrustedTokenIssuersWithContext(ctx aws.Context, input *ListTrustedTokenIssuersInput, opts ...request.Option) (*ListTrustedTokenIssuersOutput, error) {
+ req, out := c.ListTrustedTokenIssuersRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListTrustedTokenIssuersPages iterates over the pages of a ListTrustedTokenIssuers operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListTrustedTokenIssuers method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListTrustedTokenIssuers operation.
+// pageNum := 0
+// err := client.ListTrustedTokenIssuersPages(params,
+// func(page *ssoadmin.ListTrustedTokenIssuersOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *SSOAdmin) ListTrustedTokenIssuersPages(input *ListTrustedTokenIssuersInput, fn func(*ListTrustedTokenIssuersOutput, bool) bool) error {
+ return c.ListTrustedTokenIssuersPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListTrustedTokenIssuersPagesWithContext same as ListTrustedTokenIssuersPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ListTrustedTokenIssuersPagesWithContext(ctx aws.Context, input *ListTrustedTokenIssuersInput, fn func(*ListTrustedTokenIssuersOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListTrustedTokenIssuersInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListTrustedTokenIssuersRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListTrustedTokenIssuersOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opProvisionPermissionSet = "ProvisionPermissionSet"
+
+// ProvisionPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the ProvisionPermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ProvisionPermissionSet for more information on using the ProvisionPermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ProvisionPermissionSetRequest method.
+// req, resp := client.ProvisionPermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet
+func (c *SSOAdmin) ProvisionPermissionSetRequest(input *ProvisionPermissionSetInput) (req *request.Request, output *ProvisionPermissionSetOutput) {
+ op := &request.Operation{
+ Name: opProvisionPermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ProvisionPermissionSetInput{}
+ }
+
+ output = &ProvisionPermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ProvisionPermissionSet API operation for AWS Single Sign-On Admin.
+//
+// The process by which a specified permission set is provisioned to the specified
+// target.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation ProvisionPermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet
+func (c *SSOAdmin) ProvisionPermissionSet(input *ProvisionPermissionSetInput) (*ProvisionPermissionSetOutput, error) {
+ req, out := c.ProvisionPermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// ProvisionPermissionSetWithContext is the same as ProvisionPermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ProvisionPermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) ProvisionPermissionSetWithContext(ctx aws.Context, input *ProvisionPermissionSetInput, opts ...request.Option) (*ProvisionPermissionSetOutput, error) {
+ req, out := c.ProvisionPermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutApplicationAccessScope = "PutApplicationAccessScope"
+
+// PutApplicationAccessScopeRequest generates a "aws/request.Request" representing the
+// client's request for the PutApplicationAccessScope operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutApplicationAccessScope for more information on using the PutApplicationAccessScope
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutApplicationAccessScopeRequest method.
+// req, resp := client.PutApplicationAccessScopeRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationAccessScope
+func (c *SSOAdmin) PutApplicationAccessScopeRequest(input *PutApplicationAccessScopeInput) (req *request.Request, output *PutApplicationAccessScopeOutput) {
+ op := &request.Operation{
+ Name: opPutApplicationAccessScope,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutApplicationAccessScopeInput{}
+ }
+
+ output = &PutApplicationAccessScopeOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// PutApplicationAccessScope API operation for AWS Single Sign-On Admin.
+//
+// Adds or updates the list of authorized targets for an IAM Identity Center
+// access scope for an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation PutApplicationAccessScope for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationAccessScope
+func (c *SSOAdmin) PutApplicationAccessScope(input *PutApplicationAccessScopeInput) (*PutApplicationAccessScopeOutput, error) {
+ req, out := c.PutApplicationAccessScopeRequest(input)
+ return out, req.Send()
+}
+
+// PutApplicationAccessScopeWithContext is the same as PutApplicationAccessScope with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutApplicationAccessScope for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) PutApplicationAccessScopeWithContext(ctx aws.Context, input *PutApplicationAccessScopeInput, opts ...request.Option) (*PutApplicationAccessScopeOutput, error) {
+ req, out := c.PutApplicationAccessScopeRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutApplicationAssignmentConfiguration = "PutApplicationAssignmentConfiguration"
+
+// PutApplicationAssignmentConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the PutApplicationAssignmentConfiguration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutApplicationAssignmentConfiguration for more information on using the PutApplicationAssignmentConfiguration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutApplicationAssignmentConfigurationRequest method.
+// req, resp := client.PutApplicationAssignmentConfigurationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationAssignmentConfiguration
+func (c *SSOAdmin) PutApplicationAssignmentConfigurationRequest(input *PutApplicationAssignmentConfigurationInput) (req *request.Request, output *PutApplicationAssignmentConfigurationOutput) {
+ op := &request.Operation{
+ Name: opPutApplicationAssignmentConfiguration,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutApplicationAssignmentConfigurationInput{}
+ }
+
+ output = &PutApplicationAssignmentConfigurationOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// PutApplicationAssignmentConfiguration API operation for AWS Single Sign-On Admin.
+//
+// Configure how users gain access to an application. If AssignmentsRequired
+// is true (default value), users don’t have access to the application unless
+// an assignment is created using the CreateApplicationAssignment API (https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplicationAssignment.html).
+// If false, all users have access to the application. If an assignment is created
+// using CreateApplicationAssignment (https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplicationAssignment.html).,
+// the user retains access if AssignmentsRequired is set to true.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation PutApplicationAssignmentConfiguration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationAssignmentConfiguration
+func (c *SSOAdmin) PutApplicationAssignmentConfiguration(input *PutApplicationAssignmentConfigurationInput) (*PutApplicationAssignmentConfigurationOutput, error) {
+ req, out := c.PutApplicationAssignmentConfigurationRequest(input)
+ return out, req.Send()
+}
+
+// PutApplicationAssignmentConfigurationWithContext is the same as PutApplicationAssignmentConfiguration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutApplicationAssignmentConfiguration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) PutApplicationAssignmentConfigurationWithContext(ctx aws.Context, input *PutApplicationAssignmentConfigurationInput, opts ...request.Option) (*PutApplicationAssignmentConfigurationOutput, error) {
+ req, out := c.PutApplicationAssignmentConfigurationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutApplicationAuthenticationMethod = "PutApplicationAuthenticationMethod"
+
+// PutApplicationAuthenticationMethodRequest generates a "aws/request.Request" representing the
+// client's request for the PutApplicationAuthenticationMethod operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutApplicationAuthenticationMethod for more information on using the PutApplicationAuthenticationMethod
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutApplicationAuthenticationMethodRequest method.
+// req, resp := client.PutApplicationAuthenticationMethodRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationAuthenticationMethod
+func (c *SSOAdmin) PutApplicationAuthenticationMethodRequest(input *PutApplicationAuthenticationMethodInput) (req *request.Request, output *PutApplicationAuthenticationMethodOutput) {
+ op := &request.Operation{
+ Name: opPutApplicationAuthenticationMethod,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutApplicationAuthenticationMethodInput{}
+ }
+
+ output = &PutApplicationAuthenticationMethodOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// PutApplicationAuthenticationMethod API operation for AWS Single Sign-On Admin.
+//
+// Adds or updates an authentication method for an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation PutApplicationAuthenticationMethod for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationAuthenticationMethod
+func (c *SSOAdmin) PutApplicationAuthenticationMethod(input *PutApplicationAuthenticationMethodInput) (*PutApplicationAuthenticationMethodOutput, error) {
+ req, out := c.PutApplicationAuthenticationMethodRequest(input)
+ return out, req.Send()
+}
+
+// PutApplicationAuthenticationMethodWithContext is the same as PutApplicationAuthenticationMethod with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutApplicationAuthenticationMethod for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) PutApplicationAuthenticationMethodWithContext(ctx aws.Context, input *PutApplicationAuthenticationMethodInput, opts ...request.Option) (*PutApplicationAuthenticationMethodOutput, error) {
+ req, out := c.PutApplicationAuthenticationMethodRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutApplicationGrant = "PutApplicationGrant"
+
+// PutApplicationGrantRequest generates a "aws/request.Request" representing the
+// client's request for the PutApplicationGrant operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutApplicationGrant for more information on using the PutApplicationGrant
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutApplicationGrantRequest method.
+// req, resp := client.PutApplicationGrantRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationGrant
+func (c *SSOAdmin) PutApplicationGrantRequest(input *PutApplicationGrantInput) (req *request.Request, output *PutApplicationGrantOutput) {
+ op := &request.Operation{
+ Name: opPutApplicationGrant,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutApplicationGrantInput{}
+ }
+
+ output = &PutApplicationGrantOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// PutApplicationGrant API operation for AWS Single Sign-On Admin.
+//
+// Adds a grant to an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation PutApplicationGrant for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutApplicationGrant
+func (c *SSOAdmin) PutApplicationGrant(input *PutApplicationGrantInput) (*PutApplicationGrantOutput, error) {
+ req, out := c.PutApplicationGrantRequest(input)
+ return out, req.Send()
+}
+
+// PutApplicationGrantWithContext is the same as PutApplicationGrant with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutApplicationGrant for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) PutApplicationGrantWithContext(ctx aws.Context, input *PutApplicationGrantInput, opts ...request.Option) (*PutApplicationGrantOutput, error) {
+ req, out := c.PutApplicationGrantRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutInlinePolicyToPermissionSet = "PutInlinePolicyToPermissionSet"
+
+// PutInlinePolicyToPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the PutInlinePolicyToPermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutInlinePolicyToPermissionSet for more information on using the PutInlinePolicyToPermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutInlinePolicyToPermissionSetRequest method.
+// req, resp := client.PutInlinePolicyToPermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet
+func (c *SSOAdmin) PutInlinePolicyToPermissionSetRequest(input *PutInlinePolicyToPermissionSetInput) (req *request.Request, output *PutInlinePolicyToPermissionSetOutput) {
+ op := &request.Operation{
+ Name: opPutInlinePolicyToPermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutInlinePolicyToPermissionSetInput{}
+ }
+
+ output = &PutInlinePolicyToPermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// PutInlinePolicyToPermissionSet API operation for AWS Single Sign-On Admin.
+//
+// Attaches an inline policy to a permission set.
+//
+// If the permission set is already referenced by one or more account assignments,
+// you will need to call ProvisionPermissionSet after this action to apply the
+// corresponding IAM policy updates to all assigned accounts.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation PutInlinePolicyToPermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// Indicates that the principal has crossed the permitted number of resources
+// that can be created.
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet
+func (c *SSOAdmin) PutInlinePolicyToPermissionSet(input *PutInlinePolicyToPermissionSetInput) (*PutInlinePolicyToPermissionSetOutput, error) {
+ req, out := c.PutInlinePolicyToPermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// PutInlinePolicyToPermissionSetWithContext is the same as PutInlinePolicyToPermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutInlinePolicyToPermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) PutInlinePolicyToPermissionSetWithContext(ctx aws.Context, input *PutInlinePolicyToPermissionSetInput, opts ...request.Option) (*PutInlinePolicyToPermissionSetOutput, error) {
+ req, out := c.PutInlinePolicyToPermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutPermissionsBoundaryToPermissionSet = "PutPermissionsBoundaryToPermissionSet"
+
+// PutPermissionsBoundaryToPermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the PutPermissionsBoundaryToPermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutPermissionsBoundaryToPermissionSet for more information on using the PutPermissionsBoundaryToPermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutPermissionsBoundaryToPermissionSetRequest method.
+// req, resp := client.PutPermissionsBoundaryToPermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet
+func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSetRequest(input *PutPermissionsBoundaryToPermissionSetInput) (req *request.Request, output *PutPermissionsBoundaryToPermissionSetOutput) {
+ op := &request.Operation{
+ Name: opPutPermissionsBoundaryToPermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutPermissionsBoundaryToPermissionSetInput{}
+ }
+
+ output = &PutPermissionsBoundaryToPermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// PutPermissionsBoundaryToPermissionSet API operation for AWS Single Sign-On Admin.
+//
+// Attaches an Amazon Web Services managed or customer managed policy to the
+// specified PermissionSet as a permissions boundary.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation PutPermissionsBoundaryToPermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutPermissionsBoundaryToPermissionSet
+func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSet(input *PutPermissionsBoundaryToPermissionSetInput) (*PutPermissionsBoundaryToPermissionSetOutput, error) {
+ req, out := c.PutPermissionsBoundaryToPermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// PutPermissionsBoundaryToPermissionSetWithContext is the same as PutPermissionsBoundaryToPermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutPermissionsBoundaryToPermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) PutPermissionsBoundaryToPermissionSetWithContext(ctx aws.Context, input *PutPermissionsBoundaryToPermissionSetInput, opts ...request.Option) (*PutPermissionsBoundaryToPermissionSetOutput, error) {
+ req, out := c.PutPermissionsBoundaryToPermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opTagResource = "TagResource"
+
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See TagResource for more information on using the TagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource
+func (c *SSOAdmin) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+ op := &request.Operation{
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ output = &TagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// TagResource API operation for AWS Single Sign-On Admin.
+//
+// Associates a set of tags with a specified resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ServiceQuotaExceededException
+// Indicates that the principal has crossed the permitted number of resources
+// that can be created.
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource
+func (c *SSOAdmin) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ return out, req.Send()
+}
+
+// TagResourceWithContext is the same as TagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UntagResource for more information on using the UntagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource
+func (c *SSOAdmin) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ output = &UntagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UntagResource API operation for AWS Single Sign-On Admin.
+//
+// Disassociates a set of tags from a specified resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource
+func (c *SSOAdmin) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ return out, req.Send()
+}
+
+// UntagResourceWithContext is the same as UntagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UntagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateApplication = "UpdateApplication"
+
+// UpdateApplicationRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateApplication operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateApplication for more information on using the UpdateApplication
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateApplicationRequest method.
+// req, resp := client.UpdateApplicationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateApplication
+func (c *SSOAdmin) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) {
+ op := &request.Operation{
+ Name: opUpdateApplication,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateApplicationInput{}
+ }
+
+ output = &UpdateApplicationOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdateApplication API operation for AWS Single Sign-On Admin.
+//
+// Updates application properties.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation UpdateApplication for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateApplication
+func (c *SSOAdmin) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) {
+ req, out := c.UpdateApplicationRequest(input)
+ return out, req.Send()
+}
+
+// UpdateApplicationWithContext is the same as UpdateApplication with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateApplication for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error) {
+ req, out := c.UpdateApplicationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateInstance = "UpdateInstance"
+
+// UpdateInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateInstance for more information on using the UpdateInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateInstanceRequest method.
+// req, resp := client.UpdateInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstance
+func (c *SSOAdmin) UpdateInstanceRequest(input *UpdateInstanceInput) (req *request.Request, output *UpdateInstanceOutput) {
+ op := &request.Operation{
+ Name: opUpdateInstance,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateInstanceInput{}
+ }
+
+ output = &UpdateInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdateInstance API operation for AWS Single Sign-On Admin.
+//
+// Update the details for the instance of IAM Identity Center that is owned
+// by the Amazon Web Services account.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation UpdateInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstance
+func (c *SSOAdmin) UpdateInstance(input *UpdateInstanceInput) (*UpdateInstanceOutput, error) {
+ req, out := c.UpdateInstanceRequest(input)
+ return out, req.Send()
+}
+
+// UpdateInstanceWithContext is the same as UpdateInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) UpdateInstanceWithContext(ctx aws.Context, input *UpdateInstanceInput, opts ...request.Option) (*UpdateInstanceOutput, error) {
+ req, out := c.UpdateInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateInstanceAccessControlAttributeConfiguration = "UpdateInstanceAccessControlAttributeConfiguration"
+
+// UpdateInstanceAccessControlAttributeConfigurationRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateInstanceAccessControlAttributeConfiguration operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateInstanceAccessControlAttributeConfiguration for more information on using the UpdateInstanceAccessControlAttributeConfiguration
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateInstanceAccessControlAttributeConfigurationRequest method.
+// req, resp := client.UpdateInstanceAccessControlAttributeConfigurationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationRequest(input *UpdateInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *UpdateInstanceAccessControlAttributeConfigurationOutput) {
+ op := &request.Operation{
+ Name: opUpdateInstanceAccessControlAttributeConfiguration,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateInstanceAccessControlAttributeConfigurationInput{}
+ }
+
+ output = &UpdateInstanceAccessControlAttributeConfigurationOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdateInstanceAccessControlAttributeConfiguration API operation for AWS Single Sign-On Admin.
+//
+// Updates the IAM Identity Center identity store attributes that you can use
+// with the IAM Identity Center instance for attributes-based access control
+// (ABAC). When using an external identity provider as an identity source, you
+// can pass attributes through the SAML assertion as an alternative to configuring
+// attributes from the IAM Identity Center identity store. If a SAML assertion
+// passes any of these attributes, IAM Identity Center replaces the attribute
+// value with the value from the IAM Identity Center identity store. For more
+// information about ABAC, see Attribute-Based Access Control (/singlesignon/latest/userguide/abac.html)
+// in the IAM Identity Center User Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation UpdateInstanceAccessControlAttributeConfiguration for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration
+func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfiguration(input *UpdateInstanceAccessControlAttributeConfigurationInput) (*UpdateInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.UpdateInstanceAccessControlAttributeConfigurationRequest(input)
+ return out, req.Send()
+}
+
+// UpdateInstanceAccessControlAttributeConfigurationWithContext is the same as UpdateInstanceAccessControlAttributeConfiguration with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateInstanceAccessControlAttributeConfiguration for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationWithContext(ctx aws.Context, input *UpdateInstanceAccessControlAttributeConfigurationInput, opts ...request.Option) (*UpdateInstanceAccessControlAttributeConfigurationOutput, error) {
+ req, out := c.UpdateInstanceAccessControlAttributeConfigurationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdatePermissionSet = "UpdatePermissionSet"
+
+// UpdatePermissionSetRequest generates a "aws/request.Request" representing the
+// client's request for the UpdatePermissionSet operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdatePermissionSet for more information on using the UpdatePermissionSet
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdatePermissionSetRequest method.
+// req, resp := client.UpdatePermissionSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet
+func (c *SSOAdmin) UpdatePermissionSetRequest(input *UpdatePermissionSetInput) (req *request.Request, output *UpdatePermissionSetOutput) {
+ op := &request.Operation{
+ Name: opUpdatePermissionSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdatePermissionSetInput{}
+ }
+
+ output = &UpdatePermissionSetOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdatePermissionSet API operation for AWS Single Sign-On Admin.
+//
+// Updates an existing permission set.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation UpdatePermissionSet for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet
+func (c *SSOAdmin) UpdatePermissionSet(input *UpdatePermissionSetInput) (*UpdatePermissionSetOutput, error) {
+ req, out := c.UpdatePermissionSetRequest(input)
+ return out, req.Send()
+}
+
+// UpdatePermissionSetWithContext is the same as UpdatePermissionSet with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdatePermissionSet for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) UpdatePermissionSetWithContext(ctx aws.Context, input *UpdatePermissionSetInput, opts ...request.Option) (*UpdatePermissionSetOutput, error) {
+ req, out := c.UpdatePermissionSetRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateTrustedTokenIssuer = "UpdateTrustedTokenIssuer"
+
+// UpdateTrustedTokenIssuerRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateTrustedTokenIssuer operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateTrustedTokenIssuer for more information on using the UpdateTrustedTokenIssuer
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateTrustedTokenIssuerRequest method.
+// req, resp := client.UpdateTrustedTokenIssuerRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateTrustedTokenIssuer
+func (c *SSOAdmin) UpdateTrustedTokenIssuerRequest(input *UpdateTrustedTokenIssuerInput) (req *request.Request, output *UpdateTrustedTokenIssuerOutput) {
+ op := &request.Operation{
+ Name: opUpdateTrustedTokenIssuer,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateTrustedTokenIssuerInput{}
+ }
+
+ output = &UpdateTrustedTokenIssuerOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdateTrustedTokenIssuer API operation for AWS Single Sign-On Admin.
+//
+// Updates the name of the trusted token issuer, or the path of a source attribute
+// or destination attribute for a trusted token issuer configuration.
+//
+// Updating this trusted token issuer configuration might cause users to lose
+// access to any applications that are configured to use the trusted token issuer.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Single Sign-On Admin's
+// API operation UpdateTrustedTokenIssuer for usage and error information.
+//
+// Returned Error Types:
+//
+// - ThrottlingException
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+//
+// - InternalServerException
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+//
+// - ResourceNotFoundException
+// Indicates that a requested resource is not found.
+//
+// - AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// - ValidationException
+// The request failed because it contains a syntax error.
+//
+// - ConflictException
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateTrustedTokenIssuer
+func (c *SSOAdmin) UpdateTrustedTokenIssuer(input *UpdateTrustedTokenIssuerInput) (*UpdateTrustedTokenIssuerOutput, error) {
+ req, out := c.UpdateTrustedTokenIssuerRequest(input)
+ return out, req.Send()
+}
+
+// UpdateTrustedTokenIssuerWithContext is the same as UpdateTrustedTokenIssuer with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateTrustedTokenIssuer for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSOAdmin) UpdateTrustedTokenIssuerWithContext(ctx aws.Context, input *UpdateTrustedTokenIssuerInput, opts ...request.Option) (*UpdateTrustedTokenIssuerOutput, error) {
+ req, out := c.UpdateTrustedTokenIssuerRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// These are IAM Identity Center identity store attributes that you can configure
+// for use in attributes-based access control (ABAC). You can create permissions
+// policies that determine who can access your Amazon Web Services resources
+// based upon the configured attribute values. When you enable ABAC and specify
+// AccessControlAttributes, IAM Identity Center passes the attribute values
+// of the authenticated user into IAM for use in policy evaluation.
+type AccessControlAttribute struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the attribute associated with your identities in your identity
+ // source. This is used to map a specified attribute in your identity source
+ // with an attribute in IAM Identity Center.
+ //
+ // Key is a required field
+ Key *string `min:"1" type:"string" required:"true"`
+
+ // The value used for mapping a specified attribute to an identity source.
+ //
+ // Value is a required field
+ Value *AccessControlAttributeValue `type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessControlAttribute) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessControlAttribute) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AccessControlAttribute) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AccessControlAttribute"}
+ if s.Key == nil {
+ invalidParams.Add(request.NewErrParamRequired("Key"))
+ }
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
+ }
+ if s.Value == nil {
+ invalidParams.Add(request.NewErrParamRequired("Value"))
+ }
+ if s.Value != nil {
+ if err := s.Value.Validate(); err != nil {
+ invalidParams.AddNested("Value", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetKey sets the Key field's value.
+func (s *AccessControlAttribute) SetKey(v string) *AccessControlAttribute {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AccessControlAttribute) SetValue(v *AccessControlAttributeValue) *AccessControlAttribute {
+ s.Value = v
+ return s
+}
+
+// The value used for mapping a specified attribute to an identity source. For
+// more information, see Attribute mappings (https://docs.aws.amazon.com/singlesignon/latest/userguide/attributemappingsconcept.html)
+// in the IAM Identity Center User Guide.
+type AccessControlAttributeValue struct {
+ _ struct{} `type:"structure"`
+
+ // The identity source to use when mapping a specified attribute to IAM Identity
+ // Center.
+ //
+ // Source is a required field
+ Source []*string `min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessControlAttributeValue) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessControlAttributeValue) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AccessControlAttributeValue) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AccessControlAttributeValue"}
+ if s.Source == nil {
+ invalidParams.Add(request.NewErrParamRequired("Source"))
+ }
+ if s.Source != nil && len(s.Source) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Source", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetSource sets the Source field's value.
+func (s *AccessControlAttributeValue) SetSource(v []*string) *AccessControlAttributeValue {
+ s.Source = v
+ return s
+}
+
+// You do not have sufficient access to perform this action.
+type AccessDeniedException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"Message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) GoString() string {
+ return s.String()
+}
+
+func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
+ return &AccessDeniedException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *AccessDeniedException) Code() string {
+ return "AccessDeniedException"
+}
+
+// Message returns the exception's message.
+func (s *AccessDeniedException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *AccessDeniedException) OrigErr() error {
+ return nil
+}
+
+func (s *AccessDeniedException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *AccessDeniedException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *AccessDeniedException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// The assignment that indicates a principal's limited access to a specified
+// Amazon Web Services account with a specified permission set.
+//
+// The term principal here refers to a user or group that is defined in IAM
+// Identity Center.
+type AccountAssignment struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the Amazon Web Services account.
+ AccountId *string `min:"12" type:"string"`
+
+ // The ARN of the permission set. For more information about ARNs, see Amazon
+ // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ PermissionSetArn *string `min:"10" type:"string"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ PrincipalId *string `min:"1" type:"string"`
+
+ // The entity type for which the assignment will be created.
+ PrincipalType *string `type:"string" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignment) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignment) GoString() string {
+ return s.String()
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *AccountAssignment) SetAccountId(v string) *AccountAssignment {
+ s.AccountId = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *AccountAssignment) SetPermissionSetArn(v string) *AccountAssignment {
+ s.PermissionSetArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *AccountAssignment) SetPrincipalId(v string) *AccountAssignment {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *AccountAssignment) SetPrincipalType(v string) *AccountAssignment {
+ s.PrincipalType = &v
+ return s
+}
+
+// A structure that describes an assignment of an Amazon Web Services account
+// to a principal and the permissions that principal has in the account.
+type AccountAssignmentForPrincipal struct {
+ _ struct{} `type:"structure"`
+
+ // The account ID number of the Amazon Web Services account.
+ AccountId *string `min:"12" type:"string"`
+
+ // The ARN of the IAM Identity Center permission set assigned to this principal
+ // for this Amazon Web Services account.
+ PermissionSetArn *string `min:"10" type:"string"`
+
+ // The ID of the principal.
+ PrincipalId *string `min:"1" type:"string"`
+
+ // The type of the principal.
+ PrincipalType *string `type:"string" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignmentForPrincipal) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignmentForPrincipal) GoString() string {
+ return s.String()
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *AccountAssignmentForPrincipal) SetAccountId(v string) *AccountAssignmentForPrincipal {
+ s.AccountId = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *AccountAssignmentForPrincipal) SetPermissionSetArn(v string) *AccountAssignmentForPrincipal {
+ s.PermissionSetArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *AccountAssignmentForPrincipal) SetPrincipalId(v string) *AccountAssignmentForPrincipal {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *AccountAssignmentForPrincipal) SetPrincipalType(v string) *AccountAssignmentForPrincipal {
+ s.PrincipalType = &v
+ return s
+}
+
+// The status of the creation or deletion operation of an assignment that a
+// principal needs to access an account.
+type AccountAssignmentOperationStatus struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the permission set was created.
+ CreatedDate *time.Time `type:"timestamp"`
+
+ // The message that contains an error or exception in case of an operation failure.
+ FailureReason *string `type:"string"`
+
+ // The ARN of the permission set. For more information about ARNs, see Amazon
+ // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ PermissionSetArn *string `min:"10" type:"string"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ PrincipalId *string `min:"1" type:"string"`
+
+ // The entity type for which the assignment will be created.
+ PrincipalType *string `type:"string" enum:"PrincipalType"`
+
+ // The identifier for tracking the request operation that is generated by the
+ // universally unique identifier (UUID) workflow.
+ RequestId *string `min:"36" type:"string"`
+
+ // The status of the permission set provisioning process.
+ Status *string `type:"string" enum:"StatusValues"`
+
+ // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
+ TargetId *string `min:"12" type:"string"`
+
+ // The entity type for which the assignment will be created.
+ TargetType *string `type:"string" enum:"TargetType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignmentOperationStatus) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignmentOperationStatus) GoString() string {
+ return s.String()
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *AccountAssignmentOperationStatus) SetCreatedDate(v time.Time) *AccountAssignmentOperationStatus {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetFailureReason sets the FailureReason field's value.
+func (s *AccountAssignmentOperationStatus) SetFailureReason(v string) *AccountAssignmentOperationStatus {
+ s.FailureReason = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *AccountAssignmentOperationStatus) SetPermissionSetArn(v string) *AccountAssignmentOperationStatus {
+ s.PermissionSetArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *AccountAssignmentOperationStatus) SetPrincipalId(v string) *AccountAssignmentOperationStatus {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *AccountAssignmentOperationStatus) SetPrincipalType(v string) *AccountAssignmentOperationStatus {
+ s.PrincipalType = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *AccountAssignmentOperationStatus) SetRequestId(v string) *AccountAssignmentOperationStatus {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AccountAssignmentOperationStatus) SetStatus(v string) *AccountAssignmentOperationStatus {
+ s.Status = &v
+ return s
+}
+
+// SetTargetId sets the TargetId field's value.
+func (s *AccountAssignmentOperationStatus) SetTargetId(v string) *AccountAssignmentOperationStatus {
+ s.TargetId = &v
+ return s
+}
+
+// SetTargetType sets the TargetType field's value.
+func (s *AccountAssignmentOperationStatus) SetTargetType(v string) *AccountAssignmentOperationStatus {
+ s.TargetType = &v
+ return s
+}
+
+// Provides information about the AccountAssignment creation request.
+type AccountAssignmentOperationStatusMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the permission set was created.
+ CreatedDate *time.Time `type:"timestamp"`
+
+ // The identifier for tracking the request operation that is generated by the
+ // universally unique identifier (UUID) workflow.
+ RequestId *string `min:"36" type:"string"`
+
+ // The status of the permission set provisioning process.
+ Status *string `type:"string" enum:"StatusValues"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignmentOperationStatusMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccountAssignmentOperationStatusMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *AccountAssignmentOperationStatusMetadata) SetCreatedDate(v time.Time) *AccountAssignmentOperationStatusMetadata {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *AccountAssignmentOperationStatusMetadata) SetRequestId(v string) *AccountAssignmentOperationStatusMetadata {
+ s.RequestId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AccountAssignmentOperationStatusMetadata) SetStatus(v string) *AccountAssignmentOperationStatusMetadata {
+ s.Status = &v
+ return s
+}
+
+// A structure that describes an application that uses IAM Identity Center for
+// access management.
+type Application struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Web Services account ID number of the application.
+ ApplicationAccount *string `min:"12" type:"string"`
+
+ // The ARN of the application.
+ ApplicationArn *string `min:"10" type:"string"`
+
+ // The ARN of the application provider for this application.
+ ApplicationProviderArn *string `min:"10" type:"string"`
+
+ // The date and time when the application was originally created.
+ CreatedDate *time.Time `type:"timestamp"`
+
+ // The description of the application.
+ Description *string `min:"1" type:"string"`
+
+ // The ARN of the instance of IAM Identity Center that is configured with this
+ // application.
+ InstanceArn *string `min:"10" type:"string"`
+
+ // The name of the application.
+ Name *string `type:"string"`
+
+ // A structure that describes the options for the access portal associated with
+ // this application.
+ PortalOptions *PortalOptions `type:"structure"`
+
+ // The current status of the application in this instance of IAM Identity Center.
+ Status *string `type:"string" enum:"ApplicationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Application) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Application) GoString() string {
+ return s.String()
+}
+
+// SetApplicationAccount sets the ApplicationAccount field's value.
+func (s *Application) SetApplicationAccount(v string) *Application {
+ s.ApplicationAccount = &v
+ return s
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *Application) SetApplicationArn(v string) *Application {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetApplicationProviderArn sets the ApplicationProviderArn field's value.
+func (s *Application) SetApplicationProviderArn(v string) *Application {
+ s.ApplicationProviderArn = &v
+ return s
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *Application) SetCreatedDate(v time.Time) *Application {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Application) SetDescription(v string) *Application {
+ s.Description = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *Application) SetInstanceArn(v string) *Application {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Application) SetName(v string) *Application {
+ s.Name = &v
+ return s
+}
+
+// SetPortalOptions sets the PortalOptions field's value.
+func (s *Application) SetPortalOptions(v *PortalOptions) *Application {
+ s.PortalOptions = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Application) SetStatus(v string) *Application {
+ s.Status = &v
+ return s
+}
+
+// A structure that describes an assignment of a principal to an application.
+type ApplicationAssignment struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the application that has principals assigned.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // The unique identifier of the principal assigned to the application.
+ //
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // The type of the principal assigned to the application.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ApplicationAssignment) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ApplicationAssignment) GoString() string {
+ return s.String()
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *ApplicationAssignment) SetApplicationArn(v string) *ApplicationAssignment {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *ApplicationAssignment) SetPrincipalId(v string) *ApplicationAssignment {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *ApplicationAssignment) SetPrincipalType(v string) *ApplicationAssignment {
+ s.PrincipalType = &v
+ return s
+}
+
+// A structure that describes an application to which a principal is assigned.
+type ApplicationAssignmentForPrincipal struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the application to which the specified principal is assigned.
+ ApplicationArn *string `min:"10" type:"string"`
+
+ // The unique identifier of the principal assigned to the application.
+ PrincipalId *string `min:"1" type:"string"`
+
+ // The type of the principal assigned to the application.
+ PrincipalType *string `type:"string" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ApplicationAssignmentForPrincipal) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ApplicationAssignmentForPrincipal) GoString() string {
+ return s.String()
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *ApplicationAssignmentForPrincipal) SetApplicationArn(v string) *ApplicationAssignmentForPrincipal {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *ApplicationAssignmentForPrincipal) SetPrincipalId(v string) *ApplicationAssignmentForPrincipal {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *ApplicationAssignmentForPrincipal) SetPrincipalType(v string) *ApplicationAssignmentForPrincipal {
+ s.PrincipalType = &v
+ return s
+}
+
+// A structure that describes a provider that can be used to connect an Amazon
+// Web Services managed application or customer managed application to IAM Identity
+// Center.
+type ApplicationProvider struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the application provider.
+ //
+ // ApplicationProviderArn is a required field
+ ApplicationProviderArn *string `min:"10" type:"string" required:"true"`
+
+ // A structure that describes how IAM Identity Center represents the application
+ // provider in the portal.
+ DisplayData *DisplayData `type:"structure"`
+
+ // The protocol that the application provider uses to perform federation.
+ FederationProtocol *string `type:"string" enum:"FederationProtocol"`
+
+ // A structure that describes the application provider's resource server.
+ ResourceServerConfig *ResourceServerConfig `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ApplicationProvider) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ApplicationProvider) GoString() string {
+ return s.String()
+}
+
+// SetApplicationProviderArn sets the ApplicationProviderArn field's value.
+func (s *ApplicationProvider) SetApplicationProviderArn(v string) *ApplicationProvider {
+ s.ApplicationProviderArn = &v
+ return s
+}
+
+// SetDisplayData sets the DisplayData field's value.
+func (s *ApplicationProvider) SetDisplayData(v *DisplayData) *ApplicationProvider {
+ s.DisplayData = v
+ return s
+}
+
+// SetFederationProtocol sets the FederationProtocol field's value.
+func (s *ApplicationProvider) SetFederationProtocol(v string) *ApplicationProvider {
+ s.FederationProtocol = &v
+ return s
+}
+
+// SetResourceServerConfig sets the ResourceServerConfig field's value.
+func (s *ApplicationProvider) SetResourceServerConfig(v *ResourceServerConfig) *ApplicationProvider {
+ s.ResourceServerConfig = v
+ return s
+}
+
+type AttachCustomerManagedPolicyReferenceToPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the name and path of a customer managed policy. You must have an
+ // IAM policy that matches the name and path in each Amazon Web Services account
+ // where you want to deploy your permission set.
+ //
+ // CustomerManagedPolicyReference is a required field
+ CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure" required:"true"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the PermissionSet.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachCustomerManagedPolicyReferenceToPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachCustomerManagedPolicyReferenceToPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AttachCustomerManagedPolicyReferenceToPermissionSetInput"}
+ if s.CustomerManagedPolicyReference == nil {
+ invalidParams.Add(request.NewErrParamRequired("CustomerManagedPolicyReference"))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+ if s.CustomerManagedPolicyReference != nil {
+ if err := s.CustomerManagedPolicyReference.Validate(); err != nil {
+ invalidParams.AddNested("CustomerManagedPolicyReference", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCustomerManagedPolicyReference sets the CustomerManagedPolicyReference field's value.
+func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) SetCustomerManagedPolicyReference(v *CustomerManagedPolicyReference) *AttachCustomerManagedPolicyReferenceToPermissionSetInput {
+ s.CustomerManagedPolicyReference = v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) SetInstanceArn(v string) *AttachCustomerManagedPolicyReferenceToPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) SetPermissionSetArn(v string) *AttachCustomerManagedPolicyReferenceToPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type AttachCustomerManagedPolicyReferenceToPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachCustomerManagedPolicyReferenceToPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachCustomerManagedPolicyReferenceToPermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+type AttachManagedPolicyToPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The Amazon Web Services managed policy ARN to be attached to a permission
+ // set.
+ //
+ // ManagedPolicyArn is a required field
+ ManagedPolicyArn *string `min:"20" type:"string" required:"true"`
+
+ // The ARN of the PermissionSet that the managed policy should be attached to.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachManagedPolicyToPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachManagedPolicyToPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AttachManagedPolicyToPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AttachManagedPolicyToPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.ManagedPolicyArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ManagedPolicyArn"))
+ }
+ if s.ManagedPolicyArn != nil && len(*s.ManagedPolicyArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("ManagedPolicyArn", 20))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *AttachManagedPolicyToPermissionSetInput) SetInstanceArn(v string) *AttachManagedPolicyToPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetManagedPolicyArn sets the ManagedPolicyArn field's value.
+func (s *AttachManagedPolicyToPermissionSetInput) SetManagedPolicyArn(v string) *AttachManagedPolicyToPermissionSetInput {
+ s.ManagedPolicyArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *AttachManagedPolicyToPermissionSetInput) SetPermissionSetArn(v string) *AttachManagedPolicyToPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type AttachManagedPolicyToPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachManagedPolicyToPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachManagedPolicyToPermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+// A structure that stores the details of the Amazon Web Services managed policy.
+type AttachedManagedPolicy struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the Amazon Web Services managed policy. For more information about
+ // ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
+ // (/general/latest/gr/aws-arns-and-namespaces.html) in the Amazon Web Services
+ // General Reference.
+ Arn *string `min:"20" type:"string"`
+
+ // The name of the Amazon Web Services managed policy.
+ Name *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachedManagedPolicy) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AttachedManagedPolicy) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *AttachedManagedPolicy) SetArn(v string) *AttachedManagedPolicy {
+ s.Arn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AttachedManagedPolicy) SetName(v string) *AttachedManagedPolicy {
+ s.Name = &v
+ return s
+}
+
+// A structure that describes an authentication method that can be used by an
+// application.
+type AuthenticationMethod struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthenticationMethod) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthenticationMethod) GoString() string {
+ return s.String()
+}
+
+// A structure that describes an authentication method and its type.
+type AuthenticationMethodItem struct {
+ _ struct{} `type:"structure"`
+
+ // A structure that describes an authentication method. The contents of this
+ // structure is determined by the AuthenticationMethodType.
+ AuthenticationMethod *AuthenticationMethod `type:"structure"`
+
+ // The type of authentication that is used by this method.
+ AuthenticationMethodType *string `type:"string" enum:"AuthenticationMethodType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthenticationMethodItem) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthenticationMethodItem) GoString() string {
+ return s.String()
+}
+
+// SetAuthenticationMethod sets the AuthenticationMethod field's value.
+func (s *AuthenticationMethodItem) SetAuthenticationMethod(v *AuthenticationMethod) *AuthenticationMethodItem {
+ s.AuthenticationMethod = v
+ return s
+}
+
+// SetAuthenticationMethodType sets the AuthenticationMethodType field's value.
+func (s *AuthenticationMethodItem) SetAuthenticationMethodType(v string) *AuthenticationMethodItem {
+ s.AuthenticationMethodType = &v
+ return s
+}
+
+// ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+type AuthorizationCodeGrant struct {
+ _ struct{} `type:"structure"`
+
+ // ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+ RedirectUris []*string `min:"1" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthorizationCodeGrant) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthorizationCodeGrant) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AuthorizationCodeGrant) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AuthorizationCodeGrant"}
+ if s.RedirectUris != nil && len(s.RedirectUris) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RedirectUris", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRedirectUris sets the RedirectUris field's value.
+func (s *AuthorizationCodeGrant) SetRedirectUris(v []*string) *AuthorizationCodeGrant {
+ s.RedirectUris = v
+ return s
+}
+
+// A structure that describes a trusted token issuer and associates it with
+// a set of authorized audiences.
+type AuthorizedTokenIssuer struct {
+ _ struct{} `type:"structure"`
+
+ // An array list of authorized audiences, or applications, that can consume
+ // the tokens generated by the associated trusted token issuer.
+ AuthorizedAudiences []*string `min:"1" type:"list"`
+
+ // The ARN of the trusted token issuer.
+ TrustedTokenIssuerArn *string `min:"10" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthorizedTokenIssuer) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AuthorizedTokenIssuer) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AuthorizedTokenIssuer) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AuthorizedTokenIssuer"}
+ if s.AuthorizedAudiences != nil && len(s.AuthorizedAudiences) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AuthorizedAudiences", 1))
+ }
+ if s.TrustedTokenIssuerArn != nil && len(*s.TrustedTokenIssuerArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("TrustedTokenIssuerArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAuthorizedAudiences sets the AuthorizedAudiences field's value.
+func (s *AuthorizedTokenIssuer) SetAuthorizedAudiences(v []*string) *AuthorizedTokenIssuer {
+ s.AuthorizedAudiences = v
+ return s
+}
+
+// SetTrustedTokenIssuerArn sets the TrustedTokenIssuerArn field's value.
+func (s *AuthorizedTokenIssuer) SetTrustedTokenIssuerArn(v string) *AuthorizedTokenIssuer {
+ s.TrustedTokenIssuerArn = &v
+ return s
+}
+
+// Occurs when a conflict with a previous successful write is detected. This
+// generally occurs when the previous write did not have time to propagate to
+// the host serving the current request. A retry (with appropriate backoff logic)
+// is the recommended response to this exception.
+type ConflictException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"Message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) GoString() string {
+ return s.String()
+}
+
+func newErrorConflictException(v protocol.ResponseMetadata) error {
+ return &ConflictException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ConflictException) Code() string {
+ return "ConflictException"
+}
+
+// Message returns the exception's message.
+func (s *ConflictException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ConflictException) OrigErr() error {
+ return nil
+}
+
+func (s *ConflictException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ConflictException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ConflictException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type CreateAccountAssignmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the permission set that the admin wants to grant the principal
+ // access to.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ //
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // The entity type for which the assignment will be created.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+
+ // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
+ //
+ // TargetId is a required field
+ TargetId *string `min:"12" type:"string" required:"true"`
+
+ // The entity type for which the assignment will be created.
+ //
+ // TargetType is a required field
+ TargetType *string `type:"string" required:"true" enum:"TargetType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAccountAssignmentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAccountAssignmentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateAccountAssignmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateAccountAssignmentInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+ if s.PrincipalId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
+ }
+ if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+ if s.TargetId == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetId"))
+ }
+ if s.TargetId != nil && len(*s.TargetId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("TargetId", 12))
+ }
+ if s.TargetType == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *CreateAccountAssignmentInput) SetInstanceArn(v string) *CreateAccountAssignmentInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *CreateAccountAssignmentInput) SetPermissionSetArn(v string) *CreateAccountAssignmentInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *CreateAccountAssignmentInput) SetPrincipalId(v string) *CreateAccountAssignmentInput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *CreateAccountAssignmentInput) SetPrincipalType(v string) *CreateAccountAssignmentInput {
+ s.PrincipalType = &v
+ return s
+}
+
+// SetTargetId sets the TargetId field's value.
+func (s *CreateAccountAssignmentInput) SetTargetId(v string) *CreateAccountAssignmentInput {
+ s.TargetId = &v
+ return s
+}
+
+// SetTargetType sets the TargetType field's value.
+func (s *CreateAccountAssignmentInput) SetTargetType(v string) *CreateAccountAssignmentInput {
+ s.TargetType = &v
+ return s
+}
+
+type CreateAccountAssignmentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status object for the account assignment creation operation.
+ AccountAssignmentCreationStatus *AccountAssignmentOperationStatus `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAccountAssignmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAccountAssignmentOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountAssignmentCreationStatus sets the AccountAssignmentCreationStatus field's value.
+func (s *CreateAccountAssignmentOutput) SetAccountAssignmentCreationStatus(v *AccountAssignmentOperationStatus) *CreateAccountAssignmentOutput {
+ s.AccountAssignmentCreationStatus = v
+ return s
+}
+
+type CreateApplicationAssignmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the application provider under which the operation will run.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ //
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // The entity type for which the assignment will be created.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationAssignmentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationAssignmentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateApplicationAssignmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateApplicationAssignmentInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.PrincipalId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
+ }
+ if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *CreateApplicationAssignmentInput) SetApplicationArn(v string) *CreateApplicationAssignmentInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *CreateApplicationAssignmentInput) SetPrincipalId(v string) *CreateApplicationAssignmentInput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *CreateApplicationAssignmentInput) SetPrincipalType(v string) *CreateApplicationAssignmentInput {
+ s.PrincipalType = &v
+ return s
+}
+
+type CreateApplicationAssignmentOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationAssignmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationAssignmentOutput) GoString() string {
+ return s.String()
+}
+
+type CreateApplicationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the application provider under which the operation will run.
+ //
+ // ApplicationProviderArn is a required field
+ ApplicationProviderArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies a unique, case-sensitive ID that you provide to ensure the idempotency
+ // of the request. This lets you safely retry the request without accidentally
+ // performing the same operation a second time. Passing the same value to a
+ // later call to an operation requires that you also pass the same value for
+ // all other parameters. We recommend that you use a UUID type of value (https://wikipedia.org/wiki/Universally_unique_identifier).
+ //
+ // If you don't provide this value, then Amazon Web Services generates a random
+ // one for you.
+ //
+ // If you retry the operation with the same ClientToken, but with different
+ // parameters, the retry fails with an IdempotentParameterMismatch error.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The description of the .
+ Description *string `min:"1" type:"string"`
+
+ // The ARN of the instance of IAM Identity Center under which the operation
+ // will run. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The name of the .
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
+
+ // A structure that describes the options for the portal associated with an
+ // application.
+ PortalOptions *PortalOptions `type:"structure"`
+
+ // Specifies whether the application is enabled or disabled.
+ Status *string `type:"string" enum:"ApplicationStatus"`
+
+ // Specifies tags to be attached to the application.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateApplicationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateApplicationInput"}
+ if s.ApplicationProviderArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationProviderArn"))
+ }
+ if s.ApplicationProviderArn != nil && len(*s.ApplicationProviderArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationProviderArn", 10))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.PortalOptions != nil {
+ if err := s.PortalOptions.Validate(); err != nil {
+ invalidParams.AddNested("PortalOptions", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationProviderArn sets the ApplicationProviderArn field's value.
+func (s *CreateApplicationInput) SetApplicationProviderArn(v string) *CreateApplicationInput {
+ s.ApplicationProviderArn = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateApplicationInput) SetClientToken(v string) *CreateApplicationInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput {
+ s.Description = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *CreateApplicationInput) SetInstanceArn(v string) *CreateApplicationInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput {
+ s.Name = &v
+ return s
+}
+
+// SetPortalOptions sets the PortalOptions field's value.
+func (s *CreateApplicationInput) SetPortalOptions(v *PortalOptions) *CreateApplicationInput {
+ s.PortalOptions = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CreateApplicationInput) SetStatus(v string) *CreateApplicationInput {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateApplicationInput) SetTags(v []*Tag) *CreateApplicationInput {
+ s.Tags = v
+ return s
+}
+
+type CreateApplicationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application.
+ ApplicationArn *string `min:"10" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateApplicationOutput) GoString() string {
+ return s.String()
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *CreateApplicationOutput) SetApplicationArn(v string) *CreateApplicationOutput {
+ s.ApplicationArn = &v
+ return s
+}
+
+type CreateInstanceAccessControlAttributeConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the IAM Identity Center identity store attributes to add to your
+ // ABAC configuration. When using an external identity provider as an identity
+ // source, you can pass attributes through the SAML assertion. Doing so provides
+ // an alternative to configuring attributes from the IAM Identity Center identity
+ // store. If a SAML assertion passes any of these attributes, IAM Identity Center
+ // will replace the attribute value with the value from the IAM Identity Center
+ // identity store.
+ //
+ // InstanceAccessControlAttributeConfiguration is a required field
+ InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure" required:"true"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceAccessControlAttributeConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceAccessControlAttributeConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateInstanceAccessControlAttributeConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateInstanceAccessControlAttributeConfigurationInput"}
+ if s.InstanceAccessControlAttributeConfiguration == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceAccessControlAttributeConfiguration"))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.InstanceAccessControlAttributeConfiguration != nil {
+ if err := s.InstanceAccessControlAttributeConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("InstanceAccessControlAttributeConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceAccessControlAttributeConfiguration sets the InstanceAccessControlAttributeConfiguration field's value.
+func (s *CreateInstanceAccessControlAttributeConfigurationInput) SetInstanceAccessControlAttributeConfiguration(v *InstanceAccessControlAttributeConfiguration) *CreateInstanceAccessControlAttributeConfigurationInput {
+ s.InstanceAccessControlAttributeConfiguration = v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *CreateInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *CreateInstanceAccessControlAttributeConfigurationInput {
+ s.InstanceArn = &v
+ return s
+}
+
+type CreateInstanceAccessControlAttributeConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceAccessControlAttributeConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceAccessControlAttributeConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+type CreateInstanceInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies a unique, case-sensitive ID that you provide to ensure the idempotency
+ // of the request. This lets you safely retry the request without accidentally
+ // performing the same operation a second time. Passing the same value to a
+ // later call to an operation requires that you also pass the same value for
+ // all other parameters. We recommend that you use a UUID type of value (https://wikipedia.org/wiki/Universally_unique_identifier).
+ //
+ // If you don't provide this value, then Amazon Web Services generates a random
+ // one for you.
+ //
+ // If you retry the operation with the same ClientToken, but with different
+ // parameters, the retry fails with an IdempotentParameterMismatch error.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // The name of the instance of IAM Identity Center.
+ Name *string `type:"string"`
+
+ // Specifies tags to be attached to the instance of IAM Identity Center.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateInstanceInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateInstanceInput) SetClientToken(v string) *CreateInstanceInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateInstanceInput) SetName(v string) *CreateInstanceInput {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateInstanceInput) SetTags(v []*Tag) *CreateInstanceInput {
+ s.Tags = v
+ return s
+}
+
+type CreateInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the instance of IAM Identity Center under which the operation
+ // will run.
+ //
+ // For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon
+ // Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ InstanceArn *string `min:"10" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *CreateInstanceOutput) SetInstanceArn(v string) *CreateInstanceOutput {
+ s.InstanceArn = &v
+ return s
+}
+
+type CreatePermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The description of the PermissionSet.
+ Description *string `min:"1" type:"string"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The name of the PermissionSet.
+ //
+ // Name is a required field
+ Name *string `min:"1" type:"string" required:"true"`
+
+ // Used to redirect users within the application during the federation authentication
+ // process.
+ RelayState *string `min:"1" type:"string"`
+
+ // The length of time that the application user sessions are valid in the ISO-8601
+ // standard.
+ SessionDuration *string `min:"1" type:"string"`
+
+ // The tags to attach to the new PermissionSet.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreatePermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreatePermissionSetInput"}
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.RelayState != nil && len(*s.RelayState) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RelayState", 1))
+ }
+ if s.SessionDuration != nil && len(*s.SessionDuration) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SessionDuration", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreatePermissionSetInput) SetDescription(v string) *CreatePermissionSetInput {
+ s.Description = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *CreatePermissionSetInput) SetInstanceArn(v string) *CreatePermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreatePermissionSetInput) SetName(v string) *CreatePermissionSetInput {
+ s.Name = &v
+ return s
+}
+
+// SetRelayState sets the RelayState field's value.
+func (s *CreatePermissionSetInput) SetRelayState(v string) *CreatePermissionSetInput {
+ s.RelayState = &v
+ return s
+}
+
+// SetSessionDuration sets the SessionDuration field's value.
+func (s *CreatePermissionSetInput) SetSessionDuration(v string) *CreatePermissionSetInput {
+ s.SessionDuration = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreatePermissionSetInput) SetTags(v []*Tag) *CreatePermissionSetInput {
+ s.Tags = v
+ return s
+}
+
+type CreatePermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Defines the level of access on an Amazon Web Services account.
+ PermissionSet *PermissionSet `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreatePermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+// SetPermissionSet sets the PermissionSet field's value.
+func (s *CreatePermissionSetOutput) SetPermissionSet(v *PermissionSet) *CreatePermissionSetOutput {
+ s.PermissionSet = v
+ return s
+}
+
+type CreateTrustedTokenIssuerInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies a unique, case-sensitive ID that you provide to ensure the idempotency
+ // of the request. This lets you safely retry the request without accidentally
+ // performing the same operation a second time. Passing the same value to a
+ // later call to an operation requires that you also pass the same value for
+ // all other parameters. We recommend that you use a UUID type of value. (https://wikipedia.org/wiki/Universally_unique_identifier).
+ //
+ // If you don't provide this value, then Amazon Web Services generates a random
+ // one for you.
+ //
+ // If you retry the operation with the same ClientToken, but with different
+ // parameters, the retry fails with an IdempotentParameterMismatch error.
+ ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
+
+ // Specifies the ARN of the instance of IAM Identity Center to contain the new
+ // trusted token issuer configuration.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the name of the new trusted token issuer configuration.
+ //
+ // Name is a required field
+ Name *string `min:"1" type:"string" required:"true"`
+
+ // Specifies tags to be attached to the new trusted token issuer configuration.
+ Tags []*Tag `type:"list"`
+
+ // Specifies settings that apply to the new trusted token issuer configuration.
+ // The settings that are available depend on what TrustedTokenIssuerType you
+ // specify.
+ //
+ // TrustedTokenIssuerConfiguration is a required field
+ TrustedTokenIssuerConfiguration *TrustedTokenIssuerConfiguration `type:"structure" required:"true"`
+
+ // Specifies the type of the new trusted token issuer.
+ //
+ // TrustedTokenIssuerType is a required field
+ TrustedTokenIssuerType *string `type:"string" required:"true" enum:"TrustedTokenIssuerType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateTrustedTokenIssuerInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateTrustedTokenIssuerInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateTrustedTokenIssuerInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateTrustedTokenIssuerInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.TrustedTokenIssuerConfiguration == nil {
+ invalidParams.Add(request.NewErrParamRequired("TrustedTokenIssuerConfiguration"))
+ }
+ if s.TrustedTokenIssuerType == nil {
+ invalidParams.Add(request.NewErrParamRequired("TrustedTokenIssuerType"))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.TrustedTokenIssuerConfiguration != nil {
+ if err := s.TrustedTokenIssuerConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("TrustedTokenIssuerConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateTrustedTokenIssuerInput) SetClientToken(v string) *CreateTrustedTokenIssuerInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *CreateTrustedTokenIssuerInput) SetInstanceArn(v string) *CreateTrustedTokenIssuerInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateTrustedTokenIssuerInput) SetName(v string) *CreateTrustedTokenIssuerInput {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateTrustedTokenIssuerInput) SetTags(v []*Tag) *CreateTrustedTokenIssuerInput {
+ s.Tags = v
+ return s
+}
+
+// SetTrustedTokenIssuerConfiguration sets the TrustedTokenIssuerConfiguration field's value.
+func (s *CreateTrustedTokenIssuerInput) SetTrustedTokenIssuerConfiguration(v *TrustedTokenIssuerConfiguration) *CreateTrustedTokenIssuerInput {
+ s.TrustedTokenIssuerConfiguration = v
+ return s
+}
+
+// SetTrustedTokenIssuerType sets the TrustedTokenIssuerType field's value.
+func (s *CreateTrustedTokenIssuerInput) SetTrustedTokenIssuerType(v string) *CreateTrustedTokenIssuerInput {
+ s.TrustedTokenIssuerType = &v
+ return s
+}
+
+type CreateTrustedTokenIssuerOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the new trusted token issuer configuration.
+ TrustedTokenIssuerArn *string `min:"10" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateTrustedTokenIssuerOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateTrustedTokenIssuerOutput) GoString() string {
+ return s.String()
+}
+
+// SetTrustedTokenIssuerArn sets the TrustedTokenIssuerArn field's value.
+func (s *CreateTrustedTokenIssuerOutput) SetTrustedTokenIssuerArn(v string) *CreateTrustedTokenIssuerOutput {
+ s.TrustedTokenIssuerArn = &v
+ return s
+}
+
+// Specifies the name and path of a customer managed policy. You must have an
+// IAM policy that matches the name and path in each Amazon Web Services account
+// where you want to deploy your permission set.
+type CustomerManagedPolicyReference struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the IAM policy that you have configured in each account where
+ // you want to deploy your permission set.
+ //
+ // Name is a required field
+ Name *string `min:"1" type:"string" required:"true"`
+
+ // The path to the IAM policy that you have configured in each account where
+ // you want to deploy your permission set. The default is /. For more information,
+ // see Friendly names and paths (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names)
+ // in the IAM User Guide.
+ Path *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CustomerManagedPolicyReference) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CustomerManagedPolicyReference) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CustomerManagedPolicyReference) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CustomerManagedPolicyReference"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.Path != nil && len(*s.Path) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Path", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *CustomerManagedPolicyReference) SetName(v string) *CustomerManagedPolicyReference {
+ s.Name = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *CustomerManagedPolicyReference) SetPath(v string) *CustomerManagedPolicyReference {
+ s.Path = &v
+ return s
+}
+
+type DeleteAccountAssignmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the permission set that will be used to remove access.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ //
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // The entity type for which the assignment will be deleted.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+
+ // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
+ //
+ // TargetId is a required field
+ TargetId *string `min:"12" type:"string" required:"true"`
+
+ // The entity type for which the assignment will be deleted.
+ //
+ // TargetType is a required field
+ TargetType *string `type:"string" required:"true" enum:"TargetType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAccountAssignmentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAccountAssignmentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteAccountAssignmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteAccountAssignmentInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+ if s.PrincipalId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
+ }
+ if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+ if s.TargetId == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetId"))
+ }
+ if s.TargetId != nil && len(*s.TargetId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("TargetId", 12))
+ }
+ if s.TargetType == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DeleteAccountAssignmentInput) SetInstanceArn(v string) *DeleteAccountAssignmentInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *DeleteAccountAssignmentInput) SetPermissionSetArn(v string) *DeleteAccountAssignmentInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *DeleteAccountAssignmentInput) SetPrincipalId(v string) *DeleteAccountAssignmentInput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *DeleteAccountAssignmentInput) SetPrincipalType(v string) *DeleteAccountAssignmentInput {
+ s.PrincipalType = &v
+ return s
+}
+
+// SetTargetId sets the TargetId field's value.
+func (s *DeleteAccountAssignmentInput) SetTargetId(v string) *DeleteAccountAssignmentInput {
+ s.TargetId = &v
+ return s
+}
+
+// SetTargetType sets the TargetType field's value.
+func (s *DeleteAccountAssignmentInput) SetTargetType(v string) *DeleteAccountAssignmentInput {
+ s.TargetType = &v
+ return s
+}
+
+type DeleteAccountAssignmentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status object for the account assignment deletion operation.
+ AccountAssignmentDeletionStatus *AccountAssignmentOperationStatus `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAccountAssignmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAccountAssignmentOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountAssignmentDeletionStatus sets the AccountAssignmentDeletionStatus field's value.
+func (s *DeleteAccountAssignmentOutput) SetAccountAssignmentDeletionStatus(v *AccountAssignmentOperationStatus) *DeleteAccountAssignmentOutput {
+ s.AccountAssignmentDeletionStatus = v
+ return s
+}
+
+type DeleteApplicationAccessScopeInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application with the access scope to delete.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the name of the access scope to remove from the application.
+ //
+ // Scope is a required field
+ Scope *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAccessScopeInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAccessScopeInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteApplicationAccessScopeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationAccessScopeInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.Scope == nil {
+ invalidParams.Add(request.NewErrParamRequired("Scope"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DeleteApplicationAccessScopeInput) SetApplicationArn(v string) *DeleteApplicationAccessScopeInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *DeleteApplicationAccessScopeInput) SetScope(v string) *DeleteApplicationAccessScopeInput {
+ s.Scope = &v
+ return s
+}
+
+type DeleteApplicationAccessScopeOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAccessScopeOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAccessScopeOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteApplicationAssignmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ //
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // The entity type for which the assignment will be deleted.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAssignmentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAssignmentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteApplicationAssignmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationAssignmentInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.PrincipalId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
+ }
+ if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DeleteApplicationAssignmentInput) SetApplicationArn(v string) *DeleteApplicationAssignmentInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *DeleteApplicationAssignmentInput) SetPrincipalId(v string) *DeleteApplicationAssignmentInput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *DeleteApplicationAssignmentInput) SetPrincipalType(v string) *DeleteApplicationAssignmentInput {
+ s.PrincipalType = &v
+ return s
+}
+
+type DeleteApplicationAssignmentOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAssignmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAssignmentOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteApplicationAuthenticationMethodInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application with the authentication method to delete.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the authentication method type to delete from the application.
+ //
+ // AuthenticationMethodType is a required field
+ AuthenticationMethodType *string `type:"string" required:"true" enum:"AuthenticationMethodType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAuthenticationMethodInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAuthenticationMethodInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteApplicationAuthenticationMethodInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationAuthenticationMethodInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.AuthenticationMethodType == nil {
+ invalidParams.Add(request.NewErrParamRequired("AuthenticationMethodType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DeleteApplicationAuthenticationMethodInput) SetApplicationArn(v string) *DeleteApplicationAuthenticationMethodInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetAuthenticationMethodType sets the AuthenticationMethodType field's value.
+func (s *DeleteApplicationAuthenticationMethodInput) SetAuthenticationMethodType(v string) *DeleteApplicationAuthenticationMethodInput {
+ s.AuthenticationMethodType = &v
+ return s
+}
+
+type DeleteApplicationAuthenticationMethodOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAuthenticationMethodOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationAuthenticationMethodOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteApplicationGrantInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application with the grant to delete.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the type of grant to delete from the application.
+ //
+ // GrantType is a required field
+ GrantType *string `type:"string" required:"true" enum:"GrantType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationGrantInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationGrantInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteApplicationGrantInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationGrantInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.GrantType == nil {
+ invalidParams.Add(request.NewErrParamRequired("GrantType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DeleteApplicationGrantInput) SetApplicationArn(v string) *DeleteApplicationGrantInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetGrantType sets the GrantType field's value.
+func (s *DeleteApplicationGrantInput) SetGrantType(v string) *DeleteApplicationGrantInput {
+ s.GrantType = &v
+ return s
+}
+
+type DeleteApplicationGrantOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationGrantOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationGrantOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteApplicationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application. For more information about ARNs, see
+ // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteApplicationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DeleteApplicationInput) SetApplicationArn(v string) *DeleteApplicationInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+type DeleteApplicationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteApplicationOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteInlinePolicyFromPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the permission set that will be used to remove access.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInlinePolicyFromPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInlinePolicyFromPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteInlinePolicyFromPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteInlinePolicyFromPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DeleteInlinePolicyFromPermissionSetInput) SetInstanceArn(v string) *DeleteInlinePolicyFromPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *DeleteInlinePolicyFromPermissionSetInput) SetPermissionSetArn(v string) *DeleteInlinePolicyFromPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type DeleteInlinePolicyFromPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInlinePolicyFromPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInlinePolicyFromPermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteInstanceAccessControlAttributeConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceAccessControlAttributeConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceAccessControlAttributeConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteInstanceAccessControlAttributeConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceAccessControlAttributeConfigurationInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DeleteInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *DeleteInstanceAccessControlAttributeConfigurationInput {
+ s.InstanceArn = &v
+ return s
+}
+
+type DeleteInstanceAccessControlAttributeConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceAccessControlAttributeConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceAccessControlAttributeConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteInstanceInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the instance of IAM Identity Center under which the operation
+ // will run.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DeleteInstanceInput) SetInstanceArn(v string) *DeleteInstanceInput {
+ s.InstanceArn = &v
+ return s
+}
+
+type DeleteInstanceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceOutput) GoString() string {
+ return s.String()
+}
+
+type DeletePermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the permission set that should be deleted.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeletePermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeletePermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DeletePermissionSetInput) SetInstanceArn(v string) *DeletePermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *DeletePermissionSetInput) SetPermissionSetArn(v string) *DeletePermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type DeletePermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+type DeletePermissionsBoundaryFromPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the PermissionSet.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionsBoundaryFromPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionsBoundaryFromPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeletePermissionsBoundaryFromPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeletePermissionsBoundaryFromPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DeletePermissionsBoundaryFromPermissionSetInput) SetInstanceArn(v string) *DeletePermissionsBoundaryFromPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *DeletePermissionsBoundaryFromPermissionSetInput) SetPermissionSetArn(v string) *DeletePermissionsBoundaryFromPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type DeletePermissionsBoundaryFromPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionsBoundaryFromPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeletePermissionsBoundaryFromPermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteTrustedTokenIssuerInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the trusted token issuer configuration to delete.
+ //
+ // TrustedTokenIssuerArn is a required field
+ TrustedTokenIssuerArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTrustedTokenIssuerInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTrustedTokenIssuerInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteTrustedTokenIssuerInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteTrustedTokenIssuerInput"}
+ if s.TrustedTokenIssuerArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("TrustedTokenIssuerArn"))
+ }
+ if s.TrustedTokenIssuerArn != nil && len(*s.TrustedTokenIssuerArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("TrustedTokenIssuerArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetTrustedTokenIssuerArn sets the TrustedTokenIssuerArn field's value.
+func (s *DeleteTrustedTokenIssuerInput) SetTrustedTokenIssuerArn(v string) *DeleteTrustedTokenIssuerInput {
+ s.TrustedTokenIssuerArn = &v
+ return s
+}
+
+type DeleteTrustedTokenIssuerOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTrustedTokenIssuerOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteTrustedTokenIssuerOutput) GoString() string {
+ return s.String()
+}
+
+type DescribeAccountAssignmentCreationStatusInput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier that is used to track the request operation progress.
+ //
+ // AccountAssignmentCreationRequestId is a required field
+ AccountAssignmentCreationRequestId *string `min:"36" type:"string" required:"true"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentCreationStatusInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentCreationStatusInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeAccountAssignmentCreationStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAccountAssignmentCreationStatusInput"}
+ if s.AccountAssignmentCreationRequestId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountAssignmentCreationRequestId"))
+ }
+ if s.AccountAssignmentCreationRequestId != nil && len(*s.AccountAssignmentCreationRequestId) < 36 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountAssignmentCreationRequestId", 36))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountAssignmentCreationRequestId sets the AccountAssignmentCreationRequestId field's value.
+func (s *DescribeAccountAssignmentCreationStatusInput) SetAccountAssignmentCreationRequestId(v string) *DescribeAccountAssignmentCreationStatusInput {
+ s.AccountAssignmentCreationRequestId = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribeAccountAssignmentCreationStatusInput) SetInstanceArn(v string) *DescribeAccountAssignmentCreationStatusInput {
+ s.InstanceArn = &v
+ return s
+}
+
+type DescribeAccountAssignmentCreationStatusOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status object for the account assignment creation operation.
+ AccountAssignmentCreationStatus *AccountAssignmentOperationStatus `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentCreationStatusOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentCreationStatusOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountAssignmentCreationStatus sets the AccountAssignmentCreationStatus field's value.
+func (s *DescribeAccountAssignmentCreationStatusOutput) SetAccountAssignmentCreationStatus(v *AccountAssignmentOperationStatus) *DescribeAccountAssignmentCreationStatusOutput {
+ s.AccountAssignmentCreationStatus = v
+ return s
+}
+
+type DescribeAccountAssignmentDeletionStatusInput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier that is used to track the request operation progress.
+ //
+ // AccountAssignmentDeletionRequestId is a required field
+ AccountAssignmentDeletionRequestId *string `min:"36" type:"string" required:"true"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentDeletionStatusInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentDeletionStatusInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeAccountAssignmentDeletionStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAccountAssignmentDeletionStatusInput"}
+ if s.AccountAssignmentDeletionRequestId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountAssignmentDeletionRequestId"))
+ }
+ if s.AccountAssignmentDeletionRequestId != nil && len(*s.AccountAssignmentDeletionRequestId) < 36 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountAssignmentDeletionRequestId", 36))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountAssignmentDeletionRequestId sets the AccountAssignmentDeletionRequestId field's value.
+func (s *DescribeAccountAssignmentDeletionStatusInput) SetAccountAssignmentDeletionRequestId(v string) *DescribeAccountAssignmentDeletionStatusInput {
+ s.AccountAssignmentDeletionRequestId = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribeAccountAssignmentDeletionStatusInput) SetInstanceArn(v string) *DescribeAccountAssignmentDeletionStatusInput {
+ s.InstanceArn = &v
+ return s
+}
+
+type DescribeAccountAssignmentDeletionStatusOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status object for the account assignment deletion operation.
+ AccountAssignmentDeletionStatus *AccountAssignmentOperationStatus `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentDeletionStatusOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeAccountAssignmentDeletionStatusOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountAssignmentDeletionStatus sets the AccountAssignmentDeletionStatus field's value.
+func (s *DescribeAccountAssignmentDeletionStatusOutput) SetAccountAssignmentDeletionStatus(v *AccountAssignmentOperationStatus) *DescribeAccountAssignmentDeletionStatusOutput {
+ s.AccountAssignmentDeletionStatus = v
+ return s
+}
+
+type DescribeApplicationAssignmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application. For more information about ARNs, see
+ // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ //
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // The entity type for which the assignment will be created.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationAssignmentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationAssignmentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeApplicationAssignmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeApplicationAssignmentInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.PrincipalId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
+ }
+ if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DescribeApplicationAssignmentInput) SetApplicationArn(v string) *DescribeApplicationAssignmentInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *DescribeApplicationAssignmentInput) SetPrincipalId(v string) *DescribeApplicationAssignmentInput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *DescribeApplicationAssignmentInput) SetPrincipalType(v string) *DescribeApplicationAssignmentInput {
+ s.PrincipalType = &v
+ return s
+}
+
+type DescribeApplicationAssignmentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application. For more information about ARNs, see
+ // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ ApplicationArn *string `min:"10" type:"string"`
+
+ // An identifier for an object in IAM Identity Center, such as a user or group.
+ // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
+ // For more information about PrincipalIds in IAM Identity Center, see the IAM
+ // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
+ PrincipalId *string `min:"1" type:"string"`
+
+ // The entity type for which the assignment will be created.
+ PrincipalType *string `type:"string" enum:"PrincipalType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationAssignmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationAssignmentOutput) GoString() string {
+ return s.String()
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DescribeApplicationAssignmentOutput) SetApplicationArn(v string) *DescribeApplicationAssignmentOutput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *DescribeApplicationAssignmentOutput) SetPrincipalId(v string) *DescribeApplicationAssignmentOutput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *DescribeApplicationAssignmentOutput) SetPrincipalType(v string) *DescribeApplicationAssignmentOutput {
+ s.PrincipalType = &v
+ return s
+}
+
+type DescribeApplicationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application. For more information about ARNs, see
+ // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeApplicationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeApplicationInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DescribeApplicationInput) SetApplicationArn(v string) *DescribeApplicationInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+type DescribeApplicationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The account ID.
+ ApplicationAccount *string `min:"12" type:"string"`
+
+ // Specifies the ARN of the application.
+ ApplicationArn *string `min:"10" type:"string"`
+
+ // The ARN of the application provider under which the operation will run.
+ ApplicationProviderArn *string `min:"10" type:"string"`
+
+ // The date the application was created.
+ CreatedDate *time.Time `type:"timestamp"`
+
+ // The description of the .
+ Description *string `min:"1" type:"string"`
+
+ // The ARN of the IAM Identity Center application under which the operation
+ // will run. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ InstanceArn *string `min:"10" type:"string"`
+
+ // The application name.
+ Name *string `type:"string"`
+
+ // A structure that describes the options for the portal associated with an
+ // application.
+ PortalOptions *PortalOptions `type:"structure"`
+
+ // Specifies whether the application is enabled or disabled.
+ Status *string `type:"string" enum:"ApplicationStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationOutput) GoString() string {
+ return s.String()
+}
+
+// SetApplicationAccount sets the ApplicationAccount field's value.
+func (s *DescribeApplicationOutput) SetApplicationAccount(v string) *DescribeApplicationOutput {
+ s.ApplicationAccount = &v
+ return s
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *DescribeApplicationOutput) SetApplicationArn(v string) *DescribeApplicationOutput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetApplicationProviderArn sets the ApplicationProviderArn field's value.
+func (s *DescribeApplicationOutput) SetApplicationProviderArn(v string) *DescribeApplicationOutput {
+ s.ApplicationProviderArn = &v
+ return s
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *DescribeApplicationOutput) SetCreatedDate(v time.Time) *DescribeApplicationOutput {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DescribeApplicationOutput) SetDescription(v string) *DescribeApplicationOutput {
+ s.Description = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribeApplicationOutput) SetInstanceArn(v string) *DescribeApplicationOutput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DescribeApplicationOutput) SetName(v string) *DescribeApplicationOutput {
+ s.Name = &v
+ return s
+}
+
+// SetPortalOptions sets the PortalOptions field's value.
+func (s *DescribeApplicationOutput) SetPortalOptions(v *PortalOptions) *DescribeApplicationOutput {
+ s.PortalOptions = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeApplicationOutput) SetStatus(v string) *DescribeApplicationOutput {
+ s.Status = &v
+ return s
+}
+
+type DescribeApplicationProviderInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application provider for which you want details.
+ //
+ // ApplicationProviderArn is a required field
+ ApplicationProviderArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationProviderInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationProviderInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeApplicationProviderInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeApplicationProviderInput"}
+ if s.ApplicationProviderArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationProviderArn"))
+ }
+ if s.ApplicationProviderArn != nil && len(*s.ApplicationProviderArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationProviderArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationProviderArn sets the ApplicationProviderArn field's value.
+func (s *DescribeApplicationProviderInput) SetApplicationProviderArn(v string) *DescribeApplicationProviderInput {
+ s.ApplicationProviderArn = &v
+ return s
+}
+
+type DescribeApplicationProviderOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the application provider.
+ //
+ // ApplicationProviderArn is a required field
+ ApplicationProviderArn *string `min:"10" type:"string" required:"true"`
+
+ // A structure with details about the display data for the application provider.
+ DisplayData *DisplayData `type:"structure"`
+
+ // The protocol used to federate to the application provider.
+ FederationProtocol *string `type:"string" enum:"FederationProtocol"`
+
+ // A structure with details about the receiving application.
+ ResourceServerConfig *ResourceServerConfig `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationProviderOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeApplicationProviderOutput) GoString() string {
+ return s.String()
+}
+
+// SetApplicationProviderArn sets the ApplicationProviderArn field's value.
+func (s *DescribeApplicationProviderOutput) SetApplicationProviderArn(v string) *DescribeApplicationProviderOutput {
+ s.ApplicationProviderArn = &v
+ return s
+}
+
+// SetDisplayData sets the DisplayData field's value.
+func (s *DescribeApplicationProviderOutput) SetDisplayData(v *DisplayData) *DescribeApplicationProviderOutput {
+ s.DisplayData = v
+ return s
+}
+
+// SetFederationProtocol sets the FederationProtocol field's value.
+func (s *DescribeApplicationProviderOutput) SetFederationProtocol(v string) *DescribeApplicationProviderOutput {
+ s.FederationProtocol = &v
+ return s
+}
+
+// SetResourceServerConfig sets the ResourceServerConfig field's value.
+func (s *DescribeApplicationProviderOutput) SetResourceServerConfig(v *ResourceServerConfig) *DescribeApplicationProviderOutput {
+ s.ResourceServerConfig = v
+ return s
+}
+
+type DescribeInstanceAccessControlAttributeConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceAccessControlAttributeConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceAccessControlAttributeConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeInstanceAccessControlAttributeConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeInstanceAccessControlAttributeConfigurationInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribeInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *DescribeInstanceAccessControlAttributeConfigurationInput {
+ s.InstanceArn = &v
+ return s
+}
+
+type DescribeInstanceAccessControlAttributeConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Gets the list of IAM Identity Center identity store attributes that have
+ // been added to your ABAC configuration.
+ InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure"`
+
+ // The status of the attribute configuration process.
+ Status *string `type:"string" enum:"InstanceAccessControlAttributeConfigurationStatus"`
+
+ // Provides more details about the current status of the specified attribute.
+ StatusReason *string `type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceAccessControlAttributeConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceAccessControlAttributeConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetInstanceAccessControlAttributeConfiguration sets the InstanceAccessControlAttributeConfiguration field's value.
+func (s *DescribeInstanceAccessControlAttributeConfigurationOutput) SetInstanceAccessControlAttributeConfiguration(v *InstanceAccessControlAttributeConfiguration) *DescribeInstanceAccessControlAttributeConfigurationOutput {
+ s.InstanceAccessControlAttributeConfiguration = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeInstanceAccessControlAttributeConfigurationOutput) SetStatus(v string) *DescribeInstanceAccessControlAttributeConfigurationOutput {
+ s.Status = &v
+ return s
+}
+
+// SetStatusReason sets the StatusReason field's value.
+func (s *DescribeInstanceAccessControlAttributeConfigurationOutput) SetStatusReason(v string) *DescribeInstanceAccessControlAttributeConfigurationOutput {
+ s.StatusReason = &v
+ return s
+}
+
+type DescribeInstanceInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the instance of IAM Identity Center under which the operation
+ // will run.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeInstanceInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribeInstanceInput) SetInstanceArn(v string) *DescribeInstanceInput {
+ s.InstanceArn = &v
+ return s
+}
+
+type DescribeInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The date the instance was created.
+ CreatedDate *time.Time `type:"timestamp"`
+
+ // The identifier of the identity store that is connected to the instance of
+ // IAM Identity Center.
+ IdentityStoreId *string `min:"1" type:"string"`
+
+ // The ARN of the instance of IAM Identity Center under which the operation
+ // will run. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ InstanceArn *string `min:"10" type:"string"`
+
+ // Specifies the instance name.
+ Name *string `type:"string"`
+
+ // The identifier of the Amazon Web Services account for which the instance
+ // was created.
+ OwnerAccountId *string `min:"12" type:"string"`
+
+ // The status of the instance.
+ Status *string `type:"string" enum:"InstanceStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *DescribeInstanceOutput) SetCreatedDate(v time.Time) *DescribeInstanceOutput {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetIdentityStoreId sets the IdentityStoreId field's value.
+func (s *DescribeInstanceOutput) SetIdentityStoreId(v string) *DescribeInstanceOutput {
+ s.IdentityStoreId = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribeInstanceOutput) SetInstanceArn(v string) *DescribeInstanceOutput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DescribeInstanceOutput) SetName(v string) *DescribeInstanceOutput {
+ s.Name = &v
+ return s
+}
+
+// SetOwnerAccountId sets the OwnerAccountId field's value.
+func (s *DescribeInstanceOutput) SetOwnerAccountId(v string) *DescribeInstanceOutput {
+ s.OwnerAccountId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeInstanceOutput) SetStatus(v string) *DescribeInstanceOutput {
+ s.Status = &v
+ return s
+}
+
+type DescribePermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the permission set.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribePermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribePermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribePermissionSetInput) SetInstanceArn(v string) *DescribePermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *DescribePermissionSetInput) SetPermissionSetArn(v string) *DescribePermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type DescribePermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Describes the level of access on an Amazon Web Services account.
+ PermissionSet *PermissionSet `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+// SetPermissionSet sets the PermissionSet field's value.
+func (s *DescribePermissionSetOutput) SetPermissionSet(v *PermissionSet) *DescribePermissionSetOutput {
+ s.PermissionSet = v
+ return s
+}
+
+type DescribePermissionSetProvisioningStatusInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The identifier that is provided by the ProvisionPermissionSet call to retrieve
+ // the current status of the provisioning workflow.
+ //
+ // ProvisionPermissionSetRequestId is a required field
+ ProvisionPermissionSetRequestId *string `min:"36" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetProvisioningStatusInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetProvisioningStatusInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribePermissionSetProvisioningStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribePermissionSetProvisioningStatusInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.ProvisionPermissionSetRequestId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisionPermissionSetRequestId"))
+ }
+ if s.ProvisionPermissionSetRequestId != nil && len(*s.ProvisionPermissionSetRequestId) < 36 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisionPermissionSetRequestId", 36))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DescribePermissionSetProvisioningStatusInput) SetInstanceArn(v string) *DescribePermissionSetProvisioningStatusInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetProvisionPermissionSetRequestId sets the ProvisionPermissionSetRequestId field's value.
+func (s *DescribePermissionSetProvisioningStatusInput) SetProvisionPermissionSetRequestId(v string) *DescribePermissionSetProvisioningStatusInput {
+ s.ProvisionPermissionSetRequestId = &v
+ return s
+}
+
+type DescribePermissionSetProvisioningStatusOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status object for the permission set provisioning operation.
+ PermissionSetProvisioningStatus *PermissionSetProvisioningStatus `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetProvisioningStatusOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribePermissionSetProvisioningStatusOutput) GoString() string {
+ return s.String()
+}
+
+// SetPermissionSetProvisioningStatus sets the PermissionSetProvisioningStatus field's value.
+func (s *DescribePermissionSetProvisioningStatusOutput) SetPermissionSetProvisioningStatus(v *PermissionSetProvisioningStatus) *DescribePermissionSetProvisioningStatusOutput {
+ s.PermissionSetProvisioningStatus = v
+ return s
+}
+
+type DescribeTrustedTokenIssuerInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the trusted token issuer configuration that you want
+ // details about.
+ //
+ // TrustedTokenIssuerArn is a required field
+ TrustedTokenIssuerArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeTrustedTokenIssuerInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeTrustedTokenIssuerInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeTrustedTokenIssuerInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeTrustedTokenIssuerInput"}
+ if s.TrustedTokenIssuerArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("TrustedTokenIssuerArn"))
+ }
+ if s.TrustedTokenIssuerArn != nil && len(*s.TrustedTokenIssuerArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("TrustedTokenIssuerArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetTrustedTokenIssuerArn sets the TrustedTokenIssuerArn field's value.
+func (s *DescribeTrustedTokenIssuerInput) SetTrustedTokenIssuerArn(v string) *DescribeTrustedTokenIssuerInput {
+ s.TrustedTokenIssuerArn = &v
+ return s
+}
+
+type DescribeTrustedTokenIssuerOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the trusted token issuer configuration.
+ Name *string `min:"1" type:"string"`
+
+ // The ARN of the trusted token issuer configuration.
+ TrustedTokenIssuerArn *string `min:"10" type:"string"`
+
+ // A structure the describes the settings that apply of this trusted token issuer.
+ TrustedTokenIssuerConfiguration *TrustedTokenIssuerConfiguration `type:"structure"`
+
+ // The type of the trusted token issuer.
+ TrustedTokenIssuerType *string `type:"string" enum:"TrustedTokenIssuerType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeTrustedTokenIssuerOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeTrustedTokenIssuerOutput) GoString() string {
+ return s.String()
+}
+
+// SetName sets the Name field's value.
+func (s *DescribeTrustedTokenIssuerOutput) SetName(v string) *DescribeTrustedTokenIssuerOutput {
+ s.Name = &v
+ return s
+}
+
+// SetTrustedTokenIssuerArn sets the TrustedTokenIssuerArn field's value.
+func (s *DescribeTrustedTokenIssuerOutput) SetTrustedTokenIssuerArn(v string) *DescribeTrustedTokenIssuerOutput {
+ s.TrustedTokenIssuerArn = &v
+ return s
+}
+
+// SetTrustedTokenIssuerConfiguration sets the TrustedTokenIssuerConfiguration field's value.
+func (s *DescribeTrustedTokenIssuerOutput) SetTrustedTokenIssuerConfiguration(v *TrustedTokenIssuerConfiguration) *DescribeTrustedTokenIssuerOutput {
+ s.TrustedTokenIssuerConfiguration = v
+ return s
+}
+
+// SetTrustedTokenIssuerType sets the TrustedTokenIssuerType field's value.
+func (s *DescribeTrustedTokenIssuerOutput) SetTrustedTokenIssuerType(v string) *DescribeTrustedTokenIssuerOutput {
+ s.TrustedTokenIssuerType = &v
+ return s
+}
+
+type DetachCustomerManagedPolicyReferenceFromPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the name and path of a customer managed policy. You must have an
+ // IAM policy that matches the name and path in each Amazon Web Services account
+ // where you want to deploy your permission set.
+ //
+ // CustomerManagedPolicyReference is a required field
+ CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure" required:"true"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the PermissionSet.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachCustomerManagedPolicyReferenceFromPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachCustomerManagedPolicyReferenceFromPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DetachCustomerManagedPolicyReferenceFromPermissionSetInput"}
+ if s.CustomerManagedPolicyReference == nil {
+ invalidParams.Add(request.NewErrParamRequired("CustomerManagedPolicyReference"))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+ if s.CustomerManagedPolicyReference != nil {
+ if err := s.CustomerManagedPolicyReference.Validate(); err != nil {
+ invalidParams.AddNested("CustomerManagedPolicyReference", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCustomerManagedPolicyReference sets the CustomerManagedPolicyReference field's value.
+func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) SetCustomerManagedPolicyReference(v *CustomerManagedPolicyReference) *DetachCustomerManagedPolicyReferenceFromPermissionSetInput {
+ s.CustomerManagedPolicyReference = v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) SetInstanceArn(v string) *DetachCustomerManagedPolicyReferenceFromPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) SetPermissionSetArn(v string) *DetachCustomerManagedPolicyReferenceFromPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type DetachCustomerManagedPolicyReferenceFromPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+type DetachManagedPolicyFromPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The Amazon Web Services managed policy ARN to be detached from a permission
+ // set.
+ //
+ // ManagedPolicyArn is a required field
+ ManagedPolicyArn *string `min:"20" type:"string" required:"true"`
+
+ // The ARN of the PermissionSet from which the policy should be detached.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachManagedPolicyFromPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachManagedPolicyFromPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DetachManagedPolicyFromPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DetachManagedPolicyFromPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.ManagedPolicyArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ManagedPolicyArn"))
+ }
+ if s.ManagedPolicyArn != nil && len(*s.ManagedPolicyArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("ManagedPolicyArn", 20))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *DetachManagedPolicyFromPermissionSetInput) SetInstanceArn(v string) *DetachManagedPolicyFromPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetManagedPolicyArn sets the ManagedPolicyArn field's value.
+func (s *DetachManagedPolicyFromPermissionSetInput) SetManagedPolicyArn(v string) *DetachManagedPolicyFromPermissionSetInput {
+ s.ManagedPolicyArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *DetachManagedPolicyFromPermissionSetInput) SetPermissionSetArn(v string) *DetachManagedPolicyFromPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type DetachManagedPolicyFromPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachManagedPolicyFromPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DetachManagedPolicyFromPermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+// A structure that describes how the portal represents an application provider.
+type DisplayData struct {
+ _ struct{} `type:"structure"`
+
+ // The description of the application provider that appears in the portal.
+ Description *string `min:"1" type:"string"`
+
+ // The name of the application provider that appears in the portal.
+ DisplayName *string `min:"1" type:"string"`
+
+ // A URL that points to an icon that represents the application provider.
+ IconUrl *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisplayData) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DisplayData) GoString() string {
+ return s.String()
+}
+
+// SetDescription sets the Description field's value.
+func (s *DisplayData) SetDescription(v string) *DisplayData {
+ s.Description = &v
+ return s
+}
+
+// SetDisplayName sets the DisplayName field's value.
+func (s *DisplayData) SetDisplayName(v string) *DisplayData {
+ s.DisplayName = &v
+ return s
+}
+
+// SetIconUrl sets the IconUrl field's value.
+func (s *DisplayData) SetIconUrl(v string) *DisplayData {
+ s.IconUrl = &v
+ return s
+}
+
+type GetApplicationAccessScopeInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application with the access scope that you want
+ // to retrieve.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the name of the access scope for which you want the authorized
+ // targets.
+ //
+ // Scope is a required field
+ Scope *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAccessScopeInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAccessScopeInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetApplicationAccessScopeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetApplicationAccessScopeInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.Scope == nil {
+ invalidParams.Add(request.NewErrParamRequired("Scope"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *GetApplicationAccessScopeInput) SetApplicationArn(v string) *GetApplicationAccessScopeInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *GetApplicationAccessScopeInput) SetScope(v string) *GetApplicationAccessScopeInput {
+ s.Scope = &v
+ return s
+}
+
+type GetApplicationAccessScopeOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An array of authorized targets associated with this access scope.
+ AuthorizedTargets []*string `min:"1" type:"list"`
+
+ // The name of the access scope that can be used with the authorized targets.
+ //
+ // Scope is a required field
+ Scope *string `type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAccessScopeOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAccessScopeOutput) GoString() string {
+ return s.String()
+}
+
+// SetAuthorizedTargets sets the AuthorizedTargets field's value.
+func (s *GetApplicationAccessScopeOutput) SetAuthorizedTargets(v []*string) *GetApplicationAccessScopeOutput {
+ s.AuthorizedTargets = v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *GetApplicationAccessScopeOutput) SetScope(v string) *GetApplicationAccessScopeOutput {
+ s.Scope = &v
+ return s
+}
+
+type GetApplicationAssignmentConfigurationInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application. For more information about ARNs, see
+ // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAssignmentConfigurationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAssignmentConfigurationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetApplicationAssignmentConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetApplicationAssignmentConfigurationInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *GetApplicationAssignmentConfigurationInput) SetApplicationArn(v string) *GetApplicationAssignmentConfigurationInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+type GetApplicationAssignmentConfigurationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // If AssignmentsRequired is true (default value), users don’t have access
+ // to the application unless an assignment is created using the CreateApplicationAssignment
+ // API (https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplicationAssignment.html).
+ // If false, all users have access to the application.
+ //
+ // AssignmentRequired is a required field
+ AssignmentRequired *bool `type:"boolean" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAssignmentConfigurationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAssignmentConfigurationOutput) GoString() string {
+ return s.String()
+}
+
+// SetAssignmentRequired sets the AssignmentRequired field's value.
+func (s *GetApplicationAssignmentConfigurationOutput) SetAssignmentRequired(v bool) *GetApplicationAssignmentConfigurationOutput {
+ s.AssignmentRequired = &v
+ return s
+}
+
+type GetApplicationAuthenticationMethodInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the type of authentication method for which you want details.
+ //
+ // AuthenticationMethodType is a required field
+ AuthenticationMethodType *string `type:"string" required:"true" enum:"AuthenticationMethodType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAuthenticationMethodInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAuthenticationMethodInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetApplicationAuthenticationMethodInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetApplicationAuthenticationMethodInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.AuthenticationMethodType == nil {
+ invalidParams.Add(request.NewErrParamRequired("AuthenticationMethodType"))
+ }
-// The value used for mapping a specified attribute to an identity source. For
-// more information, see Attribute mappings (https://docs.aws.amazon.com/singlesignon/latest/userguide/attributemappingsconcept.html)
-// in the IAM Identity Center User Guide.
-type AccessControlAttributeValue struct {
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *GetApplicationAuthenticationMethodInput) SetApplicationArn(v string) *GetApplicationAuthenticationMethodInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetAuthenticationMethodType sets the AuthenticationMethodType field's value.
+func (s *GetApplicationAuthenticationMethodInput) SetAuthenticationMethodType(v string) *GetApplicationAuthenticationMethodInput {
+ s.AuthenticationMethodType = &v
+ return s
+}
+
+type GetApplicationAuthenticationMethodOutput struct {
_ struct{} `type:"structure"`
- // The identity source to use when mapping a specified attribute to IAM Identity
- // Center.
+ // A structure that contains details about the requested authentication method.
+ AuthenticationMethod *AuthenticationMethod `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAuthenticationMethodOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationAuthenticationMethodOutput) GoString() string {
+ return s.String()
+}
+
+// SetAuthenticationMethod sets the AuthenticationMethod field's value.
+func (s *GetApplicationAuthenticationMethodOutput) SetAuthenticationMethod(v *AuthenticationMethod) *GetApplicationAuthenticationMethodOutput {
+ s.AuthenticationMethod = v
+ return s
+}
+
+type GetApplicationGrantInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application that contains the grant.
//
- // Source is a required field
- Source []*string `min:"1" type:"list" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the type of grant.
+ //
+ // GrantType is a required field
+ GrantType *string `type:"string" required:"true" enum:"GrantType"`
}
// String returns the string representation.
@@ -4385,7 +13479,7 @@ type AccessControlAttributeValue struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccessControlAttributeValue) String() string {
+func (s GetApplicationGrantInput) String() string {
return awsutil.Prettify(s)
}
@@ -4394,18 +13488,21 @@ func (s AccessControlAttributeValue) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccessControlAttributeValue) GoString() string {
+func (s GetApplicationGrantInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *AccessControlAttributeValue) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AccessControlAttributeValue"}
- if s.Source == nil {
- invalidParams.Add(request.NewErrParamRequired("Source"))
+func (s *GetApplicationGrantInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetApplicationGrantInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.Source != nil && len(s.Source) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Source", 1))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.GrantType == nil {
+ invalidParams.Add(request.NewErrParamRequired("GrantType"))
}
if invalidParams.Len() > 0 {
@@ -4414,18 +13511,226 @@ func (s *AccessControlAttributeValue) Validate() error {
return nil
}
-// SetSource sets the Source field's value.
-func (s *AccessControlAttributeValue) SetSource(v []*string) *AccessControlAttributeValue {
- s.Source = v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *GetApplicationGrantInput) SetApplicationArn(v string) *GetApplicationGrantInput {
+ s.ApplicationArn = &v
+ return s
+}
+
+// SetGrantType sets the GrantType field's value.
+func (s *GetApplicationGrantInput) SetGrantType(v string) *GetApplicationGrantInput {
+ s.GrantType = &v
+ return s
+}
+
+type GetApplicationGrantOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A structure that describes the requested grant.
+ //
+ // Grant is a required field
+ Grant *Grant `type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationGrantOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetApplicationGrantOutput) GoString() string {
+ return s.String()
+}
+
+// SetGrant sets the Grant field's value.
+func (s *GetApplicationGrantOutput) SetGrant(v *Grant) *GetApplicationGrantOutput {
+ s.Grant = v
+ return s
+}
+
+type GetInlinePolicyForPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the permission set.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInlinePolicyForPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInlinePolicyForPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetInlinePolicyForPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetInlinePolicyForPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *GetInlinePolicyForPermissionSetInput) SetInstanceArn(v string) *GetInlinePolicyForPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *GetInlinePolicyForPermissionSetInput) SetPermissionSetArn(v string) *GetInlinePolicyForPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type GetInlinePolicyForPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The inline policy that is attached to the permission set.
+ //
+ // For Length Constraints, if a valid ARN is provided for a permission set,
+ // it is possible for an empty inline policy to be returned.
+ InlinePolicy *string `min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInlinePolicyForPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInlinePolicyForPermissionSetOutput) GoString() string {
+ return s.String()
+}
+
+// SetInlinePolicy sets the InlinePolicy field's value.
+func (s *GetInlinePolicyForPermissionSetOutput) SetInlinePolicy(v string) *GetInlinePolicyForPermissionSetOutput {
+ s.InlinePolicy = &v
+ return s
+}
+
+type GetPermissionsBoundaryForPermissionSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The ARN of the PermissionSet.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetPermissionsBoundaryForPermissionSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetPermissionsBoundaryForPermissionSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetPermissionsBoundaryForPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetPermissionsBoundaryForPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *GetPermissionsBoundaryForPermissionSetInput) SetInstanceArn(v string) *GetPermissionsBoundaryForPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *GetPermissionsBoundaryForPermissionSetInput) SetPermissionSetArn(v string) *GetPermissionsBoundaryForPermissionSetInput {
+ s.PermissionSetArn = &v
return s
}
-// You do not have sufficient access to perform this action.
-type AccessDeniedException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+type GetPermissionsBoundaryForPermissionSetOutput struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"Message" type:"string"`
+ // The permissions boundary attached to the specified permission set.
+ PermissionsBoundary *PermissionsBoundary `type:"structure"`
}
// String returns the string representation.
@@ -4433,7 +13738,7 @@ type AccessDeniedException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccessDeniedException) String() string {
+func (s GetPermissionsBoundaryForPermissionSetOutput) String() string {
return awsutil.Prettify(s)
}
@@ -4442,72 +13747,25 @@ func (s AccessDeniedException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccessDeniedException) GoString() string {
+func (s GetPermissionsBoundaryForPermissionSetOutput) GoString() string {
return s.String()
}
-func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
- return &AccessDeniedException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *AccessDeniedException) Code() string {
- return "AccessDeniedException"
-}
-
-// Message returns the exception's message.
-func (s *AccessDeniedException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *AccessDeniedException) OrigErr() error {
- return nil
-}
-
-func (s *AccessDeniedException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *AccessDeniedException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
-
-// RequestID returns the service's response RequestID for request.
-func (s *AccessDeniedException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetPermissionsBoundary sets the PermissionsBoundary field's value.
+func (s *GetPermissionsBoundaryForPermissionSetOutput) SetPermissionsBoundary(v *PermissionsBoundary) *GetPermissionsBoundaryForPermissionSetOutput {
+ s.PermissionsBoundary = v
+ return s
}
-// The assignment that indicates a principal's limited access to a specified
-// Amazon Web Services account with a specified permission set.
-//
-// The term principal here refers to a user or group that is defined in IAM
-// Identity Center.
-type AccountAssignment struct {
+// ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+type Grant struct {
_ struct{} `type:"structure"`
- // The identifier of the Amazon Web Services account.
- AccountId *string `min:"12" type:"string"`
-
- // The ARN of the permission set. For more information about ARNs, see Amazon
- // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
- PermissionSetArn *string `min:"10" type:"string"`
-
- // An identifier for an object in IAM Identity Center, such as a user or group.
- // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
- // For more information about PrincipalIds in IAM Identity Center, see the IAM
- // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
- PrincipalId *string `min:"1" type:"string"`
+ // ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+ AuthorizationCode *AuthorizationCodeGrant `type:"structure"`
- // The entity type for which the assignment will be created.
- PrincipalType *string `type:"string" enum:"PrincipalType"`
+ // ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+ JwtBearer *JwtBearerGrant `type:"structure"`
}
// String returns the string representation.
@@ -4515,7 +13773,7 @@ type AccountAssignment struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAssignment) String() string {
+func (s Grant) String() string {
return awsutil.Prettify(s)
}
@@ -4524,71 +13782,55 @@ func (s AccountAssignment) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAssignment) GoString() string {
+func (s Grant) GoString() string {
return s.String()
}
-// SetAccountId sets the AccountId field's value.
-func (s *AccountAssignment) SetAccountId(v string) *AccountAssignment {
- s.AccountId = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Grant) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Grant"}
+ if s.AuthorizationCode != nil {
+ if err := s.AuthorizationCode.Validate(); err != nil {
+ invalidParams.AddNested("AuthorizationCode", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.JwtBearer != nil {
+ if err := s.JwtBearer.Validate(); err != nil {
+ invalidParams.AddNested("JwtBearer", err.(request.ErrInvalidParams))
+ }
+ }
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *AccountAssignment) SetPermissionSetArn(v string) *AccountAssignment {
- s.PermissionSetArn = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetPrincipalId sets the PrincipalId field's value.
-func (s *AccountAssignment) SetPrincipalId(v string) *AccountAssignment {
- s.PrincipalId = &v
+// SetAuthorizationCode sets the AuthorizationCode field's value.
+func (s *Grant) SetAuthorizationCode(v *AuthorizationCodeGrant) *Grant {
+ s.AuthorizationCode = v
return s
}
-// SetPrincipalType sets the PrincipalType field's value.
-func (s *AccountAssignment) SetPrincipalType(v string) *AccountAssignment {
- s.PrincipalType = &v
+// SetJwtBearer sets the JwtBearer field's value.
+func (s *Grant) SetJwtBearer(v *JwtBearerGrant) *Grant {
+ s.JwtBearer = v
return s
}
-// The status of the creation or deletion operation of an assignment that a
-// principal needs to access an account.
-type AccountAssignmentOperationStatus struct {
+// ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+type GrantItem struct {
_ struct{} `type:"structure"`
- // The date that the permission set was created.
- CreatedDate *time.Time `type:"timestamp"`
-
- // The message that contains an error or exception in case of an operation failure.
- FailureReason *string `type:"string"`
-
- // The ARN of the permission set. For more information about ARNs, see Amazon
- // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
- PermissionSetArn *string `min:"10" type:"string"`
-
- // An identifier for an object in IAM Identity Center, such as a user or group.
- // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
- // For more information about PrincipalIds in IAM Identity Center, see the IAM
- // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
- PrincipalId *string `min:"1" type:"string"`
-
- // The entity type for which the assignment will be created.
- PrincipalType *string `type:"string" enum:"PrincipalType"`
-
- // The identifier for tracking the request operation that is generated by the
- // universally unique identifier (UUID) workflow.
- RequestId *string `min:"36" type:"string"`
-
- // The status of the permission set provisioning process.
- Status *string `type:"string" enum:"StatusValues"`
-
- // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
- TargetId *string `min:"12" type:"string"`
+ // ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+ //
+ // Grant is a required field
+ Grant *Grant `type:"structure" required:"true"`
- // The entity type for which the assignment will be created.
- TargetType *string `type:"string" enum:"TargetType"`
+ // ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+ //
+ // GrantType is a required field
+ GrantType *string `type:"string" required:"true" enum:"GrantType"`
}
// String returns the string representation.
@@ -4596,7 +13838,7 @@ type AccountAssignmentOperationStatus struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAssignmentOperationStatus) String() string {
+func (s GrantItem) String() string {
return awsutil.Prettify(s)
}
@@ -4605,77 +13847,107 @@ func (s AccountAssignmentOperationStatus) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAssignmentOperationStatus) GoString() string {
+func (s GrantItem) GoString() string {
return s.String()
}
-// SetCreatedDate sets the CreatedDate field's value.
-func (s *AccountAssignmentOperationStatus) SetCreatedDate(v time.Time) *AccountAssignmentOperationStatus {
- s.CreatedDate = &v
+// SetGrant sets the Grant field's value.
+func (s *GrantItem) SetGrant(v *Grant) *GrantItem {
+ s.Grant = v
return s
}
-// SetFailureReason sets the FailureReason field's value.
-func (s *AccountAssignmentOperationStatus) SetFailureReason(v string) *AccountAssignmentOperationStatus {
- s.FailureReason = &v
+// SetGrantType sets the GrantType field's value.
+func (s *GrantItem) SetGrantType(v string) *GrantItem {
+ s.GrantType = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *AccountAssignmentOperationStatus) SetPermissionSetArn(v string) *AccountAssignmentOperationStatus {
- s.PermissionSetArn = &v
- return s
-}
+// Specifies the attributes to add to your attribute-based access control (ABAC)
+// configuration.
+type InstanceAccessControlAttributeConfiguration struct {
+ _ struct{} `type:"structure"`
-// SetPrincipalId sets the PrincipalId field's value.
-func (s *AccountAssignmentOperationStatus) SetPrincipalId(v string) *AccountAssignmentOperationStatus {
- s.PrincipalId = &v
- return s
+ // Lists the attributes that are configured for ABAC in the specified IAM Identity
+ // Center instance.
+ //
+ // AccessControlAttributes is a required field
+ AccessControlAttributes []*AccessControlAttribute `type:"list" required:"true"`
}
-// SetPrincipalType sets the PrincipalType field's value.
-func (s *AccountAssignmentOperationStatus) SetPrincipalType(v string) *AccountAssignmentOperationStatus {
- s.PrincipalType = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceAccessControlAttributeConfiguration) String() string {
+ return awsutil.Prettify(s)
}
-// SetRequestId sets the RequestId field's value.
-func (s *AccountAssignmentOperationStatus) SetRequestId(v string) *AccountAssignmentOperationStatus {
- s.RequestId = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceAccessControlAttributeConfiguration) GoString() string {
+ return s.String()
}
-// SetStatus sets the Status field's value.
-func (s *AccountAssignmentOperationStatus) SetStatus(v string) *AccountAssignmentOperationStatus {
- s.Status = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *InstanceAccessControlAttributeConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "InstanceAccessControlAttributeConfiguration"}
+ if s.AccessControlAttributes == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccessControlAttributes"))
+ }
+ if s.AccessControlAttributes != nil {
+ for i, v := range s.AccessControlAttributes {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AccessControlAttributes", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
-// SetTargetId sets the TargetId field's value.
-func (s *AccountAssignmentOperationStatus) SetTargetId(v string) *AccountAssignmentOperationStatus {
- s.TargetId = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetTargetType sets the TargetType field's value.
-func (s *AccountAssignmentOperationStatus) SetTargetType(v string) *AccountAssignmentOperationStatus {
- s.TargetType = &v
+// SetAccessControlAttributes sets the AccessControlAttributes field's value.
+func (s *InstanceAccessControlAttributeConfiguration) SetAccessControlAttributes(v []*AccessControlAttribute) *InstanceAccessControlAttributeConfiguration {
+ s.AccessControlAttributes = v
return s
}
-// Provides information about the AccountAssignment creation request.
-type AccountAssignmentOperationStatusMetadata struct {
+// Provides information about the IAM Identity Center instance.
+type InstanceMetadata struct {
_ struct{} `type:"structure"`
- // The date that the permission set was created.
+ // The date and time that the Identity Center instance was created.
CreatedDate *time.Time `type:"timestamp"`
- // The identifier for tracking the request operation that is generated by the
- // universally unique identifier (UUID) workflow.
- RequestId *string `min:"36" type:"string"`
+ // The identifier of the identity store that is connected to the Identity Center
+ // instance.
+ IdentityStoreId *string `min:"1" type:"string"`
- // The status of the permission set provisioning process.
- Status *string `type:"string" enum:"StatusValues"`
+ // The ARN of the Identity Center instance under which the operation will be
+ // executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ InstanceArn *string `min:"10" type:"string"`
+
+ // The name of the Identity Center instance.
+ Name *string `type:"string"`
+
+ // The Amazon Web Services account ID number of the owner of the Identity Center
+ // instance.
+ OwnerAccountId *string `min:"12" type:"string"`
+
+ // The current status of this Identity Center instance.
+ Status *string `type:"string" enum:"InstanceStatus"`
}
// String returns the string representation.
@@ -4683,7 +13955,7 @@ type AccountAssignmentOperationStatusMetadata struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAssignmentOperationStatusMetadata) String() string {
+func (s InstanceMetadata) String() string {
return awsutil.Prettify(s)
}
@@ -4692,48 +13964,53 @@ func (s AccountAssignmentOperationStatusMetadata) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AccountAssignmentOperationStatusMetadata) GoString() string {
+func (s InstanceMetadata) GoString() string {
return s.String()
}
-// SetCreatedDate sets the CreatedDate field's value.
-func (s *AccountAssignmentOperationStatusMetadata) SetCreatedDate(v time.Time) *AccountAssignmentOperationStatusMetadata {
- s.CreatedDate = &v
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *InstanceMetadata) SetCreatedDate(v time.Time) *InstanceMetadata {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetIdentityStoreId sets the IdentityStoreId field's value.
+func (s *InstanceMetadata) SetIdentityStoreId(v string) *InstanceMetadata {
+ s.IdentityStoreId = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *InstanceMetadata) SetInstanceArn(v string) *InstanceMetadata {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InstanceMetadata) SetName(v string) *InstanceMetadata {
+ s.Name = &v
return s
}
-// SetRequestId sets the RequestId field's value.
-func (s *AccountAssignmentOperationStatusMetadata) SetRequestId(v string) *AccountAssignmentOperationStatusMetadata {
- s.RequestId = &v
+// SetOwnerAccountId sets the OwnerAccountId field's value.
+func (s *InstanceMetadata) SetOwnerAccountId(v string) *InstanceMetadata {
+ s.OwnerAccountId = &v
return s
}
// SetStatus sets the Status field's value.
-func (s *AccountAssignmentOperationStatusMetadata) SetStatus(v string) *AccountAssignmentOperationStatusMetadata {
+func (s *InstanceMetadata) SetStatus(v string) *InstanceMetadata {
s.Status = &v
return s
}
-type AttachCustomerManagedPolicyReferenceToPermissionSetInput struct {
- _ struct{} `type:"structure"`
-
- // Specifies the name and path of a customer managed policy. You must have an
- // IAM policy that matches the name and path in each Amazon Web Services account
- // where you want to deploy your permission set.
- //
- // CustomerManagedPolicyReference is a required field
- CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure" required:"true"`
-
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+// The request processing has failed because of an unknown error, exception,
+// or failure with an internal server.
+type InternalServerException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // The ARN of the PermissionSet.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ Message_ *string `locationName:"Message" type:"string"`
}
// String returns the string representation.
@@ -4741,7 +14018,7 @@ type AttachCustomerManagedPolicyReferenceToPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AttachCustomerManagedPolicyReferenceToPermissionSetInput) String() string {
+func (s InternalServerException) String() string {
return awsutil.Prettify(s)
}
@@ -4750,60 +14027,54 @@ func (s AttachCustomerManagedPolicyReferenceToPermissionSetInput) String() strin
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AttachCustomerManagedPolicyReferenceToPermissionSetInput) GoString() string {
+func (s InternalServerException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AttachCustomerManagedPolicyReferenceToPermissionSetInput"}
- if s.CustomerManagedPolicyReference == nil {
- invalidParams.Add(request.NewErrParamRequired("CustomerManagedPolicyReference"))
- }
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
- }
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
- }
- if s.CustomerManagedPolicyReference != nil {
- if err := s.CustomerManagedPolicyReference.Validate(); err != nil {
- invalidParams.AddNested("CustomerManagedPolicyReference", err.(request.ErrInvalidParams))
- }
+func newErrorInternalServerException(v protocol.ResponseMetadata) error {
+ return &InternalServerException{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
+// Code returns the exception type name.
+func (s *InternalServerException) Code() string {
+ return "InternalServerException"
+}
+
+// Message returns the exception's message.
+func (s *InternalServerException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
}
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InternalServerException) OrigErr() error {
return nil
}
-// SetCustomerManagedPolicyReference sets the CustomerManagedPolicyReference field's value.
-func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) SetCustomerManagedPolicyReference(v *CustomerManagedPolicyReference) *AttachCustomerManagedPolicyReferenceToPermissionSetInput {
- s.CustomerManagedPolicyReference = v
- return s
+func (s *InternalServerException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) SetInstanceArn(v string) *AttachCustomerManagedPolicyReferenceToPermissionSetInput {
- s.InstanceArn = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *InternalServerException) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *AttachCustomerManagedPolicyReferenceToPermissionSetInput) SetPermissionSetArn(v string) *AttachCustomerManagedPolicyReferenceToPermissionSetInput {
- s.PermissionSetArn = &v
- return s
+// RequestID returns the service's response RequestID for request.
+func (s *InternalServerException) RequestID() string {
+ return s.RespMetadata.RequestID
}
-type AttachCustomerManagedPolicyReferenceToPermissionSetOutput struct {
+// ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+type JwtBearerGrant struct {
_ struct{} `type:"structure"`
+
+ // ~~~[ TODO: ADD DESCRIPTION HERE ]~~~
+ AuthorizedTokenIssuers []*AuthorizedTokenIssuer `min:"1" type:"list"`
}
// String returns the string representation.
@@ -4811,7 +14082,7 @@ type AttachCustomerManagedPolicyReferenceToPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AttachCustomerManagedPolicyReferenceToPermissionSetOutput) String() string {
+func (s JwtBearerGrant) String() string {
return awsutil.Prettify(s)
}
@@ -4820,13 +14091,45 @@ func (s AttachCustomerManagedPolicyReferenceToPermissionSetOutput) String() stri
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AttachCustomerManagedPolicyReferenceToPermissionSetOutput) GoString() string {
+func (s JwtBearerGrant) GoString() string {
return s.String()
}
-type AttachManagedPolicyToPermissionSetInput struct {
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *JwtBearerGrant) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "JwtBearerGrant"}
+ if s.AuthorizedTokenIssuers != nil && len(s.AuthorizedTokenIssuers) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AuthorizedTokenIssuers", 1))
+ }
+ if s.AuthorizedTokenIssuers != nil {
+ for i, v := range s.AuthorizedTokenIssuers {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AuthorizedTokenIssuers", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAuthorizedTokenIssuers sets the AuthorizedTokenIssuers field's value.
+func (s *JwtBearerGrant) SetAuthorizedTokenIssuers(v []*AuthorizedTokenIssuer) *JwtBearerGrant {
+ s.AuthorizedTokenIssuers = v
+ return s
+}
+
+type ListAccountAssignmentCreationStatusInput struct {
_ struct{} `type:"structure"`
+ // Filters results based on the passed attribute value.
+ Filter *OperationStatusFilter `type:"structure"`
+
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
@@ -4835,16 +14138,12 @@ type AttachManagedPolicyToPermissionSetInput struct {
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The Amazon Web Services managed policy ARN to be attached to a permission
- // set.
- //
- // ManagedPolicyArn is a required field
- ManagedPolicyArn *string `min:"20" type:"string" required:"true"`
+ // The maximum number of results to display for the assignment.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The ARN of the PermissionSet that the managed policy should be attached to.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -4852,7 +14151,7 @@ type AttachManagedPolicyToPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AttachManagedPolicyToPermissionSetInput) String() string {
+func (s ListAccountAssignmentCreationStatusInput) String() string {
return awsutil.Prettify(s)
}
@@ -4861,30 +14160,21 @@ func (s AttachManagedPolicyToPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AttachManagedPolicyToPermissionSetInput) GoString() string {
+func (s ListAccountAssignmentCreationStatusInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *AttachManagedPolicyToPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AttachManagedPolicyToPermissionSetInput"}
+func (s *ListAccountAssignmentCreationStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentCreationStatusInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.ManagedPolicyArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ManagedPolicyArn"))
- }
- if s.ManagedPolicyArn != nil && len(*s.ManagedPolicyArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("ManagedPolicyArn", 20))
- }
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -4893,99 +14183,39 @@ func (s *AttachManagedPolicyToPermissionSetInput) Validate() error {
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *AttachManagedPolicyToPermissionSetInput) SetInstanceArn(v string) *AttachManagedPolicyToPermissionSetInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetManagedPolicyArn sets the ManagedPolicyArn field's value.
-func (s *AttachManagedPolicyToPermissionSetInput) SetManagedPolicyArn(v string) *AttachManagedPolicyToPermissionSetInput {
- s.ManagedPolicyArn = &v
+// SetFilter sets the Filter field's value.
+func (s *ListAccountAssignmentCreationStatusInput) SetFilter(v *OperationStatusFilter) *ListAccountAssignmentCreationStatusInput {
+ s.Filter = v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *AttachManagedPolicyToPermissionSetInput) SetPermissionSetArn(v string) *AttachManagedPolicyToPermissionSetInput {
- s.PermissionSetArn = &v
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *ListAccountAssignmentCreationStatusInput) SetInstanceArn(v string) *ListAccountAssignmentCreationStatusInput {
+ s.InstanceArn = &v
return s
}
-type AttachManagedPolicyToPermissionSetOutput struct {
- _ struct{} `type:"structure"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AttachManagedPolicyToPermissionSetOutput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AttachManagedPolicyToPermissionSetOutput) GoString() string {
- return s.String()
-}
-
-// A structure that stores the details of the Amazon Web Services managed policy.
-type AttachedManagedPolicy struct {
- _ struct{} `type:"structure"`
-
- // The ARN of the Amazon Web Services managed policy. For more information about
- // ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
- // (/general/latest/gr/aws-arns-and-namespaces.html) in the Amazon Web Services
- // General Reference.
- Arn *string `min:"20" type:"string"`
-
- // The name of the Amazon Web Services managed policy.
- Name *string `min:"1" type:"string"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AttachedManagedPolicy) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AttachedManagedPolicy) GoString() string {
- return s.String()
-}
-
-// SetArn sets the Arn field's value.
-func (s *AttachedManagedPolicy) SetArn(v string) *AttachedManagedPolicy {
- s.Arn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAccountAssignmentCreationStatusInput) SetMaxResults(v int64) *ListAccountAssignmentCreationStatusInput {
+ s.MaxResults = &v
return s
}
-// SetName sets the Name field's value.
-func (s *AttachedManagedPolicy) SetName(v string) *AttachedManagedPolicy {
- s.Name = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentCreationStatusInput) SetNextToken(v string) *ListAccountAssignmentCreationStatusInput {
+ s.NextToken = &v
return s
}
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-type ConflictException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"Message" type:"string"`
+type ListAccountAssignmentCreationStatusOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status object for the account assignment creation operation.
+ AccountAssignmentsCreationStatus []*AccountAssignmentOperationStatusMetadata `type:"list"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -4993,7 +14223,7 @@ type ConflictException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) String() string {
+func (s ListAccountAssignmentCreationStatusOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5002,51 +14232,28 @@ func (s ConflictException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) GoString() string {
+func (s ListAccountAssignmentCreationStatusOutput) GoString() string {
return s.String()
}
-func newErrorConflictException(v protocol.ResponseMetadata) error {
- return &ConflictException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *ConflictException) Code() string {
- return "ConflictException"
-}
-
-// Message returns the exception's message.
-func (s *ConflictException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ConflictException) OrigErr() error {
- return nil
-}
-
-func (s *ConflictException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *ConflictException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetAccountAssignmentsCreationStatus sets the AccountAssignmentsCreationStatus field's value.
+func (s *ListAccountAssignmentCreationStatusOutput) SetAccountAssignmentsCreationStatus(v []*AccountAssignmentOperationStatusMetadata) *ListAccountAssignmentCreationStatusOutput {
+ s.AccountAssignmentsCreationStatus = v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *ConflictException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentCreationStatusOutput) SetNextToken(v string) *ListAccountAssignmentCreationStatusOutput {
+ s.NextToken = &v
+ return s
}
-type CreateAccountAssignmentInput struct {
+type ListAccountAssignmentDeletionStatusInput struct {
_ struct{} `type:"structure"`
+ // Filters results based on the passed attribute value.
+ Filter *OperationStatusFilter `type:"structure"`
+
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
@@ -5055,34 +14262,12 @@ type CreateAccountAssignmentInput struct {
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The ARN of the permission set that the admin wants to grant the principal
- // access to.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
-
- // An identifier for an object in IAM Identity Center, such as a user or group.
- // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
- // For more information about PrincipalIds in IAM Identity Center, see the IAM
- // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
- //
- // PrincipalId is a required field
- PrincipalId *string `min:"1" type:"string" required:"true"`
-
- // The entity type for which the assignment will be created.
- //
- // PrincipalType is a required field
- PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
-
- // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
- //
- // TargetId is a required field
- TargetId *string `min:"12" type:"string" required:"true"`
+ // The maximum number of results to display for the assignment.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The entity type for which the assignment will be created.
- //
- // TargetType is a required field
- TargetType *string `type:"string" required:"true" enum:"TargetType"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -5090,7 +14275,7 @@ type CreateAccountAssignmentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAccountAssignmentInput) String() string {
+func (s ListAccountAssignmentDeletionStatusInput) String() string {
return awsutil.Prettify(s)
}
@@ -5099,42 +14284,21 @@ func (s CreateAccountAssignmentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAccountAssignmentInput) GoString() string {
+func (s ListAccountAssignmentDeletionStatusInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateAccountAssignmentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateAccountAssignmentInput"}
+func (s *ListAccountAssignmentDeletionStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentDeletionStatusInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
- }
- if s.PrincipalId == nil {
- invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
- }
- if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
- }
- if s.PrincipalType == nil {
- invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
- }
- if s.TargetId == nil {
- invalidParams.Add(request.NewErrParamRequired("TargetId"))
- }
- if s.TargetId != nil && len(*s.TargetId) < 12 {
- invalidParams.Add(request.NewErrParamMinLen("TargetId", 12))
- }
- if s.TargetType == nil {
- invalidParams.Add(request.NewErrParamRequired("TargetType"))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -5143,47 +14307,78 @@ func (s *CreateAccountAssignmentInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *ListAccountAssignmentDeletionStatusInput) SetFilter(v *OperationStatusFilter) *ListAccountAssignmentDeletionStatusInput {
+ s.Filter = v
+ return s
+}
+
// SetInstanceArn sets the InstanceArn field's value.
-func (s *CreateAccountAssignmentInput) SetInstanceArn(v string) *CreateAccountAssignmentInput {
+func (s *ListAccountAssignmentDeletionStatusInput) SetInstanceArn(v string) *ListAccountAssignmentDeletionStatusInput {
s.InstanceArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *CreateAccountAssignmentInput) SetPermissionSetArn(v string) *CreateAccountAssignmentInput {
- s.PermissionSetArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAccountAssignmentDeletionStatusInput) SetMaxResults(v int64) *ListAccountAssignmentDeletionStatusInput {
+ s.MaxResults = &v
return s
}
-// SetPrincipalId sets the PrincipalId field's value.
-func (s *CreateAccountAssignmentInput) SetPrincipalId(v string) *CreateAccountAssignmentInput {
- s.PrincipalId = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentDeletionStatusInput) SetNextToken(v string) *ListAccountAssignmentDeletionStatusInput {
+ s.NextToken = &v
return s
}
-// SetPrincipalType sets the PrincipalType field's value.
-func (s *CreateAccountAssignmentInput) SetPrincipalType(v string) *CreateAccountAssignmentInput {
- s.PrincipalType = &v
- return s
+type ListAccountAssignmentDeletionStatusOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The status object for the account assignment deletion operation.
+ AccountAssignmentsDeletionStatus []*AccountAssignmentOperationStatusMetadata `type:"list"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
-// SetTargetId sets the TargetId field's value.
-func (s *CreateAccountAssignmentInput) SetTargetId(v string) *CreateAccountAssignmentInput {
- s.TargetId = &v
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListAccountAssignmentDeletionStatusOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListAccountAssignmentDeletionStatusOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountAssignmentsDeletionStatus sets the AccountAssignmentsDeletionStatus field's value.
+func (s *ListAccountAssignmentDeletionStatusOutput) SetAccountAssignmentsDeletionStatus(v []*AccountAssignmentOperationStatusMetadata) *ListAccountAssignmentDeletionStatusOutput {
+ s.AccountAssignmentsDeletionStatus = v
return s
}
-// SetTargetType sets the TargetType field's value.
-func (s *CreateAccountAssignmentInput) SetTargetType(v string) *CreateAccountAssignmentInput {
- s.TargetType = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentDeletionStatusOutput) SetNextToken(v string) *ListAccountAssignmentDeletionStatusOutput {
+ s.NextToken = &v
return s
}
-type CreateAccountAssignmentOutput struct {
+// A structure that describes a filter for account assignments.
+type ListAccountAssignmentsFilter struct {
_ struct{} `type:"structure"`
- // The status object for the account assignment creation operation.
- AccountAssignmentCreationStatus *AccountAssignmentOperationStatus `type:"structure"`
+ // The ID number of an Amazon Web Services account that filters the results
+ // in the response.
+ AccountId *string `min:"12" type:"string"`
}
// String returns the string representation.
@@ -5191,7 +14386,7 @@ type CreateAccountAssignmentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAccountAssignmentOutput) String() string {
+func (s ListAccountAssignmentsFilter) String() string {
return awsutil.Prettify(s)
}
@@ -5200,35 +14395,68 @@ func (s CreateAccountAssignmentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAccountAssignmentOutput) GoString() string {
+func (s ListAccountAssignmentsFilter) GoString() string {
return s.String()
}
-// SetAccountAssignmentCreationStatus sets the AccountAssignmentCreationStatus field's value.
-func (s *CreateAccountAssignmentOutput) SetAccountAssignmentCreationStatus(v *AccountAssignmentOperationStatus) *CreateAccountAssignmentOutput {
- s.AccountAssignmentCreationStatus = v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListAccountAssignmentsFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentsFilter"}
+ if s.AccountId != nil && len(*s.AccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *ListAccountAssignmentsFilter) SetAccountId(v string) *ListAccountAssignmentsFilter {
+ s.AccountId = &v
return s
}
-type CreateInstanceAccessControlAttributeConfigurationInput struct {
+type ListAccountAssignmentsForPrincipalInput struct {
_ struct{} `type:"structure"`
- // Specifies the IAM Identity Center identity store attributes to add to your
- // ABAC configuration. When using an external identity provider as an identity
- // source, you can pass attributes through the SAML assertion. Doing so provides
- // an alternative to configuring attributes from the IAM Identity Center identity
- // store. If a SAML assertion passes any of these attributes, IAM Identity Center
- // will replace the attribute value with the value from the IAM Identity Center
- // identity store.
- //
- // InstanceAccessControlAttributeConfiguration is a required field
- InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure" required:"true"`
+ // Specifies an Amazon Web Services account ID number. Results are filtered
+ // to only those that match this ID number.
+ Filter *ListAccountAssignmentsFilter `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
+ // Specifies the ARN of the instance of IAM Identity Center that contains the
+ // principal.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the total number of results that you want included in each response.
+ // If additional items exist beyond the number you specify, the NextToken response
+ // element is returned with a value (not null). Include the specified value
+ // as the NextToken request parameter in the next call to the operation to get
+ // the next set of results. Note that the service might return fewer results
+ // than the maximum even when there are more results available. You should check
+ // NextToken after every operation to ensure that you receive all of the results.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
+
+ // Specifies the principal for which you want to retrieve the list of account
+ // assignments.
+ //
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // Specifies the type of the principal.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
}
// String returns the string representation.
@@ -5236,7 +14464,7 @@ type CreateInstanceAccessControlAttributeConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInstanceAccessControlAttributeConfigurationInput) String() string {
+func (s ListAccountAssignmentsForPrincipalInput) String() string {
return awsutil.Prettify(s)
}
@@ -5245,25 +14473,34 @@ func (s CreateInstanceAccessControlAttributeConfigurationInput) String() string
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInstanceAccessControlAttributeConfigurationInput) GoString() string {
+func (s ListAccountAssignmentsForPrincipalInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateInstanceAccessControlAttributeConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateInstanceAccessControlAttributeConfigurationInput"}
- if s.InstanceAccessControlAttributeConfiguration == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceAccessControlAttributeConfiguration"))
- }
+func (s *ListAccountAssignmentsForPrincipalInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentsForPrincipalInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.InstanceAccessControlAttributeConfiguration != nil {
- if err := s.InstanceAccessControlAttributeConfiguration.Validate(); err != nil {
- invalidParams.AddNested("InstanceAccessControlAttributeConfiguration", err.(request.ErrInvalidParams))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.PrincipalId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
+ }
+ if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+ if s.Filter != nil {
+ if err := s.Filter.Validate(); err != nil {
+ invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
}
}
@@ -5273,20 +14510,54 @@ func (s *CreateInstanceAccessControlAttributeConfigurationInput) Validate() erro
return nil
}
-// SetInstanceAccessControlAttributeConfiguration sets the InstanceAccessControlAttributeConfiguration field's value.
-func (s *CreateInstanceAccessControlAttributeConfigurationInput) SetInstanceAccessControlAttributeConfiguration(v *InstanceAccessControlAttributeConfiguration) *CreateInstanceAccessControlAttributeConfigurationInput {
- s.InstanceAccessControlAttributeConfiguration = v
+// SetFilter sets the Filter field's value.
+func (s *ListAccountAssignmentsForPrincipalInput) SetFilter(v *ListAccountAssignmentsFilter) *ListAccountAssignmentsForPrincipalInput {
+ s.Filter = v
return s
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *CreateInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *CreateInstanceAccessControlAttributeConfigurationInput {
+func (s *ListAccountAssignmentsForPrincipalInput) SetInstanceArn(v string) *ListAccountAssignmentsForPrincipalInput {
s.InstanceArn = &v
return s
}
-type CreateInstanceAccessControlAttributeConfigurationOutput struct {
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAccountAssignmentsForPrincipalInput) SetMaxResults(v int64) *ListAccountAssignmentsForPrincipalInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentsForPrincipalInput) SetNextToken(v string) *ListAccountAssignmentsForPrincipalInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *ListAccountAssignmentsForPrincipalInput) SetPrincipalId(v string) *ListAccountAssignmentsForPrincipalInput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *ListAccountAssignmentsForPrincipalInput) SetPrincipalType(v string) *ListAccountAssignmentsForPrincipalInput {
+ s.PrincipalType = &v
+ return s
+}
+
+type ListAccountAssignmentsForPrincipalOutput struct {
_ struct{} `type:"structure"`
+
+ // An array list of the account assignments for the principal.
+ AccountAssignments []*AccountAssignmentForPrincipal `type:"list"`
+
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -5294,7 +14565,7 @@ type CreateInstanceAccessControlAttributeConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInstanceAccessControlAttributeConfigurationOutput) String() string {
+func (s ListAccountAssignmentsForPrincipalOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5303,15 +14574,30 @@ func (s CreateInstanceAccessControlAttributeConfigurationOutput) String() string
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateInstanceAccessControlAttributeConfigurationOutput) GoString() string {
+func (s ListAccountAssignmentsForPrincipalOutput) GoString() string {
return s.String()
}
-type CreatePermissionSetInput struct {
+// SetAccountAssignments sets the AccountAssignments field's value.
+func (s *ListAccountAssignmentsForPrincipalOutput) SetAccountAssignments(v []*AccountAssignmentForPrincipal) *ListAccountAssignmentsForPrincipalOutput {
+ s.AccountAssignments = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentsForPrincipalOutput) SetNextToken(v string) *ListAccountAssignmentsForPrincipalOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListAccountAssignmentsInput struct {
_ struct{} `type:"structure"`
- // The description of the PermissionSet.
- Description *string `min:"1" type:"string"`
+ // The identifier of the Amazon Web Services account from which to list the
+ // assignments.
+ //
+ // AccountId is a required field
+ AccountId *string `min:"12" type:"string" required:"true"`
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
@@ -5321,21 +14607,17 @@ type CreatePermissionSetInput struct {
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The name of the PermissionSet.
- //
- // Name is a required field
- Name *string `min:"1" type:"string" required:"true"`
-
- // Used to redirect users within the application during the federation authentication
- // process.
- RelayState *string `min:"1" type:"string"`
+ // The maximum number of results to display for the assignment.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The length of time that the application user sessions are valid in the ISO-8601
- // standard.
- SessionDuration *string `min:"1" type:"string"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
- // The tags to attach to the new PermissionSet.
- Tags []*Tag `type:"list"`
+ // The ARN of the permission set from which to list assignments.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
}
// String returns the string representation.
@@ -5343,7 +14625,7 @@ type CreatePermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreatePermissionSetInput) String() string {
+func (s ListAccountAssignmentsInput) String() string {
return awsutil.Prettify(s)
}
@@ -5352,15 +14634,18 @@ func (s CreatePermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreatePermissionSetInput) GoString() string {
+func (s ListAccountAssignmentsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreatePermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreatePermissionSetInput"}
- if s.Description != nil && len(*s.Description) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+func (s *ListAccountAssignmentsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentsInput"}
+ if s.AccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountId"))
+ }
+ if s.AccountId != nil && len(*s.AccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
@@ -5368,27 +14653,14 @@ func (s *CreatePermissionSetInput) Validate() error {
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if s.RelayState != nil && len(*s.RelayState) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("RelayState", 1))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.SessionDuration != nil && len(*s.SessionDuration) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("SessionDuration", 1))
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
}
- if s.Tags != nil {
- for i, v := range s.Tags {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
}
if invalidParams.Len() > 0 {
@@ -5397,90 +14669,46 @@ func (s *CreatePermissionSetInput) Validate() error {
return nil
}
-// SetDescription sets the Description field's value.
-func (s *CreatePermissionSetInput) SetDescription(v string) *CreatePermissionSetInput {
- s.Description = &v
+// SetAccountId sets the AccountId field's value.
+func (s *ListAccountAssignmentsInput) SetAccountId(v string) *ListAccountAssignmentsInput {
+ s.AccountId = &v
return s
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *CreatePermissionSetInput) SetInstanceArn(v string) *CreatePermissionSetInput {
+func (s *ListAccountAssignmentsInput) SetInstanceArn(v string) *ListAccountAssignmentsInput {
s.InstanceArn = &v
return s
}
-// SetName sets the Name field's value.
-func (s *CreatePermissionSetInput) SetName(v string) *CreatePermissionSetInput {
- s.Name = &v
- return s
-}
-
-// SetRelayState sets the RelayState field's value.
-func (s *CreatePermissionSetInput) SetRelayState(v string) *CreatePermissionSetInput {
- s.RelayState = &v
- return s
-}
-
-// SetSessionDuration sets the SessionDuration field's value.
-func (s *CreatePermissionSetInput) SetSessionDuration(v string) *CreatePermissionSetInput {
- s.SessionDuration = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAccountAssignmentsInput) SetMaxResults(v int64) *ListAccountAssignmentsInput {
+ s.MaxResults = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreatePermissionSetInput) SetTags(v []*Tag) *CreatePermissionSetInput {
- s.Tags = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentsInput) SetNextToken(v string) *ListAccountAssignmentsInput {
+ s.NextToken = &v
return s
}
-type CreatePermissionSetOutput struct {
- _ struct{} `type:"structure"`
-
- // Defines the level of access on an Amazon Web Services account.
- PermissionSet *PermissionSet `type:"structure"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s CreatePermissionSetOutput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s CreatePermissionSetOutput) GoString() string {
- return s.String()
-}
-
-// SetPermissionSet sets the PermissionSet field's value.
-func (s *CreatePermissionSetOutput) SetPermissionSet(v *PermissionSet) *CreatePermissionSetOutput {
- s.PermissionSet = v
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *ListAccountAssignmentsInput) SetPermissionSetArn(v string) *ListAccountAssignmentsInput {
+ s.PermissionSetArn = &v
return s
}
-// Specifies the name and path of a customer managed policy. You must have an
-// IAM policy that matches the name and path in each Amazon Web Services account
-// where you want to deploy your permission set.
-type CustomerManagedPolicyReference struct {
+type ListAccountAssignmentsOutput struct {
_ struct{} `type:"structure"`
- // The name of the IAM policy that you have configured in each account where
- // you want to deploy your permission set.
- //
- // Name is a required field
- Name *string `min:"1" type:"string" required:"true"`
+ // The list of assignments that match the input Amazon Web Services account
+ // and permission set.
+ AccountAssignments []*AccountAssignment `type:"list"`
- // The path to the IAM policy that you have configured in each account where
- // you want to deploy your permission set. The default is /. For more information,
- // see Friendly names and paths (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names)
- // in the IAM User Guide.
- Path *string `min:"1" type:"string"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -5488,7 +14716,7 @@ type CustomerManagedPolicyReference struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CustomerManagedPolicyReference) String() string {
+func (s ListAccountAssignmentsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5497,42 +14725,23 @@ func (s CustomerManagedPolicyReference) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CustomerManagedPolicyReference) GoString() string {
+func (s ListAccountAssignmentsOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *CustomerManagedPolicyReference) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CustomerManagedPolicyReference"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.Name != nil && len(*s.Name) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Name", 1))
- }
- if s.Path != nil && len(*s.Path) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Path", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetName sets the Name field's value.
-func (s *CustomerManagedPolicyReference) SetName(v string) *CustomerManagedPolicyReference {
- s.Name = &v
+// SetAccountAssignments sets the AccountAssignments field's value.
+func (s *ListAccountAssignmentsOutput) SetAccountAssignments(v []*AccountAssignment) *ListAccountAssignmentsOutput {
+ s.AccountAssignments = v
return s
}
-// SetPath sets the Path field's value.
-func (s *CustomerManagedPolicyReference) SetPath(v string) *CustomerManagedPolicyReference {
- s.Path = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountAssignmentsOutput) SetNextToken(v string) *ListAccountAssignmentsOutput {
+ s.NextToken = &v
return s
}
-type DeleteAccountAssignmentInput struct {
+type ListAccountsForProvisionedPermissionSetInput struct {
_ struct{} `type:"structure"`
// The ARN of the IAM Identity Center instance under which the operation will
@@ -5543,33 +14752,21 @@ type DeleteAccountAssignmentInput struct {
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The ARN of the permission set that will be used to remove access.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
-
- // An identifier for an object in IAM Identity Center, such as a user or group.
- // PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6).
- // For more information about PrincipalIds in IAM Identity Center, see the IAM
- // Identity Center Identity Store API Reference (/singlesignon/latest/IdentityStoreAPIReference/welcome.html).
- //
- // PrincipalId is a required field
- PrincipalId *string `min:"1" type:"string" required:"true"`
-
- // The entity type for which the assignment will be deleted.
- //
- // PrincipalType is a required field
- PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+ // The maximum number of results to display for the PermissionSet.
+ MaxResults *int64 `min:"1" type:"integer"`
- // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
- //
- // TargetId is a required field
- TargetId *string `min:"12" type:"string" required:"true"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
- // The entity type for which the assignment will be deleted.
+ // The ARN of the PermissionSet from which the associated Amazon Web Services
+ // accounts will be listed.
//
- // TargetType is a required field
- TargetType *string `type:"string" required:"true" enum:"TargetType"`
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+
+ // The permission set provisioning status for an Amazon Web Services account.
+ ProvisioningStatus *string `type:"string" enum:"ProvisioningStatus"`
}
// String returns the string representation.
@@ -5577,7 +14774,7 @@ type DeleteAccountAssignmentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAccountAssignmentInput) String() string {
+func (s ListAccountsForProvisionedPermissionSetInput) String() string {
return awsutil.Prettify(s)
}
@@ -5586,43 +14783,28 @@ func (s DeleteAccountAssignmentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAccountAssignmentInput) GoString() string {
+func (s ListAccountsForProvisionedPermissionSetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteAccountAssignmentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteAccountAssignmentInput"}
+func (s *ListAccountsForProvisionedPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAccountsForProvisionedPermissionSetInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
if s.PermissionSetArn == nil {
invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
}
if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
}
- if s.PrincipalId == nil {
- invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
- }
- if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
- }
- if s.PrincipalType == nil {
- invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
- }
- if s.TargetId == nil {
- invalidParams.Add(request.NewErrParamRequired("TargetId"))
- }
- if s.TargetId != nil && len(*s.TargetId) < 12 {
- invalidParams.Add(request.NewErrParamMinLen("TargetId", 12))
- }
- if s.TargetType == nil {
- invalidParams.Add(request.NewErrParamRequired("TargetType"))
- }
if invalidParams.Len() > 0 {
return invalidParams
@@ -5631,46 +14813,44 @@ func (s *DeleteAccountAssignmentInput) Validate() error {
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *DeleteAccountAssignmentInput) SetInstanceArn(v string) *DeleteAccountAssignmentInput {
+func (s *ListAccountsForProvisionedPermissionSetInput) SetInstanceArn(v string) *ListAccountsForProvisionedPermissionSetInput {
s.InstanceArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *DeleteAccountAssignmentInput) SetPermissionSetArn(v string) *DeleteAccountAssignmentInput {
- s.PermissionSetArn = &v
- return s
-}
-
-// SetPrincipalId sets the PrincipalId field's value.
-func (s *DeleteAccountAssignmentInput) SetPrincipalId(v string) *DeleteAccountAssignmentInput {
- s.PrincipalId = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAccountsForProvisionedPermissionSetInput) SetMaxResults(v int64) *ListAccountsForProvisionedPermissionSetInput {
+ s.MaxResults = &v
return s
}
-// SetPrincipalType sets the PrincipalType field's value.
-func (s *DeleteAccountAssignmentInput) SetPrincipalType(v string) *DeleteAccountAssignmentInput {
- s.PrincipalType = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountsForProvisionedPermissionSetInput) SetNextToken(v string) *ListAccountsForProvisionedPermissionSetInput {
+ s.NextToken = &v
return s
}
-// SetTargetId sets the TargetId field's value.
-func (s *DeleteAccountAssignmentInput) SetTargetId(v string) *DeleteAccountAssignmentInput {
- s.TargetId = &v
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *ListAccountsForProvisionedPermissionSetInput) SetPermissionSetArn(v string) *ListAccountsForProvisionedPermissionSetInput {
+ s.PermissionSetArn = &v
return s
}
-// SetTargetType sets the TargetType field's value.
-func (s *DeleteAccountAssignmentInput) SetTargetType(v string) *DeleteAccountAssignmentInput {
- s.TargetType = &v
+// SetProvisioningStatus sets the ProvisioningStatus field's value.
+func (s *ListAccountsForProvisionedPermissionSetInput) SetProvisioningStatus(v string) *ListAccountsForProvisionedPermissionSetInput {
+ s.ProvisioningStatus = &v
return s
}
-type DeleteAccountAssignmentOutput struct {
+type ListAccountsForProvisionedPermissionSetOutput struct {
_ struct{} `type:"structure"`
- // The status object for the account assignment deletion operation.
- AccountAssignmentDeletionStatus *AccountAssignmentOperationStatus `type:"structure"`
+ // The list of Amazon Web Services AccountIds.
+ AccountIds []*string `type:"list"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -5678,7 +14858,7 @@ type DeleteAccountAssignmentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAccountAssignmentOutput) String() string {
+func (s ListAccountsForProvisionedPermissionSetOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5687,31 +14867,45 @@ func (s DeleteAccountAssignmentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAccountAssignmentOutput) GoString() string {
+func (s ListAccountsForProvisionedPermissionSetOutput) GoString() string {
return s.String()
}
-// SetAccountAssignmentDeletionStatus sets the AccountAssignmentDeletionStatus field's value.
-func (s *DeleteAccountAssignmentOutput) SetAccountAssignmentDeletionStatus(v *AccountAssignmentOperationStatus) *DeleteAccountAssignmentOutput {
- s.AccountAssignmentDeletionStatus = v
+// SetAccountIds sets the AccountIds field's value.
+func (s *ListAccountsForProvisionedPermissionSetOutput) SetAccountIds(v []*string) *ListAccountsForProvisionedPermissionSetOutput {
+ s.AccountIds = v
return s
}
-type DeleteInlinePolicyFromPermissionSetInput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListAccountsForProvisionedPermissionSetOutput) SetNextToken(v string) *ListAccountsForProvisionedPermissionSetOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListApplicationAccessScopesInput struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // Specifies the ARN of the application.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the total number of results that you want included in each response.
+ // If additional items exist beyond the number you specify, the NextToken response
+ // element is returned with a value (not null). Include the specified value
+ // as the NextToken request parameter in the next call to the operation to get
+ // the next set of results. Note that the service might return fewer results
+ // than the maximum even when there are more results available. You should check
+ // NextToken after every operation to ensure that you receive all of the results.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The ARN of the permission set that will be used to remove access.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -5719,7 +14913,7 @@ type DeleteInlinePolicyFromPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInlinePolicyFromPermissionSetInput) String() string {
+func (s ListApplicationAccessScopesInput) String() string {
return awsutil.Prettify(s)
}
@@ -5728,24 +14922,21 @@ func (s DeleteInlinePolicyFromPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInlinePolicyFromPermissionSetInput) GoString() string {
+func (s ListApplicationAccessScopesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteInlinePolicyFromPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteInlinePolicyFromPermissionSetInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+func (s *ListApplicationAccessScopesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationAccessScopesInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -5754,20 +14945,39 @@ func (s *DeleteInlinePolicyFromPermissionSetInput) Validate() error {
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *DeleteInlinePolicyFromPermissionSetInput) SetInstanceArn(v string) *DeleteInlinePolicyFromPermissionSetInput {
- s.InstanceArn = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *ListApplicationAccessScopesInput) SetApplicationArn(v string) *ListApplicationAccessScopesInput {
+ s.ApplicationArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *DeleteInlinePolicyFromPermissionSetInput) SetPermissionSetArn(v string) *DeleteInlinePolicyFromPermissionSetInput {
- s.PermissionSetArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListApplicationAccessScopesInput) SetMaxResults(v int64) *ListApplicationAccessScopesInput {
+ s.MaxResults = &v
return s
}
-type DeleteInlinePolicyFromPermissionSetOutput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAccessScopesInput) SetNextToken(v string) *ListApplicationAccessScopesInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListApplicationAccessScopesOutput struct {
_ struct{} `type:"structure"`
+
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
+
+ // An array list of access scopes and their authorized targets that are associated
+ // with the application.
+ //
+ // Scopes is a required field
+ Scopes []*ScopeDetails `type:"list" required:"true"`
}
// String returns the string representation.
@@ -5775,7 +14985,7 @@ type DeleteInlinePolicyFromPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInlinePolicyFromPermissionSetOutput) String() string {
+func (s ListApplicationAccessScopesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5784,18 +14994,28 @@ func (s DeleteInlinePolicyFromPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInlinePolicyFromPermissionSetOutput) GoString() string {
+func (s ListApplicationAccessScopesOutput) GoString() string {
return s.String()
}
-type DeleteInstanceAccessControlAttributeConfigurationInput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAccessScopesOutput) SetNextToken(v string) *ListApplicationAccessScopesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScopes sets the Scopes field's value.
+func (s *ListApplicationAccessScopesOutput) SetScopes(v []*ScopeDetails) *ListApplicationAccessScopesOutput {
+ s.Scopes = v
+ return s
+}
+
+// A structure that describes a filter for application assignments.
+type ListApplicationAssignmentsFilter struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // The ARN of an application.
+ ApplicationArn *string `min:"10" type:"string"`
}
// String returns the string representation.
@@ -5803,7 +15023,7 @@ type DeleteInstanceAccessControlAttributeConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInstanceAccessControlAttributeConfigurationInput) String() string {
+func (s ListApplicationAssignmentsFilter) String() string {
return awsutil.Prettify(s)
}
@@ -5812,18 +15032,15 @@ func (s DeleteInstanceAccessControlAttributeConfigurationInput) String() string
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteInstanceAccessControlAttributeConfigurationInput) GoString() string {
+func (s ListApplicationAssignmentsFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteInstanceAccessControlAttributeConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceAccessControlAttributeConfigurationInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+func (s *ListApplicationAssignmentsFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationAssignmentsFilter"}
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
if invalidParams.Len() > 0 {
@@ -5832,49 +15049,51 @@ func (s *DeleteInstanceAccessControlAttributeConfigurationInput) Validate() erro
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *DeleteInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *DeleteInstanceAccessControlAttributeConfigurationInput {
- s.InstanceArn = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *ListApplicationAssignmentsFilter) SetApplicationArn(v string) *ListApplicationAssignmentsFilter {
+ s.ApplicationArn = &v
return s
}
-type DeleteInstanceAccessControlAttributeConfigurationOutput struct {
+type ListApplicationAssignmentsForPrincipalInput struct {
_ struct{} `type:"structure"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DeleteInstanceAccessControlAttributeConfigurationOutput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DeleteInstanceAccessControlAttributeConfigurationOutput) GoString() string {
- return s.String()
-}
-type DeletePermissionSetInput struct {
- _ struct{} `type:"structure"`
+ // Filters the output to include only assignments associated with the application
+ // that has the specified ARN.
+ Filter *ListApplicationAssignmentsFilter `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // Specifies the instance of IAM Identity Center that contains principal and
+ // applications.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The ARN of the permission set that should be deleted.
+ // Specifies the total number of results that you want included in each response.
+ // If additional items exist beyond the number you specify, the NextToken response
+ // element is returned with a value (not null). Include the specified value
+ // as the NextToken request parameter in the next call to the operation to get
+ // the next set of results. Note that the service might return fewer results
+ // than the maximum even when there are more results available. You should check
+ // NextToken after every operation to ensure that you receive all of the results.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
+
+ // Specifies the unique identifier of the principal for which you want to retrieve
+ // its assignments.
//
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // PrincipalId is a required field
+ PrincipalId *string `min:"1" type:"string" required:"true"`
+
+ // Specifies the type of the principal for which you want to retrieve its assignments.
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
}
// String returns the string representation.
@@ -5882,7 +15101,7 @@ type DeletePermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionSetInput) String() string {
+func (s ListApplicationAssignmentsForPrincipalInput) String() string {
return awsutil.Prettify(s)
}
@@ -5891,24 +15110,35 @@ func (s DeletePermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionSetInput) GoString() string {
+func (s ListApplicationAssignmentsForPrincipalInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeletePermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeletePermissionSetInput"}
+func (s *ListApplicationAssignmentsForPrincipalInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationAssignmentsForPrincipalInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.PrincipalId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
+ }
+ if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+ if s.Filter != nil {
+ if err := s.Filter.Validate(); err != nil {
+ invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
+ }
}
if invalidParams.Len() > 0 {
@@ -5917,20 +15147,54 @@ func (s *DeletePermissionSetInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *ListApplicationAssignmentsForPrincipalInput) SetFilter(v *ListApplicationAssignmentsFilter) *ListApplicationAssignmentsForPrincipalInput {
+ s.Filter = v
+ return s
+}
+
// SetInstanceArn sets the InstanceArn field's value.
-func (s *DeletePermissionSetInput) SetInstanceArn(v string) *DeletePermissionSetInput {
+func (s *ListApplicationAssignmentsForPrincipalInput) SetInstanceArn(v string) *ListApplicationAssignmentsForPrincipalInput {
s.InstanceArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *DeletePermissionSetInput) SetPermissionSetArn(v string) *DeletePermissionSetInput {
- s.PermissionSetArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListApplicationAssignmentsForPrincipalInput) SetMaxResults(v int64) *ListApplicationAssignmentsForPrincipalInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAssignmentsForPrincipalInput) SetNextToken(v string) *ListApplicationAssignmentsForPrincipalInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *ListApplicationAssignmentsForPrincipalInput) SetPrincipalId(v string) *ListApplicationAssignmentsForPrincipalInput {
+ s.PrincipalId = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *ListApplicationAssignmentsForPrincipalInput) SetPrincipalType(v string) *ListApplicationAssignmentsForPrincipalInput {
+ s.PrincipalType = &v
return s
}
-type DeletePermissionSetOutput struct {
+type ListApplicationAssignmentsForPrincipalOutput struct {
_ struct{} `type:"structure"`
+
+ // An array list of the application assignments for the specified principal.
+ ApplicationAssignments []*ApplicationAssignmentForPrincipal `type:"list"`
+
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -5938,7 +15202,7 @@ type DeletePermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionSetOutput) String() string {
+func (s ListApplicationAssignmentsForPrincipalOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5947,23 +15211,45 @@ func (s DeletePermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionSetOutput) GoString() string {
+func (s ListApplicationAssignmentsForPrincipalOutput) GoString() string {
return s.String()
}
-type DeletePermissionsBoundaryFromPermissionSetInput struct {
+// SetApplicationAssignments sets the ApplicationAssignments field's value.
+func (s *ListApplicationAssignmentsForPrincipalOutput) SetApplicationAssignments(v []*ApplicationAssignmentForPrincipal) *ListApplicationAssignmentsForPrincipalOutput {
+ s.ApplicationAssignments = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAssignmentsForPrincipalOutput) SetNextToken(v string) *ListApplicationAssignmentsForPrincipalOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListApplicationAssignmentsInput struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
+ // Specifies the ARN of the application.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies the total number of results that you want included in each response.
+ // If additional items exist beyond the number you specify, the NextToken response
+ // element is returned with a value (not null). Include the specified value
+ // as the NextToken request parameter in the next call to the operation to get
+ // the next set of results. Note that the service might return fewer results
+ // than the maximum even when there are more results available. You should check
+ // NextToken after every operation to ensure that you receive all of the results.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The ARN of the PermissionSet.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -5971,7 +15257,7 @@ type DeletePermissionsBoundaryFromPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionsBoundaryFromPermissionSetInput) String() string {
+func (s ListApplicationAssignmentsInput) String() string {
return awsutil.Prettify(s)
}
@@ -5980,24 +15266,21 @@ func (s DeletePermissionsBoundaryFromPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionsBoundaryFromPermissionSetInput) GoString() string {
+func (s ListApplicationAssignmentsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeletePermissionsBoundaryFromPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeletePermissionsBoundaryFromPermissionSetInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+func (s *ListApplicationAssignmentsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationAssignmentsInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -6006,20 +15289,36 @@ func (s *DeletePermissionsBoundaryFromPermissionSetInput) Validate() error {
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *DeletePermissionsBoundaryFromPermissionSetInput) SetInstanceArn(v string) *DeletePermissionsBoundaryFromPermissionSetInput {
- s.InstanceArn = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *ListApplicationAssignmentsInput) SetApplicationArn(v string) *ListApplicationAssignmentsInput {
+ s.ApplicationArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *DeletePermissionsBoundaryFromPermissionSetInput) SetPermissionSetArn(v string) *DeletePermissionsBoundaryFromPermissionSetInput {
- s.PermissionSetArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListApplicationAssignmentsInput) SetMaxResults(v int64) *ListApplicationAssignmentsInput {
+ s.MaxResults = &v
return s
}
-type DeletePermissionsBoundaryFromPermissionSetOutput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAssignmentsInput) SetNextToken(v string) *ListApplicationAssignmentsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListApplicationAssignmentsOutput struct {
_ struct{} `type:"structure"`
+
+ // The list of users assigned to an application.
+ ApplicationAssignments []*ApplicationAssignment `type:"list"`
+
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6027,7 +15326,7 @@ type DeletePermissionsBoundaryFromPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionsBoundaryFromPermissionSetOutput) String() string {
+func (s ListApplicationAssignmentsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6036,25 +15335,37 @@ func (s DeletePermissionsBoundaryFromPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeletePermissionsBoundaryFromPermissionSetOutput) GoString() string {
+func (s ListApplicationAssignmentsOutput) GoString() string {
return s.String()
}
-type DescribeAccountAssignmentCreationStatusInput struct {
- _ struct{} `type:"structure"`
+// SetApplicationAssignments sets the ApplicationAssignments field's value.
+func (s *ListApplicationAssignmentsOutput) SetApplicationAssignments(v []*ApplicationAssignment) *ListApplicationAssignmentsOutput {
+ s.ApplicationAssignments = v
+ return s
+}
- // The identifier that is used to track the request operation progress.
- //
- // AccountAssignmentCreationRequestId is a required field
- AccountAssignmentCreationRequestId *string `min:"36" type:"string" required:"true"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAssignmentsOutput) SetNextToken(v string) *ListApplicationAssignmentsOutput {
+ s.NextToken = &v
+ return s
+}
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+type ListApplicationAuthenticationMethodsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the ARN of the application with the authentication methods you
+ // want to list.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6062,7 +15373,7 @@ type DescribeAccountAssignmentCreationStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentCreationStatusInput) String() string {
+func (s ListApplicationAuthenticationMethodsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6071,24 +15382,18 @@ func (s DescribeAccountAssignmentCreationStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentCreationStatusInput) GoString() string {
+func (s ListApplicationAuthenticationMethodsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAccountAssignmentCreationStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAccountAssignmentCreationStatusInput"}
- if s.AccountAssignmentCreationRequestId == nil {
- invalidParams.Add(request.NewErrParamRequired("AccountAssignmentCreationRequestId"))
- }
- if s.AccountAssignmentCreationRequestId != nil && len(*s.AccountAssignmentCreationRequestId) < 36 {
- invalidParams.Add(request.NewErrParamMinLen("AccountAssignmentCreationRequestId", 36))
+func (s *ListApplicationAuthenticationMethodsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationAuthenticationMethodsInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
if invalidParams.Len() > 0 {
@@ -6097,23 +15402,30 @@ func (s *DescribeAccountAssignmentCreationStatusInput) Validate() error {
return nil
}
-// SetAccountAssignmentCreationRequestId sets the AccountAssignmentCreationRequestId field's value.
-func (s *DescribeAccountAssignmentCreationStatusInput) SetAccountAssignmentCreationRequestId(v string) *DescribeAccountAssignmentCreationStatusInput {
- s.AccountAssignmentCreationRequestId = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *ListApplicationAuthenticationMethodsInput) SetApplicationArn(v string) *ListApplicationAuthenticationMethodsInput {
+ s.ApplicationArn = &v
return s
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *DescribeAccountAssignmentCreationStatusInput) SetInstanceArn(v string) *DescribeAccountAssignmentCreationStatusInput {
- s.InstanceArn = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAuthenticationMethodsInput) SetNextToken(v string) *ListApplicationAuthenticationMethodsInput {
+ s.NextToken = &v
return s
}
-type DescribeAccountAssignmentCreationStatusOutput struct {
+type ListApplicationAuthenticationMethodsOutput struct {
_ struct{} `type:"structure"`
- // The status object for the account assignment creation operation.
- AccountAssignmentCreationStatus *AccountAssignmentOperationStatus `type:"structure"`
+ // An array list of authentication methods for the specified application.
+ AuthenticationMethods []*AuthenticationMethodItem `type:"list"`
+
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6121,7 +15433,7 @@ type DescribeAccountAssignmentCreationStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentCreationStatusOutput) String() string {
+func (s ListApplicationAuthenticationMethodsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6130,31 +15442,36 @@ func (s DescribeAccountAssignmentCreationStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentCreationStatusOutput) GoString() string {
+func (s ListApplicationAuthenticationMethodsOutput) GoString() string {
return s.String()
}
-// SetAccountAssignmentCreationStatus sets the AccountAssignmentCreationStatus field's value.
-func (s *DescribeAccountAssignmentCreationStatusOutput) SetAccountAssignmentCreationStatus(v *AccountAssignmentOperationStatus) *DescribeAccountAssignmentCreationStatusOutput {
- s.AccountAssignmentCreationStatus = v
+// SetAuthenticationMethods sets the AuthenticationMethods field's value.
+func (s *ListApplicationAuthenticationMethodsOutput) SetAuthenticationMethods(v []*AuthenticationMethodItem) *ListApplicationAuthenticationMethodsOutput {
+ s.AuthenticationMethods = v
return s
}
-type DescribeAccountAssignmentDeletionStatusInput struct {
- _ struct{} `type:"structure"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationAuthenticationMethodsOutput) SetNextToken(v string) *ListApplicationAuthenticationMethodsOutput {
+ s.NextToken = &v
+ return s
+}
- // The identifier that is used to track the request operation progress.
- //
- // AccountAssignmentDeletionRequestId is a required field
- AccountAssignmentDeletionRequestId *string `min:"36" type:"string" required:"true"`
+type ListApplicationGrantsInput struct {
+ _ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // Specifies the ARN of the application whose grants you want to list.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6162,7 +15479,7 @@ type DescribeAccountAssignmentDeletionStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentDeletionStatusInput) String() string {
+func (s ListApplicationGrantsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6171,24 +15488,18 @@ func (s DescribeAccountAssignmentDeletionStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentDeletionStatusInput) GoString() string {
+func (s ListApplicationGrantsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAccountAssignmentDeletionStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAccountAssignmentDeletionStatusInput"}
- if s.AccountAssignmentDeletionRequestId == nil {
- invalidParams.Add(request.NewErrParamRequired("AccountAssignmentDeletionRequestId"))
- }
- if s.AccountAssignmentDeletionRequestId != nil && len(*s.AccountAssignmentDeletionRequestId) < 36 {
- invalidParams.Add(request.NewErrParamMinLen("AccountAssignmentDeletionRequestId", 36))
- }
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+func (s *ListApplicationGrantsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationGrantsInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
if invalidParams.Len() > 0 {
@@ -6197,23 +15508,32 @@ func (s *DescribeAccountAssignmentDeletionStatusInput) Validate() error {
return nil
}
-// SetAccountAssignmentDeletionRequestId sets the AccountAssignmentDeletionRequestId field's value.
-func (s *DescribeAccountAssignmentDeletionStatusInput) SetAccountAssignmentDeletionRequestId(v string) *DescribeAccountAssignmentDeletionStatusInput {
- s.AccountAssignmentDeletionRequestId = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *ListApplicationGrantsInput) SetApplicationArn(v string) *ListApplicationGrantsInput {
+ s.ApplicationArn = &v
return s
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *DescribeAccountAssignmentDeletionStatusInput) SetInstanceArn(v string) *DescribeAccountAssignmentDeletionStatusInput {
- s.InstanceArn = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationGrantsInput) SetNextToken(v string) *ListApplicationGrantsInput {
+ s.NextToken = &v
return s
}
-type DescribeAccountAssignmentDeletionStatusOutput struct {
+type ListApplicationGrantsOutput struct {
_ struct{} `type:"structure"`
- // The status object for the account assignment deletion operation.
- AccountAssignmentDeletionStatus *AccountAssignmentOperationStatus `type:"structure"`
+ // An array list of structures that describe the requested grants.
+ //
+ // Grants is a required field
+ Grants []*GrantItem `type:"list" required:"true"`
+
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6221,7 +15541,7 @@ type DescribeAccountAssignmentDeletionStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentDeletionStatusOutput) String() string {
+func (s ListApplicationGrantsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6230,24 +15550,40 @@ func (s DescribeAccountAssignmentDeletionStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAccountAssignmentDeletionStatusOutput) GoString() string {
+func (s ListApplicationGrantsOutput) GoString() string {
return s.String()
}
-// SetAccountAssignmentDeletionStatus sets the AccountAssignmentDeletionStatus field's value.
-func (s *DescribeAccountAssignmentDeletionStatusOutput) SetAccountAssignmentDeletionStatus(v *AccountAssignmentOperationStatus) *DescribeAccountAssignmentDeletionStatusOutput {
- s.AccountAssignmentDeletionStatus = v
+// SetGrants sets the Grants field's value.
+func (s *ListApplicationGrantsOutput) SetGrants(v []*GrantItem) *ListApplicationGrantsOutput {
+ s.Grants = v
return s
}
-type DescribeInstanceAccessControlAttributeConfigurationInput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationGrantsOutput) SetNextToken(v string) *ListApplicationGrantsOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListApplicationProvidersInput struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // Specifies the total number of results that you want included in each response.
+ // If additional items exist beyond the number you specify, the NextToken response
+ // element is returned with a value (not null). Include the specified value
+ // as the NextToken request parameter in the next call to the operation to get
+ // the next set of results. Note that the service might return fewer results
+ // than the maximum even when there are more results available. You should check
+ // NextToken after every operation to ensure that you receive all of the results.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6255,7 +15591,7 @@ type DescribeInstanceAccessControlAttributeConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeInstanceAccessControlAttributeConfigurationInput) String() string {
+func (s ListApplicationProvidersInput) String() string {
return awsutil.Prettify(s)
}
@@ -6264,18 +15600,15 @@ func (s DescribeInstanceAccessControlAttributeConfigurationInput) String() strin
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeInstanceAccessControlAttributeConfigurationInput) GoString() string {
+func (s ListApplicationProvidersInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeInstanceAccessControlAttributeConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeInstanceAccessControlAttributeConfigurationInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+func (s *ListApplicationProvidersInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationProvidersInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -6284,24 +15617,30 @@ func (s *DescribeInstanceAccessControlAttributeConfigurationInput) Validate() er
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *DescribeInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *DescribeInstanceAccessControlAttributeConfigurationInput {
- s.InstanceArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListApplicationProvidersInput) SetMaxResults(v int64) *ListApplicationProvidersInput {
+ s.MaxResults = &v
return s
}
-type DescribeInstanceAccessControlAttributeConfigurationOutput struct {
- _ struct{} `type:"structure"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationProvidersInput) SetNextToken(v string) *ListApplicationProvidersInput {
+ s.NextToken = &v
+ return s
+}
- // Gets the list of IAM Identity Center identity store attributes that have
- // been added to your ABAC configuration.
- InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure"`
+type ListApplicationProvidersOutput struct {
+ _ struct{} `type:"structure"`
- // The status of the attribute configuration process.
- Status *string `type:"string" enum:"InstanceAccessControlAttributeConfigurationStatus"`
+ // An array list of structures that describe application providers.
+ ApplicationProviders []*ApplicationProvider `type:"list"`
- // Provides more details about the current status of the specified attribute.
- StatusReason *string `type:"string"`
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6309,7 +15648,7 @@ type DescribeInstanceAccessControlAttributeConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeInstanceAccessControlAttributeConfigurationOutput) String() string {
+func (s ListApplicationProvidersOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6318,43 +15657,109 @@ func (s DescribeInstanceAccessControlAttributeConfigurationOutput) String() stri
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeInstanceAccessControlAttributeConfigurationOutput) GoString() string {
+func (s ListApplicationProvidersOutput) GoString() string {
return s.String()
}
-// SetInstanceAccessControlAttributeConfiguration sets the InstanceAccessControlAttributeConfiguration field's value.
-func (s *DescribeInstanceAccessControlAttributeConfigurationOutput) SetInstanceAccessControlAttributeConfiguration(v *InstanceAccessControlAttributeConfiguration) *DescribeInstanceAccessControlAttributeConfigurationOutput {
- s.InstanceAccessControlAttributeConfiguration = v
+// SetApplicationProviders sets the ApplicationProviders field's value.
+func (s *ListApplicationProvidersOutput) SetApplicationProviders(v []*ApplicationProvider) *ListApplicationProvidersOutput {
+ s.ApplicationProviders = v
return s
}
-// SetStatus sets the Status field's value.
-func (s *DescribeInstanceAccessControlAttributeConfigurationOutput) SetStatus(v string) *DescribeInstanceAccessControlAttributeConfigurationOutput {
- s.Status = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationProvidersOutput) SetNextToken(v string) *ListApplicationProvidersOutput {
+ s.NextToken = &v
+ return s
+}
+
+// A structure that describes a filter for applications.
+type ListApplicationsFilter struct {
+ _ struct{} `type:"structure"`
+
+ // An Amazon Web Services account ID number that filters the results in the
+ // response.
+ ApplicationAccount *string `min:"12" type:"string"`
+
+ // The ARN of an application provider that can filter the results in the response.
+ ApplicationProvider *string `min:"10" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListApplicationsFilter) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListApplicationsFilter) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListApplicationsFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationsFilter"}
+ if s.ApplicationAccount != nil && len(*s.ApplicationAccount) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationAccount", 12))
+ }
+ if s.ApplicationProvider != nil && len(*s.ApplicationProvider) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationProvider", 10))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetApplicationAccount sets the ApplicationAccount field's value.
+func (s *ListApplicationsFilter) SetApplicationAccount(v string) *ListApplicationsFilter {
+ s.ApplicationAccount = &v
return s
}
-// SetStatusReason sets the StatusReason field's value.
-func (s *DescribeInstanceAccessControlAttributeConfigurationOutput) SetStatusReason(v string) *DescribeInstanceAccessControlAttributeConfigurationOutput {
- s.StatusReason = &v
+// SetApplicationProvider sets the ApplicationProvider field's value.
+func (s *ListApplicationsFilter) SetApplicationProvider(v string) *ListApplicationsFilter {
+ s.ApplicationProvider = &v
return s
}
-type DescribePermissionSetInput struct {
+type ListApplicationsInput struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // Filters response results.
+ Filter *ListApplicationsFilter `type:"structure"`
+
+ // The ARN of the IAM Identity Center application under which the operation
+ // will run. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
// in the Amazon Web Services General Reference.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The ARN of the permission set.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // Specifies the total number of results that you want included in each response.
+ // If additional items exist beyond the number you specify, the NextToken response
+ // element is returned with a value (not null). Include the specified value
+ // as the NextToken request parameter in the next call to the operation to get
+ // the next set of results. Note that the service might return fewer results
+ // than the maximum even when there are more results available. You should check
+ // NextToken after every operation to ensure that you receive all of the results.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6362,7 +15767,7 @@ type DescribePermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetInput) String() string {
+func (s ListApplicationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6371,24 +15776,26 @@ func (s DescribePermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetInput) GoString() string {
+func (s ListApplicationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribePermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribePermissionSetInput"}
+func (s *ListApplicationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListApplicationsInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.Filter != nil {
+ if err := s.Filter.Validate(); err != nil {
+ invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
+ }
}
if invalidParams.Len() > 0 {
@@ -6397,23 +15804,42 @@ func (s *DescribePermissionSetInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *ListApplicationsInput) SetFilter(v *ListApplicationsFilter) *ListApplicationsInput {
+ s.Filter = v
+ return s
+}
+
// SetInstanceArn sets the InstanceArn field's value.
-func (s *DescribePermissionSetInput) SetInstanceArn(v string) *DescribePermissionSetInput {
+func (s *ListApplicationsInput) SetInstanceArn(v string) *ListApplicationsInput {
s.InstanceArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *DescribePermissionSetInput) SetPermissionSetArn(v string) *DescribePermissionSetInput {
- s.PermissionSetArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListApplicationsInput) SetMaxResults(v int64) *ListApplicationsInput {
+ s.MaxResults = &v
return s
}
-type DescribePermissionSetOutput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListApplicationsOutput struct {
_ struct{} `type:"structure"`
- // Describes the level of access on an Amazon Web Services account.
- PermissionSet *PermissionSet `type:"structure"`
+ // Retrieves all applications associated with the instance.
+ Applications []*Application `type:"list"`
+
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6421,7 +15847,7 @@ type DescribePermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetOutput) String() string {
+func (s ListApplicationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6430,32 +15856,42 @@ func (s DescribePermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetOutput) GoString() string {
+func (s ListApplicationsOutput) GoString() string {
return s.String()
}
-// SetPermissionSet sets the PermissionSet field's value.
-func (s *DescribePermissionSetOutput) SetPermissionSet(v *PermissionSet) *DescribePermissionSetOutput {
- s.PermissionSet = v
+// SetApplications sets the Applications field's value.
+func (s *ListApplicationsOutput) SetApplications(v []*Application) *ListApplicationsOutput {
+ s.Applications = v
return s
}
-type DescribePermissionSetProvisioningStatusInput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListCustomerManagedPolicyReferencesInPermissionSetInput struct {
_ struct{} `type:"structure"`
// The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // be executed.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The identifier that is provided by the ProvisionPermissionSet call to retrieve
- // the current status of the provisioning workflow.
+ // The maximum number of results to display for the list call.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
+
+ // The ARN of the PermissionSet.
//
- // ProvisionPermissionSetRequestId is a required field
- ProvisionPermissionSetRequestId *string `min:"36" type:"string" required:"true"`
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6463,7 +15899,7 @@ type DescribePermissionSetProvisioningStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetProvisioningStatusInput) String() string {
+func (s ListCustomerManagedPolicyReferencesInPermissionSetInput) String() string {
return awsutil.Prettify(s)
}
@@ -6472,24 +15908,27 @@ func (s DescribePermissionSetProvisioningStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetProvisioningStatusInput) GoString() string {
+func (s ListCustomerManagedPolicyReferencesInPermissionSetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribePermissionSetProvisioningStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribePermissionSetProvisioningStatusInput"}
+func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListCustomerManagedPolicyReferencesInPermissionSetInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.ProvisionPermissionSetRequestId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisionPermissionSetRequestId"))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.ProvisionPermissionSetRequestId != nil && len(*s.ProvisionPermissionSetRequestId) < 36 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisionPermissionSetRequestId", 36))
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
}
if invalidParams.Len() > 0 {
@@ -6499,22 +15938,39 @@ func (s *DescribePermissionSetProvisioningStatusInput) Validate() error {
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *DescribePermissionSetProvisioningStatusInput) SetInstanceArn(v string) *DescribePermissionSetProvisioningStatusInput {
+func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetInstanceArn(v string) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
s.InstanceArn = &v
return s
}
-// SetProvisionPermissionSetRequestId sets the ProvisionPermissionSetRequestId field's value.
-func (s *DescribePermissionSetProvisioningStatusInput) SetProvisionPermissionSetRequestId(v string) *DescribePermissionSetProvisioningStatusInput {
- s.ProvisionPermissionSetRequestId = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetMaxResults(v int64) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
+ s.MaxResults = &v
return s
}
-type DescribePermissionSetProvisioningStatusOutput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetNextToken(v string) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetPermissionSetArn(v string) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+type ListCustomerManagedPolicyReferencesInPermissionSetOutput struct {
_ struct{} `type:"structure"`
- // The status object for the permission set provisioning operation.
- PermissionSetProvisioningStatus *PermissionSetProvisioningStatus `type:"structure"`
+ // Specifies the names and paths of the customer managed policies that you have
+ // attached to your permission set.
+ CustomerManagedPolicyReferences []*CustomerManagedPolicyReference `type:"list"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6522,7 +15978,7 @@ type DescribePermissionSetProvisioningStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetProvisioningStatusOutput) String() string {
+func (s ListCustomerManagedPolicyReferencesInPermissionSetOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6531,36 +15987,31 @@ func (s DescribePermissionSetProvisioningStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribePermissionSetProvisioningStatusOutput) GoString() string {
+func (s ListCustomerManagedPolicyReferencesInPermissionSetOutput) GoString() string {
return s.String()
}
-// SetPermissionSetProvisioningStatus sets the PermissionSetProvisioningStatus field's value.
-func (s *DescribePermissionSetProvisioningStatusOutput) SetPermissionSetProvisioningStatus(v *PermissionSetProvisioningStatus) *DescribePermissionSetProvisioningStatusOutput {
- s.PermissionSetProvisioningStatus = v
+// SetCustomerManagedPolicyReferences sets the CustomerManagedPolicyReferences field's value.
+func (s *ListCustomerManagedPolicyReferencesInPermissionSetOutput) SetCustomerManagedPolicyReferences(v []*CustomerManagedPolicyReference) *ListCustomerManagedPolicyReferencesInPermissionSetOutput {
+ s.CustomerManagedPolicyReferences = v
return s
}
-type DetachCustomerManagedPolicyReferenceFromPermissionSetInput struct {
- _ struct{} `type:"structure"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListCustomerManagedPolicyReferencesInPermissionSetOutput) SetNextToken(v string) *ListCustomerManagedPolicyReferencesInPermissionSetOutput {
+ s.NextToken = &v
+ return s
+}
- // Specifies the name and path of a customer managed policy. You must have an
- // IAM policy that matches the name and path in each Amazon Web Services account
- // where you want to deploy your permission set.
- //
- // CustomerManagedPolicyReference is a required field
- CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure" required:"true"`
+type ListInstancesInput struct {
+ _ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // The maximum number of results to display for the instance.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The ARN of the PermissionSet.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6568,7 +16019,7 @@ type DetachCustomerManagedPolicyReferenceFromPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachCustomerManagedPolicyReferenceFromPermissionSetInput) String() string {
+func (s ListInstancesInput) String() string {
return awsutil.Prettify(s)
}
@@ -6577,32 +16028,15 @@ func (s DetachCustomerManagedPolicyReferenceFromPermissionSetInput) String() str
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachCustomerManagedPolicyReferenceFromPermissionSetInput) GoString() string {
+func (s ListInstancesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DetachCustomerManagedPolicyReferenceFromPermissionSetInput"}
- if s.CustomerManagedPolicyReference == nil {
- invalidParams.Add(request.NewErrParamRequired("CustomerManagedPolicyReference"))
- }
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
- }
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
- }
- if s.CustomerManagedPolicyReference != nil {
- if err := s.CustomerManagedPolicyReference.Validate(); err != nil {
- invalidParams.AddNested("CustomerManagedPolicyReference", err.(request.ErrInvalidParams))
- }
+func (s *ListInstancesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListInstancesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -6611,26 +16045,27 @@ func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) Validate()
return nil
}
-// SetCustomerManagedPolicyReference sets the CustomerManagedPolicyReference field's value.
-func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) SetCustomerManagedPolicyReference(v *CustomerManagedPolicyReference) *DetachCustomerManagedPolicyReferenceFromPermissionSetInput {
- s.CustomerManagedPolicyReference = v
- return s
-}
-
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) SetInstanceArn(v string) *DetachCustomerManagedPolicyReferenceFromPermissionSetInput {
- s.InstanceArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput {
+ s.MaxResults = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *DetachCustomerManagedPolicyReferenceFromPermissionSetInput) SetPermissionSetArn(v string) *DetachCustomerManagedPolicyReferenceFromPermissionSetInput {
- s.PermissionSetArn = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput {
+ s.NextToken = &v
return s
}
-type DetachCustomerManagedPolicyReferenceFromPermissionSetOutput struct {
+type ListInstancesOutput struct {
_ struct{} `type:"structure"`
+
+ // Lists the IAM Identity Center instances that the caller has access to.
+ Instances []*InstanceMetadata `type:"list"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6638,7 +16073,7 @@ type DetachCustomerManagedPolicyReferenceFromPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) String() string {
+func (s ListInstancesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6647,11 +16082,23 @@ func (s DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) String() st
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachCustomerManagedPolicyReferenceFromPermissionSetOutput) GoString() string {
+func (s ListInstancesOutput) GoString() string {
return s.String()
}
-type DetachManagedPolicyFromPermissionSetInput struct {
+// SetInstances sets the Instances field's value.
+func (s *ListInstancesOutput) SetInstances(v []*InstanceMetadata) *ListInstancesOutput {
+ s.Instances = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListManagedPoliciesInPermissionSetInput struct {
_ struct{} `type:"structure"`
// The ARN of the IAM Identity Center instance under which the operation will
@@ -6662,13 +16109,14 @@ type DetachManagedPolicyFromPermissionSetInput struct {
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The Amazon Web Services managed policy ARN to be detached from a permission
- // set.
- //
- // ManagedPolicyArn is a required field
- ManagedPolicyArn *string `min:"20" type:"string" required:"true"`
+ // The maximum number of results to display for the PermissionSet.
+ MaxResults *int64 `min:"1" type:"integer"`
- // The ARN of the PermissionSet from which the policy should be detached.
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
+
+ // The ARN of the PermissionSet whose managed policies will be listed.
//
// PermissionSetArn is a required field
PermissionSetArn *string `min:"10" type:"string" required:"true"`
@@ -6679,7 +16127,7 @@ type DetachManagedPolicyFromPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachManagedPolicyFromPermissionSetInput) String() string {
+func (s ListManagedPoliciesInPermissionSetInput) String() string {
return awsutil.Prettify(s)
}
@@ -6688,24 +16136,21 @@ func (s DetachManagedPolicyFromPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachManagedPolicyFromPermissionSetInput) GoString() string {
+func (s ListManagedPoliciesInPermissionSetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DetachManagedPolicyFromPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DetachManagedPolicyFromPermissionSetInput"}
+func (s *ListManagedPoliciesInPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListManagedPoliciesInPermissionSetInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.ManagedPolicyArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ManagedPolicyArn"))
- }
- if s.ManagedPolicyArn != nil && len(*s.ManagedPolicyArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("ManagedPolicyArn", 20))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if s.PermissionSetArn == nil {
invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
@@ -6721,25 +16166,38 @@ func (s *DetachManagedPolicyFromPermissionSetInput) Validate() error {
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *DetachManagedPolicyFromPermissionSetInput) SetInstanceArn(v string) *DetachManagedPolicyFromPermissionSetInput {
+func (s *ListManagedPoliciesInPermissionSetInput) SetInstanceArn(v string) *ListManagedPoliciesInPermissionSetInput {
s.InstanceArn = &v
return s
}
-// SetManagedPolicyArn sets the ManagedPolicyArn field's value.
-func (s *DetachManagedPolicyFromPermissionSetInput) SetManagedPolicyArn(v string) *DetachManagedPolicyFromPermissionSetInput {
- s.ManagedPolicyArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListManagedPoliciesInPermissionSetInput) SetMaxResults(v int64) *ListManagedPoliciesInPermissionSetInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListManagedPoliciesInPermissionSetInput) SetNextToken(v string) *ListManagedPoliciesInPermissionSetInput {
+ s.NextToken = &v
return s
}
// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *DetachManagedPolicyFromPermissionSetInput) SetPermissionSetArn(v string) *DetachManagedPolicyFromPermissionSetInput {
+func (s *ListManagedPoliciesInPermissionSetInput) SetPermissionSetArn(v string) *ListManagedPoliciesInPermissionSetInput {
s.PermissionSetArn = &v
return s
}
-type DetachManagedPolicyFromPermissionSetOutput struct {
+type ListManagedPoliciesInPermissionSetOutput struct {
_ struct{} `type:"structure"`
+
+ // An array of the AttachedManagedPolicy data type object.
+ AttachedManagedPolicies []*AttachedManagedPolicy `type:"list"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6747,7 +16205,7 @@ type DetachManagedPolicyFromPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachManagedPolicyFromPermissionSetOutput) String() string {
+func (s ListManagedPoliciesInPermissionSetOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6756,13 +16214,28 @@ func (s DetachManagedPolicyFromPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DetachManagedPolicyFromPermissionSetOutput) GoString() string {
+func (s ListManagedPoliciesInPermissionSetOutput) GoString() string {
return s.String()
}
-type GetInlinePolicyForPermissionSetInput struct {
+// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value.
+func (s *ListManagedPoliciesInPermissionSetOutput) SetAttachedManagedPolicies(v []*AttachedManagedPolicy) *ListManagedPoliciesInPermissionSetOutput {
+ s.AttachedManagedPolicies = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListManagedPoliciesInPermissionSetOutput) SetNextToken(v string) *ListManagedPoliciesInPermissionSetOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListPermissionSetProvisioningStatusInput struct {
_ struct{} `type:"structure"`
+ // Filters results based on the passed attribute value.
+ Filter *OperationStatusFilter `type:"structure"`
+
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
@@ -6771,10 +16244,12 @@ type GetInlinePolicyForPermissionSetInput struct {
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The ARN of the permission set.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // The maximum number of results to display for the assignment.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6782,7 +16257,7 @@ type GetInlinePolicyForPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetInlinePolicyForPermissionSetInput) String() string {
+func (s ListPermissionSetProvisioningStatusInput) String() string {
return awsutil.Prettify(s)
}
@@ -6791,24 +16266,21 @@ func (s GetInlinePolicyForPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetInlinePolicyForPermissionSetInput) GoString() string {
+func (s ListPermissionSetProvisioningStatusInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetInlinePolicyForPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetInlinePolicyForPermissionSetInput"}
+func (s *ListPermissionSetProvisioningStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListPermissionSetProvisioningStatusInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -6817,26 +16289,39 @@ func (s *GetInlinePolicyForPermissionSetInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *ListPermissionSetProvisioningStatusInput) SetFilter(v *OperationStatusFilter) *ListPermissionSetProvisioningStatusInput {
+ s.Filter = v
+ return s
+}
+
// SetInstanceArn sets the InstanceArn field's value.
-func (s *GetInlinePolicyForPermissionSetInput) SetInstanceArn(v string) *GetInlinePolicyForPermissionSetInput {
+func (s *ListPermissionSetProvisioningStatusInput) SetInstanceArn(v string) *ListPermissionSetProvisioningStatusInput {
s.InstanceArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *GetInlinePolicyForPermissionSetInput) SetPermissionSetArn(v string) *GetInlinePolicyForPermissionSetInput {
- s.PermissionSetArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListPermissionSetProvisioningStatusInput) SetMaxResults(v int64) *ListPermissionSetProvisioningStatusInput {
+ s.MaxResults = &v
return s
}
-type GetInlinePolicyForPermissionSetOutput struct {
+// SetNextToken sets the NextToken field's value.
+func (s *ListPermissionSetProvisioningStatusInput) SetNextToken(v string) *ListPermissionSetProvisioningStatusInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListPermissionSetProvisioningStatusOutput struct {
_ struct{} `type:"structure"`
- // The inline policy that is attached to the permission set.
- //
- // For Length Constraints, if a valid ARN is provided for a permission set,
- // it is possible for an empty inline policy to be returned.
- InlinePolicy *string `min:"1" type:"string"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
+
+ // The status object for the permission set provisioning operation.
+ PermissionSetsProvisioningStatus []*PermissionSetProvisioningStatusMetadata `type:"list"`
}
// String returns the string representation.
@@ -6844,7 +16329,7 @@ type GetInlinePolicyForPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetInlinePolicyForPermissionSetOutput) String() string {
+func (s ListPermissionSetProvisioningStatusOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6853,29 +16338,39 @@ func (s GetInlinePolicyForPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetInlinePolicyForPermissionSetOutput) GoString() string {
+func (s ListPermissionSetProvisioningStatusOutput) GoString() string {
return s.String()
}
-// SetInlinePolicy sets the InlinePolicy field's value.
-func (s *GetInlinePolicyForPermissionSetOutput) SetInlinePolicy(v string) *GetInlinePolicyForPermissionSetOutput {
- s.InlinePolicy = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListPermissionSetProvisioningStatusOutput) SetNextToken(v string) *ListPermissionSetProvisioningStatusOutput {
+ s.NextToken = &v
return s
}
-type GetPermissionsBoundaryForPermissionSetInput struct {
+// SetPermissionSetsProvisioningStatus sets the PermissionSetsProvisioningStatus field's value.
+func (s *ListPermissionSetProvisioningStatusOutput) SetPermissionSetsProvisioningStatus(v []*PermissionSetProvisioningStatusMetadata) *ListPermissionSetProvisioningStatusOutput {
+ s.PermissionSetsProvisioningStatus = v
+ return s
+}
+
+type ListPermissionSetsInput struct {
_ struct{} `type:"structure"`
// The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The ARN of the PermissionSet.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // The maximum number of results to display for the assignment.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -6883,7 +16378,7 @@ type GetPermissionsBoundaryForPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetPermissionsBoundaryForPermissionSetInput) String() string {
+func (s ListPermissionSetsInput) String() string {
return awsutil.Prettify(s)
}
@@ -6892,24 +16387,21 @@ func (s GetPermissionsBoundaryForPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s GetPermissionsBoundaryForPermissionSetInput) GoString() string {
+func (s ListPermissionSetsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetPermissionsBoundaryForPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetPermissionsBoundaryForPermissionSetInput"}
+func (s *ListPermissionSetsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListPermissionSetsInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -6919,58 +16411,32 @@ func (s *GetPermissionsBoundaryForPermissionSetInput) Validate() error {
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *GetPermissionsBoundaryForPermissionSetInput) SetInstanceArn(v string) *GetPermissionsBoundaryForPermissionSetInput {
+func (s *ListPermissionSetsInput) SetInstanceArn(v string) *ListPermissionSetsInput {
s.InstanceArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *GetPermissionsBoundaryForPermissionSetInput) SetPermissionSetArn(v string) *GetPermissionsBoundaryForPermissionSetInput {
- s.PermissionSetArn = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListPermissionSetsInput) SetMaxResults(v int64) *ListPermissionSetsInput {
+ s.MaxResults = &v
return s
}
-type GetPermissionsBoundaryForPermissionSetOutput struct {
- _ struct{} `type:"structure"`
-
- // The permissions boundary attached to the specified permission set.
- PermissionsBoundary *PermissionsBoundary `type:"structure"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetPermissionsBoundaryForPermissionSetOutput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s GetPermissionsBoundaryForPermissionSetOutput) GoString() string {
- return s.String()
-}
-
-// SetPermissionsBoundary sets the PermissionsBoundary field's value.
-func (s *GetPermissionsBoundaryForPermissionSetOutput) SetPermissionsBoundary(v *PermissionsBoundary) *GetPermissionsBoundaryForPermissionSetOutput {
- s.PermissionsBoundary = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListPermissionSetsInput) SetNextToken(v string) *ListPermissionSetsInput {
+ s.NextToken = &v
return s
}
-// Specifies the attributes to add to your attribute-based access control (ABAC)
-// configuration.
-type InstanceAccessControlAttributeConfiguration struct {
+type ListPermissionSetsOutput struct {
_ struct{} `type:"structure"`
- // Lists the attributes that are configured for ABAC in the specified IAM Identity
- // Center instance.
- //
- // AccessControlAttributes is a required field
- AccessControlAttributes []*AccessControlAttribute `type:"list" required:"true"`
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
+
+ // Defines the level of access on an Amazon Web Services account.
+ PermissionSets []*string `type:"list"`
}
// String returns the string representation.
@@ -6978,7 +16444,7 @@ type InstanceAccessControlAttributeConfiguration struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceAccessControlAttributeConfiguration) String() string {
+func (s ListPermissionSetsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6987,52 +16453,48 @@ func (s InstanceAccessControlAttributeConfiguration) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceAccessControlAttributeConfiguration) GoString() string {
+func (s ListPermissionSetsOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *InstanceAccessControlAttributeConfiguration) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "InstanceAccessControlAttributeConfiguration"}
- if s.AccessControlAttributes == nil {
- invalidParams.Add(request.NewErrParamRequired("AccessControlAttributes"))
- }
- if s.AccessControlAttributes != nil {
- for i, v := range s.AccessControlAttributes {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AccessControlAttributes", i), err.(request.ErrInvalidParams))
- }
- }
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetNextToken sets the NextToken field's value.
+func (s *ListPermissionSetsOutput) SetNextToken(v string) *ListPermissionSetsOutput {
+ s.NextToken = &v
+ return s
}
-// SetAccessControlAttributes sets the AccessControlAttributes field's value.
-func (s *InstanceAccessControlAttributeConfiguration) SetAccessControlAttributes(v []*AccessControlAttribute) *InstanceAccessControlAttributeConfiguration {
- s.AccessControlAttributes = v
+// SetPermissionSets sets the PermissionSets field's value.
+func (s *ListPermissionSetsOutput) SetPermissionSets(v []*string) *ListPermissionSetsOutput {
+ s.PermissionSets = v
return s
}
-// Provides information about the IAM Identity Center instance.
-type InstanceMetadata struct {
+type ListPermissionSetsProvisionedToAccountInput struct {
_ struct{} `type:"structure"`
- // The identifier of the identity store that is connected to the IAM Identity
- // Center instance.
- IdentityStoreId *string `min:"1" type:"string"`
+ // The identifier of the Amazon Web Services account from which to list the
+ // assignments.
+ //
+ // AccountId is a required field
+ AccountId *string `min:"12" type:"string" required:"true"`
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
// in the Amazon Web Services General Reference.
- InstanceArn *string `min:"10" type:"string"`
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // The maximum number of results to display for the assignment.
+ MaxResults *int64 `min:"1" type:"integer"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
+
+ // The status object for the permission set provisioning operation.
+ ProvisioningStatus *string `type:"string" enum:"ProvisioningStatus"`
}
// String returns the string representation.
@@ -7040,7 +16502,7 @@ type InstanceMetadata struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceMetadata) String() string {
+func (s ListPermissionSetsProvisionedToAccountInput) String() string {
return awsutil.Prettify(s)
}
@@ -7049,29 +16511,74 @@ func (s InstanceMetadata) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InstanceMetadata) GoString() string {
+func (s ListPermissionSetsProvisionedToAccountInput) GoString() string {
return s.String()
}
-// SetIdentityStoreId sets the IdentityStoreId field's value.
-func (s *InstanceMetadata) SetIdentityStoreId(v string) *InstanceMetadata {
- s.IdentityStoreId = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListPermissionSetsProvisionedToAccountInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListPermissionSetsProvisionedToAccountInput"}
+ if s.AccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountId"))
+ }
+ if s.AccountId != nil && len(*s.AccountId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
+ }
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *ListPermissionSetsProvisionedToAccountInput) SetAccountId(v string) *ListPermissionSetsProvisionedToAccountInput {
+ s.AccountId = &v
return s
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *InstanceMetadata) SetInstanceArn(v string) *InstanceMetadata {
+func (s *ListPermissionSetsProvisionedToAccountInput) SetInstanceArn(v string) *ListPermissionSetsProvisionedToAccountInput {
s.InstanceArn = &v
return s
}
-// The request processing has failed because of an unknown error, exception,
-// or failure with an internal server.
-type InternalServerException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListPermissionSetsProvisionedToAccountInput) SetMaxResults(v int64) *ListPermissionSetsProvisionedToAccountInput {
+ s.MaxResults = &v
+ return s
+}
- Message_ *string `locationName:"Message" type:"string"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListPermissionSetsProvisionedToAccountInput) SetNextToken(v string) *ListPermissionSetsProvisionedToAccountInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetProvisioningStatus sets the ProvisioningStatus field's value.
+func (s *ListPermissionSetsProvisionedToAccountInput) SetProvisioningStatus(v string) *ListPermissionSetsProvisionedToAccountInput {
+ s.ProvisioningStatus = &v
+ return s
+}
+
+type ListPermissionSetsProvisionedToAccountOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The pagination token for the list API. Initially the value is null. Use the
+ // output of previous API calls to make subsequent calls.
+ NextToken *string `type:"string"`
+
+ // Defines the level of access that an Amazon Web Services account has.
+ PermissionSets []*string `type:"list"`
}
// String returns the string representation.
@@ -7079,7 +16586,7 @@ type InternalServerException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) String() string {
+func (s ListPermissionSetsProvisionedToAccountOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7088,68 +16595,39 @@ func (s InternalServerException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) GoString() string {
+func (s ListPermissionSetsProvisionedToAccountOutput) GoString() string {
return s.String()
}
-func newErrorInternalServerException(v protocol.ResponseMetadata) error {
- return &InternalServerException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *InternalServerException) Code() string {
- return "InternalServerException"
-}
-
-// Message returns the exception's message.
-func (s *InternalServerException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InternalServerException) OrigErr() error {
- return nil
-}
-
-func (s *InternalServerException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *InternalServerException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetNextToken sets the NextToken field's value.
+func (s *ListPermissionSetsProvisionedToAccountOutput) SetNextToken(v string) *ListPermissionSetsProvisionedToAccountOutput {
+ s.NextToken = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InternalServerException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetPermissionSets sets the PermissionSets field's value.
+func (s *ListPermissionSetsProvisionedToAccountOutput) SetPermissionSets(v []*string) *ListPermissionSetsProvisionedToAccountOutput {
+ s.PermissionSets = v
+ return s
}
-type ListAccountAssignmentCreationStatusInput struct {
+type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
- // Filters results based on the passed attribute value.
- Filter *OperationStatusFilter `type:"structure"`
-
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
// in the Amazon Web Services General Reference.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
-
- // The maximum number of results to display for the assignment.
- MaxResults *int64 `min:"1" type:"integer"`
+ InstanceArn *string `min:"10" type:"string"`
// The pagination token for the list API. Initially the value is null. Use the
// output of previous API calls to make subsequent calls.
NextToken *string `type:"string"`
+
+ // The ARN of the resource with the tags to be listed.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `min:"10" type:"string" required:"true"`
}
// String returns the string representation.
@@ -7157,7 +16635,7 @@ type ListAccountAssignmentCreationStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentCreationStatusInput) String() string {
+func (s ListTagsForResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -7166,21 +16644,21 @@ func (s ListAccountAssignmentCreationStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentCreationStatusInput) GoString() string {
+func (s ListTagsForResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAccountAssignmentCreationStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentCreationStatusInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
+func (s *ListTagsForResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 10))
}
if invalidParams.Len() > 0 {
@@ -7189,39 +16667,33 @@ func (s *ListAccountAssignmentCreationStatusInput) Validate() error {
return nil
}
-// SetFilter sets the Filter field's value.
-func (s *ListAccountAssignmentCreationStatusInput) SetFilter(v *OperationStatusFilter) *ListAccountAssignmentCreationStatusInput {
- s.Filter = v
- return s
-}
-
// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListAccountAssignmentCreationStatusInput) SetInstanceArn(v string) *ListAccountAssignmentCreationStatusInput {
+func (s *ListTagsForResourceInput) SetInstanceArn(v string) *ListTagsForResourceInput {
s.InstanceArn = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListAccountAssignmentCreationStatusInput) SetMaxResults(v int64) *ListAccountAssignmentCreationStatusInput {
- s.MaxResults = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAccountAssignmentCreationStatusInput) SetNextToken(v string) *ListAccountAssignmentCreationStatusInput {
- s.NextToken = &v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
return s
}
-type ListAccountAssignmentCreationStatusOutput struct {
+type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
- // The status object for the account assignment creation operation.
- AccountAssignmentsCreationStatus []*AccountAssignmentOperationStatusMetadata `type:"list"`
-
// The pagination token for the list API. Initially the value is null. Use the
// output of previous API calls to make subsequent calls.
NextToken *string `type:"string"`
+
+ // A set of key-value pairs that are used to manage the resource.
+ Tags []*Tag `type:"list"`
}
// String returns the string representation.
@@ -7229,7 +16701,7 @@ type ListAccountAssignmentCreationStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentCreationStatusOutput) String() string {
+func (s ListTagsForResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7238,41 +16710,45 @@ func (s ListAccountAssignmentCreationStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentCreationStatusOutput) GoString() string {
+func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
-// SetAccountAssignmentsCreationStatus sets the AccountAssignmentsCreationStatus field's value.
-func (s *ListAccountAssignmentCreationStatusOutput) SetAccountAssignmentsCreationStatus(v []*AccountAssignmentOperationStatusMetadata) *ListAccountAssignmentCreationStatusOutput {
- s.AccountAssignmentsCreationStatus = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAccountAssignmentCreationStatusOutput) SetNextToken(v string) *ListAccountAssignmentCreationStatusOutput {
- s.NextToken = &v
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
+ s.Tags = v
return s
}
-type ListAccountAssignmentDeletionStatusInput struct {
+type ListTrustedTokenIssuersInput struct {
_ struct{} `type:"structure"`
- // Filters results based on the passed attribute value.
- Filter *OperationStatusFilter `type:"structure"`
-
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // Specifies the ARN of the instance of IAM Identity Center with the trusted
+ // token issuer configurations that you want to list.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The maximum number of results to display for the assignment.
+ // Specifies the total number of results that you want included in each response.
+ // If additional items exist beyond the number you specify, the NextToken response
+ // element is returned with a value (not null). Include the specified value
+ // as the NextToken request parameter in the next call to the operation to get
+ // the next set of results. Note that the service might return fewer results
+ // than the maximum even when there are more results available. You should check
+ // NextToken after every operation to ensure that you receive all of the results.
MaxResults *int64 `min:"1" type:"integer"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
+ // Specifies that you want to receive the next page of results. Valid only if
+ // you received a NextToken response in the previous request. If you did, it
+ // indicates that more output is available. Set this parameter to the value
+ // provided by the previous call's NextToken response to request the next page
+ // of results.
NextToken *string `type:"string"`
}
@@ -7281,7 +16757,7 @@ type ListAccountAssignmentDeletionStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentDeletionStatusInput) String() string {
+func (s ListTrustedTokenIssuersInput) String() string {
return awsutil.Prettify(s)
}
@@ -7290,13 +16766,13 @@ func (s ListAccountAssignmentDeletionStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentDeletionStatusInput) GoString() string {
+func (s ListTrustedTokenIssuersInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAccountAssignmentDeletionStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentDeletionStatusInput"}
+func (s *ListTrustedTokenIssuersInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTrustedTokenIssuersInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
@@ -7313,39 +16789,36 @@ func (s *ListAccountAssignmentDeletionStatusInput) Validate() error {
return nil
}
-// SetFilter sets the Filter field's value.
-func (s *ListAccountAssignmentDeletionStatusInput) SetFilter(v *OperationStatusFilter) *ListAccountAssignmentDeletionStatusInput {
- s.Filter = v
- return s
-}
-
// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListAccountAssignmentDeletionStatusInput) SetInstanceArn(v string) *ListAccountAssignmentDeletionStatusInput {
+func (s *ListTrustedTokenIssuersInput) SetInstanceArn(v string) *ListTrustedTokenIssuersInput {
s.InstanceArn = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListAccountAssignmentDeletionStatusInput) SetMaxResults(v int64) *ListAccountAssignmentDeletionStatusInput {
+func (s *ListTrustedTokenIssuersInput) SetMaxResults(v int64) *ListTrustedTokenIssuersInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAccountAssignmentDeletionStatusInput) SetNextToken(v string) *ListAccountAssignmentDeletionStatusInput {
+func (s *ListTrustedTokenIssuersInput) SetNextToken(v string) *ListTrustedTokenIssuersInput {
s.NextToken = &v
return s
}
-type ListAccountAssignmentDeletionStatusOutput struct {
+type ListTrustedTokenIssuersOutput struct {
_ struct{} `type:"structure"`
- // The status object for the account assignment deletion operation.
- AccountAssignmentsDeletionStatus []*AccountAssignmentOperationStatusMetadata `type:"list"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
+ // If present, this value indicates that more output is available than is included
+ // in the current response. Use this value in the NextToken request parameter
+ // in a subsequent call to the operation to get the next part of the output.
+ // You should repeat this until the NextToken response element comes back as
+ // null. This indicates that this is the last page of results.
NextToken *string `type:"string"`
+
+ // An array list of the trusted token issuer configurations.
+ TrustedTokenIssuers []*TrustedTokenIssuerMetadata `type:"list"`
}
// String returns the string representation.
@@ -7353,7 +16826,7 @@ type ListAccountAssignmentDeletionStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentDeletionStatusOutput) String() string {
+func (s ListTrustedTokenIssuersOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7362,50 +16835,55 @@ func (s ListAccountAssignmentDeletionStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentDeletionStatusOutput) GoString() string {
+func (s ListTrustedTokenIssuersOutput) GoString() string {
return s.String()
}
-// SetAccountAssignmentsDeletionStatus sets the AccountAssignmentsDeletionStatus field's value.
-func (s *ListAccountAssignmentDeletionStatusOutput) SetAccountAssignmentsDeletionStatus(v []*AccountAssignmentOperationStatusMetadata) *ListAccountAssignmentDeletionStatusOutput {
- s.AccountAssignmentsDeletionStatus = v
- return s
-}
-
// SetNextToken sets the NextToken field's value.
-func (s *ListAccountAssignmentDeletionStatusOutput) SetNextToken(v string) *ListAccountAssignmentDeletionStatusOutput {
+func (s *ListTrustedTokenIssuersOutput) SetNextToken(v string) *ListTrustedTokenIssuersOutput {
s.NextToken = &v
return s
}
-type ListAccountAssignmentsInput struct {
+// SetTrustedTokenIssuers sets the TrustedTokenIssuers field's value.
+func (s *ListTrustedTokenIssuersOutput) SetTrustedTokenIssuers(v []*TrustedTokenIssuerMetadata) *ListTrustedTokenIssuersOutput {
+ s.TrustedTokenIssuers = v
+ return s
+}
+
+// A structure that describes configuration settings for a trusted token issuer
+// that supports OpenID Connect (OIDC) and JSON Web Tokens (JWTs).
+type OidcJwtConfiguration struct {
_ struct{} `type:"structure"`
- // The identifier of the Amazon Web Services account from which to list the
- // assignments.
+ // The path of the source attribute in the JWT from the trusted token issuer.
+ // The attribute mapped by this JMESPath expression is compared against the
+ // attribute mapped by IdentityStoreAttributePath when a trusted token issuer
+ // token is exchanged for an IAM Identity Center token.
//
- // AccountId is a required field
- AccountId *string `min:"12" type:"string" required:"true"`
+ // ClaimAttributePath is a required field
+ ClaimAttributePath *string `min:"1" type:"string" required:"true"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // The path of the destination attribute in a JWT from IAM Identity Center.
+ // The attribute mapped by this JMESPath expression is compared against the
+ // attribute mapped by ClaimAttributePath when a trusted token issuer token
+ // is exchanged for an IAM Identity Center token.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
-
- // The maximum number of results to display for the assignment.
- MaxResults *int64 `min:"1" type:"integer"`
+ // IdentityStoreAttributePath is a required field
+ IdentityStoreAttributePath *string `min:"1" type:"string" required:"true"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // The URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery
+ // is used to obtain the information required to verify the tokens that the
+ // trusted token issuer generates.
+ //
+ // IssuerUrl is a required field
+ IssuerUrl *string `min:"1" type:"string" required:"true"`
- // The ARN of the permission set from which to list assignments.
+ // The method that the trusted token issuer can use to retrieve the JSON Web
+ // Key Set used to verify a JWT.
//
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // JwksRetrievalOption is a required field
+ JwksRetrievalOption *string `type:"string" required:"true" enum:"JwksRetrievalOption"`
}
// String returns the string representation.
@@ -7413,7 +16891,7 @@ type ListAccountAssignmentsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentsInput) String() string {
+func (s OidcJwtConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -7422,33 +16900,33 @@ func (s ListAccountAssignmentsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentsInput) GoString() string {
+func (s OidcJwtConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAccountAssignmentsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAccountAssignmentsInput"}
- if s.AccountId == nil {
- invalidParams.Add(request.NewErrParamRequired("AccountId"))
+func (s *OidcJwtConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "OidcJwtConfiguration"}
+ if s.ClaimAttributePath == nil {
+ invalidParams.Add(request.NewErrParamRequired("ClaimAttributePath"))
}
- if s.AccountId != nil && len(*s.AccountId) < 12 {
- invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
+ if s.ClaimAttributePath != nil && len(*s.ClaimAttributePath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClaimAttributePath", 1))
}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ if s.IdentityStoreAttributePath == nil {
+ invalidParams.Add(request.NewErrParamRequired("IdentityStoreAttributePath"))
}
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ if s.IdentityStoreAttributePath != nil && len(*s.IdentityStoreAttributePath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IdentityStoreAttributePath", 1))
}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ if s.IssuerUrl == nil {
+ invalidParams.Add(request.NewErrParamRequired("IssuerUrl"))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ if s.IssuerUrl != nil && len(*s.IssuerUrl) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IssuerUrl", 1))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.JwksRetrievalOption == nil {
+ invalidParams.Add(request.NewErrParamRequired("JwksRetrievalOption"))
}
if invalidParams.Len() > 0 {
@@ -7457,46 +16935,50 @@ func (s *ListAccountAssignmentsInput) Validate() error {
return nil
}
-// SetAccountId sets the AccountId field's value.
-func (s *ListAccountAssignmentsInput) SetAccountId(v string) *ListAccountAssignmentsInput {
- s.AccountId = &v
- return s
-}
-
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListAccountAssignmentsInput) SetInstanceArn(v string) *ListAccountAssignmentsInput {
- s.InstanceArn = &v
+// SetClaimAttributePath sets the ClaimAttributePath field's value.
+func (s *OidcJwtConfiguration) SetClaimAttributePath(v string) *OidcJwtConfiguration {
+ s.ClaimAttributePath = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListAccountAssignmentsInput) SetMaxResults(v int64) *ListAccountAssignmentsInput {
- s.MaxResults = &v
+// SetIdentityStoreAttributePath sets the IdentityStoreAttributePath field's value.
+func (s *OidcJwtConfiguration) SetIdentityStoreAttributePath(v string) *OidcJwtConfiguration {
+ s.IdentityStoreAttributePath = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAccountAssignmentsInput) SetNextToken(v string) *ListAccountAssignmentsInput {
- s.NextToken = &v
+// SetIssuerUrl sets the IssuerUrl field's value.
+func (s *OidcJwtConfiguration) SetIssuerUrl(v string) *OidcJwtConfiguration {
+ s.IssuerUrl = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *ListAccountAssignmentsInput) SetPermissionSetArn(v string) *ListAccountAssignmentsInput {
- s.PermissionSetArn = &v
+// SetJwksRetrievalOption sets the JwksRetrievalOption field's value.
+func (s *OidcJwtConfiguration) SetJwksRetrievalOption(v string) *OidcJwtConfiguration {
+ s.JwksRetrievalOption = &v
return s
}
-type ListAccountAssignmentsOutput struct {
+// A structure that describes updated configuration settings for a trusted token
+// issuer that supports OpenID Connect (OIDC) and JSON Web Tokens (JWTs).
+type OidcJwtUpdateConfiguration struct {
_ struct{} `type:"structure"`
- // The list of assignments that match the input Amazon Web Services account
- // and permission set.
- AccountAssignments []*AccountAssignment `type:"list"`
+ // The path of the source attribute in the JWT from the trusted token issuer.
+ // The attribute mapped by this JMESPath expression is compared against the
+ // attribute mapped by IdentityStoreAttributePath when a trusted token issuer
+ // token is exchanged for an IAM Identity Center token.
+ ClaimAttributePath *string `min:"1" type:"string"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // The path of the destination attribute in a JWT from IAM Identity Center.
+ // The attribute mapped by this JMESPath expression is compared against the
+ // attribute mapped by ClaimAttributePath when a trusted token issuer token
+ // is exchanged for an IAM Identity Center token.
+ IdentityStoreAttributePath *string `min:"1" type:"string"`
+
+ // The method that the trusted token issuer can use to retrieve the JSON Web
+ // Key Set used to verify a JWT.
+ JwksRetrievalOption *string `type:"string" enum:"JwksRetrievalOption"`
}
// String returns the string representation.
@@ -7504,7 +16986,7 @@ type ListAccountAssignmentsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentsOutput) String() string {
+func (s OidcJwtUpdateConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -7513,48 +16995,101 @@ func (s ListAccountAssignmentsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountAssignmentsOutput) GoString() string {
+func (s OidcJwtUpdateConfiguration) GoString() string {
return s.String()
}
-// SetAccountAssignments sets the AccountAssignments field's value.
-func (s *ListAccountAssignmentsOutput) SetAccountAssignments(v []*AccountAssignment) *ListAccountAssignmentsOutput {
- s.AccountAssignments = v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *OidcJwtUpdateConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "OidcJwtUpdateConfiguration"}
+ if s.ClaimAttributePath != nil && len(*s.ClaimAttributePath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClaimAttributePath", 1))
+ }
+ if s.IdentityStoreAttributePath != nil && len(*s.IdentityStoreAttributePath) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IdentityStoreAttributePath", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClaimAttributePath sets the ClaimAttributePath field's value.
+func (s *OidcJwtUpdateConfiguration) SetClaimAttributePath(v string) *OidcJwtUpdateConfiguration {
+ s.ClaimAttributePath = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAccountAssignmentsOutput) SetNextToken(v string) *ListAccountAssignmentsOutput {
- s.NextToken = &v
+// SetIdentityStoreAttributePath sets the IdentityStoreAttributePath field's value.
+func (s *OidcJwtUpdateConfiguration) SetIdentityStoreAttributePath(v string) *OidcJwtUpdateConfiguration {
+ s.IdentityStoreAttributePath = &v
return s
}
-type ListAccountsForProvisionedPermissionSetInput struct {
+// SetJwksRetrievalOption sets the JwksRetrievalOption field's value.
+func (s *OidcJwtUpdateConfiguration) SetJwksRetrievalOption(v string) *OidcJwtUpdateConfiguration {
+ s.JwksRetrievalOption = &v
+ return s
+}
+
+// Filters the operation status list based on the passed attribute value.
+type OperationStatusFilter struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // Filters the list operations result based on the status attribute.
+ Status *string `type:"string" enum:"StatusValues"`
+}
- // The maximum number of results to display for the PermissionSet.
- MaxResults *int64 `min:"1" type:"integer"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s OperationStatusFilter) String() string {
+ return awsutil.Prettify(s)
+}
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s OperationStatusFilter) GoString() string {
+ return s.String()
+}
- // The ARN of the PermissionSet from which the associated Amazon Web Services
- // accounts will be listed.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+// SetStatus sets the Status field's value.
+func (s *OperationStatusFilter) SetStatus(v string) *OperationStatusFilter {
+ s.Status = &v
+ return s
+}
- // The permission set provisioning status for an Amazon Web Services account.
- ProvisioningStatus *string `type:"string" enum:"ProvisioningStatus"`
+// An entity that contains IAM policies.
+type PermissionSet struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the permission set was created.
+ CreatedDate *time.Time `type:"timestamp"`
+
+ // The description of the PermissionSet.
+ Description *string `min:"1" type:"string"`
+
+ // The name of the permission set.
+ Name *string `min:"1" type:"string"`
+
+ // The ARN of the permission set. For more information about ARNs, see Amazon
+ // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ PermissionSetArn *string `min:"10" type:"string"`
+
+ // Used to redirect users within the application during the federation authentication
+ // process.
+ RelayState *string `min:"1" type:"string"`
+
+ // The length of time that the application user sessions are valid for in the
+ // ISO-8601 standard.
+ SessionDuration *string `min:"1" type:"string"`
}
// String returns the string representation.
@@ -7562,7 +17097,7 @@ type ListAccountsForProvisionedPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountsForProvisionedPermissionSetInput) String() string {
+func (s PermissionSet) String() string {
return awsutil.Prettify(s)
}
@@ -7571,74 +17106,142 @@ func (s ListAccountsForProvisionedPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountsForProvisionedPermissionSetInput) GoString() string {
+func (s PermissionSet) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAccountsForProvisionedPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAccountsForProvisionedPermissionSetInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
- }
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
- }
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *PermissionSet) SetCreatedDate(v time.Time) *PermissionSet {
+ s.CreatedDate = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetDescription sets the Description field's value.
+func (s *PermissionSet) SetDescription(v string) *PermissionSet {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PermissionSet) SetName(v string) *PermissionSet {
+ s.Name = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *PermissionSet) SetPermissionSetArn(v string) *PermissionSet {
+ s.PermissionSetArn = &v
+ return s
+}
+
+// SetRelayState sets the RelayState field's value.
+func (s *PermissionSet) SetRelayState(v string) *PermissionSet {
+ s.RelayState = &v
+ return s
+}
+
+// SetSessionDuration sets the SessionDuration field's value.
+func (s *PermissionSet) SetSessionDuration(v string) *PermissionSet {
+ s.SessionDuration = &v
+ return s
+}
+
+// A structure that is used to provide the status of the provisioning operation
+// for a specified permission set.
+type PermissionSetProvisioningStatus struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the Amazon Web Services account from which to list the
+ // assignments.
+ AccountId *string `min:"12" type:"string"`
+
+ // The date that the permission set was created.
+ CreatedDate *time.Time `type:"timestamp"`
+
+ // The message that contains an error or exception in case of an operation failure.
+ FailureReason *string `type:"string"`
+
+ // The ARN of the permission set that is being provisioned. For more information
+ // about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service
+ // Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) in the Amazon
+ // Web Services General Reference.
+ PermissionSetArn *string `min:"10" type:"string"`
+
+ // The identifier for tracking the request operation that is generated by the
+ // universally unique identifier (UUID) workflow.
+ RequestId *string `min:"36" type:"string"`
+
+ // The status of the permission set provisioning process.
+ Status *string `type:"string" enum:"StatusValues"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PermissionSetProvisioningStatus) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PermissionSetProvisioningStatus) GoString() string {
+ return s.String()
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListAccountsForProvisionedPermissionSetInput) SetInstanceArn(v string) *ListAccountsForProvisionedPermissionSetInput {
- s.InstanceArn = &v
+// SetAccountId sets the AccountId field's value.
+func (s *PermissionSetProvisioningStatus) SetAccountId(v string) *PermissionSetProvisioningStatus {
+ s.AccountId = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListAccountsForProvisionedPermissionSetInput) SetMaxResults(v int64) *ListAccountsForProvisionedPermissionSetInput {
- s.MaxResults = &v
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *PermissionSetProvisioningStatus) SetCreatedDate(v time.Time) *PermissionSetProvisioningStatus {
+ s.CreatedDate = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAccountsForProvisionedPermissionSetInput) SetNextToken(v string) *ListAccountsForProvisionedPermissionSetInput {
- s.NextToken = &v
+// SetFailureReason sets the FailureReason field's value.
+func (s *PermissionSetProvisioningStatus) SetFailureReason(v string) *PermissionSetProvisioningStatus {
+ s.FailureReason = &v
return s
}
// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *ListAccountsForProvisionedPermissionSetInput) SetPermissionSetArn(v string) *ListAccountsForProvisionedPermissionSetInput {
+func (s *PermissionSetProvisioningStatus) SetPermissionSetArn(v string) *PermissionSetProvisioningStatus {
s.PermissionSetArn = &v
return s
}
-// SetProvisioningStatus sets the ProvisioningStatus field's value.
-func (s *ListAccountsForProvisionedPermissionSetInput) SetProvisioningStatus(v string) *ListAccountsForProvisionedPermissionSetInput {
- s.ProvisioningStatus = &v
+// SetRequestId sets the RequestId field's value.
+func (s *PermissionSetProvisioningStatus) SetRequestId(v string) *PermissionSetProvisioningStatus {
+ s.RequestId = &v
return s
}
-type ListAccountsForProvisionedPermissionSetOutput struct {
+// SetStatus sets the Status field's value.
+func (s *PermissionSetProvisioningStatus) SetStatus(v string) *PermissionSetProvisioningStatus {
+ s.Status = &v
+ return s
+}
+
+// Provides information about the permission set provisioning status.
+type PermissionSetProvisioningStatusMetadata struct {
_ struct{} `type:"structure"`
- // The list of Amazon Web Services AccountIds.
- AccountIds []*string `type:"list"`
+ // The date that the permission set was created.
+ CreatedDate *time.Time `type:"timestamp"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // The identifier for tracking the request operation that is generated by the
+ // universally unique identifier (UUID) workflow.
+ RequestId *string `min:"36" type:"string"`
+
+ // The status of the permission set provisioning process.
+ Status *string `type:"string" enum:"StatusValues"`
}
// String returns the string representation.
@@ -7646,7 +17249,7 @@ type ListAccountsForProvisionedPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountsForProvisionedPermissionSetOutput) String() string {
+func (s PermissionSetProvisioningStatusMetadata) String() string {
return awsutil.Prettify(s)
}
@@ -7655,42 +17258,52 @@ func (s ListAccountsForProvisionedPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAccountsForProvisionedPermissionSetOutput) GoString() string {
+func (s PermissionSetProvisioningStatusMetadata) GoString() string {
return s.String()
}
-// SetAccountIds sets the AccountIds field's value.
-func (s *ListAccountsForProvisionedPermissionSetOutput) SetAccountIds(v []*string) *ListAccountsForProvisionedPermissionSetOutput {
- s.AccountIds = v
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *PermissionSetProvisioningStatusMetadata) SetCreatedDate(v time.Time) *PermissionSetProvisioningStatusMetadata {
+ s.CreatedDate = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAccountsForProvisionedPermissionSetOutput) SetNextToken(v string) *ListAccountsForProvisionedPermissionSetOutput {
- s.NextToken = &v
+// SetRequestId sets the RequestId field's value.
+func (s *PermissionSetProvisioningStatusMetadata) SetRequestId(v string) *PermissionSetProvisioningStatusMetadata {
+ s.RequestId = &v
return s
}
-type ListCustomerManagedPolicyReferencesInPermissionSetInput struct {
- _ struct{} `type:"structure"`
-
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+// SetStatus sets the Status field's value.
+func (s *PermissionSetProvisioningStatusMetadata) SetStatus(v string) *PermissionSetProvisioningStatusMetadata {
+ s.Status = &v
+ return s
+}
- // The maximum number of results to display for the list call.
- MaxResults *int64 `min:"1" type:"integer"`
+// Specifies the configuration of the Amazon Web Services managed or customer
+// managed policy that you want to set as a permissions boundary. Specify either
+// CustomerManagedPolicyReference to use the name and path of a customer managed
+// policy, or ManagedPolicyArn to use the ARN of an Amazon Web Services managed
+// policy. A permissions boundary represents the maximum permissions that any
+// policy can grant your role. For more information, see Permissions boundaries
+// for IAM entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
+// in the IAM User Guide.
+//
+// Policies used as permissions boundaries don't provide permissions. You must
+// also attach an IAM policy to the role. To learn how the effective permissions
+// for a role are evaluated, see IAM JSON policy evaluation logic (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html)
+// in the IAM User Guide.
+type PermissionsBoundary struct {
+ _ struct{} `type:"structure"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // Specifies the name and path of a customer managed policy. You must have an
+ // IAM policy that matches the name and path in each Amazon Web Services account
+ // where you want to deploy your permission set.
+ CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure"`
- // The ARN of the PermissionSet.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // The Amazon Web Services managed policy ARN that you want to attach to a permission
+ // set as a permissions boundary.
+ ManagedPolicyArn *string `min:"20" type:"string"`
}
// String returns the string representation.
@@ -7698,7 +17311,7 @@ type ListCustomerManagedPolicyReferencesInPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListCustomerManagedPolicyReferencesInPermissionSetInput) String() string {
+func (s PermissionsBoundary) String() string {
return awsutil.Prettify(s)
}
@@ -7707,27 +17320,20 @@ func (s ListCustomerManagedPolicyReferencesInPermissionSetInput) String() string
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListCustomerManagedPolicyReferencesInPermissionSetInput) GoString() string {
+func (s PermissionsBoundary) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListCustomerManagedPolicyReferencesInPermissionSetInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
- }
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+func (s *PermissionsBoundary) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PermissionsBoundary"}
+ if s.ManagedPolicyArn != nil && len(*s.ManagedPolicyArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("ManagedPolicyArn", 20))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.CustomerManagedPolicyReference != nil {
+ if err := s.CustomerManagedPolicyReference.Validate(); err != nil {
+ invalidParams.AddNested("CustomerManagedPolicyReference", err.(request.ErrInvalidParams))
+ }
}
if invalidParams.Len() > 0 {
@@ -7736,40 +17342,28 @@ func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) Validate() err
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetInstanceArn(v string) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetMaxResults(v int64) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
- s.MaxResults = &v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetNextToken(v string) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
- s.NextToken = &v
+// SetCustomerManagedPolicyReference sets the CustomerManagedPolicyReference field's value.
+func (s *PermissionsBoundary) SetCustomerManagedPolicyReference(v *CustomerManagedPolicyReference) *PermissionsBoundary {
+ s.CustomerManagedPolicyReference = v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *ListCustomerManagedPolicyReferencesInPermissionSetInput) SetPermissionSetArn(v string) *ListCustomerManagedPolicyReferencesInPermissionSetInput {
- s.PermissionSetArn = &v
+// SetManagedPolicyArn sets the ManagedPolicyArn field's value.
+func (s *PermissionsBoundary) SetManagedPolicyArn(v string) *PermissionsBoundary {
+ s.ManagedPolicyArn = &v
return s
}
-type ListCustomerManagedPolicyReferencesInPermissionSetOutput struct {
+// A structure that describes the options for the access portal associated with
+// an application.
+type PortalOptions struct {
_ struct{} `type:"structure"`
- // Specifies the names and paths of the customer managed policies that you have
- // attached to your permission set.
- CustomerManagedPolicyReferences []*CustomerManagedPolicyReference `type:"list"`
+ // A structure that describes the sign-in options for the access portal.
+ SignInOptions *SignInOptions `type:"structure"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // Indicates whether this application is visible in the access portal.
+ Visibility *string `type:"string" enum:"ApplicationVisibility"`
}
// String returns the string representation.
@@ -7777,7 +17371,7 @@ type ListCustomerManagedPolicyReferencesInPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListCustomerManagedPolicyReferencesInPermissionSetOutput) String() string {
+func (s PortalOptions) String() string {
return awsutil.Prettify(s)
}
@@ -7786,31 +17380,60 @@ func (s ListCustomerManagedPolicyReferencesInPermissionSetOutput) String() strin
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListCustomerManagedPolicyReferencesInPermissionSetOutput) GoString() string {
+func (s PortalOptions) GoString() string {
return s.String()
}
-// SetCustomerManagedPolicyReferences sets the CustomerManagedPolicyReferences field's value.
-func (s *ListCustomerManagedPolicyReferencesInPermissionSetOutput) SetCustomerManagedPolicyReferences(v []*CustomerManagedPolicyReference) *ListCustomerManagedPolicyReferencesInPermissionSetOutput {
- s.CustomerManagedPolicyReferences = v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PortalOptions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PortalOptions"}
+ if s.SignInOptions != nil {
+ if err := s.SignInOptions.Validate(); err != nil {
+ invalidParams.AddNested("SignInOptions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetSignInOptions sets the SignInOptions field's value.
+func (s *PortalOptions) SetSignInOptions(v *SignInOptions) *PortalOptions {
+ s.SignInOptions = v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListCustomerManagedPolicyReferencesInPermissionSetOutput) SetNextToken(v string) *ListCustomerManagedPolicyReferencesInPermissionSetOutput {
- s.NextToken = &v
+// SetVisibility sets the Visibility field's value.
+func (s *PortalOptions) SetVisibility(v string) *PortalOptions {
+ s.Visibility = &v
return s
}
-type ListInstancesInput struct {
+type ProvisionPermissionSetInput struct {
_ struct{} `type:"structure"`
- // The maximum number of results to display for the instance.
- MaxResults *int64 `min:"1" type:"integer"`
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // The ARN of the permission set.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
+
+ // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
+ TargetId *string `min:"12" type:"string"`
+
+ // The entity type for which the assignment will be created.
+ //
+ // TargetType is a required field
+ TargetType *string `type:"string" required:"true" enum:"ProvisionTargetType"`
}
// String returns the string representation.
@@ -7818,7 +17441,7 @@ type ListInstancesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInstancesInput) String() string {
+func (s ProvisionPermissionSetInput) String() string {
return awsutil.Prettify(s)
}
@@ -7827,15 +17450,30 @@ func (s ListInstancesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInstancesInput) GoString() string {
+func (s ProvisionPermissionSetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListInstancesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListInstancesInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+func (s *ProvisionPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ProvisionPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+ if s.TargetId != nil && len(*s.TargetId) < 12 {
+ invalidParams.Add(request.NewErrParamMinLen("TargetId", 12))
+ }
+ if s.TargetType == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetType"))
}
if invalidParams.Len() > 0 {
@@ -7844,27 +17482,35 @@ func (s *ListInstancesInput) Validate() error {
return nil
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput {
- s.MaxResults = &v
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *ProvisionPermissionSetInput) SetInstanceArn(v string) *ProvisionPermissionSetInput {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *ProvisionPermissionSetInput) SetPermissionSetArn(v string) *ProvisionPermissionSetInput {
+ s.PermissionSetArn = &v
+ return s
+}
+
+// SetTargetId sets the TargetId field's value.
+func (s *ProvisionPermissionSetInput) SetTargetId(v string) *ProvisionPermissionSetInput {
+ s.TargetId = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput {
- s.NextToken = &v
+// SetTargetType sets the TargetType field's value.
+func (s *ProvisionPermissionSetInput) SetTargetType(v string) *ProvisionPermissionSetInput {
+ s.TargetType = &v
return s
}
-type ListInstancesOutput struct {
+type ProvisionPermissionSetOutput struct {
_ struct{} `type:"structure"`
- // Lists the IAM Identity Center instances that the caller has access to.
- Instances []*InstanceMetadata `type:"list"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // The status object for the permission set provisioning operation.
+ PermissionSetProvisioningStatus *PermissionSetProvisioningStatus `type:"structure"`
}
// String returns the string representation.
@@ -7872,7 +17518,7 @@ type ListInstancesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInstancesOutput) String() string {
+func (s ProvisionPermissionSetOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7881,44 +17527,34 @@ func (s ListInstancesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListInstancesOutput) GoString() string {
+func (s ProvisionPermissionSetOutput) GoString() string {
return s.String()
}
-// SetInstances sets the Instances field's value.
-func (s *ListInstancesOutput) SetInstances(v []*InstanceMetadata) *ListInstancesOutput {
- s.Instances = v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput {
- s.NextToken = &v
+// SetPermissionSetProvisioningStatus sets the PermissionSetProvisioningStatus field's value.
+func (s *ProvisionPermissionSetOutput) SetPermissionSetProvisioningStatus(v *PermissionSetProvisioningStatus) *ProvisionPermissionSetOutput {
+ s.PermissionSetProvisioningStatus = v
return s
}
-type ListManagedPoliciesInPermissionSetInput struct {
+type PutApplicationAccessScopeInput struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // Specifies the ARN of the application with the access scope with the targets
+ // to add or update.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
-
- // The maximum number of results to display for the PermissionSet.
- MaxResults *int64 `min:"1" type:"integer"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // Specifies an array list of ARNs that represent the authorized targets for
+ // this access scope.
+ AuthorizedTargets []*string `min:"1" type:"list"`
- // The ARN of the PermissionSet whose managed policies will be listed.
+ // Specifies the name of the access scope to be associated with the specified
+ // targets.
//
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // Scope is a required field
+ Scope *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -7926,7 +17562,7 @@ type ListManagedPoliciesInPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListManagedPoliciesInPermissionSetInput) String() string {
+func (s PutApplicationAccessScopeInput) String() string {
return awsutil.Prettify(s)
}
@@ -7935,27 +17571,24 @@ func (s ListManagedPoliciesInPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListManagedPoliciesInPermissionSetInput) GoString() string {
+func (s PutApplicationAccessScopeInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListManagedPoliciesInPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListManagedPoliciesInPermissionSetInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+func (s *PutApplicationAccessScopeInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutApplicationAccessScopeInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ if s.AuthorizedTargets != nil && len(s.AuthorizedTargets) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AuthorizedTargets", 1))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.Scope == nil {
+ invalidParams.Add(request.NewErrParamRequired("Scope"))
}
if invalidParams.Len() > 0 {
@@ -7964,39 +17597,26 @@ func (s *ListManagedPoliciesInPermissionSetInput) Validate() error {
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListManagedPoliciesInPermissionSetInput) SetInstanceArn(v string) *ListManagedPoliciesInPermissionSetInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListManagedPoliciesInPermissionSetInput) SetMaxResults(v int64) *ListManagedPoliciesInPermissionSetInput {
- s.MaxResults = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *PutApplicationAccessScopeInput) SetApplicationArn(v string) *PutApplicationAccessScopeInput {
+ s.ApplicationArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListManagedPoliciesInPermissionSetInput) SetNextToken(v string) *ListManagedPoliciesInPermissionSetInput {
- s.NextToken = &v
+// SetAuthorizedTargets sets the AuthorizedTargets field's value.
+func (s *PutApplicationAccessScopeInput) SetAuthorizedTargets(v []*string) *PutApplicationAccessScopeInput {
+ s.AuthorizedTargets = v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *ListManagedPoliciesInPermissionSetInput) SetPermissionSetArn(v string) *ListManagedPoliciesInPermissionSetInput {
- s.PermissionSetArn = &v
+// SetScope sets the Scope field's value.
+func (s *PutApplicationAccessScopeInput) SetScope(v string) *PutApplicationAccessScopeInput {
+ s.Scope = &v
return s
}
-type ListManagedPoliciesInPermissionSetOutput struct {
+type PutApplicationAccessScopeOutput struct {
_ struct{} `type:"structure"`
-
- // An array of the AttachedManagedPolicy data type object.
- AttachedManagedPolicies []*AttachedManagedPolicy `type:"list"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
}
// String returns the string representation.
@@ -8004,7 +17624,7 @@ type ListManagedPoliciesInPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListManagedPoliciesInPermissionSetOutput) String() string {
+func (s PutApplicationAccessScopeOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8013,42 +17633,27 @@ func (s ListManagedPoliciesInPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListManagedPoliciesInPermissionSetOutput) GoString() string {
+func (s PutApplicationAccessScopeOutput) GoString() string {
return s.String()
}
-// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value.
-func (s *ListManagedPoliciesInPermissionSetOutput) SetAttachedManagedPolicies(v []*AttachedManagedPolicy) *ListManagedPoliciesInPermissionSetOutput {
- s.AttachedManagedPolicies = v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListManagedPoliciesInPermissionSetOutput) SetNextToken(v string) *ListManagedPoliciesInPermissionSetOutput {
- s.NextToken = &v
- return s
-}
-
-type ListPermissionSetProvisioningStatusInput struct {
+type PutApplicationAssignmentConfigurationInput struct {
_ struct{} `type:"structure"`
- // Filters results based on the passed attribute value.
- Filter *OperationStatusFilter `type:"structure"`
-
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // Specifies the ARN of the application. For more information about ARNs, see
+ // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
// in the Amazon Web Services General Reference.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
- // The maximum number of results to display for the assignment.
- MaxResults *int64 `min:"1" type:"integer"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // If AssignmentsRequired is true (default value), users don’t have access
+ // to the application unless an assignment is created using the CreateApplicationAssignment
+ // API (https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_CreateApplicationAssignment.html).
+ // If false, all users have access to the application.
+ //
+ // AssignmentRequired is a required field
+ AssignmentRequired *bool `type:"boolean" required:"true"`
}
// String returns the string representation.
@@ -8056,7 +17661,7 @@ type ListPermissionSetProvisioningStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetProvisioningStatusInput) String() string {
+func (s PutApplicationAssignmentConfigurationInput) String() string {
return awsutil.Prettify(s)
}
@@ -8065,21 +17670,21 @@ func (s ListPermissionSetProvisioningStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetProvisioningStatusInput) GoString() string {
+func (s PutApplicationAssignmentConfigurationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListPermissionSetProvisioningStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListPermissionSetProvisioningStatusInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+func (s *PutApplicationAssignmentConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutApplicationAssignmentConfigurationInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ if s.AssignmentRequired == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssignmentRequired"))
}
if invalidParams.Len() > 0 {
@@ -8088,39 +17693,20 @@ func (s *ListPermissionSetProvisioningStatusInput) Validate() error {
return nil
}
-// SetFilter sets the Filter field's value.
-func (s *ListPermissionSetProvisioningStatusInput) SetFilter(v *OperationStatusFilter) *ListPermissionSetProvisioningStatusInput {
- s.Filter = v
- return s
-}
-
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListPermissionSetProvisioningStatusInput) SetInstanceArn(v string) *ListPermissionSetProvisioningStatusInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListPermissionSetProvisioningStatusInput) SetMaxResults(v int64) *ListPermissionSetProvisioningStatusInput {
- s.MaxResults = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *PutApplicationAssignmentConfigurationInput) SetApplicationArn(v string) *PutApplicationAssignmentConfigurationInput {
+ s.ApplicationArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPermissionSetProvisioningStatusInput) SetNextToken(v string) *ListPermissionSetProvisioningStatusInput {
- s.NextToken = &v
+// SetAssignmentRequired sets the AssignmentRequired field's value.
+func (s *PutApplicationAssignmentConfigurationInput) SetAssignmentRequired(v bool) *PutApplicationAssignmentConfigurationInput {
+ s.AssignmentRequired = &v
return s
}
-type ListPermissionSetProvisioningStatusOutput struct {
+type PutApplicationAssignmentConfigurationOutput struct {
_ struct{} `type:"structure"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
-
- // The status object for the permission set provisioning operation.
- PermissionSetsProvisioningStatus []*PermissionSetProvisioningStatusMetadata `type:"list"`
}
// String returns the string representation.
@@ -8128,7 +17714,7 @@ type ListPermissionSetProvisioningStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetProvisioningStatusOutput) String() string {
+func (s PutApplicationAssignmentConfigurationOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8137,39 +17723,30 @@ func (s ListPermissionSetProvisioningStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetProvisioningStatusOutput) GoString() string {
+func (s PutApplicationAssignmentConfigurationOutput) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPermissionSetProvisioningStatusOutput) SetNextToken(v string) *ListPermissionSetProvisioningStatusOutput {
- s.NextToken = &v
- return s
-}
-
-// SetPermissionSetsProvisioningStatus sets the PermissionSetsProvisioningStatus field's value.
-func (s *ListPermissionSetProvisioningStatusOutput) SetPermissionSetsProvisioningStatus(v []*PermissionSetProvisioningStatusMetadata) *ListPermissionSetProvisioningStatusOutput {
- s.PermissionSetsProvisioningStatus = v
- return s
-}
-
-type ListPermissionSetsInput struct {
+type PutApplicationAuthenticationMethodInput struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // Specifies the ARN of the application with the authentication method to add
+ // or update.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
- // The maximum number of results to display for the assignment.
- MaxResults *int64 `min:"1" type:"integer"`
+ // Specifies a structure that describes the authentication method to add or
+ // update. The structure type you provide is determined by the AuthenticationMethodType
+ // parameter.
+ //
+ // AuthenticationMethod is a required field
+ AuthenticationMethod *AuthenticationMethod `type:"structure" required:"true"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
+ // Specifies the type of the authentication method that you want to add or update.
+ //
+ // AuthenticationMethodType is a required field
+ AuthenticationMethodType *string `type:"string" required:"true" enum:"AuthenticationMethodType"`
}
// String returns the string representation.
@@ -8177,7 +17754,7 @@ type ListPermissionSetsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsInput) String() string {
+func (s PutApplicationAuthenticationMethodInput) String() string {
return awsutil.Prettify(s)
}
@@ -8186,21 +17763,24 @@ func (s ListPermissionSetsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsInput) GoString() string {
+func (s PutApplicationAuthenticationMethodInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListPermissionSetsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListPermissionSetsInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+func (s *PutApplicationAuthenticationMethodInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutApplicationAuthenticationMethodInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ if s.AuthenticationMethod == nil {
+ invalidParams.Add(request.NewErrParamRequired("AuthenticationMethod"))
+ }
+ if s.AuthenticationMethodType == nil {
+ invalidParams.Add(request.NewErrParamRequired("AuthenticationMethodType"))
}
if invalidParams.Len() > 0 {
@@ -8209,33 +17789,26 @@ func (s *ListPermissionSetsInput) Validate() error {
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListPermissionSetsInput) SetInstanceArn(v string) *ListPermissionSetsInput {
- s.InstanceArn = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *PutApplicationAuthenticationMethodInput) SetApplicationArn(v string) *PutApplicationAuthenticationMethodInput {
+ s.ApplicationArn = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListPermissionSetsInput) SetMaxResults(v int64) *ListPermissionSetsInput {
- s.MaxResults = &v
+// SetAuthenticationMethod sets the AuthenticationMethod field's value.
+func (s *PutApplicationAuthenticationMethodInput) SetAuthenticationMethod(v *AuthenticationMethod) *PutApplicationAuthenticationMethodInput {
+ s.AuthenticationMethod = v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPermissionSetsInput) SetNextToken(v string) *ListPermissionSetsInput {
- s.NextToken = &v
+// SetAuthenticationMethodType sets the AuthenticationMethodType field's value.
+func (s *PutApplicationAuthenticationMethodInput) SetAuthenticationMethodType(v string) *PutApplicationAuthenticationMethodInput {
+ s.AuthenticationMethodType = &v
return s
}
-type ListPermissionSetsOutput struct {
+type PutApplicationAuthenticationMethodOutput struct {
_ struct{} `type:"structure"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
-
- // Defines the level of access on an Amazon Web Services account.
- PermissionSets []*string `type:"list"`
}
// String returns the string representation.
@@ -8243,7 +17816,7 @@ type ListPermissionSetsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsOutput) String() string {
+func (s PutApplicationAuthenticationMethodOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8252,48 +17825,27 @@ func (s ListPermissionSetsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsOutput) GoString() string {
+func (s PutApplicationAuthenticationMethodOutput) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPermissionSetsOutput) SetNextToken(v string) *ListPermissionSetsOutput {
- s.NextToken = &v
- return s
-}
-
-// SetPermissionSets sets the PermissionSets field's value.
-func (s *ListPermissionSetsOutput) SetPermissionSets(v []*string) *ListPermissionSetsOutput {
- s.PermissionSets = v
- return s
-}
-
-type ListPermissionSetsProvisionedToAccountInput struct {
+type PutApplicationGrantInput struct {
_ struct{} `type:"structure"`
- // The identifier of the Amazon Web Services account from which to list the
- // assignments.
+ // Specifies the ARN of the application to update.
//
- // AccountId is a required field
- AccountId *string `min:"12" type:"string" required:"true"`
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // Specifies a structure that describes the grant to update.
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // Grant is a required field
+ Grant *Grant `type:"structure" required:"true"`
- // The maximum number of results to display for the assignment.
- MaxResults *int64 `min:"1" type:"integer"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
-
- // The status object for the permission set provisioning operation.
- ProvisioningStatus *string `type:"string" enum:"ProvisioningStatus"`
+ // Specifies the type of grant to update.
+ //
+ // GrantType is a required field
+ GrantType *string `type:"string" required:"true" enum:"GrantType"`
}
// String returns the string representation.
@@ -8301,7 +17853,7 @@ type ListPermissionSetsProvisionedToAccountInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsProvisionedToAccountInput) String() string {
+func (s PutApplicationGrantInput) String() string {
return awsutil.Prettify(s)
}
@@ -8310,27 +17862,29 @@ func (s ListPermissionSetsProvisionedToAccountInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsProvisionedToAccountInput) GoString() string {
+func (s PutApplicationGrantInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListPermissionSetsProvisionedToAccountInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListPermissionSetsProvisionedToAccountInput"}
- if s.AccountId == nil {
- invalidParams.Add(request.NewErrParamRequired("AccountId"))
+func (s *PutApplicationGrantInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutApplicationGrantInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
}
- if s.AccountId != nil && len(*s.AccountId) < 12 {
- invalidParams.Add(request.NewErrParamMinLen("AccountId", 12))
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ if s.Grant == nil {
+ invalidParams.Add(request.NewErrParamRequired("Grant"))
}
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ if s.GrantType == nil {
+ invalidParams.Add(request.NewErrParamRequired("GrantType"))
}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ if s.Grant != nil {
+ if err := s.Grant.Validate(); err != nil {
+ invalidParams.AddNested("Grant", err.(request.ErrInvalidParams))
+ }
}
if invalidParams.Len() > 0 {
@@ -8339,45 +17893,26 @@ func (s *ListPermissionSetsProvisionedToAccountInput) Validate() error {
return nil
}
-// SetAccountId sets the AccountId field's value.
-func (s *ListPermissionSetsProvisionedToAccountInput) SetAccountId(v string) *ListPermissionSetsProvisionedToAccountInput {
- s.AccountId = &v
- return s
-}
-
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListPermissionSetsProvisionedToAccountInput) SetInstanceArn(v string) *ListPermissionSetsProvisionedToAccountInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListPermissionSetsProvisionedToAccountInput) SetMaxResults(v int64) *ListPermissionSetsProvisionedToAccountInput {
- s.MaxResults = &v
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *PutApplicationGrantInput) SetApplicationArn(v string) *PutApplicationGrantInput {
+ s.ApplicationArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPermissionSetsProvisionedToAccountInput) SetNextToken(v string) *ListPermissionSetsProvisionedToAccountInput {
- s.NextToken = &v
+// SetGrant sets the Grant field's value.
+func (s *PutApplicationGrantInput) SetGrant(v *Grant) *PutApplicationGrantInput {
+ s.Grant = v
return s
}
-// SetProvisioningStatus sets the ProvisioningStatus field's value.
-func (s *ListPermissionSetsProvisionedToAccountInput) SetProvisioningStatus(v string) *ListPermissionSetsProvisionedToAccountInput {
- s.ProvisioningStatus = &v
+// SetGrantType sets the GrantType field's value.
+func (s *PutApplicationGrantInput) SetGrantType(v string) *PutApplicationGrantInput {
+ s.GrantType = &v
return s
}
-type ListPermissionSetsProvisionedToAccountOutput struct {
+type PutApplicationGrantOutput struct {
_ struct{} `type:"structure"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
-
- // Defines the level of access that an Amazon Web Services account has.
- PermissionSets []*string `type:"list"`
}
// String returns the string representation.
@@ -8385,7 +17920,7 @@ type ListPermissionSetsProvisionedToAccountOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsProvisionedToAccountOutput) String() string {
+func (s PutApplicationGrantOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8394,25 +17929,18 @@ func (s ListPermissionSetsProvisionedToAccountOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListPermissionSetsProvisionedToAccountOutput) GoString() string {
+func (s PutApplicationGrantOutput) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListPermissionSetsProvisionedToAccountOutput) SetNextToken(v string) *ListPermissionSetsProvisionedToAccountOutput {
- s.NextToken = &v
- return s
-}
-
-// SetPermissionSets sets the PermissionSets field's value.
-func (s *ListPermissionSetsProvisionedToAccountOutput) SetPermissionSets(v []*string) *ListPermissionSetsProvisionedToAccountOutput {
- s.PermissionSets = v
- return s
-}
-
-type ListTagsForResourceInput struct {
+type PutInlinePolicyToPermissionSetInput struct {
_ struct{} `type:"structure"`
+ // The inline policy to attach to a PermissionSet.
+ //
+ // InlinePolicy is a required field
+ InlinePolicy *string `min:"1" type:"string" required:"true"`
+
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
@@ -8421,14 +17949,10 @@ type ListTagsForResourceInput struct {
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
-
- // The ARN of the resource with the tags to be listed.
+ // The ARN of the permission set.
//
- // ResourceArn is a required field
- ResourceArn *string `min:"10" type:"string" required:"true"`
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
}
// String returns the string representation.
@@ -8436,7 +17960,7 @@ type ListTagsForResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) String() string {
+func (s PutInlinePolicyToPermissionSetInput) String() string {
return awsutil.Prettify(s)
}
@@ -8445,24 +17969,30 @@ func (s ListTagsForResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) GoString() string {
+func (s PutInlinePolicyToPermissionSetInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListTagsForResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
+func (s *PutInlinePolicyToPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutInlinePolicyToPermissionSetInput"}
+ if s.InlinePolicy == nil {
+ invalidParams.Add(request.NewErrParamRequired("InlinePolicy"))
+ }
+ if s.InlinePolicy != nil && len(*s.InlinePolicy) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("InlinePolicy", 1))
+ }
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.ResourceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
}
- if s.ResourceArn != nil && len(*s.ResourceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 10))
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
}
if invalidParams.Len() > 0 {
@@ -8471,71 +18001,26 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ListTagsForResourceInput) SetInstanceArn(v string) *ListTagsForResourceInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput {
- s.NextToken = &v
- return s
-}
-
-// SetResourceArn sets the ResourceArn field's value.
-func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
- s.ResourceArn = &v
+// SetInlinePolicy sets the InlinePolicy field's value.
+func (s *PutInlinePolicyToPermissionSetInput) SetInlinePolicy(v string) *PutInlinePolicyToPermissionSetInput {
+ s.InlinePolicy = &v
return s
}
-type ListTagsForResourceOutput struct {
- _ struct{} `type:"structure"`
-
- // The pagination token for the list API. Initially the value is null. Use the
- // output of previous API calls to make subsequent calls.
- NextToken *string `type:"string"`
-
- // A set of key-value pairs that are used to manage the resource.
- Tags []*Tag `type:"list"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) GoString() string {
- return s.String()
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput {
- s.NextToken = &v
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *PutInlinePolicyToPermissionSetInput) SetInstanceArn(v string) *PutInlinePolicyToPermissionSetInput {
+ s.InstanceArn = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
- s.Tags = v
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *PutInlinePolicyToPermissionSetInput) SetPermissionSetArn(v string) *PutInlinePolicyToPermissionSetInput {
+ s.PermissionSetArn = &v
return s
}
-// Filters he operation status list based on the passed attribute value.
-type OperationStatusFilter struct {
+type PutInlinePolicyToPermissionSetOutput struct {
_ struct{} `type:"structure"`
-
- // Filters the list operations result based on the status attribute.
- Status *string `type:"string" enum:"StatusValues"`
}
// String returns the string representation.
@@ -8543,7 +18028,7 @@ type OperationStatusFilter struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OperationStatusFilter) String() string {
+func (s PutInlinePolicyToPermissionSetOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8552,41 +18037,28 @@ func (s OperationStatusFilter) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s OperationStatusFilter) GoString() string {
+func (s PutInlinePolicyToPermissionSetOutput) GoString() string {
return s.String()
}
-// SetStatus sets the Status field's value.
-func (s *OperationStatusFilter) SetStatus(v string) *OperationStatusFilter {
- s.Status = &v
- return s
-}
-
-// An entity that contains IAM policies.
-type PermissionSet struct {
+type PutPermissionsBoundaryToPermissionSetInput struct {
_ struct{} `type:"structure"`
- // The date that the permission set was created.
- CreatedDate *time.Time `type:"timestamp"`
-
- // The description of the PermissionSet.
- Description *string `min:"1" type:"string"`
-
- // The name of the permission set.
- Name *string `min:"1" type:"string"`
-
- // The ARN of the permission set. For more information about ARNs, see Amazon
- // Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
- PermissionSetArn *string `min:"10" type:"string"`
+ // The ARN of the IAM Identity Center instance under which the operation will
+ // be executed.
+ //
+ // InstanceArn is a required field
+ InstanceArn *string `min:"10" type:"string" required:"true"`
- // Used to redirect users within the application during the federation authentication
- // process.
- RelayState *string `min:"1" type:"string"`
+ // The ARN of the PermissionSet.
+ //
+ // PermissionSetArn is a required field
+ PermissionSetArn *string `min:"10" type:"string" required:"true"`
- // The length of time that the application user sessions are valid for in the
- // ISO-8601 standard.
- SessionDuration *string `min:"1" type:"string"`
+ // The permissions boundary that you want to attach to a PermissionSet.
+ //
+ // PermissionsBoundary is a required field
+ PermissionsBoundary *PermissionsBoundary `type:"structure" required:"true"`
}
// String returns the string representation.
@@ -8594,7 +18066,7 @@ type PermissionSet struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionSet) String() string {
+func (s PutPermissionsBoundaryToPermissionSetInput) String() string {
return awsutil.Prettify(s)
}
@@ -8603,73 +18075,86 @@ func (s PermissionSet) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionSet) GoString() string {
+func (s PutPermissionsBoundaryToPermissionSetInput) GoString() string {
return s.String()
}
-// SetCreatedDate sets the CreatedDate field's value.
-func (s *PermissionSet) SetCreatedDate(v time.Time) *PermissionSet {
- s.CreatedDate = &v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *PermissionSet) SetDescription(v string) *PermissionSet {
- s.Description = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutPermissionsBoundaryToPermissionSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutPermissionsBoundaryToPermissionSetInput"}
+ if s.InstanceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
+ }
+ if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+ }
+ if s.PermissionSetArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ }
+ if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ }
+ if s.PermissionsBoundary == nil {
+ invalidParams.Add(request.NewErrParamRequired("PermissionsBoundary"))
+ }
+ if s.PermissionsBoundary != nil {
+ if err := s.PermissionsBoundary.Validate(); err != nil {
+ invalidParams.AddNested("PermissionsBoundary", err.(request.ErrInvalidParams))
+ }
+ }
-// SetName sets the Name field's value.
-func (s *PermissionSet) SetName(v string) *PermissionSet {
- s.Name = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *PermissionSet) SetPermissionSetArn(v string) *PermissionSet {
- s.PermissionSetArn = &v
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *PutPermissionsBoundaryToPermissionSetInput) SetInstanceArn(v string) *PutPermissionsBoundaryToPermissionSetInput {
+ s.InstanceArn = &v
return s
}
-
-// SetRelayState sets the RelayState field's value.
-func (s *PermissionSet) SetRelayState(v string) *PermissionSet {
- s.RelayState = &v
+
+// SetPermissionSetArn sets the PermissionSetArn field's value.
+func (s *PutPermissionsBoundaryToPermissionSetInput) SetPermissionSetArn(v string) *PutPermissionsBoundaryToPermissionSetInput {
+ s.PermissionSetArn = &v
return s
}
-// SetSessionDuration sets the SessionDuration field's value.
-func (s *PermissionSet) SetSessionDuration(v string) *PermissionSet {
- s.SessionDuration = &v
+// SetPermissionsBoundary sets the PermissionsBoundary field's value.
+func (s *PutPermissionsBoundaryToPermissionSetInput) SetPermissionsBoundary(v *PermissionsBoundary) *PutPermissionsBoundaryToPermissionSetInput {
+ s.PermissionsBoundary = v
return s
}
-// A structure that is used to provide the status of the provisioning operation
-// for a specified permission set.
-type PermissionSetProvisioningStatus struct {
+type PutPermissionsBoundaryToPermissionSetOutput struct {
_ struct{} `type:"structure"`
+}
- // The identifier of the Amazon Web Services account from which to list the
- // assignments.
- AccountId *string `min:"12" type:"string"`
-
- // The date that the permission set was created.
- CreatedDate *time.Time `type:"timestamp"`
-
- // The message that contains an error or exception in case of an operation failure.
- FailureReason *string `type:"string"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutPermissionsBoundaryToPermissionSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
- // The ARN of the permission set that is being provisioned. For more information
- // about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service
- // Namespaces (/general/latest/gr/aws-arns-and-namespaces.html) in the Amazon
- // Web Services General Reference.
- PermissionSetArn *string `min:"10" type:"string"`
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutPermissionsBoundaryToPermissionSetOutput) GoString() string {
+ return s.String()
+}
- // The identifier for tracking the request operation that is generated by the
- // universally unique identifier (UUID) workflow.
- RequestId *string `min:"36" type:"string"`
+// Indicates that a requested resource is not found.
+type ResourceNotFoundException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // The status of the permission set provisioning process.
- Status *string `type:"string" enum:"StatusValues"`
+ Message_ *string `locationName:"Message" type:"string"`
}
// String returns the string representation.
@@ -8677,7 +18162,7 @@ type PermissionSetProvisioningStatus struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionSetProvisioningStatus) String() string {
+func (s ResourceNotFoundException) String() string {
return awsutil.Prettify(s)
}
@@ -8686,59 +18171,55 @@ func (s PermissionSetProvisioningStatus) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionSetProvisioningStatus) GoString() string {
+func (s ResourceNotFoundException) GoString() string {
return s.String()
}
-// SetAccountId sets the AccountId field's value.
-func (s *PermissionSetProvisioningStatus) SetAccountId(v string) *PermissionSetProvisioningStatus {
- s.AccountId = &v
- return s
+func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
+ return &ResourceNotFoundException{
+ RespMetadata: v,
+ }
}
-// SetCreatedDate sets the CreatedDate field's value.
-func (s *PermissionSetProvisioningStatus) SetCreatedDate(v time.Time) *PermissionSetProvisioningStatus {
- s.CreatedDate = &v
- return s
+// Code returns the exception type name.
+func (s *ResourceNotFoundException) Code() string {
+ return "ResourceNotFoundException"
}
-// SetFailureReason sets the FailureReason field's value.
-func (s *PermissionSetProvisioningStatus) SetFailureReason(v string) *PermissionSetProvisioningStatus {
- s.FailureReason = &v
- return s
+// Message returns the exception's message.
+func (s *ResourceNotFoundException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *PermissionSetProvisioningStatus) SetPermissionSetArn(v string) *PermissionSetProvisioningStatus {
- s.PermissionSetArn = &v
- return s
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ResourceNotFoundException) OrigErr() error {
+ return nil
}
-// SetRequestId sets the RequestId field's value.
-func (s *PermissionSetProvisioningStatus) SetRequestId(v string) *PermissionSetProvisioningStatus {
- s.RequestId = &v
- return s
+func (s *ResourceNotFoundException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
-// SetStatus sets the Status field's value.
-func (s *PermissionSetProvisioningStatus) SetStatus(v string) *PermissionSetProvisioningStatus {
- s.Status = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *ResourceNotFoundException) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-// Provides information about the permission set provisioning status.
-type PermissionSetProvisioningStatusMetadata struct {
- _ struct{} `type:"structure"`
-
- // The date that the permission set was created.
- CreatedDate *time.Time `type:"timestamp"`
+// RequestID returns the service's response RequestID for request.
+func (s *ResourceNotFoundException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // The identifier for tracking the request operation that is generated by the
- // universally unique identifier (UUID) workflow.
- RequestId *string `min:"36" type:"string"`
+// A structure that describes the configuration of a resource server.
+type ResourceServerConfig struct {
+ _ struct{} `type:"structure"`
- // The status of the permission set provisioning process.
- Status *string `type:"string" enum:"StatusValues"`
+ // A list of the IAM Identity Center access scopes that are associated with
+ // this resource server.
+ Scopes map[string]*ResourceServerScopeDetails `type:"map"`
}
// String returns the string representation.
@@ -8746,7 +18227,7 @@ type PermissionSetProvisioningStatusMetadata struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionSetProvisioningStatusMetadata) String() string {
+func (s ResourceServerConfig) String() string {
return awsutil.Prettify(s)
}
@@ -8755,52 +18236,26 @@ func (s PermissionSetProvisioningStatusMetadata) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionSetProvisioningStatusMetadata) GoString() string {
+func (s ResourceServerConfig) GoString() string {
return s.String()
}
-// SetCreatedDate sets the CreatedDate field's value.
-func (s *PermissionSetProvisioningStatusMetadata) SetCreatedDate(v time.Time) *PermissionSetProvisioningStatusMetadata {
- s.CreatedDate = &v
- return s
-}
-
-// SetRequestId sets the RequestId field's value.
-func (s *PermissionSetProvisioningStatusMetadata) SetRequestId(v string) *PermissionSetProvisioningStatusMetadata {
- s.RequestId = &v
- return s
-}
-
-// SetStatus sets the Status field's value.
-func (s *PermissionSetProvisioningStatusMetadata) SetStatus(v string) *PermissionSetProvisioningStatusMetadata {
- s.Status = &v
+// SetScopes sets the Scopes field's value.
+func (s *ResourceServerConfig) SetScopes(v map[string]*ResourceServerScopeDetails) *ResourceServerConfig {
+ s.Scopes = v
return s
}
-// Specifies the configuration of the Amazon Web Services managed or customer
-// managed policy that you want to set as a permissions boundary. Specify either
-// CustomerManagedPolicyReference to use the name and path of a customer managed
-// policy, or ManagedPolicyArn to use the ARN of an Amazon Web Services managed
-// policy. A permissions boundary represents the maximum permissions that any
-// policy can grant your role. For more information, see Permissions boundaries
-// for IAM entities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
-// in the IAM User Guide.
-//
-// Policies used as permissions boundaries don't provide permissions. You must
-// also attach an IAM policy to the role. To learn how the effective permissions
-// for a role are evaluated, see IAM JSON policy evaluation logic (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html)
-// in the IAM User Guide.
-type PermissionsBoundary struct {
+// A structure that describes details for an IAM Identity Center access scope
+// that is associated with a resource server.
+type ResourceServerScopeDetails struct {
_ struct{} `type:"structure"`
- // Specifies the name and path of a customer managed policy. You must have an
- // IAM policy that matches the name and path in each Amazon Web Services account
- // where you want to deploy your permission set.
- CustomerManagedPolicyReference *CustomerManagedPolicyReference `type:"structure"`
+ // The title of an access scope for a resource server.
+ DetailedTitle *string `min:"1" type:"string"`
- // The Amazon Web Services managed policy ARN that you want to attach to a permission
- // set as a permissions boundary.
- ManagedPolicyArn *string `min:"20" type:"string"`
+ // The description of an access scope for a resource server.
+ LongDescription *string `min:"1" type:"string"`
}
// String returns the string representation.
@@ -8808,7 +18263,7 @@ type PermissionsBoundary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionsBoundary) String() string {
+func (s ResourceServerScopeDetails) String() string {
return awsutil.Prettify(s)
}
@@ -8817,63 +18272,34 @@ func (s PermissionsBoundary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PermissionsBoundary) GoString() string {
+func (s ResourceServerScopeDetails) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *PermissionsBoundary) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PermissionsBoundary"}
- if s.ManagedPolicyArn != nil && len(*s.ManagedPolicyArn) < 20 {
- invalidParams.Add(request.NewErrParamMinLen("ManagedPolicyArn", 20))
- }
- if s.CustomerManagedPolicyReference != nil {
- if err := s.CustomerManagedPolicyReference.Validate(); err != nil {
- invalidParams.AddNested("CustomerManagedPolicyReference", err.(request.ErrInvalidParams))
- }
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetCustomerManagedPolicyReference sets the CustomerManagedPolicyReference field's value.
-func (s *PermissionsBoundary) SetCustomerManagedPolicyReference(v *CustomerManagedPolicyReference) *PermissionsBoundary {
- s.CustomerManagedPolicyReference = v
+// SetDetailedTitle sets the DetailedTitle field's value.
+func (s *ResourceServerScopeDetails) SetDetailedTitle(v string) *ResourceServerScopeDetails {
+ s.DetailedTitle = &v
return s
}
-// SetManagedPolicyArn sets the ManagedPolicyArn field's value.
-func (s *PermissionsBoundary) SetManagedPolicyArn(v string) *PermissionsBoundary {
- s.ManagedPolicyArn = &v
+// SetLongDescription sets the LongDescription field's value.
+func (s *ResourceServerScopeDetails) SetLongDescription(v string) *ResourceServerScopeDetails {
+ s.LongDescription = &v
return s
}
-type ProvisionPermissionSetInput struct {
+// A structure that describes an IAM Identity Center access scope and its authorized
+// targets.
+type ScopeDetails struct {
_ struct{} `type:"structure"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
-
- // The ARN of the permission set.
- //
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
-
- // TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
- TargetId *string `min:"12" type:"string"`
+ // An array list of ARNs of applications.
+ AuthorizedTargets []*string `min:"1" type:"list"`
- // The entity type for which the assignment will be created.
+ // The name of the access scope.
//
- // TargetType is a required field
- TargetType *string `type:"string" required:"true" enum:"ProvisionTargetType"`
+ // Scope is a required field
+ Scope *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -8881,7 +18307,7 @@ type ProvisionPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ProvisionPermissionSetInput) String() string {
+func (s ScopeDetails) String() string {
return awsutil.Prettify(s)
}
@@ -8890,67 +18316,29 @@ func (s ProvisionPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ProvisionPermissionSetInput) GoString() string {
+func (s ScopeDetails) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ProvisionPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ProvisionPermissionSetInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
- }
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
- }
- if s.TargetId != nil && len(*s.TargetId) < 12 {
- invalidParams.Add(request.NewErrParamMinLen("TargetId", 12))
- }
- if s.TargetType == nil {
- invalidParams.Add(request.NewErrParamRequired("TargetType"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *ProvisionPermissionSetInput) SetInstanceArn(v string) *ProvisionPermissionSetInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *ProvisionPermissionSetInput) SetPermissionSetArn(v string) *ProvisionPermissionSetInput {
- s.PermissionSetArn = &v
- return s
-}
-
-// SetTargetId sets the TargetId field's value.
-func (s *ProvisionPermissionSetInput) SetTargetId(v string) *ProvisionPermissionSetInput {
- s.TargetId = &v
+// SetAuthorizedTargets sets the AuthorizedTargets field's value.
+func (s *ScopeDetails) SetAuthorizedTargets(v []*string) *ScopeDetails {
+ s.AuthorizedTargets = v
return s
}
-// SetTargetType sets the TargetType field's value.
-func (s *ProvisionPermissionSetInput) SetTargetType(v string) *ProvisionPermissionSetInput {
- s.TargetType = &v
+// SetScope sets the Scope field's value.
+func (s *ScopeDetails) SetScope(v string) *ScopeDetails {
+ s.Scope = &v
return s
}
-type ProvisionPermissionSetOutput struct {
- _ struct{} `type:"structure"`
+// Indicates that the principal has crossed the permitted number of resources
+// that can be created.
+type ServiceQuotaExceededException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // The status object for the permission set provisioning operation.
- PermissionSetProvisioningStatus *PermissionSetProvisioningStatus `type:"structure"`
+ Message_ *string `locationName:"Message" type:"string"`
}
// String returns the string representation.
@@ -8958,7 +18346,7 @@ type ProvisionPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ProvisionPermissionSetOutput) String() string {
+func (s ServiceQuotaExceededException) String() string {
return awsutil.Prettify(s)
}
@@ -8967,36 +18355,67 @@ func (s ProvisionPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ProvisionPermissionSetOutput) GoString() string {
+func (s ServiceQuotaExceededException) GoString() string {
return s.String()
}
-// SetPermissionSetProvisioningStatus sets the PermissionSetProvisioningStatus field's value.
-func (s *ProvisionPermissionSetOutput) SetPermissionSetProvisioningStatus(v *PermissionSetProvisioningStatus) *ProvisionPermissionSetOutput {
- s.PermissionSetProvisioningStatus = v
- return s
+func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
+ return &ServiceQuotaExceededException{
+ RespMetadata: v,
+ }
}
-type PutInlinePolicyToPermissionSetInput struct {
+// Code returns the exception type name.
+func (s *ServiceQuotaExceededException) Code() string {
+ return "ServiceQuotaExceededException"
+}
+
+// Message returns the exception's message.
+func (s *ServiceQuotaExceededException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ServiceQuotaExceededException) OrigErr() error {
+ return nil
+}
+
+func (s *ServiceQuotaExceededException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ServiceQuotaExceededException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ServiceQuotaExceededException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// A structure that describes the sign-in options for an application portal.
+type SignInOptions struct {
_ struct{} `type:"structure"`
- // The inline policy to attach to a PermissionSet.
- //
- // InlinePolicy is a required field
- InlinePolicy *string `min:"1" type:"string" required:"true"`
+ // The URL that accepts authentication requests for an application. This is
+ // a required parameter if the Origin parameter is APPLICATION.
+ ApplicationUrl *string `min:"1" type:"string"`
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // This determines how IAM Identity Center navigates the user to the target
+ // application. It can be one of the following values:
//
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
-
- // The ARN of the permission set.
+ // * APPLICATION: IAM Identity Center redirects the customer to the configured
+ // ApplicationUrl.
//
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // * IDENTITY_CENTER: IAM Identity Center uses SAML identity-provider initiated
+ // authentication to sign the customer directly into a SAML-based application.
+ //
+ // Origin is a required field
+ Origin *string `type:"string" required:"true" enum:"SignInOrigin"`
}
// String returns the string representation.
@@ -9004,7 +18423,7 @@ type PutInlinePolicyToPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutInlinePolicyToPermissionSetInput) String() string {
+func (s SignInOptions) String() string {
return awsutil.Prettify(s)
}
@@ -9013,30 +18432,18 @@ func (s PutInlinePolicyToPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutInlinePolicyToPermissionSetInput) GoString() string {
+func (s SignInOptions) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *PutInlinePolicyToPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PutInlinePolicyToPermissionSetInput"}
- if s.InlinePolicy == nil {
- invalidParams.Add(request.NewErrParamRequired("InlinePolicy"))
- }
- if s.InlinePolicy != nil && len(*s.InlinePolicy) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("InlinePolicy", 1))
- }
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
- if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
+func (s *SignInOptions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SignInOptions"}
+ if s.ApplicationUrl != nil && len(*s.ApplicationUrl) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationUrl", 1))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
- }
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.Origin == nil {
+ invalidParams.Add(request.NewErrParamRequired("Origin"))
}
if invalidParams.Len() > 0 {
@@ -9045,26 +18452,33 @@ func (s *PutInlinePolicyToPermissionSetInput) Validate() error {
return nil
}
-// SetInlinePolicy sets the InlinePolicy field's value.
-func (s *PutInlinePolicyToPermissionSetInput) SetInlinePolicy(v string) *PutInlinePolicyToPermissionSetInput {
- s.InlinePolicy = &v
- return s
-}
-
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *PutInlinePolicyToPermissionSetInput) SetInstanceArn(v string) *PutInlinePolicyToPermissionSetInput {
- s.InstanceArn = &v
+// SetApplicationUrl sets the ApplicationUrl field's value.
+func (s *SignInOptions) SetApplicationUrl(v string) *SignInOptions {
+ s.ApplicationUrl = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *PutInlinePolicyToPermissionSetInput) SetPermissionSetArn(v string) *PutInlinePolicyToPermissionSetInput {
- s.PermissionSetArn = &v
+// SetOrigin sets the Origin field's value.
+func (s *SignInOptions) SetOrigin(v string) *SignInOptions {
+ s.Origin = &v
return s
}
-type PutInlinePolicyToPermissionSetOutput struct {
+// A set of key-value pairs that are used to manage the resource. Tags can only
+// be applied to permission sets and cannot be applied to corresponding roles
+// that IAM Identity Center creates in Amazon Web Services accounts.
+type Tag struct {
_ struct{} `type:"structure"`
+
+ // The key for the tag.
+ //
+ // Key is a required field
+ Key *string `min:"1" type:"string" required:"true"`
+
+ // The value of the tag.
+ //
+ // Value is a required field
+ Value *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9072,7 +18486,7 @@ type PutInlinePolicyToPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutInlinePolicyToPermissionSetOutput) String() string {
+func (s Tag) String() string {
return awsutil.Prettify(s)
}
@@ -9081,28 +18495,59 @@ func (s PutInlinePolicyToPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutInlinePolicyToPermissionSetOutput) GoString() string {
+func (s Tag) GoString() string {
return s.String()
}
-type PutPermissionsBoundaryToPermissionSetInput struct {
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Tag) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Tag"}
+ if s.Key == nil {
+ invalidParams.Add(request.NewErrParamRequired("Key"))
+ }
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
+ }
+ if s.Value == nil {
+ invalidParams.Add(request.NewErrParamRequired("Value"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetKey sets the Key field's value.
+func (s *Tag) SetKey(v string) *Tag {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Tag) SetValue(v string) *Tag {
+ s.Value = &v
+ return s
+}
+
+type TagResourceInput struct {
_ struct{} `type:"structure"`
// The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ InstanceArn *string `min:"10" type:"string"`
- // The ARN of the PermissionSet.
+ // The ARN of the resource with the tags to be listed.
//
- // PermissionSetArn is a required field
- PermissionSetArn *string `min:"10" type:"string" required:"true"`
+ // ResourceArn is a required field
+ ResourceArn *string `min:"10" type:"string" required:"true"`
- // The permissions boundary that you want to attach to a PermissionSet.
+ // A set of key-value pairs that are used to manage the resource.
//
- // PermissionsBoundary is a required field
- PermissionsBoundary *PermissionsBoundary `type:"structure" required:"true"`
+ // Tags is a required field
+ Tags []*Tag `type:"list" required:"true"`
}
// String returns the string representation.
@@ -9110,7 +18555,7 @@ type PutPermissionsBoundaryToPermissionSetInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutPermissionsBoundaryToPermissionSetInput) String() string {
+func (s TagResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -9119,31 +18564,33 @@ func (s PutPermissionsBoundaryToPermissionSetInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutPermissionsBoundaryToPermissionSetInput) GoString() string {
+func (s TagResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *PutPermissionsBoundaryToPermissionSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PutPermissionsBoundaryToPermissionSetInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
+func (s *TagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.PermissionSetArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionSetArn"))
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
}
- if s.PermissionSetArn != nil && len(*s.PermissionSetArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("PermissionSetArn", 10))
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 10))
}
- if s.PermissionsBoundary == nil {
- invalidParams.Add(request.NewErrParamRequired("PermissionsBoundary"))
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
}
- if s.PermissionsBoundary != nil {
- if err := s.PermissionsBoundary.Validate(); err != nil {
- invalidParams.AddNested("PermissionsBoundary", err.(request.ErrInvalidParams))
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
}
}
@@ -9154,24 +18601,24 @@ func (s *PutPermissionsBoundaryToPermissionSetInput) Validate() error {
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *PutPermissionsBoundaryToPermissionSetInput) SetInstanceArn(v string) *PutPermissionsBoundaryToPermissionSetInput {
+func (s *TagResourceInput) SetInstanceArn(v string) *TagResourceInput {
s.InstanceArn = &v
return s
}
-// SetPermissionSetArn sets the PermissionSetArn field's value.
-func (s *PutPermissionsBoundaryToPermissionSetInput) SetPermissionSetArn(v string) *PutPermissionsBoundaryToPermissionSetInput {
- s.PermissionSetArn = &v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
+ s.ResourceArn = &v
return s
}
-// SetPermissionsBoundary sets the PermissionsBoundary field's value.
-func (s *PutPermissionsBoundaryToPermissionSetInput) SetPermissionsBoundary(v *PermissionsBoundary) *PutPermissionsBoundaryToPermissionSetInput {
- s.PermissionsBoundary = v
+// SetTags sets the Tags field's value.
+func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
+ s.Tags = v
return s
}
-type PutPermissionsBoundaryToPermissionSetOutput struct {
+type TagResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -9180,7 +18627,7 @@ type PutPermissionsBoundaryToPermissionSetOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutPermissionsBoundaryToPermissionSetOutput) String() string {
+func (s TagResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9189,12 +18636,13 @@ func (s PutPermissionsBoundaryToPermissionSetOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PutPermissionsBoundaryToPermissionSetOutput) GoString() string {
+func (s TagResourceOutput) GoString() string {
return s.String()
}
-// Indicates that a requested resource is not found.
-type ResourceNotFoundException struct {
+// Indicates that the principal has crossed the throttling limits of the API
+// operations.
+type ThrottlingException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
@@ -9206,7 +18654,7 @@ type ResourceNotFoundException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) String() string {
+func (s ThrottlingException) String() string {
return awsutil.Prettify(s)
}
@@ -9215,23 +18663,23 @@ func (s ResourceNotFoundException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) GoString() string {
+func (s ThrottlingException) GoString() string {
return s.String()
}
-func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
- return &ResourceNotFoundException{
+func newErrorThrottlingException(v protocol.ResponseMetadata) error {
+ return &ThrottlingException{
RespMetadata: v,
}
}
// Code returns the exception type name.
-func (s *ResourceNotFoundException) Code() string {
- return "ResourceNotFoundException"
+func (s *ThrottlingException) Code() string {
+ return "ThrottlingException"
}
// Message returns the exception's message.
-func (s *ResourceNotFoundException) Message() string {
+func (s *ThrottlingException) Message() string {
if s.Message_ != nil {
return *s.Message_
}
@@ -9239,31 +18687,33 @@ func (s *ResourceNotFoundException) Message() string {
}
// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ResourceNotFoundException) OrigErr() error {
+func (s *ThrottlingException) OrigErr() error {
return nil
}
-func (s *ResourceNotFoundException) Error() string {
+func (s *ThrottlingException) Error() string {
return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
// Status code returns the HTTP status code for the request's response error.
-func (s *ResourceNotFoundException) StatusCode() int {
+func (s *ThrottlingException) StatusCode() int {
return s.RespMetadata.StatusCode
}
// RequestID returns the service's response RequestID for request.
-func (s *ResourceNotFoundException) RequestID() string {
+func (s *ThrottlingException) RequestID() string {
return s.RespMetadata.RequestID
}
-// Indicates that the principal has crossed the permitted number of resources
-// that can be created.
-type ServiceQuotaExceededException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"Message" type:"string"`
+// A structure that describes the configuration of a trusted token issuer. The
+// structure and available settings are determined by the type of the trusted
+// token issuer.
+type TrustedTokenIssuerConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // A structure that describes the settings for a trusted token issuer that works
+ // with OpenID Connect (OIDC) by using JSON Web Tokens (JWT).
+ OidcJwtConfiguration *OidcJwtConfiguration `type:"structure"`
}
// String returns the string representation.
@@ -9271,7 +18721,7 @@ type ServiceQuotaExceededException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ServiceQuotaExceededException) String() string {
+func (s TrustedTokenIssuerConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -9280,63 +18730,92 @@ func (s ServiceQuotaExceededException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ServiceQuotaExceededException) GoString() string {
+func (s TrustedTokenIssuerConfiguration) GoString() string {
return s.String()
}
-func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
- return &ServiceQuotaExceededException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TrustedTokenIssuerConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TrustedTokenIssuerConfiguration"}
+ if s.OidcJwtConfiguration != nil {
+ if err := s.OidcJwtConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("OidcJwtConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
}
+ return nil
}
-// Code returns the exception type name.
-func (s *ServiceQuotaExceededException) Code() string {
- return "ServiceQuotaExceededException"
+// SetOidcJwtConfiguration sets the OidcJwtConfiguration field's value.
+func (s *TrustedTokenIssuerConfiguration) SetOidcJwtConfiguration(v *OidcJwtConfiguration) *TrustedTokenIssuerConfiguration {
+ s.OidcJwtConfiguration = v
+ return s
}
-// Message returns the exception's message.
-func (s *ServiceQuotaExceededException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// A structure that describes a trusted token issuer.
+type TrustedTokenIssuerMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the trusted token issuer configuration in the instance of IAM
+ // Identity Center.
+ Name *string `min:"1" type:"string"`
+
+ // The ARN of the trusted token issuer configuration in the instance of IAM
+ // Identity Center.
+ TrustedTokenIssuerArn *string `min:"10" type:"string"`
+
+ // The type of trusted token issuer.
+ TrustedTokenIssuerType *string `type:"string" enum:"TrustedTokenIssuerType"`
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ServiceQuotaExceededException) OrigErr() error {
- return nil
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TrustedTokenIssuerMetadata) String() string {
+ return awsutil.Prettify(s)
}
-func (s *ServiceQuotaExceededException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TrustedTokenIssuerMetadata) GoString() string {
+ return s.String()
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *ServiceQuotaExceededException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetName sets the Name field's value.
+func (s *TrustedTokenIssuerMetadata) SetName(v string) *TrustedTokenIssuerMetadata {
+ s.Name = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *ServiceQuotaExceededException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetTrustedTokenIssuerArn sets the TrustedTokenIssuerArn field's value.
+func (s *TrustedTokenIssuerMetadata) SetTrustedTokenIssuerArn(v string) *TrustedTokenIssuerMetadata {
+ s.TrustedTokenIssuerArn = &v
+ return s
}
-// A set of key-value pairs that are used to manage the resource. Tags can only
-// be applied to permission sets and cannot be applied to corresponding roles
-// that IAM Identity Center creates in Amazon Web Services accounts.
-type Tag struct {
- _ struct{} `type:"structure"`
+// SetTrustedTokenIssuerType sets the TrustedTokenIssuerType field's value.
+func (s *TrustedTokenIssuerMetadata) SetTrustedTokenIssuerType(v string) *TrustedTokenIssuerMetadata {
+ s.TrustedTokenIssuerType = &v
+ return s
+}
- // The key for the tag.
- //
- // Key is a required field
- Key *string `min:"1" type:"string" required:"true"`
+// A structure that contains details to be updated for a trusted token issuer
+// configuration. The structure and settings that you can include depend on
+// the type of the trusted token issuer being updated.
+type TrustedTokenIssuerUpdateConfiguration struct {
+ _ struct{} `type:"structure"`
- // The value of the tag.
- //
- // Value is a required field
- Value *string `type:"string" required:"true"`
+ // A structure that describes an updated configuration for a trusted token issuer
+ // that uses OpenID Connect (OIDC) with JSON web tokens (JWT).
+ OidcJwtConfiguration *OidcJwtUpdateConfiguration `type:"structure"`
}
// String returns the string representation.
@@ -9344,7 +18823,7 @@ type Tag struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Tag) String() string {
+func (s TrustedTokenIssuerUpdateConfiguration) String() string {
return awsutil.Prettify(s)
}
@@ -9353,21 +18832,17 @@ func (s Tag) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Tag) GoString() string {
+func (s TrustedTokenIssuerUpdateConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *Tag) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Tag"}
- if s.Key == nil {
- invalidParams.Add(request.NewErrParamRequired("Key"))
- }
- if s.Key != nil && len(*s.Key) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Key", 1))
- }
- if s.Value == nil {
- invalidParams.Add(request.NewErrParamRequired("Value"))
+func (s *TrustedTokenIssuerUpdateConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TrustedTokenIssuerUpdateConfiguration"}
+ if s.OidcJwtConfiguration != nil {
+ if err := s.OidcJwtConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("OidcJwtConfiguration", err.(request.ErrInvalidParams))
+ }
}
if invalidParams.Len() > 0 {
@@ -9376,38 +18851,30 @@ func (s *Tag) Validate() error {
return nil
}
-// SetKey sets the Key field's value.
-func (s *Tag) SetKey(v string) *Tag {
- s.Key = &v
- return s
-}
-
-// SetValue sets the Value field's value.
-func (s *Tag) SetValue(v string) *Tag {
- s.Value = &v
+// SetOidcJwtConfiguration sets the OidcJwtConfiguration field's value.
+func (s *TrustedTokenIssuerUpdateConfiguration) SetOidcJwtConfiguration(v *OidcJwtUpdateConfiguration) *TrustedTokenIssuerUpdateConfiguration {
+ s.OidcJwtConfiguration = v
return s
}
-type TagResourceInput struct {
+type UntagResourceInput struct {
_ struct{} `type:"structure"`
// The ARN of the IAM Identity Center instance under which the operation will
// be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
// and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
// in the Amazon Web Services General Reference.
- //
- // InstanceArn is a required field
- InstanceArn *string `min:"10" type:"string" required:"true"`
+ InstanceArn *string `min:"10" type:"string"`
// The ARN of the resource with the tags to be listed.
//
// ResourceArn is a required field
ResourceArn *string `min:"10" type:"string" required:"true"`
- // A set of key-value pairs that are used to manage the resource.
+ // The keys of tags that are attached to the resource.
//
- // Tags is a required field
- Tags []*Tag `type:"list" required:"true"`
+ // TagKeys is a required field
+ TagKeys []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -9415,7 +18882,7 @@ type TagResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceInput) String() string {
+func (s UntagResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -9424,16 +18891,13 @@ func (s TagResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceInput) GoString() string {
+func (s UntagResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *TagResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
- if s.InstanceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
- }
+func (s *UntagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
@@ -9443,18 +18907,11 @@ func (s *TagResourceInput) Validate() error {
if s.ResourceArn != nil && len(*s.ResourceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 10))
}
- if s.Tags == nil {
- invalidParams.Add(request.NewErrParamRequired("Tags"))
+ if s.TagKeys == nil {
+ invalidParams.Add(request.NewErrParamRequired("TagKeys"))
}
- if s.Tags != nil {
- for i, v := range s.Tags {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.TagKeys != nil && len(s.TagKeys) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
}
if invalidParams.Len() > 0 {
@@ -9464,24 +18921,24 @@ func (s *TagResourceInput) Validate() error {
}
// SetInstanceArn sets the InstanceArn field's value.
-func (s *TagResourceInput) SetInstanceArn(v string) *TagResourceInput {
+func (s *UntagResourceInput) SetInstanceArn(v string) *UntagResourceInput {
s.InstanceArn = &v
return s
}
// SetResourceArn sets the ResourceArn field's value.
-func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
+func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
s.ResourceArn = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
- s.Tags = v
+// SetTagKeys sets the TagKeys field's value.
+func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
+ s.TagKeys = v
return s
}
-type TagResourceOutput struct {
+type UntagResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -9490,7 +18947,7 @@ type TagResourceOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceOutput) String() string {
+func (s UntagResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9499,17 +18956,32 @@ func (s TagResourceOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceOutput) GoString() string {
+func (s UntagResourceOutput) GoString() string {
return s.String()
}
-// Indicates that the principal has crossed the throttling limits of the API
-// operations.
-type ThrottlingException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+type UpdateApplicationInput struct {
+ _ struct{} `type:"structure"`
- Message_ *string `locationName:"Message" type:"string"`
+ // Specifies the ARN of the application. For more information about ARNs, see
+ // Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
+ //
+ // ApplicationArn is a required field
+ ApplicationArn *string `min:"10" type:"string" required:"true"`
+
+ // The description of the .
+ Description *string `min:"1" type:"string"`
+
+ // Specifies the updated name for the application.
+ Name *string `type:"string"`
+
+ // A structure that describes the options for the portal associated with an
+ // application.
+ PortalOptions *UpdateApplicationPortalOptions `type:"structure"`
+
+ // Specifies whether the application is enabled or disabled.
+ Status *string `type:"string" enum:"ApplicationStatus"`
}
// String returns the string representation.
@@ -9517,7 +18989,7 @@ type ThrottlingException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ThrottlingException) String() string {
+func (s UpdateApplicationInput) String() string {
return awsutil.Prettify(s)
}
@@ -9526,68 +18998,145 @@ func (s ThrottlingException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ThrottlingException) GoString() string {
+func (s UpdateApplicationInput) GoString() string {
return s.String()
}
-func newErrorThrottlingException(v protocol.ResponseMetadata) error {
- return &ThrottlingException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateApplicationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateApplicationInput"}
+ if s.ApplicationArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ApplicationArn"))
+ }
+ if s.ApplicationArn != nil && len(*s.ApplicationArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("ApplicationArn", 10))
+ }
+ if s.Description != nil && len(*s.Description) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Description", 1))
+ }
+ if s.PortalOptions != nil {
+ if err := s.PortalOptions.Validate(); err != nil {
+ invalidParams.AddNested("PortalOptions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
}
+ return nil
}
-// Code returns the exception type name.
-func (s *ThrottlingException) Code() string {
- return "ThrottlingException"
+// SetApplicationArn sets the ApplicationArn field's value.
+func (s *UpdateApplicationInput) SetApplicationArn(v string) *UpdateApplicationInput {
+ s.ApplicationArn = &v
+ return s
}
-// Message returns the exception's message.
-func (s *ThrottlingException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetDescription sets the Description field's value.
+func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput {
+ s.Description = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ThrottlingException) OrigErr() error {
- return nil
+// SetName sets the Name field's value.
+func (s *UpdateApplicationInput) SetName(v string) *UpdateApplicationInput {
+ s.Name = &v
+ return s
}
-func (s *ThrottlingException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetPortalOptions sets the PortalOptions field's value.
+func (s *UpdateApplicationInput) SetPortalOptions(v *UpdateApplicationPortalOptions) *UpdateApplicationInput {
+ s.PortalOptions = v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *ThrottlingException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetStatus sets the Status field's value.
+func (s *UpdateApplicationInput) SetStatus(v string) *UpdateApplicationInput {
+ s.Status = &v
+ return s
+}
+
+type UpdateApplicationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateApplicationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateApplicationOutput) GoString() string {
+ return s.String()
+}
+
+type UpdateApplicationPortalOptions struct {
+ _ struct{} `type:"structure"`
+
+ // A structure that describes the sign-in options for an application portal.
+ SignInOptions *SignInOptions `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateApplicationPortalOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateApplicationPortalOptions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateApplicationPortalOptions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateApplicationPortalOptions"}
+ if s.SignInOptions != nil {
+ if err := s.SignInOptions.Validate(); err != nil {
+ invalidParams.AddNested("SignInOptions", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// RequestID returns the service's response RequestID for request.
-func (s *ThrottlingException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetSignInOptions sets the SignInOptions field's value.
+func (s *UpdateApplicationPortalOptions) SetSignInOptions(v *SignInOptions) *UpdateApplicationPortalOptions {
+ s.SignInOptions = v
+ return s
}
-type UntagResourceInput struct {
+type UpdateInstanceAccessControlAttributeConfigurationInput struct {
_ struct{} `type:"structure"`
+ // Updates the attributes for your ABAC configuration.
+ //
+ // InstanceAccessControlAttributeConfiguration is a required field
+ InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure" required:"true"`
+
// The ARN of the IAM Identity Center instance under which the operation will
- // be executed. For more information about ARNs, see Amazon Resource Names (ARNs)
- // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
- // in the Amazon Web Services General Reference.
+ // be executed.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
-
- // The ARN of the resource with the tags to be listed.
- //
- // ResourceArn is a required field
- ResourceArn *string `min:"10" type:"string" required:"true"`
-
- // The keys of tags that are attached to the resource.
- //
- // TagKeys is a required field
- TagKeys []*string `min:"1" type:"list" required:"true"`
}
// String returns the string representation.
@@ -9595,7 +19144,7 @@ type UntagResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceInput) String() string {
+func (s UpdateInstanceAccessControlAttributeConfigurationInput) String() string {
return awsutil.Prettify(s)
}
@@ -9604,30 +19153,26 @@ func (s UntagResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceInput) GoString() string {
+func (s UpdateInstanceAccessControlAttributeConfigurationInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *UntagResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
+func (s *UpdateInstanceAccessControlAttributeConfigurationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceAccessControlAttributeConfigurationInput"}
+ if s.InstanceAccessControlAttributeConfiguration == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceAccessControlAttributeConfiguration"))
+ }
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.ResourceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
- }
- if s.ResourceArn != nil && len(*s.ResourceArn) < 10 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 10))
- }
- if s.TagKeys == nil {
- invalidParams.Add(request.NewErrParamRequired("TagKeys"))
- }
- if s.TagKeys != nil && len(s.TagKeys) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
+ if s.InstanceAccessControlAttributeConfiguration != nil {
+ if err := s.InstanceAccessControlAttributeConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("InstanceAccessControlAttributeConfiguration", err.(request.ErrInvalidParams))
+ }
}
if invalidParams.Len() > 0 {
@@ -9636,25 +19181,19 @@ func (s *UntagResourceInput) Validate() error {
return nil
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *UntagResourceInput) SetInstanceArn(v string) *UntagResourceInput {
- s.InstanceArn = &v
- return s
-}
-
-// SetResourceArn sets the ResourceArn field's value.
-func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
- s.ResourceArn = &v
+// SetInstanceAccessControlAttributeConfiguration sets the InstanceAccessControlAttributeConfiguration field's value.
+func (s *UpdateInstanceAccessControlAttributeConfigurationInput) SetInstanceAccessControlAttributeConfiguration(v *InstanceAccessControlAttributeConfiguration) *UpdateInstanceAccessControlAttributeConfigurationInput {
+ s.InstanceAccessControlAttributeConfiguration = v
return s
}
-// SetTagKeys sets the TagKeys field's value.
-func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
- s.TagKeys = v
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *UpdateInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *UpdateInstanceAccessControlAttributeConfigurationInput {
+ s.InstanceArn = &v
return s
}
-type UntagResourceOutput struct {
+type UpdateInstanceAccessControlAttributeConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -9663,7 +19202,7 @@ type UntagResourceOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceOutput) String() string {
+func (s UpdateInstanceAccessControlAttributeConfigurationOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9672,23 +19211,25 @@ func (s UntagResourceOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceOutput) GoString() string {
+func (s UpdateInstanceAccessControlAttributeConfigurationOutput) GoString() string {
return s.String()
}
-type UpdateInstanceAccessControlAttributeConfigurationInput struct {
+type UpdateInstanceInput struct {
_ struct{} `type:"structure"`
- // Updates the attributes for your ABAC configuration.
- //
- // InstanceAccessControlAttributeConfiguration is a required field
- InstanceAccessControlAttributeConfiguration *InstanceAccessControlAttributeConfiguration `type:"structure" required:"true"`
-
- // The ARN of the IAM Identity Center instance under which the operation will
- // be executed.
+ // The ARN of the instance of IAM Identity Center under which the operation
+ // will run. For more information about ARNs, see Amazon Resource Names (ARNs)
+ // and Amazon Web Services Service Namespaces (/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the Amazon Web Services General Reference.
//
// InstanceArn is a required field
InstanceArn *string `min:"10" type:"string" required:"true"`
+
+ // Updates the instance name.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
}
// String returns the string representation.
@@ -9696,7 +19237,7 @@ type UpdateInstanceAccessControlAttributeConfigurationInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateInstanceAccessControlAttributeConfigurationInput) String() string {
+func (s UpdateInstanceInput) String() string {
return awsutil.Prettify(s)
}
@@ -9705,26 +19246,21 @@ func (s UpdateInstanceAccessControlAttributeConfigurationInput) String() string
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateInstanceAccessControlAttributeConfigurationInput) GoString() string {
+func (s UpdateInstanceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *UpdateInstanceAccessControlAttributeConfigurationInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceAccessControlAttributeConfigurationInput"}
- if s.InstanceAccessControlAttributeConfiguration == nil {
- invalidParams.Add(request.NewErrParamRequired("InstanceAccessControlAttributeConfiguration"))
- }
+func (s *UpdateInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceInput"}
if s.InstanceArn == nil {
invalidParams.Add(request.NewErrParamRequired("InstanceArn"))
}
if s.InstanceArn != nil && len(*s.InstanceArn) < 10 {
invalidParams.Add(request.NewErrParamMinLen("InstanceArn", 10))
}
- if s.InstanceAccessControlAttributeConfiguration != nil {
- if err := s.InstanceAccessControlAttributeConfiguration.Validate(); err != nil {
- invalidParams.AddNested("InstanceAccessControlAttributeConfiguration", err.(request.ErrInvalidParams))
- }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
}
if invalidParams.Len() > 0 {
@@ -9733,19 +19269,19 @@ func (s *UpdateInstanceAccessControlAttributeConfigurationInput) Validate() erro
return nil
}
-// SetInstanceAccessControlAttributeConfiguration sets the InstanceAccessControlAttributeConfiguration field's value.
-func (s *UpdateInstanceAccessControlAttributeConfigurationInput) SetInstanceAccessControlAttributeConfiguration(v *InstanceAccessControlAttributeConfiguration) *UpdateInstanceAccessControlAttributeConfigurationInput {
- s.InstanceAccessControlAttributeConfiguration = v
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *UpdateInstanceInput) SetInstanceArn(v string) *UpdateInstanceInput {
+ s.InstanceArn = &v
return s
}
-// SetInstanceArn sets the InstanceArn field's value.
-func (s *UpdateInstanceAccessControlAttributeConfigurationInput) SetInstanceArn(v string) *UpdateInstanceAccessControlAttributeConfigurationInput {
- s.InstanceArn = &v
+// SetName sets the Name field's value.
+func (s *UpdateInstanceInput) SetName(v string) *UpdateInstanceInput {
+ s.Name = &v
return s
}
-type UpdateInstanceAccessControlAttributeConfigurationOutput struct {
+type UpdateInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -9754,7 +19290,7 @@ type UpdateInstanceAccessControlAttributeConfigurationOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateInstanceAccessControlAttributeConfigurationOutput) String() string {
+func (s UpdateInstanceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9763,7 +19299,7 @@ func (s UpdateInstanceAccessControlAttributeConfigurationOutput) String() string
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateInstanceAccessControlAttributeConfigurationOutput) GoString() string {
+func (s UpdateInstanceOutput) GoString() string {
return s.String()
}
@@ -9896,6 +19432,106 @@ func (s UpdatePermissionSetOutput) GoString() string {
return s.String()
}
+type UpdateTrustedTokenIssuerInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the updated name to be applied to the trusted token issuer configuration.
+ Name *string `min:"1" type:"string"`
+
+ // Specifies the ARN of the trusted token issuer configuration that you want
+ // to update.
+ //
+ // TrustedTokenIssuerArn is a required field
+ TrustedTokenIssuerArn *string `min:"10" type:"string" required:"true"`
+
+ // Specifies a structure with settings to apply to the specified trusted token
+ // issuer. The settings that you can provide are determined by the type of the
+ // trusted token issuer that you are updating.
+ TrustedTokenIssuerConfiguration *TrustedTokenIssuerUpdateConfiguration `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateTrustedTokenIssuerInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateTrustedTokenIssuerInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateTrustedTokenIssuerInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateTrustedTokenIssuerInput"}
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.TrustedTokenIssuerArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("TrustedTokenIssuerArn"))
+ }
+ if s.TrustedTokenIssuerArn != nil && len(*s.TrustedTokenIssuerArn) < 10 {
+ invalidParams.Add(request.NewErrParamMinLen("TrustedTokenIssuerArn", 10))
+ }
+ if s.TrustedTokenIssuerConfiguration != nil {
+ if err := s.TrustedTokenIssuerConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("TrustedTokenIssuerConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateTrustedTokenIssuerInput) SetName(v string) *UpdateTrustedTokenIssuerInput {
+ s.Name = &v
+ return s
+}
+
+// SetTrustedTokenIssuerArn sets the TrustedTokenIssuerArn field's value.
+func (s *UpdateTrustedTokenIssuerInput) SetTrustedTokenIssuerArn(v string) *UpdateTrustedTokenIssuerInput {
+ s.TrustedTokenIssuerArn = &v
+ return s
+}
+
+// SetTrustedTokenIssuerConfiguration sets the TrustedTokenIssuerConfiguration field's value.
+func (s *UpdateTrustedTokenIssuerInput) SetTrustedTokenIssuerConfiguration(v *TrustedTokenIssuerUpdateConfiguration) *UpdateTrustedTokenIssuerInput {
+ s.TrustedTokenIssuerConfiguration = v
+ return s
+}
+
+type UpdateTrustedTokenIssuerOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateTrustedTokenIssuerOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateTrustedTokenIssuerOutput) GoString() string {
+ return s.String()
+}
+
// The request failed because it contains a syntax error.
type ValidationException struct {
_ struct{} `type:"structure"`
@@ -9960,6 +19596,90 @@ func (s *ValidationException) RequestID() string {
return s.RespMetadata.RequestID
}
+const (
+ // ApplicationStatusEnabled is a ApplicationStatus enum value
+ ApplicationStatusEnabled = "ENABLED"
+
+ // ApplicationStatusDisabled is a ApplicationStatus enum value
+ ApplicationStatusDisabled = "DISABLED"
+)
+
+// ApplicationStatus_Values returns all elements of the ApplicationStatus enum
+func ApplicationStatus_Values() []string {
+ return []string{
+ ApplicationStatusEnabled,
+ ApplicationStatusDisabled,
+ }
+}
+
+const (
+ // ApplicationVisibilityEnabled is a ApplicationVisibility enum value
+ ApplicationVisibilityEnabled = "ENABLED"
+
+ // ApplicationVisibilityDisabled is a ApplicationVisibility enum value
+ ApplicationVisibilityDisabled = "DISABLED"
+)
+
+// ApplicationVisibility_Values returns all elements of the ApplicationVisibility enum
+func ApplicationVisibility_Values() []string {
+ return []string{
+ ApplicationVisibilityEnabled,
+ ApplicationVisibilityDisabled,
+ }
+}
+
+const (
+ // AuthenticationMethodTypeIam is a AuthenticationMethodType enum value
+ AuthenticationMethodTypeIam = "IAM"
+)
+
+// AuthenticationMethodType_Values returns all elements of the AuthenticationMethodType enum
+func AuthenticationMethodType_Values() []string {
+ return []string{
+ AuthenticationMethodTypeIam,
+ }
+}
+
+const (
+ // FederationProtocolSaml is a FederationProtocol enum value
+ FederationProtocolSaml = "SAML"
+
+ // FederationProtocolOauth is a FederationProtocol enum value
+ FederationProtocolOauth = "OAUTH"
+)
+
+// FederationProtocol_Values returns all elements of the FederationProtocol enum
+func FederationProtocol_Values() []string {
+ return []string{
+ FederationProtocolSaml,
+ FederationProtocolOauth,
+ }
+}
+
+const (
+ // GrantTypeAuthorizationCode is a GrantType enum value
+ GrantTypeAuthorizationCode = "authorization_code"
+
+ // GrantTypeRefreshToken is a GrantType enum value
+ GrantTypeRefreshToken = "refresh_token"
+
+ // GrantTypeUrnIetfParamsOauthGrantTypeJwtBearer is a GrantType enum value
+ GrantTypeUrnIetfParamsOauthGrantTypeJwtBearer = "urn:ietf:params:oauth:grant-type:jwt-bearer"
+
+ // GrantTypeUrnIetfParamsOauthGrantTypeTokenExchange is a GrantType enum value
+ GrantTypeUrnIetfParamsOauthGrantTypeTokenExchange = "urn:ietf:params:oauth:grant-type:token-exchange"
+)
+
+// GrantType_Values returns all elements of the GrantType enum
+func GrantType_Values() []string {
+ return []string{
+ GrantTypeAuthorizationCode,
+ GrantTypeRefreshToken,
+ GrantTypeUrnIetfParamsOauthGrantTypeJwtBearer,
+ GrantTypeUrnIetfParamsOauthGrantTypeTokenExchange,
+ }
+}
+
const (
// InstanceAccessControlAttributeConfigurationStatusEnabled is a InstanceAccessControlAttributeConfigurationStatus enum value
InstanceAccessControlAttributeConfigurationStatusEnabled = "ENABLED"
@@ -9980,6 +19700,38 @@ func InstanceAccessControlAttributeConfigurationStatus_Values() []string {
}
}
+const (
+ // InstanceStatusCreateInProgress is a InstanceStatus enum value
+ InstanceStatusCreateInProgress = "CREATE_IN_PROGRESS"
+
+ // InstanceStatusDeleteInProgress is a InstanceStatus enum value
+ InstanceStatusDeleteInProgress = "DELETE_IN_PROGRESS"
+
+ // InstanceStatusActive is a InstanceStatus enum value
+ InstanceStatusActive = "ACTIVE"
+)
+
+// InstanceStatus_Values returns all elements of the InstanceStatus enum
+func InstanceStatus_Values() []string {
+ return []string{
+ InstanceStatusCreateInProgress,
+ InstanceStatusDeleteInProgress,
+ InstanceStatusActive,
+ }
+}
+
+const (
+ // JwksRetrievalOptionOpenIdDiscovery is a JwksRetrievalOption enum value
+ JwksRetrievalOptionOpenIdDiscovery = "OPEN_ID_DISCOVERY"
+)
+
+// JwksRetrievalOption_Values returns all elements of the JwksRetrievalOption enum
+func JwksRetrievalOption_Values() []string {
+ return []string{
+ JwksRetrievalOptionOpenIdDiscovery,
+ }
+}
+
const (
// PrincipalTypeUser is a PrincipalType enum value
PrincipalTypeUser = "USER"
@@ -10028,6 +19780,22 @@ func ProvisioningStatus_Values() []string {
}
}
+const (
+ // SignInOriginIdentityCenter is a SignInOrigin enum value
+ SignInOriginIdentityCenter = "IDENTITY_CENTER"
+
+ // SignInOriginApplication is a SignInOrigin enum value
+ SignInOriginApplication = "APPLICATION"
+)
+
+// SignInOrigin_Values returns all elements of the SignInOrigin enum
+func SignInOrigin_Values() []string {
+ return []string{
+ SignInOriginIdentityCenter,
+ SignInOriginApplication,
+ }
+}
+
const (
// StatusValuesInProgress is a StatusValues enum value
StatusValuesInProgress = "IN_PROGRESS"
@@ -10059,3 +19827,15 @@ func TargetType_Values() []string {
TargetTypeAwsAccount,
}
}
+
+const (
+ // TrustedTokenIssuerTypeOidcJwt is a TrustedTokenIssuerType enum value
+ TrustedTokenIssuerTypeOidcJwt = "OIDC_JWT"
+)
+
+// TrustedTokenIssuerType_Values returns all elements of the TrustedTokenIssuerType enum
+func TrustedTokenIssuerType_Values() []string {
+ return []string{
+ TrustedTokenIssuerTypeOidcJwt,
+ }
+}
diff --git a/service/ssoadmin/ssoadminiface/interface.go b/service/ssoadmin/ssoadminiface/interface.go
index 8e1ec339ac0..2404d4b2674 100644
--- a/service/ssoadmin/ssoadminiface/interface.go
+++ b/service/ssoadmin/ssoadminiface/interface.go
@@ -72,6 +72,18 @@ type SSOAdminAPI interface {
CreateAccountAssignmentWithContext(aws.Context, *ssoadmin.CreateAccountAssignmentInput, ...request.Option) (*ssoadmin.CreateAccountAssignmentOutput, error)
CreateAccountAssignmentRequest(*ssoadmin.CreateAccountAssignmentInput) (*request.Request, *ssoadmin.CreateAccountAssignmentOutput)
+ CreateApplication(*ssoadmin.CreateApplicationInput) (*ssoadmin.CreateApplicationOutput, error)
+ CreateApplicationWithContext(aws.Context, *ssoadmin.CreateApplicationInput, ...request.Option) (*ssoadmin.CreateApplicationOutput, error)
+ CreateApplicationRequest(*ssoadmin.CreateApplicationInput) (*request.Request, *ssoadmin.CreateApplicationOutput)
+
+ CreateApplicationAssignment(*ssoadmin.CreateApplicationAssignmentInput) (*ssoadmin.CreateApplicationAssignmentOutput, error)
+ CreateApplicationAssignmentWithContext(aws.Context, *ssoadmin.CreateApplicationAssignmentInput, ...request.Option) (*ssoadmin.CreateApplicationAssignmentOutput, error)
+ CreateApplicationAssignmentRequest(*ssoadmin.CreateApplicationAssignmentInput) (*request.Request, *ssoadmin.CreateApplicationAssignmentOutput)
+
+ CreateInstance(*ssoadmin.CreateInstanceInput) (*ssoadmin.CreateInstanceOutput, error)
+ CreateInstanceWithContext(aws.Context, *ssoadmin.CreateInstanceInput, ...request.Option) (*ssoadmin.CreateInstanceOutput, error)
+ CreateInstanceRequest(*ssoadmin.CreateInstanceInput) (*request.Request, *ssoadmin.CreateInstanceOutput)
+
CreateInstanceAccessControlAttributeConfiguration(*ssoadmin.CreateInstanceAccessControlAttributeConfigurationInput) (*ssoadmin.CreateInstanceAccessControlAttributeConfigurationOutput, error)
CreateInstanceAccessControlAttributeConfigurationWithContext(aws.Context, *ssoadmin.CreateInstanceAccessControlAttributeConfigurationInput, ...request.Option) (*ssoadmin.CreateInstanceAccessControlAttributeConfigurationOutput, error)
CreateInstanceAccessControlAttributeConfigurationRequest(*ssoadmin.CreateInstanceAccessControlAttributeConfigurationInput) (*request.Request, *ssoadmin.CreateInstanceAccessControlAttributeConfigurationOutput)
@@ -80,14 +92,42 @@ type SSOAdminAPI interface {
CreatePermissionSetWithContext(aws.Context, *ssoadmin.CreatePermissionSetInput, ...request.Option) (*ssoadmin.CreatePermissionSetOutput, error)
CreatePermissionSetRequest(*ssoadmin.CreatePermissionSetInput) (*request.Request, *ssoadmin.CreatePermissionSetOutput)
+ CreateTrustedTokenIssuer(*ssoadmin.CreateTrustedTokenIssuerInput) (*ssoadmin.CreateTrustedTokenIssuerOutput, error)
+ CreateTrustedTokenIssuerWithContext(aws.Context, *ssoadmin.CreateTrustedTokenIssuerInput, ...request.Option) (*ssoadmin.CreateTrustedTokenIssuerOutput, error)
+ CreateTrustedTokenIssuerRequest(*ssoadmin.CreateTrustedTokenIssuerInput) (*request.Request, *ssoadmin.CreateTrustedTokenIssuerOutput)
+
DeleteAccountAssignment(*ssoadmin.DeleteAccountAssignmentInput) (*ssoadmin.DeleteAccountAssignmentOutput, error)
DeleteAccountAssignmentWithContext(aws.Context, *ssoadmin.DeleteAccountAssignmentInput, ...request.Option) (*ssoadmin.DeleteAccountAssignmentOutput, error)
DeleteAccountAssignmentRequest(*ssoadmin.DeleteAccountAssignmentInput) (*request.Request, *ssoadmin.DeleteAccountAssignmentOutput)
+ DeleteApplication(*ssoadmin.DeleteApplicationInput) (*ssoadmin.DeleteApplicationOutput, error)
+ DeleteApplicationWithContext(aws.Context, *ssoadmin.DeleteApplicationInput, ...request.Option) (*ssoadmin.DeleteApplicationOutput, error)
+ DeleteApplicationRequest(*ssoadmin.DeleteApplicationInput) (*request.Request, *ssoadmin.DeleteApplicationOutput)
+
+ DeleteApplicationAccessScope(*ssoadmin.DeleteApplicationAccessScopeInput) (*ssoadmin.DeleteApplicationAccessScopeOutput, error)
+ DeleteApplicationAccessScopeWithContext(aws.Context, *ssoadmin.DeleteApplicationAccessScopeInput, ...request.Option) (*ssoadmin.DeleteApplicationAccessScopeOutput, error)
+ DeleteApplicationAccessScopeRequest(*ssoadmin.DeleteApplicationAccessScopeInput) (*request.Request, *ssoadmin.DeleteApplicationAccessScopeOutput)
+
+ DeleteApplicationAssignment(*ssoadmin.DeleteApplicationAssignmentInput) (*ssoadmin.DeleteApplicationAssignmentOutput, error)
+ DeleteApplicationAssignmentWithContext(aws.Context, *ssoadmin.DeleteApplicationAssignmentInput, ...request.Option) (*ssoadmin.DeleteApplicationAssignmentOutput, error)
+ DeleteApplicationAssignmentRequest(*ssoadmin.DeleteApplicationAssignmentInput) (*request.Request, *ssoadmin.DeleteApplicationAssignmentOutput)
+
+ DeleteApplicationAuthenticationMethod(*ssoadmin.DeleteApplicationAuthenticationMethodInput) (*ssoadmin.DeleteApplicationAuthenticationMethodOutput, error)
+ DeleteApplicationAuthenticationMethodWithContext(aws.Context, *ssoadmin.DeleteApplicationAuthenticationMethodInput, ...request.Option) (*ssoadmin.DeleteApplicationAuthenticationMethodOutput, error)
+ DeleteApplicationAuthenticationMethodRequest(*ssoadmin.DeleteApplicationAuthenticationMethodInput) (*request.Request, *ssoadmin.DeleteApplicationAuthenticationMethodOutput)
+
+ DeleteApplicationGrant(*ssoadmin.DeleteApplicationGrantInput) (*ssoadmin.DeleteApplicationGrantOutput, error)
+ DeleteApplicationGrantWithContext(aws.Context, *ssoadmin.DeleteApplicationGrantInput, ...request.Option) (*ssoadmin.DeleteApplicationGrantOutput, error)
+ DeleteApplicationGrantRequest(*ssoadmin.DeleteApplicationGrantInput) (*request.Request, *ssoadmin.DeleteApplicationGrantOutput)
+
DeleteInlinePolicyFromPermissionSet(*ssoadmin.DeleteInlinePolicyFromPermissionSetInput) (*ssoadmin.DeleteInlinePolicyFromPermissionSetOutput, error)
DeleteInlinePolicyFromPermissionSetWithContext(aws.Context, *ssoadmin.DeleteInlinePolicyFromPermissionSetInput, ...request.Option) (*ssoadmin.DeleteInlinePolicyFromPermissionSetOutput, error)
DeleteInlinePolicyFromPermissionSetRequest(*ssoadmin.DeleteInlinePolicyFromPermissionSetInput) (*request.Request, *ssoadmin.DeleteInlinePolicyFromPermissionSetOutput)
+ DeleteInstance(*ssoadmin.DeleteInstanceInput) (*ssoadmin.DeleteInstanceOutput, error)
+ DeleteInstanceWithContext(aws.Context, *ssoadmin.DeleteInstanceInput, ...request.Option) (*ssoadmin.DeleteInstanceOutput, error)
+ DeleteInstanceRequest(*ssoadmin.DeleteInstanceInput) (*request.Request, *ssoadmin.DeleteInstanceOutput)
+
DeleteInstanceAccessControlAttributeConfiguration(*ssoadmin.DeleteInstanceAccessControlAttributeConfigurationInput) (*ssoadmin.DeleteInstanceAccessControlAttributeConfigurationOutput, error)
DeleteInstanceAccessControlAttributeConfigurationWithContext(aws.Context, *ssoadmin.DeleteInstanceAccessControlAttributeConfigurationInput, ...request.Option) (*ssoadmin.DeleteInstanceAccessControlAttributeConfigurationOutput, error)
DeleteInstanceAccessControlAttributeConfigurationRequest(*ssoadmin.DeleteInstanceAccessControlAttributeConfigurationInput) (*request.Request, *ssoadmin.DeleteInstanceAccessControlAttributeConfigurationOutput)
@@ -100,6 +140,10 @@ type SSOAdminAPI interface {
DeletePermissionsBoundaryFromPermissionSetWithContext(aws.Context, *ssoadmin.DeletePermissionsBoundaryFromPermissionSetInput, ...request.Option) (*ssoadmin.DeletePermissionsBoundaryFromPermissionSetOutput, error)
DeletePermissionsBoundaryFromPermissionSetRequest(*ssoadmin.DeletePermissionsBoundaryFromPermissionSetInput) (*request.Request, *ssoadmin.DeletePermissionsBoundaryFromPermissionSetOutput)
+ DeleteTrustedTokenIssuer(*ssoadmin.DeleteTrustedTokenIssuerInput) (*ssoadmin.DeleteTrustedTokenIssuerOutput, error)
+ DeleteTrustedTokenIssuerWithContext(aws.Context, *ssoadmin.DeleteTrustedTokenIssuerInput, ...request.Option) (*ssoadmin.DeleteTrustedTokenIssuerOutput, error)
+ DeleteTrustedTokenIssuerRequest(*ssoadmin.DeleteTrustedTokenIssuerInput) (*request.Request, *ssoadmin.DeleteTrustedTokenIssuerOutput)
+
DescribeAccountAssignmentCreationStatus(*ssoadmin.DescribeAccountAssignmentCreationStatusInput) (*ssoadmin.DescribeAccountAssignmentCreationStatusOutput, error)
DescribeAccountAssignmentCreationStatusWithContext(aws.Context, *ssoadmin.DescribeAccountAssignmentCreationStatusInput, ...request.Option) (*ssoadmin.DescribeAccountAssignmentCreationStatusOutput, error)
DescribeAccountAssignmentCreationStatusRequest(*ssoadmin.DescribeAccountAssignmentCreationStatusInput) (*request.Request, *ssoadmin.DescribeAccountAssignmentCreationStatusOutput)
@@ -108,6 +152,22 @@ type SSOAdminAPI interface {
DescribeAccountAssignmentDeletionStatusWithContext(aws.Context, *ssoadmin.DescribeAccountAssignmentDeletionStatusInput, ...request.Option) (*ssoadmin.DescribeAccountAssignmentDeletionStatusOutput, error)
DescribeAccountAssignmentDeletionStatusRequest(*ssoadmin.DescribeAccountAssignmentDeletionStatusInput) (*request.Request, *ssoadmin.DescribeAccountAssignmentDeletionStatusOutput)
+ DescribeApplication(*ssoadmin.DescribeApplicationInput) (*ssoadmin.DescribeApplicationOutput, error)
+ DescribeApplicationWithContext(aws.Context, *ssoadmin.DescribeApplicationInput, ...request.Option) (*ssoadmin.DescribeApplicationOutput, error)
+ DescribeApplicationRequest(*ssoadmin.DescribeApplicationInput) (*request.Request, *ssoadmin.DescribeApplicationOutput)
+
+ DescribeApplicationAssignment(*ssoadmin.DescribeApplicationAssignmentInput) (*ssoadmin.DescribeApplicationAssignmentOutput, error)
+ DescribeApplicationAssignmentWithContext(aws.Context, *ssoadmin.DescribeApplicationAssignmentInput, ...request.Option) (*ssoadmin.DescribeApplicationAssignmentOutput, error)
+ DescribeApplicationAssignmentRequest(*ssoadmin.DescribeApplicationAssignmentInput) (*request.Request, *ssoadmin.DescribeApplicationAssignmentOutput)
+
+ DescribeApplicationProvider(*ssoadmin.DescribeApplicationProviderInput) (*ssoadmin.DescribeApplicationProviderOutput, error)
+ DescribeApplicationProviderWithContext(aws.Context, *ssoadmin.DescribeApplicationProviderInput, ...request.Option) (*ssoadmin.DescribeApplicationProviderOutput, error)
+ DescribeApplicationProviderRequest(*ssoadmin.DescribeApplicationProviderInput) (*request.Request, *ssoadmin.DescribeApplicationProviderOutput)
+
+ DescribeInstance(*ssoadmin.DescribeInstanceInput) (*ssoadmin.DescribeInstanceOutput, error)
+ DescribeInstanceWithContext(aws.Context, *ssoadmin.DescribeInstanceInput, ...request.Option) (*ssoadmin.DescribeInstanceOutput, error)
+ DescribeInstanceRequest(*ssoadmin.DescribeInstanceInput) (*request.Request, *ssoadmin.DescribeInstanceOutput)
+
DescribeInstanceAccessControlAttributeConfiguration(*ssoadmin.DescribeInstanceAccessControlAttributeConfigurationInput) (*ssoadmin.DescribeInstanceAccessControlAttributeConfigurationOutput, error)
DescribeInstanceAccessControlAttributeConfigurationWithContext(aws.Context, *ssoadmin.DescribeInstanceAccessControlAttributeConfigurationInput, ...request.Option) (*ssoadmin.DescribeInstanceAccessControlAttributeConfigurationOutput, error)
DescribeInstanceAccessControlAttributeConfigurationRequest(*ssoadmin.DescribeInstanceAccessControlAttributeConfigurationInput) (*request.Request, *ssoadmin.DescribeInstanceAccessControlAttributeConfigurationOutput)
@@ -120,6 +180,10 @@ type SSOAdminAPI interface {
DescribePermissionSetProvisioningStatusWithContext(aws.Context, *ssoadmin.DescribePermissionSetProvisioningStatusInput, ...request.Option) (*ssoadmin.DescribePermissionSetProvisioningStatusOutput, error)
DescribePermissionSetProvisioningStatusRequest(*ssoadmin.DescribePermissionSetProvisioningStatusInput) (*request.Request, *ssoadmin.DescribePermissionSetProvisioningStatusOutput)
+ DescribeTrustedTokenIssuer(*ssoadmin.DescribeTrustedTokenIssuerInput) (*ssoadmin.DescribeTrustedTokenIssuerOutput, error)
+ DescribeTrustedTokenIssuerWithContext(aws.Context, *ssoadmin.DescribeTrustedTokenIssuerInput, ...request.Option) (*ssoadmin.DescribeTrustedTokenIssuerOutput, error)
+ DescribeTrustedTokenIssuerRequest(*ssoadmin.DescribeTrustedTokenIssuerInput) (*request.Request, *ssoadmin.DescribeTrustedTokenIssuerOutput)
+
DetachCustomerManagedPolicyReferenceFromPermissionSet(*ssoadmin.DetachCustomerManagedPolicyReferenceFromPermissionSetInput) (*ssoadmin.DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, error)
DetachCustomerManagedPolicyReferenceFromPermissionSetWithContext(aws.Context, *ssoadmin.DetachCustomerManagedPolicyReferenceFromPermissionSetInput, ...request.Option) (*ssoadmin.DetachCustomerManagedPolicyReferenceFromPermissionSetOutput, error)
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest(*ssoadmin.DetachCustomerManagedPolicyReferenceFromPermissionSetInput) (*request.Request, *ssoadmin.DetachCustomerManagedPolicyReferenceFromPermissionSetOutput)
@@ -128,6 +192,22 @@ type SSOAdminAPI interface {
DetachManagedPolicyFromPermissionSetWithContext(aws.Context, *ssoadmin.DetachManagedPolicyFromPermissionSetInput, ...request.Option) (*ssoadmin.DetachManagedPolicyFromPermissionSetOutput, error)
DetachManagedPolicyFromPermissionSetRequest(*ssoadmin.DetachManagedPolicyFromPermissionSetInput) (*request.Request, *ssoadmin.DetachManagedPolicyFromPermissionSetOutput)
+ GetApplicationAccessScope(*ssoadmin.GetApplicationAccessScopeInput) (*ssoadmin.GetApplicationAccessScopeOutput, error)
+ GetApplicationAccessScopeWithContext(aws.Context, *ssoadmin.GetApplicationAccessScopeInput, ...request.Option) (*ssoadmin.GetApplicationAccessScopeOutput, error)
+ GetApplicationAccessScopeRequest(*ssoadmin.GetApplicationAccessScopeInput) (*request.Request, *ssoadmin.GetApplicationAccessScopeOutput)
+
+ GetApplicationAssignmentConfiguration(*ssoadmin.GetApplicationAssignmentConfigurationInput) (*ssoadmin.GetApplicationAssignmentConfigurationOutput, error)
+ GetApplicationAssignmentConfigurationWithContext(aws.Context, *ssoadmin.GetApplicationAssignmentConfigurationInput, ...request.Option) (*ssoadmin.GetApplicationAssignmentConfigurationOutput, error)
+ GetApplicationAssignmentConfigurationRequest(*ssoadmin.GetApplicationAssignmentConfigurationInput) (*request.Request, *ssoadmin.GetApplicationAssignmentConfigurationOutput)
+
+ GetApplicationAuthenticationMethod(*ssoadmin.GetApplicationAuthenticationMethodInput) (*ssoadmin.GetApplicationAuthenticationMethodOutput, error)
+ GetApplicationAuthenticationMethodWithContext(aws.Context, *ssoadmin.GetApplicationAuthenticationMethodInput, ...request.Option) (*ssoadmin.GetApplicationAuthenticationMethodOutput, error)
+ GetApplicationAuthenticationMethodRequest(*ssoadmin.GetApplicationAuthenticationMethodInput) (*request.Request, *ssoadmin.GetApplicationAuthenticationMethodOutput)
+
+ GetApplicationGrant(*ssoadmin.GetApplicationGrantInput) (*ssoadmin.GetApplicationGrantOutput, error)
+ GetApplicationGrantWithContext(aws.Context, *ssoadmin.GetApplicationGrantInput, ...request.Option) (*ssoadmin.GetApplicationGrantOutput, error)
+ GetApplicationGrantRequest(*ssoadmin.GetApplicationGrantInput) (*request.Request, *ssoadmin.GetApplicationGrantOutput)
+
GetInlinePolicyForPermissionSet(*ssoadmin.GetInlinePolicyForPermissionSetInput) (*ssoadmin.GetInlinePolicyForPermissionSetOutput, error)
GetInlinePolicyForPermissionSetWithContext(aws.Context, *ssoadmin.GetInlinePolicyForPermissionSetInput, ...request.Option) (*ssoadmin.GetInlinePolicyForPermissionSetOutput, error)
GetInlinePolicyForPermissionSetRequest(*ssoadmin.GetInlinePolicyForPermissionSetInput) (*request.Request, *ssoadmin.GetInlinePolicyForPermissionSetOutput)
@@ -157,6 +237,13 @@ type SSOAdminAPI interface {
ListAccountAssignmentsPages(*ssoadmin.ListAccountAssignmentsInput, func(*ssoadmin.ListAccountAssignmentsOutput, bool) bool) error
ListAccountAssignmentsPagesWithContext(aws.Context, *ssoadmin.ListAccountAssignmentsInput, func(*ssoadmin.ListAccountAssignmentsOutput, bool) bool, ...request.Option) error
+ ListAccountAssignmentsForPrincipal(*ssoadmin.ListAccountAssignmentsForPrincipalInput) (*ssoadmin.ListAccountAssignmentsForPrincipalOutput, error)
+ ListAccountAssignmentsForPrincipalWithContext(aws.Context, *ssoadmin.ListAccountAssignmentsForPrincipalInput, ...request.Option) (*ssoadmin.ListAccountAssignmentsForPrincipalOutput, error)
+ ListAccountAssignmentsForPrincipalRequest(*ssoadmin.ListAccountAssignmentsForPrincipalInput) (*request.Request, *ssoadmin.ListAccountAssignmentsForPrincipalOutput)
+
+ ListAccountAssignmentsForPrincipalPages(*ssoadmin.ListAccountAssignmentsForPrincipalInput, func(*ssoadmin.ListAccountAssignmentsForPrincipalOutput, bool) bool) error
+ ListAccountAssignmentsForPrincipalPagesWithContext(aws.Context, *ssoadmin.ListAccountAssignmentsForPrincipalInput, func(*ssoadmin.ListAccountAssignmentsForPrincipalOutput, bool) bool, ...request.Option) error
+
ListAccountsForProvisionedPermissionSet(*ssoadmin.ListAccountsForProvisionedPermissionSetInput) (*ssoadmin.ListAccountsForProvisionedPermissionSetOutput, error)
ListAccountsForProvisionedPermissionSetWithContext(aws.Context, *ssoadmin.ListAccountsForProvisionedPermissionSetInput, ...request.Option) (*ssoadmin.ListAccountsForProvisionedPermissionSetOutput, error)
ListAccountsForProvisionedPermissionSetRequest(*ssoadmin.ListAccountsForProvisionedPermissionSetInput) (*request.Request, *ssoadmin.ListAccountsForProvisionedPermissionSetOutput)
@@ -164,6 +251,55 @@ type SSOAdminAPI interface {
ListAccountsForProvisionedPermissionSetPages(*ssoadmin.ListAccountsForProvisionedPermissionSetInput, func(*ssoadmin.ListAccountsForProvisionedPermissionSetOutput, bool) bool) error
ListAccountsForProvisionedPermissionSetPagesWithContext(aws.Context, *ssoadmin.ListAccountsForProvisionedPermissionSetInput, func(*ssoadmin.ListAccountsForProvisionedPermissionSetOutput, bool) bool, ...request.Option) error
+ ListApplicationAccessScopes(*ssoadmin.ListApplicationAccessScopesInput) (*ssoadmin.ListApplicationAccessScopesOutput, error)
+ ListApplicationAccessScopesWithContext(aws.Context, *ssoadmin.ListApplicationAccessScopesInput, ...request.Option) (*ssoadmin.ListApplicationAccessScopesOutput, error)
+ ListApplicationAccessScopesRequest(*ssoadmin.ListApplicationAccessScopesInput) (*request.Request, *ssoadmin.ListApplicationAccessScopesOutput)
+
+ ListApplicationAccessScopesPages(*ssoadmin.ListApplicationAccessScopesInput, func(*ssoadmin.ListApplicationAccessScopesOutput, bool) bool) error
+ ListApplicationAccessScopesPagesWithContext(aws.Context, *ssoadmin.ListApplicationAccessScopesInput, func(*ssoadmin.ListApplicationAccessScopesOutput, bool) bool, ...request.Option) error
+
+ ListApplicationAssignments(*ssoadmin.ListApplicationAssignmentsInput) (*ssoadmin.ListApplicationAssignmentsOutput, error)
+ ListApplicationAssignmentsWithContext(aws.Context, *ssoadmin.ListApplicationAssignmentsInput, ...request.Option) (*ssoadmin.ListApplicationAssignmentsOutput, error)
+ ListApplicationAssignmentsRequest(*ssoadmin.ListApplicationAssignmentsInput) (*request.Request, *ssoadmin.ListApplicationAssignmentsOutput)
+
+ ListApplicationAssignmentsPages(*ssoadmin.ListApplicationAssignmentsInput, func(*ssoadmin.ListApplicationAssignmentsOutput, bool) bool) error
+ ListApplicationAssignmentsPagesWithContext(aws.Context, *ssoadmin.ListApplicationAssignmentsInput, func(*ssoadmin.ListApplicationAssignmentsOutput, bool) bool, ...request.Option) error
+
+ ListApplicationAssignmentsForPrincipal(*ssoadmin.ListApplicationAssignmentsForPrincipalInput) (*ssoadmin.ListApplicationAssignmentsForPrincipalOutput, error)
+ ListApplicationAssignmentsForPrincipalWithContext(aws.Context, *ssoadmin.ListApplicationAssignmentsForPrincipalInput, ...request.Option) (*ssoadmin.ListApplicationAssignmentsForPrincipalOutput, error)
+ ListApplicationAssignmentsForPrincipalRequest(*ssoadmin.ListApplicationAssignmentsForPrincipalInput) (*request.Request, *ssoadmin.ListApplicationAssignmentsForPrincipalOutput)
+
+ ListApplicationAssignmentsForPrincipalPages(*ssoadmin.ListApplicationAssignmentsForPrincipalInput, func(*ssoadmin.ListApplicationAssignmentsForPrincipalOutput, bool) bool) error
+ ListApplicationAssignmentsForPrincipalPagesWithContext(aws.Context, *ssoadmin.ListApplicationAssignmentsForPrincipalInput, func(*ssoadmin.ListApplicationAssignmentsForPrincipalOutput, bool) bool, ...request.Option) error
+
+ ListApplicationAuthenticationMethods(*ssoadmin.ListApplicationAuthenticationMethodsInput) (*ssoadmin.ListApplicationAuthenticationMethodsOutput, error)
+ ListApplicationAuthenticationMethodsWithContext(aws.Context, *ssoadmin.ListApplicationAuthenticationMethodsInput, ...request.Option) (*ssoadmin.ListApplicationAuthenticationMethodsOutput, error)
+ ListApplicationAuthenticationMethodsRequest(*ssoadmin.ListApplicationAuthenticationMethodsInput) (*request.Request, *ssoadmin.ListApplicationAuthenticationMethodsOutput)
+
+ ListApplicationAuthenticationMethodsPages(*ssoadmin.ListApplicationAuthenticationMethodsInput, func(*ssoadmin.ListApplicationAuthenticationMethodsOutput, bool) bool) error
+ ListApplicationAuthenticationMethodsPagesWithContext(aws.Context, *ssoadmin.ListApplicationAuthenticationMethodsInput, func(*ssoadmin.ListApplicationAuthenticationMethodsOutput, bool) bool, ...request.Option) error
+
+ ListApplicationGrants(*ssoadmin.ListApplicationGrantsInput) (*ssoadmin.ListApplicationGrantsOutput, error)
+ ListApplicationGrantsWithContext(aws.Context, *ssoadmin.ListApplicationGrantsInput, ...request.Option) (*ssoadmin.ListApplicationGrantsOutput, error)
+ ListApplicationGrantsRequest(*ssoadmin.ListApplicationGrantsInput) (*request.Request, *ssoadmin.ListApplicationGrantsOutput)
+
+ ListApplicationGrantsPages(*ssoadmin.ListApplicationGrantsInput, func(*ssoadmin.ListApplicationGrantsOutput, bool) bool) error
+ ListApplicationGrantsPagesWithContext(aws.Context, *ssoadmin.ListApplicationGrantsInput, func(*ssoadmin.ListApplicationGrantsOutput, bool) bool, ...request.Option) error
+
+ ListApplicationProviders(*ssoadmin.ListApplicationProvidersInput) (*ssoadmin.ListApplicationProvidersOutput, error)
+ ListApplicationProvidersWithContext(aws.Context, *ssoadmin.ListApplicationProvidersInput, ...request.Option) (*ssoadmin.ListApplicationProvidersOutput, error)
+ ListApplicationProvidersRequest(*ssoadmin.ListApplicationProvidersInput) (*request.Request, *ssoadmin.ListApplicationProvidersOutput)
+
+ ListApplicationProvidersPages(*ssoadmin.ListApplicationProvidersInput, func(*ssoadmin.ListApplicationProvidersOutput, bool) bool) error
+ ListApplicationProvidersPagesWithContext(aws.Context, *ssoadmin.ListApplicationProvidersInput, func(*ssoadmin.ListApplicationProvidersOutput, bool) bool, ...request.Option) error
+
+ ListApplications(*ssoadmin.ListApplicationsInput) (*ssoadmin.ListApplicationsOutput, error)
+ ListApplicationsWithContext(aws.Context, *ssoadmin.ListApplicationsInput, ...request.Option) (*ssoadmin.ListApplicationsOutput, error)
+ ListApplicationsRequest(*ssoadmin.ListApplicationsInput) (*request.Request, *ssoadmin.ListApplicationsOutput)
+
+ ListApplicationsPages(*ssoadmin.ListApplicationsInput, func(*ssoadmin.ListApplicationsOutput, bool) bool) error
+ ListApplicationsPagesWithContext(aws.Context, *ssoadmin.ListApplicationsInput, func(*ssoadmin.ListApplicationsOutput, bool) bool, ...request.Option) error
+
ListCustomerManagedPolicyReferencesInPermissionSet(*ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetInput) (*ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetOutput, error)
ListCustomerManagedPolicyReferencesInPermissionSetWithContext(aws.Context, *ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetInput, ...request.Option) (*ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetOutput, error)
ListCustomerManagedPolicyReferencesInPermissionSetRequest(*ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetInput) (*request.Request, *ssoadmin.ListCustomerManagedPolicyReferencesInPermissionSetOutput)
@@ -213,10 +349,33 @@ type SSOAdminAPI interface {
ListTagsForResourcePages(*ssoadmin.ListTagsForResourceInput, func(*ssoadmin.ListTagsForResourceOutput, bool) bool) error
ListTagsForResourcePagesWithContext(aws.Context, *ssoadmin.ListTagsForResourceInput, func(*ssoadmin.ListTagsForResourceOutput, bool) bool, ...request.Option) error
+ ListTrustedTokenIssuers(*ssoadmin.ListTrustedTokenIssuersInput) (*ssoadmin.ListTrustedTokenIssuersOutput, error)
+ ListTrustedTokenIssuersWithContext(aws.Context, *ssoadmin.ListTrustedTokenIssuersInput, ...request.Option) (*ssoadmin.ListTrustedTokenIssuersOutput, error)
+ ListTrustedTokenIssuersRequest(*ssoadmin.ListTrustedTokenIssuersInput) (*request.Request, *ssoadmin.ListTrustedTokenIssuersOutput)
+
+ ListTrustedTokenIssuersPages(*ssoadmin.ListTrustedTokenIssuersInput, func(*ssoadmin.ListTrustedTokenIssuersOutput, bool) bool) error
+ ListTrustedTokenIssuersPagesWithContext(aws.Context, *ssoadmin.ListTrustedTokenIssuersInput, func(*ssoadmin.ListTrustedTokenIssuersOutput, bool) bool, ...request.Option) error
+
ProvisionPermissionSet(*ssoadmin.ProvisionPermissionSetInput) (*ssoadmin.ProvisionPermissionSetOutput, error)
ProvisionPermissionSetWithContext(aws.Context, *ssoadmin.ProvisionPermissionSetInput, ...request.Option) (*ssoadmin.ProvisionPermissionSetOutput, error)
ProvisionPermissionSetRequest(*ssoadmin.ProvisionPermissionSetInput) (*request.Request, *ssoadmin.ProvisionPermissionSetOutput)
+ PutApplicationAccessScope(*ssoadmin.PutApplicationAccessScopeInput) (*ssoadmin.PutApplicationAccessScopeOutput, error)
+ PutApplicationAccessScopeWithContext(aws.Context, *ssoadmin.PutApplicationAccessScopeInput, ...request.Option) (*ssoadmin.PutApplicationAccessScopeOutput, error)
+ PutApplicationAccessScopeRequest(*ssoadmin.PutApplicationAccessScopeInput) (*request.Request, *ssoadmin.PutApplicationAccessScopeOutput)
+
+ PutApplicationAssignmentConfiguration(*ssoadmin.PutApplicationAssignmentConfigurationInput) (*ssoadmin.PutApplicationAssignmentConfigurationOutput, error)
+ PutApplicationAssignmentConfigurationWithContext(aws.Context, *ssoadmin.PutApplicationAssignmentConfigurationInput, ...request.Option) (*ssoadmin.PutApplicationAssignmentConfigurationOutput, error)
+ PutApplicationAssignmentConfigurationRequest(*ssoadmin.PutApplicationAssignmentConfigurationInput) (*request.Request, *ssoadmin.PutApplicationAssignmentConfigurationOutput)
+
+ PutApplicationAuthenticationMethod(*ssoadmin.PutApplicationAuthenticationMethodInput) (*ssoadmin.PutApplicationAuthenticationMethodOutput, error)
+ PutApplicationAuthenticationMethodWithContext(aws.Context, *ssoadmin.PutApplicationAuthenticationMethodInput, ...request.Option) (*ssoadmin.PutApplicationAuthenticationMethodOutput, error)
+ PutApplicationAuthenticationMethodRequest(*ssoadmin.PutApplicationAuthenticationMethodInput) (*request.Request, *ssoadmin.PutApplicationAuthenticationMethodOutput)
+
+ PutApplicationGrant(*ssoadmin.PutApplicationGrantInput) (*ssoadmin.PutApplicationGrantOutput, error)
+ PutApplicationGrantWithContext(aws.Context, *ssoadmin.PutApplicationGrantInput, ...request.Option) (*ssoadmin.PutApplicationGrantOutput, error)
+ PutApplicationGrantRequest(*ssoadmin.PutApplicationGrantInput) (*request.Request, *ssoadmin.PutApplicationGrantOutput)
+
PutInlinePolicyToPermissionSet(*ssoadmin.PutInlinePolicyToPermissionSetInput) (*ssoadmin.PutInlinePolicyToPermissionSetOutput, error)
PutInlinePolicyToPermissionSetWithContext(aws.Context, *ssoadmin.PutInlinePolicyToPermissionSetInput, ...request.Option) (*ssoadmin.PutInlinePolicyToPermissionSetOutput, error)
PutInlinePolicyToPermissionSetRequest(*ssoadmin.PutInlinePolicyToPermissionSetInput) (*request.Request, *ssoadmin.PutInlinePolicyToPermissionSetOutput)
@@ -233,6 +392,14 @@ type SSOAdminAPI interface {
UntagResourceWithContext(aws.Context, *ssoadmin.UntagResourceInput, ...request.Option) (*ssoadmin.UntagResourceOutput, error)
UntagResourceRequest(*ssoadmin.UntagResourceInput) (*request.Request, *ssoadmin.UntagResourceOutput)
+ UpdateApplication(*ssoadmin.UpdateApplicationInput) (*ssoadmin.UpdateApplicationOutput, error)
+ UpdateApplicationWithContext(aws.Context, *ssoadmin.UpdateApplicationInput, ...request.Option) (*ssoadmin.UpdateApplicationOutput, error)
+ UpdateApplicationRequest(*ssoadmin.UpdateApplicationInput) (*request.Request, *ssoadmin.UpdateApplicationOutput)
+
+ UpdateInstance(*ssoadmin.UpdateInstanceInput) (*ssoadmin.UpdateInstanceOutput, error)
+ UpdateInstanceWithContext(aws.Context, *ssoadmin.UpdateInstanceInput, ...request.Option) (*ssoadmin.UpdateInstanceOutput, error)
+ UpdateInstanceRequest(*ssoadmin.UpdateInstanceInput) (*request.Request, *ssoadmin.UpdateInstanceOutput)
+
UpdateInstanceAccessControlAttributeConfiguration(*ssoadmin.UpdateInstanceAccessControlAttributeConfigurationInput) (*ssoadmin.UpdateInstanceAccessControlAttributeConfigurationOutput, error)
UpdateInstanceAccessControlAttributeConfigurationWithContext(aws.Context, *ssoadmin.UpdateInstanceAccessControlAttributeConfigurationInput, ...request.Option) (*ssoadmin.UpdateInstanceAccessControlAttributeConfigurationOutput, error)
UpdateInstanceAccessControlAttributeConfigurationRequest(*ssoadmin.UpdateInstanceAccessControlAttributeConfigurationInput) (*request.Request, *ssoadmin.UpdateInstanceAccessControlAttributeConfigurationOutput)
@@ -240,6 +407,10 @@ type SSOAdminAPI interface {
UpdatePermissionSet(*ssoadmin.UpdatePermissionSetInput) (*ssoadmin.UpdatePermissionSetOutput, error)
UpdatePermissionSetWithContext(aws.Context, *ssoadmin.UpdatePermissionSetInput, ...request.Option) (*ssoadmin.UpdatePermissionSetOutput, error)
UpdatePermissionSetRequest(*ssoadmin.UpdatePermissionSetInput) (*request.Request, *ssoadmin.UpdatePermissionSetOutput)
+
+ UpdateTrustedTokenIssuer(*ssoadmin.UpdateTrustedTokenIssuerInput) (*ssoadmin.UpdateTrustedTokenIssuerOutput, error)
+ UpdateTrustedTokenIssuerWithContext(aws.Context, *ssoadmin.UpdateTrustedTokenIssuerInput, ...request.Option) (*ssoadmin.UpdateTrustedTokenIssuerOutput, error)
+ UpdateTrustedTokenIssuerRequest(*ssoadmin.UpdateTrustedTokenIssuerInput) (*request.Request, *ssoadmin.UpdateTrustedTokenIssuerOutput)
}
var _ SSOAdminAPI = (*ssoadmin.SSOAdmin)(nil)
diff --git a/service/transfer/api.go b/service/transfer/api.go
index 947feb948e1..6baefcaccfa 100644
--- a/service/transfer/api.go
+++ b/service/transfer/api.go
@@ -7725,6 +7725,14 @@ type CreateServerInput struct {
// must be Amazon S3.
Protocols []*string `min:"1" type:"list" enum:"Protocol"`
+ // Specifies whether or not performance for your Amazon S3 directories is optimized.
+ // This is disabled by default.
+ //
+ // By default, home directory mappings have a TYPE of DIRECTORY. If you enable
+ // this option, you would then need to explicitly set the HomeDirectoryMapEntry
+ // Type to FILE if you want a mapping to have a file target.
+ S3StorageOptions *S3StorageOptions `type:"structure"`
+
// Specifies the name of the security policy that is attached to the server.
SecurityPolicyName *string `type:"string"`
@@ -7893,6 +7901,12 @@ func (s *CreateServerInput) SetProtocols(v []*string) *CreateServerInput {
return s
}
+// SetS3StorageOptions sets the S3StorageOptions field's value.
+func (s *CreateServerInput) SetS3StorageOptions(v *S3StorageOptions) *CreateServerInput {
+ s.S3StorageOptions = v
+ return s
+}
+
// SetSecurityPolicyName sets the SecurityPolicyName field's value.
func (s *CreateServerInput) SetSecurityPolicyName(v string) *CreateServerInput {
s.SecurityPolicyName = &v
@@ -11617,6 +11631,14 @@ type DescribedServer struct {
// must be Amazon S3.
Protocols []*string `min:"1" type:"list" enum:"Protocol"`
+ // Specifies whether or not performance for your Amazon S3 directories is optimized.
+ // This is disabled by default.
+ //
+ // By default, home directory mappings have a TYPE of DIRECTORY. If you enable
+ // this option, you would then need to explicitly set the HomeDirectoryMapEntry
+ // Type to FILE if you want a mapping to have a file target.
+ S3StorageOptions *S3StorageOptions `type:"structure"`
+
// Specifies the name of the security policy that is attached to the server.
SecurityPolicyName *string `type:"string"`
@@ -11762,6 +11784,12 @@ func (s *DescribedServer) SetProtocols(v []*string) *DescribedServer {
return s
}
+// SetS3StorageOptions sets the S3StorageOptions field's value.
+func (s *DescribedServer) SetS3StorageOptions(v *S3StorageOptions) *DescribedServer {
+ s.S3StorageOptions = v
+ return s
+}
+
// SetSecurityPolicyName sets the SecurityPolicyName field's value.
func (s *DescribedServer) SetSecurityPolicyName(v string) *DescribedServer {
s.SecurityPolicyName = &v
@@ -12447,10 +12475,18 @@ type HomeDirectoryMapEntry struct {
// Entry is a required field
Entry *string `type:"string" required:"true"`
- // Represents the map target that is used in a HomeDirectorymapEntry.
+ // Represents the map target that is used in a HomeDirectoryMapEntry.
//
// Target is a required field
Target *string `type:"string" required:"true"`
+
+ // Specifies the type of mapping. Set the type to FILE if you want the mapping
+ // to point to a file, or DIRECTORY for the directory to point to a directory.
+ //
+ // By default, home directory mappings have a Type of DIRECTORY when you create
+ // a Transfer Family server. You would need to explicitly set Type to FILE if
+ // you want a mapping to have a file target.
+ Type *string `type:"string" enum:"MapType"`
}
// String returns the string representation.
@@ -12499,6 +12535,12 @@ func (s *HomeDirectoryMapEntry) SetTarget(v string) *HomeDirectoryMapEntry {
return s
}
+// SetType sets the Type field's value.
+func (s *HomeDirectoryMapEntry) SetType(v string) *HomeDirectoryMapEntry {
+ s.Type = &v
+ return s
+}
+
// Returns information related to the type of user authentication that is in
// use for a file transfer protocol-enabled server's users. A server can have
// only one method of authentication.
@@ -16118,6 +16160,43 @@ func (s *S3InputFileLocation) SetKey(v string) *S3InputFileLocation {
return s
}
+// The Amazon S3 storage options that are configured for your server.
+type S3StorageOptions struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies whether or not performance for your Amazon S3 directories is optimized.
+ // This is disabled by default.
+ //
+ // By default, home directory mappings have a TYPE of DIRECTORY. If you enable
+ // this option, you would then need to explicitly set the HomeDirectoryMapEntry
+ // Type to FILE if you want a mapping to have a file target.
+ DirectoryListingOptimization *string `type:"string" enum:"DirectoryListingOptimization"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s S3StorageOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s S3StorageOptions) GoString() string {
+ return s.String()
+}
+
+// SetDirectoryListingOptimization sets the DirectoryListingOptimization field's value.
+func (s *S3StorageOptions) SetDirectoryListingOptimization(v string) *S3StorageOptions {
+ s.DirectoryListingOptimization = &v
+ return s
+}
+
// Specifies the key-value pair that are assigned to a file during the execution
// of a Tagging step.
type S3Tag struct {
@@ -18660,6 +18739,14 @@ type UpdateServerInput struct {
// must be Amazon S3.
Protocols []*string `min:"1" type:"list" enum:"Protocol"`
+ // Specifies whether or not performance for your Amazon S3 directories is optimized.
+ // This is disabled by default.
+ //
+ // By default, home directory mappings have a TYPE of DIRECTORY. If you enable
+ // this option, you would then need to explicitly set the HomeDirectoryMapEntry
+ // Type to FILE if you want a mapping to have a file target.
+ S3StorageOptions *S3StorageOptions `type:"structure"`
+
// Specifies the name of the security policy that is attached to the server.
SecurityPolicyName *string `type:"string"`
@@ -18818,6 +18905,12 @@ func (s *UpdateServerInput) SetProtocols(v []*string) *UpdateServerInput {
return s
}
+// SetS3StorageOptions sets the S3StorageOptions field's value.
+func (s *UpdateServerInput) SetS3StorageOptions(v *S3StorageOptions) *UpdateServerInput {
+ s.S3StorageOptions = v
+ return s
+}
+
// SetSecurityPolicyName sets the SecurityPolicyName field's value.
func (s *UpdateServerInput) SetSecurityPolicyName(v string) *UpdateServerInput {
s.SecurityPolicyName = &v
@@ -19601,6 +19694,24 @@ func CustomStepStatus_Values() []string {
}
}
+// Indicates whether optimization to directory listing on S3 servers is used.
+// Disabled by default for compatibility.
+const (
+ // DirectoryListingOptimizationEnabled is a DirectoryListingOptimization enum value
+ DirectoryListingOptimizationEnabled = "ENABLED"
+
+ // DirectoryListingOptimizationDisabled is a DirectoryListingOptimization enum value
+ DirectoryListingOptimizationDisabled = "DISABLED"
+)
+
+// DirectoryListingOptimization_Values returns all elements of the DirectoryListingOptimization enum
+func DirectoryListingOptimization_Values() []string {
+ return []string{
+ DirectoryListingOptimizationEnabled,
+ DirectoryListingOptimizationDisabled,
+ }
+}
+
const (
// DomainS3 is a Domain enum value
DomainS3 = "S3"
@@ -19795,6 +19906,22 @@ func IdentityProviderType_Values() []string {
}
}
+const (
+ // MapTypeFile is a MapType enum value
+ MapTypeFile = "FILE"
+
+ // MapTypeDirectory is a MapType enum value
+ MapTypeDirectory = "DIRECTORY"
+)
+
+// MapType_Values returns all elements of the MapType enum
+func MapType_Values() []string {
+ return []string{
+ MapTypeFile,
+ MapTypeDirectory,
+ }
+}
+
const (
// MdnResponseSync is a MdnResponse enum value
MdnResponseSync = "SYNC"