From 54a8f0b8aec617310b59b0c8a29e7c1f493f2fa9 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 19 Dec 2022 11:33:10 -0800 Subject: [PATCH] Release v1.44.163 (2022-12-19) (#4667) Release v1.44.163 (2022-12-19) === ### Service Client Updates * `service/athena`: Updates service API and documentation * Add missed InvalidRequestException in GetCalculationExecutionCode,StopCalculationExecution APIs. Correct required parameters (Payload and Type) in UpdateNotebook API. Change Notebook size from 15 Mb to 10 Mb. * `service/ecs`: Updates service API and documentation * This release adds support for alarm-based rollbacks in ECS, a new feature that allows customers to add automated safeguards for Amazon ECS service rolling updates. * `service/kinesis-video-webrtc-storage`: Adds new service * `service/kinesisvideo`: Updates service API, documentation, and paginators * Amazon Kinesis Video Streams offers capabilities to stream video and audio in real-time via WebRTC to the cloud for storage, playback, and analytical processing. Customers can use our enhanced WebRTC SDK and cloud APIs to enable real-time streaming, as well as media ingestion to the cloud. * `service/rds`: Updates service API, documentation, waiters, paginators, and examples * Add support for --enable-customer-owned-ip to RDS create-db-instance-read-replica API for RDS on Outposts. * `service/sagemaker`: Updates service API, documentation, and paginators * AWS Sagemaker - Sagemaker Images now supports Aliases as secondary identifiers for ImageVersions. SageMaker Images now supports additional metadata for ImageVersions for better images management. --- CHANGELOG.md | 16 + aws/endpoints/defaults.go | 31 + aws/version.go | 2 +- models/apis/athena/2017-05-18/api-2.json | 10 +- models/apis/athena/2017-05-18/docs-2.json | 2 +- .../2017-05-18/endpoint-rule-set-1.json | 11 +- models/apis/ecs/2014-11-13/api-2.json | 16 +- models/apis/ecs/2014-11-13/docs-2.json | 11 +- .../apis/ecs/2014-11-13/endpoint-tests-1.json | 550 ++++---- .../2018-05-10/api-2.json | 121 ++ .../2018-05-10/docs-2.json | 62 + .../2018-05-10/endpoint-rule-set-1.json | 300 +++++ .../2018-05-10/endpoint-tests-1.json | 295 +++++ .../2018-05-10/examples-1.json | 5 + .../2018-05-10/paginators-1.json | 4 + .../apis/kinesisvideo/2017-09-30/api-2.json | 129 +- .../apis/kinesisvideo/2017-09-30/docs-2.json | 89 +- .../2017-09-30/endpoint-tests-1.json | 462 +++---- .../kinesisvideo/2017-09-30/paginators-1.json | 6 + models/apis/rds/2014-10-31/api-2.json | 3 +- models/apis/rds/2014-10-31/docs-2.json | 13 +- models/apis/sagemaker/2017-07-24/api-2.json | 150 ++- models/apis/sagemaker/2017-07-24/docs-2.json | 133 +- .../sagemaker/2017-07-24/paginators-1.json | 6 + models/endpoints/endpoints.json | 23 + service/athena/api.go | 30 +- service/ecs/api.go | 108 +- service/kinesisvideo/api.go | 1171 ++++++++++++++--- service/kinesisvideo/errors.go | 17 +- .../kinesisvideoiface/interface.go | 15 + service/kinesisvideowebrtcstorage/api.go | 665 ++++++++++ service/kinesisvideowebrtcstorage/doc.go | 26 + service/kinesisvideowebrtcstorage/errors.go | 52 + .../interface.go | 72 + service/kinesisvideowebrtcstorage/service.go | 106 ++ service/rds/api.go | 44 +- service/sagemaker/api.go | 876 +++++++++++- service/sagemaker/sagemakeriface/interface.go | 11 + 38 files changed, 4823 insertions(+), 820 deletions(-) create mode 100644 models/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json create mode 100644 models/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json create mode 100644 models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json create mode 100644 models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-tests-1.json create mode 100644 models/apis/kinesis-video-webrtc-storage/2018-05-10/examples-1.json create mode 100644 models/apis/kinesis-video-webrtc-storage/2018-05-10/paginators-1.json create mode 100644 service/kinesisvideowebrtcstorage/api.go create mode 100644 service/kinesisvideowebrtcstorage/doc.go create mode 100644 service/kinesisvideowebrtcstorage/errors.go create mode 100644 service/kinesisvideowebrtcstorage/kinesisvideowebrtcstorageiface/interface.go create mode 100644 service/kinesisvideowebrtcstorage/service.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 728577bd308..1f2b1ac83b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +Release v1.44.163 (2022-12-19) +=== + +### Service Client Updates +* `service/athena`: Updates service API and documentation + * Add missed InvalidRequestException in GetCalculationExecutionCode,StopCalculationExecution APIs. Correct required parameters (Payload and Type) in UpdateNotebook API. Change Notebook size from 15 Mb to 10 Mb. +* `service/ecs`: Updates service API and documentation + * This release adds support for alarm-based rollbacks in ECS, a new feature that allows customers to add automated safeguards for Amazon ECS service rolling updates. +* `service/kinesis-video-webrtc-storage`: Adds new service +* `service/kinesisvideo`: Updates service API, documentation, and paginators + * Amazon Kinesis Video Streams offers capabilities to stream video and audio in real-time via WebRTC to the cloud for storage, playback, and analytical processing. Customers can use our enhanced WebRTC SDK and cloud APIs to enable real-time streaming, as well as media ingestion to the cloud. +* `service/rds`: Updates service API, documentation, waiters, paginators, and examples + * Add support for --enable-customer-owned-ip to RDS create-db-instance-read-replica API for RDS on Outposts. +* `service/sagemaker`: Updates service API, documentation, and paginators + * AWS Sagemaker - Sagemaker Images now supports Aliases as secondary identifiers for ImageVersions. SageMaker Images now supports additional metadata for ImageVersions for better images management. + Release v1.44.162 (2022-12-16) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 593e5c57624..1440d9ab53e 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -17625,6 +17625,14 @@ var awsPartition = partition{ }, "oidc": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{ + Hostname: "oidc.af-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "af-south-1", + }, + }, endpointKey{ Region: "ap-east-1", }: endpoint{ @@ -17681,6 +17689,14 @@ var awsPartition = partition{ Region: "ap-southeast-2", }, }, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{ + Hostname: "oidc.ap-southeast-3.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-southeast-3", + }, + }, endpointKey{ Region: "ca-central-1", }: endpoint{ @@ -17769,6 +17785,14 @@ var awsPartition = partition{ Region: "us-east-2", }, }, + endpointKey{ + Region: "us-west-1", + }: endpoint{ + Hostname: "oidc.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + }, endpointKey{ Region: "us-west-2", }: endpoint{ @@ -35079,6 +35103,13 @@ var awsisoPartition = partition{ }: endpoint{}, }, }, + "glue": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-iso-east-1", + }: endpoint{}, + }, + }, "health": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 3d6f00c79ac..ad27f35800a 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.44.162" +const SDKVersion = "1.44.163" diff --git a/models/apis/athena/2017-05-18/api-2.json b/models/apis/athena/2017-05-18/api-2.json index a054c34f7c0..1ef8be8b4f8 100644 --- a/models/apis/athena/2017-05-18/api-2.json +++ b/models/apis/athena/2017-05-18/api-2.json @@ -239,6 +239,7 @@ "output":{"shape":"GetCalculationExecutionCodeResponse"}, "errors":[ {"shape":"InternalServerException"}, + {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"} ] }, @@ -692,6 +693,7 @@ "output":{"shape":"StopCalculationExecutionResponse"}, "errors":[ {"shape":"InternalServerException"}, + {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"} ] }, @@ -2189,7 +2191,7 @@ }, "Payload":{ "type":"string", - "max":15728640, + "max":10485760, "min":1 }, "PreparedStatement":{ @@ -2832,7 +2834,11 @@ }, "UpdateNotebookInput":{ "type":"structure", - "required":["NotebookId"], + "required":[ + "NotebookId", + "Payload", + "Type" + ], "members":{ "NotebookId":{"shape":"NotebookId"}, "Payload":{"shape":"Payload"}, diff --git a/models/apis/athena/2017-05-18/docs-2.json b/models/apis/athena/2017-05-18/docs-2.json index 2d9279b723c..fe1889b6caf 100644 --- a/models/apis/athena/2017-05-18/docs-2.json +++ b/models/apis/athena/2017-05-18/docs-2.json @@ -27,7 +27,7 @@ "GetPreparedStatement": "

Retrieves the prepared statement with the specified name from the specified workgroup.

", "GetQueryExecution": "

Returns information about a single execution of a query if you have access to the workgroup in which the query ran. Each time a query executes, information about the query execution is saved with a unique ID.

", "GetQueryResults": "

Streams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3. For more information, see Query Results in the Amazon Athena User Guide. This request does not execute the query but returns results. Use StartQueryExecution to run a query.

To stream query results successfully, the IAM principal with permission to call GetQueryResults also must have permissions to the Amazon S3 GetObject action for the Athena query results location.

IAM principals with permission to the Amazon S3 GetObject action for the query results location are able to retrieve query results from Amazon S3 even if permission to the GetQueryResults action is denied. To restrict user or role access, ensure that Amazon S3 permissions to the Athena query location are denied.

", - "GetQueryRuntimeStatistics": "

Returns query execution runtime statistics related to a single execution of a query if you have access to the workgroup in which the query ran. The query execution runtime statistics is returned only when QueryExecutionStatus$State is in a SUCCEEDED or FAILED state.

", + "GetQueryRuntimeStatistics": "

Returns query execution runtime statistics related to a single execution of a query if you have access to the workgroup in which the query ran. Query execution runtime statistics are returned only when QueryExecutionStatus$State is in a SUCCEEDED or FAILED state. Stage-level input and output row count and data size statistics are not shown when a query has row-level filters defined in Lake Formation.

", "GetSession": "

Gets the full details of a previously created session, including the session status and configuration.

", "GetSessionStatus": "

Gets the current status of a session.

", "GetTableMetadata": "

Returns table metadata for the specified catalog, database, and table.

", diff --git a/models/apis/athena/2017-05-18/endpoint-rule-set-1.json b/models/apis/athena/2017-05-18/endpoint-rule-set-1.json index 688cf5df470..d29ded39c35 100644 --- a/models/apis/athena/2017-05-18/endpoint-rule-set-1.json +++ b/models/apis/athena/2017-05-18/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/ecs/2014-11-13/api-2.json b/models/apis/ecs/2014-11-13/api-2.json index c1f15366486..3bd83edf2bd 100644 --- a/models/apis/ecs/2014-11-13/api-2.json +++ b/models/apis/ecs/2014-11-13/api-2.json @@ -1599,6 +1599,19 @@ "serviceConnectResources":{"shape":"ServiceConnectServiceResourceList"} } }, + "DeploymentAlarms":{ + "type":"structure", + "required":[ + "alarmNames", + "enable", + "rollback" + ], + "members":{ + "alarmNames":{"shape":"StringList"}, + "enable":{"shape":"Boolean"}, + "rollback":{"shape":"Boolean"} + } + }, "DeploymentCircuitBreaker":{ "type":"structure", "required":[ @@ -1615,7 +1628,8 @@ "members":{ "deploymentCircuitBreaker":{"shape":"DeploymentCircuitBreaker"}, "maximumPercent":{"shape":"BoxedInteger"}, - "minimumHealthyPercent":{"shape":"BoxedInteger"} + "minimumHealthyPercent":{"shape":"BoxedInteger"}, + "alarms":{"shape":"DeploymentAlarms"} } }, "DeploymentController":{ diff --git a/models/apis/ecs/2014-11-13/docs-2.json b/models/apis/ecs/2014-11-13/docs-2.json index 94a2f3713c7..fb986d99955 100644 --- a/models/apis/ecs/2014-11-13/docs-2.json +++ b/models/apis/ecs/2014-11-13/docs-2.json @@ -170,8 +170,10 @@ "ContainerInstance$agentConnected": "

This parameter returns true if the agent is connected to Amazon ECS. An instance with an agent that may be unhealthy or stopped return false. Only instances connected to an agent can accept task placement requests.

", "CreateServiceRequest$enableECSManagedTags": "

Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. For more information, see Tagging your Amazon ECS resources in the Amazon Elastic Container Service Developer Guide.

", "CreateServiceRequest$enableExecuteCommand": "

Determines whether the execute command functionality is enabled for the service. If true, this enables execute command functionality on all containers in the service tasks.

", + "DeploymentAlarms$enable": "

Determines whether to use the CloudWatch alarm option in the service deployment process.

", + "DeploymentAlarms$rollback": "

Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

", "DeploymentCircuitBreaker$enable": "

Determines whether to use the deployment circuit breaker logic for the service.

", - "DeploymentCircuitBreaker$rollback": "

Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

", + "DeploymentCircuitBreaker$rollback": "

Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is on, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

", "ExecuteCommandLogConfiguration$cloudWatchEncryptionEnabled": "

Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be disabled.

", "ExecuteCommandLogConfiguration$s3EncryptionEnabled": "

Determines whether to use encryption on the S3 logs. If not specified, encryption is not used.

", "ExecuteCommandRequest$interactive": "

Use this flag to run your command in interactive mode.

", @@ -666,6 +668,12 @@ "Deployments$member": null } }, + "DeploymentAlarms": { + "base": "

One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment.

When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure.

You can only use the DeploymentAlarms method to detect failures when the DeploymentController is set to ECS (rolling update).

For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide .

", + "refs": { + "DeploymentConfiguration$alarms": "

Information about the CloudWatch alarms.

" + } + }, "DeploymentCircuitBreaker": { "base": "

The deployment circuit breaker can only be used for services using the rolling update (ECS) deployment type that aren't behind a Classic Load Balancer.

The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state. If enabled, a service deployment will transition to a failed state and stop launching new tasks. You can also configure Amazon ECS to roll back your service to the last completed deployment after a failure. For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide.

", "refs": { @@ -2317,6 +2325,7 @@ "ContainerDefinition$dockerSecurityOptions": "

A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems. This field isn't valid for containers in tasks using the Fargate launch type.

With Windows containers, this parameter can be used to reference a credential spec file when configuring a container for Active Directory authentication. For more information, see Using gMSAs for Windows Containers in the Amazon Elastic Container Service Developer Guide.

This parameter maps to SecurityOpt in the Create a container section of the Docker Remote API and the --security-opt option to docker run.

The Amazon ECS container agent running on a container instance must register with the ECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true environment variables before containers placed on that instance can use these security options. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.

For more information about valid values, see Docker Run Security Configuration.

Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" | \"credentialspec:CredentialSpecFilePath\"

", "ContainerOverride$command": "

The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

", "CreateClusterRequest$capacityProviders": "

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.

To use a Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

", + "DeploymentAlarms$alarmNames": "

One or more CloudWatch alarm names. Use a \",\" to separate the alarms.

", "DescribeCapacityProvidersRequest$capacityProviders": "

The short name or full Amazon Resource Name (ARN) of one or more capacity providers. Up to 100 capacity providers can be described in an action.

", "DescribeClustersRequest$clusters": "

A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.

", "DescribeContainerInstancesRequest$containerInstances": "

A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.

", diff --git a/models/apis/ecs/2014-11-13/endpoint-tests-1.json b/models/apis/ecs/2014-11-13/endpoint-tests-1.json index cbc78244b00..790a95f2f45 100644 --- a/models/apis/ecs/2014-11-13/endpoint-tests-1.json +++ b/models/apis/ecs/2014-11-13/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseDualStack": true } }, { @@ -22,8 +22,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseDualStack": false } }, { @@ -35,8 +35,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseDualStack": true } }, { @@ -48,8 +48,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-2" + "Region": "ap-south-2", + "UseDualStack": false } }, { @@ -61,8 +61,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -74,8 +74,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -87,8 +87,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -100,8 +100,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -113,8 +113,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseDualStack": true } }, { @@ -126,8 +126,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseDualStack": false } }, { @@ -139,8 +139,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseDualStack": true } }, { @@ -152,8 +152,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-1" + "Region": "eu-south-1", + "UseDualStack": false } }, { @@ -165,8 +165,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseDualStack": true } }, { @@ -178,8 +178,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseDualStack": false } }, { @@ -191,8 +191,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseDualStack": true } }, { @@ -204,8 +204,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-2" + "Region": "eu-south-2", + "UseDualStack": false } }, { @@ -217,8 +217,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": true } }, { @@ -230,8 +230,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": false } }, { @@ -243,8 +243,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": true } }, { @@ -256,8 +256,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": false } }, { @@ -269,8 +269,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "me-central-1" + "Region": "me-central-1", + "UseDualStack": true } }, { @@ -282,8 +282,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "me-central-1" + "Region": "me-central-1", + "UseDualStack": false } }, { @@ -295,8 +295,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "me-central-1" + "Region": "me-central-1", + "UseDualStack": true } }, { @@ -308,8 +308,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "me-central-1" + "Region": "me-central-1", + "UseDualStack": false } }, { @@ -321,8 +321,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -334,8 +334,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -347,8 +347,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -360,8 +360,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -373,8 +373,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -386,8 +386,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -399,8 +399,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -412,8 +412,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -423,8 +423,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": true } }, { @@ -436,8 +436,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": false } }, { @@ -447,8 +447,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": true } }, { @@ -460,8 +460,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": false } }, { @@ -473,8 +473,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseDualStack": true } }, { @@ -486,8 +486,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseDualStack": false } }, { @@ -499,8 +499,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseDualStack": true } }, { @@ -512,8 +512,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-2" + "Region": "eu-central-2", + "UseDualStack": false } }, { @@ -525,8 +525,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": true } }, { @@ -538,8 +538,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": false } }, { @@ -551,8 +551,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": true } }, { @@ -564,8 +564,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseDualStack": false } }, { @@ -577,8 +577,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -590,8 +590,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -603,8 +603,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -616,8 +616,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -629,8 +629,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -642,8 +642,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -655,8 +655,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -668,8 +668,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -681,8 +681,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": true } }, { @@ -694,8 +694,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": false } }, { @@ -707,8 +707,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": true } }, { @@ -720,8 +720,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "Region": "eu-north-1", + "UseDualStack": false } }, { @@ -733,8 +733,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": true } }, { @@ -746,8 +746,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": false } }, { @@ -759,8 +759,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": true } }, { @@ -772,8 +772,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": false } }, { @@ -785,8 +785,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -798,8 +798,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -811,8 +811,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -824,8 +824,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -837,8 +837,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": true } }, { @@ -850,8 +850,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": false } }, { @@ -863,8 +863,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": true } }, { @@ -876,8 +876,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": false } }, { @@ -889,8 +889,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseDualStack": true } }, { @@ -902,8 +902,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseDualStack": false } }, { @@ -915,8 +915,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseDualStack": true } }, { @@ -928,8 +928,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-3" + "Region": "ap-northeast-3", + "UseDualStack": false } }, { @@ -941,8 +941,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -954,8 +954,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -967,8 +967,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -980,8 +980,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -993,8 +993,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -1006,8 +1006,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -1019,8 +1019,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -1032,8 +1032,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -1045,8 +1045,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "me-south-1" + "Region": "me-south-1", + "UseDualStack": true } }, { @@ -1058,8 +1058,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "me-south-1" + "Region": "me-south-1", + "UseDualStack": false } }, { @@ -1071,8 +1071,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "me-south-1" + "Region": "me-south-1", + "UseDualStack": true } }, { @@ -1084,8 +1084,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" + "Region": "me-south-1", + "UseDualStack": false } }, { @@ -1097,8 +1097,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": true } }, { @@ -1110,8 +1110,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": false } }, { @@ -1123,8 +1123,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": true } }, { @@ -1136,8 +1136,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": false } }, { @@ -1149,8 +1149,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": true } }, { @@ -1162,8 +1162,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": false } }, { @@ -1175,8 +1175,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": true } }, { @@ -1188,8 +1188,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": false } }, { @@ -1201,8 +1201,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": true } }, { @@ -1214,8 +1214,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": false } }, { @@ -1227,8 +1227,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": true } }, { @@ -1240,8 +1240,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": false } }, { @@ -1253,8 +1253,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -1266,8 +1266,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -1279,8 +1279,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -1292,8 +1292,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -1305,8 +1305,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -1318,8 +1318,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -1331,8 +1331,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -1344,8 +1344,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -1357,8 +1357,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -1370,8 +1370,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -1383,8 +1383,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -1396,8 +1396,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -1407,8 +1407,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": true } }, { @@ -1420,8 +1420,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": false } }, { @@ -1431,8 +1431,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": true } }, { @@ -1444,8 +1444,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": false } }, { @@ -1457,8 +1457,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseDualStack": true } }, { @@ -1470,8 +1470,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseDualStack": false } }, { @@ -1483,8 +1483,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseDualStack": true } }, { @@ -1496,8 +1496,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-3" + "Region": "ap-southeast-3", + "UseDualStack": false } }, { @@ -1509,8 +1509,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseDualStack": true } }, { @@ -1522,8 +1522,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseDualStack": false } }, { @@ -1535,8 +1535,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseDualStack": true } }, { @@ -1548,8 +1548,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-4" + "Region": "ap-southeast-4", + "UseDualStack": false } }, { @@ -1561,8 +1561,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1574,8 +1574,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1587,8 +1587,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1600,8 +1600,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1613,8 +1613,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": true } }, { @@ -1626,8 +1626,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": false } }, { @@ -1639,8 +1639,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": true } }, { @@ -1652,8 +1652,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": false } }, { @@ -1665,8 +1665,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseDualStack": true } }, { @@ -1678,8 +1678,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseDualStack": false } }, { @@ -1691,8 +1691,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseDualStack": true } }, { @@ -1704,8 +1704,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-northwest-1" + "Region": "cn-northwest-1", + "UseDualStack": false } }, { @@ -1715,8 +1715,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": true } }, { @@ -1728,8 +1728,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": false } }, { @@ -1739,8 +1739,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": true } }, { @@ -1752,8 +1752,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": false } }, { @@ -1765,8 +1765,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1777,8 +1777,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1789,8 +1789,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json b/models/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json new file mode 100644 index 00000000000..a98ce1c2d43 --- /dev/null +++ b/models/apis/kinesis-video-webrtc-storage/2018-05-10/api-2.json @@ -0,0 +1,121 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2018-05-10", + "endpointPrefix":"kinesisvideo", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"Amazon Kinesis Video WebRTC Storage", + "serviceId":"Kinesis Video WebRTC Storage", + "signatureVersion":"v4", + "signingName":"kinesisvideo", + "uid":"kinesis-video-webrtc-storage-2018-05-10" + }, + "operations":{ + "JoinStorageSession":{ + "name":"JoinStorageSession", + "http":{ + "method":"POST", + "requestUri":"/joinStorageSession", + "responseCode":200 + }, + "input":{"shape":"JoinStorageSessionInput"}, + "errors":[ + {"shape":"ClientLimitExceededException"}, + {"shape":"InvalidArgumentException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ] + }, + "JoinStorageSessionAsViewer":{ + "name":"JoinStorageSessionAsViewer", + "http":{ + "method":"POST", + "requestUri":"/joinStorageSessionAsViewer", + "responseCode":200 + }, + "input":{"shape":"JoinStorageSessionAsViewerInput"}, + "errors":[ + {"shape":"ClientLimitExceededException"}, + {"shape":"InvalidArgumentException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"} + ] + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "ChannelArn":{ + "type":"string", + "pattern":"^arn:(aws[a-zA-Z-]*):kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+$" + }, + "ClientId":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[a-zA-Z0-9_.-]+" + }, + "ClientLimitExceededException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "InvalidArgumentException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "JoinStorageSessionAsViewerInput":{ + "type":"structure", + "required":[ + "channelArn", + "clientId" + ], + "members":{ + "channelArn":{"shape":"ChannelArn"}, + "clientId":{"shape":"ClientId"} + } + }, + "JoinStorageSessionInput":{ + "type":"structure", + "required":["channelArn"], + "members":{ + "channelArn":{"shape":"ChannelArn"} + } + }, + "ResourceNotFoundException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "String":{"type":"string"} + } +} diff --git a/models/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json b/models/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json new file mode 100644 index 00000000000..6b27df5406d --- /dev/null +++ b/models/apis/kinesis-video-webrtc-storage/2018-05-10/docs-2.json @@ -0,0 +1,62 @@ +{ + "version": "2.0", + "service": "

", + "operations": { + "JoinStorageSession": "

Join the ongoing one way-video and/or multi-way audio WebRTC session as a video producing device for an input channel. If there’s no existing session for the channel, a new streaming session needs to be created, and the Amazon Resource Name (ARN) of the signaling channel must be provided.

Currently for the SINGLE_MASTER type, a video producing device is able to ingest both audio and video media into a stream, while viewers can only ingest audio. Both a video producing device and viewers can join the session first, and wait for other participants.

While participants are having peer to peer conversations through webRTC, the ingested media session will be stored into the Kinesis Video Stream. Multiple viewers are able to playback real-time media.

Customers can also use existing Kinesis Video Streams features like HLS or DASH playback, Image generation, and more with ingested WebRTC media.

Assume that only one video producing device client can be associated with a session for the channel. If more than one client joins the session of a specific channel as a video producing device, the most recent client request takes precedence.

", + "JoinStorageSessionAsViewer": "

Join the ongoing one way-video and/or multi-way audio WebRTC session as a viewer for an input channel. If there’s no existing session for the channel, create a new streaming session and provide the Amazon Resource Name (ARN) of the signaling channel (channelArn) and client id (clientId).

Currently for SINGLE_MASTER type, a video producing device is able to ingest both audio and video media into a stream, while viewers can only ingest audio. Both a video producing device and viewers can join a session first and wait for other participants. While participants are having peer to peer conversations through webRTC, the ingested media session will be stored into the Kinesis Video Stream. Multiple viewers are able to playback real-time media.

Customers can also use existing Kinesis Video Streams features like HLS or DASH playback, Image generation, and more with ingested WebRTC media. If there’s an existing session with the same clientId that's found in the join session request, the new request takes precedence.

" + }, + "shapes": { + "AccessDeniedException": { + "base": "
  1. You do not have required permissions to perform this operation

  1. The AccessDeniedException can be thrown for operation access as well as tokens or resource access

", + "refs": { + } + }, + "ChannelArn": { + "base": null, + "refs": { + "JoinStorageSessionAsViewerInput$channelArn": "

The Amazon Resource Name (ARN) of the signaling channel.

", + "JoinStorageSessionInput$channelArn": "

The Amazon Resource Name (ARN) of the signaling channel.

" + } + }, + "ClientId": { + "base": null, + "refs": { + "JoinStorageSessionAsViewerInput$clientId": "

The unique identifier for the sender client.

" + } + }, + "ClientLimitExceededException": { + "base": "

Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.

", + "refs": { + } + }, + "InvalidArgumentException": { + "base": "
  1. The value for this input parameter is invalid.

  1. Additional details may notbe returned.

", + "refs": { + } + }, + "JoinStorageSessionAsViewerInput": { + "base": null, + "refs": { + } + }, + "JoinStorageSessionInput": { + "base": null, + "refs": { + } + }, + "ResourceNotFoundException": { + "base": "
  1. The specified resource is not found

  1. You have not specified a channel in this API call.

", + "refs": { + } + }, + "String": { + "base": null, + "refs": { + "AccessDeniedException$message": null, + "ClientLimitExceededException$message": null, + "InvalidArgumentException$message": null, + "ResourceNotFoundException$message": null + } + } + } +} diff --git a/models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json b/models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json new file mode 100644 index 00000000000..88e6b888956 --- /dev/null +++ b/models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-rule-set-1.json @@ -0,0 +1,300 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "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": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "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" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kinesisvideo-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kinesisvideo.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://kinesisvideo.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-tests-1.json b/models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-tests-1.json new file mode 100644 index 00000000000..0f69401af1b --- /dev/null +++ b/models/apis/kinesis-video-webrtc-storage/2018-05-10/endpoint-tests-1.json @@ -0,0 +1,295 @@ +{ + "testCases": [ + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": 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", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "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", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": 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", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "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", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": 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", + "UseDualStack": false, + "UseFIPS": true, + "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", + "UseDualStack": true, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/kinesis-video-webrtc-storage/2018-05-10/examples-1.json b/models/apis/kinesis-video-webrtc-storage/2018-05-10/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/kinesis-video-webrtc-storage/2018-05-10/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/kinesis-video-webrtc-storage/2018-05-10/paginators-1.json b/models/apis/kinesis-video-webrtc-storage/2018-05-10/paginators-1.json new file mode 100644 index 00000000000..5677bd8e4a2 --- /dev/null +++ b/models/apis/kinesis-video-webrtc-storage/2018-05-10/paginators-1.json @@ -0,0 +1,4 @@ +{ + "pagination": { + } +} diff --git a/models/apis/kinesisvideo/2017-09-30/api-2.json b/models/apis/kinesisvideo/2017-09-30/api-2.json index cf0a28a7767..876e8d900a7 100644 --- a/models/apis/kinesisvideo/2017-09-30/api-2.json +++ b/models/apis/kinesisvideo/2017-09-30/api-2.json @@ -111,6 +111,36 @@ {"shape":"AccessDeniedException"} ] }, + "DescribeMappedResourceConfiguration":{ + "name":"DescribeMappedResourceConfiguration", + "http":{ + "method":"POST", + "requestUri":"/describeMappedResourceConfiguration" + }, + "input":{"shape":"DescribeMappedResourceConfigurationInput"}, + "output":{"shape":"DescribeMappedResourceConfigurationOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidArgumentException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ClientLimitExceededException"} + ] + }, + "DescribeMediaStorageConfiguration":{ + "name":"DescribeMediaStorageConfiguration", + "http":{ + "method":"POST", + "requestUri":"/describeMediaStorageConfiguration" + }, + "input":{"shape":"DescribeMediaStorageConfigurationInput"}, + "output":{"shape":"DescribeMediaStorageConfigurationOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidArgumentException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ClientLimitExceededException"} + ] + }, "DescribeNotificationConfiguration":{ "name":"DescribeNotificationConfiguration", "http":{ @@ -360,6 +390,23 @@ {"shape":"NoDataRetentionException"} ] }, + "UpdateMediaStorageConfiguration":{ + "name":"UpdateMediaStorageConfiguration", + "http":{ + "method":"POST", + "requestUri":"/updateMediaStorageConfiguration" + }, + "input":{"shape":"UpdateMediaStorageConfigurationInput"}, + "output":{"shape":"UpdateMediaStorageConfigurationOutput"}, + "errors":[ + {"shape":"ResourceInUseException"}, + {"shape":"InvalidArgumentException"}, + {"shape":"ClientLimitExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"NoDataRetentionException"} + ] + }, "UpdateNotificationConfiguration":{ "name":"UpdateNotificationConfiguration", "http":{ @@ -483,7 +530,8 @@ "type":"string", "enum":[ "WSS", - "HTTPS" + "HTTPS", + "WEBRTC" ] }, "ChannelRole":{ @@ -629,6 +677,35 @@ "ImageGenerationConfiguration":{"shape":"ImageGenerationConfiguration"} } }, + "DescribeMappedResourceConfigurationInput":{ + "type":"structure", + "members":{ + "StreamName":{"shape":"StreamName"}, + "StreamARN":{"shape":"ResourceARN"}, + "MaxResults":{"shape":"MappedResourceConfigurationListLimit"}, + "NextToken":{"shape":"NextToken"} + } + }, + "DescribeMappedResourceConfigurationOutput":{ + "type":"structure", + "members":{ + "MappedResourceConfigurationList":{"shape":"MappedResourceConfigurationList"}, + "NextToken":{"shape":"NextToken"} + } + }, + "DescribeMediaStorageConfigurationInput":{ + "type":"structure", + "members":{ + "ChannelName":{"shape":"ChannelName"}, + "ChannelARN":{"shape":"ResourceARN"} + } + }, + "DescribeMediaStorageConfigurationOutput":{ + "type":"structure", + "members":{ + "MediaStorageConfiguration":{"shape":"MediaStorageConfiguration"} + } + }, "DescribeNotificationConfigurationInput":{ "type":"structure", "members":{ @@ -929,6 +1006,24 @@ "StrategyOnFullSize":{"shape":"StrategyOnFullSize"} } }, + "MappedResourceConfigurationList":{ + "type":"list", + "member":{"shape":"MappedResourceConfigurationListItem"}, + "max":1, + "min":0 + }, + "MappedResourceConfigurationListItem":{ + "type":"structure", + "members":{ + "Type":{"shape":"Type"}, + "ARN":{"shape":"ResourceARN"} + } + }, + "MappedResourceConfigurationListLimit":{ + "type":"integer", + "max":1, + "min":1 + }, "MaxLocalMediaSizeInMB":{ "type":"integer", "max":2000000, @@ -945,6 +1040,21 @@ "MediaUriType":{"shape":"MediaUriType"} } }, + "MediaStorageConfiguration":{ + "type":"structure", + "required":["Status"], + "members":{ + "StreamARN":{"shape":"ResourceARN"}, + "Status":{"shape":"MediaStorageConfigurationStatus"} + } + }, + "MediaStorageConfigurationStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "MediaType":{ "type":"string", "max":128, @@ -1261,6 +1371,7 @@ "exception":true }, "Timestamp":{"type":"timestamp"}, + "Type":{"type":"string"}, "UntagResourceInput":{ "type":"structure", "required":[ @@ -1331,6 +1442,22 @@ "members":{ } }, + "UpdateMediaStorageConfigurationInput":{ + "type":"structure", + "required":[ + "ChannelARN", + "MediaStorageConfiguration" + ], + "members":{ + "ChannelARN":{"shape":"ResourceARN"}, + "MediaStorageConfiguration":{"shape":"MediaStorageConfiguration"} + } + }, + "UpdateMediaStorageConfigurationOutput":{ + "type":"structure", + "members":{ + } + }, "UpdateNotificationConfigurationInput":{ "type":"structure", "members":{ diff --git a/models/apis/kinesisvideo/2017-09-30/docs-2.json b/models/apis/kinesisvideo/2017-09-30/docs-2.json index f0a13543421..8446c101163 100644 --- a/models/apis/kinesisvideo/2017-09-30/docs-2.json +++ b/models/apis/kinesisvideo/2017-09-30/docs-2.json @@ -8,6 +8,8 @@ "DeleteStream": "

Deletes a Kinesis video stream and the data contained in the stream.

This method marks the stream for deletion, and makes the data in the stream inaccessible immediately.

To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API.

This operation requires permission for the KinesisVideo:DeleteStream action.

", "DescribeEdgeConfiguration": "

Describes a stream’s edge configuration that was set using the StartEdgeConfigurationUpdate API. Use this API to get the status of the configuration if the configuration is in sync with the Edge Agent.

", "DescribeImageGenerationConfiguration": "

Gets the ImageGenerationConfiguration for a given Kinesis video stream.

", + "DescribeMappedResourceConfiguration": "

Returns the most current information about the stream. Either streamName or streamARN should be provided in the input.

Returns the most current information about the stream. The streamName or streamARN should be provided in the input.

", + "DescribeMediaStorageConfiguration": "

Returns the most current information about the channel. Specify the ChannelName or ChannelARN in the input.

", "DescribeNotificationConfiguration": "

Gets the NotificationConfiguration for a given Kinesis video stream.

", "DescribeSignalingChannel": "

Returns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe.

", "DescribeStream": "

Returns the most current information about the specified stream. You must specify either the StreamName or the StreamARN.

", @@ -17,13 +19,14 @@ "ListStreams": "

Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition.

", "ListTagsForResource": "

Returns a list of tags associated with the specified signaling channel.

", "ListTagsForStream": "

Returns a list of tags associated with the specified stream.

In the request, you must specify either the StreamName or the StreamARN.

", - "StartEdgeConfigurationUpdate": "

An asynchronous API that updates a stream’s existing edge configuration. If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING.

The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus will be updated as the edge configuration is acknowledged, and synced with the Edge Agent. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC and SYNC_FAILED, before using this API again.

If you invoke this API during the syncing process, a ResourceInUseException will be thrown. The connectivity of the stream's edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED state.

", + "StartEdgeConfigurationUpdate": "

An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.

If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC, or SYNC_FAILED, before using this API again. If you invoke this API during the syncing process, a ResourceInUseException will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED state.

", "TagResource": "

Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the Billing and Cost Management and Cost Management User Guide.

", "TagStream": "

Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the Billing and Cost Management and Cost Management User Guide.

You must provide either the StreamName or the StreamARN.

This operation requires permission for the KinesisVideo:TagStream action.

A Kinesis video stream can support up to 50 tags.

", "UntagResource": "

Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.

", "UntagStream": "

Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.

In the request, you must provide the StreamName or StreamARN.

", "UpdateDataRetention": "

Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the Operation parameter in the request body. In the request, you must specify either the StreamName or the StreamARN.

The retention period that you specify replaces the current value.

This operation requires permission for the KinesisVideo:UpdateDataRetention action.

Changing the data retention period affects the data in the stream as follows:

", "UpdateImageGenerationConfiguration": "

Updates the StreamInfo and ImageProcessingConfiguration fields.

", + "UpdateMediaStorageConfiguration": "

Associates a SignalingChannel to a stream to store the media. There are two signaling modes that can specified :

", "UpdateNotificationConfiguration": "

Updates the notification information for a stream.

", "UpdateSignalingChannel": "

Updates the existing signaling channel. This is an asynchronous operation and takes time to complete.

If the MessageTtlSeconds value is updated (either increased or reduced), it only applies to new messages sent via this channel after it's been updated. Existing messages are still expired as per the previous MessageTtlSeconds value.

", "UpdateStream": "

Updates stream metadata, such as the device name and media type.

You must provide the stream name or the Amazon Resource Name (ARN) of the stream.

To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API.

UpdateStream is an asynchronous operation, and takes time to complete.

" @@ -69,6 +72,7 @@ "ChannelInfo$ChannelName": "

The name of the signaling channel.

", "ChannelNameCondition$ComparisonValue": "

A value to compare.

", "CreateSignalingChannelInput$ChannelName": "

A name for the signaling channel that you are creating. It must be unique for each Amazon Web Services account and Amazon Web Services Region.

", + "DescribeMediaStorageConfigurationInput$ChannelName": "

The name of the channel.

", "DescribeSignalingChannelInput$ChannelName": "

The name of the signaling channel that you want to describe.

" } }, @@ -208,6 +212,26 @@ "refs": { } }, + "DescribeMappedResourceConfigurationInput": { + "base": null, + "refs": { + } + }, + "DescribeMappedResourceConfigurationOutput": { + "base": null, + "refs": { + } + }, + "DescribeMediaStorageConfigurationInput": { + "base": null, + "refs": { + } + }, + "DescribeMediaStorageConfigurationOutput": { + "base": null, + "refs": { + } + }, "DescribeNotificationConfigurationInput": { "base": null, "refs": { @@ -467,6 +491,24 @@ "DeletionConfig$LocalSizeConfig": "

The value of the local size required in order to delete the edge configuration.

" } }, + "MappedResourceConfigurationList": { + "base": null, + "refs": { + "DescribeMappedResourceConfigurationOutput$MappedResourceConfigurationList": "

A structure that encapsulates, or contains, the media storage configuration properties.

" + } + }, + "MappedResourceConfigurationListItem": { + "base": "

A structure that encapsulates, or contains, the media storage configuration properties.

", + "refs": { + "MappedResourceConfigurationList$member": null + } + }, + "MappedResourceConfigurationListLimit": { + "base": null, + "refs": { + "DescribeMappedResourceConfigurationInput$MaxResults": "

The maximum number of results to return in the response.

" + } + }, "MaxLocalMediaSizeInMB": { "base": null, "refs": { @@ -479,6 +521,19 @@ "RecorderConfig$MediaSourceConfig": "

The configuration details that consist of the credentials required (MediaUriSecretArn and MediaUriType) to access the media files streamed to the camera.

" } }, + "MediaStorageConfiguration": { + "base": "

A structure that encapsulates, or contains, the media storage configuration properties.

", + "refs": { + "DescribeMediaStorageConfigurationOutput$MediaStorageConfiguration": "

A structure that encapsulates, or contains, the media storage configuration properties.

", + "UpdateMediaStorageConfigurationInput$MediaStorageConfiguration": "

A structure that encapsulates, or contains, the media storage configuration properties.

" + } + }, + "MediaStorageConfigurationStatus": { + "base": null, + "refs": { + "MediaStorageConfiguration$Status": "

The status of the media storage configuration.

" + } + }, "MediaType": { "base": null, "refs": { @@ -496,7 +551,7 @@ "MediaUriType": { "base": null, "refs": { - "MediaSourceConfig$MediaUriType": "

The Uniform Resource Identifier (Uri) type. The FILE_URI value can be used to stream local media files.

" + "MediaSourceConfig$MediaUriType": "

The Uniform Resource Identifier (URI) type. The FILE_URI value can be used to stream local media files.

Preview only supports the RTSP_URI media source URI format .

" } }, "MessageTtlSeconds": { @@ -508,6 +563,8 @@ "NextToken": { "base": null, "refs": { + "DescribeMappedResourceConfigurationInput$NextToken": "

The token to provide in your next request, to get another batch of results.

", + "DescribeMappedResourceConfigurationOutput$NextToken": "

The token that was used in the NextTokenrequest to fetch the next set of results.

", "ListSignalingChannelsInput$NextToken": "

If you specify this parameter, when the result of a ListSignalingChannels operation is truncated, the call returns the NextToken in the response. To get another batch of channels, provide this token in your next request.

", "ListSignalingChannelsOutput$NextToken": "

If the response is truncated, the call returns this element with a token. To get the next batch of streams, use this token in your next request.

", "ListStreamsInput$NextToken": "

If you specify this parameter, when the result of a ListStreams operation is truncated, the call returns the NextToken in the response. To get another batch of streams, provide this token in your next request.

", @@ -558,6 +615,8 @@ "DescribeEdgeConfigurationInput$StreamARN": "

The Amazon Resource Name (ARN) of the stream. Specify either the StreamNameor the StreamARN.

", "DescribeEdgeConfigurationOutput$StreamARN": "

The Amazon Resource Name (ARN) of the stream.

", "DescribeImageGenerationConfigurationInput$StreamARN": "

The Amazon Resource Name (ARN) of the Kinesis video stream from which to retrieve the image generation configuration. You must specify either the StreamName or the StreamARN.

", + "DescribeMappedResourceConfigurationInput$StreamARN": "

The Amazon Resource Name (ARN) of the stream.

", + "DescribeMediaStorageConfigurationInput$ChannelARN": "

The Amazon Resource Name (ARN) of the channel.

", "DescribeNotificationConfigurationInput$StreamARN": "

The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to retrieve the notification configuration. You must specify either the StreamName or the StreamARN.

", "DescribeSignalingChannelInput$ChannelARN": "

The ARN of the signaling channel that you want to describe.

", "DescribeStreamInput$StreamARN": "

The Amazon Resource Name (ARN) of the stream.

", @@ -565,6 +624,8 @@ "GetSignalingChannelEndpointInput$ChannelARN": "

The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint.

", "ListTagsForResourceInput$ResourceARN": "

The Amazon Resource Name (ARN) of the signaling channel for which you want to list tags.

", "ListTagsForStreamInput$StreamARN": "

The Amazon Resource Name (ARN) of the stream that you want to list tags for.

", + "MappedResourceConfigurationListItem$ARN": "

The Amazon Resource Name (ARN) of the Kinesis Video Stream resource, associated with the stream.

", + "MediaStorageConfiguration$StreamARN": "

The Amazon Resource Name (ARN) of the stream

", "StartEdgeConfigurationUpdateInput$StreamARN": "

The Amazon Resource Name (ARN) of the stream. Specify either the StreamName or the StreamARN.

", "StartEdgeConfigurationUpdateOutput$StreamARN": "

The Amazon Resource Name (ARN) of the stream.

", "StreamInfo$StreamARN": "

The Amazon Resource Name (ARN) of the stream.

", @@ -574,6 +635,7 @@ "UntagStreamInput$StreamARN": "

The Amazon Resource Name (ARN) of the stream that you want to remove tags from.

", "UpdateDataRetentionInput$StreamARN": "

The Amazon Resource Name (ARN) of the stream whose retention period you want to change.

", "UpdateImageGenerationConfigurationInput$StreamARN": "

The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to update the image generation configuration. You must specify either the StreamName or the StreamARN.

", + "UpdateMediaStorageConfigurationInput$ChannelARN": "

The Amazon Resource Name (ARN) of the channel.

", "UpdateNotificationConfigurationInput$StreamARN": "

The Amazon Resource Name (ARN) of the Kinesis video stream from where you want to update the notification configuration. You must specify either the StreamName or the StreamARN.

", "UpdateSignalingChannelInput$ChannelARN": "

The Amazon Resource Name (ARN) of the signaling channel that you want to update.

", "UpdateStreamInput$StreamARN": "

The ARN of the stream whose metadata you want to update.

" @@ -598,7 +660,7 @@ } }, "ResourceInUseException": { - "base": "

The resource is currently not available for this operation. New resources cannot be created with the same name as existing resources. Also, resources cannot be updated or deleted unless they are in an ACTIVE state.

If this exception is returned, do not use it to determine whether the requested resource already exists. Instead, it is recommended you use the resource-specific describe API, for example, DescribeStream for video streams.

", + "base": "

When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped to a different Kinesis Video Stream resource, or if the provided input StreamARN or ChannelARN is not in Active status, try one of the following :

  1. The DescribeMediaStorageConfiguration API to determine what the stream given channel is mapped to.

  2. The DescribeMappedResourceConfiguration API to determine the channel that the given stream is mapped to.

  3. The DescribeStream or DescribeSignalingChannel API to determine the status of the resource.

", "refs": { } }, @@ -697,6 +759,7 @@ "DescribeEdgeConfigurationInput$StreamName": "

The name of the stream whose edge configuration you want to update. Specify either the StreamName or the StreamARN.

", "DescribeEdgeConfigurationOutput$StreamName": "

The name of the stream from which the edge configuration was updated.

", "DescribeImageGenerationConfigurationInput$StreamName": "

The name of the stream from which to retrieve the image generation configuration. You must specify either the StreamName or the StreamARN.

", + "DescribeMappedResourceConfigurationInput$StreamName": "

The name of the stream.

", "DescribeNotificationConfigurationInput$StreamName": "

The name of the stream from which to retrieve the notification configuration. You must specify either the StreamName or the StreamARN.

", "DescribeStreamInput$StreamName": "

The name of the stream.

", "GetDataEndpointInput$StreamName": "

The name of the stream that you want to get the endpoint for. You must specify either this parameter or a StreamARN in the request.

", @@ -803,6 +866,12 @@ "StreamInfo$CreationTime": "

A time stamp that indicates when the stream was created.

" } }, + "Type": { + "base": null, + "refs": { + "MappedResourceConfigurationListItem$Type": "

The type of the associated resource for the kinesis video stream.

" + } + }, "UntagResourceInput": { "base": null, "refs": { @@ -849,6 +918,16 @@ "refs": { } }, + "UpdateMediaStorageConfigurationInput": { + "base": null, + "refs": { + } + }, + "UpdateMediaStorageConfigurationOutput": { + "base": null, + "refs": { + } + }, "UpdateNotificationConfigurationInput": { "base": null, "refs": { @@ -880,9 +959,9 @@ } }, "UploaderConfig": { - "base": "

The configuration that consists of the ScheduleConfig attribute that's required, to schedule the jobs to upload the recorded media files onto the Edge Agent in a Kinesis Video Stream.

", + "base": "

The configuration that consists of the ScheduleExpression and the DurationInMinutesdetails, that specify the scheduling to record from a camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided, then the Edge Agent will always be in upload mode.

", "refs": { - "EdgeConfig$UploaderConfig": "

The uploader configuration contains the ScheduleExpression details that are used, to schedule upload jobs for the recorded media files from the Edge Agent, to a Kinesis Video Stream.

" + "EdgeConfig$UploaderConfig": "

The uploader configuration contains the ScheduleExpression details that are used to schedule upload jobs for the recorded media files from the Edge Agent to a Kinesis Video Stream.

" } }, "Version": { diff --git a/models/apis/kinesisvideo/2017-09-30/endpoint-tests-1.json b/models/apis/kinesisvideo/2017-09-30/endpoint-tests-1.json index 588d8a5e4c5..0dbba04cff0 100644 --- a/models/apis/kinesisvideo/2017-09-30/endpoint-tests-1.json +++ b/models/apis/kinesisvideo/2017-09-30/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -22,8 +22,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -35,8 +35,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": true } }, { @@ -48,8 +48,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseDualStack": false } }, { @@ -61,8 +61,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": true } }, { @@ -74,8 +74,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": false } }, { @@ -87,8 +87,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": true } }, { @@ -100,8 +100,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "Region": "us-gov-east-1", + "UseDualStack": false } }, { @@ -113,8 +113,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -126,8 +126,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -139,8 +139,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": true } }, { @@ -152,8 +152,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseDualStack": false } }, { @@ -165,8 +165,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -178,8 +178,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -191,8 +191,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": true } }, { @@ -204,8 +204,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseDualStack": false } }, { @@ -215,8 +215,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": true } }, { @@ -228,8 +228,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": false } }, { @@ -239,8 +239,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": true } }, { @@ -252,8 +252,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-west-1" + "Region": "us-iso-west-1", + "UseDualStack": false } }, { @@ -265,8 +265,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -278,8 +278,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -291,8 +291,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": true } }, { @@ -304,8 +304,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseDualStack": false } }, { @@ -317,8 +317,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -330,8 +330,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -343,8 +343,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseDualStack": true } }, { @@ -356,60 +356,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "Region": "af-south-1", + "UseDualStack": false } }, { @@ -421,8 +369,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": true } }, { @@ -434,8 +382,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": false } }, { @@ -447,8 +395,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": true } }, { @@ -460,8 +408,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseDualStack": false } }, { @@ -473,8 +421,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -486,8 +434,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -499,8 +447,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": true } }, { @@ -512,8 +460,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseDualStack": false } }, { @@ -525,8 +473,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": true } }, { @@ -538,8 +486,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": false } }, { @@ -551,8 +499,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": true } }, { @@ -564,8 +512,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseDualStack": false } }, { @@ -577,8 +525,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -590,8 +538,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -603,8 +551,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": true } }, { @@ -616,8 +564,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseDualStack": false } }, { @@ -629,8 +577,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -642,8 +590,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -655,8 +603,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseDualStack": true } }, { @@ -668,60 +616,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo-fips.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo-fips.me-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo.me-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://kinesisvideo.me-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" + "Region": "ap-northeast-1", + "UseDualStack": false } }, { @@ -733,8 +629,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": true } }, { @@ -746,8 +642,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": false } }, { @@ -759,8 +655,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": true } }, { @@ -772,8 +668,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseDualStack": false } }, { @@ -785,8 +681,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": true } }, { @@ -798,8 +694,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": false } }, { @@ -811,8 +707,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": true } }, { @@ -824,8 +720,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-east-1" + "Region": "ap-east-1", + "UseDualStack": false } }, { @@ -837,8 +733,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": true } }, { @@ -850,8 +746,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": false } }, { @@ -863,8 +759,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": true } }, { @@ -876,8 +772,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "Region": "cn-north-1", + "UseDualStack": false } }, { @@ -889,8 +785,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -902,8 +798,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -915,8 +811,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": true } }, { @@ -928,8 +824,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-west-1" + "Region": "us-gov-west-1", + "UseDualStack": false } }, { @@ -941,8 +837,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -954,8 +850,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -967,8 +863,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": true } }, { @@ -980,8 +876,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseDualStack": false } }, { @@ -993,8 +889,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -1006,8 +902,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -1019,8 +915,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": true } }, { @@ -1032,8 +928,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseDualStack": false } }, { @@ -1043,8 +939,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": true } }, { @@ -1056,8 +952,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": false } }, { @@ -1067,8 +963,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": true } }, { @@ -1080,8 +976,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "Region": "us-iso-east-1", + "UseDualStack": false } }, { @@ -1093,8 +989,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1106,8 +1002,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1119,8 +1015,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true } }, { @@ -1132,8 +1028,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": false } }, { @@ -1145,8 +1041,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": true } }, { @@ -1158,8 +1054,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": false } }, { @@ -1171,8 +1067,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": true } }, { @@ -1184,8 +1080,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseDualStack": false } }, { @@ -1195,8 +1091,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": true } }, { @@ -1208,8 +1104,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": false } }, { @@ -1219,8 +1115,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": true } }, { @@ -1232,8 +1128,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "Region": "us-isob-east-1", + "UseDualStack": false } }, { @@ -1245,8 +1141,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1257,8 +1153,8 @@ }, "params": { "UseFIPS": true, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1269,8 +1165,8 @@ }, "params": { "UseFIPS": false, - "UseDualStack": true, "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/kinesisvideo/2017-09-30/paginators-1.json b/models/apis/kinesisvideo/2017-09-30/paginators-1.json index a9b4dbb85a9..cda37b8f836 100644 --- a/models/apis/kinesisvideo/2017-09-30/paginators-1.json +++ b/models/apis/kinesisvideo/2017-09-30/paginators-1.json @@ -1,5 +1,11 @@ { "pagination": { + "DescribeMappedResourceConfiguration": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "MappedResourceConfigurationList" + }, "ListSignalingChannels": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/rds/2014-10-31/api-2.json b/models/apis/rds/2014-10-31/api-2.json index 7eca74f9f0a..b8980f4d08f 100644 --- a/models/apis/rds/2014-10-31/api-2.json +++ b/models/apis/rds/2014-10-31/api-2.json @@ -3309,7 +3309,8 @@ "MaxAllocatedStorage":{"shape":"IntegerOptional"}, "CustomIamInstanceProfile":{"shape":"String"}, "NetworkType":{"shape":"String"}, - "StorageThroughput":{"shape":"IntegerOptional"} + "StorageThroughput":{"shape":"IntegerOptional"}, + "EnableCustomerOwnedIp":{"shape":"BooleanOptional"} } }, "CreateDBInstanceReadReplicaResult":{ diff --git a/models/apis/rds/2014-10-31/docs-2.json b/models/apis/rds/2014-10-31/docs-2.json index 0c1e1a93a36..d6ee1759221 100644 --- a/models/apis/rds/2014-10-31/docs-2.json +++ b/models/apis/rds/2014-10-31/docs-2.json @@ -535,7 +535,7 @@ "CreateDBInstanceMessage$EnableIAMDatabaseAuthentication": "

A value that indicates whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

For more information, see IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.

This setting doesn't apply to RDS Custom.

Amazon Aurora

Not applicable. Mapping Amazon Web Services IAM accounts to database accounts is managed by the DB cluster.

", "CreateDBInstanceMessage$EnablePerformanceInsights": "

A value that indicates whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide.

This setting doesn't apply to RDS Custom.

", "CreateDBInstanceMessage$DeletionProtection": "

A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.

Amazon Aurora

Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see CreateDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.

", - "CreateDBInstanceMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", + "CreateDBInstanceMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "CreateDBInstanceReadReplicaMessage$MultiAZ": "

A value that indicates whether the read replica is in a Multi-AZ deployment.

You can create a read replica as a Multi-AZ DB instance. RDS creates a standby of your replica in another Availability Zone for failover support for the replica. Creating your read replica as a Multi-AZ DB instance is independent of whether the source database is a Multi-AZ DB instance.

This setting doesn't apply to RDS Custom.

", "CreateDBInstanceReadReplicaMessage$AutoMinorVersionUpgrade": "

A value that indicates whether minor engine upgrades are applied automatically to the read replica during the maintenance window.

This setting doesn't apply to RDS Custom.

Default: Inherits from the source DB instance

", "CreateDBInstanceReadReplicaMessage$PubliclyAccessible": "

A value that indicates whether the DB instance is publicly accessible.

When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

For more information, see CreateDBInstance.

", @@ -544,6 +544,7 @@ "CreateDBInstanceReadReplicaMessage$EnablePerformanceInsights": "

A value that indicates whether to enable Performance Insights for the read replica.

For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide.

This setting doesn't apply to RDS Custom.

", "CreateDBInstanceReadReplicaMessage$UseDefaultProcessorFeatures": "

A value that indicates whether the DB instance class of the DB instance uses its default processor features.

This setting doesn't apply to RDS Custom.

", "CreateDBInstanceReadReplicaMessage$DeletionProtection": "

A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.

", + "CreateDBInstanceReadReplicaMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts read replica.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the read replica from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "CreateEventSubscriptionMessage$Enabled": "

A value that indicates whether to activate the subscription. If the event notification subscription isn't activated, the subscription is created but not active.

", "CreateGlobalClusterMessage$DeletionProtection": "

The deletion protection setting for the new global database. The global database can't be deleted when deletion protection is enabled.

", "CreateGlobalClusterMessage$StorageEncrypted": "

The storage encryption setting for the new global database cluster.

", @@ -557,7 +558,7 @@ "DBCluster$PubliclyAccessible": "

Specifies the accessibility options for the DB instance.

When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB instance's VPC. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.

When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

For more information, see CreateDBInstance.

This setting is only for non-Aurora Multi-AZ DB clusters.

", "DBCluster$PerformanceInsightsEnabled": "

True if Performance Insights is enabled for the DB cluster, and otherwise false.

This setting is only for non-Aurora Multi-AZ DB clusters.

", "DBInstance$PerformanceInsightsEnabled": "

True if Performance Insights is enabled for the DB instance, and otherwise false.

", - "DBInstance$CustomerOwnedIpEnabled": "

Specifies whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", + "DBInstance$CustomerOwnedIpEnabled": "

Specifies whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "DBInstance$ActivityStreamEngineNativeAuditFieldsIncluded": "

Indicates whether engine-native audit fields are included in the database activity stream.

", "DeleteBlueGreenDeploymentRequest$DeleteTarget": "

A value that indicates whether to delete the resources in the green environment.

", "DeleteDBInstanceMessage$DeleteAutomatedBackups": "

A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted.

", @@ -587,7 +588,7 @@ "ModifyDBInstanceMessage$UseDefaultProcessorFeatures": "

A value that indicates whether the DB instance class of the DB instance uses its default processor features.

This setting doesn't apply to RDS Custom.

", "ModifyDBInstanceMessage$DeletionProtection": "

A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.

", "ModifyDBInstanceMessage$CertificateRotationRestart": "

A value that indicates whether the DB instance is restarted when you rotate your SSL/TLS certificate.

By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted.

Set this parameter only if you are not using SSL/TLS to connect to the DB instance.

If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate:

This setting doesn't apply to RDS Custom.

", - "ModifyDBInstanceMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", + "ModifyDBInstanceMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "ModifyDBProxyRequest$RequireTLS": "

Whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy, even if the associated database doesn't use TLS.

", "ModifyDBProxyRequest$DebugLogging": "

Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.

", "ModifyEventSubscriptionMessage$Enabled": "

A value that indicates whether to activate the subscription.

", @@ -619,7 +620,7 @@ "RestoreDBInstanceFromDBSnapshotMessage$EnableIAMDatabaseAuthentication": "

A value that indicates whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled.

For more information about IAM database authentication, see IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.

This setting doesn't apply to RDS Custom.

", "RestoreDBInstanceFromDBSnapshotMessage$UseDefaultProcessorFeatures": "

A value that indicates whether the DB instance class of the DB instance uses its default processor features.

This setting doesn't apply to RDS Custom.

", "RestoreDBInstanceFromDBSnapshotMessage$DeletionProtection": "

A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.

", - "RestoreDBInstanceFromDBSnapshotMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

This setting doesn't apply to RDS Custom.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", + "RestoreDBInstanceFromDBSnapshotMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

This setting doesn't apply to RDS Custom.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "RestoreDBInstanceFromS3Message$MultiAZ": "

A value that indicates whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ deployment, you can't set the AvailabilityZone parameter.

", "RestoreDBInstanceFromS3Message$AutoMinorVersionUpgrade": "

A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are not applied automatically.

", "RestoreDBInstanceFromS3Message$PubliclyAccessible": "

A value that indicates whether the DB instance is publicly accessible.

When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB instance's VPC. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.

When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

For more information, see CreateDBInstance.

", @@ -636,7 +637,7 @@ "RestoreDBInstanceToPointInTimeMessage$EnableIAMDatabaseAuthentication": "

A value that indicates whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

This setting doesn't apply to RDS Custom.

For more information about IAM database authentication, see IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS User Guide.

", "RestoreDBInstanceToPointInTimeMessage$UseDefaultProcessorFeatures": "

A value that indicates whether the DB instance class of the DB instance uses its default processor features.

This setting doesn't apply to RDS Custom.

", "RestoreDBInstanceToPointInTimeMessage$DeletionProtection": "

A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.

", - "RestoreDBInstanceToPointInTimeMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

This setting doesn't apply to RDS Custom.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", + "RestoreDBInstanceToPointInTimeMessage$EnableCustomerOwnedIp": "

A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

This setting doesn't apply to RDS Custom.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "ScalingConfiguration$AutoPause": "

A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections).

If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it.

", "ScalingConfigurationInfo$AutoPause": "

A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB engine mode.

When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.

", "StartActivityStreamRequest$ApplyImmediately": "

Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.

", @@ -4477,7 +4478,7 @@ "ModifyDBClusterSnapshotAttributeMessage$DBClusterSnapshotIdentifier": "

The identifier for the DB cluster snapshot to modify the attributes for.

", "ModifyDBClusterSnapshotAttributeMessage$AttributeName": "

The name of the DB cluster snapshot attribute to modify.

To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.

", "ModifyDBInstanceMessage$DBInstanceIdentifier": "

The DB instance identifier. This value is stored as a lowercase string.

Constraints:

", - "ModifyDBInstanceMessage$DBInstanceClass": "

The new compute and memory capacity of the DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.

If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is enabled for this request.

This setting doesn't apply to RDS Custom for Oracle.

Default: Uses existing setting

", + "ModifyDBInstanceMessage$DBInstanceClass": "

The new compute and memory capacity of the DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide. For RDS Custom, see DB instance class support for RDS Custom for Oracle and DB instance class support for RDS Custom for SQL Server.

If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless you specify ApplyImmediately in your request.

Default: Uses existing setting

", "ModifyDBInstanceMessage$DBSubnetGroupName": "

The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC. If your DB instance isn't in a VPC, you can also use this parameter to move your DB instance into a VPC. For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.

Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you enable ApplyImmediately.

This parameter doesn't apply to RDS Custom.

Constraints: If supplied, must match the name of an existing DBSubnetGroup.

Example: mydbsubnetgroup

", "ModifyDBInstanceMessage$MasterUserPassword": "

The new password for the master user. The password can include any printable ASCII character except \"/\", \"\"\", or \"@\".

Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the MasterUserPassword element exists in the PendingModifiedValues element of the operation response.

This setting doesn't apply to RDS Custom.

Amazon Aurora

Not applicable. The password for the master user is managed by the DB cluster. For more information, see ModifyDBCluster.

Default: Uses existing setting

MariaDB

Constraints: Must contain from 8 to 41 characters.

Microsoft SQL Server

Constraints: Must contain from 8 to 128 characters.

MySQL

Constraints: Must contain from 8 to 41 characters.

Oracle

Constraints: Must contain from 8 to 30 characters.

PostgreSQL

Constraints: Must contain from 8 to 128 characters.

Amazon RDS API operations never return the password, so this action provides a way to regain access to a primary instance user if the password is lost. This includes restoring privileges that might have been accidentally revoked.

", "ModifyDBInstanceMessage$DBParameterGroupName": "

The name of the DB parameter group to apply to the DB instance.

Changing this setting doesn't result in an outage. The parameter group name itself is changed immediately, but the actual parameter changes are not applied until you reboot the instance without failover. In this case, the DB instance isn't rebooted automatically, and the parameter changes aren't applied during the next maintenance window. However, if you modify dynamic parameters in the newly associated DB parameter group, these changes are applied immediately without a reboot.

This setting doesn't apply to RDS Custom.

Default: Uses existing setting

Constraints: The DB parameter group must be in the same DB parameter group family as the DB instance.

", diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index b477b819e44..4faf0e9e54a 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -1974,6 +1974,18 @@ "input":{"shape":"ListAlgorithmsInput"}, "output":{"shape":"ListAlgorithmsOutput"} }, + "ListAliases":{ + "name":"ListAliases", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListAliasesRequest"}, + "output":{"shape":"ListAliasesResponse"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, "ListAppImageConfigs":{ "name":"ListAppImageConfigs", "http":{ @@ -3115,6 +3127,19 @@ {"shape":"ResourceNotFound"} ] }, + "UpdateImageVersion":{ + "name":"UpdateImageVersion", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateImageVersionRequest"}, + "output":{"shape":"UpdateImageVersionResponse"}, + "errors":[ + {"shape":"ResourceInUse"}, + {"shape":"ResourceNotFound"} + ] + }, "UpdateInferenceExperiment":{ "name":"UpdateInferenceExperiment", "http":{ @@ -5904,7 +5929,15 @@ "shape":"ClientToken", "idempotencyToken":true }, - "ImageName":{"shape":"ImageName"} + "ImageName":{"shape":"ImageName"}, + "Aliases":{"shape":"SageMakerImageVersionAliases"}, + "VendorGuidance":{"shape":"VendorGuidance"}, + "JobType":{"shape":"JobType"}, + "MLFramework":{"shape":"MLFramework"}, + "ProgrammingLang":{"shape":"ProgrammingLang"}, + "Processor":{"shape":"Processor"}, + "Horovod":{"shape":"Horovod"}, + "ReleaseNotes":{"shape":"ReleaseNotes"} } }, "CreateImageVersionResponse":{ @@ -7076,13 +7109,11 @@ }, "DeleteImageVersionRequest":{ "type":"structure", - "required":[ - "ImageName", - "Version" - ], + "required":["ImageName"], "members":{ "ImageName":{"shape":"ImageName"}, - "Version":{"shape":"ImageVersionNumber"} + "Version":{"shape":"ImageVersionNumber"}, + "Alias":{"shape":"SageMakerImageVersionAlias"} } }, "DeleteImageVersionResponse":{ @@ -8184,7 +8215,8 @@ "required":["ImageName"], "members":{ "ImageName":{"shape":"ImageName"}, - "Version":{"shape":"ImageVersionNumber"} + "Version":{"shape":"ImageVersionNumber"}, + "Alias":{"shape":"SageMakerImageVersionAlias"} } }, "DescribeImageVersionResponse":{ @@ -8198,7 +8230,14 @@ "ImageVersionArn":{"shape":"ImageVersionArn"}, "ImageVersionStatus":{"shape":"ImageVersionStatus"}, "LastModifiedTime":{"shape":"Timestamp"}, - "Version":{"shape":"ImageVersionNumber"} + "Version":{"shape":"ImageVersionNumber"}, + "VendorGuidance":{"shape":"VendorGuidance"}, + "JobType":{"shape":"JobType"}, + "MLFramework":{"shape":"MLFramework"}, + "ProgrammingLang":{"shape":"ProgrammingLang"}, + "Processor":{"shape":"Processor"}, + "Horovod":{"shape":"Horovod"}, + "ReleaseNotes":{"shape":"ReleaseNotes"} } }, "DescribeInferenceExperimentRequest":{ @@ -10595,6 +10634,7 @@ "max":20, "min":0 }, + "Horovod":{"type":"boolean"}, "HubArn":{ "type":"string", "max":255, @@ -11849,6 +11889,14 @@ "min":1, "pattern":".+" }, + "JobType":{ + "type":"string", + "enum":[ + "TRAINING", + "INFERENCE", + "NOTEBOOK_KERNEL" + ] + }, "JoinSource":{ "type":"string", "enum":[ @@ -12229,6 +12277,24 @@ "NextToken":{"shape":"NextToken"} } }, + "ListAliasesRequest":{ + "type":"structure", + "required":["ImageName"], + "members":{ + "ImageName":{"shape":"ImageName"}, + "Alias":{"shape":"SageMakerImageVersionAlias"}, + "Version":{"shape":"ImageVersionNumber"}, + "MaxResults":{"shape":"MaxResults"}, + "NextToken":{"shape":"NextToken"} + } + }, + "ListAliasesResponse":{ + "type":"structure", + "members":{ + "SageMakerImageVersionAliases":{"shape":"SageMakerImageVersionAliases"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListAppImageConfigsRequest":{ "type":"structure", "members":{ @@ -13780,6 +13846,12 @@ ] }, "Long":{"type":"long"}, + "MLFramework":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^[a-zA-Z]+ ?\\d+\\.\\d+(\\.\\d+)?$" + }, "MaxAutoMLJobRuntimeInSeconds":{ "type":"integer", "min":1 @@ -16373,6 +16445,13 @@ "max":16384, "min":1 }, + "Processor":{ + "type":"string", + "enum":[ + "CPU", + "GPU" + ] + }, "ProductId":{ "type":"string", "max":256, @@ -16704,6 +16783,12 @@ "Disabled" ] }, + "ProgrammingLang":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^[a-zA-Z]+ ?\\d+\\.\\d+(\\.\\d+)?$" + }, "Project":{ "type":"structure", "members":{ @@ -17259,6 +17344,12 @@ "Arn":{"shape":"String256"} } }, + "ReleaseNotes":{ + "type":"string", + "max":255, + "min":1, + "pattern":".*" + }, "RenderUiTemplateRequest":{ "type":"structure", "required":[ @@ -17574,6 +17665,16 @@ "max":1024, "pattern":"^(https|s3)://([^/]+)/?(.*)$" }, + "SageMakerImageVersionAlias":{ + "type":"string", + "max":128, + "min":1, + "pattern":"(?!^[.-])^([a-zA-Z0-9-_.]+)$" + }, + "SageMakerImageVersionAliases":{ + "type":"list", + "member":{"shape":"SageMakerImageVersionAlias"} + }, "SagemakerServicecatalogStatus":{ "type":"string", "enum":[ @@ -19658,6 +19759,30 @@ "ImageArn":{"shape":"ImageArn"} } }, + "UpdateImageVersionRequest":{ + "type":"structure", + "required":["ImageName"], + "members":{ + "ImageName":{"shape":"ImageName"}, + "Alias":{"shape":"SageMakerImageVersionAlias"}, + "Version":{"shape":"ImageVersionNumber"}, + "AliasesToAdd":{"shape":"SageMakerImageVersionAliases"}, + "AliasesToDelete":{"shape":"SageMakerImageVersionAliases"}, + "VendorGuidance":{"shape":"VendorGuidance"}, + "JobType":{"shape":"JobType"}, + "MLFramework":{"shape":"MLFramework"}, + "ProgrammingLang":{"shape":"ProgrammingLang"}, + "Processor":{"shape":"Processor"}, + "Horovod":{"shape":"Horovod"}, + "ReleaseNotes":{"shape":"ReleaseNotes"} + } + }, + "UpdateImageVersionResponse":{ + "type":"structure", + "members":{ + "ImageVersionArn":{"shape":"ImageVersionArn"} + } + }, "UpdateInferenceExperimentRequest":{ "type":"structure", "required":["Name"], @@ -20087,6 +20212,15 @@ "type":"float", "min":0 }, + "VendorGuidance":{ + "type":"string", + "enum":[ + "NOT_PROVIDED", + "STABLE", + "TO_BE_ARCHIVED", + "ARCHIVED" + ] + }, "VersionId":{ "type":"string", "max":1024, diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 17d70ac51a2..a449b4bdba7 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -173,6 +173,7 @@ "ImportHubContent": "

Import hub content.

", "ListActions": "

Lists the actions in your account and their properties.

", "ListAlgorithms": "

Lists the machine learning algorithms that have been created.

", + "ListAliases": "

Lists the aliases of a specified image or image version.

", "ListAppImageConfigs": "

Lists the AppImageConfigs in your account and their properties. The list can be filtered by creation time or modified time, and whether the AppImageConfig name contains a specified string.

", "ListApps": "

Lists apps.

", "ListArtifacts": "

Lists the artifacts in your account and their properties.

", @@ -283,6 +284,7 @@ "UpdateFeatureMetadata": "

Updates the description and parameters of the feature group.

", "UpdateHub": "

Update a hub.

", "UpdateImage": "

Updates the properties of a SageMaker image. To change the image's tags, use the AddTags and DeleteTags APIs.

", + "UpdateImageVersion": "

Updates the properties of a SageMaker image version.

", "UpdateInferenceExperiment": "

Updates an inference experiment that you created. The status of the inference experiment has to be either Created, Running. For more information on the status of an inference experiment, see DescribeInferenceExperimentResponse$Status.

", "UpdateModelCard": "

Update an Amazon SageMaker Model Card.

You cannot update both model card content and model card status in a single call.

", "UpdateModelPackage": "

Updates a versioned model.

", @@ -5474,6 +5476,14 @@ "DebugHookConfig$HookParameters": "

Configuration information for the Amazon SageMaker Debugger hook parameters.

" } }, + "Horovod": { + "base": null, + "refs": { + "CreateImageVersionRequest$Horovod": "

Indicates Horovod compatibility.

", + "DescribeImageVersionResponse$Horovod": "

Indicates Horovod compatibility.

", + "UpdateImageVersionRequest$Horovod": "

Indicates Horovod compatibility.

" + } + }, "HubArn": { "base": null, "refs": { @@ -6033,13 +6043,13 @@ "ImageArn": { "base": null, "refs": { - "CreateImageResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image.

", - "DescribeImageResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image.

", - "DescribeImageVersionResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image the version is based on.

", - "Image$ImageArn": "

The Amazon Resource Name (ARN) of the image.

", - "ImageVersion$ImageArn": "

The Amazon Resource Name (ARN) of the image the version is based on.

", + "CreateImageResponse$ImageArn": "

The ARN of the image.

", + "DescribeImageResponse$ImageArn": "

The ARN of the image.

", + "DescribeImageVersionResponse$ImageArn": "

The ARN of the image the version is based on.

", + "Image$ImageArn": "

The ARN of the image.

", + "ImageVersion$ImageArn": "

The ARN of the image the version is based on.

", "ResourceSpec$SageMakerImageArn": "

The ARN of the SageMaker image that the image version belongs to.

", - "UpdateImageResponse$ImageArn": "

The Amazon Resource Name (ARN) of the image.

" + "UpdateImageResponse$ImageArn": "

The ARN of the image.

" } }, "ImageBaseImage": { @@ -6105,13 +6115,15 @@ "CreateImageVersionRequest$ImageName": "

The ImageName of the Image to create a version of.

", "CustomImage$ImageName": "

The name of the CustomImage. Must be unique to your account.

", "DeleteImageRequest$ImageName": "

The name of the image to delete.

", - "DeleteImageVersionRequest$ImageName": "

The name of the image.

", + "DeleteImageVersionRequest$ImageName": "

The name of the image to delete.

", "DescribeImageRequest$ImageName": "

The name of the image to describe.

", "DescribeImageResponse$ImageName": "

The name of the image.

", "DescribeImageVersionRequest$ImageName": "

The name of the image.

", "Image$ImageName": "

The name of the image.

", + "ListAliasesRequest$ImageName": "

The name of the image.

", "ListImageVersionsRequest$ImageName": "

The name of the image to list the versions of.

", - "UpdateImageRequest$ImageName": "

The name of the image to update.

" + "UpdateImageRequest$ImageName": "

The name of the image to update.

", + "UpdateImageVersionRequest$ImageName": "

The name of the image.

" } }, "ImageNameContains": { @@ -6159,10 +6171,11 @@ "ImageVersionArn": { "base": null, "refs": { - "CreateImageVersionResponse$ImageVersionArn": "

The Amazon Resource Name (ARN) of the image version.

", + "CreateImageVersionResponse$ImageVersionArn": "

The ARN of the image version.

", "DescribeImageVersionResponse$ImageVersionArn": "

The ARN of the version.

", "ImageVersion$ImageVersionArn": "

The ARN of the version.

", - "ResourceSpec$SageMakerImageVersionArn": "

The ARN of the image version created on the instance.

" + "ResourceSpec$SageMakerImageVersionArn": "

The ARN of the image version created on the instance.

", + "UpdateImageVersionResponse$ImageVersionArn": "

The ARN of the image version.

" } }, "ImageVersionNumber": { @@ -6172,7 +6185,9 @@ "DeleteImageVersionRequest$Version": "

The version to delete.

", "DescribeImageVersionRequest$Version": "

The version of the image. If not specified, the latest version is described.

", "DescribeImageVersionResponse$Version": "

The version number.

", - "ImageVersion$Version": "

The version number.

" + "ImageVersion$Version": "

The version number.

", + "ListAliasesRequest$Version": "

The version of the image. If image version is not specified, the aliases of all versions of the image are listed.

", + "UpdateImageVersionRequest$Version": "

The version of the image.

" } }, "ImageVersionSortBy": { @@ -6566,6 +6581,14 @@ "ListLabelingJobsForWorkteamRequest$JobReferenceCodeContains": "

A filter the limits jobs to only the ones whose job reference code contains the specified string.

" } }, + "JobType": { + "base": null, + "refs": { + "CreateImageVersionRequest$JobType": "

Indicates SageMaker job type compatibility.

", + "DescribeImageVersionResponse$JobType": "

Indicates SageMaker job type compatibility.

", + "UpdateImageVersionRequest$JobType": "

Indicates SageMaker job type compatibility.

" + } + }, "JoinSource": { "base": null, "refs": { @@ -7000,6 +7023,16 @@ "refs": { } }, + "ListAliasesRequest": { + "base": null, + "refs": { + } + }, + "ListAliasesResponse": { + "base": null, + "refs": { + } + }, "ListAppImageConfigsRequest": { "base": null, "refs": { @@ -7772,6 +7805,14 @@ "EdgeModelStat$SamplingDeviceCount": "

The number of devices with this model version and are producing sample data.

" } }, + "MLFramework": { + "base": null, + "refs": { + "CreateImageVersionRequest$MLFramework": "

The machine learning framework vended in the image version.

", + "DescribeImageVersionResponse$MLFramework": "

The machine learning framework vended in the image version.

", + "UpdateImageVersionRequest$MLFramework": "

The machine learning framework vended in the image version.

" + } + }, "MaxAutoMLJobRuntimeInSeconds": { "base": null, "refs": { @@ -7861,6 +7902,7 @@ "refs": { "ListActionsRequest$MaxResults": "

The maximum number of actions to return in the response. The default value is 10.

", "ListAlgorithmsInput$MaxResults": "

The maximum number of algorithms to return in the response.

", + "ListAliasesRequest$MaxResults": "

The maximum number of aliases to return.

", "ListAppImageConfigsRequest$MaxResults": "

The maximum number of AppImageConfigs to return in the response. The default value is 10.

", "ListAppsRequest$MaxResults": "

Returns a list up to a specified limit.

", "ListArtifactsRequest$MaxResults": "

The maximum number of artifacts to return in the response. The default value is 10.

", @@ -9351,6 +9393,8 @@ "ListActionsResponse$NextToken": "

A token for getting the next set of actions, if there are any.

", "ListAlgorithmsInput$NextToken": "

If the response to a previous ListAlgorithms request was truncated, the response includes a NextToken. To retrieve the next set of algorithms, use the token in the next request.

", "ListAlgorithmsOutput$NextToken": "

If the response is truncated, SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.

", + "ListAliasesRequest$NextToken": "

If the previous call to ListAliases didn't return the full set of aliases, the call returns a token for retrieving the next set of aliases.

", + "ListAliasesResponse$NextToken": "

A token for getting the next set of aliases, if more aliases exist.

", "ListAppImageConfigsRequest$NextToken": "

If the previous call to ListImages didn't return the full set of AppImageConfigs, the call returns a token for getting the next set of AppImageConfigs.

", "ListAppImageConfigsResponse$NextToken": "

A token for getting the next set of AppImageConfigs, if there are any.

", "ListAppsRequest$NextToken": "

If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.

", @@ -10468,6 +10512,14 @@ "ProcessingClusterConfig$VolumeSizeInGB": "

The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML storage for your scenario.

Certain Nitro-based instances include local storage with a fixed total size, dependent on the instance type. When using these instances for processing, Amazon SageMaker mounts the local instance storage instead of Amazon EBS gp2 storage. You can't request a VolumeSizeInGB greater than the total size of the local instance storage.

For a list of instance types that support local instance storage, including the total size per instance type, see Instance Store Volumes.

" } }, + "Processor": { + "base": null, + "refs": { + "CreateImageVersionRequest$Processor": "

Indicates CPU or GPU compatibility.

", + "DescribeImageVersionResponse$Processor": "

Indicates CPU or GPU compatibility.

", + "UpdateImageVersionRequest$Processor": "

Indicates CPU or GPU compatibility.

" + } + }, "ProductId": { "base": null, "refs": { @@ -10634,6 +10686,14 @@ "DescribeTrainingJobResponse$ProfilingStatus": "

Profiling status of a training job.

" } }, + "ProgrammingLang": { + "base": null, + "refs": { + "CreateImageVersionRequest$ProgrammingLang": "

The supported programming language and its version.

", + "DescribeImageVersionResponse$ProgrammingLang": "

The supported programming language and its version.

", + "UpdateImageVersionRequest$ProgrammingLang": "

The supported programming language and its version.

" + } + }, "Project": { "base": "

The properties of a project as returned by the Search API.

", "refs": { @@ -11106,6 +11166,14 @@ "PipelineExecutionStepMetadata$RegisterModel": "

The Amazon Resource Name (ARN) of the model package that the model was registered to by this step execution.

" } }, + "ReleaseNotes": { + "base": null, + "refs": { + "CreateImageVersionRequest$ReleaseNotes": "

The maintainer description of the image version.

", + "DescribeImageVersionResponse$ReleaseNotes": "

The maintainer description of the image version.

", + "UpdateImageVersionRequest$ReleaseNotes": "

The maintainer description of the image version.

" + } + }, "RenderUiTemplateRequest": { "base": null, "refs": { @@ -11312,7 +11380,7 @@ "CreateEdgePackagingJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.

", "CreateFeatureGroupRequest$RoleArn": "

The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.

", "CreateFlowDefinitionRequest$RoleArn": "

The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.

", - "CreateImageRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", + "CreateImageRequest$RoleArn": "

The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "CreateInferenceExperimentRequest$RoleArn": "

The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.

", "CreateInferenceRecommendationsJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "CreateLabelingJobRequest$RoleArn": "

The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling.

", @@ -11332,7 +11400,7 @@ "DescribeEdgePackagingJobResponse$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact Neo.

", "DescribeFeatureGroupResponse$RoleArn": "

The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.

", "DescribeFlowDefinitionResponse$RoleArn": "

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.

", - "DescribeImageResponse$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", + "DescribeImageResponse$RoleArn": "

The ARN of the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "DescribeInferenceExperimentResponse$RoleArn": "

The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.

", "DescribeInferenceRecommendationsJobResponse$RoleArn": "

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role you provided when you initiated the job.

", "DescribeLabelingJobResponse$RoleArn": "

The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on your behalf during data labeling.

", @@ -11361,7 +11429,7 @@ "TimeSeriesForecastingSettings$AmazonForecastRoleArn": "

The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas uses the execution role specified in the UserProfile that launches the Canvas app. If an execution role is not specified in the UserProfile, Canvas uses the execution role specified in the Domain that owns the UserProfile. To allow time series forecasting, this IAM role should have the AmazonSageMakerCanvasForecastAccess policy attached and forecast.amazonaws.com added in the trust relationship as a service principal.

", "TrainingJob$RoleArn": "

The Amazon Web Services Identity and Access Management (IAM) role configured for the training job.

", "UpdateDeviceFleetRequest$RoleArn": "

The Amazon Resource Name (ARN) of the device.

", - "UpdateImageRequest$RoleArn": "

The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", + "UpdateImageRequest$RoleArn": "

The new ARN for the IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "UpdateNotebookInstanceInput$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access the notebook instance. For more information, see SageMaker Roles.

To be able to pass this role to SageMaker, the caller of this API must have the iam:PassRole permission.

", "UpdatePipelineRequest$RoleArn": "

The Amazon Resource Name (ARN) that the pipeline uses to execute.

", "UserSettings$ExecutionRole": "

The execution role for the user.

" @@ -11484,6 +11552,25 @@ "UiConfig$UiTemplateS3Uri": "

The Amazon S3 bucket location of the UI template, or worker task template. This is the template used to render the worker UI and tools for labeling job tasks. For more information about the contents of a UI template, see Creating Your Custom Labeling Task Template.

" } }, + "SageMakerImageVersionAlias": { + "base": null, + "refs": { + "DeleteImageVersionRequest$Alias": "

The alias of the image to delete.

", + "DescribeImageVersionRequest$Alias": "

The alias of the image version.

", + "ListAliasesRequest$Alias": "

The alias of the image version.

", + "SageMakerImageVersionAliases$member": null, + "UpdateImageVersionRequest$Alias": "

The alias of the image version.

" + } + }, + "SageMakerImageVersionAliases": { + "base": null, + "refs": { + "CreateImageVersionRequest$Aliases": "

A list of aliases created with the image version.

", + "ListAliasesResponse$SageMakerImageVersionAliases": "

A list of SageMaker image version aliases.

", + "UpdateImageVersionRequest$AliasesToAdd": "

A list of aliases to add.

", + "UpdateImageVersionRequest$AliasesToDelete": "

A list of aliases to delete.

" + } + }, "SagemakerServicecatalogStatus": { "base": null, "refs": { @@ -13837,6 +13924,16 @@ "refs": { } }, + "UpdateImageVersionRequest": { + "base": null, + "refs": { + } + }, + "UpdateImageVersionResponse": { + "base": null, + "refs": { + } + }, "UpdateInferenceExperimentRequest": { "base": null, "refs": { @@ -14189,6 +14286,14 @@ "ProductionVariantSummary$DesiredWeight": "

The requested weight, as specified in the UpdateEndpointWeightsAndCapacities request.

" } }, + "VendorGuidance": { + "base": null, + "refs": { + "CreateImageVersionRequest$VendorGuidance": "

The stability of the image version, specified by the maintainer.

", + "DescribeImageVersionResponse$VendorGuidance": "

The stability of the image version specified by the maintainer.

", + "UpdateImageVersionRequest$VendorGuidance": "

The availability of the image version specified by the maintainer.

" + } + }, "VersionId": { "base": null, "refs": { diff --git a/models/apis/sagemaker/2017-07-24/paginators-1.json b/models/apis/sagemaker/2017-07-24/paginators-1.json index 45f00ceffa1..ba5ee3d0da5 100644 --- a/models/apis/sagemaker/2017-07-24/paginators-1.json +++ b/models/apis/sagemaker/2017-07-24/paginators-1.json @@ -12,6 +12,12 @@ "limit_key": "MaxResults", "result_key": "AlgorithmSummaryList" }, + "ListAliases": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "SageMakerImageVersionAliases" + }, "ListAppImageConfigs": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 9a2fa76a7be..4b8aadf34c9 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -10229,6 +10229,12 @@ }, "oidc" : { "endpoints" : { + "af-south-1" : { + "credentialScope" : { + "region" : "af-south-1" + }, + "hostname" : "oidc.af-south-1.amazonaws.com" + }, "ap-east-1" : { "credentialScope" : { "region" : "ap-east-1" @@ -10271,6 +10277,12 @@ }, "hostname" : "oidc.ap-southeast-2.amazonaws.com" }, + "ap-southeast-3" : { + "credentialScope" : { + "region" : "ap-southeast-3" + }, + "hostname" : "oidc.ap-southeast-3.amazonaws.com" + }, "ca-central-1" : { "credentialScope" : { "region" : "ca-central-1" @@ -10337,6 +10349,12 @@ }, "hostname" : "oidc.us-east-2.amazonaws.com" }, + "us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "hostname" : "oidc.us-west-1.amazonaws.com" + }, "us-west-2" : { "credentialScope" : { "region" : "us-west-2" @@ -21326,6 +21344,11 @@ "us-iso-west-1" : { } } }, + "glue" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, "health" : { "endpoints" : { "us-iso-east-1" : { } diff --git a/service/athena/api.go b/service/athena/api.go index 8514c00e2ee..5d1e14cff39 100644 --- a/service/athena/api.go +++ b/service/athena/api.go @@ -1479,6 +1479,10 @@ func (c *Athena) GetCalculationExecutionCodeRequest(input *GetCalculationExecuti // Indicates a platform issue, which may be due to a transient condition or // outage. // +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// // - ResourceNotFoundException // A resource, such as a workgroup, was not found. // @@ -2314,9 +2318,11 @@ func (c *Athena) GetQueryRuntimeStatisticsRequest(input *GetQueryRuntimeStatisti // GetQueryRuntimeStatistics API operation for Amazon Athena. // // Returns query execution runtime statistics related to a single execution -// of a query if you have access to the workgroup in which the query ran. The -// query execution runtime statistics is returned only when QueryExecutionStatus$State -// is in a SUCCEEDED or FAILED state. +// of a query if you have access to the workgroup in which the query ran. Query +// execution runtime statistics are returned only when QueryExecutionStatus$State +// is in a SUCCEEDED or FAILED state. Stage-level input and output row count +// and data size statistics are not shown when a query has row-level filters +// defined in Lake Formation. // // 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 @@ -5194,6 +5200,10 @@ func (c *Athena) StopCalculationExecutionRequest(input *StopCalculationExecution // Indicates a platform issue, which may be due to a transient condition or // outage. // +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// // - ResourceNotFoundException // A resource, such as a workgroup, was not found. // @@ -15976,13 +15986,17 @@ type UpdateNotebookInput struct { NotebookId *string `min:"1" type:"string" required:"true"` // The updated content for the notebook. - Payload *string `min:"1" type:"string"` + // + // Payload is a required field + Payload *string `min:"1" type:"string" required:"true"` // The ID of the session in which the notebook will be updated. SessionId *string `min:"1" type:"string"` // The notebook content type. Currently, the only valid type is IPYNB. - Type *string `type:"string" enum:"NotebookType"` + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"NotebookType"` } // String returns the string representation. @@ -16015,12 +16029,18 @@ func (s *UpdateNotebookInput) Validate() error { if s.NotebookId != nil && len(*s.NotebookId) < 1 { invalidParams.Add(request.NewErrParamMinLen("NotebookId", 1)) } + if s.Payload == nil { + invalidParams.Add(request.NewErrParamRequired("Payload")) + } if s.Payload != nil && len(*s.Payload) < 1 { invalidParams.Add(request.NewErrParamMinLen("Payload", 1)) } if s.SessionId != nil && len(*s.SessionId) < 1 { invalidParams.Add(request.NewErrParamMinLen("SessionId", 1)) } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } if invalidParams.Len() > 0 { return invalidParams diff --git a/service/ecs/api.go b/service/ecs/api.go index 8ccdb830fc4..7dd17a77464 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -11781,6 +11781,96 @@ func (s *Deployment) SetUpdatedAt(v time.Time) *Deployment { return s } +// One of the methods which provide a way for you to quickly identify when a +// deployment has failed, and then to optionally roll back the failure to the +// last working deployment. +// +// When the alarms are generated, Amazon ECS sets the service deployment to +// failed. Set the rollback parameter to have Amazon ECS to roll back your service +// to the last completed deployment after a failure. +// +// You can only use the DeploymentAlarms method to detect failures when the +// DeploymentController is set to ECS (rolling update). +// +// For more information, see Rolling update (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) +// in the Amazon Elastic Container Service Developer Guide . +type DeploymentAlarms struct { + _ struct{} `type:"structure"` + + // One or more CloudWatch alarm names. Use a "," to separate the alarms. + // + // AlarmNames is a required field + AlarmNames []*string `locationName:"alarmNames" type:"list" required:"true"` + + // Determines whether to use the CloudWatch alarm option in the service deployment + // process. + // + // Enable is a required field + Enable *bool `locationName:"enable" type:"boolean" required:"true"` + + // Determines whether to configure Amazon ECS to roll back the service if a + // service deployment fails. If rollback is used, when a service deployment + // fails, the service is rolled back to the last deployment that completed successfully. + // + // Rollback is a required field + Rollback *bool `locationName:"rollback" 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 DeploymentAlarms) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeploymentAlarms) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeploymentAlarms) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeploymentAlarms"} + if s.AlarmNames == nil { + invalidParams.Add(request.NewErrParamRequired("AlarmNames")) + } + if s.Enable == nil { + invalidParams.Add(request.NewErrParamRequired("Enable")) + } + if s.Rollback == nil { + invalidParams.Add(request.NewErrParamRequired("Rollback")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAlarmNames sets the AlarmNames field's value. +func (s *DeploymentAlarms) SetAlarmNames(v []*string) *DeploymentAlarms { + s.AlarmNames = v + return s +} + +// SetEnable sets the Enable field's value. +func (s *DeploymentAlarms) SetEnable(v bool) *DeploymentAlarms { + s.Enable = &v + return s +} + +// SetRollback sets the Rollback field's value. +func (s *DeploymentAlarms) SetRollback(v bool) *DeploymentAlarms { + s.Rollback = &v + return s +} + // The deployment circuit breaker can only be used for services using the rolling // update (ECS) deployment type that aren't behind a Classic Load Balancer. // @@ -11799,8 +11889,8 @@ type DeploymentCircuitBreaker struct { Enable *bool `locationName:"enable" type:"boolean" required:"true"` // Determines whether to configure Amazon ECS to roll back the service if a - // service deployment fails. If rollback is enabled, when a service deployment - // fails, the service is rolled back to the last deployment that completed successfully. + // service deployment fails. If rollback is on, when a service deployment fails, + // the service is rolled back to the last deployment that completed successfully. // // Rollback is a required field Rollback *bool `locationName:"rollback" type:"boolean" required:"true"` @@ -11857,6 +11947,9 @@ func (s *DeploymentCircuitBreaker) SetRollback(v bool) *DeploymentCircuitBreaker type DeploymentConfiguration struct { _ struct{} `type:"structure"` + // Information about the CloudWatch alarms. + Alarms *DeploymentAlarms `locationName:"alarms" type:"structure"` + // // The deployment circuit breaker can only be used for services using the rolling // update (ECS) deployment type. @@ -11957,6 +12050,11 @@ func (s DeploymentConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DeploymentConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeploymentConfiguration"} + if s.Alarms != nil { + if err := s.Alarms.Validate(); err != nil { + invalidParams.AddNested("Alarms", err.(request.ErrInvalidParams)) + } + } if s.DeploymentCircuitBreaker != nil { if err := s.DeploymentCircuitBreaker.Validate(); err != nil { invalidParams.AddNested("DeploymentCircuitBreaker", err.(request.ErrInvalidParams)) @@ -11969,6 +12067,12 @@ func (s *DeploymentConfiguration) Validate() error { return nil } +// SetAlarms sets the Alarms field's value. +func (s *DeploymentConfiguration) SetAlarms(v *DeploymentAlarms) *DeploymentConfiguration { + s.Alarms = v + return s +} + // SetDeploymentCircuitBreaker sets the DeploymentCircuitBreaker field's value. func (s *DeploymentConfiguration) SetDeploymentCircuitBreaker(v *DeploymentCircuitBreaker) *DeploymentConfiguration { s.DeploymentCircuitBreaker = v diff --git a/service/kinesisvideo/api.go b/service/kinesisvideo/api.go index 25cdb922b2a..9b5f619db7c 100644 --- a/service/kinesisvideo/api.go +++ b/service/kinesisvideo/api.go @@ -81,13 +81,18 @@ func (c *KinesisVideo) CreateSignalingChannelRequest(input *CreateSignalingChann // Amazon Web Services account in this region. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - AccessDeniedException // You do not have required permissions to perform this operation. @@ -189,13 +194,18 @@ func (c *KinesisVideo) CreateStreamRequest(input *CreateStreamInput) (req *reque // Not implemented. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - InvalidDeviceException // Not implemented. @@ -309,13 +319,18 @@ func (c *KinesisVideo) DeleteSignalingChannelRequest(input *DeleteSignalingChann // API. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteSignalingChannel func (c *KinesisVideo) DeleteSignalingChannel(input *DeleteSignalingChannelInput) (*DeleteSignalingChannelOutput, error) { @@ -424,13 +439,18 @@ func (c *KinesisVideo) DeleteStreamRequest(input *DeleteStreamInput) (req *reque // API. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStream func (c *KinesisVideo) DeleteStream(input *DeleteStreamInput) (*DeleteStreamOutput, error) { @@ -638,6 +658,246 @@ func (c *KinesisVideo) DescribeImageGenerationConfigurationWithContext(ctx aws.C return out, req.Send() } +const opDescribeMappedResourceConfiguration = "DescribeMappedResourceConfiguration" + +// DescribeMappedResourceConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeMappedResourceConfiguration 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 DescribeMappedResourceConfiguration for more information on using the DescribeMappedResourceConfiguration +// 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 DescribeMappedResourceConfigurationRequest method. +// req, resp := client.DescribeMappedResourceConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMappedResourceConfiguration +func (c *KinesisVideo) DescribeMappedResourceConfigurationRequest(input *DescribeMappedResourceConfigurationInput) (req *request.Request, output *DescribeMappedResourceConfigurationOutput) { + op := &request.Operation{ + Name: opDescribeMappedResourceConfiguration, + HTTPMethod: "POST", + HTTPPath: "/describeMappedResourceConfiguration", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeMappedResourceConfigurationInput{} + } + + output = &DescribeMappedResourceConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeMappedResourceConfiguration API operation for Amazon Kinesis Video Streams. +// +// Returns the most current information about the stream. Either streamName +// or streamARN should be provided in the input. +// +// Returns the most current information about the stream. The streamName or +// streamARN should be provided in the input. +// +// 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 Kinesis Video Streams's +// API operation DescribeMappedResourceConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - AccessDeniedException +// You do not have required permissions to perform this operation. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMappedResourceConfiguration +func (c *KinesisVideo) DescribeMappedResourceConfiguration(input *DescribeMappedResourceConfigurationInput) (*DescribeMappedResourceConfigurationOutput, error) { + req, out := c.DescribeMappedResourceConfigurationRequest(input) + return out, req.Send() +} + +// DescribeMappedResourceConfigurationWithContext is the same as DescribeMappedResourceConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeMappedResourceConfiguration 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 *KinesisVideo) DescribeMappedResourceConfigurationWithContext(ctx aws.Context, input *DescribeMappedResourceConfigurationInput, opts ...request.Option) (*DescribeMappedResourceConfigurationOutput, error) { + req, out := c.DescribeMappedResourceConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeMappedResourceConfigurationPages iterates over the pages of a DescribeMappedResourceConfiguration operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeMappedResourceConfiguration 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 DescribeMappedResourceConfiguration operation. +// pageNum := 0 +// err := client.DescribeMappedResourceConfigurationPages(params, +// func(page *kinesisvideo.DescribeMappedResourceConfigurationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *KinesisVideo) DescribeMappedResourceConfigurationPages(input *DescribeMappedResourceConfigurationInput, fn func(*DescribeMappedResourceConfigurationOutput, bool) bool) error { + return c.DescribeMappedResourceConfigurationPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeMappedResourceConfigurationPagesWithContext same as DescribeMappedResourceConfigurationPages 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 *KinesisVideo) DescribeMappedResourceConfigurationPagesWithContext(ctx aws.Context, input *DescribeMappedResourceConfigurationInput, fn func(*DescribeMappedResourceConfigurationOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeMappedResourceConfigurationInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeMappedResourceConfigurationRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeMappedResourceConfigurationOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeMediaStorageConfiguration = "DescribeMediaStorageConfiguration" + +// DescribeMediaStorageConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeMediaStorageConfiguration 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 DescribeMediaStorageConfiguration for more information on using the DescribeMediaStorageConfiguration +// 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 DescribeMediaStorageConfigurationRequest method. +// req, resp := client.DescribeMediaStorageConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMediaStorageConfiguration +func (c *KinesisVideo) DescribeMediaStorageConfigurationRequest(input *DescribeMediaStorageConfigurationInput) (req *request.Request, output *DescribeMediaStorageConfigurationOutput) { + op := &request.Operation{ + Name: opDescribeMediaStorageConfiguration, + HTTPMethod: "POST", + HTTPPath: "/describeMediaStorageConfiguration", + } + + if input == nil { + input = &DescribeMediaStorageConfigurationInput{} + } + + output = &DescribeMediaStorageConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeMediaStorageConfiguration API operation for Amazon Kinesis Video Streams. +// +// Returns the most current information about the channel. Specify the ChannelName +// or ChannelARN in the input. +// +// 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 Kinesis Video Streams's +// API operation DescribeMediaStorageConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - AccessDeniedException +// You do not have required permissions to perform this operation. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeMediaStorageConfiguration +func (c *KinesisVideo) DescribeMediaStorageConfiguration(input *DescribeMediaStorageConfigurationInput) (*DescribeMediaStorageConfigurationOutput, error) { + req, out := c.DescribeMediaStorageConfigurationRequest(input) + return out, req.Send() +} + +// DescribeMediaStorageConfigurationWithContext is the same as DescribeMediaStorageConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeMediaStorageConfiguration 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 *KinesisVideo) DescribeMediaStorageConfigurationWithContext(ctx aws.Context, input *DescribeMediaStorageConfigurationInput, opts ...request.Option) (*DescribeMediaStorageConfigurationOutput, error) { + req, out := c.DescribeMediaStorageConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeNotificationConfiguration = "DescribeNotificationConfiguration" // DescribeNotificationConfigurationRequest generates a "aws/request.Request" representing the @@ -1082,13 +1342,18 @@ func (c *KinesisVideo) GetSignalingChannelEndpointRequest(input *GetSignalingCha // Amazon Kinesis Video Streams can't find the stream that you specified. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - AccessDeniedException // You do not have required permissions to perform this operation. @@ -1629,21 +1894,20 @@ func (c *KinesisVideo) StartEdgeConfigurationUpdateRequest(input *StartEdgeConfi // StartEdgeConfigurationUpdate API operation for Amazon Kinesis Video Streams. // // An asynchronous API that updates a stream’s existing edge configuration. -// If this API is invoked for the first time, a new edge configuration will -// be created for the stream, and the sync status will be set to SYNCING. -// // The Kinesis Video Stream will sync the stream’s edge configuration with -// the Edge Agent IoT Greengrass component that runs on an IoT Hub Device setup +// the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup // at your premise. The time to sync can vary and depends on the connectivity // of the Hub Device. The SyncStatus will be updated as the edge configuration -// is acknowledged, and synced with the Edge Agent. You will have to wait for -// the sync status to reach a terminal state such as: IN_SYNC and SYNC_FAILED, -// before using this API again. +// is acknowledged, and synced with the Edge Agent. // -// If you invoke this API during the syncing process, a ResourceInUseException -// will be thrown. The connectivity of the stream's edge configuration and the -// Edge Agent will be retried for 15 minutes. After 15 minutes, the status will -// transition into the SYNC_FAILED state. +// If this API is invoked for the first time, a new edge configuration will +// be created for the stream, and the sync status will be set to SYNCING. You +// will have to wait for the sync status to reach a terminal state such as: +// IN_SYNC, or SYNC_FAILED, before using this API again. If you invoke this +// API during the syncing process, a ResourceInUseException will be thrown. +// The connectivity of the stream’s edge configuration and the Edge Agent +// will be retried for 15 minutes. After 15 minutes, the status will transition +// into the SYNC_FAILED state. // // 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 @@ -1668,13 +1932,18 @@ func (c *KinesisVideo) StartEdgeConfigurationUpdateRequest(input *StartEdgeConfi // The Stream data retention in hours is equal to zero. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - ResourceNotFoundException // Amazon Kinesis Video Streams can't find the stream that you specified. @@ -2183,13 +2452,18 @@ func (c *KinesisVideo) UpdateDataRetentionRequest(input *UpdateDataRetentionInpu // Amazon Kinesis Video Streams can't find the stream that you specified. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - NotAuthorizedException // The caller is not authorized to perform this operation. @@ -2290,13 +2564,18 @@ func (c *KinesisVideo) UpdateImageGenerationConfigurationRequest(input *UpdateIm // You do not have required permissions to perform this operation. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - NoDataRetentionException // The Stream data retention in hours is equal to zero. @@ -2323,6 +2602,120 @@ func (c *KinesisVideo) UpdateImageGenerationConfigurationWithContext(ctx aws.Con return out, req.Send() } +const opUpdateMediaStorageConfiguration = "UpdateMediaStorageConfiguration" + +// UpdateMediaStorageConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMediaStorageConfiguration 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 UpdateMediaStorageConfiguration for more information on using the UpdateMediaStorageConfiguration +// 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 UpdateMediaStorageConfigurationRequest method. +// req, resp := client.UpdateMediaStorageConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateMediaStorageConfiguration +func (c *KinesisVideo) UpdateMediaStorageConfigurationRequest(input *UpdateMediaStorageConfigurationInput) (req *request.Request, output *UpdateMediaStorageConfigurationOutput) { + op := &request.Operation{ + Name: opUpdateMediaStorageConfiguration, + HTTPMethod: "POST", + HTTPPath: "/updateMediaStorageConfiguration", + } + + if input == nil { + input = &UpdateMediaStorageConfigurationInput{} + } + + output = &UpdateMediaStorageConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateMediaStorageConfiguration API operation for Amazon Kinesis Video Streams. +// +// Associates a SignalingChannel to a stream to store the media. There are two +// signaling modes that can specified : +// +// - If the StorageStatus is disabled, no data will be stored, and the StreamARN +// parameter will not be needed. +// +// - If the StorageStatus is enabled, the data will be stored in the StreamARN +// provided. +// +// 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 Kinesis Video Streams's +// API operation UpdateMediaStorageConfiguration for usage and error information. +// +// Returned Error Types: +// +// - ResourceInUseException +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. +// +// - AccessDeniedException +// You do not have required permissions to perform this operation. +// +// - NoDataRetentionException +// The Stream data retention in hours is equal to zero. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateMediaStorageConfiguration +func (c *KinesisVideo) UpdateMediaStorageConfiguration(input *UpdateMediaStorageConfigurationInput) (*UpdateMediaStorageConfigurationOutput, error) { + req, out := c.UpdateMediaStorageConfigurationRequest(input) + return out, req.Send() +} + +// UpdateMediaStorageConfigurationWithContext is the same as UpdateMediaStorageConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateMediaStorageConfiguration 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 *KinesisVideo) UpdateMediaStorageConfigurationWithContext(ctx aws.Context, input *UpdateMediaStorageConfigurationInput, opts ...request.Option) (*UpdateMediaStorageConfigurationOutput, error) { + req, out := c.UpdateMediaStorageConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateNotificationConfiguration = "UpdateNotificationConfiguration" // UpdateNotificationConfigurationRequest generates a "aws/request.Request" representing the @@ -2392,13 +2785,18 @@ func (c *KinesisVideo) UpdateNotificationConfigurationRequest(input *UpdateNotif // You do not have required permissions to perform this operation. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - NoDataRetentionException // The Stream data retention in hours is equal to zero. @@ -2497,13 +2895,18 @@ func (c *KinesisVideo) UpdateSignalingChannelRequest(input *UpdateSignalingChann // Amazon Kinesis Video Streams can't find the stream that you specified. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : +// +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - AccessDeniedException // You do not have required permissions to perform this operation. @@ -2612,13 +3015,18 @@ func (c *KinesisVideo) UpdateStreamRequest(input *UpdateStreamInput) (req *reque // Amazon Kinesis Video Streams can't find the stream that you specified. // // - ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. // // - NotAuthorizedException // The caller is not authorized to perform this operation. @@ -3667,17 +4075,258 @@ type DescribeEdgeConfigurationOutput struct { // A description of the generated failure status. FailedStatusDetails *string `type:"string"` - // The timestamp at which a stream’s edge configuration was last updated. - LastUpdatedTime *time.Time `type:"timestamp"` + // The timestamp at which a stream’s edge configuration was last updated. + LastUpdatedTime *time.Time `type:"timestamp"` + + // The Amazon Resource Name (ARN) of the stream. + StreamARN *string `min:"1" type:"string"` + + // The name of the stream from which the edge configuration was updated. + StreamName *string `min:"1" type:"string"` + + // The latest status of the edge configuration update. + SyncStatus *string `type:"string" enum:"SyncStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeEdgeConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeEdgeConfigurationOutput) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *DescribeEdgeConfigurationOutput) SetCreationTime(v time.Time) *DescribeEdgeConfigurationOutput { + s.CreationTime = &v + return s +} + +// SetEdgeConfig sets the EdgeConfig field's value. +func (s *DescribeEdgeConfigurationOutput) SetEdgeConfig(v *EdgeConfig) *DescribeEdgeConfigurationOutput { + s.EdgeConfig = v + return s +} + +// SetFailedStatusDetails sets the FailedStatusDetails field's value. +func (s *DescribeEdgeConfigurationOutput) SetFailedStatusDetails(v string) *DescribeEdgeConfigurationOutput { + s.FailedStatusDetails = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *DescribeEdgeConfigurationOutput) SetLastUpdatedTime(v time.Time) *DescribeEdgeConfigurationOutput { + s.LastUpdatedTime = &v + return s +} + +// SetStreamARN sets the StreamARN field's value. +func (s *DescribeEdgeConfigurationOutput) SetStreamARN(v string) *DescribeEdgeConfigurationOutput { + s.StreamARN = &v + return s +} + +// SetStreamName sets the StreamName field's value. +func (s *DescribeEdgeConfigurationOutput) SetStreamName(v string) *DescribeEdgeConfigurationOutput { + s.StreamName = &v + return s +} + +// SetSyncStatus sets the SyncStatus field's value. +func (s *DescribeEdgeConfigurationOutput) SetSyncStatus(v string) *DescribeEdgeConfigurationOutput { + s.SyncStatus = &v + return s +} + +type DescribeImageGenerationConfigurationInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the Kinesis video stream from which to + // retrieve the image generation configuration. You must specify either the + // StreamName or the StreamARN. + StreamARN *string `min:"1" type:"string"` + + // The name of the stream from which to retrieve the image generation configuration. + // You must specify either the StreamName or the StreamARN. + StreamName *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 DescribeImageGenerationConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeImageGenerationConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeImageGenerationConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeImageGenerationConfigurationInput"} + if s.StreamARN != nil && len(*s.StreamARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StreamARN", 1)) + } + if s.StreamName != nil && len(*s.StreamName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StreamName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStreamARN sets the StreamARN field's value. +func (s *DescribeImageGenerationConfigurationInput) SetStreamARN(v string) *DescribeImageGenerationConfigurationInput { + s.StreamARN = &v + return s +} + +// SetStreamName sets the StreamName field's value. +func (s *DescribeImageGenerationConfigurationInput) SetStreamName(v string) *DescribeImageGenerationConfigurationInput { + s.StreamName = &v + return s +} + +type DescribeImageGenerationConfigurationOutput struct { + _ struct{} `type:"structure"` + + // The structure that contains the information required for the Kinesis video + // stream (KVS) images delivery. If this structure is null, the configuration + // will be deleted from the stream. + ImageGenerationConfiguration *ImageGenerationConfiguration `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 DescribeImageGenerationConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeImageGenerationConfigurationOutput) GoString() string { + return s.String() +} + +// SetImageGenerationConfiguration sets the ImageGenerationConfiguration field's value. +func (s *DescribeImageGenerationConfigurationOutput) SetImageGenerationConfiguration(v *ImageGenerationConfiguration) *DescribeImageGenerationConfigurationOutput { + s.ImageGenerationConfiguration = v + return s +} + +type DescribeMappedResourceConfigurationInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results to return in the response. + MaxResults *int64 `min:"1" type:"integer"` + + // The token to provide in your next request, to get another batch of results. + NextToken *string `type:"string"` + + // The Amazon Resource Name (ARN) of the stream. + StreamARN *string `min:"1" type:"string"` + + // The name of the stream. + StreamName *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 DescribeMappedResourceConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeMappedResourceConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeMappedResourceConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeMappedResourceConfigurationInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.StreamARN != nil && len(*s.StreamARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StreamARN", 1)) + } + if s.StreamName != nil && len(*s.StreamName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StreamName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeMappedResourceConfigurationInput) SetMaxResults(v int64) *DescribeMappedResourceConfigurationInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeMappedResourceConfigurationInput) SetNextToken(v string) *DescribeMappedResourceConfigurationInput { + s.NextToken = &v + return s +} + +// SetStreamARN sets the StreamARN field's value. +func (s *DescribeMappedResourceConfigurationInput) SetStreamARN(v string) *DescribeMappedResourceConfigurationInput { + s.StreamARN = &v + return s +} + +// SetStreamName sets the StreamName field's value. +func (s *DescribeMappedResourceConfigurationInput) SetStreamName(v string) *DescribeMappedResourceConfigurationInput { + s.StreamName = &v + return s +} - // The Amazon Resource Name (ARN) of the stream. - StreamARN *string `min:"1" type:"string"` +type DescribeMappedResourceConfigurationOutput struct { + _ struct{} `type:"structure"` - // The name of the stream from which the edge configuration was updated. - StreamName *string `min:"1" type:"string"` + // A structure that encapsulates, or contains, the media storage configuration + // properties. + MappedResourceConfigurationList []*MappedResourceConfigurationListItem `type:"list"` - // The latest status of the edge configuration update. - SyncStatus *string `type:"string" enum:"SyncStatus"` + // The token that was used in the NextTokenrequest to fetch the next set of + // results. + NextToken *string `type:"string"` } // String returns the string representation. @@ -3685,7 +4334,7 @@ type DescribeEdgeConfigurationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeEdgeConfigurationOutput) String() string { +func (s DescribeMappedResourceConfigurationOutput) String() string { return awsutil.Prettify(s) } @@ -3694,63 +4343,30 @@ func (s DescribeEdgeConfigurationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeEdgeConfigurationOutput) GoString() string { +func (s DescribeMappedResourceConfigurationOutput) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *DescribeEdgeConfigurationOutput) SetCreationTime(v time.Time) *DescribeEdgeConfigurationOutput { - s.CreationTime = &v - return s -} - -// SetEdgeConfig sets the EdgeConfig field's value. -func (s *DescribeEdgeConfigurationOutput) SetEdgeConfig(v *EdgeConfig) *DescribeEdgeConfigurationOutput { - s.EdgeConfig = v - return s -} - -// SetFailedStatusDetails sets the FailedStatusDetails field's value. -func (s *DescribeEdgeConfigurationOutput) SetFailedStatusDetails(v string) *DescribeEdgeConfigurationOutput { - s.FailedStatusDetails = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *DescribeEdgeConfigurationOutput) SetLastUpdatedTime(v time.Time) *DescribeEdgeConfigurationOutput { - s.LastUpdatedTime = &v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *DescribeEdgeConfigurationOutput) SetStreamARN(v string) *DescribeEdgeConfigurationOutput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *DescribeEdgeConfigurationOutput) SetStreamName(v string) *DescribeEdgeConfigurationOutput { - s.StreamName = &v +// SetMappedResourceConfigurationList sets the MappedResourceConfigurationList field's value. +func (s *DescribeMappedResourceConfigurationOutput) SetMappedResourceConfigurationList(v []*MappedResourceConfigurationListItem) *DescribeMappedResourceConfigurationOutput { + s.MappedResourceConfigurationList = v return s } -// SetSyncStatus sets the SyncStatus field's value. -func (s *DescribeEdgeConfigurationOutput) SetSyncStatus(v string) *DescribeEdgeConfigurationOutput { - s.SyncStatus = &v +// SetNextToken sets the NextToken field's value. +func (s *DescribeMappedResourceConfigurationOutput) SetNextToken(v string) *DescribeMappedResourceConfigurationOutput { + s.NextToken = &v return s } -type DescribeImageGenerationConfigurationInput struct { +type DescribeMediaStorageConfigurationInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the Kinesis video stream from which to - // retrieve the image generation configuration. You must specify either the - // StreamName or the StreamARN. - StreamARN *string `min:"1" type:"string"` + // The Amazon Resource Name (ARN) of the channel. + ChannelARN *string `min:"1" type:"string"` - // The name of the stream from which to retrieve the image generation configuration. - // You must specify either the StreamName or the StreamARN. - StreamName *string `min:"1" type:"string"` + // The name of the channel. + ChannelName *string `min:"1" type:"string"` } // String returns the string representation. @@ -3758,7 +4374,7 @@ type DescribeImageGenerationConfigurationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeImageGenerationConfigurationInput) String() string { +func (s DescribeMediaStorageConfigurationInput) String() string { return awsutil.Prettify(s) } @@ -3767,18 +4383,18 @@ func (s DescribeImageGenerationConfigurationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeImageGenerationConfigurationInput) GoString() string { +func (s DescribeMediaStorageConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeImageGenerationConfigurationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeImageGenerationConfigurationInput"} - if s.StreamARN != nil && len(*s.StreamARN) < 1 { - invalidParams.Add(request.NewErrParamMinLen("StreamARN", 1)) +func (s *DescribeMediaStorageConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeMediaStorageConfigurationInput"} + if s.ChannelARN != nil && len(*s.ChannelARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelARN", 1)) } - if s.StreamName != nil && len(*s.StreamName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("StreamName", 1)) + if s.ChannelName != nil && len(*s.ChannelName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1)) } if invalidParams.Len() > 0 { @@ -3787,25 +4403,24 @@ func (s *DescribeImageGenerationConfigurationInput) Validate() error { return nil } -// SetStreamARN sets the StreamARN field's value. -func (s *DescribeImageGenerationConfigurationInput) SetStreamARN(v string) *DescribeImageGenerationConfigurationInput { - s.StreamARN = &v +// SetChannelARN sets the ChannelARN field's value. +func (s *DescribeMediaStorageConfigurationInput) SetChannelARN(v string) *DescribeMediaStorageConfigurationInput { + s.ChannelARN = &v return s } -// SetStreamName sets the StreamName field's value. -func (s *DescribeImageGenerationConfigurationInput) SetStreamName(v string) *DescribeImageGenerationConfigurationInput { - s.StreamName = &v +// SetChannelName sets the ChannelName field's value. +func (s *DescribeMediaStorageConfigurationInput) SetChannelName(v string) *DescribeMediaStorageConfigurationInput { + s.ChannelName = &v return s } -type DescribeImageGenerationConfigurationOutput struct { +type DescribeMediaStorageConfigurationOutput struct { _ struct{} `type:"structure"` - // The structure that contains the information required for the Kinesis video - // stream (KVS) images delivery. If this structure is null, the configuration - // will be deleted from the stream. - ImageGenerationConfiguration *ImageGenerationConfiguration `type:"structure"` + // A structure that encapsulates, or contains, the media storage configuration + // properties. + MediaStorageConfiguration *MediaStorageConfiguration `type:"structure"` } // String returns the string representation. @@ -3813,7 +4428,7 @@ type DescribeImageGenerationConfigurationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeImageGenerationConfigurationOutput) String() string { +func (s DescribeMediaStorageConfigurationOutput) String() string { return awsutil.Prettify(s) } @@ -3822,13 +4437,13 @@ func (s DescribeImageGenerationConfigurationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeImageGenerationConfigurationOutput) GoString() string { +func (s DescribeMediaStorageConfigurationOutput) GoString() string { return s.String() } -// SetImageGenerationConfiguration sets the ImageGenerationConfiguration field's value. -func (s *DescribeImageGenerationConfigurationOutput) SetImageGenerationConfiguration(v *ImageGenerationConfiguration) *DescribeImageGenerationConfigurationOutput { - s.ImageGenerationConfiguration = v +// SetMediaStorageConfiguration sets the MediaStorageConfiguration field's value. +func (s *DescribeMediaStorageConfigurationOutput) SetMediaStorageConfiguration(v *MediaStorageConfiguration) *DescribeMediaStorageConfigurationOutput { + s.MediaStorageConfiguration = v return s } @@ -4186,8 +4801,8 @@ type EdgeConfig struct { RecorderConfig *RecorderConfig `type:"structure" required:"true"` // The uploader configuration contains the ScheduleExpression details that are - // used, to schedule upload jobs for the recorded media files from the Edge - // Agent, to a Kinesis Video Stream. + // used to schedule upload jobs for the recorded media files from the Edge Agent + // to a Kinesis Video Stream. UploaderConfig *UploaderConfig `type:"structure"` } @@ -5393,6 +6008,49 @@ func (s *LocalSizeConfig) SetStrategyOnFullSize(v string) *LocalSizeConfig { return s } +// A structure that encapsulates, or contains, the media storage configuration +// properties. +type MappedResourceConfigurationListItem struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the Kinesis Video Stream resource, associated + // with the stream. + ARN *string `min:"1" type:"string"` + + // The type of the associated resource for the kinesis video stream. + Type *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 MappedResourceConfigurationListItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MappedResourceConfigurationListItem) GoString() string { + return s.String() +} + +// SetARN sets the ARN field's value. +func (s *MappedResourceConfigurationListItem) SetARN(v string) *MappedResourceConfigurationListItem { + s.ARN = &v + return s +} + +// SetType sets the Type field's value. +func (s *MappedResourceConfigurationListItem) SetType(v string) *MappedResourceConfigurationListItem { + s.Type = &v + return s +} + // The configuration details that consist of the credentials required (MediaUriSecretArn // and MediaUriType) to access the media files that are streamed to the camera. type MediaSourceConfig struct { @@ -5408,9 +6066,11 @@ type MediaSourceConfig struct { // MediaUriSecretArn is a required field MediaUriSecretArn *string `min:"20" type:"string" required:"true" sensitive:"true"` - // The Uniform Resource Identifier (Uri) type. The FILE_URI value can be used + // The Uniform Resource Identifier (URI) type. The FILE_URI value can be used // to stream local media files. // + // Preview only supports the RTSP_URI media source URI format . + // // MediaUriType is a required field MediaUriType *string `type:"string" required:"true" enum:"MediaUriType"` } @@ -5464,6 +6124,66 @@ func (s *MediaSourceConfig) SetMediaUriType(v string) *MediaSourceConfig { return s } +// A structure that encapsulates, or contains, the media storage configuration +// properties. +type MediaStorageConfiguration struct { + _ struct{} `type:"structure"` + + // The status of the media storage configuration. + // + // Status is a required field + Status *string `type:"string" required:"true" enum:"MediaStorageConfigurationStatus"` + + // The Amazon Resource Name (ARN) of the stream + StreamARN *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 MediaStorageConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MediaStorageConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MediaStorageConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MediaStorageConfiguration"} + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + if s.StreamARN != nil && len(*s.StreamARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StreamARN", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStatus sets the Status field's value. +func (s *MediaStorageConfiguration) SetStatus(v string) *MediaStorageConfiguration { + s.Status = &v + return s +} + +// SetStreamARN sets the StreamARN field's value. +func (s *MediaStorageConfiguration) SetStreamARN(v string) *MediaStorageConfiguration { + s.StreamARN = &v + return s +} + // The Stream data retention in hours is equal to zero. type NoDataRetentionException struct { _ struct{} `type:"structure"` @@ -5828,13 +6548,18 @@ func (s *ResourceEndpointListItem) SetResourceEndpoint(v string) *ResourceEndpoi return s } -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped +// to a different Kinesis Video Stream resource, or if the provided input StreamARN +// or ChannelARN is not in Active status, try one of the following : // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// The DescribeMediaStorageConfiguration API to determine what the stream given +// channel is mapped to. +// +// The DescribeMappedResourceConfiguration API to determine the channel that +// the given stream is mapped to. +// +// The DescribeStream or DescribeSignalingChannel API to determine the status +// of the resource. type ResourceInUseException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -7280,6 +8005,97 @@ func (s UpdateImageGenerationConfigurationOutput) GoString() string { return s.String() } +type UpdateMediaStorageConfigurationInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the channel. + // + // ChannelARN is a required field + ChannelARN *string `min:"1" type:"string" required:"true"` + + // A structure that encapsulates, or contains, the media storage configuration + // properties. + // + // MediaStorageConfiguration is a required field + MediaStorageConfiguration *MediaStorageConfiguration `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 UpdateMediaStorageConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateMediaStorageConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateMediaStorageConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateMediaStorageConfigurationInput"} + 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.MediaStorageConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("MediaStorageConfiguration")) + } + if s.MediaStorageConfiguration != nil { + if err := s.MediaStorageConfiguration.Validate(); err != nil { + invalidParams.AddNested("MediaStorageConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelARN sets the ChannelARN field's value. +func (s *UpdateMediaStorageConfigurationInput) SetChannelARN(v string) *UpdateMediaStorageConfigurationInput { + s.ChannelARN = &v + return s +} + +// SetMediaStorageConfiguration sets the MediaStorageConfiguration field's value. +func (s *UpdateMediaStorageConfigurationInput) SetMediaStorageConfiguration(v *MediaStorageConfiguration) *UpdateMediaStorageConfigurationInput { + s.MediaStorageConfiguration = v + return s +} + +type UpdateMediaStorageConfigurationOutput 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 UpdateMediaStorageConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateMediaStorageConfigurationOutput) GoString() string { + return s.String() +} + type UpdateNotificationConfigurationInput struct { _ struct{} `type:"structure"` @@ -7610,9 +8426,10 @@ func (s UpdateStreamOutput) GoString() string { return s.String() } -// The configuration that consists of the ScheduleConfig attribute that's required, -// to schedule the jobs to upload the recorded media files onto the Edge Agent -// in a Kinesis Video Stream. +// The configuration that consists of the ScheduleExpression and the DurationInMinutesdetails, +// that specify the scheduling to record from a camera, or local media file, +// onto the Edge Agent. If the ScheduleExpression is not provided, then the +// Edge Agent will always be in upload mode. type UploaderConfig struct { _ struct{} `type:"structure"` @@ -7779,6 +8596,9 @@ const ( // ChannelProtocolHttps is a ChannelProtocol enum value ChannelProtocolHttps = "HTTPS" + + // ChannelProtocolWebrtc is a ChannelProtocol enum value + ChannelProtocolWebrtc = "WEBRTC" ) // ChannelProtocol_Values returns all elements of the ChannelProtocol enum @@ -7786,6 +8606,7 @@ func ChannelProtocol_Values() []string { return []string{ ChannelProtocolWss, ChannelProtocolHttps, + ChannelProtocolWebrtc, } } @@ -7893,6 +8714,22 @@ func ImageSelectorType_Values() []string { } } +const ( + // MediaStorageConfigurationStatusEnabled is a MediaStorageConfigurationStatus enum value + MediaStorageConfigurationStatusEnabled = "ENABLED" + + // MediaStorageConfigurationStatusDisabled is a MediaStorageConfigurationStatus enum value + MediaStorageConfigurationStatusDisabled = "DISABLED" +) + +// MediaStorageConfigurationStatus_Values returns all elements of the MediaStorageConfigurationStatus enum +func MediaStorageConfigurationStatus_Values() []string { + return []string{ + MediaStorageConfigurationStatusEnabled, + MediaStorageConfigurationStatusDisabled, + } +} + const ( // MediaUriTypeRtspUri is a MediaUriType enum value MediaUriTypeRtspUri = "RTSP_URI" diff --git a/service/kinesisvideo/errors.go b/service/kinesisvideo/errors.go index c3d617ee8c4..05d7f6580c3 100644 --- a/service/kinesisvideo/errors.go +++ b/service/kinesisvideo/errors.go @@ -73,13 +73,18 @@ const ( // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // - // The resource is currently not available for this operation. New resources - // cannot be created with the same name as existing resources. Also, resources - // cannot be updated or deleted unless they are in an ACTIVE state. + // When the input StreamARN or ChannelARN in CLOUD_STORAGE_MODE is already mapped + // to a different Kinesis Video Stream resource, or if the provided input StreamARN + // or ChannelARN is not in Active status, try one of the following : // - // If this exception is returned, do not use it to determine whether the requested - // resource already exists. Instead, it is recommended you use the resource-specific - // describe API, for example, DescribeStream for video streams. + // The DescribeMediaStorageConfiguration API to determine what the stream given + // channel is mapped to. + // + // The DescribeMappedResourceConfiguration API to determine the channel that + // the given stream is mapped to. + // + // The DescribeStream or DescribeSignalingChannel API to determine the status + // of the resource. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code diff --git a/service/kinesisvideo/kinesisvideoiface/interface.go b/service/kinesisvideo/kinesisvideoiface/interface.go index 85519a935fe..486c412cd38 100644 --- a/service/kinesisvideo/kinesisvideoiface/interface.go +++ b/service/kinesisvideo/kinesisvideoiface/interface.go @@ -84,6 +84,17 @@ type KinesisVideoAPI interface { DescribeImageGenerationConfigurationWithContext(aws.Context, *kinesisvideo.DescribeImageGenerationConfigurationInput, ...request.Option) (*kinesisvideo.DescribeImageGenerationConfigurationOutput, error) DescribeImageGenerationConfigurationRequest(*kinesisvideo.DescribeImageGenerationConfigurationInput) (*request.Request, *kinesisvideo.DescribeImageGenerationConfigurationOutput) + DescribeMappedResourceConfiguration(*kinesisvideo.DescribeMappedResourceConfigurationInput) (*kinesisvideo.DescribeMappedResourceConfigurationOutput, error) + DescribeMappedResourceConfigurationWithContext(aws.Context, *kinesisvideo.DescribeMappedResourceConfigurationInput, ...request.Option) (*kinesisvideo.DescribeMappedResourceConfigurationOutput, error) + DescribeMappedResourceConfigurationRequest(*kinesisvideo.DescribeMappedResourceConfigurationInput) (*request.Request, *kinesisvideo.DescribeMappedResourceConfigurationOutput) + + DescribeMappedResourceConfigurationPages(*kinesisvideo.DescribeMappedResourceConfigurationInput, func(*kinesisvideo.DescribeMappedResourceConfigurationOutput, bool) bool) error + DescribeMappedResourceConfigurationPagesWithContext(aws.Context, *kinesisvideo.DescribeMappedResourceConfigurationInput, func(*kinesisvideo.DescribeMappedResourceConfigurationOutput, bool) bool, ...request.Option) error + + DescribeMediaStorageConfiguration(*kinesisvideo.DescribeMediaStorageConfigurationInput) (*kinesisvideo.DescribeMediaStorageConfigurationOutput, error) + DescribeMediaStorageConfigurationWithContext(aws.Context, *kinesisvideo.DescribeMediaStorageConfigurationInput, ...request.Option) (*kinesisvideo.DescribeMediaStorageConfigurationOutput, error) + DescribeMediaStorageConfigurationRequest(*kinesisvideo.DescribeMediaStorageConfigurationInput) (*request.Request, *kinesisvideo.DescribeMediaStorageConfigurationOutput) + DescribeNotificationConfiguration(*kinesisvideo.DescribeNotificationConfigurationInput) (*kinesisvideo.DescribeNotificationConfigurationOutput, error) DescribeNotificationConfigurationWithContext(aws.Context, *kinesisvideo.DescribeNotificationConfigurationInput, ...request.Option) (*kinesisvideo.DescribeNotificationConfigurationOutput, error) DescribeNotificationConfigurationRequest(*kinesisvideo.DescribeNotificationConfigurationInput) (*request.Request, *kinesisvideo.DescribeNotificationConfigurationOutput) @@ -154,6 +165,10 @@ type KinesisVideoAPI interface { UpdateImageGenerationConfigurationWithContext(aws.Context, *kinesisvideo.UpdateImageGenerationConfigurationInput, ...request.Option) (*kinesisvideo.UpdateImageGenerationConfigurationOutput, error) UpdateImageGenerationConfigurationRequest(*kinesisvideo.UpdateImageGenerationConfigurationInput) (*request.Request, *kinesisvideo.UpdateImageGenerationConfigurationOutput) + UpdateMediaStorageConfiguration(*kinesisvideo.UpdateMediaStorageConfigurationInput) (*kinesisvideo.UpdateMediaStorageConfigurationOutput, error) + UpdateMediaStorageConfigurationWithContext(aws.Context, *kinesisvideo.UpdateMediaStorageConfigurationInput, ...request.Option) (*kinesisvideo.UpdateMediaStorageConfigurationOutput, error) + UpdateMediaStorageConfigurationRequest(*kinesisvideo.UpdateMediaStorageConfigurationInput) (*request.Request, *kinesisvideo.UpdateMediaStorageConfigurationOutput) + UpdateNotificationConfiguration(*kinesisvideo.UpdateNotificationConfigurationInput) (*kinesisvideo.UpdateNotificationConfigurationOutput, error) UpdateNotificationConfigurationWithContext(aws.Context, *kinesisvideo.UpdateNotificationConfigurationInput, ...request.Option) (*kinesisvideo.UpdateNotificationConfigurationOutput, error) UpdateNotificationConfigurationRequest(*kinesisvideo.UpdateNotificationConfigurationInput) (*request.Request, *kinesisvideo.UpdateNotificationConfigurationOutput) diff --git a/service/kinesisvideowebrtcstorage/api.go b/service/kinesisvideowebrtcstorage/api.go new file mode 100644 index 00000000000..f671a54302f --- /dev/null +++ b/service/kinesisvideowebrtcstorage/api.go @@ -0,0 +1,665 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package kinesisvideowebrtcstorage + +import ( + "fmt" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +const opJoinStorageSession = "JoinStorageSession" + +// JoinStorageSessionRequest generates a "aws/request.Request" representing the +// client's request for the JoinStorageSession 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 JoinStorageSession for more information on using the JoinStorageSession +// 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 JoinStorageSessionRequest method. +// req, resp := client.JoinStorageSessionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSession +func (c *KinesisVideoWebRTCStorage) JoinStorageSessionRequest(input *JoinStorageSessionInput) (req *request.Request, output *JoinStorageSessionOutput) { + op := &request.Operation{ + Name: opJoinStorageSession, + HTTPMethod: "POST", + HTTPPath: "/joinStorageSession", + } + + if input == nil { + input = &JoinStorageSessionInput{} + } + + output = &JoinStorageSessionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// JoinStorageSession API operation for Amazon Kinesis Video WebRTC Storage. +// +// Join the ongoing one way-video and/or multi-way audio WebRTC session as a +// video producing device for an input channel. If there’s no existing session +// for the channel, a new streaming session needs to be created, and the Amazon +// Resource Name (ARN) of the signaling channel must be provided. +// +// Currently for the SINGLE_MASTER type, a video producing device is able to +// ingest both audio and video media into a stream, while viewers can only ingest +// audio. Both a video producing device and viewers can join the session first, +// and wait for other participants. +// +// While participants are having peer to peer conversations through webRTC, +// the ingested media session will be stored into the Kinesis Video Stream. +// Multiple viewers are able to playback real-time media. +// +// Customers can also use existing Kinesis Video Streams features like HLS or +// DASH playback, Image generation, and more with ingested WebRTC media. +// +// Assume that only one video producing device client can be associated with +// a session for the channel. If more than one client joins the session of a +// specific channel as a video producing device, the most recent client request +// takes precedence. +// +// 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 Kinesis Video WebRTC Storage's +// API operation JoinStorageSession for usage and error information. +// +// Returned Error Types: +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - InvalidArgumentException +// +// The value for this input parameter is invalid. +// +// Additional details may notbe returned. +// +// - AccessDeniedException +// +// You do not have required permissions to perform this operation +// +// The AccessDeniedException can be thrown for operation access as well as tokens +// or resource access +// +// - ResourceNotFoundException +// +// The specified resource is not found +// +// You have not specified a channel in this API call. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSession +func (c *KinesisVideoWebRTCStorage) JoinStorageSession(input *JoinStorageSessionInput) (*JoinStorageSessionOutput, error) { + req, out := c.JoinStorageSessionRequest(input) + return out, req.Send() +} + +// JoinStorageSessionWithContext is the same as JoinStorageSession with the addition of +// the ability to pass a context and additional request options. +// +// See JoinStorageSession 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 *KinesisVideoWebRTCStorage) JoinStorageSessionWithContext(ctx aws.Context, input *JoinStorageSessionInput, opts ...request.Option) (*JoinStorageSessionOutput, error) { + req, out := c.JoinStorageSessionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opJoinStorageSessionAsViewer = "JoinStorageSessionAsViewer" + +// JoinStorageSessionAsViewerRequest generates a "aws/request.Request" representing the +// client's request for the JoinStorageSessionAsViewer 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 JoinStorageSessionAsViewer for more information on using the JoinStorageSessionAsViewer +// 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 JoinStorageSessionAsViewerRequest method. +// req, resp := client.JoinStorageSessionAsViewerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSessionAsViewer +func (c *KinesisVideoWebRTCStorage) JoinStorageSessionAsViewerRequest(input *JoinStorageSessionAsViewerInput) (req *request.Request, output *JoinStorageSessionAsViewerOutput) { + op := &request.Operation{ + Name: opJoinStorageSessionAsViewer, + HTTPMethod: "POST", + HTTPPath: "/joinStorageSessionAsViewer", + } + + if input == nil { + input = &JoinStorageSessionAsViewerInput{} + } + + output = &JoinStorageSessionAsViewerOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// JoinStorageSessionAsViewer API operation for Amazon Kinesis Video WebRTC Storage. +// +// Join the ongoing one way-video and/or multi-way audio WebRTC session as a +// viewer for an input channel. If there’s no existing session for the channel, +// create a new streaming session and provide the Amazon Resource Name (ARN) +// of the signaling channel (channelArn) and client id (clientId). +// +// Currently for SINGLE_MASTER type, a video producing device is able to ingest +// both audio and video media into a stream, while viewers can only ingest audio. +// Both a video producing device and viewers can join a session first and wait +// for other participants. While participants are having peer to peer conversations +// through webRTC, the ingested media session will be stored into the Kinesis +// Video Stream. Multiple viewers are able to playback real-time media. +// +// Customers can also use existing Kinesis Video Streams features like HLS or +// DASH playback, Image generation, and more with ingested WebRTC media. If +// there’s an existing session with the same clientId that's found in the +// join session request, the new request takes precedence. +// +// 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 Kinesis Video WebRTC Storage's +// API operation JoinStorageSessionAsViewer for usage and error information. +// +// Returned Error Types: +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - InvalidArgumentException +// +// The value for this input parameter is invalid. +// +// Additional details may notbe returned. +// +// - AccessDeniedException +// +// You do not have required permissions to perform this operation +// +// The AccessDeniedException can be thrown for operation access as well as tokens +// or resource access +// +// - ResourceNotFoundException +// +// The specified resource is not found +// +// You have not specified a channel in this API call. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10/JoinStorageSessionAsViewer +func (c *KinesisVideoWebRTCStorage) JoinStorageSessionAsViewer(input *JoinStorageSessionAsViewerInput) (*JoinStorageSessionAsViewerOutput, error) { + req, out := c.JoinStorageSessionAsViewerRequest(input) + return out, req.Send() +} + +// JoinStorageSessionAsViewerWithContext is the same as JoinStorageSessionAsViewer with the addition of +// the ability to pass a context and additional request options. +// +// See JoinStorageSessionAsViewer 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 *KinesisVideoWebRTCStorage) JoinStorageSessionAsViewerWithContext(ctx aws.Context, input *JoinStorageSessionAsViewerInput, opts ...request.Option) (*JoinStorageSessionAsViewerOutput, error) { + req, out := c.JoinStorageSessionAsViewerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// You do not have required permissions to perform this operation +// +// The AccessDeniedException can be thrown for operation access as well as tokens +// or resource access +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 +} + +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +type ClientLimitExceededException 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 ClientLimitExceededException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClientLimitExceededException) GoString() string { + return s.String() +} + +func newErrorClientLimitExceededException(v protocol.ResponseMetadata) error { + return &ClientLimitExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ClientLimitExceededException) Code() string { + return "ClientLimitExceededException" +} + +// Message returns the exception's message. +func (s *ClientLimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ClientLimitExceededException) OrigErr() error { + return nil +} + +func (s *ClientLimitExceededException) 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 *ClientLimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ClientLimitExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The value for this input parameter is invalid. +// +// Additional details may notbe returned. +type InvalidArgumentException 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 InvalidArgumentException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InvalidArgumentException) GoString() string { + return s.String() +} + +func newErrorInvalidArgumentException(v protocol.ResponseMetadata) error { + return &InvalidArgumentException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidArgumentException) Code() string { + return "InvalidArgumentException" +} + +// Message returns the exception's message. +func (s *InvalidArgumentException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidArgumentException) OrigErr() error { + return nil +} + +func (s *InvalidArgumentException) 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 *InvalidArgumentException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InvalidArgumentException) RequestID() string { + return s.RespMetadata.RequestID +} + +type JoinStorageSessionAsViewerInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the signaling channel. + // + // ChannelArn is a required field + ChannelArn *string `locationName:"channelArn" type:"string" required:"true"` + + // The unique identifier for the sender client. + // + // ClientId is a required field + ClientId *string `locationName:"clientId" 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 JoinStorageSessionAsViewerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JoinStorageSessionAsViewerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JoinStorageSessionAsViewerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JoinStorageSessionAsViewerInput"} + if s.ChannelArn == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelArn")) + } + if s.ClientId == nil { + invalidParams.Add(request.NewErrParamRequired("ClientId")) + } + if s.ClientId != nil && len(*s.ClientId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelArn sets the ChannelArn field's value. +func (s *JoinStorageSessionAsViewerInput) SetChannelArn(v string) *JoinStorageSessionAsViewerInput { + s.ChannelArn = &v + return s +} + +// SetClientId sets the ClientId field's value. +func (s *JoinStorageSessionAsViewerInput) SetClientId(v string) *JoinStorageSessionAsViewerInput { + s.ClientId = &v + return s +} + +type JoinStorageSessionAsViewerOutput 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 JoinStorageSessionAsViewerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JoinStorageSessionAsViewerOutput) GoString() string { + return s.String() +} + +type JoinStorageSessionInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the signaling channel. + // + // ChannelArn is a required field + ChannelArn *string `locationName:"channelArn" 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 JoinStorageSessionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JoinStorageSessionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JoinStorageSessionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JoinStorageSessionInput"} + if s.ChannelArn == nil { + invalidParams.Add(request.NewErrParamRequired("ChannelArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetChannelArn sets the ChannelArn field's value. +func (s *JoinStorageSessionInput) SetChannelArn(v string) *JoinStorageSessionInput { + s.ChannelArn = &v + return s +} + +type JoinStorageSessionOutput 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 JoinStorageSessionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JoinStorageSessionOutput) GoString() string { + return s.String() +} + +// The specified resource is not found +// +// You have not specified a channel in this API call. +type ResourceNotFoundException 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 ResourceNotFoundException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API 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() +} + +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", s.Code(), s.Message()) +} + +// 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 +} diff --git a/service/kinesisvideowebrtcstorage/doc.go b/service/kinesisvideowebrtcstorage/doc.go new file mode 100644 index 00000000000..84dc786b680 --- /dev/null +++ b/service/kinesisvideowebrtcstorage/doc.go @@ -0,0 +1,26 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package kinesisvideowebrtcstorage provides the client and types for making API +// requests to Amazon Kinesis Video WebRTC Storage. +// +// See https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-webrtc-storage-2018-05-10 for more information on this service. +// +// See kinesisvideowebrtcstorage package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideowebrtcstorage/ +// +// # Using the Client +// +// To contact Amazon Kinesis Video WebRTC Storage with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the Amazon Kinesis Video WebRTC Storage client KinesisVideoWebRTCStorage for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideowebrtcstorage/#New +package kinesisvideowebrtcstorage diff --git a/service/kinesisvideowebrtcstorage/errors.go b/service/kinesisvideowebrtcstorage/errors.go new file mode 100644 index 00000000000..20b33d68574 --- /dev/null +++ b/service/kinesisvideowebrtcstorage/errors.go @@ -0,0 +1,52 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package kinesisvideowebrtcstorage + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // + // You do not have required permissions to perform this operation + // + // The AccessDeniedException can be thrown for operation access as well as tokens + // or resource access + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeClientLimitExceededException for service response error code + // "ClientLimitExceededException". + // + // Kinesis Video Streams has throttled the request because you have exceeded + // the limit of allowed client calls. Try making the call later. + ErrCodeClientLimitExceededException = "ClientLimitExceededException" + + // ErrCodeInvalidArgumentException for service response error code + // "InvalidArgumentException". + // + // + // The value for this input parameter is invalid. + // + // Additional details may notbe returned. + ErrCodeInvalidArgumentException = "InvalidArgumentException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // + // The specified resource is not found + // + // You have not specified a channel in this API call. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ClientLimitExceededException": newErrorClientLimitExceededException, + "InvalidArgumentException": newErrorInvalidArgumentException, + "ResourceNotFoundException": newErrorResourceNotFoundException, +} diff --git a/service/kinesisvideowebrtcstorage/kinesisvideowebrtcstorageiface/interface.go b/service/kinesisvideowebrtcstorage/kinesisvideowebrtcstorageiface/interface.go new file mode 100644 index 00000000000..ff76da0920d --- /dev/null +++ b/service/kinesisvideowebrtcstorage/kinesisvideowebrtcstorageiface/interface.go @@ -0,0 +1,72 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package kinesisvideowebrtcstorageiface provides an interface to enable mocking the Amazon Kinesis Video WebRTC Storage service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package kinesisvideowebrtcstorageiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/kinesisvideowebrtcstorage" +) + +// KinesisVideoWebRTCStorageAPI provides an interface to enable mocking the +// kinesisvideowebrtcstorage.KinesisVideoWebRTCStorage service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Video WebRTC Storage. +// func myFunc(svc kinesisvideowebrtcstorageiface.KinesisVideoWebRTCStorageAPI) bool { +// // Make svc.JoinStorageSession request +// } +// +// func main() { +// sess := session.New() +// svc := kinesisvideowebrtcstorage.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisVideoWebRTCStorageClient struct { +// kinesisvideowebrtcstorageiface.KinesisVideoWebRTCStorageAPI +// } +// func (m *mockKinesisVideoWebRTCStorageClient) JoinStorageSession(input *kinesisvideowebrtcstorage.JoinStorageSessionInput) (*kinesisvideowebrtcstorage.JoinStorageSessionOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisVideoWebRTCStorageClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type KinesisVideoWebRTCStorageAPI interface { + JoinStorageSession(*kinesisvideowebrtcstorage.JoinStorageSessionInput) (*kinesisvideowebrtcstorage.JoinStorageSessionOutput, error) + JoinStorageSessionWithContext(aws.Context, *kinesisvideowebrtcstorage.JoinStorageSessionInput, ...request.Option) (*kinesisvideowebrtcstorage.JoinStorageSessionOutput, error) + JoinStorageSessionRequest(*kinesisvideowebrtcstorage.JoinStorageSessionInput) (*request.Request, *kinesisvideowebrtcstorage.JoinStorageSessionOutput) + + JoinStorageSessionAsViewer(*kinesisvideowebrtcstorage.JoinStorageSessionAsViewerInput) (*kinesisvideowebrtcstorage.JoinStorageSessionAsViewerOutput, error) + JoinStorageSessionAsViewerWithContext(aws.Context, *kinesisvideowebrtcstorage.JoinStorageSessionAsViewerInput, ...request.Option) (*kinesisvideowebrtcstorage.JoinStorageSessionAsViewerOutput, error) + JoinStorageSessionAsViewerRequest(*kinesisvideowebrtcstorage.JoinStorageSessionAsViewerInput) (*request.Request, *kinesisvideowebrtcstorage.JoinStorageSessionAsViewerOutput) +} + +var _ KinesisVideoWebRTCStorageAPI = (*kinesisvideowebrtcstorage.KinesisVideoWebRTCStorage)(nil) diff --git a/service/kinesisvideowebrtcstorage/service.go b/service/kinesisvideowebrtcstorage/service.go new file mode 100644 index 00000000000..8754e18fca5 --- /dev/null +++ b/service/kinesisvideowebrtcstorage/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package kinesisvideowebrtcstorage + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// KinesisVideoWebRTCStorage provides the API operation methods for making requests to +// Amazon Kinesis Video WebRTC Storage. See this package's package overview docs +// for details on the service. +// +// KinesisVideoWebRTCStorage methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type KinesisVideoWebRTCStorage struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "Kinesis Video WebRTC Storage" // Name of service. + EndpointsID = "kinesisvideo" // ID to lookup a service endpoint with. + ServiceID = "Kinesis Video WebRTC Storage" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the KinesisVideoWebRTCStorage client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a KinesisVideoWebRTCStorage client from just a session. +// svc := kinesisvideowebrtcstorage.New(mySession) +// +// // Create a KinesisVideoWebRTCStorage client with additional configuration +// svc := kinesisvideowebrtcstorage.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *KinesisVideoWebRTCStorage { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "kinesisvideo" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *KinesisVideoWebRTCStorage { + svc := &KinesisVideoWebRTCStorage{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2018-05-10", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a KinesisVideoWebRTCStorage operation and runs any +// custom request initialization. +func (c *KinesisVideoWebRTCStorage) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/rds/api.go b/service/rds/api.go index f57db7748e6..502931c27e0 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -21189,7 +21189,7 @@ type CreateDBInstanceInput struct { // Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) // in the Amazon RDS User Guide. // - // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing) + // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) // in the Amazon Web Services Outposts User Guide. EnableCustomerOwnedIp *bool `type:"boolean"` @@ -22258,6 +22258,22 @@ type CreateDBInstanceReadReplicaInput struct { // This setting doesn't apply to RDS Custom. EnableCloudwatchLogsExports []*string `type:"list"` + // A value that indicates whether to enable a customer-owned IP address (CoIP) + // for an RDS on Outposts read replica. + // + // A CoIP provides local or external connectivity to resources in your Outpost + // subnets through your on-premises network. For some use cases, a CoIP can + // provide lower latency for connections to the read replica from outside of + // its virtual private cloud (VPC) on your local network. + // + // For more information about RDS on Outposts, see Working with Amazon RDS on + // Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + // in the Amazon RDS User Guide. + // + // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + // in the Amazon Web Services Outposts User Guide. + EnableCustomerOwnedIp *bool `type:"boolean"` + // A value that indicates whether to enable mapping of Amazon Web Services Identity // and Access Management (IAM) accounts to database accounts. By default, mapping // isn't enabled. @@ -22707,6 +22723,12 @@ func (s *CreateDBInstanceReadReplicaInput) SetEnableCloudwatchLogsExports(v []*s return s } +// SetEnableCustomerOwnedIp sets the EnableCustomerOwnedIp field's value. +func (s *CreateDBInstanceReadReplicaInput) SetEnableCustomerOwnedIp(v bool) *CreateDBInstanceReadReplicaInput { + s.EnableCustomerOwnedIp = &v + return s +} + // SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. func (s *CreateDBInstanceReadReplicaInput) SetEnableIAMDatabaseAuthentication(v bool) *CreateDBInstanceReadReplicaInput { s.EnableIAMDatabaseAuthentication = &v @@ -26230,7 +26252,7 @@ type DBInstance struct { // Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) // in the Amazon RDS User Guide. // - // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing) + // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) // in the Amazon Web Services Outposts User Guide. CustomerOwnedIpEnabled *bool `type:"boolean"` @@ -40605,15 +40627,15 @@ type ModifyDBInstanceInput struct { // The new compute and memory capacity of the DB instance, for example db.m4.large. // Not all DB instance classes are available in all Amazon Web Services Regions, // or for all database engines. For the full list of DB instance classes, and - // availability for your engine, see DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // availability for your engine, see DB Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) // in the Amazon RDS User Guide or Aurora DB instance classes (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html) - // in the Amazon Aurora User Guide. + // in the Amazon Aurora User Guide. For RDS Custom, see DB instance class support + // for RDS Custom for Oracle (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.instances) + // and DB instance class support for RDS Custom for SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html#custom-reqs-limits.instancesMS). // // If you modify the DB instance class, an outage occurs during the change. - // The change is applied during the next maintenance window, unless ApplyImmediately - // is enabled for this request. - // - // This setting doesn't apply to RDS Custom for Oracle. + // The change is applied during the next maintenance window, unless you specify + // ApplyImmediately in your request. // // Default: Uses existing setting DBInstanceClass *string `type:"string"` @@ -40756,7 +40778,7 @@ type ModifyDBInstanceInput struct { // Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) // in the Amazon RDS User Guide. // - // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing) + // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) // in the Amazon Web Services Outposts User Guide. EnableCustomerOwnedIp *bool `type:"boolean"` @@ -48191,7 +48213,7 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) // in the Amazon RDS User Guide. // - // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing) + // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) // in the Amazon Web Services Outposts User Guide. EnableCustomerOwnedIp *bool `type:"boolean"` @@ -49514,7 +49536,7 @@ type RestoreDBInstanceToPointInTimeInput struct { // Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) // in the Amazon RDS User Guide. // - // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing) + // For more information about CoIPs, see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) // in the Amazon Web Services Outposts User Guide. EnableCustomerOwnedIp *bool `type:"boolean"` diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 7b0737c7468..aed506db26c 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -14308,6 +14308,141 @@ func (c *SageMaker) ListAlgorithmsPagesWithContext(ctx aws.Context, input *ListA return p.Err() } +const opListAliases = "ListAliases" + +// ListAliasesRequest generates a "aws/request.Request" representing the +// client's request for the ListAliases 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 ListAliases for more information on using the ListAliases +// 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 ListAliasesRequest method. +// req, resp := client.ListAliasesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAliases +func (c *SageMaker) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) { + op := &request.Operation{ + Name: opListAliases, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAliasesInput{} + } + + output = &ListAliasesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAliases API operation for Amazon SageMaker Service. +// +// Lists the aliases of a specified image or image 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 SageMaker Service's +// API operation ListAliases for usage and error information. +// +// Returned Error Types: +// - ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAliases +func (c *SageMaker) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { + req, out := c.ListAliasesRequest(input) + return out, req.Send() +} + +// ListAliasesWithContext is the same as ListAliases with the addition of +// the ability to pass a context and additional request options. +// +// See ListAliases 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 *SageMaker) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInput, opts ...request.Option) (*ListAliasesOutput, error) { + req, out := c.ListAliasesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAliasesPages iterates over the pages of a ListAliases operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAliases 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 ListAliases operation. +// pageNum := 0 +// err := client.ListAliasesPages(params, +// func(page *sagemaker.ListAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *SageMaker) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error { + return c.ListAliasesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAliasesPagesWithContext same as ListAliasesPages 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 *SageMaker) ListAliasesPagesWithContext(ctx aws.Context, input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAliasesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAliasesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAliasesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAppImageConfigs = "ListAppImageConfigs" // ListAppImageConfigsRequest generates a "aws/request.Request" representing the @@ -26669,6 +26804,88 @@ func (c *SageMaker) UpdateImageWithContext(ctx aws.Context, input *UpdateImageIn return out, req.Send() } +const opUpdateImageVersion = "UpdateImageVersion" + +// UpdateImageVersionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateImageVersion 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 UpdateImageVersion for more information on using the UpdateImageVersion +// 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 UpdateImageVersionRequest method. +// req, resp := client.UpdateImageVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageVersion +func (c *SageMaker) UpdateImageVersionRequest(input *UpdateImageVersionInput) (req *request.Request, output *UpdateImageVersionOutput) { + op := &request.Operation{ + Name: opUpdateImageVersion, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateImageVersionInput{} + } + + output = &UpdateImageVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateImageVersion API operation for Amazon SageMaker Service. +// +// Updates the properties of a SageMaker image 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 SageMaker Service's +// API operation UpdateImageVersion for usage and error information. +// +// Returned Error Types: +// +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImageVersion +func (c *SageMaker) UpdateImageVersion(input *UpdateImageVersionInput) (*UpdateImageVersionOutput, error) { + req, out := c.UpdateImageVersionRequest(input) + return out, req.Send() +} + +// UpdateImageVersionWithContext is the same as UpdateImageVersion with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateImageVersion 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 *SageMaker) UpdateImageVersionWithContext(ctx aws.Context, input *UpdateImageVersionInput, opts ...request.Option) (*UpdateImageVersionOutput, error) { + req, out := c.UpdateImageVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateInferenceExperiment = "UpdateInferenceExperiment" // UpdateInferenceExperimentRequest generates a "aws/request.Request" representing the @@ -39489,8 +39706,8 @@ type CreateImageInput struct { // ImageName is a required field ImageName *string `min:"1" type:"string" required:"true"` - // The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker - // to perform tasks on your behalf. + // The ARN of an IAM role that enables Amazon SageMaker to perform tasks on + // your behalf. // // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` @@ -39588,7 +39805,7 @@ func (s *CreateImageInput) SetTags(v []*Tag) *CreateImageInput { type CreateImageOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the image. + // The ARN of the image. ImageArn *string `type:"string"` } @@ -39619,6 +39836,9 @@ func (s *CreateImageOutput) SetImageArn(v string) *CreateImageOutput { type CreateImageVersionInput struct { _ struct{} `type:"structure"` + // A list of aliases created with the image version. + Aliases []*string `type:"list"` + // The registry path of the container image to use as the starting point for // this version. The path is an Amazon Elastic Container Registry (ECR) URI // in the following format: @@ -39633,10 +39853,55 @@ type CreateImageVersionInput struct { // the call. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + // Indicates Horovod compatibility. + Horovod *bool `type:"boolean"` + // The ImageName of the Image to create a version of. // // ImageName is a required field ImageName *string `min:"1" type:"string" required:"true"` + + // Indicates SageMaker job type compatibility. + // + // * TRAINING: The image version is compatible with SageMaker training jobs. + // + // * INFERENCE: The image version is compatible with SageMaker inference + // jobs. + // + // * NOTEBOOK_KERNEL: The image version is compatible with SageMaker notebook + // kernels. + JobType *string `type:"string" enum:"JobType"` + + // The machine learning framework vended in the image version. + MLFramework *string `min:"1" type:"string"` + + // Indicates CPU or GPU compatibility. + // + // * CPU: The image version is compatible with CPU. + // + // * GPU: The image version is compatible with GPU. + Processor *string `type:"string" enum:"Processor"` + + // The supported programming language and its version. + ProgrammingLang *string `min:"1" type:"string"` + + // The maintainer description of the image version. + ReleaseNotes *string `min:"1" type:"string"` + + // The stability of the image version, specified by the maintainer. + // + // * NOT_PROVIDED: The maintainers did not provide a status for image version + // stability. + // + // * STABLE: The image version is stable. + // + // * TO_BE_ARCHIVED: The image version is set to be archived. Custom image + // versions that are set to be archived are automatically archived after + // three months. + // + // * ARCHIVED: The image version is archived. Archived image versions are + // not searchable and are no longer actively supported. + VendorGuidance *string `type:"string" enum:"VendorGuidance"` } // String returns the string representation. @@ -39675,6 +39940,15 @@ func (s *CreateImageVersionInput) Validate() error { if s.ImageName != nil && len(*s.ImageName) < 1 { invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) } + if s.MLFramework != nil && len(*s.MLFramework) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MLFramework", 1)) + } + if s.ProgrammingLang != nil && len(*s.ProgrammingLang) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProgrammingLang", 1)) + } + if s.ReleaseNotes != nil && len(*s.ReleaseNotes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ReleaseNotes", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -39682,6 +39956,12 @@ func (s *CreateImageVersionInput) Validate() error { return nil } +// SetAliases sets the Aliases field's value. +func (s *CreateImageVersionInput) SetAliases(v []*string) *CreateImageVersionInput { + s.Aliases = v + return s +} + // SetBaseImage sets the BaseImage field's value. func (s *CreateImageVersionInput) SetBaseImage(v string) *CreateImageVersionInput { s.BaseImage = &v @@ -39694,16 +39974,58 @@ func (s *CreateImageVersionInput) SetClientToken(v string) *CreateImageVersionIn return s } +// SetHorovod sets the Horovod field's value. +func (s *CreateImageVersionInput) SetHorovod(v bool) *CreateImageVersionInput { + s.Horovod = &v + return s +} + // SetImageName sets the ImageName field's value. func (s *CreateImageVersionInput) SetImageName(v string) *CreateImageVersionInput { s.ImageName = &v return s } +// SetJobType sets the JobType field's value. +func (s *CreateImageVersionInput) SetJobType(v string) *CreateImageVersionInput { + s.JobType = &v + return s +} + +// SetMLFramework sets the MLFramework field's value. +func (s *CreateImageVersionInput) SetMLFramework(v string) *CreateImageVersionInput { + s.MLFramework = &v + return s +} + +// SetProcessor sets the Processor field's value. +func (s *CreateImageVersionInput) SetProcessor(v string) *CreateImageVersionInput { + s.Processor = &v + return s +} + +// SetProgrammingLang sets the ProgrammingLang field's value. +func (s *CreateImageVersionInput) SetProgrammingLang(v string) *CreateImageVersionInput { + s.ProgrammingLang = &v + return s +} + +// SetReleaseNotes sets the ReleaseNotes field's value. +func (s *CreateImageVersionInput) SetReleaseNotes(v string) *CreateImageVersionInput { + s.ReleaseNotes = &v + return s +} + +// SetVendorGuidance sets the VendorGuidance field's value. +func (s *CreateImageVersionInput) SetVendorGuidance(v string) *CreateImageVersionInput { + s.VendorGuidance = &v + return s +} + type CreateImageVersionOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the image version. + // The ARN of the image version. ImageVersionArn *string `type:"string"` } @@ -48378,15 +48700,16 @@ func (s DeleteImageOutput) GoString() string { type DeleteImageVersionInput struct { _ struct{} `type:"structure"` - // The name of the image. + // The alias of the image to delete. + Alias *string `min:"1" type:"string"` + + // The name of the image to delete. // // ImageName is a required field ImageName *string `min:"1" type:"string" required:"true"` // The version to delete. - // - // Version is a required field - Version *int64 `type:"integer" required:"true"` + Version *int64 `type:"integer"` } // String returns the string representation. @@ -48410,15 +48733,15 @@ func (s DeleteImageVersionInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DeleteImageVersionInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeleteImageVersionInput"} + if s.Alias != nil && len(*s.Alias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) + } if s.ImageName == nil { invalidParams.Add(request.NewErrParamRequired("ImageName")) } if s.ImageName != nil && len(*s.ImageName) < 1 { invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) } - if s.Version == nil { - invalidParams.Add(request.NewErrParamRequired("Version")) - } if invalidParams.Len() > 0 { return invalidParams @@ -48426,6 +48749,12 @@ func (s *DeleteImageVersionInput) Validate() error { return nil } +// SetAlias sets the Alias field's value. +func (s *DeleteImageVersionInput) SetAlias(v string) *DeleteImageVersionInput { + s.Alias = &v + return s +} + // SetImageName sets the ImageName field's value. func (s *DeleteImageVersionInput) SetImageName(v string) *DeleteImageVersionInput { s.ImageName = &v @@ -55487,7 +55816,7 @@ type DescribeImageOutput struct { // When a create, update, or delete operation fails, the reason for the failure. FailureReason *string `type:"string"` - // The Amazon Resource Name (ARN) of the image. + // The ARN of the image. ImageArn *string `type:"string"` // The name of the image. @@ -55499,8 +55828,8 @@ type DescribeImageOutput struct { // When the image was last modified. LastModifiedTime *time.Time `type:"timestamp"` - // The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker - // to perform tasks on your behalf. + // The ARN of the IAM role that enables Amazon SageMaker to perform tasks on + // your behalf. RoleArn *string `min:"20" type:"string"` } @@ -55579,6 +55908,9 @@ func (s *DescribeImageOutput) SetRoleArn(v string) *DescribeImageOutput { type DescribeImageVersionInput struct { _ struct{} `type:"structure"` + // The alias of the image version. + Alias *string `min:"1" type:"string"` + // The name of the image. // // ImageName is a required field @@ -55609,6 +55941,9 @@ func (s DescribeImageVersionInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DescribeImageVersionInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DescribeImageVersionInput"} + if s.Alias != nil && len(*s.Alias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) + } if s.ImageName == nil { invalidParams.Add(request.NewErrParamRequired("ImageName")) } @@ -55622,6 +55957,12 @@ func (s *DescribeImageVersionInput) Validate() error { return nil } +// SetAlias sets the Alias field's value. +func (s *DescribeImageVersionInput) SetAlias(v string) *DescribeImageVersionInput { + s.Alias = &v + return s +} + // SetImageName sets the ImageName field's value. func (s *DescribeImageVersionInput) SetImageName(v string) *DescribeImageVersionInput { s.ImageName = &v @@ -55649,7 +55990,10 @@ type DescribeImageVersionOutput struct { // When a create or delete operation fails, the reason for the failure. FailureReason *string `type:"string"` - // The Amazon Resource Name (ARN) of the image the version is based on. + // Indicates Horovod compatibility. + Horovod *bool `type:"boolean"` + + // The ARN of the image the version is based on. ImageArn *string `type:"string"` // The ARN of the version. @@ -55658,9 +56002,51 @@ type DescribeImageVersionOutput struct { // The status of the version. ImageVersionStatus *string `type:"string" enum:"ImageVersionStatus"` + // Indicates SageMaker job type compatibility. + // + // * TRAINING: The image version is compatible with SageMaker training jobs. + // + // * INFERENCE: The image version is compatible with SageMaker inference + // jobs. + // + // * NOTEBOOK_KERNEL: The image version is compatible with SageMaker notebook + // kernels. + JobType *string `type:"string" enum:"JobType"` + // When the version was last modified. LastModifiedTime *time.Time `type:"timestamp"` + // The machine learning framework vended in the image version. + MLFramework *string `min:"1" type:"string"` + + // Indicates CPU or GPU compatibility. + // + // * CPU: The image version is compatible with CPU. + // + // * GPU: The image version is compatible with GPU. + Processor *string `type:"string" enum:"Processor"` + + // The supported programming language and its version. + ProgrammingLang *string `min:"1" type:"string"` + + // The maintainer description of the image version. + ReleaseNotes *string `min:"1" type:"string"` + + // The stability of the image version specified by the maintainer. + // + // * NOT_PROVIDED: The maintainers did not provide a status for image version + // stability. + // + // * STABLE: The image version is stable. + // + // * TO_BE_ARCHIVED: The image version is set to be archived. Custom image + // versions that are set to be archived are automatically archived after + // three months. + // + // * ARCHIVED: The image version is archived. Archived image versions are + // not searchable and are no longer actively supported. + VendorGuidance *string `type:"string" enum:"VendorGuidance"` + // The version number. Version *int64 `type:"integer"` } @@ -55707,6 +56093,12 @@ func (s *DescribeImageVersionOutput) SetFailureReason(v string) *DescribeImageVe return s } +// SetHorovod sets the Horovod field's value. +func (s *DescribeImageVersionOutput) SetHorovod(v bool) *DescribeImageVersionOutput { + s.Horovod = &v + return s +} + // SetImageArn sets the ImageArn field's value. func (s *DescribeImageVersionOutput) SetImageArn(v string) *DescribeImageVersionOutput { s.ImageArn = &v @@ -55725,12 +56117,48 @@ func (s *DescribeImageVersionOutput) SetImageVersionStatus(v string) *DescribeIm return s } +// SetJobType sets the JobType field's value. +func (s *DescribeImageVersionOutput) SetJobType(v string) *DescribeImageVersionOutput { + s.JobType = &v + return s +} + // SetLastModifiedTime sets the LastModifiedTime field's value. func (s *DescribeImageVersionOutput) SetLastModifiedTime(v time.Time) *DescribeImageVersionOutput { s.LastModifiedTime = &v return s } +// SetMLFramework sets the MLFramework field's value. +func (s *DescribeImageVersionOutput) SetMLFramework(v string) *DescribeImageVersionOutput { + s.MLFramework = &v + return s +} + +// SetProcessor sets the Processor field's value. +func (s *DescribeImageVersionOutput) SetProcessor(v string) *DescribeImageVersionOutput { + s.Processor = &v + return s +} + +// SetProgrammingLang sets the ProgrammingLang field's value. +func (s *DescribeImageVersionOutput) SetProgrammingLang(v string) *DescribeImageVersionOutput { + s.ProgrammingLang = &v + return s +} + +// SetReleaseNotes sets the ReleaseNotes field's value. +func (s *DescribeImageVersionOutput) SetReleaseNotes(v string) *DescribeImageVersionOutput { + s.ReleaseNotes = &v + return s +} + +// SetVendorGuidance sets the VendorGuidance field's value. +func (s *DescribeImageVersionOutput) SetVendorGuidance(v string) *DescribeImageVersionOutput { + s.VendorGuidance = &v + return s +} + // SetVersion sets the Version field's value. func (s *DescribeImageVersionOutput) SetVersion(v int64) *DescribeImageVersionOutput { s.Version = &v @@ -70630,7 +71058,7 @@ type Image struct { // When a create, update, or delete operation fails, the reason for the failure. FailureReason *string `type:"string"` - // The Amazon Resource Name (ARN) of the image. + // The ARN of the image. // // ImageArn is a required field ImageArn *string `type:"string" required:"true"` @@ -70801,7 +71229,7 @@ type ImageVersion struct { // When a create or delete operation fails, the reason for the failure. FailureReason *string `type:"string"` - // The Amazon Resource Name (ARN) of the image the version is based on. + // The ARN of the image the version is based on. // // ImageArn is a required field ImageArn *string `type:"string" required:"true"` @@ -74039,6 +74467,139 @@ func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput { return s } +type ListAliasesInput struct { + _ struct{} `type:"structure"` + + // The alias of the image version. + Alias *string `min:"1" type:"string"` + + // The name of the image. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // The maximum number of aliases to return. + MaxResults *int64 `min:"1" type:"integer"` + + // If the previous call to ListAliases didn't return the full set of aliases, + // the call returns a token for retrieving the next set of aliases. + NextToken *string `type:"string"` + + // The version of the image. If image version is not specified, the aliases + // of all versions of the image are listed. + Version *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 ListAliasesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAliasesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAliasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAliasesInput"} + if s.Alias != nil && len(*s.Alias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) + } + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAlias sets the Alias field's value. +func (s *ListAliasesInput) SetAlias(v string) *ListAliasesInput { + s.Alias = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *ListAliasesInput) SetImageName(v string) *ListAliasesInput { + s.ImageName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAliasesInput) SetMaxResults(v int64) *ListAliasesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput { + s.NextToken = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *ListAliasesInput) SetVersion(v int64) *ListAliasesInput { + s.Version = &v + return s +} + +type ListAliasesOutput struct { + _ struct{} `type:"structure"` + + // A token for getting the next set of aliases, if more aliases exist. + NextToken *string `type:"string"` + + // A list of SageMaker image version aliases. + SageMakerImageVersionAliases []*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 ListAliasesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAliasesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput { + s.NextToken = &v + return s +} + +// SetSageMakerImageVersionAliases sets the SageMakerImageVersionAliases field's value. +func (s *ListAliasesOutput) SetSageMakerImageVersionAliases(v []*string) *ListAliasesOutput { + s.SageMakerImageVersionAliases = v + return s +} + type ListAppImageConfigsInput struct { _ struct{} `type:"structure"` @@ -108259,8 +108820,8 @@ type UpdateImageInput struct { // ImageName is a required field ImageName *string `min:"1" type:"string" required:"true"` - // The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker - // to perform tasks on your behalf. + // The new ARN for the IAM role that enables Amazon SageMaker to perform tasks + // on your behalf. RoleArn *string `min:"20" type:"string"` } @@ -108340,7 +108901,7 @@ func (s *UpdateImageInput) SetRoleArn(v string) *UpdateImageInput { type UpdateImageOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the image. + // The ARN of the image. ImageArn *string `type:"string"` } @@ -108368,6 +108929,221 @@ func (s *UpdateImageOutput) SetImageArn(v string) *UpdateImageOutput { return s } +type UpdateImageVersionInput struct { + _ struct{} `type:"structure"` + + // The alias of the image version. + Alias *string `min:"1" type:"string"` + + // A list of aliases to add. + AliasesToAdd []*string `type:"list"` + + // A list of aliases to delete. + AliasesToDelete []*string `type:"list"` + + // Indicates Horovod compatibility. + Horovod *bool `type:"boolean"` + + // The name of the image. + // + // ImageName is a required field + ImageName *string `min:"1" type:"string" required:"true"` + + // Indicates SageMaker job type compatibility. + // + // * TRAINING: The image version is compatible with SageMaker training jobs. + // + // * INFERENCE: The image version is compatible with SageMaker inference + // jobs. + // + // * NOTEBOOK_KERNEL: The image version is compatible with SageMaker notebook + // kernels. + JobType *string `type:"string" enum:"JobType"` + + // The machine learning framework vended in the image version. + MLFramework *string `min:"1" type:"string"` + + // Indicates CPU or GPU compatibility. + // + // * CPU: The image version is compatible with CPU. + // + // * GPU: The image version is compatible with GPU. + Processor *string `type:"string" enum:"Processor"` + + // The supported programming language and its version. + ProgrammingLang *string `min:"1" type:"string"` + + // The maintainer description of the image version. + ReleaseNotes *string `min:"1" type:"string"` + + // The availability of the image version specified by the maintainer. + // + // * NOT_PROVIDED: The maintainers did not provide a status for image version + // stability. + // + // * STABLE: The image version is stable. + // + // * TO_BE_ARCHIVED: The image version is set to be archived. Custom image + // versions that are set to be archived are automatically archived after + // three months. + // + // * ARCHIVED: The image version is archived. Archived image versions are + // not searchable and are no longer actively supported. + VendorGuidance *string `type:"string" enum:"VendorGuidance"` + + // The version of the image. + Version *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 UpdateImageVersionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateImageVersionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateImageVersionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateImageVersionInput"} + if s.Alias != nil && len(*s.Alias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) + } + if s.ImageName == nil { + invalidParams.Add(request.NewErrParamRequired("ImageName")) + } + if s.ImageName != nil && len(*s.ImageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ImageName", 1)) + } + if s.MLFramework != nil && len(*s.MLFramework) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MLFramework", 1)) + } + if s.ProgrammingLang != nil && len(*s.ProgrammingLang) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProgrammingLang", 1)) + } + if s.ReleaseNotes != nil && len(*s.ReleaseNotes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ReleaseNotes", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAlias sets the Alias field's value. +func (s *UpdateImageVersionInput) SetAlias(v string) *UpdateImageVersionInput { + s.Alias = &v + return s +} + +// SetAliasesToAdd sets the AliasesToAdd field's value. +func (s *UpdateImageVersionInput) SetAliasesToAdd(v []*string) *UpdateImageVersionInput { + s.AliasesToAdd = v + return s +} + +// SetAliasesToDelete sets the AliasesToDelete field's value. +func (s *UpdateImageVersionInput) SetAliasesToDelete(v []*string) *UpdateImageVersionInput { + s.AliasesToDelete = v + return s +} + +// SetHorovod sets the Horovod field's value. +func (s *UpdateImageVersionInput) SetHorovod(v bool) *UpdateImageVersionInput { + s.Horovod = &v + return s +} + +// SetImageName sets the ImageName field's value. +func (s *UpdateImageVersionInput) SetImageName(v string) *UpdateImageVersionInput { + s.ImageName = &v + return s +} + +// SetJobType sets the JobType field's value. +func (s *UpdateImageVersionInput) SetJobType(v string) *UpdateImageVersionInput { + s.JobType = &v + return s +} + +// SetMLFramework sets the MLFramework field's value. +func (s *UpdateImageVersionInput) SetMLFramework(v string) *UpdateImageVersionInput { + s.MLFramework = &v + return s +} + +// SetProcessor sets the Processor field's value. +func (s *UpdateImageVersionInput) SetProcessor(v string) *UpdateImageVersionInput { + s.Processor = &v + return s +} + +// SetProgrammingLang sets the ProgrammingLang field's value. +func (s *UpdateImageVersionInput) SetProgrammingLang(v string) *UpdateImageVersionInput { + s.ProgrammingLang = &v + return s +} + +// SetReleaseNotes sets the ReleaseNotes field's value. +func (s *UpdateImageVersionInput) SetReleaseNotes(v string) *UpdateImageVersionInput { + s.ReleaseNotes = &v + return s +} + +// SetVendorGuidance sets the VendorGuidance field's value. +func (s *UpdateImageVersionInput) SetVendorGuidance(v string) *UpdateImageVersionInput { + s.VendorGuidance = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *UpdateImageVersionInput) SetVersion(v int64) *UpdateImageVersionInput { + s.Version = &v + return s +} + +type UpdateImageVersionOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the image version. + ImageVersionArn *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 UpdateImageVersionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateImageVersionOutput) GoString() string { + return s.String() +} + +// SetImageVersionArn sets the ImageVersionArn field's value. +func (s *UpdateImageVersionOutput) SetImageVersionArn(v string) *UpdateImageVersionOutput { + s.ImageVersionArn = &v + return s +} + type UpdateInferenceExperimentInput struct { _ struct{} `type:"structure"` @@ -114464,6 +115240,26 @@ func InstanceType_Values() []string { } } +const ( + // JobTypeTraining is a JobType enum value + JobTypeTraining = "TRAINING" + + // JobTypeInference is a JobType enum value + JobTypeInference = "INFERENCE" + + // JobTypeNotebookKernel is a JobType enum value + JobTypeNotebookKernel = "NOTEBOOK_KERNEL" +) + +// JobType_Values returns all elements of the JobType enum +func JobType_Values() []string { + return []string{ + JobTypeTraining, + JobTypeInference, + JobTypeNotebookKernel, + } +} + const ( // JoinSourceInput is a JoinSource enum value JoinSourceInput = "Input" @@ -115905,6 +116701,22 @@ func ProcessingS3UploadMode_Values() []string { } } +const ( + // ProcessorCpu is a Processor enum value + ProcessorCpu = "CPU" + + // ProcessorGpu is a Processor enum value + ProcessorGpu = "GPU" +) + +// Processor_Values returns all elements of the Processor enum +func Processor_Values() []string { + return []string{ + ProcessorCpu, + ProcessorGpu, + } +} + const ( // ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium" @@ -118347,6 +119159,30 @@ func VariantStatus_Values() []string { } } +const ( + // VendorGuidanceNotProvided is a VendorGuidance enum value + VendorGuidanceNotProvided = "NOT_PROVIDED" + + // VendorGuidanceStable is a VendorGuidance enum value + VendorGuidanceStable = "STABLE" + + // VendorGuidanceToBeArchived is a VendorGuidance enum value + VendorGuidanceToBeArchived = "TO_BE_ARCHIVED" + + // VendorGuidanceArchived is a VendorGuidance enum value + VendorGuidanceArchived = "ARCHIVED" +) + +// VendorGuidance_Values returns all elements of the VendorGuidance enum +func VendorGuidance_Values() []string { + return []string{ + VendorGuidanceNotProvided, + VendorGuidanceStable, + VendorGuidanceToBeArchived, + VendorGuidanceArchived, + } +} + const ( // WarmPoolResourceStatusAvailable is a WarmPoolResourceStatus enum value WarmPoolResourceStatusAvailable = "Available" diff --git a/service/sagemaker/sagemakeriface/interface.go b/service/sagemaker/sagemakeriface/interface.go index e26a66279fe..bfd4ff0c488 100644 --- a/service/sagemaker/sagemakeriface/interface.go +++ b/service/sagemaker/sagemakeriface/interface.go @@ -750,6 +750,13 @@ type SageMakerAPI interface { ListAlgorithmsPages(*sagemaker.ListAlgorithmsInput, func(*sagemaker.ListAlgorithmsOutput, bool) bool) error ListAlgorithmsPagesWithContext(aws.Context, *sagemaker.ListAlgorithmsInput, func(*sagemaker.ListAlgorithmsOutput, bool) bool, ...request.Option) error + ListAliases(*sagemaker.ListAliasesInput) (*sagemaker.ListAliasesOutput, error) + ListAliasesWithContext(aws.Context, *sagemaker.ListAliasesInput, ...request.Option) (*sagemaker.ListAliasesOutput, error) + ListAliasesRequest(*sagemaker.ListAliasesInput) (*request.Request, *sagemaker.ListAliasesOutput) + + ListAliasesPages(*sagemaker.ListAliasesInput, func(*sagemaker.ListAliasesOutput, bool) bool) error + ListAliasesPagesWithContext(aws.Context, *sagemaker.ListAliasesInput, func(*sagemaker.ListAliasesOutput, bool) bool, ...request.Option) error + ListAppImageConfigs(*sagemaker.ListAppImageConfigsInput) (*sagemaker.ListAppImageConfigsOutput, error) ListAppImageConfigsWithContext(aws.Context, *sagemaker.ListAppImageConfigsInput, ...request.Option) (*sagemaker.ListAppImageConfigsOutput, error) ListAppImageConfigsRequest(*sagemaker.ListAppImageConfigsInput) (*request.Request, *sagemaker.ListAppImageConfigsOutput) @@ -1391,6 +1398,10 @@ type SageMakerAPI interface { UpdateImageWithContext(aws.Context, *sagemaker.UpdateImageInput, ...request.Option) (*sagemaker.UpdateImageOutput, error) UpdateImageRequest(*sagemaker.UpdateImageInput) (*request.Request, *sagemaker.UpdateImageOutput) + UpdateImageVersion(*sagemaker.UpdateImageVersionInput) (*sagemaker.UpdateImageVersionOutput, error) + UpdateImageVersionWithContext(aws.Context, *sagemaker.UpdateImageVersionInput, ...request.Option) (*sagemaker.UpdateImageVersionOutput, error) + UpdateImageVersionRequest(*sagemaker.UpdateImageVersionInput) (*request.Request, *sagemaker.UpdateImageVersionOutput) + UpdateInferenceExperiment(*sagemaker.UpdateInferenceExperimentInput) (*sagemaker.UpdateInferenceExperimentOutput, error) UpdateInferenceExperimentWithContext(aws.Context, *sagemaker.UpdateInferenceExperimentInput, ...request.Option) (*sagemaker.UpdateInferenceExperimentOutput, error) UpdateInferenceExperimentRequest(*sagemaker.UpdateInferenceExperimentInput) (*request.Request, *sagemaker.UpdateInferenceExperimentOutput)