From d5034abd8f40d47764d7084dc2f6bb75ba3f172a Mon Sep 17 00:00:00 2001 From: AWS SDK For Ruby Date: Wed, 26 Jun 2024 18:13:10 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/controltower/2018-05-10/api-2.json | 73 +++- apis/controltower/2018-05-10/docs-2.json | 97 +++-- .../controltower/2018-05-10/paginators-1.json | 6 + apis/eks/2017-11-01/api-2.json | 3 +- apis/eks/2017-11-01/docs-2.json | 1 + apis/ivs-realtime/2020-07-14/api-2.json | 180 ++++++++- apis/ivs-realtime/2020-07-14/docs-2.json | 151 +++++++- .../ivs-realtime/2020-07-14/paginators-1.json | 6 + apis/kinesisanalyticsv2/2018-05-23/api-2.json | 193 +++++++++- .../kinesisanalyticsv2/2018-05-23/docs-2.json | 140 ++++++- .../2018-05-23/paginators-1.json | 24 ++ apis/opensearch/2021-01-01/api-2.json | 63 +++- apis/opensearch/2021-01-01/docs-2.json | 46 +++ gems/aws-sdk-controltower/CHANGELOG.md | 5 + gems/aws-sdk-controltower/VERSION | 2 +- .../lib/aws-sdk-controltower.rb | 2 +- .../lib/aws-sdk-controltower/client.rb | 134 +++++-- .../lib/aws-sdk-controltower/client_api.rb | 52 +++ .../lib/aws-sdk-controltower/endpoints.rb | 14 + .../aws-sdk-controltower/plugins/endpoints.rb | 2 + .../lib/aws-sdk-controltower/types.rb | 129 ++++++- gems/aws-sdk-controltower/sig/client.rbs | 16 + gems/aws-sdk-controltower/sig/types.rbs | 27 ++ gems/aws-sdk-eks/CHANGELOG.md | 5 + gems/aws-sdk-eks/VERSION | 2 +- gems/aws-sdk-eks/lib/aws-sdk-eks.rb | 2 +- gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb | 13 +- .../aws-sdk-eks/lib/aws-sdk-eks/client_api.rb | 1 + gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb | 14 +- gems/aws-sdk-eks/sig/client.rbs | 3 +- gems/aws-sdk-eks/sig/types.rbs | 1 + gems/aws-sdk-ivsrealtime/CHANGELOG.md | 5 + gems/aws-sdk-ivsrealtime/VERSION | 2 +- .../lib/aws-sdk-ivsrealtime.rb | 2 +- .../lib/aws-sdk-ivsrealtime/client.rb | 167 +++++++- .../lib/aws-sdk-ivsrealtime/client_api.rb | 119 +++++- .../lib/aws-sdk-ivsrealtime/endpoints.rb | 56 +++ .../aws-sdk-ivsrealtime/plugins/endpoints.rb | 8 + .../lib/aws-sdk-ivsrealtime/types.rb | 286 ++++++++++++-- gems/aws-sdk-ivsrealtime/sig/client.rbs | 43 +++ gems/aws-sdk-ivsrealtime/sig/types.rbs | 65 ++++ gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md | 5 + gems/aws-sdk-kinesisanalyticsv2/VERSION | 2 +- .../lib/aws-sdk-kinesisanalyticsv2.rb | 2 +- .../lib/aws-sdk-kinesisanalyticsv2/client.rb | 157 +++++++- .../aws-sdk-kinesisanalyticsv2/client_api.rb | 132 +++++++ .../aws-sdk-kinesisanalyticsv2/endpoints.rb | 28 ++ .../plugins/endpoints.rb | 4 + .../lib/aws-sdk-kinesisanalyticsv2/types.rb | 357 +++++++++++++++++- .../aws-sdk-kinesisanalyticsv2/sig/client.rbs | 40 ++ gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs | 95 ++++- gems/aws-sdk-opensearchservice/CHANGELOG.md | 5 + gems/aws-sdk-opensearchservice/VERSION | 2 +- .../lib/aws-sdk-opensearchservice.rb | 2 +- .../lib/aws-sdk-opensearchservice/client.rb | 42 ++- .../aws-sdk-opensearchservice/client_api.rb | 28 ++ .../lib/aws-sdk-opensearchservice/types.rb | 119 +++++- gems/aws-sdk-opensearchservice/sig/client.rbs | 10 + gems/aws-sdk-opensearchservice/sig/types.rbs | 31 ++ 59 files changed, 3040 insertions(+), 181 deletions(-) diff --git a/apis/controltower/2018-05-10/api-2.json b/apis/controltower/2018-05-10/api-2.json index 2e849db44d9..8472292135f 100644 --- a/apis/controltower/2018-05-10/api-2.json +++ b/apis/controltower/2018-05-10/api-2.json @@ -10,7 +10,8 @@ "serviceId":"ControlTower", "signatureVersion":"v4", "signingName":"controltower", - "uid":"controltower-2018-05-10" + "uid":"controltower-2018-05-10", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreateLandingZone":{ @@ -310,6 +311,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "ListLandingZoneOperations":{ + "name":"ListLandingZoneOperations", + "http":{ + "method":"POST", + "requestUri":"/list-landingzone-operations", + "responseCode":200 + }, + "input":{"shape":"ListLandingZoneOperationsInput"}, + "output":{"shape":"ListLandingZoneOperationsOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"} + ] + }, "ListLandingZones":{ "name":"ListLandingZones", "http":{ @@ -1107,12 +1124,20 @@ "type":"structure", "members":{ "endTime":{"shape":"Timestamp"}, + "operationIdentifier":{"shape":"OperationIdentifier"}, "operationType":{"shape":"LandingZoneOperationType"}, "startTime":{"shape":"Timestamp"}, "status":{"shape":"LandingZoneOperationStatus"}, "statusMessage":{"shape":"String"} } }, + "LandingZoneOperationFilter":{ + "type":"structure", + "members":{ + "statuses":{"shape":"LandingZoneOperationStatuses"}, + "types":{"shape":"LandingZoneOperationTypes"} + } + }, "LandingZoneOperationStatus":{ "type":"string", "enum":[ @@ -1121,6 +1146,20 @@ "IN_PROGRESS" ] }, + "LandingZoneOperationStatuses":{ + "type":"list", + "member":{"shape":"LandingZoneOperationStatus"}, + "max":1, + "min":1 + }, + "LandingZoneOperationSummary":{ + "type":"structure", + "members":{ + "operationIdentifier":{"shape":"OperationIdentifier"}, + "operationType":{"shape":"LandingZoneOperationType"}, + "status":{"shape":"LandingZoneOperationStatus"} + } + }, "LandingZoneOperationType":{ "type":"string", "enum":[ @@ -1130,6 +1169,16 @@ "RESET" ] }, + "LandingZoneOperationTypes":{ + "type":"list", + "member":{"shape":"LandingZoneOperationType"}, + "max":1, + "min":1 + }, + "LandingZoneOperations":{ + "type":"list", + "member":{"shape":"LandingZoneOperationSummary"} + }, "LandingZoneStatus":{ "type":"string", "enum":[ @@ -1240,6 +1289,28 @@ "nextToken":{"shape":"String"} } }, + "ListLandingZoneOperationsInput":{ + "type":"structure", + "members":{ + "filter":{"shape":"LandingZoneOperationFilter"}, + "maxResults":{"shape":"ListLandingZoneOperationsMaxResults"}, + "nextToken":{"shape":"String"} + } + }, + "ListLandingZoneOperationsMaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ListLandingZoneOperationsOutput":{ + "type":"structure", + "required":["landingZoneOperations"], + "members":{ + "landingZoneOperations":{"shape":"LandingZoneOperations"}, + "nextToken":{"shape":"String"} + } + }, "ListLandingZonesInput":{ "type":"structure", "members":{ diff --git a/apis/controltower/2018-05-10/docs-2.json b/apis/controltower/2018-05-10/docs-2.json index bbb8f24549f..454ae9fb95a 100644 --- a/apis/controltower/2018-05-10/docs-2.json +++ b/apis/controltower/2018-05-10/docs-2.json @@ -1,32 +1,33 @@ { "version": "2.0", - "service": "

Amazon Web Services Control Tower offers application programming interface (API) operations that support programmatic interaction with these types of resources:

For more information about these types of resources, see the Amazon Web Services Control Tower User Guide .

About control APIs

These interfaces allow you to apply the Amazon Web Services library of pre-defined controls to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms \"control\" and \"guardrail\" are synonyms.

To call these APIs, you'll need to know:

To get the controlIdentifier for your Amazon Web Services Control Tower control:

The controlIdentifier is an ARN that is specified for each control. You can view the controlIdentifier in the console on the Control details page, as well as in the documentation.

The controlIdentifier is unique in each Amazon Web Services Region for each control. You can find the controlIdentifier for each Region and control in the Tables of control metadata or the Control availability by Region tables in the Amazon Web Services Control Tower User Guide.

A quick-reference list of control identifers for the Amazon Web Services Control Tower legacy Strongly recommended and Elective controls is given in Resource identifiers for APIs and controls in the Controls reference guide section of the Amazon Web Services Control Tower User Guide. Remember that Mandatory controls cannot be added or removed.

ARN format: arn:aws:controltower:{REGION}::control/{CONTROL_NAME}

Example:

arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED

To get the targetIdentifier:

The targetIdentifier is the ARN for an OU.

In the Amazon Web Services Organizations console, you can find the ARN for the OU on the Organizational unit details page associated with that OU.

OU ARN format:

arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}

About landing zone APIs

You can configure and launch an Amazon Web Services Control Tower landing zone with APIs. For an introduction and steps, see Getting started with Amazon Web Services Control Tower using APIs.

For an overview of landing zone API operations, see Amazon Web Services Control Tower supports landing zone APIs. The individual API operations for landing zones are detailed in this document, the API reference manual, in the \"Actions\" section.

About baseline APIs

You can apply the AWSControlTowerBaseline baseline to an organizational unit (OU) as a way to register the OU with Amazon Web Services Control Tower, programmatically. For a general overview of this capability, see Amazon Web Services Control Tower supports APIs for OU registration and configuration with baselines.

You can call the baseline API operations to view the baselines that Amazon Web Services Control Tower enables for your landing zone, on your behalf, when setting up the landing zone. These baselines are read-only baselines.

The individual API operations for baselines are detailed in this document, the API reference manual, in the \"Actions\" section. For usage examples, see Baseline API input and output examples with CLI.

Details and examples

To view the open source resource repository on GitHub, see aws-cloudformation/aws-cloudformation-resource-providers-controltower

Recording API Requests

Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the Amazon Web Services Control Tower service received, who made the request and when, and so on. For more about Amazon Web Services Control Tower and its support for CloudTrail, see Logging Amazon Web Services Control Tower Actions with Amazon Web Services CloudTrail in the Amazon Web Services Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the Amazon Web Services CloudTrail User Guide.

", + "service": "

Amazon Web Services Control Tower offers application programming interface (API) operations that support programmatic interaction with these types of resources:

For more information about these types of resources, see the Amazon Web Services Control Tower User Guide .

About control APIs

These interfaces allow you to apply the Amazon Web Services library of pre-defined controls to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms \"control\" and \"guardrail\" are synonyms.

To call these APIs, you'll need to know:

To get the controlIdentifier for your Amazon Web Services Control Tower control:

The controlIdentifier is an ARN that is specified for each control. You can view the controlIdentifier in the console on the Control details page, as well as in the documentation.

The controlIdentifier is unique in each Amazon Web Services Region for each control. You can find the controlIdentifier for each Region and control in the Tables of control metadata or the Control availability by Region tables in the Amazon Web Services Control Tower Controls Reference Guide.

A quick-reference list of control identifers for the Amazon Web Services Control Tower legacy Strongly recommended and Elective controls is given in Resource identifiers for APIs and controls in the Amazon Web Services Control Tower Controls Reference Guide . Remember that Mandatory controls cannot be added or removed.

ARN format: arn:aws:controltower:{REGION}::control/{CONTROL_NAME}

Example:

arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED

To get the targetIdentifier:

The targetIdentifier is the ARN for an OU.

In the Amazon Web Services Organizations console, you can find the ARN for the OU on the Organizational unit details page associated with that OU.

OU ARN format:

arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}

About landing zone APIs

You can configure and launch an Amazon Web Services Control Tower landing zone with APIs. For an introduction and steps, see Getting started with Amazon Web Services Control Tower using APIs.

For an overview of landing zone API operations, see Amazon Web Services Control Tower supports landing zone APIs. The individual API operations for landing zones are detailed in this document, the API reference manual, in the \"Actions\" section.

About baseline APIs

You can apply the AWSControlTowerBaseline baseline to an organizational unit (OU) as a way to register the OU with Amazon Web Services Control Tower, programmatically. For a general overview of this capability, see Amazon Web Services Control Tower supports APIs for OU registration and configuration with baselines.

You can call the baseline API operations to view the baselines that Amazon Web Services Control Tower enables for your landing zone, on your behalf, when setting up the landing zone. These baselines are read-only baselines.

The individual API operations for baselines are detailed in this document, the API reference manual, in the \"Actions\" section. For usage examples, see Baseline API input and output examples with CLI.

Details and examples

To view the open source resource repository on GitHub, see aws-cloudformation/aws-cloudformation-resource-providers-controltower

Recording API Requests

Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the Amazon Web Services Control Tower service received, who made the request and when, and so on. For more about Amazon Web Services Control Tower and its support for CloudTrail, see Logging Amazon Web Services Control Tower Actions with Amazon Web Services CloudTrail in the Amazon Web Services Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the Amazon Web Services CloudTrail User Guide.

", "operations": { "CreateLandingZone": "

Creates a new landing zone. This API call starts an asynchronous operation that creates and configures a landing zone, based on the parameters specified in the manifest JSON file.

", "DeleteLandingZone": "

Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower resources deployed in accounts managed by Amazon Web Services Control Tower.

", "DisableBaseline": "

Disable an EnabledBaseline resource on the specified Target. This API starts an asynchronous operation to remove all resources deployed as part of the baseline enablement. The resource will vary depending on the enabled baseline. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "DisableControl": "

This API call turns off a control. It starts an asynchronous operation that deletes AWS resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the Amazon Web Services Control Tower User Guide .

", + "DisableControl": "

This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the Controls Reference Guide .

", "EnableBaseline": "

Enable (apply) a Baseline to a Target. This API starts an asynchronous operation to deploy resources specified by the Baseline to the specified Target. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "EnableControl": "

This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the Amazon Web Services Control Tower User Guide .

", + "EnableControl": "

This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the Controls Reference Guide .

", "GetBaseline": "

Retrieve details about an existing Baseline resource by specifying its identifier. For usage examples, see the Amazon Web Services Control Tower User Guide .

", "GetBaselineOperation": "

Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: EnableBaseline, DisableBaseline, UpdateEnabledBaseline, ResetEnabledBaseline. A status message is displayed in case of operation failure. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "GetControlOperation": "

Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the Amazon Web Services Control Tower User Guide .

", + "GetControlOperation": "

Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the Controls Reference Guide .

", "GetEnabledBaseline": "

Retrieve details of an EnabledBaseline resource by specifying its identifier.

", - "GetEnabledControl": "

Retrieves details about an enabled control. For usage examples, see the Amazon Web Services Control Tower User Guide .

", + "GetEnabledControl": "

Retrieves details about an enabled control. For usage examples, see the Controls Reference Guide .

", "GetLandingZone": "

Returns details about the landing zone. Displays a message in case of error.

", "GetLandingZoneOperation": "

Returns the status of the specified landing zone operation. Details for an operation are available for 90 days.

", "ListBaselines": "

Returns a summary list of all available baselines. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "ListControlOperations": "

Provides a list of operations in progress or queued.

", + "ListControlOperations": "

Provides a list of operations in progress or queued. For usage examples, see ListControlOperation examples.

", "ListEnabledBaselines": "

Returns a list of summaries describing EnabledBaseline resources. You can filter the list by the corresponding Baseline or Target of the EnabledBaseline resources. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "ListEnabledControls": "

Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the Amazon Web Services Control Tower User Guide .

", + "ListEnabledControls": "

Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the accounts it contains. For usage examples, see the Controls Reference Guide .

", + "ListLandingZoneOperations": "

Lists all landing zone operations from the past 90 days. Results are sorted by time, with the most recent operation first.

", "ListLandingZones": "

Returns the landing zone ARN for the landing zone deployed in your managed account. This API also creates an ARN for existing accounts that do not yet have a landing zone ARN.

Returns one landing zone ARN.

", - "ListTagsForResource": "

Returns a list of tags associated with the resource. For usage examples, see the Amazon Web Services Control Tower User Guide .

", + "ListTagsForResource": "

Returns a list of tags associated with the resource. For usage examples, see the Controls Reference Guide .

", "ResetEnabledBaseline": "

Re-enables an EnabledBaseline resource. For example, this API can re-apply the existing Baseline after a new member account is moved to the target OU. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "ResetLandingZone": "

This API call resets a landing zone. It starts an asynchronous operation that resets the landing zone to the parameters specified in its original configuration.

", - "TagResource": "

Applies tags to a resource. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "UntagResource": "

Removes tags from a resource. For usage examples, see the Amazon Web Services Control Tower User Guide .

", + "ResetLandingZone": "

This API call resets a landing zone. It starts an asynchronous operation that resets the landing zone to the parameters specified in the original configuration, which you specified in the manifest file. Nothing in the manifest file's original landing zone configuration is changed during the reset process, by default. This API is not the same as a rollback of a landing zone version, which is not a supported operation.

", + "TagResource": "

Applies tags to a resource. For usage examples, see the Controls Reference Guide .

", + "UntagResource": "

Removes tags from a resource. For usage examples, see the Controls Reference Guide .

", "UpdateEnabledBaseline": "

Updates an EnabledBaseline resource's applied parameters or version. For usage examples, see the Amazon Web Services Control Tower User Guide .

", - "UpdateEnabledControl": "

Updates the configuration of an already enabled control.

If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request.

If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower will update the control to match any valid parameters that you supply.

If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling DisableControl and again calling EnableControl, or you can run an extending governance operation. For usage examples, see the Amazon Web Services Control Tower User Guide

", + "UpdateEnabledControl": "

Updates the configuration of an already enabled control.

If the enabled control shows an EnablementStatus of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request.

If the enabled control shows an EnablementStatus of FAILED, Amazon Web Services Control Tower updates the control to match any valid parameters that you supply.

If the DriftSummary status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling DisableControl and again calling EnableControl, or you can run an extending governance operation. For usage examples, see the Controls Reference Guide .

", "UpdateLandingZone": "

This API call updates the landing zone. It starts an asynchronous operation that updates the landing zone based on the new landing zone version, or on the changed parameters specified in the updated manifest file.

" }, "shapes": { @@ -140,7 +141,7 @@ } }, "ControlOperationFilter": { - "base": "

A filter object that lets you call ListCOntrolOperations with a specific filter.

", + "base": "

A filter object that lets you call ListControlOperations with a specific filter.

", "refs": { "ListControlOperationsInput$filter": "

An input filter for the ListControlOperations API that lets you select the types of control operations to view.

" } @@ -182,7 +183,7 @@ "ControlOperations": { "base": null, "refs": { - "ListControlOperationsOutput$controlOperations": "

Returns a list of output from control operations. PLACEHOLDER

" + "ListControlOperationsOutput$controlOperations": "

Returns a list of output from control operations.

" } }, "CreateLandingZoneInput": { @@ -349,7 +350,7 @@ "EnabledControlFilter": { "base": "

A structure that returns a set of control identifiers, the control status for each control in the set, and the drift status for each control in the set.

", "refs": { - "ListEnabledControlsInput$filter": "

An input filter for the ListCEnabledControls API that lets you select the types of control operations to view.

" + "ListEnabledControlsInput$filter": "

An input filter for the ListEnabledControls API that lets you select the types of control operations to view.

" } }, "EnabledControlIdentifiers": { @@ -398,12 +399,12 @@ "EnablementStatus": { "base": null, "refs": { - "EnablementStatusSummary$status": "

The deployment status of the enabled control.

Valid values:

", + "EnablementStatusSummary$status": "

The deployment status of the enabled resource.

Valid values:

", "EnablementStatuses$member": null } }, "EnablementStatusSummary": { - "base": "

The deployment summary of the enabled control.

", + "base": "

The deployment summary of an EnabledControl or EnabledBaseline resource.

", "refs": { "EnabledBaselineDetails$statusSummary": null, "EnabledBaselineSummary$statusSummary": null, @@ -522,16 +523,50 @@ "GetLandingZoneOperationOutput$operationDetails": "

Details about a landing zone operation.

" } }, + "LandingZoneOperationFilter": { + "base": "

A filter object that lets you call ListLandingZoneOperations with a specific filter.

", + "refs": { + "ListLandingZoneOperationsInput$filter": "

An input filter for the ListLandingZoneOperations API that lets you select the types of landing zone operations to view.

" + } + }, "LandingZoneOperationStatus": { "base": null, "refs": { - "LandingZoneOperationDetail$status": "

Valid values:

" + "LandingZoneOperationDetail$status": "

Valid values:

", + "LandingZoneOperationStatuses$member": null, + "LandingZoneOperationSummary$status": "

The status of the landing zone operation.

" + } + }, + "LandingZoneOperationStatuses": { + "base": null, + "refs": { + "LandingZoneOperationFilter$statuses": "

The statuses of the set of landing zone operations selected by the filter.

" + } + }, + "LandingZoneOperationSummary": { + "base": "

Returns a summary of information about a landing zone operation.

", + "refs": { + "LandingZoneOperations$member": null } }, "LandingZoneOperationType": { "base": null, "refs": { - "LandingZoneOperationDetail$operationType": "

The landing zone operation type.

Valid values:

" + "LandingZoneOperationDetail$operationType": "

The landing zone operation type.

Valid values:

", + "LandingZoneOperationSummary$operationType": "

The type of the landing zone operation.

", + "LandingZoneOperationTypes$member": null + } + }, + "LandingZoneOperationTypes": { + "base": null, + "refs": { + "LandingZoneOperationFilter$types": "

The set of landing zone operation types selected by the filter.

" + } + }, + "LandingZoneOperations": { + "base": null, + "refs": { + "ListLandingZoneOperationsOutput$landingZoneOperations": "

Lists landing zone operations.

" } }, "LandingZoneStatus": { @@ -627,6 +662,22 @@ "refs": { } }, + "ListLandingZoneOperationsInput": { + "base": null, + "refs": { + } + }, + "ListLandingZoneOperationsMaxResults": { + "base": null, + "refs": { + "ListLandingZoneOperationsInput$maxResults": "

How many results to return per API call.

" + } + }, + "ListLandingZoneOperationsOutput": { + "base": null, + "refs": { + } + }, "ListLandingZonesInput": { "base": null, "refs": { @@ -664,7 +715,7 @@ "refs": { "CreateLandingZoneInput$manifest": "

The manifest JSON file is a text file that describes your Amazon Web Services resources. For examples, review Launch your landing zone.

", "LandingZoneDetail$manifest": "

The landing zone manifest JSON text file that specifies the landing zone configurations.

", - "UpdateLandingZoneInput$manifest": "

The manifest JSON file is a text file that describes your Amazon Web Services resources. For examples, review Launch your landing zone.

" + "UpdateLandingZoneInput$manifest": "

The manifest file (JSON) is a text file that describes your Amazon Web Services resources. For an example, review Launch your landing zone. The example manifest file contains each of the available parameters. The schema for the landing zone's JSON manifest file is not published, by design.

" } }, "MaxResults": { @@ -685,10 +736,12 @@ "DisableControlOutput$operationIdentifier": "

The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

", "EnableBaselineOutput$operationIdentifier": "

The ID (in UUID format) of the asynchronous EnableBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API.

", "EnableControlOutput$operationIdentifier": "

The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

", - "EnablementStatusSummary$lastOperationIdentifier": "

The last operation identifier for the enabled control.

", + "EnablementStatusSummary$lastOperationIdentifier": "

The last operation identifier for the enabled resource.

", "GetBaselineOperationInput$operationIdentifier": "

The operation ID returned from mutating asynchronous APIs (Enable, Disable, Update, Reset).

", "GetControlOperationInput$operationIdentifier": "

The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

", "GetLandingZoneOperationInput$operationIdentifier": "

A unique identifier assigned to a landing zone operation.

", + "LandingZoneOperationDetail$operationIdentifier": "

The operationIdentifier of the landing zone operation.

", + "LandingZoneOperationSummary$operationIdentifier": "

The operationIdentifier of the landing zone operation.

", "ResetEnabledBaselineOutput$operationIdentifier": "

The ID (in UUID format) of the asynchronous ResetEnabledBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API.

", "ResetLandingZoneOutput$operationIdentifier": "

A unique identifier assigned to a ResetLandingZone operation. You can use this identifier as an input parameter of GetLandingZoneOperation to check the operation's status.

", "UpdateEnabledBaselineOutput$operationIdentifier": "

The ID (in UUID format) of the asynchronous UpdateEnabledBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API.

", @@ -769,6 +822,8 @@ "ListBaselinesOutput$nextToken": "

A pagination token.

", "ListEnabledControlsInput$nextToken": "

The token to continue the list from a previous API call with the same parameters.

", "ListEnabledControlsOutput$nextToken": "

Retrieves the next page of results. If the string is empty, the response is the end of the results.

", + "ListLandingZoneOperationsInput$nextToken": "

The token to continue the list from a previous API call with the same parameters.

", + "ListLandingZoneOperationsOutput$nextToken": "

Retrieves the next page of results. If the string is empty, the response is the end of the results.

", "ListLandingZonesInput$nextToken": "

The token to continue the list from a previous API call with the same parameters.

", "ListLandingZonesOutput$nextToken": "

Retrieves the next page of results. If the string is empty, the response is the end of the results.

", "ResetLandingZoneInput$landingZoneIdentifier": "

The unique identifier of the landing zone.

", diff --git a/apis/controltower/2018-05-10/paginators-1.json b/apis/controltower/2018-05-10/paginators-1.json index a8886472f4d..3fb0ea34643 100644 --- a/apis/controltower/2018-05-10/paginators-1.json +++ b/apis/controltower/2018-05-10/paginators-1.json @@ -24,6 +24,12 @@ "limit_key": "maxResults", "result_key": "enabledControls" }, + "ListLandingZoneOperations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "landingZoneOperations" + }, "ListLandingZones": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/apis/eks/2017-11-01/api-2.json b/apis/eks/2017-11-01/api-2.json index 3f765214679..73b1cde8393 100644 --- a/apis/eks/2017-11-01/api-2.json +++ b/apis/eks/2017-11-01/api-2.json @@ -1502,7 +1502,8 @@ "tags":{"shape":"TagMap"}, "encryptionConfig":{"shape":"EncryptionConfigList"}, "outpostConfig":{"shape":"OutpostConfigRequest"}, - "accessConfig":{"shape":"CreateAccessConfigRequest"} + "accessConfig":{"shape":"CreateAccessConfigRequest"}, + "bootstrapSelfManagedAddons":{"shape":"BoxedBoolean"} } }, "CreateClusterResponse":{ diff --git a/apis/eks/2017-11-01/docs-2.json b/apis/eks/2017-11-01/docs-2.json index 63f0e645d2d..1225df5d2c3 100644 --- a/apis/eks/2017-11-01/docs-2.json +++ b/apis/eks/2017-11-01/docs-2.json @@ -292,6 +292,7 @@ "refs": { "AccessConfigResponse$bootstrapClusterCreatorAdminPermissions": "

Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time.

", "CreateAccessConfigRequest$bootstrapClusterCreatorAdminPermissions": "

Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time. The default value is true.

", + "CreateClusterRequest$bootstrapSelfManagedAddons": "

If you set this value to False when creating a cluster, the default networking add-ons will not be installed.

The default networking addons include vpc-cni, coredns, and kube-proxy.

Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.

", "LogSetup$enabled": "

If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control plane logs. Each individual log type can be enabled or disabled independently.

", "VpcConfigRequest$endpointPublicAccess": "

Set this value to false to disable public access to your cluster's Kubernetes API server endpoint. If you disable public access, your cluster's Kubernetes API server can only receive requests from within the cluster VPC. The default value for this parameter is true, which enables public access for your Kubernetes API server. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .

", "VpcConfigRequest$endpointPrivateAccess": "

Set this value to true to enable private access for your cluster's Kubernetes API server endpoint. If you enable private access, Kubernetes API requests from within your cluster's VPC use the private VPC endpoint. The default value for this parameter is false, which disables private access for your Kubernetes API server. If you disable private access and you have nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .

" diff --git a/apis/ivs-realtime/2020-07-14/api-2.json b/apis/ivs-realtime/2020-07-14/api-2.json index 11c9ad2f656..e067b65e3bd 100644 --- a/apis/ivs-realtime/2020-07-14/api-2.json +++ b/apis/ivs-realtime/2020-07-14/api-2.json @@ -3,8 +3,8 @@ "metadata":{ "apiVersion":"2020-07-14", "endpointPrefix":"ivsrealtime", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"ivsrealtime", "serviceFullName":"Amazon Interactive Video Service RealTime", "serviceId":"IVS RealTime", @@ -102,6 +102,23 @@ {"shape":"ConflictException"} ] }, + "DeletePublicKey":{ + "name":"DeletePublicKey", + "http":{ + "method":"POST", + "requestUri":"/DeletePublicKey", + "responseCode":200 + }, + "input":{"shape":"DeletePublicKeyRequest"}, + "output":{"shape":"DeletePublicKeyResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"PendingVerification"} + ] + }, "DeleteStage":{ "name":"DeleteStage", "http":{ @@ -204,6 +221,21 @@ {"shape":"AccessDeniedException"} ] }, + "GetPublicKey":{ + "name":"GetPublicKey", + "http":{ + "method":"POST", + "requestUri":"/GetPublicKey", + "responseCode":200 + }, + "input":{"shape":"GetPublicKeyRequest"}, + "output":{"shape":"GetPublicKeyResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, "GetStage":{ "name":"GetStage", "http":{ @@ -252,6 +284,23 @@ {"shape":"ConflictException"} ] }, + "ImportPublicKey":{ + "name":"ImportPublicKey", + "http":{ + "method":"POST", + "requestUri":"/ImportPublicKey", + "responseCode":200 + }, + "input":{"shape":"ImportPublicKeyRequest"}, + "output":{"shape":"ImportPublicKeyResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"PendingVerification"} + ] + }, "ListCompositions":{ "name":"ListCompositions", "http":{ @@ -314,6 +363,20 @@ {"shape":"AccessDeniedException"} ] }, + "ListPublicKeys":{ + "name":"ListPublicKeys", + "http":{ + "method":"POST", + "requestUri":"/ListPublicKeys", + "responseCode":200 + }, + "input":{"shape":"ListPublicKeysRequest"}, + "output":{"shape":"ListPublicKeysResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, "ListStageSessions":{ "name":"ListStageSessions", "http":{ @@ -663,6 +726,18 @@ "members":{ } }, + "DeletePublicKeyRequest":{ + "type":"structure", + "required":["arn"], + "members":{ + "arn":{"shape":"PublicKeyArn"} + } + }, + "DeletePublicKeyResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteStageRequest":{ "type":"structure", "required":["arn"], @@ -915,6 +990,19 @@ "participant":{"shape":"Participant"} } }, + "GetPublicKeyRequest":{ + "type":"structure", + "required":["arn"], + "members":{ + "arn":{"shape":"PublicKeyArn"} + } + }, + "GetPublicKeyResponse":{ + "type":"structure", + "members":{ + "publicKey":{"shape":"PublicKey"} + } + }, "GetStageRequest":{ "type":"structure", "required":["arn"], @@ -978,6 +1066,21 @@ "max":1920, "min":1 }, + "ImportPublicKeyRequest":{ + "type":"structure", + "required":["publicKeyMaterial"], + "members":{ + "publicKeyMaterial":{"shape":"PublicKeyMaterial"}, + "name":{"shape":"PublicKeyName"}, + "tags":{"shape":"Tags"} + } + }, + "ImportPublicKeyResponse":{ + "type":"structure", + "members":{ + "publicKey":{"shape":"PublicKey"} + } + }, "InternalServerException":{ "type":"structure", "members":{ @@ -1074,6 +1177,21 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListPublicKeysRequest":{ + "type":"structure", + "members":{ + "nextToken":{"shape":"PaginationToken"}, + "maxResults":{"shape":"MaxPublicKeyResults"} + } + }, + "ListPublicKeysResponse":{ + "type":"structure", + "required":["publicKeys"], + "members":{ + "publicKeys":{"shape":"PublicKeyList"}, + "nextToken":{"shape":"PaginationToken"} + } + }, "ListStageSessionsRequest":{ "type":"structure", "required":["stageArn"], @@ -1163,6 +1281,12 @@ "max":100, "min":1 }, + "MaxPublicKeyResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, "MaxStageResults":{ "type":"integer", "box":true, @@ -1418,6 +1542,45 @@ "box":true, "min":1 }, + "PublicKey":{ + "type":"structure", + "members":{ + "arn":{"shape":"PublicKeyArn"}, + "name":{"shape":"PublicKeyName"}, + "publicKeyMaterial":{"shape":"PublicKeyMaterial"}, + "fingerprint":{"shape":"PublicKeyFingerprint"}, + "tags":{"shape":"Tags"} + } + }, + "PublicKeyArn":{ + "type":"string", + "max":128, + "min":1, + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:public-key/[a-zA-Z0-9-]+" + }, + "PublicKeyFingerprint":{"type":"string"}, + "PublicKeyList":{ + "type":"list", + "member":{"shape":"PublicKeySummary"} + }, + "PublicKeyMaterial":{ + "type":"string", + "pattern":".*-----BEGIN PUBLIC KEY-----\\r?\\n([a-zA-Z0-9+/=\\r\\n]+)\\r?\\n-----END PUBLIC KEY-----(\\r?\\n)?.*" + }, + "PublicKeyName":{ + "type":"string", + "max":128, + "min":0, + "pattern":"[a-zA-Z0-9-_]*" + }, + "PublicKeySummary":{ + "type":"structure", + "members":{ + "arn":{"shape":"PublicKeyArn"}, + "name":{"shape":"PublicKeyName"}, + "tags":{"shape":"Tags"} + } + }, "Published":{"type":"boolean"}, "RecordingConfiguration":{ "type":"structure", @@ -1497,7 +1660,8 @@ "name":{"shape":"StageName"}, "activeSessionId":{"shape":"StageSessionId"}, "tags":{"shape":"Tags"}, - "autoParticipantRecordingConfiguration":{"shape":"AutoParticipantRecordingConfiguration"} + "autoParticipantRecordingConfiguration":{"shape":"AutoParticipantRecordingConfiguration"}, + "endpoints":{"shape":"StageEndpoints"} } }, "StageArn":{ @@ -1506,6 +1670,18 @@ "min":1, "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:stage/[a-zA-Z0-9-]+" }, + "StageEndpoint":{ + "type":"string", + "max":2048, + "min":0 + }, + "StageEndpoints":{ + "type":"structure", + "members":{ + "events":{"shape":"StageEndpoint"}, + "whip":{"shape":"StageEndpoint"} + } + }, "StageName":{ "type":"string", "max":128, diff --git a/apis/ivs-realtime/2020-07-14/docs-2.json b/apis/ivs-realtime/2020-07-14/docs-2.json index 36c352581dc..d5ce211ea3a 100644 --- a/apis/ivs-realtime/2020-07-14/docs-2.json +++ b/apis/ivs-realtime/2020-07-14/docs-2.json @@ -1,25 +1,29 @@ { "version": "2.0", - "service": "

Introduction

The Amazon Interactive Video Service (IVS) real-time API is REST compatible, using a standard HTTP API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

Terminology:

Resources

The following resources contain information about your IVS live stream (see Getting Started with Amazon IVS Real-Time Streaming):

Tagging

A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging AWS Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS stages has no service-specific constraints beyond what is documented there.

Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

The Amazon IVS real-time API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Stage.

At most 50 tags can be applied to a resource.

Stages Endpoints

Composition Endpoints

EncoderConfiguration Endpoints

StorageConfiguration Endpoints

Tags Endpoints

", + "service": "

The Amazon Interactive Video Service (IVS) real-time API is REST compatible, using a standard HTTP API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

Key Concepts

For server-side composition:

For more information about your IVS live stream, also see Getting Started with Amazon IVS Real-Time Streaming.

Tagging

A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging AWS Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS stages has no service-specific constraints beyond what is documented there.

Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

The Amazon IVS real-time API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Stage.

At most 50 tags can be applied to a resource.

", "operations": { "CreateEncoderConfiguration": "

Creates an EncoderConfiguration object.

", "CreateParticipantToken": "

Creates an additional token for a specified stage. This can be done after stage creation or when tokens expire. Tokens always are scoped to the stage for which they are created.

Encryption keys are owned by Amazon IVS and never used directly by your application.

", "CreateStage": "

Creates a new stage (and optionally participant tokens).

", "CreateStorageConfiguration": "

Creates a new storage configuration, used to enable recording to Amazon S3. When a StorageConfiguration is created, IVS will modify the S3 bucketPolicy of the provided bucket. This will ensure that IVS has sufficient permissions to write content to the provided bucket.

", "DeleteEncoderConfiguration": "

Deletes an EncoderConfiguration resource. Ensures that no Compositions are using this template; otherwise, returns an error.

", + "DeletePublicKey": "

Deletes the specified public key used to sign stage participant tokens. This invalidates future participant tokens generated using the key pair’s private key.

", "DeleteStage": "

Shuts down and deletes the specified stage (disconnecting all participants).

", "DeleteStorageConfiguration": "

Deletes the storage configuration for the specified ARN.

If you try to delete a storage configuration that is used by a Composition, you will get an error (409 ConflictException). To avoid this, for all Compositions that reference the storage configuration, first use StopComposition and wait for it to complete, then use DeleteStorageConfiguration.

", "DisconnectParticipant": "

Disconnects a specified participant and revokes the participant permanently from a specified stage.

", "GetComposition": "

Get information about the specified Composition resource.

", "GetEncoderConfiguration": "

Gets information about the specified EncoderConfiguration resource.

", "GetParticipant": "

Gets information about the specified participant token.

", + "GetPublicKey": "

Gets information for the specified public key.

", "GetStage": "

Gets information for the specified stage.

", "GetStageSession": "

Gets information for the specified stage session.

", "GetStorageConfiguration": "

Gets the storage configuration for the specified ARN.

", + "ImportPublicKey": "

Import a public key to be used for signing stage participant tokens.

", "ListCompositions": "

Gets summary information about all Compositions in your account, in the AWS region where the API request is processed.

", "ListEncoderConfigurations": "

Gets summary information about all EncoderConfigurations in your account, in the AWS region where the API request is processed.

", "ListParticipantEvents": "

Lists events for a specified participant that occurred during a specified stage session.

", "ListParticipants": "

Lists all participants in a specified stage session.

", + "ListPublicKeys": "

Gets summary information about all public keys in your account, in the AWS region where the API request is processed.

", "ListStageSessions": "

Gets all sessions for a specified stage.

", "ListStages": "

Gets summary information about all stages in your account, in the AWS region where the API request is processed.

", "ListStorageConfigurations": "

Gets summary information about all storage configurations in your account, in the AWS region where the API request is processed.

", @@ -39,23 +43,23 @@ "AttributeKey": { "base": null, "refs": { - "GridConfiguration$featuredParticipantAttribute": "

This attribute name identifies the featured slot. A participant with this attribute set to \"true\" (as a string value) in ParticipantTokenConfiguration is placed in the featured slot.

", - "PipConfiguration$featuredParticipantAttribute": "

This attribute name identifies the featured slot. A participant with this attribute set to \"true\" (as a string value) in ParticipantTokenConfiguration is placed in the featured slot.

", - "PipConfiguration$pipParticipantAttribute": "

Identifies the PiP slot. A participant with this attribute set to \"true\" (as a string value) in ParticipantTokenConfiguration is placed in the PiP slot.

" + "GridConfiguration$featuredParticipantAttribute": "

This attribute name identifies the featured slot. A participant with this attribute set to \"true\" (as a string value) in ParticipantTokenConfiguration is placed in the featured slot. Default: \"\" (no featured participant).

", + "PipConfiguration$featuredParticipantAttribute": "

This attribute name identifies the featured slot. A participant with this attribute set to \"true\" (as a string value) in ParticipantTokenConfiguration is placed in the featured slot. Default: \"\" (no featured participant).

", + "PipConfiguration$pipParticipantAttribute": "

Specifies the participant for the PiP window. A participant with this attribute set to \"true\" (as a string value) in ParticipantTokenConfiguration is placed in the PiP slot. Default: \"\" (no PiP participant).

" } }, "AutoParticipantRecordingConfiguration": { - "base": "

Object specifying an auto-participant-recording configuration.

", + "base": "

Object specifying a configuration for individual participant recording.

", "refs": { - "CreateStageRequest$autoParticipantRecordingConfiguration": "

Auto participant recording configuration object attached to the stage.

", - "Stage$autoParticipantRecordingConfiguration": "

Auto-participant-recording configuration object attached to the stage.

", - "UpdateStageRequest$autoParticipantRecordingConfiguration": "

Auto-participant-recording configuration object to attach to the stage. Auto-participant-recording configuration cannot be updated while recording is active.

" + "CreateStageRequest$autoParticipantRecordingConfiguration": "

Configuration object for individual participant recording, to attach to the new stage.

", + "Stage$autoParticipantRecordingConfiguration": "

Configuration object for individual participant recording, attached to the stage.

", + "UpdateStageRequest$autoParticipantRecordingConfiguration": "

Configuration object for individual participant recording, to attach to the stage. Note that this cannot be updated while recording is active.

" } }, "AutoParticipantRecordingStorageConfigurationArn": { "base": null, "refs": { - "AutoParticipantRecordingConfiguration$storageConfigurationArn": "

ARN of the StorageConfiguration resource to use for auto participant recording. Default: \"\" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a Stage is created or updated.

" + "AutoParticipantRecordingConfiguration$storageConfigurationArn": "

ARN of the StorageConfiguration resource to use for individual participant recording. Default: \"\" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a Stage is created or updated.

" } }, "Bitrate": { @@ -172,6 +176,16 @@ "refs": { } }, + "DeletePublicKeyRequest": { + "base": null, + "refs": { + } + }, + "DeletePublicKeyResponse": { + "base": null, + "refs": { + } + }, "DeleteStageRequest": { "base": null, "refs": { @@ -369,6 +383,16 @@ "refs": { } }, + "GetPublicKeyRequest": { + "base": null, + "refs": { + } + }, + "GetPublicKeyResponse": { + "base": null, + "refs": { + } + }, "GetStageRequest": { "base": null, "refs": { @@ -418,6 +442,16 @@ "Video$height": "

Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.

" } }, + "ImportPublicKeyRequest": { + "base": null, + "refs": { + } + }, + "ImportPublicKeyResponse": { + "base": null, + "refs": { + } + }, "InternalServerException": { "base": "

", "refs": { @@ -470,6 +504,16 @@ "refs": { } }, + "ListPublicKeysRequest": { + "base": null, + "refs": { + } + }, + "ListPublicKeysResponse": { + "base": null, + "refs": { + } + }, "ListStageSessionsRequest": { "base": null, "refs": { @@ -534,6 +578,12 @@ "ListParticipantsRequest$maxResults": "

Maximum number of results to return. Default: 50.

" } }, + "MaxPublicKeyResults": { + "base": null, + "refs": { + "ListPublicKeysRequest$maxResults": "

Maximum number of results to return. Default: 50.

" + } + }, "MaxStageResults": { "base": null, "refs": { @@ -570,6 +620,8 @@ "ListParticipantEventsResponse$nextToken": "

If there are more events than maxResults, use nextToken in the request to get the next set.

", "ListParticipantsRequest$nextToken": "

The first participant to retrieve. This is used for pagination; see the nextToken response field.

", "ListParticipantsResponse$nextToken": "

If there are more participants than maxResults, use nextToken in the request to get the next set.

", + "ListPublicKeysRequest$nextToken": "

The first public key to retrieve. This is used for pagination; see the nextToken response field.

", + "ListPublicKeysResponse$nextToken": "

If there are more public keys than maxResults, use nextToken in the request to get the next set.

", "ListStageSessionsRequest$nextToken": "

The first stage session to retrieve. This is used for pagination; see the nextToken response field.

", "ListStageSessionsResponse$nextToken": "

If there are more stage sessions than maxResults, use nextToken in the request to get the next set.

", "ListStagesRequest$nextToken": "

The first stage to retrieve. This is used for pagination; see the nextToken response field.

", @@ -639,20 +691,20 @@ "ParticipantRecordingS3BucketName": { "base": null, "refs": { - "Participant$recordingS3BucketName": "

Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or \"\" (empty string), if recording is not enabled.

" + "Participant$recordingS3BucketName": "

Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or \"\" (empty string), if recording is not enabled.

" } }, "ParticipantRecordingS3Prefix": { "base": null, "refs": { - "Participant$recordingS3Prefix": "

S3 prefix of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or \"\" (empty string), if recording is not enabled.

" + "Participant$recordingS3Prefix": "

S3 prefix of the S3 bucket where the participant is being recorded, if individual participant recording is enabled, or \"\" (empty string), if recording is not enabled.

" } }, "ParticipantRecordingState": { "base": null, "refs": { - "Participant$recordingState": "

Participant’s recording state.

", - "ParticipantSummary$recordingState": "

Participant’s recording state.

" + "Participant$recordingState": "

The participant’s recording state.

", + "ParticipantSummary$recordingState": "

The participant’s recording state.

" } }, "ParticipantState": { @@ -759,7 +811,7 @@ "PipBehavior": { "base": null, "refs": { - "PipConfiguration$pipBehavior": "

Defines PiP behavior when all participants have left. Default: STATIC.

" + "PipConfiguration$pipBehavior": "

Defines PiP behavior when all participants have left: STATIC (maintains original position/size) or DYNAMIC (expands to full composition). Default: STATIC.

" } }, "PipConfiguration": { @@ -792,6 +844,55 @@ "PipConfiguration$pipWidth": "

Specifies the width of the PiP window in pixels. When this is not set explicitly, pipWidth’s value will be based on the size of the composition and the aspect ratio of the participant’s video.

" } }, + "PublicKey": { + "base": "

Object specifying a public key used to sign stage participant tokens.

", + "refs": { + "GetPublicKeyResponse$publicKey": "

The public key that is returned.

", + "ImportPublicKeyResponse$publicKey": "

The public key that was imported.

" + } + }, + "PublicKeyArn": { + "base": null, + "refs": { + "DeletePublicKeyRequest$arn": "

ARN of the public key to be deleted.

", + "GetPublicKeyRequest$arn": "

ARN of the public key for which the information is to be retrieved.

", + "PublicKey$arn": "

Public key ARN.

", + "PublicKeySummary$arn": "

Public key ARN.

" + } + }, + "PublicKeyFingerprint": { + "base": null, + "refs": { + "PublicKey$fingerprint": "

The public key fingerprint, a short string used to identify or verify the full public key.

" + } + }, + "PublicKeyList": { + "base": null, + "refs": { + "ListPublicKeysResponse$publicKeys": "

List of the matching public keys (summary information only).

" + } + }, + "PublicKeyMaterial": { + "base": null, + "refs": { + "ImportPublicKeyRequest$publicKeyMaterial": "

The content of the public key to be imported.

", + "PublicKey$publicKeyMaterial": "

Public key material.

" + } + }, + "PublicKeyName": { + "base": null, + "refs": { + "ImportPublicKeyRequest$name": "

Name of the public key to be imported.

", + "PublicKey$name": "

Public key name.

", + "PublicKeySummary$name": "

Public key name.

" + } + }, + "PublicKeySummary": { + "base": "

Summary information about a public key.

", + "refs": { + "PublicKeyList$member": null + } + }, "Published": { "base": null, "refs": { @@ -885,6 +986,19 @@ "UpdateStageRequest$arn": "

ARN of the stage to be updated.

" } }, + "StageEndpoint": { + "base": null, + "refs": { + "StageEndpoints$events": "

Events endpoint.

", + "StageEndpoints$whip": "

WHIP endpoint.

" + } + }, + "StageEndpoints": { + "base": "

Summary information about various endpoints for a stage.

", + "refs": { + "Stage$endpoints": "

Summary information about various endpoints for a stage.

" + } + }, "StageName": { "base": null, "refs": { @@ -1045,7 +1159,10 @@ "CreateStorageConfigurationRequest$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", "EncoderConfiguration$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", "EncoderConfigurationSummary$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", + "ImportPublicKeyRequest$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", "ListTagsForResourceResponse$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value).

", + "PublicKey$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", + "PublicKeySummary$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", "Stage$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", "StageSummary$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", "StartCompositionRequest$tags": "

Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no constraints on tags beyond what is documented there.

", @@ -1117,14 +1234,14 @@ "VideoAspectRatio": { "base": null, "refs": { - "GridConfiguration$videoAspectRatio": "

Sets the non-featured participant display mode. Default: VIDEO.

" + "GridConfiguration$videoAspectRatio": "

Sets the non-featured participant display mode, to control the aspect ratio of video tiles. VIDEO is 16:9, SQUARE is 1:1, and PORTRAIT is 3:4. Default: VIDEO.

" } }, "VideoFillMode": { "base": null, "refs": { - "GridConfiguration$videoFillMode": "

Defines how video fits within the participant tile. When not set, videoFillMode defaults to COVER fill mode for participants in the grid and to CONTAIN fill mode for featured participants.

", - "PipConfiguration$videoFillMode": "

Defines how video fits within the participant tile. Default: COVER.

" + "GridConfiguration$videoFillMode": "

Defines how video content fits within the participant tile: FILL (stretched), COVER (cropped), or CONTAIN (letterboxed). When not set, videoFillMode defaults to COVER fill mode for participants in the grid and to CONTAIN fill mode for featured participants.

", + "PipConfiguration$videoFillMode": "

Defines how video content fits within the participant tile: FILL (stretched), COVER (cropped), or CONTAIN (letterboxed). Default: COVER.

" } }, "Width": { diff --git a/apis/ivs-realtime/2020-07-14/paginators-1.json b/apis/ivs-realtime/2020-07-14/paginators-1.json index 1f17f6ce48a..f8e81fa57e5 100644 --- a/apis/ivs-realtime/2020-07-14/paginators-1.json +++ b/apis/ivs-realtime/2020-07-14/paginators-1.json @@ -20,6 +20,12 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListPublicKeys": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "publicKeys" + }, "ListStageSessions": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/apis/kinesisanalyticsv2/2018-05-23/api-2.json b/apis/kinesisanalyticsv2/2018-05-23/api-2.json index 35c4b4ff287..a69f919ebdb 100644 --- a/apis/kinesisanalyticsv2/2018-05-23/api-2.json +++ b/apis/kinesisanalyticsv2/2018-05-23/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"kinesisanalytics", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"Kinesis Analytics V2", "serviceFullName":"Amazon Kinesis Analytics", "serviceId":"Kinesis Analytics V2", @@ -292,6 +293,20 @@ {"shape":"InvalidRequestException"} ] }, + "DescribeApplicationOperation":{ + "name":"DescribeApplicationOperation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeApplicationOperationRequest"}, + "output":{"shape":"DescribeApplicationOperationResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"UnsupportedOperationException"} + ] + }, "DescribeApplicationSnapshot":{ "name":"DescribeApplicationSnapshot", "http":{ @@ -337,6 +352,20 @@ {"shape":"UnsupportedOperationException"} ] }, + "ListApplicationOperations":{ + "name":"ListApplicationOperations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListApplicationOperationsRequest"}, + "output":{"shape":"ListApplicationOperationsResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"UnsupportedOperationException"} + ] + }, "ListApplicationSnapshots":{ "name":"ListApplicationSnapshots", "http":{ @@ -527,7 +556,8 @@ "members":{ "ApplicationARN":{"shape":"ResourceARN"}, "ApplicationVersionId":{"shape":"ApplicationVersionId"}, - "CloudWatchLoggingOptionDescriptions":{"shape":"CloudWatchLoggingOptionDescriptions"} + "CloudWatchLoggingOptionDescriptions":{"shape":"CloudWatchLoggingOptionDescriptions"}, + "OperationId":{"shape":"OperationId"} } }, "AddApplicationInputProcessingConfigurationRequest":{ @@ -635,7 +665,8 @@ "members":{ "ApplicationARN":{"shape":"ResourceARN"}, "ApplicationVersionId":{"shape":"ApplicationVersionId"}, - "VpcConfigurationDescription":{"shape":"VpcConfigurationDescription"} + "VpcConfigurationDescription":{"shape":"VpcConfigurationDescription"}, + "OperationId":{"shape":"OperationId"} } }, "ApplicationCodeConfiguration":{ @@ -669,6 +700,7 @@ "EnvironmentProperties":{"shape":"EnvironmentProperties"}, "ApplicationCodeConfiguration":{"shape":"ApplicationCodeConfiguration"}, "ApplicationSnapshotConfiguration":{"shape":"ApplicationSnapshotConfiguration"}, + "ApplicationSystemRollbackConfiguration":{"shape":"ApplicationSystemRollbackConfiguration"}, "VpcConfigurations":{"shape":"VpcConfigurations"}, "ZeppelinApplicationConfiguration":{"shape":"ZeppelinApplicationConfiguration"} } @@ -682,6 +714,7 @@ "FlinkApplicationConfigurationDescription":{"shape":"FlinkApplicationConfigurationDescription"}, "EnvironmentPropertyDescriptions":{"shape":"EnvironmentPropertyDescriptions"}, "ApplicationSnapshotConfigurationDescription":{"shape":"ApplicationSnapshotConfigurationDescription"}, + "ApplicationSystemRollbackConfigurationDescription":{"shape":"ApplicationSystemRollbackConfigurationDescription"}, "VpcConfigurationDescriptions":{"shape":"VpcConfigurationDescriptions"}, "ZeppelinApplicationConfigurationDescription":{"shape":"ZeppelinApplicationConfigurationDescription"} } @@ -694,6 +727,7 @@ "FlinkApplicationConfigurationUpdate":{"shape":"FlinkApplicationConfigurationUpdate"}, "EnvironmentPropertyUpdates":{"shape":"EnvironmentPropertyUpdates"}, "ApplicationSnapshotConfigurationUpdate":{"shape":"ApplicationSnapshotConfigurationUpdate"}, + "ApplicationSystemRollbackConfigurationUpdate":{"shape":"ApplicationSystemRollbackConfigurationUpdate"}, "VpcConfigurationUpdates":{"shape":"VpcConfigurationUpdates"}, "ZeppelinApplicationConfigurationUpdate":{"shape":"ZeppelinApplicationConfigurationUpdate"} } @@ -727,6 +761,7 @@ "ApplicationMaintenanceConfigurationDescription":{"shape":"ApplicationMaintenanceConfigurationDescription"}, "ApplicationVersionUpdatedFrom":{"shape":"ApplicationVersionId"}, "ApplicationVersionRolledBackFrom":{"shape":"ApplicationVersionId"}, + "ApplicationVersionCreateTimestamp":{"shape":"Timestamp"}, "ConditionalToken":{"shape":"ConditionalToken"}, "ApplicationVersionRolledBackTo":{"shape":"ApplicationVersionId"}, "ApplicationMode":{"shape":"ApplicationMode"} @@ -775,6 +810,37 @@ "min":1, "pattern":"[a-zA-Z0-9_.-]+" }, + "ApplicationOperationInfo":{ + "type":"structure", + "members":{ + "Operation":{"shape":"Operation"}, + "OperationId":{"shape":"OperationId"}, + "StartTime":{"shape":"Timestamp"}, + "EndTime":{"shape":"Timestamp"}, + "OperationStatus":{"shape":"OperationStatus"} + } + }, + "ApplicationOperationInfoDetails":{ + "type":"structure", + "required":[ + "Operation", + "StartTime", + "EndTime", + "OperationStatus" + ], + "members":{ + "Operation":{"shape":"Operation"}, + "StartTime":{"shape":"Timestamp"}, + "EndTime":{"shape":"Timestamp"}, + "OperationStatus":{"shape":"OperationStatus"}, + "ApplicationVersionChangeDetails":{"shape":"ApplicationVersionChangeDetails"}, + "OperationFailureDetails":{"shape":"OperationFailureDetails"} + } + }, + "ApplicationOperationInfoList":{ + "type":"list", + "member":{"shape":"ApplicationOperationInfo"} + }, "ApplicationRestoreConfiguration":{ "type":"structure", "required":["ApplicationRestoreType"], @@ -850,6 +916,38 @@ "ApplicationMode":{"shape":"ApplicationMode"} } }, + "ApplicationSystemRollbackConfiguration":{ + "type":"structure", + "required":["RollbackEnabled"], + "members":{ + "RollbackEnabled":{"shape":"BooleanObject"} + } + }, + "ApplicationSystemRollbackConfigurationDescription":{ + "type":"structure", + "required":["RollbackEnabled"], + "members":{ + "RollbackEnabled":{"shape":"BooleanObject"} + } + }, + "ApplicationSystemRollbackConfigurationUpdate":{ + "type":"structure", + "required":["RollbackEnabledUpdate"], + "members":{ + "RollbackEnabledUpdate":{"shape":"BooleanObject"} + } + }, + "ApplicationVersionChangeDetails":{ + "type":"structure", + "required":[ + "ApplicationVersionUpdatedFrom", + "ApplicationVersionUpdatedTo" + ], + "members":{ + "ApplicationVersionUpdatedFrom":{"shape":"ApplicationVersionId"}, + "ApplicationVersionUpdatedTo":{"shape":"ApplicationVersionId"} + } + }, "ApplicationVersionId":{ "type":"long", "max":999999999, @@ -1174,7 +1272,8 @@ "members":{ "ApplicationARN":{"shape":"ResourceARN"}, "ApplicationVersionId":{"shape":"ApplicationVersionId"}, - "CloudWatchLoggingOptionDescriptions":{"shape":"CloudWatchLoggingOptionDescriptions"} + "CloudWatchLoggingOptionDescriptions":{"shape":"CloudWatchLoggingOptionDescriptions"}, + "OperationId":{"shape":"OperationId"} } }, "DeleteApplicationInputProcessingConfigurationRequest":{ @@ -1288,7 +1387,8 @@ "type":"structure", "members":{ "ApplicationARN":{"shape":"ResourceARN"}, - "ApplicationVersionId":{"shape":"ApplicationVersionId"} + "ApplicationVersionId":{"shape":"ApplicationVersionId"}, + "OperationId":{"shape":"OperationId"} } }, "DeployAsApplicationConfiguration":{ @@ -1311,6 +1411,23 @@ "S3ContentLocationUpdate":{"shape":"S3ContentBaseLocationUpdate"} } }, + "DescribeApplicationOperationRequest":{ + "type":"structure", + "required":[ + "ApplicationName", + "OperationId" + ], + "members":{ + "ApplicationName":{"shape":"ApplicationName"}, + "OperationId":{"shape":"OperationId"} + } + }, + "DescribeApplicationOperationResponse":{ + "type":"structure", + "members":{ + "ApplicationOperationInfoDetails":{"shape":"ApplicationOperationInfoDetails"} + } + }, "DescribeApplicationRequest":{ "type":"structure", "required":["ApplicationName"], @@ -1408,7 +1525,18 @@ "PropertyGroups":{"shape":"PropertyGroups"} } }, + "ErrorInfo":{ + "type":"structure", + "members":{ + "ErrorString":{"shape":"ErrorString"} + } + }, "ErrorMessage":{"type":"string"}, + "ErrorString":{ + "type":"string", + "max":512, + "min":1 + }, "FileKey":{ "type":"string", "max":1024, @@ -1775,6 +1903,29 @@ }, "exception":true }, + "ListApplicationOperationsInputLimit":{ + "type":"integer", + "max":50, + "min":1 + }, + "ListApplicationOperationsRequest":{ + "type":"structure", + "required":["ApplicationName"], + "members":{ + "ApplicationName":{"shape":"ApplicationName"}, + "Limit":{"shape":"ListApplicationOperationsInputLimit"}, + "NextToken":{"shape":"NextToken"}, + "Operation":{"shape":"Operation"}, + "OperationStatus":{"shape":"OperationStatus"} + } + }, + "ListApplicationOperationsResponse":{ + "type":"structure", + "members":{ + "ApplicationOperationInfoList":{"shape":"ApplicationOperationInfoList"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListApplicationSnapshotsRequest":{ "type":"structure", "required":["ApplicationName"], @@ -1951,6 +2102,32 @@ "max":1024, "min":0 }, + "Operation":{ + "type":"string", + "max":64, + "min":1 + }, + "OperationFailureDetails":{ + "type":"structure", + "members":{ + "RollbackOperationId":{"shape":"OperationId"}, + "ErrorInfo":{"shape":"ErrorInfo"} + } + }, + "OperationId":{ + "type":"string", + "max":64, + "min":1 + }, + "OperationStatus":{ + "type":"string", + "enum":[ + "IN_PROGRESS", + "CANCELLED", + "SUCCESSFUL", + "FAILED" + ] + }, "Output":{ "type":"structure", "required":[ @@ -2256,7 +2433,8 @@ "type":"structure", "required":["ApplicationDetail"], "members":{ - "ApplicationDetail":{"shape":"ApplicationDetail"} + "ApplicationDetail":{"shape":"ApplicationDetail"}, + "OperationId":{"shape":"OperationId"} } }, "RunConfiguration":{ @@ -2504,6 +2682,7 @@ "StartApplicationResponse":{ "type":"structure", "members":{ + "OperationId":{"shape":"OperationId"} } }, "StopApplicationRequest":{ @@ -2517,6 +2696,7 @@ "StopApplicationResponse":{ "type":"structure", "members":{ + "OperationId":{"shape":"OperationId"} } }, "SubnetId":{"type":"string"}, @@ -2653,7 +2833,8 @@ "type":"structure", "required":["ApplicationDetail"], "members":{ - "ApplicationDetail":{"shape":"ApplicationDetail"} + "ApplicationDetail":{"shape":"ApplicationDetail"}, + "OperationId":{"shape":"OperationId"} } }, "UrlType":{ diff --git a/apis/kinesisanalyticsv2/2018-05-23/docs-2.json b/apis/kinesisanalyticsv2/2018-05-23/docs-2.json index d9ccb5885d3..fe619a73358 100644 --- a/apis/kinesisanalyticsv2/2018-05-23/docs-2.json +++ b/apis/kinesisanalyticsv2/2018-05-23/docs-2.json @@ -19,14 +19,16 @@ "DeleteApplicationSnapshot": "

Deletes a snapshot of application state.

", "DeleteApplicationVpcConfiguration": "

Removes a VPC configuration from a Managed Service for Apache Flink application.

", "DescribeApplication": "

Returns information about a specific Managed Service for Apache Flink application.

If you want to retrieve a list of all applications in your account, use the ListApplications operation.

", + "DescribeApplicationOperation": "Returns information about a specific operation performed on a Managed Service for Apache Flink application", "DescribeApplicationSnapshot": "

Returns information about a snapshot of application state data.

", "DescribeApplicationVersion": "

Provides a detailed description of a specified version of the application. To see a list of all the versions of an application, invoke the ListApplicationVersions operation.

This operation is supported only for Managed Service for Apache Flink.

", "DiscoverInputSchema": "

Infers a schema for a SQL-based Kinesis Data Analytics application by evaluating sample records on the specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object. In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema.

You can use the inferred schema when configuring a streaming source for your application. When you create an application using the Kinesis Data Analytics console, the console uses this operation to infer a schema and show it in the console user interface.

", + "ListApplicationOperations": "Lists information about operations performed on a Managed Service for Apache Flink application", "ListApplicationSnapshots": "

Lists information about the current application snapshots.

", "ListApplicationVersions": "

Lists all the versions for the specified application, including versions that were rolled back. The response also includes a summary of the configuration associated with each version.

To get the complete description of a specific application version, invoke the DescribeApplicationVersion operation.

This operation is supported only for Managed Service for Apache Flink.

", "ListApplications": "

Returns a list of Managed Service for Apache Flink applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status.

If you want detailed information about a specific application, use DescribeApplication.

", "ListTagsForResource": "

Retrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.

", - "RollbackApplication": "

Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status.

You can roll back an application only if it is in the UPDATING or AUTOSCALING status.

When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.

This action is not supported for Managed Service for Apache Flink for SQL applications.

", + "RollbackApplication": "

Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status or in the running status.

You can roll back an application only if it is in the UPDATING, AUTOSCALING, or RUNNING statuses.

When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.

", "StartApplication": "

Starts the specified Managed Service for Apache Flink application. After creating an application, you must exclusively call this operation to start your application.

", "StopApplication": "

Stops the application from processing data. You can stop an application only if it is in the running status, unless you set the Force parameter to true.

You can use the DescribeApplication operation to find the application status.

Managed Service for Apache Flink takes a snapshot when the application is stopped, unless Force is set to true.

", "TagResource": "

Adds one or more key-value tags to a Managed Service for Apache Flink application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.

", @@ -183,7 +185,7 @@ } }, "ApplicationName": { - "base": null, + "base": "The name of the application", "refs": { "AddApplicationCloudWatchLoggingOptionRequest$ApplicationName": "

The Kinesis Data Analytics application name.

", "AddApplicationInputProcessingConfigurationRequest$ApplicationName": "

The name of the application to which you want to add the input processing configuration.

", @@ -203,9 +205,11 @@ "DeleteApplicationRequest$ApplicationName": "

The name of the application to delete.

", "DeleteApplicationSnapshotRequest$ApplicationName": "

The name of an existing application.

", "DeleteApplicationVpcConfigurationRequest$ApplicationName": "

The name of an existing application.

", + "DescribeApplicationOperationRequest$ApplicationName": null, "DescribeApplicationRequest$ApplicationName": "

The name of the application.

", "DescribeApplicationSnapshotRequest$ApplicationName": "

The name of an existing application.

", "DescribeApplicationVersionRequest$ApplicationName": "

The name of the application for which you want to get the version description.

", + "ListApplicationOperationsRequest$ApplicationName": null, "ListApplicationSnapshotsRequest$ApplicationName": "

The name of an existing application.

", "ListApplicationVersionsRequest$ApplicationName": "

The name of the application for which you want to list all versions.

", "ListApplicationsRequest$NextToken": "

If a previous command returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see Using the Amazon Command Line Interface's Pagination Options.

", @@ -217,6 +221,24 @@ "UpdateApplicationRequest$ApplicationName": "

The name of the application to update.

" } }, + "ApplicationOperationInfo": { + "base": "Provides a description of the operation, such as the type and status of operation", + "refs": { + "ApplicationOperationInfoList$member": null + } + }, + "ApplicationOperationInfoDetails": { + "base": "Provides a description of the operation, such as the operation-type and status", + "refs": { + "DescribeApplicationOperationResponse$ApplicationOperationInfoDetails": null + } + }, + "ApplicationOperationInfoList": { + "base": "List of ApplicationOperationInfo for an application", + "refs": { + "ListApplicationOperationsResponse$ApplicationOperationInfoList": null + } + }, "ApplicationRestoreConfiguration": { "base": "

Specifies the method and snapshot to use when restarting an application using previously saved application state.

", "refs": { @@ -269,6 +291,30 @@ "ApplicationSummaries$member": null } }, + "ApplicationSystemRollbackConfiguration": { + "base": "Describes system rollback configuration for a Managed Service for Apache Flink application", + "refs": { + "ApplicationConfiguration$ApplicationSystemRollbackConfiguration": null + } + }, + "ApplicationSystemRollbackConfigurationDescription": { + "base": "Describes system rollback configuration for a Managed Service for Apache Flink application", + "refs": { + "ApplicationConfigurationDescription$ApplicationSystemRollbackConfigurationDescription": null + } + }, + "ApplicationSystemRollbackConfigurationUpdate": { + "base": "Describes system rollback configuration for a Managed Service for Apache Flink application", + "refs": { + "ApplicationConfigurationUpdate$ApplicationSystemRollbackConfigurationUpdate": null + } + }, + "ApplicationVersionChangeDetails": { + "base": "Contains information about the application version changes due to an operation", + "refs": { + "ApplicationOperationInfoDetails$ApplicationVersionChangeDetails": null + } + }, "ApplicationVersionId": { "base": null, "refs": { @@ -289,6 +335,8 @@ "ApplicationDetail$ApplicationVersionRolledBackFrom": "

If you reverted the application using RollbackApplication, the application version when RollbackApplication was called.

", "ApplicationDetail$ApplicationVersionRolledBackTo": "

The version to which you want to roll back the application.

", "ApplicationSummary$ApplicationVersionId": "

Provides the current application version.

", + "ApplicationVersionChangeDetails$ApplicationVersionUpdatedFrom": "The operation was performed on this version of the application", + "ApplicationVersionChangeDetails$ApplicationVersionUpdatedTo": "The operation execution resulted in the transition to the following version of the application", "ApplicationVersionSummary$ApplicationVersionId": "

The ID of the application version. Managed Service for Apache Flink updates the ApplicationVersionId each time you update the application.

", "DeleteApplicationCloudWatchLoggingOptionRequest$CurrentApplicationVersionId": "

The version ID of the application. You must provide the CurrentApplicationVersionId or the ConditionalToken. You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

", "DeleteApplicationCloudWatchLoggingOptionResponse$ApplicationVersionId": "

The version ID of the application. Kinesis Data Analytics updates the ApplicationVersionId each time you change the CloudWatch logging options.

", @@ -345,6 +393,9 @@ "ApplicationSnapshotConfiguration$SnapshotsEnabled": "

Describes whether snapshots are enabled for a Managed Service for Apache Flink application.

", "ApplicationSnapshotConfigurationDescription$SnapshotsEnabled": "

Describes whether snapshots are enabled for a Managed Service for Apache Flink application.

", "ApplicationSnapshotConfigurationUpdate$SnapshotsEnabledUpdate": "

Describes updates to whether snapshots are enabled for an application.

", + "ApplicationSystemRollbackConfiguration$RollbackEnabled": "Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application", + "ApplicationSystemRollbackConfigurationDescription$RollbackEnabled": "Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application", + "ApplicationSystemRollbackConfigurationUpdate$RollbackEnabledUpdate": "Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application", "CheckpointConfiguration$CheckpointingEnabled": "

Describes whether checkpointing is enabled for a Managed Service for Apache Flink application.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointingEnabled value of true, even if this value is set to another value using this API or in application code.

", "CheckpointConfigurationDescription$CheckpointingEnabled": "

Describes whether checkpointing is enabled for a Managed Service for Apache Flink application.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointingEnabled value of true, even if this value is set to another value using this API or in application code.

", "CheckpointConfigurationUpdate$CheckpointingEnabledUpdate": "

Describes updates to whether checkpointing is enabled for an application.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointingEnabled value of true, even if this value is set to another value using this API or in application code.

", @@ -684,6 +735,16 @@ "ZeppelinApplicationConfigurationUpdate$DeployAsApplicationConfigurationUpdate": null } }, + "DescribeApplicationOperationRequest": { + "base": "Request for information about a specific operation performed on a Managed Service for Apache Flink application", + "refs": { + } + }, + "DescribeApplicationOperationResponse": { + "base": "Provides details of the operation corresponding to the operation-ID on a Managed Service for Apache Flink application", + "refs": { + } + }, "DescribeApplicationRequest": { "base": null, "refs": { @@ -750,6 +811,12 @@ "ApplicationConfigurationUpdate$EnvironmentPropertyUpdates": "

Describes updates to the environment properties for a Managed Service for Apache Flink application.

" } }, + "ErrorInfo": { + "base": "Provides a description of the operation failure error", + "refs": { + "OperationFailureDetails$ErrorInfo": null + } + }, "ErrorMessage": { "base": null, "refs": { @@ -768,6 +835,12 @@ "UnsupportedOperationException$Message": null } }, + "ErrorString": { + "base": "Error message resulting in failure of the operation", + "refs": { + "ErrorInfo$ErrorString": null + } + }, "FileKey": { "base": null, "refs": { @@ -1121,6 +1194,22 @@ "refs": { } }, + "ListApplicationOperationsInputLimit": { + "base": "Limit on the number of records returned in the response", + "refs": { + "ListApplicationOperationsRequest$Limit": null + } + }, + "ListApplicationOperationsRequest": { + "base": "Request to list operations performed on an application", + "refs": { + } + }, + "ListApplicationOperationsResponse": { + "base": "Response with the list of operations for an application", + "refs": { + } + }, "ListApplicationSnapshotsRequest": { "base": null, "refs": { @@ -1264,8 +1353,10 @@ } }, "NextToken": { - "base": null, + "base": "If a previous command returned a pagination token, pass it into this value to retrieve the next set of results", "refs": { + "ListApplicationOperationsRequest$NextToken": null, + "ListApplicationOperationsResponse$NextToken": null, "ListApplicationSnapshotsRequest$NextToken": "

Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from.

", "ListApplicationSnapshotsResponse$NextToken": "

The token for the next set of results, or null if there are no additional results.

", "ListApplicationVersionsRequest$NextToken": "

If a previous invocation of this operation returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see Using the Amazon Command Line Interface's Pagination Options.

", @@ -1280,6 +1371,44 @@ "S3ContentLocationUpdate$ObjectVersionUpdate": "

The new version of the object containing the application code.

" } }, + "Operation": { + "base": "Type of operation performed on an application", + "refs": { + "ApplicationOperationInfo$Operation": null, + "ApplicationOperationInfoDetails$Operation": null, + "ListApplicationOperationsRequest$Operation": null + } + }, + "OperationFailureDetails": { + "base": "Provides a description of the operation failure", + "refs": { + "ApplicationOperationInfoDetails$OperationFailureDetails": null + } + }, + "OperationId": { + "base": "Identifier of the Operation", + "refs": { + "AddApplicationCloudWatchLoggingOptionResponse$OperationId": "Operation ID for tracking AddApplicationCloudWatchLoggingOption request", + "AddApplicationVpcConfigurationResponse$OperationId": "Operation ID for tracking AddApplicationVpcConfiguration request", + "ApplicationOperationInfo$OperationId": null, + "DeleteApplicationCloudWatchLoggingOptionResponse$OperationId": "Operation ID for tracking DeleteApplicationCloudWatchLoggingOption request", + "DeleteApplicationVpcConfigurationResponse$OperationId": "Operation ID for tracking DeleteApplicationVpcConfiguration request", + "DescribeApplicationOperationRequest$OperationId": null, + "OperationFailureDetails$RollbackOperationId": "Provides the operation ID of a system-rollback operation executed due to failure in the current operation", + "RollbackApplicationResponse$OperationId": "Operation ID for tracking RollbackApplication request", + "StartApplicationResponse$OperationId": "Operation ID for tracking StartApplication request", + "StopApplicationResponse$OperationId": "Operation ID for tracking StopApplication request", + "UpdateApplicationResponse$OperationId": "Operation ID for tracking UpdateApplication request" + } + }, + "OperationStatus": { + "base": "Status of the operation performed on an application", + "refs": { + "ApplicationOperationInfo$OperationStatus": null, + "ApplicationOperationInfoDetails$OperationStatus": null, + "ListApplicationOperationsRequest$OperationStatus": null + } + }, "Output": { "base": "

Describes a SQL-based Kinesis Data Analytics application's output configuration, in which you identify an in-application stream and a destination where you want the in-application stream data to be written. The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream.

", "refs": { @@ -1892,6 +2021,11 @@ "refs": { "ApplicationDetail$CreateTimestamp": "

The current timestamp when the application was created.

", "ApplicationDetail$LastUpdateTimestamp": "

The current timestamp when the application was last updated.

", + "ApplicationDetail$ApplicationVersionCreateTimestamp": "The current timestamp when the application version was created.", + "ApplicationOperationInfo$StartTime": "The timestamp at which the operation was created", + "ApplicationOperationInfo$EndTime": "The timestamp at which the operation finished for the application", + "ApplicationOperationInfoDetails$StartTime": "The timestamp at which the operation was created", + "ApplicationOperationInfoDetails$EndTime": "The timestamp at which the operation finished for the application", "DeleteApplicationRequest$CreateTimestamp": "

Use the DescribeApplication operation to get this value.

", "DeleteApplicationSnapshotRequest$SnapshotCreationTimestamp": "

The creation timestamp of the application snapshot to delete. You can retrieve this value using or .

", "SnapshotDetails$SnapshotCreationTimestamp": "

The timestamp of the application snapshot.

" diff --git a/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json b/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json index 5677bd8e4a2..80ef6c0911e 100644 --- a/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json +++ b/apis/kinesisanalyticsv2/2018-05-23/paginators-1.json @@ -1,4 +1,28 @@ { "pagination": { + "ListApplicationOperations": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "Limit", + "result_key": "ApplicationOperationInfoList" + }, + "ListApplicationSnapshots": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "Limit", + "result_key": "SnapshotSummaries" + }, + "ListApplicationVersions": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "Limit", + "result_key": "ApplicationVersionSummaries" + }, + "ListApplications": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "Limit", + "result_key": "ApplicationSummaries" + } } } diff --git a/apis/opensearch/2021-01-01/api-2.json b/apis/opensearch/2021-01-01/api-2.json index ae094168fe8..b1bae1abcc1 100644 --- a/apis/opensearch/2021-01-01/api-2.json +++ b/apis/opensearch/2021-01-01/api-2.json @@ -1000,6 +1000,25 @@ } }, "shapes":{ + "AIMLOptionsInput":{ + "type":"structure", + "members":{ + "NaturalLanguageQueryGenerationOptions":{"shape":"NaturalLanguageQueryGenerationOptionsInput"} + } + }, + "AIMLOptionsOutput":{ + "type":"structure", + "members":{ + "NaturalLanguageQueryGenerationOptions":{"shape":"NaturalLanguageQueryGenerationOptionsOutput"} + } + }, + "AIMLOptionsStatus":{ + "type":"structure", + "members":{ + "Options":{"shape":"AIMLOptionsOutput"}, + "Status":{"shape":"OptionStatus"} + } + }, "ARN":{ "type":"string", "max":2048, @@ -1619,7 +1638,8 @@ "TagList":{"shape":"TagList"}, "AutoTuneOptions":{"shape":"AutoTuneOptionsInput"}, "OffPeakWindowOptions":{"shape":"OffPeakWindowOptions"}, - "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"} + "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"}, + "AIMLOptions":{"shape":"AIMLOptionsInput"} } }, "CreateDomainResponse":{ @@ -2278,7 +2298,8 @@ "ChangeProgressDetails":{"shape":"ChangeProgressDetails"}, "OffPeakWindowOptions":{"shape":"OffPeakWindowOptionsStatus"}, "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptionsStatus"}, - "ModifyingProperties":{"shape":"ModifyingPropertiesList"} + "ModifyingProperties":{"shape":"ModifyingPropertiesList"}, + "AIMLOptions":{"shape":"AIMLOptionsStatus"} } }, "DomainEndpointOptions":{ @@ -2471,7 +2492,8 @@ "OffPeakWindowOptions":{"shape":"OffPeakWindowOptions"}, "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"}, "DomainProcessingStatus":{"shape":"DomainProcessingStatusType"}, - "ModifyingProperties":{"shape":"ModifyingPropertiesList"} + "ModifyingProperties":{"shape":"ModifyingPropertiesList"}, + "AIMLOptions":{"shape":"AIMLOptionsOutput"} } }, "DomainStatusList":{ @@ -3365,6 +3387,38 @@ "type":"list", "member":{"shape":"ModifyingProperties"} }, + "NaturalLanguageQueryGenerationCurrentState":{ + "type":"string", + "enum":[ + "NOT_ENABLED", + "ENABLE_COMPLETE", + "ENABLE_IN_PROGRESS", + "ENABLE_FAILED", + "DISABLE_COMPLETE", + "DISABLE_IN_PROGRESS", + "DISABLE_FAILED" + ] + }, + "NaturalLanguageQueryGenerationDesiredState":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "NaturalLanguageQueryGenerationOptionsInput":{ + "type":"structure", + "members":{ + "DesiredState":{"shape":"NaturalLanguageQueryGenerationDesiredState"} + } + }, + "NaturalLanguageQueryGenerationOptionsOutput":{ + "type":"structure", + "members":{ + "DesiredState":{"shape":"NaturalLanguageQueryGenerationDesiredState"}, + "CurrentState":{"shape":"NaturalLanguageQueryGenerationCurrentState"} + } + }, "NextToken":{"type":"string"}, "NodeId":{ "type":"string", @@ -4309,7 +4363,8 @@ "DryRun":{"shape":"DryRun"}, "DryRunMode":{"shape":"DryRunMode"}, "OffPeakWindowOptions":{"shape":"OffPeakWindowOptions"}, - "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"} + "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"}, + "AIMLOptions":{"shape":"AIMLOptionsInput"} } }, "UpdateDomainConfigResponse":{ diff --git a/apis/opensearch/2021-01-01/docs-2.json b/apis/opensearch/2021-01-01/docs-2.json index af8019750ea..41f9e3dbba3 100644 --- a/apis/opensearch/2021-01-01/docs-2.json +++ b/apis/opensearch/2021-01-01/docs-2.json @@ -67,6 +67,26 @@ "UpgradeDomain": "

Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.

" }, "shapes": { + "AIMLOptionsInput": { + "base": "

Container for parameters required to enable all machine learning features.

", + "refs": { + "CreateDomainRequest$AIMLOptions": "

Options for all machine learning features for the specified domain.

", + "UpdateDomainConfigRequest$AIMLOptions": "

Options for all machine learning features for the specified domain.

" + } + }, + "AIMLOptionsOutput": { + "base": "

Container for parameters representing the state of machine learning features on the specified domain.

", + "refs": { + "AIMLOptionsStatus$Options": "

Machine learning options on the specified domain.

", + "DomainStatus$AIMLOptions": "

Container for parameters required to enable all machine learning features.

" + } + }, + "AIMLOptionsStatus": { + "base": "

The status of machine learning options on the specified domain.

", + "refs": { + "DomainConfig$AIMLOptions": "

Container for parameters required to enable all machine learning features.

" + } + }, "ARN": { "base": "

The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using Amazon Web Services Identity and Access Management for more information.

", "refs": { @@ -1894,6 +1914,31 @@ "DomainStatus$ModifyingProperties": "

Information about the domain properties that are currently being modified.

" } }, + "NaturalLanguageQueryGenerationCurrentState": { + "base": null, + "refs": { + "NaturalLanguageQueryGenerationOptionsOutput$CurrentState": "

The current state of the natural language query generation feature, indicating completion, in progress, or failure.

" + } + }, + "NaturalLanguageQueryGenerationDesiredState": { + "base": null, + "refs": { + "NaturalLanguageQueryGenerationOptionsInput$DesiredState": "

The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.

", + "NaturalLanguageQueryGenerationOptionsOutput$DesiredState": "

The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.

" + } + }, + "NaturalLanguageQueryGenerationOptionsInput": { + "base": "

Container for parameters required to enable the natural language query generation feature.

", + "refs": { + "AIMLOptionsInput$NaturalLanguageQueryGenerationOptions": "

Container for parameters required for natural language query generation on the specified domain.

" + } + }, + "NaturalLanguageQueryGenerationOptionsOutput": { + "base": "

Container for parameters representing the state of the natural language query generation feature on the specified domain.

", + "refs": { + "AIMLOptionsOutput$NaturalLanguageQueryGenerationOptions": "

Container for parameters required for natural language query generation on the specified domain.

" + } + }, "NextToken": { "base": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

", "refs": { @@ -2045,6 +2090,7 @@ "OptionStatus": { "base": "

Provides the current status of an entity.

", "refs": { + "AIMLOptionsStatus$Status": null, "AccessPoliciesStatus$Status": "

The status of the access policy for the domain.

", "AdvancedOptionsStatus$Status": "

The status of advanced options for the specified domain.

", "AdvancedSecurityOptionsStatus$Status": "

Status of the fine-grained access control settings for a domain.

", diff --git a/gems/aws-sdk-controltower/CHANGELOG.md b/gems/aws-sdk-controltower/CHANGELOG.md index 62b2f703af6..41b12198208 100644 --- a/gems/aws-sdk-controltower/CHANGELOG.md +++ b/gems/aws-sdk-controltower/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.25.0 (2024-06-26) +------------------ + +* Feature - Added ListLandingZoneOperations API. + 1.24.0 (2024-06-25) ------------------ diff --git a/gems/aws-sdk-controltower/VERSION b/gems/aws-sdk-controltower/VERSION index 53cc1a6f929..ad2191947f7 100644 --- a/gems/aws-sdk-controltower/VERSION +++ b/gems/aws-sdk-controltower/VERSION @@ -1 +1 @@ -1.24.0 +1.25.0 diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb index 9dda9c4ece8..5c6ed8273dc 100644 --- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb +++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb @@ -52,6 +52,6 @@ # @!group service module Aws::ControlTower - GEM_VERSION = '1.24.0' + GEM_VERSION = '1.25.0' end diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb index 6d10103b7cb..2cd68e32ca2 100644 --- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb +++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb @@ -538,14 +538,14 @@ def disable_baseline(params = {}, options = {}) end # This API call turns off a control. It starts an asynchronous operation - # that deletes AWS resources on the specified organizational unit and - # the accounts it contains. The resources will vary according to the - # control that you specify. For usage examples, see [ *the Amazon Web - # Services Control Tower User Guide* ][1]. + # that deletes Amazon Web Services resources on the specified + # organizational unit and the accounts it contains. The resources will + # vary according to the control that you specify. For usage examples, + # see the [ *Controls Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :control_identifier # The ARN of the control. Only **Strongly recommended** and **Elective** @@ -656,12 +656,11 @@ def enable_baseline(params = {}, options = {}) # that creates Amazon Web Services resources on the specified # organizational unit and the accounts it contains. The resources # created will vary according to the control that you specify. For usage - # examples, see [ *the Amazon Web Services Control Tower User Guide* - # ][1]. + # examples, see the [ *Controls Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :control_identifier # The ARN of the control. Only **Strongly recommended** and **Elective** @@ -806,12 +805,12 @@ def get_baseline_operation(params = {}, options = {}) # Returns the status of a particular `EnableControl` or `DisableControl` # operation. Displays a message in case of error. Details for an - # operation are available for 90 days. For usage examples, see [ *the - # Amazon Web Services Control Tower User Guide* ][1]. + # operation are available for 90 days. For usage examples, see the [ + # *Controls Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :operation_identifier # The ID of the asynchronous operation, which is used to track status. @@ -885,12 +884,12 @@ def get_enabled_baseline(params = {}, options = {}) req.send_request(options) end - # Retrieves details about an enabled control. For usage examples, see [ - # *the Amazon Web Services Control Tower User Guide* ][1]. + # Retrieves details about an enabled control. For usage examples, see + # the [ *Controls Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :enabled_control_identifier # The `controlIdentifier` of the enabled control. @@ -979,6 +978,7 @@ def get_landing_zone(params = {}, options = {}) # @example Response structure # # resp.operation_details.end_time #=> Time + # resp.operation_details.operation_identifier #=> String # resp.operation_details.operation_type #=> String, one of "DELETE", "CREATE", "UPDATE", "RESET" # resp.operation_details.start_time #=> Time # resp.operation_details.status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS" @@ -1037,7 +1037,12 @@ def list_baselines(params = {}, options = {}) req.send_request(options) end - # Provides a list of operations in progress or queued. + # Provides a list of operations in progress or queued. For usage + # examples, see [ListControlOperation examples][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html#list-control-operations-api-examples # # @option params [Types::ControlOperationFilter] :filter # An input filter for the `ListControlOperations` API that lets you @@ -1153,16 +1158,15 @@ def list_enabled_baselines(params = {}, options = {}) # Lists the controls enabled by Amazon Web Services Control Tower on the # specified organizational unit and the accounts it contains. For usage - # examples, see [ *the Amazon Web Services Control Tower User Guide* - # ][1]. + # examples, see the [ *Controls Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [Types::EnabledControlFilter] :filter - # An input filter for the `ListCEnabledControls` API that lets you - # select the types of control operations to view. + # An input filter for the `ListEnabledControls` API that lets you select + # the types of control operations to view. # # @option params [Integer] :max_results # How many results to return per API call. @@ -1219,6 +1223,55 @@ def list_enabled_controls(params = {}, options = {}) req.send_request(options) end + # Lists all landing zone operations from the past 90 days. Results are + # sorted by time, with the most recent operation first. + # + # @option params [Types::LandingZoneOperationFilter] :filter + # An input filter for the `ListLandingZoneOperations` API that lets you + # select the types of landing zone operations to view. + # + # @option params [Integer] :max_results + # How many results to return per API call. + # + # @option params [String] :next_token + # The token to continue the list from a previous API call with the same + # parameters. + # + # @return [Types::ListLandingZoneOperationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListLandingZoneOperationsOutput#landing_zone_operations #landing_zone_operations} => Array<Types::LandingZoneOperationSummary> + # * {Types::ListLandingZoneOperationsOutput#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_landing_zone_operations({ + # filter: { + # statuses: ["SUCCEEDED"], # accepts SUCCEEDED, FAILED, IN_PROGRESS + # types: ["DELETE"], # accepts DELETE, CREATE, UPDATE, RESET + # }, + # max_results: 1, + # next_token: "String", + # }) + # + # @example Response structure + # + # resp.landing_zone_operations #=> Array + # resp.landing_zone_operations[0].operation_identifier #=> String + # resp.landing_zone_operations[0].operation_type #=> String, one of "DELETE", "CREATE", "UPDATE", "RESET" + # resp.landing_zone_operations[0].status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS" + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListLandingZoneOperations AWS API Documentation + # + # @overload list_landing_zone_operations(params = {}) + # @param [Hash] params ({}) + def list_landing_zone_operations(params = {}, options = {}) + req = build_request(:list_landing_zone_operations, params) + req.send_request(options) + end + # Returns the landing zone ARN for the landing zone deployed in your # managed account. This API also creates an ARN for existing accounts # that do not yet have a landing zone ARN. @@ -1262,12 +1315,11 @@ def list_landing_zones(params = {}, options = {}) end # Returns a list of tags associated with the resource. For usage - # examples, see [ *the Amazon Web Services Control Tower User Guide* - # ][1]. + # examples, see the [ *Controls Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :resource_arn # The ARN of the resource. @@ -1334,7 +1386,11 @@ def reset_enabled_baseline(params = {}, options = {}) # This API call resets a landing zone. It starts an asynchronous # operation that resets the landing zone to the parameters specified in - # its original configuration. + # the original configuration, which you specified in the manifest file. + # Nothing in the manifest file's original landing zone configuration is + # changed during the reset process, by default. This API is not the same + # as a rollback of a landing zone version, which is not a supported + # operation. # # @option params [required, String] :landing_zone_identifier # The unique identifier of the landing zone. @@ -1362,12 +1418,12 @@ def reset_landing_zone(params = {}, options = {}) req.send_request(options) end - # Applies tags to a resource. For usage examples, see [ *the Amazon Web - # Services Control Tower User Guide* ][1]. + # Applies tags to a resource. For usage examples, see the [ *Controls + # Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :resource_arn # The ARN of the resource to be tagged. @@ -1395,12 +1451,12 @@ def tag_resource(params = {}, options = {}) req.send_request(options) end - # Removes tags from a resource. For usage examples, see [ *the Amazon - # Web Services Control Tower User Guide* ][1]. + # Removes tags from a resource. For usage examples, see the [ *Controls + # Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :resource_arn # The ARN of the resource. @@ -1483,18 +1539,18 @@ def update_enabled_baseline(params = {}, options = {}) # accept the request. # # If the enabled control shows an `EnablementStatus` of FAILED, Amazon - # Web Services Control Tower will update the control to match any valid + # Web Services Control Tower updates the control to match any valid # parameters that you supply. # # If the `DriftSummary` status for the control shows as DRIFTED, you # cannot call this API. Instead, you can update the control by calling # `DisableControl` and again calling `EnableControl`, or you can run an - # extending governance operation. For usage examples, see [ *the Amazon - # Web Services Control Tower User Guide* ][1] + # extending governance operation. For usage examples, see the [ + # *Controls Reference Guide* ][1]. # # # - # [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html + # [1]: https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html # # @option params [required, String] :enabled_control_identifier # The ARN of the enabled control that will be updated. @@ -1542,9 +1598,11 @@ def update_enabled_control(params = {}, options = {}) # The unique identifier of the landing zone. # # @option params [required, Hash,Array,String,Numeric,Boolean] :manifest - # The manifest JSON file is a text file that describes your Amazon Web - # Services resources. For examples, review [Launch your landing - # zone][1]. + # The manifest file (JSON) is a text file that describes your Amazon Web + # Services resources. For an example, review [Launch your landing + # zone][1]. The example manifest file contains each of the available + # parameters. The schema for the landing zone's JSON manifest file is + # not published, by design. # # Document type used to carry open content # (Hash,Array,String,Numeric,Boolean). A document type value is @@ -1597,7 +1655,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-controltower' - context[:gem_version] = '1.24.0' + context[:gem_version] = '1.25.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client_api.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client_api.rb index d2eceec6f24..afc247395e0 100644 --- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client_api.rb +++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client_api.rb @@ -92,8 +92,13 @@ module ClientApi LandingZoneDriftStatus = Shapes::StringShape.new(name: 'LandingZoneDriftStatus') LandingZoneDriftStatusSummary = Shapes::StructureShape.new(name: 'LandingZoneDriftStatusSummary') LandingZoneOperationDetail = Shapes::StructureShape.new(name: 'LandingZoneOperationDetail') + LandingZoneOperationFilter = Shapes::StructureShape.new(name: 'LandingZoneOperationFilter') LandingZoneOperationStatus = Shapes::StringShape.new(name: 'LandingZoneOperationStatus') + LandingZoneOperationStatuses = Shapes::ListShape.new(name: 'LandingZoneOperationStatuses') + LandingZoneOperationSummary = Shapes::StructureShape.new(name: 'LandingZoneOperationSummary') LandingZoneOperationType = Shapes::StringShape.new(name: 'LandingZoneOperationType') + LandingZoneOperationTypes = Shapes::ListShape.new(name: 'LandingZoneOperationTypes') + LandingZoneOperations = Shapes::ListShape.new(name: 'LandingZoneOperations') LandingZoneStatus = Shapes::StringShape.new(name: 'LandingZoneStatus') LandingZoneSummary = Shapes::StructureShape.new(name: 'LandingZoneSummary') LandingZoneVersion = Shapes::StringShape.new(name: 'LandingZoneVersion') @@ -110,6 +115,9 @@ module ClientApi ListEnabledBaselinesOutput = Shapes::StructureShape.new(name: 'ListEnabledBaselinesOutput') ListEnabledControlsInput = Shapes::StructureShape.new(name: 'ListEnabledControlsInput') ListEnabledControlsOutput = Shapes::StructureShape.new(name: 'ListEnabledControlsOutput') + ListLandingZoneOperationsInput = Shapes::StructureShape.new(name: 'ListLandingZoneOperationsInput') + ListLandingZoneOperationsMaxResults = Shapes::IntegerShape.new(name: 'ListLandingZoneOperationsMaxResults') + ListLandingZoneOperationsOutput = Shapes::StructureShape.new(name: 'ListLandingZoneOperationsOutput') ListLandingZonesInput = Shapes::StructureShape.new(name: 'ListLandingZonesInput') ListLandingZonesMaxResults = Shapes::IntegerShape.new(name: 'ListLandingZonesMaxResults') ListLandingZonesOutput = Shapes::StructureShape.new(name: 'ListLandingZonesOutput') @@ -401,12 +409,28 @@ module ClientApi LandingZoneDriftStatusSummary.struct_class = Types::LandingZoneDriftStatusSummary LandingZoneOperationDetail.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime")) + LandingZoneOperationDetail.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, location_name: "operationIdentifier")) LandingZoneOperationDetail.add_member(:operation_type, Shapes::ShapeRef.new(shape: LandingZoneOperationType, location_name: "operationType")) LandingZoneOperationDetail.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime")) LandingZoneOperationDetail.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneOperationStatus, location_name: "status")) LandingZoneOperationDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage")) LandingZoneOperationDetail.struct_class = Types::LandingZoneOperationDetail + LandingZoneOperationFilter.add_member(:statuses, Shapes::ShapeRef.new(shape: LandingZoneOperationStatuses, location_name: "statuses")) + LandingZoneOperationFilter.add_member(:types, Shapes::ShapeRef.new(shape: LandingZoneOperationTypes, location_name: "types")) + LandingZoneOperationFilter.struct_class = Types::LandingZoneOperationFilter + + LandingZoneOperationStatuses.member = Shapes::ShapeRef.new(shape: LandingZoneOperationStatus) + + LandingZoneOperationSummary.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, location_name: "operationIdentifier")) + LandingZoneOperationSummary.add_member(:operation_type, Shapes::ShapeRef.new(shape: LandingZoneOperationType, location_name: "operationType")) + LandingZoneOperationSummary.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneOperationStatus, location_name: "status")) + LandingZoneOperationSummary.struct_class = Types::LandingZoneOperationSummary + + LandingZoneOperationTypes.member = Shapes::ShapeRef.new(shape: LandingZoneOperationType) + + LandingZoneOperations.member = Shapes::ShapeRef.new(shape: LandingZoneOperationSummary) + LandingZoneSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn")) LandingZoneSummary.struct_class = Types::LandingZoneSummary @@ -446,6 +470,15 @@ module ClientApi ListEnabledControlsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) ListEnabledControlsOutput.struct_class = Types::ListEnabledControlsOutput + ListLandingZoneOperationsInput.add_member(:filter, Shapes::ShapeRef.new(shape: LandingZoneOperationFilter, location_name: "filter")) + ListLandingZoneOperationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLandingZoneOperationsMaxResults, location_name: "maxResults")) + ListLandingZoneOperationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) + ListLandingZoneOperationsInput.struct_class = Types::ListLandingZoneOperationsInput + + ListLandingZoneOperationsOutput.add_member(:landing_zone_operations, Shapes::ShapeRef.new(shape: LandingZoneOperations, required: true, location_name: "landingZoneOperations")) + ListLandingZoneOperationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) + ListLandingZoneOperationsOutput.struct_class = Types::ListLandingZoneOperationsOutput + ListLandingZonesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLandingZonesMaxResults, location_name: "maxResults")) ListLandingZonesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) ListLandingZonesInput.struct_class = Types::ListLandingZonesInput @@ -544,6 +577,7 @@ module ClientApi api.metadata = { "apiVersion" => "2018-05-10", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "controltower", "jsonVersion" => "1.1", "protocol" => "rest-json", @@ -806,6 +840,24 @@ module ClientApi ) end) + api.add_operation(:list_landing_zone_operations, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListLandingZoneOperations" + o.http_method = "POST" + o.http_request_uri = "/list-landingzone-operations" + o.input = Shapes::ShapeRef.new(shape: ListLandingZoneOperationsInput) + o.output = Shapes::ShapeRef.new(shape: ListLandingZoneOperationsOutput) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_landing_zones, Seahorse::Model::Operation.new.tap do |o| o.name = "ListLandingZones" o.http_method = "POST" diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb index 3dd4c3b242d..5f4b67ed463 100644 --- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb +++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb @@ -250,6 +250,20 @@ def self.build(context) end end + class ListLandingZoneOperations + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ControlTower::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListLandingZones def self.build(context) unless context.config.regional_endpoint diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb index 36cd537cfda..4adf00f950a 100644 --- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb +++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb @@ -92,6 +92,8 @@ def parameters_for_operation(context) Aws::ControlTower::Endpoints::ListEnabledBaselines.build(context) when :list_enabled_controls Aws::ControlTower::Endpoints::ListEnabledControls.build(context) + when :list_landing_zone_operations + Aws::ControlTower::Endpoints::ListLandingZoneOperations.build(context) when :list_landing_zones Aws::ControlTower::Endpoints::ListLandingZones.build(context) when :list_tags_for_resource diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb index 4a6ff790809..5ec6bee7063 100644 --- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb +++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb @@ -159,7 +159,7 @@ class ControlOperation < Struct.new( include Aws::Structure end - # A filter object that lets you call `ListCOntrolOperations` with a + # A filter object that lets you call `ListControlOperations` with a # specific filter. # # @!attribute [rw] control_identifiers @@ -559,7 +559,8 @@ class EnableControlOutput < Struct.new( # @return [Array] # # @!attribute [rw] status_summary - # The deployment summary of the enabled control. + # The deployment summary of an `EnabledControl` or `EnabledBaseline` + # resource. # @return [Types::EnablementStatusSummary] # # @!attribute [rw] target_identifier @@ -657,7 +658,8 @@ class EnabledBaselineParameterSummary < Struct.new( # @return [String] # # @!attribute [rw] status_summary - # The deployment summary of the enabled control. + # The deployment summary of an `EnabledControl` or `EnabledBaseline` + # resource. # @return [Types::EnablementStatusSummary] # # @!attribute [rw] target_identifier @@ -830,23 +832,26 @@ class EnabledControlSummary < Struct.new( include Aws::Structure end - # The deployment summary of the enabled control. + # The deployment summary of an `EnabledControl` or `EnabledBaseline` + # resource. # # @!attribute [rw] last_operation_identifier - # The last operation identifier for the enabled control. + # The last operation identifier for the enabled resource. # @return [String] # # @!attribute [rw] status - # The deployment status of the enabled control. + # The deployment status of the enabled resource. # # Valid values: # - # * `SUCCEEDED`: The `enabledControl` configuration was deployed - # successfully. + # * `SUCCEEDED`: The `EnabledControl` or `EnabledBaseline` + # configuration was deployed successfully. # - # * `UNDER_CHANGE`: The `enabledControl` configuration is changing. + # * `UNDER_CHANGE`: The `EnabledControl` or `EnabledBaseline` + # configuration is changing. # - # * `FAILED`: The `enabledControl` configuration failed to deploy. + # * `FAILED`: The `EnabledControl` or `EnabledBaseline` configuration + # failed to deploy. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/EnablementStatusSummary AWS API Documentation @@ -1127,6 +1132,10 @@ class LandingZoneDriftStatusSummary < Struct.new( # The landing zone operation end time. # @return [Time] # + # @!attribute [rw] operation_identifier + # The `operationIdentifier` of the landing zone operation. + # @return [String] + # # @!attribute [rw] operation_type # The landing zone operation type. # @@ -1164,6 +1173,7 @@ class LandingZoneDriftStatusSummary < Struct.new( # class LandingZoneOperationDetail < Struct.new( :end_time, + :operation_identifier, :operation_type, :start_time, :status, @@ -1172,6 +1182,51 @@ class LandingZoneOperationDetail < Struct.new( include Aws::Structure end + # A filter object that lets you call `ListLandingZoneOperations` with a + # specific filter. + # + # @!attribute [rw] statuses + # The statuses of the set of landing zone operations selected by the + # filter. + # @return [Array] + # + # @!attribute [rw] types + # The set of landing zone operation types selected by the filter. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/LandingZoneOperationFilter AWS API Documentation + # + class LandingZoneOperationFilter < Struct.new( + :statuses, + :types) + SENSITIVE = [] + include Aws::Structure + end + + # Returns a summary of information about a landing zone operation. + # + # @!attribute [rw] operation_identifier + # The `operationIdentifier` of the landing zone operation. + # @return [String] + # + # @!attribute [rw] operation_type + # The type of the landing zone operation. + # @return [String] + # + # @!attribute [rw] status + # The status of the landing zone operation. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/LandingZoneOperationSummary AWS API Documentation + # + class LandingZoneOperationSummary < Struct.new( + :operation_identifier, + :operation_type, + :status) + SENSITIVE = [] + include Aws::Structure + end + # Returns a summary of information about a landing zone. # # @!attribute [rw] arn @@ -1244,7 +1299,7 @@ class ListControlOperationsInput < Struct.new( end # @!attribute [rw] control_operations - # Returns a list of output from control operations. PLACEHOLDER + # Returns a list of output from control operations. # @return [Array] # # @!attribute [rw] next_token @@ -1302,7 +1357,7 @@ class ListEnabledBaselinesOutput < Struct.new( end # @!attribute [rw] filter - # An input filter for the `ListCEnabledControls` API that lets you + # An input filter for the `ListEnabledControls` API that lets you # select the types of control operations to view. # @return [Types::EnabledControlFilter] # @@ -1354,6 +1409,48 @@ class ListEnabledControlsOutput < Struct.new( include Aws::Structure end + # @!attribute [rw] filter + # An input filter for the `ListLandingZoneOperations` API that lets + # you select the types of landing zone operations to view. + # @return [Types::LandingZoneOperationFilter] + # + # @!attribute [rw] max_results + # How many results to return per API call. + # @return [Integer] + # + # @!attribute [rw] next_token + # The token to continue the list from a previous API call with the + # same parameters. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListLandingZoneOperationsInput AWS API Documentation + # + class ListLandingZoneOperationsInput < Struct.new( + :filter, + :max_results, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] landing_zone_operations + # Lists landing zone operations. + # @return [Array] + # + # @!attribute [rw] next_token + # Retrieves the next page of results. If the string is empty, the + # response is the end of the results. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListLandingZoneOperationsOutput AWS API Documentation + # + class ListLandingZoneOperationsOutput < Struct.new( + :landing_zone_operations, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] max_results # The maximum number of returned landing zone ARNs, which is one. # @return [Integer] @@ -1660,9 +1757,11 @@ class UpdateEnabledControlOutput < Struct.new( # @return [String] # # @!attribute [rw] manifest - # The manifest JSON file is a text file that describes your Amazon Web - # Services resources. For examples, review [Launch your landing - # zone][1]. + # The manifest file (JSON) is a text file that describes your Amazon + # Web Services resources. For an example, review [Launch your landing + # zone][1]. The example manifest file contains each of the available + # parameters. The schema for the landing zone's JSON manifest file is + # not published, by design. # # # diff --git a/gems/aws-sdk-controltower/sig/client.rbs b/gems/aws-sdk-controltower/sig/client.rbs index d457c464588..0124c91f4dd 100644 --- a/gems/aws-sdk-controltower/sig/client.rbs +++ b/gems/aws-sdk-controltower/sig/client.rbs @@ -295,6 +295,22 @@ module Aws ) -> _ListEnabledControlsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnabledControlsResponseSuccess + interface _ListLandingZoneOperationsResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListLandingZoneOperationsOutput] + def landing_zone_operations: () -> ::Array[Types::LandingZoneOperationSummary] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#list_landing_zone_operations-instance_method + def list_landing_zone_operations: ( + ?filter: { + statuses: Array[("SUCCEEDED" | "FAILED" | "IN_PROGRESS")]?, + types: Array[("DELETE" | "CREATE" | "UPDATE" | "RESET")]? + }, + ?max_results: ::Integer, + ?next_token: ::String + ) -> _ListLandingZoneOperationsResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLandingZoneOperationsResponseSuccess + interface _ListLandingZonesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListLandingZonesOutput] def landing_zones: () -> ::Array[Types::LandingZoneSummary] diff --git a/gems/aws-sdk-controltower/sig/types.rbs b/gems/aws-sdk-controltower/sig/types.rbs index 953f307c104..283fba235dd 100644 --- a/gems/aws-sdk-controltower/sig/types.rbs +++ b/gems/aws-sdk-controltower/sig/types.rbs @@ -324,6 +324,7 @@ module Aws::ControlTower class LandingZoneOperationDetail attr_accessor end_time: ::Time + attr_accessor operation_identifier: ::String attr_accessor operation_type: ("DELETE" | "CREATE" | "UPDATE" | "RESET") attr_accessor start_time: ::Time attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS") @@ -331,6 +332,19 @@ module Aws::ControlTower SENSITIVE: [] end + class LandingZoneOperationFilter + attr_accessor statuses: ::Array[("SUCCEEDED" | "FAILED" | "IN_PROGRESS")] + attr_accessor types: ::Array[("DELETE" | "CREATE" | "UPDATE" | "RESET")] + SENSITIVE: [] + end + + class LandingZoneOperationSummary + attr_accessor operation_identifier: ::String + attr_accessor operation_type: ("DELETE" | "CREATE" | "UPDATE" | "RESET") + attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS") + SENSITIVE: [] + end + class LandingZoneSummary attr_accessor arn: ::String SENSITIVE: [] @@ -388,6 +402,19 @@ module Aws::ControlTower SENSITIVE: [] end + class ListLandingZoneOperationsInput + attr_accessor filter: Types::LandingZoneOperationFilter + attr_accessor max_results: ::Integer + attr_accessor next_token: ::String + SENSITIVE: [] + end + + class ListLandingZoneOperationsOutput + attr_accessor landing_zone_operations: ::Array[Types::LandingZoneOperationSummary] + attr_accessor next_token: ::String + SENSITIVE: [] + end + class ListLandingZonesInput attr_accessor max_results: ::Integer attr_accessor next_token: ::String diff --git a/gems/aws-sdk-eks/CHANGELOG.md b/gems/aws-sdk-eks/CHANGELOG.md index 7ebd26b20e9..ee592da094a 100644 --- a/gems/aws-sdk-eks/CHANGELOG.md +++ b/gems/aws-sdk-eks/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.108.0 (2024-06-26) +------------------ + +* Feature - Added support for disabling unmanaged addons during cluster creation. + 1.107.0 (2024-06-25) ------------------ diff --git a/gems/aws-sdk-eks/VERSION b/gems/aws-sdk-eks/VERSION index 585f0182df4..83033d17f98 100644 --- a/gems/aws-sdk-eks/VERSION +++ b/gems/aws-sdk-eks/VERSION @@ -1 +1 @@ -1.107.0 +1.108.0 diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks.rb index 3182eb0e9a4..10d4b09316c 100644 --- a/gems/aws-sdk-eks/lib/aws-sdk-eks.rb +++ b/gems/aws-sdk-eks/lib/aws-sdk-eks.rb @@ -53,6 +53,6 @@ # @!group service module Aws::EKS - GEM_VERSION = '1.107.0' + GEM_VERSION = '1.108.0' end diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb index 8b7393d6e7e..2c30a4b203e 100644 --- a/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb +++ b/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb @@ -1078,6 +1078,16 @@ def create_addon(params = {}, options = {}) # @option params [Types::CreateAccessConfigRequest] :access_config # The access configuration for the cluster. # + # @option params [Boolean] :bootstrap_self_managed_addons + # If you set this value to `False` when creating a cluster, the default + # networking add-ons will not be installed. + # + # The default networking addons include vpc-cni, coredns, and + # kube-proxy. + # + # Use this option when you plan to install third-party alternative + # add-ons or self-manage the default networking add-ons. + # # @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster @@ -1155,6 +1165,7 @@ def create_addon(params = {}, options = {}) # bootstrap_cluster_creator_admin_permissions: false, # authentication_mode: "API", # accepts API, API_AND_CONFIG_MAP, CONFIG_MAP # }, + # bootstrap_self_managed_addons: false, # }) # # @example Response structure @@ -5061,7 +5072,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-eks' - context[:gem_version] = '1.107.0' + context[:gem_version] = '1.108.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks/client_api.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks/client_api.rb index 693cde9bba5..c55ed1676ce 100644 --- a/gems/aws-sdk-eks/lib/aws-sdk-eks/client_api.rb +++ b/gems/aws-sdk-eks/lib/aws-sdk-eks/client_api.rb @@ -560,6 +560,7 @@ module ClientApi CreateClusterRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfigList, location_name: "encryptionConfig")) CreateClusterRequest.add_member(:outpost_config, Shapes::ShapeRef.new(shape: OutpostConfigRequest, location_name: "outpostConfig")) CreateClusterRequest.add_member(:access_config, Shapes::ShapeRef.new(shape: CreateAccessConfigRequest, location_name: "accessConfig")) + CreateClusterRequest.add_member(:bootstrap_self_managed_addons, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bootstrapSelfManagedAddons")) CreateClusterRequest.struct_class = Types::CreateClusterRequest CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster")) diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb index 0aa9c9e8be0..02555f43e88 100644 --- a/gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb +++ b/gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb @@ -1442,6 +1442,17 @@ class CreateAddonResponse < Struct.new( # The access configuration for the cluster. # @return [Types::CreateAccessConfigRequest] # + # @!attribute [rw] bootstrap_self_managed_addons + # If you set this value to `False` when creating a cluster, the + # default networking add-ons will not be installed. + # + # The default networking addons include vpc-cni, coredns, and + # kube-proxy. + # + # Use this option when you plan to install third-party alternative + # add-ons or self-manage the default networking add-ons. + # @return [Boolean] + # # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateClusterRequest AWS API Documentation # class CreateClusterRequest < Struct.new( @@ -1455,7 +1466,8 @@ class CreateClusterRequest < Struct.new( :tags, :encryption_config, :outpost_config, - :access_config) + :access_config, + :bootstrap_self_managed_addons) SENSITIVE = [] include Aws::Structure end diff --git a/gems/aws-sdk-eks/sig/client.rbs b/gems/aws-sdk-eks/sig/client.rbs index 983297a2f03..277cf75548f 100644 --- a/gems/aws-sdk-eks/sig/client.rbs +++ b/gems/aws-sdk-eks/sig/client.rbs @@ -219,7 +219,8 @@ module Aws ?access_config: { bootstrap_cluster_creator_admin_permissions: bool?, authentication_mode: ("API" | "API_AND_CONFIG_MAP" | "CONFIG_MAP")? - } + }, + ?bootstrap_self_managed_addons: bool ) -> _CreateClusterResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess diff --git a/gems/aws-sdk-eks/sig/types.rbs b/gems/aws-sdk-eks/sig/types.rbs index 84899ebe5a6..4a15ea6d3ab 100644 --- a/gems/aws-sdk-eks/sig/types.rbs +++ b/gems/aws-sdk-eks/sig/types.rbs @@ -307,6 +307,7 @@ module Aws::EKS attr_accessor encryption_config: ::Array[Types::EncryptionConfig] attr_accessor outpost_config: Types::OutpostConfigRequest attr_accessor access_config: Types::CreateAccessConfigRequest + attr_accessor bootstrap_self_managed_addons: bool SENSITIVE: [] end diff --git a/gems/aws-sdk-ivsrealtime/CHANGELOG.md b/gems/aws-sdk-ivsrealtime/CHANGELOG.md index a6977ebcd94..7fe3cf82199 100644 --- a/gems/aws-sdk-ivsrealtime/CHANGELOG.md +++ b/gems/aws-sdk-ivsrealtime/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.23.0 (2024-06-26) +------------------ + +* Feature - IVS Real-Time now offers customers the ability to upload public keys for customer vended participant tokens. + 1.22.0 (2024-06-25) ------------------ diff --git a/gems/aws-sdk-ivsrealtime/VERSION b/gems/aws-sdk-ivsrealtime/VERSION index 57807d6d0d0..a6c2798a482 100644 --- a/gems/aws-sdk-ivsrealtime/VERSION +++ b/gems/aws-sdk-ivsrealtime/VERSION @@ -1 +1 @@ -1.22.0 +1.23.0 diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb index 5e05df314ad..6d2f7ca08ce 100644 --- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb +++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb @@ -53,6 +53,6 @@ # @!group service module Aws::IVSRealTime - GEM_VERSION = '1.22.0' + GEM_VERSION = '1.23.0' end diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb index 06678d0447e..67fd71bc167 100644 --- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb +++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb @@ -564,7 +564,8 @@ def create_participant_token(params = {}, options = {}) # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html # # @option params [Types::AutoParticipantRecordingConfiguration] :auto_participant_recording_configuration - # Auto participant recording configuration object attached to the stage. + # Configuration object for individual participant recording, to attach + # to the new stage. # # @return [Types::CreateStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -604,6 +605,8 @@ def create_participant_token(params = {}, options = {}) # resp.stage.auto_participant_recording_configuration.storage_configuration_arn #=> String # resp.stage.auto_participant_recording_configuration.media_types #=> Array # resp.stage.auto_participant_recording_configuration.media_types[0] #=> String, one of "AUDIO_VIDEO", "AUDIO_ONLY" + # resp.stage.endpoints.events #=> String + # resp.stage.endpoints.whip #=> String # resp.participant_tokens #=> Array # resp.participant_tokens[0].participant_id #=> String # resp.participant_tokens[0].token #=> String @@ -703,6 +706,30 @@ def delete_encoder_configuration(params = {}, options = {}) req.send_request(options) end + # Deletes the specified public key used to sign stage participant + # tokens. This invalidates future participant tokens generated using the + # key pair’s private key. + # + # @option params [required, String] :arn + # ARN of the public key to be deleted. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.delete_public_key({ + # arn: "PublicKeyArn", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeletePublicKey AWS API Documentation + # + # @overload delete_public_key(params = {}) + # @param [Hash] params ({}) + def delete_public_key(params = {}, options = {}) + req = build_request(:delete_public_key, params) + req.send_request(options) + end + # Shuts down and deletes the specified stage (disconnecting all # participants). # @@ -935,6 +962,39 @@ def get_participant(params = {}, options = {}) req.send_request(options) end + # Gets information for the specified public key. + # + # @option params [required, String] :arn + # ARN of the public key for which the information is to be retrieved. + # + # @return [Types::GetPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetPublicKeyResponse#public_key #public_key} => Types::PublicKey + # + # @example Request syntax with placeholder values + # + # resp = client.get_public_key({ + # arn: "PublicKeyArn", # required + # }) + # + # @example Response structure + # + # resp.public_key.arn #=> String + # resp.public_key.name #=> String + # resp.public_key.public_key_material #=> String + # resp.public_key.fingerprint #=> String + # resp.public_key.tags #=> Hash + # resp.public_key.tags["TagKey"] #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetPublicKey AWS API Documentation + # + # @overload get_public_key(params = {}) + # @param [Hash] params ({}) + def get_public_key(params = {}, options = {}) + req = build_request(:get_public_key, params) + req.send_request(options) + end + # Gets information for the specified stage. # # @option params [required, String] :arn @@ -960,6 +1020,8 @@ def get_participant(params = {}, options = {}) # resp.stage.auto_participant_recording_configuration.storage_configuration_arn #=> String # resp.stage.auto_participant_recording_configuration.media_types #=> Array # resp.stage.auto_participant_recording_configuration.media_types[0] #=> String, one of "AUDIO_VIDEO", "AUDIO_ONLY" + # resp.stage.endpoints.events #=> String + # resp.stage.endpoints.whip #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetStage AWS API Documentation # @@ -1036,6 +1098,57 @@ def get_storage_configuration(params = {}, options = {}) req.send_request(options) end + # Import a public key to be used for signing stage participant tokens. + # + # @option params [required, String] :public_key_material + # The content of the public key to be imported. + # + # @option params [String] :name + # Name of the public key to be imported. + # + # @option params [Hash] :tags + # Tags attached to the resource. Array of maps, each of the form + # `string:string (key:value)`. See [Tagging AWS Resources][1] for + # details, including restrictions that apply to tags and "Tag naming + # limits and requirements"; Amazon IVS has no constraints on tags + # beyond what is documented there. + # + # + # + # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html + # + # @return [Types::ImportPublicKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ImportPublicKeyResponse#public_key #public_key} => Types::PublicKey + # + # @example Request syntax with placeholder values + # + # resp = client.import_public_key({ + # public_key_material: "PublicKeyMaterial", # required + # name: "PublicKeyName", + # tags: { + # "TagKey" => "TagValue", + # }, + # }) + # + # @example Response structure + # + # resp.public_key.arn #=> String + # resp.public_key.name #=> String + # resp.public_key.public_key_material #=> String + # resp.public_key.fingerprint #=> String + # resp.public_key.tags #=> Hash + # resp.public_key.tags["TagKey"] #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ImportPublicKey AWS API Documentation + # + # @overload import_public_key(params = {}) + # @param [Hash] params ({}) + def import_public_key(params = {}, options = {}) + req = build_request(:import_public_key, params) + req.send_request(options) + end + # Gets summary information about all Compositions in your account, in # the AWS region where the API request is processed. # @@ -1273,6 +1386,48 @@ def list_participants(params = {}, options = {}) req.send_request(options) end + # Gets summary information about all public keys in your account, in the + # AWS region where the API request is processed. + # + # @option params [String] :next_token + # The first public key to retrieve. This is used for pagination; see the + # `nextToken` response field. + # + # @option params [Integer] :max_results + # Maximum number of results to return. Default: 50. + # + # @return [Types::ListPublicKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListPublicKeysResponse#public_keys #public_keys} => Array<Types::PublicKeySummary> + # * {Types::ListPublicKeysResponse#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_public_keys({ + # next_token: "PaginationToken", + # max_results: 1, + # }) + # + # @example Response structure + # + # resp.public_keys #=> Array + # resp.public_keys[0].arn #=> String + # resp.public_keys[0].name #=> String + # resp.public_keys[0].tags #=> Hash + # resp.public_keys[0].tags["TagKey"] #=> String + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListPublicKeys AWS API Documentation + # + # @overload list_public_keys(params = {}) + # @param [Hash] params ({}) + def list_public_keys(params = {}, options = {}) + req = build_request(:list_public_keys, params) + req.send_request(options) + end + # Gets all sessions for a specified stage. # # @option params [required, String] :stage_arn @@ -1679,9 +1834,9 @@ def untag_resource(params = {}, options = {}) # Name of the stage to be updated. # # @option params [Types::AutoParticipantRecordingConfiguration] :auto_participant_recording_configuration - # Auto-participant-recording configuration object to attach to the - # stage. Auto-participant-recording configuration cannot be updated - # while recording is active. + # Configuration object for individual participant recording, to attach + # to the stage. Note that this cannot be updated while recording is + # active. # # @return [Types::UpdateStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -1708,6 +1863,8 @@ def untag_resource(params = {}, options = {}) # resp.stage.auto_participant_recording_configuration.storage_configuration_arn #=> String # resp.stage.auto_participant_recording_configuration.media_types #=> Array # resp.stage.auto_participant_recording_configuration.media_types[0] #=> String, one of "AUDIO_VIDEO", "AUDIO_ONLY" + # resp.stage.endpoints.events #=> String + # resp.stage.endpoints.whip #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStage AWS API Documentation # @@ -1731,7 +1888,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-ivsrealtime' - context[:gem_version] = '1.22.0' + context[:gem_version] = '1.23.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client_api.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client_api.rb index e6c9751d67c..0282bd39c4a 100644 --- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client_api.rb +++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client_api.rb @@ -37,6 +37,8 @@ module ClientApi CreateStorageConfigurationResponse = Shapes::StructureShape.new(name: 'CreateStorageConfigurationResponse') DeleteEncoderConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteEncoderConfigurationRequest') DeleteEncoderConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteEncoderConfigurationResponse') + DeletePublicKeyRequest = Shapes::StructureShape.new(name: 'DeletePublicKeyRequest') + DeletePublicKeyResponse = Shapes::StructureShape.new(name: 'DeletePublicKeyResponse') DeleteStageRequest = Shapes::StructureShape.new(name: 'DeleteStageRequest') DeleteStageResponse = Shapes::StructureShape.new(name: 'DeleteStageResponse') DeleteStorageConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteStorageConfigurationRequest') @@ -70,6 +72,8 @@ module ClientApi GetEncoderConfigurationResponse = Shapes::StructureShape.new(name: 'GetEncoderConfigurationResponse') GetParticipantRequest = Shapes::StructureShape.new(name: 'GetParticipantRequest') GetParticipantResponse = Shapes::StructureShape.new(name: 'GetParticipantResponse') + GetPublicKeyRequest = Shapes::StructureShape.new(name: 'GetPublicKeyRequest') + GetPublicKeyResponse = Shapes::StructureShape.new(name: 'GetPublicKeyResponse') GetStageRequest = Shapes::StructureShape.new(name: 'GetStageRequest') GetStageResponse = Shapes::StructureShape.new(name: 'GetStageResponse') GetStageSessionRequest = Shapes::StructureShape.new(name: 'GetStageSessionRequest') @@ -79,6 +83,8 @@ module ClientApi GridConfiguration = Shapes::StructureShape.new(name: 'GridConfiguration') GridGap = Shapes::IntegerShape.new(name: 'GridGap') Height = Shapes::IntegerShape.new(name: 'Height') + ImportPublicKeyRequest = Shapes::StructureShape.new(name: 'ImportPublicKeyRequest') + ImportPublicKeyResponse = Shapes::StructureShape.new(name: 'ImportPublicKeyResponse') InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') LayoutConfiguration = Shapes::StructureShape.new(name: 'LayoutConfiguration') ListCompositionsRequest = Shapes::StructureShape.new(name: 'ListCompositionsRequest') @@ -89,6 +95,8 @@ module ClientApi ListParticipantEventsResponse = Shapes::StructureShape.new(name: 'ListParticipantEventsResponse') ListParticipantsRequest = Shapes::StructureShape.new(name: 'ListParticipantsRequest') ListParticipantsResponse = Shapes::StructureShape.new(name: 'ListParticipantsResponse') + ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest') + ListPublicKeysResponse = Shapes::StructureShape.new(name: 'ListPublicKeysResponse') ListStageSessionsRequest = Shapes::StructureShape.new(name: 'ListStageSessionsRequest') ListStageSessionsResponse = Shapes::StructureShape.new(name: 'ListStageSessionsResponse') ListStagesRequest = Shapes::StructureShape.new(name: 'ListStagesRequest') @@ -101,6 +109,7 @@ module ClientApi MaxEncoderConfigurationResults = Shapes::IntegerShape.new(name: 'MaxEncoderConfigurationResults') MaxParticipantEventResults = Shapes::IntegerShape.new(name: 'MaxParticipantEventResults') MaxParticipantResults = Shapes::IntegerShape.new(name: 'MaxParticipantResults') + MaxPublicKeyResults = Shapes::IntegerShape.new(name: 'MaxPublicKeyResults') MaxStageResults = Shapes::IntegerShape.new(name: 'MaxStageResults') MaxStageSessionResults = Shapes::IntegerShape.new(name: 'MaxStageSessionResults') MaxStorageConfigurationResults = Shapes::IntegerShape.new(name: 'MaxStorageConfigurationResults') @@ -138,6 +147,13 @@ module ClientApi PipOffset = Shapes::IntegerShape.new(name: 'PipOffset') PipPosition = Shapes::StringShape.new(name: 'PipPosition') PipWidth = Shapes::IntegerShape.new(name: 'PipWidth') + PublicKey = Shapes::StructureShape.new(name: 'PublicKey') + PublicKeyArn = Shapes::StringShape.new(name: 'PublicKeyArn') + PublicKeyFingerprint = Shapes::StringShape.new(name: 'PublicKeyFingerprint') + PublicKeyList = Shapes::ListShape.new(name: 'PublicKeyList') + PublicKeyMaterial = Shapes::StringShape.new(name: 'PublicKeyMaterial') + PublicKeyName = Shapes::StringShape.new(name: 'PublicKeyName') + PublicKeySummary = Shapes::StructureShape.new(name: 'PublicKeySummary') Published = Shapes::BooleanShape.new(name: 'Published') RecordingConfiguration = Shapes::StructureShape.new(name: 'RecordingConfiguration') RecordingConfigurationFormat = Shapes::StringShape.new(name: 'RecordingConfigurationFormat') @@ -150,6 +166,8 @@ module ClientApi ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException') Stage = Shapes::StructureShape.new(name: 'Stage') StageArn = Shapes::StringShape.new(name: 'StageArn') + StageEndpoint = Shapes::StringShape.new(name: 'StageEndpoint') + StageEndpoints = Shapes::StructureShape.new(name: 'StageEndpoints') StageName = Shapes::StringShape.new(name: 'StageName') StageSession = Shapes::StructureShape.new(name: 'StageSession') StageSessionId = Shapes::StringShape.new(name: 'StageSessionId') @@ -262,6 +280,11 @@ module ClientApi DeleteEncoderConfigurationResponse.struct_class = Types::DeleteEncoderConfigurationResponse + DeletePublicKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PublicKeyArn, required: true, location_name: "arn")) + DeletePublicKeyRequest.struct_class = Types::DeletePublicKeyRequest + + DeletePublicKeyResponse.struct_class = Types::DeletePublicKeyResponse + DeleteStageRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "arn")) DeleteStageRequest.struct_class = Types::DeleteStageRequest @@ -351,6 +374,12 @@ module ClientApi GetParticipantResponse.add_member(:participant, Shapes::ShapeRef.new(shape: Participant, location_name: "participant")) GetParticipantResponse.struct_class = Types::GetParticipantResponse + GetPublicKeyRequest.add_member(:arn, Shapes::ShapeRef.new(shape: PublicKeyArn, required: true, location_name: "arn")) + GetPublicKeyRequest.struct_class = Types::GetPublicKeyRequest + + GetPublicKeyResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKey, location_name: "publicKey")) + GetPublicKeyResponse.struct_class = Types::GetPublicKeyResponse + GetStageRequest.add_member(:arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "arn")) GetStageRequest.struct_class = Types::GetStageRequest @@ -377,6 +406,14 @@ module ClientApi GridConfiguration.add_member(:grid_gap, Shapes::ShapeRef.new(shape: GridGap, location_name: "gridGap")) GridConfiguration.struct_class = Types::GridConfiguration + ImportPublicKeyRequest.add_member(:public_key_material, Shapes::ShapeRef.new(shape: PublicKeyMaterial, required: true, location_name: "publicKeyMaterial")) + ImportPublicKeyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PublicKeyName, location_name: "name")) + ImportPublicKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags")) + ImportPublicKeyRequest.struct_class = Types::ImportPublicKeyRequest + + ImportPublicKeyResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKey, location_name: "publicKey")) + ImportPublicKeyResponse.struct_class = Types::ImportPublicKeyResponse + InternalServerException.add_member(:exception_message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "exceptionMessage")) InternalServerException.struct_class = Types::InternalServerException @@ -427,6 +464,14 @@ module ClientApi ListParticipantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) ListParticipantsResponse.struct_class = Types::ListParticipantsResponse + ListPublicKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) + ListPublicKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPublicKeyResults, location_name: "maxResults")) + ListPublicKeysRequest.struct_class = Types::ListPublicKeysRequest + + ListPublicKeysResponse.add_member(:public_keys, Shapes::ShapeRef.new(shape: PublicKeyList, required: true, location_name: "publicKeys")) + ListPublicKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) + ListPublicKeysResponse.struct_class = Types::ListPublicKeysResponse + ListStageSessionsRequest.add_member(:stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "stageArn")) ListStageSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) ListStageSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxStageSessionResults, location_name: "maxResults")) @@ -529,6 +574,20 @@ module ClientApi PipConfiguration.add_member(:pip_height, Shapes::ShapeRef.new(shape: PipHeight, location_name: "pipHeight")) PipConfiguration.struct_class = Types::PipConfiguration + PublicKey.add_member(:arn, Shapes::ShapeRef.new(shape: PublicKeyArn, location_name: "arn")) + PublicKey.add_member(:name, Shapes::ShapeRef.new(shape: PublicKeyName, location_name: "name")) + PublicKey.add_member(:public_key_material, Shapes::ShapeRef.new(shape: PublicKeyMaterial, location_name: "publicKeyMaterial")) + PublicKey.add_member(:fingerprint, Shapes::ShapeRef.new(shape: PublicKeyFingerprint, location_name: "fingerprint")) + PublicKey.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags")) + PublicKey.struct_class = Types::PublicKey + + PublicKeyList.member = Shapes::ShapeRef.new(shape: PublicKeySummary) + + PublicKeySummary.add_member(:arn, Shapes::ShapeRef.new(shape: PublicKeyArn, location_name: "arn")) + PublicKeySummary.add_member(:name, Shapes::ShapeRef.new(shape: PublicKeyName, location_name: "name")) + PublicKeySummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags")) + PublicKeySummary.struct_class = Types::PublicKeySummary + RecordingConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: RecordingConfigurationFormat, location_name: "format")) RecordingConfiguration.struct_class = Types::RecordingConfiguration @@ -554,8 +613,13 @@ module ClientApi Stage.add_member(:active_session_id, Shapes::ShapeRef.new(shape: StageSessionId, location_name: "activeSessionId")) Stage.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags")) Stage.add_member(:auto_participant_recording_configuration, Shapes::ShapeRef.new(shape: AutoParticipantRecordingConfiguration, location_name: "autoParticipantRecordingConfiguration")) + Stage.add_member(:endpoints, Shapes::ShapeRef.new(shape: StageEndpoints, location_name: "endpoints")) Stage.struct_class = Types::Stage + StageEndpoints.add_member(:events, Shapes::ShapeRef.new(shape: StageEndpoint, location_name: "events")) + StageEndpoints.add_member(:whip, Shapes::ShapeRef.new(shape: StageEndpoint, location_name: "whip")) + StageEndpoints.struct_class = Types::StageEndpoints + StageSession.add_member(:session_id, Shapes::ShapeRef.new(shape: StageSessionId, location_name: "sessionId")) StageSession.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "startTime")) StageSession.add_member(:end_time, Shapes::ShapeRef.new(shape: Time, location_name: "endTime")) @@ -648,8 +712,8 @@ module ClientApi api.metadata = { "apiVersion" => "2020-07-14", "endpointPrefix" => "ivsrealtime", - "jsonVersion" => "1.1", "protocol" => "rest-json", + "protocols" => ["rest-json"], "serviceAbbreviation" => "ivsrealtime", "serviceFullName" => "Amazon Interactive Video Service RealTime", "serviceId" => "IVS RealTime", @@ -727,6 +791,19 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ConflictException) end) + api.add_operation(:delete_public_key, Seahorse::Model::Operation.new.tap do |o| + o.name = "DeletePublicKey" + o.http_method = "POST" + o.http_request_uri = "/DeletePublicKey" + o.input = Shapes::ShapeRef.new(shape: DeletePublicKeyRequest) + o.output = Shapes::ShapeRef.new(shape: DeletePublicKeyResponse) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: PendingVerification) + end) + api.add_operation(:delete_stage, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteStage" o.http_method = "POST" @@ -805,6 +882,17 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) end) + api.add_operation(:get_public_key, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetPublicKey" + o.http_method = "POST" + o.http_request_uri = "/GetPublicKey" + o.input = Shapes::ShapeRef.new(shape: GetPublicKeyRequest) + o.output = Shapes::ShapeRef.new(shape: GetPublicKeyResponse) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + end) + api.add_operation(:get_stage, Seahorse::Model::Operation.new.tap do |o| o.name = "GetStage" o.http_method = "POST" @@ -841,6 +929,19 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ConflictException) end) + api.add_operation(:import_public_key, Seahorse::Model::Operation.new.tap do |o| + o.name = "ImportPublicKey" + o.http_method = "POST" + o.http_request_uri = "/ImportPublicKey" + o.input = Shapes::ShapeRef.new(shape: ImportPublicKeyRequest) + o.output = Shapes::ShapeRef.new(shape: ImportPublicKeyResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: PendingVerification) + end) + api.add_operation(:list_compositions, Seahorse::Model::Operation.new.tap do |o| o.name = "ListCompositions" o.http_method = "POST" @@ -911,6 +1012,22 @@ module ClientApi ) end) + api.add_operation(:list_public_keys, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListPublicKeys" + o.http_method = "POST" + o.http_request_uri = "/ListPublicKeys" + o.input = Shapes::ShapeRef.new(shape: ListPublicKeysRequest) + o.output = Shapes::ShapeRef.new(shape: ListPublicKeysResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_stage_sessions, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStageSessions" o.http_method = "POST" diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb index a9365b19d55..795de377051 100644 --- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb +++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb @@ -82,6 +82,20 @@ def self.build(context) end end + class DeletePublicKey + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::IVSRealTime::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class DeleteStage def self.build(context) unless context.config.regional_endpoint @@ -166,6 +180,20 @@ def self.build(context) end end + class GetPublicKey + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::IVSRealTime::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetStage def self.build(context) unless context.config.regional_endpoint @@ -208,6 +236,20 @@ def self.build(context) end end + class ImportPublicKey + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::IVSRealTime::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListCompositions def self.build(context) unless context.config.regional_endpoint @@ -264,6 +306,20 @@ def self.build(context) end end + class ListPublicKeys + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::IVSRealTime::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListStageSessions def self.build(context) unless context.config.regional_endpoint diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb index f8ca1279d8c..7386395c1c6 100644 --- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb +++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb @@ -68,6 +68,8 @@ def parameters_for_operation(context) Aws::IVSRealTime::Endpoints::CreateStorageConfiguration.build(context) when :delete_encoder_configuration Aws::IVSRealTime::Endpoints::DeleteEncoderConfiguration.build(context) + when :delete_public_key + Aws::IVSRealTime::Endpoints::DeletePublicKey.build(context) when :delete_stage Aws::IVSRealTime::Endpoints::DeleteStage.build(context) when :delete_storage_configuration @@ -80,12 +82,16 @@ def parameters_for_operation(context) Aws::IVSRealTime::Endpoints::GetEncoderConfiguration.build(context) when :get_participant Aws::IVSRealTime::Endpoints::GetParticipant.build(context) + when :get_public_key + Aws::IVSRealTime::Endpoints::GetPublicKey.build(context) when :get_stage Aws::IVSRealTime::Endpoints::GetStage.build(context) when :get_stage_session Aws::IVSRealTime::Endpoints::GetStageSession.build(context) when :get_storage_configuration Aws::IVSRealTime::Endpoints::GetStorageConfiguration.build(context) + when :import_public_key + Aws::IVSRealTime::Endpoints::ImportPublicKey.build(context) when :list_compositions Aws::IVSRealTime::Endpoints::ListCompositions.build(context) when :list_encoder_configurations @@ -94,6 +100,8 @@ def parameters_for_operation(context) Aws::IVSRealTime::Endpoints::ListParticipantEvents.build(context) when :list_participants Aws::IVSRealTime::Endpoints::ListParticipants.build(context) + when :list_public_keys + Aws::IVSRealTime::Endpoints::ListPublicKeys.build(context) when :list_stage_sessions Aws::IVSRealTime::Endpoints::ListStageSessions.build(context) when :list_stages diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/types.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/types.rb index 0f81f38d2fa..f772b5944b3 100644 --- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/types.rb +++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/types.rb @@ -22,14 +22,15 @@ class AccessDeniedException < Struct.new( include Aws::Structure end - # Object specifying an auto-participant-recording configuration. + # Object specifying a configuration for individual participant + # recording. # # @!attribute [rw] storage_configuration_arn - # ARN of the StorageConfiguration resource to use for auto participant - # recording. Default: "" (empty string, no storage configuration is - # specified). Individual participant recording cannot be started - # unless a storage configuration is specified, when a Stage is created - # or updated. + # ARN of the StorageConfiguration resource to use for individual + # participant recording. Default: `""` (empty string, no storage + # configuration is specified). Individual participant recording cannot + # be started unless a storage configuration is specified, when a Stage + # is created or updated. # @return [String] # # @!attribute [rw] media_types @@ -311,8 +312,8 @@ class CreateParticipantTokenResponse < Struct.new( # @return [Hash] # # @!attribute [rw] auto_participant_recording_configuration - # Auto participant recording configuration object attached to the - # stage. + # Configuration object for individual participant recording, to attach + # to the new stage. # @return [Types::AutoParticipantRecordingConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CreateStageRequest AWS API Documentation @@ -403,6 +404,22 @@ class DeleteEncoderConfigurationRequest < Struct.new( # class DeleteEncoderConfigurationResponse < Aws::EmptyStructure; end + # @!attribute [rw] arn + # ARN of the public key to be deleted. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeletePublicKeyRequest AWS API Documentation + # + class DeletePublicKeyRequest < Struct.new( + :arn) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/DeletePublicKeyResponse AWS API Documentation + # + class DeletePublicKeyResponse < Aws::EmptyStructure; end + # @!attribute [rw] arn # ARN of the stage to be deleted. # @return [String] @@ -779,6 +796,30 @@ class GetParticipantResponse < Struct.new( include Aws::Structure end + # @!attribute [rw] arn + # ARN of the public key for which the information is to be retrieved. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetPublicKeyRequest AWS API Documentation + # + class GetPublicKeyRequest < Struct.new( + :arn) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] public_key + # The public key that is returned. + # @return [Types::PublicKey] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetPublicKeyResponse AWS API Documentation + # + class GetPublicKeyResponse < Struct.new( + :public_key) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] arn # ARN of the stage for which the information is to be retrieved. # @return [String] @@ -867,6 +908,7 @@ class GetStorageConfigurationResponse < Struct.new( # This attribute name identifies the featured slot. A participant with # this attribute set to `"true"` (as a string value) in # ParticipantTokenConfiguration is placed in the featured slot. + # Default: `""` (no featured participant). # @return [String] # # @!attribute [rw] omit_stopped_video @@ -875,13 +917,16 @@ class GetStorageConfigurationResponse < Struct.new( # @return [Boolean] # # @!attribute [rw] video_aspect_ratio - # Sets the non-featured participant display mode. Default: `VIDEO`. + # Sets the non-featured participant display mode, to control the + # aspect ratio of video tiles. `VIDEO` is 16:9, `SQUARE` is 1:1, and + # `PORTRAIT` is 3:4. Default: `VIDEO`. # @return [String] # # @!attribute [rw] video_fill_mode - # Defines how video fits within the participant tile. When not set, - # `videoFillMode` defaults to `COVER` fill mode for participants in - # the grid and to `CONTAIN` fill mode for featured participants. + # Defines how video content fits within the participant tile: `FILL` + # (stretched), `COVER` (cropped), or `CONTAIN` (letterboxed). When not + # set, `videoFillMode` defaults to `COVER` fill mode for participants + # in the grid and to `CONTAIN` fill mode for featured participants. # @return [String] # # @!attribute [rw] grid_gap @@ -901,6 +946,48 @@ class GridConfiguration < Struct.new( include Aws::Structure end + # @!attribute [rw] public_key_material + # The content of the public key to be imported. + # @return [String] + # + # @!attribute [rw] name + # Name of the public key to be imported. + # @return [String] + # + # @!attribute [rw] tags + # Tags attached to the resource. Array of maps, each of the form + # `string:string (key:value)`. See [Tagging AWS Resources][1] for + # details, including restrictions that apply to tags and "Tag naming + # limits and requirements"; Amazon IVS has no constraints on tags + # beyond what is documented there. + # + # + # + # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html + # @return [Hash] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ImportPublicKeyRequest AWS API Documentation + # + class ImportPublicKeyRequest < Struct.new( + :public_key_material, + :name, + :tags) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] public_key + # The public key that was imported. + # @return [Types::PublicKey] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ImportPublicKeyResponse AWS API Documentation + # + class ImportPublicKeyResponse < Struct.new( + :public_key) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] exception_message # Unexpected error during processing of request. # @return [String] @@ -1148,6 +1235,42 @@ class ListParticipantsResponse < Struct.new( include Aws::Structure end + # @!attribute [rw] next_token + # The first public key to retrieve. This is used for pagination; see + # the `nextToken` response field. + # @return [String] + # + # @!attribute [rw] max_results + # Maximum number of results to return. Default: 50. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListPublicKeysRequest AWS API Documentation + # + class ListPublicKeysRequest < Struct.new( + :next_token, + :max_results) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] public_keys + # List of the matching public keys (summary information only). + # @return [Array] + # + # @!attribute [rw] next_token + # If there are more public keys than `maxResults`, use `nextToken` in + # the request to get the next set. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListPublicKeysResponse AWS API Documentation + # + class ListPublicKeysResponse < Struct.new( + :public_keys, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] stage_arn # Stage ARN. # @return [String] @@ -1350,18 +1473,18 @@ class ListTagsForResourceResponse < Struct.new( # # @!attribute [rw] recording_s3_bucket_name # Name of the S3 bucket to where the participant is being recorded, if - # individual participant recording is enabled, or "" (empty string), + # individual participant recording is enabled, or `""` (empty string), # if recording is not enabled. # @return [String] # # @!attribute [rw] recording_s3_prefix - # S3 prefix of the S3 bucket to where the participant is being - # recorded, if individual participant recording is enabled, or "" - # (empty string), if recording is not enabled. + # S3 prefix of the S3 bucket where the participant is being recorded, + # if individual participant recording is enabled, or `""` (empty + # string), if recording is not enabled. # @return [String] # # @!attribute [rw] recording_state - # Participant’s recording state. + # The participant’s recording state. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/Participant AWS API Documentation @@ -1415,7 +1538,7 @@ class Participant < Struct.new( # @return [Boolean] # # @!attribute [rw] recording_state - # Participant’s recording state. + # The participant’s recording state. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ParticipantSummary AWS API Documentation @@ -1552,6 +1675,7 @@ class PendingVerification < Struct.new( # This attribute name identifies the featured slot. A participant with # this attribute set to `"true"` (as a string value) in # ParticipantTokenConfiguration is placed in the featured slot. + # Default: `""` (no featured participant). # @return [String] # # @!attribute [rw] omit_stopped_video @@ -1560,7 +1684,8 @@ class PendingVerification < Struct.new( # @return [Boolean] # # @!attribute [rw] video_fill_mode - # Defines how video fits within the participant tile. Default: + # Defines how video content fits within the participant tile: `FILL` + # (stretched), `COVER` (cropped), or `CONTAIN` (letterboxed). Default: # `COVER`. # @return [String] # @@ -1570,14 +1695,16 @@ class PendingVerification < Struct.new( # @return [Integer] # # @!attribute [rw] pip_participant_attribute - # Identifies the PiP slot. A participant with this attribute set to - # `"true"` (as a string value) in ParticipantTokenConfiguration is - # placed in the PiP slot. + # Specifies the participant for the PiP window. A participant with + # this attribute set to `"true"` (as a string value) in + # ParticipantTokenConfiguration is placed in the PiP slot. Default: + # `""` (no PiP participant). # @return [String] # # @!attribute [rw] pip_behavior - # Defines PiP behavior when all participants have left. Default: - # `STATIC`. + # Defines PiP behavior when all participants have left: `STATIC` + # (maintains original position/size) or `DYNAMIC` (expands to full + # composition). Default: `STATIC`. # @return [String] # # @!attribute [rw] pip_offset @@ -1619,6 +1746,81 @@ class PipConfiguration < Struct.new( include Aws::Structure end + # Object specifying a public key used to sign stage participant tokens. + # + # @!attribute [rw] arn + # Public key ARN. + # @return [String] + # + # @!attribute [rw] name + # Public key name. + # @return [String] + # + # @!attribute [rw] public_key_material + # Public key material. + # @return [String] + # + # @!attribute [rw] fingerprint + # The public key fingerprint, a short string used to identify or + # verify the full public key. + # @return [String] + # + # @!attribute [rw] tags + # Tags attached to the resource. Array of maps, each of the form + # `string:string (key:value)`. See [Tagging AWS Resources][1] for + # details, including restrictions that apply to tags and "Tag naming + # limits and requirements"; Amazon IVS has no constraints on tags + # beyond what is documented there. + # + # + # + # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html + # @return [Hash] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/PublicKey AWS API Documentation + # + class PublicKey < Struct.new( + :arn, + :name, + :public_key_material, + :fingerprint, + :tags) + SENSITIVE = [] + include Aws::Structure + end + + # Summary information about a public key. + # + # @!attribute [rw] arn + # Public key ARN. + # @return [String] + # + # @!attribute [rw] name + # Public key name. + # @return [String] + # + # @!attribute [rw] tags + # Tags attached to the resource. Array of maps, each of the form + # `string:string (key:value)`. See [Tagging AWS Resources][1] for + # details, including restrictions that apply to tags and "Tag naming + # limits and requirements"; Amazon IVS has no constraints on tags + # beyond what is documented there. + # + # + # + # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html + # @return [Hash] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/PublicKeySummary AWS API Documentation + # + class PublicKeySummary < Struct.new( + :arn, + :name, + :tags) + SENSITIVE = [] + include Aws::Structure + end + # An object representing a configuration to record a stage stream. # # @!attribute [rw] format @@ -1744,10 +1946,14 @@ class ServiceQuotaExceededException < Struct.new( # @return [Hash] # # @!attribute [rw] auto_participant_recording_configuration - # Auto-participant-recording configuration object attached to the - # stage. + # Configuration object for individual participant recording, attached + # to the stage. # @return [Types::AutoParticipantRecordingConfiguration] # + # @!attribute [rw] endpoints + # Summary information about various endpoints for a stage. + # @return [Types::StageEndpoints] + # # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/Stage AWS API Documentation # class Stage < Struct.new( @@ -1755,7 +1961,27 @@ class Stage < Struct.new( :name, :active_session_id, :tags, - :auto_participant_recording_configuration) + :auto_participant_recording_configuration, + :endpoints) + SENSITIVE = [] + include Aws::Structure + end + + # Summary information about various endpoints for a stage. + # + # @!attribute [rw] events + # Events endpoint. + # @return [String] + # + # @!attribute [rw] whip + # WHIP endpoint. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StageEndpoints AWS API Documentation + # + class StageEndpoints < Struct.new( + :events, + :whip) SENSITIVE = [] include Aws::Structure end @@ -2068,9 +2294,9 @@ class UntagResourceResponse < Aws::EmptyStructure; end # @return [String] # # @!attribute [rw] auto_participant_recording_configuration - # Auto-participant-recording configuration object to attach to the - # stage. Auto-participant-recording configuration cannot be updated - # while recording is active. + # Configuration object for individual participant recording, to attach + # to the stage. Note that this cannot be updated while recording is + # active. # @return [Types::AutoParticipantRecordingConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/UpdateStageRequest AWS API Documentation diff --git a/gems/aws-sdk-ivsrealtime/sig/client.rbs b/gems/aws-sdk-ivsrealtime/sig/client.rbs index d3d310473da..c8039b1cf11 100644 --- a/gems/aws-sdk-ivsrealtime/sig/client.rbs +++ b/gems/aws-sdk-ivsrealtime/sig/client.rbs @@ -150,6 +150,15 @@ module Aws ) -> _DeleteEncoderConfigurationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEncoderConfigurationResponseSuccess + interface _DeletePublicKeyResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::DeletePublicKeyResponse] + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#delete_public_key-instance_method + def delete_public_key: ( + arn: ::String + ) -> _DeletePublicKeyResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePublicKeyResponseSuccess + interface _DeleteStageResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStageResponse] end @@ -211,6 +220,16 @@ module Aws ) -> _GetParticipantResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetParticipantResponseSuccess + interface _GetPublicKeyResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicKeyResponse] + def public_key: () -> Types::PublicKey + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#get_public_key-instance_method + def get_public_key: ( + arn: ::String + ) -> _GetPublicKeyResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicKeyResponseSuccess + interface _GetStageResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetStageResponse] def stage: () -> Types::Stage @@ -242,6 +261,18 @@ module Aws ) -> _GetStorageConfigurationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStorageConfigurationResponseSuccess + interface _ImportPublicKeyResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ImportPublicKeyResponse] + def public_key: () -> Types::PublicKey + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#import_public_key-instance_method + def import_public_key: ( + public_key_material: ::String, + ?name: ::String, + ?tags: Hash[::String, ::String] + ) -> _ImportPublicKeyResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportPublicKeyResponseSuccess + interface _ListCompositionsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListCompositionsResponse] def compositions: () -> ::Array[Types::CompositionSummary] @@ -301,6 +332,18 @@ module Aws ) -> _ListParticipantsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListParticipantsResponseSuccess + interface _ListPublicKeysResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListPublicKeysResponse] + def public_keys: () -> ::Array[Types::PublicKeySummary] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_public_keys-instance_method + def list_public_keys: ( + ?next_token: ::String, + ?max_results: ::Integer + ) -> _ListPublicKeysResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPublicKeysResponseSuccess + interface _ListStageSessionsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStageSessionsResponse] def stage_sessions: () -> ::Array[Types::StageSessionSummary] diff --git a/gems/aws-sdk-ivsrealtime/sig/types.rbs b/gems/aws-sdk-ivsrealtime/sig/types.rbs index d0d58291cf6..981e9b72db2 100644 --- a/gems/aws-sdk-ivsrealtime/sig/types.rbs +++ b/gems/aws-sdk-ivsrealtime/sig/types.rbs @@ -113,6 +113,14 @@ module Aws::IVSRealTime class DeleteEncoderConfigurationResponse < Aws::EmptyStructure end + class DeletePublicKeyRequest + attr_accessor arn: ::String + SENSITIVE: [] + end + + class DeletePublicKeyResponse < Aws::EmptyStructure + end + class DeleteStageRequest attr_accessor arn: ::String SENSITIVE: [] @@ -225,6 +233,16 @@ module Aws::IVSRealTime SENSITIVE: [] end + class GetPublicKeyRequest + attr_accessor arn: ::String + SENSITIVE: [] + end + + class GetPublicKeyResponse + attr_accessor public_key: Types::PublicKey + SENSITIVE: [] + end + class GetStageRequest attr_accessor arn: ::String SENSITIVE: [] @@ -265,6 +283,18 @@ module Aws::IVSRealTime SENSITIVE: [] end + class ImportPublicKeyRequest + attr_accessor public_key_material: ::String + attr_accessor name: ::String + attr_accessor tags: ::Hash[::String, ::String] + SENSITIVE: [] + end + + class ImportPublicKeyResponse + attr_accessor public_key: Types::PublicKey + SENSITIVE: [] + end + class InternalServerException attr_accessor exception_message: ::String SENSITIVE: [] @@ -335,6 +365,18 @@ module Aws::IVSRealTime SENSITIVE: [] end + class ListPublicKeysRequest + attr_accessor next_token: ::String + attr_accessor max_results: ::Integer + SENSITIVE: [] + end + + class ListPublicKeysResponse + attr_accessor public_keys: ::Array[Types::PublicKeySummary] + attr_accessor next_token: ::String + SENSITIVE: [] + end + class ListStageSessionsRequest attr_accessor stage_arn: ::String attr_accessor next_token: ::String @@ -449,6 +491,22 @@ module Aws::IVSRealTime SENSITIVE: [] end + class PublicKey + attr_accessor arn: ::String + attr_accessor name: ::String + attr_accessor public_key_material: ::String + attr_accessor fingerprint: ::String + attr_accessor tags: ::Hash[::String, ::String] + SENSITIVE: [] + end + + class PublicKeySummary + attr_accessor arn: ::String + attr_accessor name: ::String + attr_accessor tags: ::Hash[::String, ::String] + SENSITIVE: [] + end + class RecordingConfiguration attr_accessor format: ("HLS") SENSITIVE: [] @@ -487,6 +545,13 @@ module Aws::IVSRealTime attr_accessor active_session_id: ::String attr_accessor tags: ::Hash[::String, ::String] attr_accessor auto_participant_recording_configuration: Types::AutoParticipantRecordingConfiguration + attr_accessor endpoints: Types::StageEndpoints + SENSITIVE: [] + end + + class StageEndpoints + attr_accessor events: ::String + attr_accessor whip: ::String SENSITIVE: [] end diff --git a/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md b/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md index 6c954194bf0..aee72ac2824 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md +++ b/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.60.0 (2024-06-26) +------------------ + +* Feature - This release adds support for new ListApplicationOperations and DescribeApplicationOperation APIs. It adds a new configuration to enable system rollbacks, adds field ApplicationVersionCreateTimestamp for clarity and improves support for pagination for APIs. + 1.59.0 (2024-06-25) ------------------ diff --git a/gems/aws-sdk-kinesisanalyticsv2/VERSION b/gems/aws-sdk-kinesisanalyticsv2/VERSION index bb120e876c6..4d5fde5bd16 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/VERSION +++ b/gems/aws-sdk-kinesisanalyticsv2/VERSION @@ -1 +1 @@ -1.59.0 +1.60.0 diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb index 2af248eeebc..c0a8e028ce8 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb @@ -52,6 +52,6 @@ # @!group service module Aws::KinesisAnalyticsV2 - GEM_VERSION = '1.59.0' + GEM_VERSION = '1.60.0' end diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb index 46a28cb49ef..1b65f0932e3 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb @@ -452,6 +452,7 @@ def initialize(*args) # * {Types::AddApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String # * {Types::AddApplicationCloudWatchLoggingOptionResponse#application_version_id #application_version_id} => Integer # * {Types::AddApplicationCloudWatchLoggingOptionResponse#cloud_watch_logging_option_descriptions #cloud_watch_logging_option_descriptions} => Array<Types::CloudWatchLoggingOptionDescription> + # * {Types::AddApplicationCloudWatchLoggingOptionResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -472,6 +473,7 @@ def initialize(*args) # resp.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String # resp.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String # resp.cloud_watch_logging_option_descriptions[0].role_arn #=> String + # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOption AWS API Documentation # @@ -886,6 +888,7 @@ def add_application_reference_data_source(params = {}, options = {}) # * {Types::AddApplicationVpcConfigurationResponse#application_arn #application_arn} => String # * {Types::AddApplicationVpcConfigurationResponse#application_version_id #application_version_id} => Integer # * {Types::AddApplicationVpcConfigurationResponse#vpc_configuration_description #vpc_configuration_description} => Types::VpcConfigurationDescription + # * {Types::AddApplicationVpcConfigurationResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -909,6 +912,7 @@ def add_application_reference_data_source(params = {}, options = {}) # resp.vpc_configuration_description.subnet_ids[0] #=> String # resp.vpc_configuration_description.security_group_ids #=> Array # resp.vpc_configuration_description.security_group_ids[0] #=> String + # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfiguration AWS API Documentation # @@ -1111,6 +1115,9 @@ def add_application_vpc_configuration(params = {}, options = {}) # application_snapshot_configuration: { # snapshots_enabled: false, # required # }, + # application_system_rollback_configuration: { + # rollback_enabled: false, # required + # }, # vpc_configurations: [ # { # subnet_ids: ["SubnetId"], # required @@ -1249,6 +1256,7 @@ def add_application_vpc_configuration(params = {}, options = {}) # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String # resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean + # resp.application_detail.application_configuration_description.application_system_rollback_configuration_description.rollback_enabled #=> Boolean # resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String @@ -1276,6 +1284,7 @@ def add_application_vpc_configuration(params = {}, options = {}) # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String # resp.application_detail.application_version_updated_from #=> Integer # resp.application_detail.application_version_rolled_back_from #=> Integer + # resp.application_detail.application_version_create_timestamp #=> Time # resp.application_detail.conditional_token #=> String # resp.application_detail.application_version_rolled_back_to #=> Integer # resp.application_detail.application_mode #=> String, one of "STREAMING", "INTERACTIVE" @@ -1428,6 +1437,7 @@ def delete_application(params = {}, options = {}) # * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#application_arn #application_arn} => String # * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#application_version_id #application_version_id} => Integer # * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#cloud_watch_logging_option_descriptions #cloud_watch_logging_option_descriptions} => Array<Types::CloudWatchLoggingOptionDescription> + # * {Types::DeleteApplicationCloudWatchLoggingOptionResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -1446,6 +1456,7 @@ def delete_application(params = {}, options = {}) # resp.cloud_watch_logging_option_descriptions[0].cloud_watch_logging_option_id #=> String # resp.cloud_watch_logging_option_descriptions[0].log_stream_arn #=> String # resp.cloud_watch_logging_option_descriptions[0].role_arn #=> String + # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationCloudWatchLoggingOption AWS API Documentation # @@ -1657,6 +1668,7 @@ def delete_application_snapshot(params = {}, options = {}) # # * {Types::DeleteApplicationVpcConfigurationResponse#application_arn #application_arn} => String # * {Types::DeleteApplicationVpcConfigurationResponse#application_version_id #application_version_id} => Integer + # * {Types::DeleteApplicationVpcConfigurationResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -1671,6 +1683,7 @@ def delete_application_snapshot(params = {}, options = {}) # # resp.application_arn #=> String # resp.application_version_id #=> Integer + # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfiguration AWS API Documentation # @@ -1791,6 +1804,7 @@ def delete_application_vpc_configuration(params = {}, options = {}) # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String # resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean + # resp.application_detail.application_configuration_description.application_system_rollback_configuration_description.rollback_enabled #=> Boolean # resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String @@ -1818,6 +1832,7 @@ def delete_application_vpc_configuration(params = {}, options = {}) # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String # resp.application_detail.application_version_updated_from #=> Integer # resp.application_detail.application_version_rolled_back_from #=> Integer + # resp.application_detail.application_version_create_timestamp #=> Time # resp.application_detail.conditional_token #=> String # resp.application_detail.application_version_rolled_back_to #=> Integer # resp.application_detail.application_mode #=> String, one of "STREAMING", "INTERACTIVE" @@ -1831,6 +1846,46 @@ def describe_application(params = {}, options = {}) req.send_request(options) end + # Returns information about a specific operation performed on a Managed + # Service for Apache Flink application + # + # @option params [required, String] :application_name + # The name of the application + # + # @option params [required, String] :operation_id + # Identifier of the Operation + # + # @return [Types::DescribeApplicationOperationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::DescribeApplicationOperationResponse#application_operation_info_details #application_operation_info_details} => Types::ApplicationOperationInfoDetails + # + # @example Request syntax with placeholder values + # + # resp = client.describe_application_operation({ + # application_name: "ApplicationName", # required + # operation_id: "OperationId", # required + # }) + # + # @example Response structure + # + # resp.application_operation_info_details.operation #=> String + # resp.application_operation_info_details.start_time #=> Time + # resp.application_operation_info_details.end_time #=> Time + # resp.application_operation_info_details.operation_status #=> String, one of "IN_PROGRESS", "CANCELLED", "SUCCESSFUL", "FAILED" + # resp.application_operation_info_details.application_version_change_details.application_version_updated_from #=> Integer + # resp.application_operation_info_details.application_version_change_details.application_version_updated_to #=> Integer + # resp.application_operation_info_details.operation_failure_details.rollback_operation_id #=> String + # resp.application_operation_info_details.operation_failure_details.error_info.error_string #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationOperation AWS API Documentation + # + # @overload describe_application_operation(params = {}) + # @param [Hash] params ({}) + def describe_application_operation(params = {}, options = {}) + req = build_request(:describe_application_operation, params) + req.send_request(options) + end + # Returns information about a snapshot of application state data. # # @option params [required, String] :application_name @@ -1981,6 +2036,7 @@ def describe_application_snapshot(params = {}, options = {}) # resp.application_version_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash # resp.application_version_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String # resp.application_version_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean + # resp.application_version_detail.application_configuration_description.application_system_rollback_configuration_description.rollback_enabled #=> Boolean # resp.application_version_detail.application_configuration_description.vpc_configuration_descriptions #=> Array # resp.application_version_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String # resp.application_version_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String @@ -2008,6 +2064,7 @@ def describe_application_snapshot(params = {}, options = {}) # resp.application_version_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String # resp.application_version_detail.application_version_updated_from #=> Integer # resp.application_version_detail.application_version_rolled_back_from #=> Integer + # resp.application_version_detail.application_version_create_timestamp #=> Time # resp.application_version_detail.conditional_token #=> String # resp.application_version_detail.application_version_rolled_back_to #=> Integer # resp.application_version_detail.application_mode #=> String, one of "STREAMING", "INTERACTIVE" @@ -2104,6 +2161,61 @@ def discover_input_schema(params = {}, options = {}) req.send_request(options) end + # Lists information about operations performed on a Managed Service for + # Apache Flink application + # + # @option params [required, String] :application_name + # The name of the application + # + # @option params [Integer] :limit + # Limit on the number of records returned in the response + # + # @option params [String] :next_token + # If a previous command returned a pagination token, pass it into this + # value to retrieve the next set of results + # + # @option params [String] :operation + # Type of operation performed on an application + # + # @option params [String] :operation_status + # Status of the operation performed on an application + # + # @return [Types::ListApplicationOperationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListApplicationOperationsResponse#application_operation_info_list #application_operation_info_list} => Array<Types::ApplicationOperationInfo> + # * {Types::ListApplicationOperationsResponse#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_application_operations({ + # application_name: "ApplicationName", # required + # limit: 1, + # next_token: "NextToken", + # operation: "Operation", + # operation_status: "IN_PROGRESS", # accepts IN_PROGRESS, CANCELLED, SUCCESSFUL, FAILED + # }) + # + # @example Response structure + # + # resp.application_operation_info_list #=> Array + # resp.application_operation_info_list[0].operation #=> String + # resp.application_operation_info_list[0].operation_id #=> String + # resp.application_operation_info_list[0].start_time #=> Time + # resp.application_operation_info_list[0].end_time #=> Time + # resp.application_operation_info_list[0].operation_status #=> String, one of "IN_PROGRESS", "CANCELLED", "SUCCESSFUL", "FAILED" + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationOperations AWS API Documentation + # + # @overload list_application_operations(params = {}) + # @param [Hash] params ({}) + def list_application_operations(params = {}, options = {}) + req = build_request(:list_application_operations, params) + req.send_request(options) + end + # Lists information about the current application snapshots. # # @option params [required, String] :application_name @@ -2123,6 +2235,8 @@ def discover_input_schema(params = {}, options = {}) # * {Types::ListApplicationSnapshotsResponse#snapshot_summaries #snapshot_summaries} => Array<Types::SnapshotDetails> # * {Types::ListApplicationSnapshotsResponse#next_token #next_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.list_application_snapshots({ @@ -2183,6 +2297,8 @@ def list_application_snapshots(params = {}, options = {}) # * {Types::ListApplicationVersionsResponse#application_version_summaries #application_version_summaries} => Array<Types::ApplicationVersionSummary> # * {Types::ListApplicationVersionsResponse#next_token #next_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.list_application_versions({ @@ -2232,6 +2348,8 @@ def list_application_versions(params = {}, options = {}) # * {Types::ListApplicationsResponse#application_summaries #application_summaries} => Array<Types::ApplicationSummary> # * {Types::ListApplicationsResponse#next_token #next_token} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.list_applications({ @@ -2295,18 +2413,16 @@ def list_tags_for_resource(params = {}, options = {}) end # Reverts the application to the previous running version. You can roll - # back an application if you suspect it is stuck in a transient status. + # back an application if you suspect it is stuck in a transient status + # or in the running status. # - # You can roll back an application only if it is in the `UPDATING` or - # `AUTOSCALING` status. + # You can roll back an application only if it is in the `UPDATING`, + # `AUTOSCALING`, or `RUNNING` statuses. # # When you rollback an application, it loads state data from the last # successful snapshot. If the application has no snapshots, Managed # Service for Apache Flink rejects the rollback request. # - # This action is not supported for Managed Service for Apache Flink for - # SQL applications. - # # @option params [required, String] :application_name # The name of the application. # @@ -2317,6 +2433,7 @@ def list_tags_for_resource(params = {}, options = {}) # @return [Types::RollbackApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RollbackApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail + # * {Types::RollbackApplicationResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -2411,6 +2528,7 @@ def list_tags_for_resource(params = {}, options = {}) # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String # resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean + # resp.application_detail.application_configuration_description.application_system_rollback_configuration_description.rollback_enabled #=> Boolean # resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String @@ -2438,9 +2556,11 @@ def list_tags_for_resource(params = {}, options = {}) # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String # resp.application_detail.application_version_updated_from #=> Integer # resp.application_detail.application_version_rolled_back_from #=> Integer + # resp.application_detail.application_version_create_timestamp #=> Time # resp.application_detail.conditional_token #=> String # resp.application_detail.application_version_rolled_back_to #=> Integer # resp.application_detail.application_mode #=> String, one of "STREAMING", "INTERACTIVE" + # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplication AWS API Documentation # @@ -2462,7 +2582,9 @@ def rollback_application(params = {}, options = {}) # Identifies the run configuration (start parameters) of a Managed # Service for Apache Flink application. # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # @return [Types::StartApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::StartApplicationResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -2487,6 +2609,10 @@ def rollback_application(params = {}, options = {}) # }, # }) # + # @example Response structure + # + # resp.operation_id #=> String + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StartApplication AWS API Documentation # # @overload start_application(params = {}) @@ -2528,7 +2654,9 @@ def start_application(params = {}, options = {}) # The application must be in the `STARTING`, `UPDATING`, `STOPPING`, # `AUTOSCALING`, or `RUNNING` status. # - # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # @return [Types::StopApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::StopApplicationResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -2537,6 +2665,10 @@ def start_application(params = {}, options = {}) # force: false, # }) # + # @example Response structure + # + # resp.operation_id #=> String + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplication AWS API Documentation # # @overload stop_application(params = {}) @@ -2669,6 +2801,7 @@ def untag_resource(params = {}, options = {}) # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateApplicationResponse#application_detail #application_detail} => Types::ApplicationDetail + # * {Types::UpdateApplicationResponse#operation_id #operation_id} => String # # @example Request syntax with placeholder values # @@ -2814,6 +2947,9 @@ def untag_resource(params = {}, options = {}) # application_snapshot_configuration_update: { # snapshots_enabled_update: false, # required # }, + # application_system_rollback_configuration_update: { + # rollback_enabled_update: false, # required + # }, # vpc_configuration_updates: [ # { # vpc_configuration_id: "Id", # required @@ -2959,6 +3095,7 @@ def untag_resource(params = {}, options = {}) # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map #=> Hash # resp.application_detail.application_configuration_description.environment_property_descriptions.property_group_descriptions[0].property_map["PropertyKey"] #=> String # resp.application_detail.application_configuration_description.application_snapshot_configuration_description.snapshots_enabled #=> Boolean + # resp.application_detail.application_configuration_description.application_system_rollback_configuration_description.rollback_enabled #=> Boolean # resp.application_detail.application_configuration_description.vpc_configuration_descriptions #=> Array # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_configuration_id #=> String # resp.application_detail.application_configuration_description.vpc_configuration_descriptions[0].vpc_id #=> String @@ -2986,9 +3123,11 @@ def untag_resource(params = {}, options = {}) # resp.application_detail.application_maintenance_configuration_description.application_maintenance_window_end_time #=> String # resp.application_detail.application_version_updated_from #=> Integer # resp.application_detail.application_version_rolled_back_from #=> Integer + # resp.application_detail.application_version_create_timestamp #=> Time # resp.application_detail.conditional_token #=> String # resp.application_detail.application_version_rolled_back_to #=> Integer # resp.application_detail.application_mode #=> String, one of "STREAMING", "INTERACTIVE" + # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplication AWS API Documentation # @@ -3077,7 +3216,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-kinesisanalyticsv2' - context[:gem_version] = '1.59.0' + context[:gem_version] = '1.60.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client_api.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client_api.rb index b6cd2d2cb0f..43323676835 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client_api.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client_api.rb @@ -39,6 +39,9 @@ module ClientApi ApplicationMaintenanceWindowStartTime = Shapes::StringShape.new(name: 'ApplicationMaintenanceWindowStartTime') ApplicationMode = Shapes::StringShape.new(name: 'ApplicationMode') ApplicationName = Shapes::StringShape.new(name: 'ApplicationName') + ApplicationOperationInfo = Shapes::StructureShape.new(name: 'ApplicationOperationInfo') + ApplicationOperationInfoDetails = Shapes::StructureShape.new(name: 'ApplicationOperationInfoDetails') + ApplicationOperationInfoList = Shapes::ListShape.new(name: 'ApplicationOperationInfoList') ApplicationRestoreConfiguration = Shapes::StructureShape.new(name: 'ApplicationRestoreConfiguration') ApplicationRestoreType = Shapes::StringShape.new(name: 'ApplicationRestoreType') ApplicationSnapshotConfiguration = Shapes::StructureShape.new(name: 'ApplicationSnapshotConfiguration') @@ -47,6 +50,10 @@ module ClientApi ApplicationStatus = Shapes::StringShape.new(name: 'ApplicationStatus') ApplicationSummaries = Shapes::ListShape.new(name: 'ApplicationSummaries') ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary') + ApplicationSystemRollbackConfiguration = Shapes::StructureShape.new(name: 'ApplicationSystemRollbackConfiguration') + ApplicationSystemRollbackConfigurationDescription = Shapes::StructureShape.new(name: 'ApplicationSystemRollbackConfigurationDescription') + ApplicationSystemRollbackConfigurationUpdate = Shapes::StructureShape.new(name: 'ApplicationSystemRollbackConfigurationUpdate') + ApplicationVersionChangeDetails = Shapes::StructureShape.new(name: 'ApplicationVersionChangeDetails') ApplicationVersionId = Shapes::IntegerShape.new(name: 'ApplicationVersionId') ApplicationVersionSummaries = Shapes::ListShape.new(name: 'ApplicationVersionSummaries') ApplicationVersionSummary = Shapes::StructureShape.new(name: 'ApplicationVersionSummary') @@ -107,6 +114,8 @@ module ClientApi DeployAsApplicationConfiguration = Shapes::StructureShape.new(name: 'DeployAsApplicationConfiguration') DeployAsApplicationConfigurationDescription = Shapes::StructureShape.new(name: 'DeployAsApplicationConfigurationDescription') DeployAsApplicationConfigurationUpdate = Shapes::StructureShape.new(name: 'DeployAsApplicationConfigurationUpdate') + DescribeApplicationOperationRequest = Shapes::StructureShape.new(name: 'DescribeApplicationOperationRequest') + DescribeApplicationOperationResponse = Shapes::StructureShape.new(name: 'DescribeApplicationOperationResponse') DescribeApplicationRequest = Shapes::StructureShape.new(name: 'DescribeApplicationRequest') DescribeApplicationResponse = Shapes::StructureShape.new(name: 'DescribeApplicationResponse') DescribeApplicationSnapshotRequest = Shapes::StructureShape.new(name: 'DescribeApplicationSnapshotRequest') @@ -119,7 +128,9 @@ module ClientApi EnvironmentProperties = Shapes::StructureShape.new(name: 'EnvironmentProperties') EnvironmentPropertyDescriptions = Shapes::StructureShape.new(name: 'EnvironmentPropertyDescriptions') EnvironmentPropertyUpdates = Shapes::StructureShape.new(name: 'EnvironmentPropertyUpdates') + ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo') ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage') + ErrorString = Shapes::StringShape.new(name: 'ErrorString') FileKey = Shapes::StringShape.new(name: 'FileKey') FlinkApplicationConfiguration = Shapes::StructureShape.new(name: 'FlinkApplicationConfiguration') FlinkApplicationConfigurationDescription = Shapes::StructureShape.new(name: 'FlinkApplicationConfigurationDescription') @@ -172,6 +183,9 @@ module ClientApi LambdaOutputDescription = Shapes::StructureShape.new(name: 'LambdaOutputDescription') LambdaOutputUpdate = Shapes::StructureShape.new(name: 'LambdaOutputUpdate') LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') + ListApplicationOperationsInputLimit = Shapes::IntegerShape.new(name: 'ListApplicationOperationsInputLimit') + ListApplicationOperationsRequest = Shapes::StructureShape.new(name: 'ListApplicationOperationsRequest') + ListApplicationOperationsResponse = Shapes::StructureShape.new(name: 'ListApplicationOperationsResponse') ListApplicationSnapshotsRequest = Shapes::StructureShape.new(name: 'ListApplicationSnapshotsRequest') ListApplicationSnapshotsResponse = Shapes::StructureShape.new(name: 'ListApplicationSnapshotsResponse') ListApplicationVersionsInputLimit = Shapes::IntegerShape.new(name: 'ListApplicationVersionsInputLimit') @@ -197,6 +211,10 @@ module ClientApi MonitoringConfigurationUpdate = Shapes::StructureShape.new(name: 'MonitoringConfigurationUpdate') NextToken = Shapes::StringShape.new(name: 'NextToken') ObjectVersion = Shapes::StringShape.new(name: 'ObjectVersion') + Operation = Shapes::StringShape.new(name: 'Operation') + OperationFailureDetails = Shapes::StructureShape.new(name: 'OperationFailureDetails') + OperationId = Shapes::StringShape.new(name: 'OperationId') + OperationStatus = Shapes::StringShape.new(name: 'OperationStatus') Output = Shapes::StructureShape.new(name: 'Output') OutputDescription = Shapes::StructureShape.new(name: 'OutputDescription') OutputDescriptions = Shapes::ListShape.new(name: 'OutputDescriptions') @@ -321,6 +339,7 @@ module ClientApi AddApplicationCloudWatchLoggingOptionResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN")) AddApplicationCloudWatchLoggingOptionResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId")) AddApplicationCloudWatchLoggingOptionResponse.add_member(:cloud_watch_logging_option_descriptions, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptionDescriptions, location_name: "CloudWatchLoggingOptionDescriptions")) + AddApplicationCloudWatchLoggingOptionResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) AddApplicationCloudWatchLoggingOptionResponse.struct_class = Types::AddApplicationCloudWatchLoggingOptionResponse AddApplicationInputProcessingConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName")) @@ -374,6 +393,7 @@ module ClientApi AddApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN")) AddApplicationVpcConfigurationResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId")) AddApplicationVpcConfigurationResponse.add_member(:vpc_configuration_description, Shapes::ShapeRef.new(shape: VpcConfigurationDescription, location_name: "VpcConfigurationDescription")) + AddApplicationVpcConfigurationResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) AddApplicationVpcConfigurationResponse.struct_class = Types::AddApplicationVpcConfigurationResponse ApplicationCodeConfiguration.add_member(:code_content, Shapes::ShapeRef.new(shape: CodeContent, location_name: "CodeContent")) @@ -393,6 +413,7 @@ module ClientApi ApplicationConfiguration.add_member(:environment_properties, Shapes::ShapeRef.new(shape: EnvironmentProperties, location_name: "EnvironmentProperties")) ApplicationConfiguration.add_member(:application_code_configuration, Shapes::ShapeRef.new(shape: ApplicationCodeConfiguration, location_name: "ApplicationCodeConfiguration")) ApplicationConfiguration.add_member(:application_snapshot_configuration, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfiguration, location_name: "ApplicationSnapshotConfiguration")) + ApplicationConfiguration.add_member(:application_system_rollback_configuration, Shapes::ShapeRef.new(shape: ApplicationSystemRollbackConfiguration, location_name: "ApplicationSystemRollbackConfiguration")) ApplicationConfiguration.add_member(:vpc_configurations, Shapes::ShapeRef.new(shape: VpcConfigurations, location_name: "VpcConfigurations")) ApplicationConfiguration.add_member(:zeppelin_application_configuration, Shapes::ShapeRef.new(shape: ZeppelinApplicationConfiguration, location_name: "ZeppelinApplicationConfiguration")) ApplicationConfiguration.struct_class = Types::ApplicationConfiguration @@ -403,6 +424,7 @@ module ClientApi ApplicationConfigurationDescription.add_member(:flink_application_configuration_description, Shapes::ShapeRef.new(shape: FlinkApplicationConfigurationDescription, location_name: "FlinkApplicationConfigurationDescription")) ApplicationConfigurationDescription.add_member(:environment_property_descriptions, Shapes::ShapeRef.new(shape: EnvironmentPropertyDescriptions, location_name: "EnvironmentPropertyDescriptions")) ApplicationConfigurationDescription.add_member(:application_snapshot_configuration_description, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfigurationDescription, location_name: "ApplicationSnapshotConfigurationDescription")) + ApplicationConfigurationDescription.add_member(:application_system_rollback_configuration_description, Shapes::ShapeRef.new(shape: ApplicationSystemRollbackConfigurationDescription, location_name: "ApplicationSystemRollbackConfigurationDescription")) ApplicationConfigurationDescription.add_member(:vpc_configuration_descriptions, Shapes::ShapeRef.new(shape: VpcConfigurationDescriptions, location_name: "VpcConfigurationDescriptions")) ApplicationConfigurationDescription.add_member(:zeppelin_application_configuration_description, Shapes::ShapeRef.new(shape: ZeppelinApplicationConfigurationDescription, location_name: "ZeppelinApplicationConfigurationDescription")) ApplicationConfigurationDescription.struct_class = Types::ApplicationConfigurationDescription @@ -412,6 +434,7 @@ module ClientApi ApplicationConfigurationUpdate.add_member(:flink_application_configuration_update, Shapes::ShapeRef.new(shape: FlinkApplicationConfigurationUpdate, location_name: "FlinkApplicationConfigurationUpdate")) ApplicationConfigurationUpdate.add_member(:environment_property_updates, Shapes::ShapeRef.new(shape: EnvironmentPropertyUpdates, location_name: "EnvironmentPropertyUpdates")) ApplicationConfigurationUpdate.add_member(:application_snapshot_configuration_update, Shapes::ShapeRef.new(shape: ApplicationSnapshotConfigurationUpdate, location_name: "ApplicationSnapshotConfigurationUpdate")) + ApplicationConfigurationUpdate.add_member(:application_system_rollback_configuration_update, Shapes::ShapeRef.new(shape: ApplicationSystemRollbackConfigurationUpdate, location_name: "ApplicationSystemRollbackConfigurationUpdate")) ApplicationConfigurationUpdate.add_member(:vpc_configuration_updates, Shapes::ShapeRef.new(shape: VpcConfigurationUpdates, location_name: "VpcConfigurationUpdates")) ApplicationConfigurationUpdate.add_member(:zeppelin_application_configuration_update, Shapes::ShapeRef.new(shape: ZeppelinApplicationConfigurationUpdate, location_name: "ZeppelinApplicationConfigurationUpdate")) ApplicationConfigurationUpdate.struct_class = Types::ApplicationConfigurationUpdate @@ -430,6 +453,7 @@ module ClientApi ApplicationDetail.add_member(:application_maintenance_configuration_description, Shapes::ShapeRef.new(shape: ApplicationMaintenanceConfigurationDescription, location_name: "ApplicationMaintenanceConfigurationDescription")) ApplicationDetail.add_member(:application_version_updated_from, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionUpdatedFrom")) ApplicationDetail.add_member(:application_version_rolled_back_from, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionRolledBackFrom")) + ApplicationDetail.add_member(:application_version_create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ApplicationVersionCreateTimestamp")) ApplicationDetail.add_member(:conditional_token, Shapes::ShapeRef.new(shape: ConditionalToken, location_name: "ConditionalToken")) ApplicationDetail.add_member(:application_version_rolled_back_to, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionRolledBackTo")) ApplicationDetail.add_member(:application_mode, Shapes::ShapeRef.new(shape: ApplicationMode, location_name: "ApplicationMode")) @@ -442,6 +466,23 @@ module ClientApi ApplicationMaintenanceConfigurationUpdate.add_member(:application_maintenance_window_start_time_update, Shapes::ShapeRef.new(shape: ApplicationMaintenanceWindowStartTime, required: true, location_name: "ApplicationMaintenanceWindowStartTimeUpdate")) ApplicationMaintenanceConfigurationUpdate.struct_class = Types::ApplicationMaintenanceConfigurationUpdate + ApplicationOperationInfo.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation")) + ApplicationOperationInfo.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) + ApplicationOperationInfo.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime")) + ApplicationOperationInfo.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime")) + ApplicationOperationInfo.add_member(:operation_status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "OperationStatus")) + ApplicationOperationInfo.struct_class = Types::ApplicationOperationInfo + + ApplicationOperationInfoDetails.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, required: true, location_name: "Operation")) + ApplicationOperationInfoDetails.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime")) + ApplicationOperationInfoDetails.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime")) + ApplicationOperationInfoDetails.add_member(:operation_status, Shapes::ShapeRef.new(shape: OperationStatus, required: true, location_name: "OperationStatus")) + ApplicationOperationInfoDetails.add_member(:application_version_change_details, Shapes::ShapeRef.new(shape: ApplicationVersionChangeDetails, location_name: "ApplicationVersionChangeDetails")) + ApplicationOperationInfoDetails.add_member(:operation_failure_details, Shapes::ShapeRef.new(shape: OperationFailureDetails, location_name: "OperationFailureDetails")) + ApplicationOperationInfoDetails.struct_class = Types::ApplicationOperationInfoDetails + + ApplicationOperationInfoList.member = Shapes::ShapeRef.new(shape: ApplicationOperationInfo) + ApplicationRestoreConfiguration.add_member(:application_restore_type, Shapes::ShapeRef.new(shape: ApplicationRestoreType, required: true, location_name: "ApplicationRestoreType")) ApplicationRestoreConfiguration.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: SnapshotName, location_name: "SnapshotName")) ApplicationRestoreConfiguration.struct_class = Types::ApplicationRestoreConfiguration @@ -465,6 +506,19 @@ module ClientApi ApplicationSummary.add_member(:application_mode, Shapes::ShapeRef.new(shape: ApplicationMode, location_name: "ApplicationMode")) ApplicationSummary.struct_class = Types::ApplicationSummary + ApplicationSystemRollbackConfiguration.add_member(:rollback_enabled, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "RollbackEnabled")) + ApplicationSystemRollbackConfiguration.struct_class = Types::ApplicationSystemRollbackConfiguration + + ApplicationSystemRollbackConfigurationDescription.add_member(:rollback_enabled, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "RollbackEnabled")) + ApplicationSystemRollbackConfigurationDescription.struct_class = Types::ApplicationSystemRollbackConfigurationDescription + + ApplicationSystemRollbackConfigurationUpdate.add_member(:rollback_enabled_update, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "RollbackEnabledUpdate")) + ApplicationSystemRollbackConfigurationUpdate.struct_class = Types::ApplicationSystemRollbackConfigurationUpdate + + ApplicationVersionChangeDetails.add_member(:application_version_updated_from, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "ApplicationVersionUpdatedFrom")) + ApplicationVersionChangeDetails.add_member(:application_version_updated_to, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "ApplicationVersionUpdatedTo")) + ApplicationVersionChangeDetails.struct_class = Types::ApplicationVersionChangeDetails + ApplicationVersionSummaries.member = Shapes::ShapeRef.new(shape: ApplicationVersionSummary) ApplicationVersionSummary.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, required: true, location_name: "ApplicationVersionId")) @@ -592,6 +646,7 @@ module ClientApi DeleteApplicationCloudWatchLoggingOptionResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN")) DeleteApplicationCloudWatchLoggingOptionResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId")) DeleteApplicationCloudWatchLoggingOptionResponse.add_member(:cloud_watch_logging_option_descriptions, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptionDescriptions, location_name: "CloudWatchLoggingOptionDescriptions")) + DeleteApplicationCloudWatchLoggingOptionResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) DeleteApplicationCloudWatchLoggingOptionResponse.struct_class = Types::DeleteApplicationCloudWatchLoggingOptionResponse DeleteApplicationInputProcessingConfigurationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName")) @@ -642,6 +697,7 @@ module ClientApi DeleteApplicationVpcConfigurationResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ApplicationARN")) DeleteApplicationVpcConfigurationResponse.add_member(:application_version_id, Shapes::ShapeRef.new(shape: ApplicationVersionId, location_name: "ApplicationVersionId")) + DeleteApplicationVpcConfigurationResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) DeleteApplicationVpcConfigurationResponse.struct_class = Types::DeleteApplicationVpcConfigurationResponse DeployAsApplicationConfiguration.add_member(:s3_content_location, Shapes::ShapeRef.new(shape: S3ContentBaseLocation, required: true, location_name: "S3ContentLocation")) @@ -653,6 +709,13 @@ module ClientApi DeployAsApplicationConfigurationUpdate.add_member(:s3_content_location_update, Shapes::ShapeRef.new(shape: S3ContentBaseLocationUpdate, location_name: "S3ContentLocationUpdate")) DeployAsApplicationConfigurationUpdate.struct_class = Types::DeployAsApplicationConfigurationUpdate + DescribeApplicationOperationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName")) + DescribeApplicationOperationRequest.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, required: true, location_name: "OperationId")) + DescribeApplicationOperationRequest.struct_class = Types::DescribeApplicationOperationRequest + + DescribeApplicationOperationResponse.add_member(:application_operation_info_details, Shapes::ShapeRef.new(shape: ApplicationOperationInfoDetails, location_name: "ApplicationOperationInfoDetails")) + DescribeApplicationOperationResponse.struct_class = Types::DescribeApplicationOperationResponse + DescribeApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName")) DescribeApplicationRequest.add_member(:include_additional_details, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "IncludeAdditionalDetails")) DescribeApplicationRequest.struct_class = Types::DescribeApplicationRequest @@ -699,6 +762,9 @@ module ClientApi EnvironmentPropertyUpdates.add_member(:property_groups, Shapes::ShapeRef.new(shape: PropertyGroups, required: true, location_name: "PropertyGroups")) EnvironmentPropertyUpdates.struct_class = Types::EnvironmentPropertyUpdates + ErrorInfo.add_member(:error_string, Shapes::ShapeRef.new(shape: ErrorString, location_name: "ErrorString")) + ErrorInfo.struct_class = Types::ErrorInfo + FlinkApplicationConfiguration.add_member(:checkpoint_configuration, Shapes::ShapeRef.new(shape: CheckpointConfiguration, location_name: "CheckpointConfiguration")) FlinkApplicationConfiguration.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "MonitoringConfiguration")) FlinkApplicationConfiguration.add_member(:parallelism_configuration, Shapes::ShapeRef.new(shape: ParallelismConfiguration, location_name: "ParallelismConfiguration")) @@ -861,6 +927,17 @@ module ClientApi LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) LimitExceededException.struct_class = Types::LimitExceededException + ListApplicationOperationsRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName")) + ListApplicationOperationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: ListApplicationOperationsInputLimit, location_name: "Limit")) + ListApplicationOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) + ListApplicationOperationsRequest.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation")) + ListApplicationOperationsRequest.add_member(:operation_status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "OperationStatus")) + ListApplicationOperationsRequest.struct_class = Types::ListApplicationOperationsRequest + + ListApplicationOperationsResponse.add_member(:application_operation_info_list, Shapes::ShapeRef.new(shape: ApplicationOperationInfoList, location_name: "ApplicationOperationInfoList")) + ListApplicationOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) + ListApplicationOperationsResponse.struct_class = Types::ListApplicationOperationsResponse + ListApplicationSnapshotsRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName")) ListApplicationSnapshotsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: ListSnapshotsInputLimit, location_name: "Limit")) ListApplicationSnapshotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) @@ -917,6 +994,10 @@ module ClientApi MonitoringConfigurationUpdate.add_member(:log_level_update, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevelUpdate")) MonitoringConfigurationUpdate.struct_class = Types::MonitoringConfigurationUpdate + OperationFailureDetails.add_member(:rollback_operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "RollbackOperationId")) + OperationFailureDetails.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfo, location_name: "ErrorInfo")) + OperationFailureDetails.struct_class = Types::OperationFailureDetails + Output.add_member(:name, Shapes::ShapeRef.new(shape: InAppStreamName, required: true, location_name: "Name")) Output.add_member(:kinesis_streams_output, Shapes::ShapeRef.new(shape: KinesisStreamsOutput, location_name: "KinesisStreamsOutput")) Output.add_member(:kinesis_firehose_output, Shapes::ShapeRef.new(shape: KinesisFirehoseOutput, location_name: "KinesisFirehoseOutput")) @@ -1030,6 +1111,7 @@ module ClientApi RollbackApplicationRequest.struct_class = Types::RollbackApplicationRequest RollbackApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail")) + RollbackApplicationResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) RollbackApplicationResponse.struct_class = Types::RollbackApplicationResponse RunConfiguration.add_member(:flink_run_configuration, Shapes::ShapeRef.new(shape: FlinkRunConfiguration, location_name: "FlinkRunConfiguration")) @@ -1133,12 +1215,14 @@ module ClientApi StartApplicationRequest.add_member(:run_configuration, Shapes::ShapeRef.new(shape: RunConfiguration, location_name: "RunConfiguration")) StartApplicationRequest.struct_class = Types::StartApplicationRequest + StartApplicationResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) StartApplicationResponse.struct_class = Types::StartApplicationResponse StopApplicationRequest.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "ApplicationName")) StopApplicationRequest.add_member(:force, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Force")) StopApplicationRequest.struct_class = Types::StopApplicationRequest + StopApplicationResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) StopApplicationResponse.struct_class = Types::StopApplicationResponse SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId) @@ -1193,6 +1277,7 @@ module ClientApi UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest UpdateApplicationResponse.add_member(:application_detail, Shapes::ShapeRef.new(shape: ApplicationDetail, required: true, location_name: "ApplicationDetail")) + UpdateApplicationResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse VpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds")) @@ -1254,6 +1339,7 @@ module ClientApi "endpointPrefix" => "kinesisanalytics", "jsonVersion" => "1.1", "protocol" => "json", + "protocols" => ["json"], "serviceAbbreviation" => "Kinesis Analytics V2", "serviceFullName" => "Amazon Kinesis Analytics", "serviceId" => "Kinesis Analytics V2", @@ -1490,6 +1576,17 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) end) + api.add_operation(:describe_application_operation, Seahorse::Model::Operation.new.tap do |o| + o.name = "DescribeApplicationOperation" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: DescribeApplicationOperationRequest) + o.output = Shapes::ShapeRef.new(shape: DescribeApplicationOperationResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException) + end) + api.add_operation(:describe_application_snapshot, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeApplicationSnapshot" o.http_method = "POST" @@ -1526,6 +1623,23 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException) end) + api.add_operation(:list_application_operations, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListApplicationOperations" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: ListApplicationOperationsRequest) + o.output = Shapes::ShapeRef.new(shape: ListApplicationOperationsResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException) + o[:pager] = Aws::Pager.new( + limit_key: "limit", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_application_snapshots, Seahorse::Model::Operation.new.tap do |o| o.name = "ListApplicationSnapshots" o.http_method = "POST" @@ -1534,6 +1648,12 @@ module ClientApi o.output = Shapes::ShapeRef.new(shape: ListApplicationSnapshotsResponse) o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException) + o[:pager] = Aws::Pager.new( + limit_key: "limit", + tokens: { + "next_token" => "next_token" + } + ) end) api.add_operation(:list_application_versions, Seahorse::Model::Operation.new.tap do |o| @@ -1545,6 +1665,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException) + o[:pager] = Aws::Pager.new( + limit_key: "limit", + tokens: { + "next_token" => "next_token" + } + ) end) api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o| @@ -1554,6 +1680,12 @@ module ClientApi o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest) o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) + o[:pager] = Aws::Pager.new( + limit_key: "limit", + tokens: { + "next_token" => "next_token" + } + ) end) api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb index 542276480c8..97b68ca4f17 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb @@ -250,6 +250,20 @@ def self.build(context) end end + class DescribeApplicationOperation + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::KinesisAnalyticsV2::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class DescribeApplicationSnapshot def self.build(context) unless context.config.regional_endpoint @@ -292,6 +306,20 @@ def self.build(context) end end + class ListApplicationOperations + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::KinesisAnalyticsV2::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListApplicationSnapshots def self.build(context) unless context.config.regional_endpoint diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb index a4275169eb7..33d2fe2315f 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb @@ -92,12 +92,16 @@ def parameters_for_operation(context) Aws::KinesisAnalyticsV2::Endpoints::DeleteApplicationVpcConfiguration.build(context) when :describe_application Aws::KinesisAnalyticsV2::Endpoints::DescribeApplication.build(context) + when :describe_application_operation + Aws::KinesisAnalyticsV2::Endpoints::DescribeApplicationOperation.build(context) when :describe_application_snapshot Aws::KinesisAnalyticsV2::Endpoints::DescribeApplicationSnapshot.build(context) when :describe_application_version Aws::KinesisAnalyticsV2::Endpoints::DescribeApplicationVersion.build(context) when :discover_input_schema Aws::KinesisAnalyticsV2::Endpoints::DiscoverInputSchema.build(context) + when :list_application_operations + Aws::KinesisAnalyticsV2::Endpoints::ListApplicationOperations.build(context) when :list_application_snapshots Aws::KinesisAnalyticsV2::Endpoints::ListApplicationSnapshots.build(context) when :list_application_versions diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb index c815a0cc873..42ac2be5ba2 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb @@ -64,12 +64,18 @@ class AddApplicationCloudWatchLoggingOptionRequest < Struct.new( # SQL-based Kinesis Data Analytics application. # @return [Array] # + # @!attribute [rw] operation_id + # Operation ID for tracking AddApplicationCloudWatchLoggingOption + # request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOptionResponse AWS API Documentation # class AddApplicationCloudWatchLoggingOptionResponse < Struct.new( :application_arn, :application_version_id, - :cloud_watch_logging_option_descriptions) + :cloud_watch_logging_option_descriptions, + :operation_id) SENSITIVE = [] include Aws::Structure end @@ -350,12 +356,17 @@ class AddApplicationVpcConfigurationRequest < Struct.new( # The parameters of the new VPC configuration. # @return [Types::VpcConfigurationDescription] # + # @!attribute [rw] operation_id + # Operation ID for tracking AddApplicationVpcConfiguration request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfigurationResponse AWS API Documentation # class AddApplicationVpcConfigurationResponse < Struct.new( :application_arn, :application_version_id, - :vpc_configuration_description) + :vpc_configuration_description, + :operation_id) SENSITIVE = [] include Aws::Structure end @@ -448,6 +459,11 @@ class ApplicationCodeConfigurationUpdate < Struct.new( # Apache Flink application. # @return [Types::ApplicationSnapshotConfiguration] # + # @!attribute [rw] application_system_rollback_configuration + # Describes system rollback configuration for a Managed Service for + # Apache Flink application + # @return [Types::ApplicationSystemRollbackConfiguration] + # # @!attribute [rw] vpc_configurations # The array of descriptions of VPC configurations available to the # application. @@ -466,6 +482,7 @@ class ApplicationConfiguration < Struct.new( :environment_properties, :application_code_configuration, :application_snapshot_configuration, + :application_system_rollback_configuration, :vpc_configurations, :zeppelin_application_configuration) SENSITIVE = [] @@ -504,6 +521,11 @@ class ApplicationConfiguration < Struct.new( # Apache Flink application. # @return [Types::ApplicationSnapshotConfigurationDescription] # + # @!attribute [rw] application_system_rollback_configuration_description + # Describes system rollback configuration for a Managed Service for + # Apache Flink application + # @return [Types::ApplicationSystemRollbackConfigurationDescription] + # # @!attribute [rw] vpc_configuration_descriptions # The array of descriptions of VPC configurations available to the # application. @@ -523,6 +545,7 @@ class ApplicationConfigurationDescription < Struct.new( :flink_application_configuration_description, :environment_property_descriptions, :application_snapshot_configuration_description, + :application_system_rollback_configuration_description, :vpc_configuration_descriptions, :zeppelin_application_configuration_description) SENSITIVE = [] @@ -555,6 +578,11 @@ class ApplicationConfigurationDescription < Struct.new( # Apache Flink application. # @return [Types::ApplicationSnapshotConfigurationUpdate] # + # @!attribute [rw] application_system_rollback_configuration_update + # Describes system rollback configuration for a Managed Service for + # Apache Flink application + # @return [Types::ApplicationSystemRollbackConfigurationUpdate] + # # @!attribute [rw] vpc_configuration_updates # Updates to the array of descriptions of VPC configurations available # to the application. @@ -573,6 +601,7 @@ class ApplicationConfigurationUpdate < Struct.new( :flink_application_configuration_update, :environment_property_updates, :application_snapshot_configuration_update, + :application_system_rollback_configuration_update, :vpc_configuration_updates, :zeppelin_application_configuration_update) SENSITIVE = [] @@ -645,6 +674,10 @@ class ApplicationConfigurationUpdate < Struct.new( # application version when `RollbackApplication` was called. # @return [Integer] # + # @!attribute [rw] application_version_create_timestamp + # The current timestamp when the application version was created. + # @return [Time] + # # @!attribute [rw] conditional_token # A value you use to implement strong concurrency for application # updates. @@ -677,6 +710,7 @@ class ApplicationDetail < Struct.new( :application_maintenance_configuration_description, :application_version_updated_from, :application_version_rolled_back_from, + :application_version_create_timestamp, :conditional_token, :application_version_rolled_back_to, :application_mode) @@ -717,6 +751,82 @@ class ApplicationMaintenanceConfigurationUpdate < Struct.new( include Aws::Structure end + # Provides a description of the operation, such as the type and status + # of operation + # + # @!attribute [rw] operation + # Type of operation performed on an application + # @return [String] + # + # @!attribute [rw] operation_id + # Identifier of the Operation + # @return [String] + # + # @!attribute [rw] start_time + # The timestamp at which the operation was created + # @return [Time] + # + # @!attribute [rw] end_time + # The timestamp at which the operation finished for the application + # @return [Time] + # + # @!attribute [rw] operation_status + # Status of the operation performed on an application + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationOperationInfo AWS API Documentation + # + class ApplicationOperationInfo < Struct.new( + :operation, + :operation_id, + :start_time, + :end_time, + :operation_status) + SENSITIVE = [] + include Aws::Structure + end + + # Provides a description of the operation, such as the operation-type + # and status + # + # @!attribute [rw] operation + # Type of operation performed on an application + # @return [String] + # + # @!attribute [rw] start_time + # The timestamp at which the operation was created + # @return [Time] + # + # @!attribute [rw] end_time + # The timestamp at which the operation finished for the application + # @return [Time] + # + # @!attribute [rw] operation_status + # Status of the operation performed on an application + # @return [String] + # + # @!attribute [rw] application_version_change_details + # Contains information about the application version changes due to an + # operation + # @return [Types::ApplicationVersionChangeDetails] + # + # @!attribute [rw] operation_failure_details + # Provides a description of the operation failure + # @return [Types::OperationFailureDetails] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationOperationInfoDetails AWS API Documentation + # + class ApplicationOperationInfoDetails < Struct.new( + :operation, + :start_time, + :end_time, + :operation_status, + :application_version_change_details, + :operation_failure_details) + SENSITIVE = [] + include Aws::Structure + end + # Specifies the method and snapshot to use when restarting an # application using previously saved application state. # @@ -830,6 +940,75 @@ class ApplicationSummary < Struct.new( include Aws::Structure end + # Describes system rollback configuration for a Managed Service for + # Apache Flink application + # + # @!attribute [rw] rollback_enabled + # Describes whether system rollbacks are enabled for a Managed Service + # for Apache Flink application + # @return [Boolean] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSystemRollbackConfiguration AWS API Documentation + # + class ApplicationSystemRollbackConfiguration < Struct.new( + :rollback_enabled) + SENSITIVE = [] + include Aws::Structure + end + + # Describes system rollback configuration for a Managed Service for + # Apache Flink application + # + # @!attribute [rw] rollback_enabled + # Describes whether system rollbacks are enabled for a Managed Service + # for Apache Flink application + # @return [Boolean] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSystemRollbackConfigurationDescription AWS API Documentation + # + class ApplicationSystemRollbackConfigurationDescription < Struct.new( + :rollback_enabled) + SENSITIVE = [] + include Aws::Structure + end + + # Describes system rollback configuration for a Managed Service for + # Apache Flink application + # + # @!attribute [rw] rollback_enabled_update + # Describes whether system rollbacks are enabled for a Managed Service + # for Apache Flink application + # @return [Boolean] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSystemRollbackConfigurationUpdate AWS API Documentation + # + class ApplicationSystemRollbackConfigurationUpdate < Struct.new( + :rollback_enabled_update) + SENSITIVE = [] + include Aws::Structure + end + + # Contains information about the application version changes due to an + # operation + # + # @!attribute [rw] application_version_updated_from + # The operation was performed on this version of the application + # @return [Integer] + # + # @!attribute [rw] application_version_updated_to + # The operation execution resulted in the transition to the following + # version of the application + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationVersionChangeDetails AWS API Documentation + # + class ApplicationVersionChangeDetails < Struct.new( + :application_version_updated_from, + :application_version_updated_to) + SENSITIVE = [] + include Aws::Structure + end + # The summary of the application version. # # @!attribute [rw] application_version_id @@ -1581,12 +1760,18 @@ class DeleteApplicationCloudWatchLoggingOptionRequest < Struct.new( # application. # @return [Array] # + # @!attribute [rw] operation_id + # Operation ID for tracking DeleteApplicationCloudWatchLoggingOption + # request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationCloudWatchLoggingOptionResponse AWS API Documentation # class DeleteApplicationCloudWatchLoggingOptionResponse < Struct.new( :application_arn, :application_version_id, - :cloud_watch_logging_option_descriptions) + :cloud_watch_logging_option_descriptions, + :operation_id) SENSITIVE = [] include Aws::Structure end @@ -1821,11 +2006,16 @@ class DeleteApplicationVpcConfigurationRequest < Struct.new( # The updated version ID of the application. # @return [Integer] # + # @!attribute [rw] operation_id + # Operation ID for tracking DeleteApplicationVpcConfiguration request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfigurationResponse AWS API Documentation # class DeleteApplicationVpcConfigurationResponse < Struct.new( :application_arn, - :application_version_id) + :application_version_id, + :operation_id) SENSITIVE = [] include Aws::Structure end @@ -1881,6 +2071,42 @@ class DeployAsApplicationConfigurationUpdate < Struct.new( include Aws::Structure end + # Request for information about a specific operation performed on a + # Managed Service for Apache Flink application + # + # @!attribute [rw] application_name + # The name of the application + # @return [String] + # + # @!attribute [rw] operation_id + # Identifier of the Operation + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationOperationRequest AWS API Documentation + # + class DescribeApplicationOperationRequest < Struct.new( + :application_name, + :operation_id) + SENSITIVE = [] + include Aws::Structure + end + + # Provides details of the operation corresponding to the operation-ID on + # a Managed Service for Apache Flink application + # + # @!attribute [rw] application_operation_info_details + # Provides a description of the operation, such as the operation-type + # and status + # @return [Types::ApplicationOperationInfoDetails] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationOperationResponse AWS API Documentation + # + class DescribeApplicationOperationResponse < Struct.new( + :application_operation_info_details) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] application_name # The name of the application. # @return [String] @@ -2102,6 +2328,20 @@ class EnvironmentPropertyUpdates < Struct.new( include Aws::Structure end + # Provides a description of the operation failure error + # + # @!attribute [rw] error_string + # Error message resulting in failure of the operation + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ErrorInfo AWS API Documentation + # + class ErrorInfo < Struct.new( + :error_string) + SENSITIVE = [] + include Aws::Structure + end + # Describes configuration parameters for a Managed Service for Apache # Flink application or a Studio notebook. # @@ -3102,6 +3342,61 @@ class LimitExceededException < Struct.new( include Aws::Structure end + # Request to list operations performed on an application + # + # @!attribute [rw] application_name + # The name of the application + # @return [String] + # + # @!attribute [rw] limit + # Limit on the number of records returned in the response + # @return [Integer] + # + # @!attribute [rw] next_token + # If a previous command returned a pagination token, pass it into this + # value to retrieve the next set of results + # @return [String] + # + # @!attribute [rw] operation + # Type of operation performed on an application + # @return [String] + # + # @!attribute [rw] operation_status + # Status of the operation performed on an application + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationOperationsRequest AWS API Documentation + # + class ListApplicationOperationsRequest < Struct.new( + :application_name, + :limit, + :next_token, + :operation, + :operation_status) + SENSITIVE = [] + include Aws::Structure + end + + # Response with the list of operations for an application + # + # @!attribute [rw] application_operation_info_list + # List of ApplicationOperationInfo for an application + # @return [Array] + # + # @!attribute [rw] next_token + # If a previous command returned a pagination token, pass it into this + # value to retrieve the next set of results + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationOperationsResponse AWS API Documentation + # + class ListApplicationOperationsResponse < Struct.new( + :application_operation_info_list, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] application_name # The name of an existing application. # @return [String] @@ -3421,6 +3716,26 @@ class MonitoringConfigurationUpdate < Struct.new( include Aws::Structure end + # Provides a description of the operation failure + # + # @!attribute [rw] rollback_operation_id + # Provides the operation ID of a system-rollback operation executed + # due to failure in the current operation + # @return [String] + # + # @!attribute [rw] error_info + # Provides a description of the operation failure error + # @return [Types::ErrorInfo] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/OperationFailureDetails AWS API Documentation + # + class OperationFailureDetails < Struct.new( + :rollback_operation_id, + :error_info) + SENSITIVE = [] + include Aws::Structure + end + # Describes a SQL-based Kinesis Data Analytics application's output # configuration, in which you identify an in-application stream and a # destination where you want the in-application stream data to be @@ -3973,10 +4288,15 @@ class RollbackApplicationRequest < Struct.new( # configurations. # @return [Types::ApplicationDetail] # + # @!attribute [rw] operation_id + # Operation ID for tracking RollbackApplication request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplicationResponse AWS API Documentation # class RollbackApplicationResponse < Struct.new( - :application_detail) + :application_detail, + :operation_id) SENSITIVE = [] include Aws::Structure end @@ -4489,9 +4809,17 @@ class StartApplicationRequest < Struct.new( include Aws::Structure end + # @!attribute [rw] operation_id + # Operation ID for tracking StartApplication request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StartApplicationResponse AWS API Documentation # - class StartApplicationResponse < Aws::EmptyStructure; end + class StartApplicationResponse < Struct.new( + :operation_id) + SENSITIVE = [] + include Aws::Structure + end # @!attribute [rw] application_name # The name of the running application to stop. @@ -4526,9 +4854,17 @@ class StopApplicationRequest < Struct.new( include Aws::Structure end + # @!attribute [rw] operation_id + # Operation ID for tracking StopApplication request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplicationResponse AWS API Documentation # - class StopApplicationResponse < Aws::EmptyStructure; end + class StopApplicationResponse < Struct.new( + :operation_id) + SENSITIVE = [] + include Aws::Structure + end # A key-value pair (the value is optional) that you can define and # assign to Amazon resources. If you specify a tag that already exists, @@ -4762,10 +5098,15 @@ class UpdateApplicationRequest < Struct.new( # Describes application updates. # @return [Types::ApplicationDetail] # + # @!attribute [rw] operation_id + # Operation ID for tracking UpdateApplication request + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationResponse AWS API Documentation # class UpdateApplicationResponse < Struct.new( - :application_detail) + :application_detail, + :operation_id) SENSITIVE = [] include Aws::Structure end diff --git a/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs b/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs index e6522e9d3c4..43fe5c58f28 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs +++ b/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs @@ -78,6 +78,7 @@ module Aws def application_arn: () -> ::String def application_version_id: () -> ::Integer def cloud_watch_logging_option_descriptions: () -> ::Array[Types::CloudWatchLoggingOptionDescription] + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#add_application_cloud_watch_logging_option-instance_method def add_application_cloud_watch_logging_option: ( @@ -237,6 +238,7 @@ module Aws def application_arn: () -> ::String def application_version_id: () -> ::Integer def vpc_configuration_description: () -> Types::VpcConfigurationDescription + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#add_application_vpc_configuration-instance_method def add_application_vpc_configuration: ( @@ -394,6 +396,9 @@ module Aws application_snapshot_configuration: { snapshots_enabled: bool }?, + application_system_rollback_configuration: { + rollback_enabled: bool + }?, vpc_configurations: Array[ { subnet_ids: Array[::String], @@ -484,6 +489,7 @@ module Aws def application_arn: () -> ::String def application_version_id: () -> ::Integer def cloud_watch_logging_option_descriptions: () -> ::Array[Types::CloudWatchLoggingOptionDescription] + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#delete_application_cloud_watch_logging_option-instance_method def delete_application_cloud_watch_logging_option: ( @@ -548,6 +554,7 @@ module Aws include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApplicationVpcConfigurationResponse] def application_arn: () -> ::String def application_version_id: () -> ::Integer + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#delete_application_vpc_configuration-instance_method def delete_application_vpc_configuration: ( @@ -569,6 +576,17 @@ module Aws ) -> _DescribeApplicationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeApplicationResponseSuccess + interface _DescribeApplicationOperationResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::DescribeApplicationOperationResponse] + def application_operation_info_details: () -> Types::ApplicationOperationInfoDetails + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#describe_application_operation-instance_method + def describe_application_operation: ( + application_name: ::String, + operation_id: ::String + ) -> _DescribeApplicationOperationResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeApplicationOperationResponseSuccess + interface _DescribeApplicationSnapshotResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeApplicationSnapshotResponse] def snapshot_details: () -> Types::SnapshotDetails @@ -617,6 +635,21 @@ module Aws ) -> _DiscoverInputSchemaResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DiscoverInputSchemaResponseSuccess + interface _ListApplicationOperationsResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationOperationsResponse] + def application_operation_info_list: () -> ::Array[Types::ApplicationOperationInfo] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#list_application_operations-instance_method + def list_application_operations: ( + application_name: ::String, + ?limit: ::Integer, + ?next_token: ::String, + ?operation: ::String, + ?operation_status: ("IN_PROGRESS" | "CANCELLED" | "SUCCESSFUL" | "FAILED") + ) -> _ListApplicationOperationsResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationOperationsResponseSuccess + interface _ListApplicationSnapshotsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationSnapshotsResponse] def snapshot_summaries: () -> ::Array[Types::SnapshotDetails] @@ -668,6 +701,7 @@ module Aws interface _RollbackApplicationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::RollbackApplicationResponse] def application_detail: () -> Types::ApplicationDetail + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#rollback_application-instance_method def rollback_application: ( @@ -678,6 +712,7 @@ module Aws interface _StartApplicationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::StartApplicationResponse] + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#start_application-instance_method def start_application: ( @@ -704,6 +739,7 @@ module Aws interface _StopApplicationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::StopApplicationResponse] + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#stop_application-instance_method def stop_application: ( @@ -740,6 +776,7 @@ module Aws interface _UpdateApplicationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationResponse] def application_detail: () -> Types::ApplicationDetail + def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KinesisAnalyticsV2/Client.html#update_application-instance_method def update_application: ( @@ -882,6 +919,9 @@ module Aws application_snapshot_configuration_update: { snapshots_enabled_update: bool }?, + application_system_rollback_configuration_update: { + rollback_enabled_update: bool + }?, vpc_configuration_updates: Array[ { vpc_configuration_id: ::String, diff --git a/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs b/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs index 1a8ea6f6bb7..accc644faad 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs +++ b/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs @@ -20,6 +20,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor application_arn: ::String attr_accessor application_version_id: ::Integer attr_accessor cloud_watch_logging_option_descriptions: ::Array[Types::CloudWatchLoggingOptionDescription] + attr_accessor operation_id: ::String SENSITIVE: [] end @@ -93,6 +94,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor application_arn: ::String attr_accessor application_version_id: ::Integer attr_accessor vpc_configuration_description: Types::VpcConfigurationDescription + attr_accessor operation_id: ::String SENSITIVE: [] end @@ -120,6 +122,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor environment_properties: Types::EnvironmentProperties attr_accessor application_code_configuration: Types::ApplicationCodeConfiguration attr_accessor application_snapshot_configuration: Types::ApplicationSnapshotConfiguration + attr_accessor application_system_rollback_configuration: Types::ApplicationSystemRollbackConfiguration attr_accessor vpc_configurations: ::Array[Types::VpcConfiguration] attr_accessor zeppelin_application_configuration: Types::ZeppelinApplicationConfiguration SENSITIVE: [] @@ -132,6 +135,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor flink_application_configuration_description: Types::FlinkApplicationConfigurationDescription attr_accessor environment_property_descriptions: Types::EnvironmentPropertyDescriptions attr_accessor application_snapshot_configuration_description: Types::ApplicationSnapshotConfigurationDescription + attr_accessor application_system_rollback_configuration_description: Types::ApplicationSystemRollbackConfigurationDescription attr_accessor vpc_configuration_descriptions: ::Array[Types::VpcConfigurationDescription] attr_accessor zeppelin_application_configuration_description: Types::ZeppelinApplicationConfigurationDescription SENSITIVE: [] @@ -143,6 +147,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor flink_application_configuration_update: Types::FlinkApplicationConfigurationUpdate attr_accessor environment_property_updates: Types::EnvironmentPropertyUpdates attr_accessor application_snapshot_configuration_update: Types::ApplicationSnapshotConfigurationUpdate + attr_accessor application_system_rollback_configuration_update: Types::ApplicationSystemRollbackConfigurationUpdate attr_accessor vpc_configuration_updates: ::Array[Types::VpcConfigurationUpdate] attr_accessor zeppelin_application_configuration_update: Types::ZeppelinApplicationConfigurationUpdate SENSITIVE: [] @@ -163,6 +168,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor application_maintenance_configuration_description: Types::ApplicationMaintenanceConfigurationDescription attr_accessor application_version_updated_from: ::Integer attr_accessor application_version_rolled_back_from: ::Integer + attr_accessor application_version_create_timestamp: ::Time attr_accessor conditional_token: ::String attr_accessor application_version_rolled_back_to: ::Integer attr_accessor application_mode: ("STREAMING" | "INTERACTIVE") @@ -180,6 +186,25 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end + class ApplicationOperationInfo + attr_accessor operation: ::String + attr_accessor operation_id: ::String + attr_accessor start_time: ::Time + attr_accessor end_time: ::Time + attr_accessor operation_status: ("IN_PROGRESS" | "CANCELLED" | "SUCCESSFUL" | "FAILED") + SENSITIVE: [] + end + + class ApplicationOperationInfoDetails + attr_accessor operation: ::String + attr_accessor start_time: ::Time + attr_accessor end_time: ::Time + attr_accessor operation_status: ("IN_PROGRESS" | "CANCELLED" | "SUCCESSFUL" | "FAILED") + attr_accessor application_version_change_details: Types::ApplicationVersionChangeDetails + attr_accessor operation_failure_details: Types::OperationFailureDetails + SENSITIVE: [] + end + class ApplicationRestoreConfiguration attr_accessor application_restore_type: ("SKIP_RESTORE_FROM_SNAPSHOT" | "RESTORE_FROM_LATEST_SNAPSHOT" | "RESTORE_FROM_CUSTOM_SNAPSHOT") attr_accessor snapshot_name: ::String @@ -211,6 +236,27 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end + class ApplicationSystemRollbackConfiguration + attr_accessor rollback_enabled: bool + SENSITIVE: [] + end + + class ApplicationSystemRollbackConfigurationDescription + attr_accessor rollback_enabled: bool + SENSITIVE: [] + end + + class ApplicationSystemRollbackConfigurationUpdate + attr_accessor rollback_enabled_update: bool + SENSITIVE: [] + end + + class ApplicationVersionChangeDetails + attr_accessor application_version_updated_from: ::Integer + attr_accessor application_version_updated_to: ::Integer + SENSITIVE: [] + end + class ApplicationVersionSummary attr_accessor application_version_id: ::Integer attr_accessor application_status: ("DELETING" | "STARTING" | "STOPPING" | "READY" | "RUNNING" | "UPDATING" | "AUTOSCALING" | "FORCE_STOPPING" | "ROLLING_BACK" | "MAINTENANCE" | "ROLLED_BACK") @@ -376,6 +422,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor application_arn: ::String attr_accessor application_version_id: ::Integer attr_accessor cloud_watch_logging_option_descriptions: ::Array[Types::CloudWatchLoggingOptionDescription] + attr_accessor operation_id: ::String SENSITIVE: [] end @@ -448,6 +495,7 @@ module Aws::KinesisAnalyticsV2 class DeleteApplicationVpcConfigurationResponse attr_accessor application_arn: ::String attr_accessor application_version_id: ::Integer + attr_accessor operation_id: ::String SENSITIVE: [] end @@ -466,6 +514,17 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end + class DescribeApplicationOperationRequest + attr_accessor application_name: ::String + attr_accessor operation_id: ::String + SENSITIVE: [] + end + + class DescribeApplicationOperationResponse + attr_accessor application_operation_info_details: Types::ApplicationOperationInfoDetails + SENSITIVE: [] + end + class DescribeApplicationRequest attr_accessor application_name: ::String attr_accessor include_additional_details: bool @@ -536,6 +595,11 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end + class ErrorInfo + attr_accessor error_string: ::String + SENSITIVE: [] + end + class FlinkApplicationConfiguration attr_accessor checkpoint_configuration: Types::CheckpointConfiguration attr_accessor monitoring_configuration: Types::MonitoringConfiguration @@ -770,6 +834,21 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end + class ListApplicationOperationsRequest + attr_accessor application_name: ::String + attr_accessor limit: ::Integer + attr_accessor next_token: ::String + attr_accessor operation: ::String + attr_accessor operation_status: ("IN_PROGRESS" | "CANCELLED" | "SUCCESSFUL" | "FAILED") + SENSITIVE: [] + end + + class ListApplicationOperationsResponse + attr_accessor application_operation_info_list: ::Array[Types::ApplicationOperationInfo] + attr_accessor next_token: ::String + SENSITIVE: [] + end + class ListApplicationSnapshotsRequest attr_accessor application_name: ::String attr_accessor limit: ::Integer @@ -852,6 +931,12 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end + class OperationFailureDetails + attr_accessor rollback_operation_id: ::String + attr_accessor error_info: Types::ErrorInfo + SENSITIVE: [] + end + class Output attr_accessor name: ::String attr_accessor kinesis_streams_output: Types::KinesisStreamsOutput @@ -971,6 +1056,7 @@ module Aws::KinesisAnalyticsV2 class RollbackApplicationResponse attr_accessor application_detail: Types::ApplicationDetail + attr_accessor operation_id: ::String SENSITIVE: [] end @@ -1111,7 +1197,9 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end - class StartApplicationResponse < Aws::EmptyStructure + class StartApplicationResponse + attr_accessor operation_id: ::String + SENSITIVE: [] end class StopApplicationRequest @@ -1120,7 +1208,9 @@ module Aws::KinesisAnalyticsV2 SENSITIVE: [] end - class StopApplicationResponse < Aws::EmptyStructure + class StopApplicationResponse + attr_accessor operation_id: ::String + SENSITIVE: [] end class Tag @@ -1190,6 +1280,7 @@ module Aws::KinesisAnalyticsV2 class UpdateApplicationResponse attr_accessor application_detail: Types::ApplicationDetail + attr_accessor operation_id: ::String SENSITIVE: [] end diff --git a/gems/aws-sdk-opensearchservice/CHANGELOG.md b/gems/aws-sdk-opensearchservice/CHANGELOG.md index b5579953d33..36f784e2907 100644 --- a/gems/aws-sdk-opensearchservice/CHANGELOG.md +++ b/gems/aws-sdk-opensearchservice/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.47.0 (2024-06-26) +------------------ + +* Feature - This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down. + 1.46.0 (2024-06-25) ------------------ diff --git a/gems/aws-sdk-opensearchservice/VERSION b/gems/aws-sdk-opensearchservice/VERSION index 0a3db35b241..21998d3c2d9 100644 --- a/gems/aws-sdk-opensearchservice/VERSION +++ b/gems/aws-sdk-opensearchservice/VERSION @@ -1 +1 @@ -1.46.0 +1.47.0 diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb index cbb6c5d469c..e5d08445ae9 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb @@ -52,6 +52,6 @@ # @!group service module Aws::OpenSearchService - GEM_VERSION = '1.46.0' + GEM_VERSION = '1.47.0' end diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb index 49fe8dd2107..48d22d9080b 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb @@ -847,6 +847,9 @@ def cancel_service_software_update(params = {}, options = {}) # @option params [Types::SoftwareUpdateOptions] :software_update_options # Software update options for the domain. # + # @option params [Types::AIMLOptionsInput] :aiml_options + # Options for all machine learning features for the specified domain. + # # @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateDomainResponse#domain_status #domain_status} => Types::DomainStatus @@ -979,6 +982,11 @@ def cancel_service_software_update(params = {}, options = {}) # software_update_options: { # auto_software_update_enabled: false, # }, + # aiml_options: { + # natural_language_query_generation_options: { + # desired_state: "ENABLED", # accepts ENABLED, DISABLED + # }, + # }, # }) # # @example Response structure @@ -1081,6 +1089,8 @@ def cancel_service_software_update(params = {}, options = {}) # resp.domain_status.modifying_properties[0].active_value #=> String # resp.domain_status.modifying_properties[0].pending_value #=> String # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON" + # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED" + # resp.domain_status.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED" # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain AWS API Documentation # @@ -1446,6 +1456,8 @@ def delete_data_source(params = {}, options = {}) # resp.domain_status.modifying_properties[0].active_value #=> String # resp.domain_status.modifying_properties[0].pending_value #=> String # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON" + # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED" + # resp.domain_status.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED" # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain AWS API Documentation # @@ -1744,6 +1756,8 @@ def delete_vpc_endpoint(params = {}, options = {}) # resp.domain_status.modifying_properties[0].active_value #=> String # resp.domain_status.modifying_properties[0].pending_value #=> String # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON" + # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED" + # resp.domain_status.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED" # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain AWS API Documentation # @@ -2050,6 +2064,13 @@ def describe_domain_change_progress(params = {}, options = {}) # resp.domain_config.modifying_properties[0].active_value #=> String # resp.domain_config.modifying_properties[0].pending_value #=> String # resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON" + # resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED" + # resp.domain_config.aiml_options.options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED" + # resp.domain_config.aiml_options.status.creation_date #=> Time + # resp.domain_config.aiml_options.status.update_date #=> Time + # resp.domain_config.aiml_options.status.update_version #=> Integer + # resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active" + # resp.domain_config.aiml_options.status.pending_deletion #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig AWS API Documentation # @@ -2277,6 +2298,8 @@ def describe_domain_nodes(params = {}, options = {}) # resp.domain_status_list[0].modifying_properties[0].active_value #=> String # resp.domain_status_list[0].modifying_properties[0].pending_value #=> String # resp.domain_status_list[0].modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON" + # resp.domain_status_list[0].aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED" + # resp.domain_status_list[0].aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED" # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains AWS API Documentation # @@ -2427,6 +2450,8 @@ def describe_domains(params = {}, options = {}) # resp.dry_run_config.modifying_properties[0].active_value #=> String # resp.dry_run_config.modifying_properties[0].pending_value #=> String # resp.dry_run_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON" + # resp.dry_run_config.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED" + # resp.dry_run_config.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED" # resp.dry_run_results.deployment_type #=> String # resp.dry_run_results.message #=> String # @@ -4170,6 +4195,9 @@ def update_data_source(params = {}, options = {}) # @option params [Types::SoftwareUpdateOptions] :software_update_options # Service software update options for the domain. # + # @option params [Types::AIMLOptionsInput] :aiml_options + # Options for all machine learning features for the specified domain. + # # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig @@ -4300,6 +4328,11 @@ def update_data_source(params = {}, options = {}) # software_update_options: { # auto_software_update_enabled: false, # }, + # aiml_options: { + # natural_language_query_generation_options: { + # desired_state: "ENABLED", # accepts ENABLED, DISABLED + # }, + # }, # }) # # @example Response structure @@ -4472,6 +4505,13 @@ def update_data_source(params = {}, options = {}) # resp.domain_config.modifying_properties[0].active_value #=> String # resp.domain_config.modifying_properties[0].pending_value #=> String # resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON" + # resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED" + # resp.domain_config.aiml_options.options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED" + # resp.domain_config.aiml_options.status.creation_date #=> Time + # resp.domain_config.aiml_options.status.update_date #=> Time + # resp.domain_config.aiml_options.status.update_version #=> Integer + # resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active" + # resp.domain_config.aiml_options.status.pending_deletion #=> Boolean # resp.dry_run_results.deployment_type #=> String # resp.dry_run_results.message #=> String # resp.dry_run_progress_status.dry_run_id #=> String @@ -4765,7 +4805,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-opensearchservice' - context[:gem_version] = '1.46.0' + context[:gem_version] = '1.47.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb index 73c2a7b5ad0..dc5e1bd820e 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client_api.rb @@ -13,6 +13,9 @@ module ClientApi include Seahorse::Model + AIMLOptionsInput = Shapes::StructureShape.new(name: 'AIMLOptionsInput') + AIMLOptionsOutput = Shapes::StructureShape.new(name: 'AIMLOptionsOutput') + AIMLOptionsStatus = Shapes::StructureShape.new(name: 'AIMLOptionsStatus') ARN = Shapes::StringShape.new(name: 'ARN') AWSAccount = Shapes::StringShape.new(name: 'AWSAccount') AWSDomainInformation = Shapes::StructureShape.new(name: 'AWSDomainInformation') @@ -294,6 +297,10 @@ module ClientApi MinimumInstanceCount = Shapes::IntegerShape.new(name: 'MinimumInstanceCount') ModifyingProperties = Shapes::StructureShape.new(name: 'ModifyingProperties') ModifyingPropertiesList = Shapes::ListShape.new(name: 'ModifyingPropertiesList') + NaturalLanguageQueryGenerationCurrentState = Shapes::StringShape.new(name: 'NaturalLanguageQueryGenerationCurrentState') + NaturalLanguageQueryGenerationDesiredState = Shapes::StringShape.new(name: 'NaturalLanguageQueryGenerationDesiredState') + NaturalLanguageQueryGenerationOptionsInput = Shapes::StructureShape.new(name: 'NaturalLanguageQueryGenerationOptionsInput') + NaturalLanguageQueryGenerationOptionsOutput = Shapes::StructureShape.new(name: 'NaturalLanguageQueryGenerationOptionsOutput') NextToken = Shapes::StringShape.new(name: 'NextToken') NodeId = Shapes::StringShape.new(name: 'NodeId') NodeStatus = Shapes::StringShape.new(name: 'NodeStatus') @@ -459,6 +466,16 @@ module ClientApi ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig') ZoneStatus = Shapes::StringShape.new(name: 'ZoneStatus') + AIMLOptionsInput.add_member(:natural_language_query_generation_options, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationOptionsInput, location_name: "NaturalLanguageQueryGenerationOptions")) + AIMLOptionsInput.struct_class = Types::AIMLOptionsInput + + AIMLOptionsOutput.add_member(:natural_language_query_generation_options, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationOptionsOutput, location_name: "NaturalLanguageQueryGenerationOptions")) + AIMLOptionsOutput.struct_class = Types::AIMLOptionsOutput + + AIMLOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AIMLOptionsOutput, location_name: "Options")) + AIMLOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status")) + AIMLOptionsStatus.struct_class = Types::AIMLOptionsStatus + AWSDomainInformation.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId")) AWSDomainInformation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) AWSDomainInformation.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region")) @@ -713,6 +730,7 @@ module ClientApi CreateDomainRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsInput, location_name: "AutoTuneOptions")) CreateDomainRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions")) CreateDomainRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions")) + CreateDomainRequest.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsInput, location_name: "AIMLOptions")) CreateDomainRequest.struct_class = Types::CreateDomainRequest CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus")) @@ -971,6 +989,7 @@ module ClientApi DomainConfig.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptionsStatus, location_name: "OffPeakWindowOptions")) DomainConfig.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptionsStatus, location_name: "SoftwareUpdateOptions")) DomainConfig.add_member(:modifying_properties, Shapes::ShapeRef.new(shape: ModifyingPropertiesList, location_name: "ModifyingProperties")) + DomainConfig.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsStatus, location_name: "AIMLOptions")) DomainConfig.struct_class = Types::DomainConfig DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS")) @@ -1064,6 +1083,7 @@ module ClientApi DomainStatus.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions")) DomainStatus.add_member(:domain_processing_status, Shapes::ShapeRef.new(shape: DomainProcessingStatusType, location_name: "DomainProcessingStatus")) DomainStatus.add_member(:modifying_properties, Shapes::ShapeRef.new(shape: ModifyingPropertiesList, location_name: "ModifyingProperties")) + DomainStatus.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsOutput, location_name: "AIMLOptions")) DomainStatus.struct_class = Types::DomainStatus DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus) @@ -1370,6 +1390,13 @@ module ClientApi ModifyingPropertiesList.member = Shapes::ShapeRef.new(shape: ModifyingProperties) + NaturalLanguageQueryGenerationOptionsInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationDesiredState, location_name: "DesiredState")) + NaturalLanguageQueryGenerationOptionsInput.struct_class = Types::NaturalLanguageQueryGenerationOptionsInput + + NaturalLanguageQueryGenerationOptionsOutput.add_member(:desired_state, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationDesiredState, location_name: "DesiredState")) + NaturalLanguageQueryGenerationOptionsOutput.add_member(:current_state, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationCurrentState, location_name: "CurrentState")) + NaturalLanguageQueryGenerationOptionsOutput.struct_class = Types::NaturalLanguageQueryGenerationOptionsOutput + NodeToNodeEncryptionOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled")) NodeToNodeEncryptionOptions.struct_class = Types::NodeToNodeEncryptionOptions @@ -1646,6 +1673,7 @@ module ClientApi UpdateDomainConfigRequest.add_member(:dry_run_mode, Shapes::ShapeRef.new(shape: DryRunMode, location_name: "DryRunMode")) UpdateDomainConfigRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions")) UpdateDomainConfigRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions")) + UpdateDomainConfigRequest.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsInput, location_name: "AIMLOptions")) UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig")) diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb index 6b64f1b8732..6743c5fb147 100644 --- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb +++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb @@ -10,6 +10,57 @@ module Aws::OpenSearchService module Types + # Container for parameters required to enable all machine learning + # features. + # + # @!attribute [rw] natural_language_query_generation_options + # Container for parameters required for natural language query + # generation on the specified domain. + # @return [Types::NaturalLanguageQueryGenerationOptionsInput] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AIMLOptionsInput AWS API Documentation + # + class AIMLOptionsInput < Struct.new( + :natural_language_query_generation_options) + SENSITIVE = [] + include Aws::Structure + end + + # Container for parameters representing the state of machine learning + # features on the specified domain. + # + # @!attribute [rw] natural_language_query_generation_options + # Container for parameters required for natural language query + # generation on the specified domain. + # @return [Types::NaturalLanguageQueryGenerationOptionsOutput] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AIMLOptionsOutput AWS API Documentation + # + class AIMLOptionsOutput < Struct.new( + :natural_language_query_generation_options) + SENSITIVE = [] + include Aws::Structure + end + + # The status of machine learning options on the specified domain. + # + # @!attribute [rw] options + # Machine learning options on the specified domain. + # @return [Types::AIMLOptionsOutput] + # + # @!attribute [rw] status + # Provides the current status of an entity. + # @return [Types::OptionStatus] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AIMLOptionsStatus AWS API Documentation + # + class AIMLOptionsStatus < Struct.new( + :options, + :status) + SENSITIVE = [] + include Aws::Structure + end + # Information about an Amazon OpenSearch Service domain. # # @!attribute [rw] owner_id @@ -1394,6 +1445,10 @@ class ConnectionProperties < Struct.new( # Software update options for the domain. # @return [Types::SoftwareUpdateOptions] # + # @!attribute [rw] aiml_options + # Options for all machine learning features for the specified domain. + # @return [Types::AIMLOptionsInput] + # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomainRequest AWS API Documentation # class CreateDomainRequest < Struct.new( @@ -1415,7 +1470,8 @@ class CreateDomainRequest < Struct.new( :tag_list, :auto_tune_options, :off_peak_window_options, - :software_update_options) + :software_update_options, + :aiml_options) SENSITIVE = [] include Aws::Structure end @@ -2715,6 +2771,11 @@ class DissociatePackageResponse < Struct.new( # modified. # @return [Array] # + # @!attribute [rw] aiml_options + # Container for parameters required to enable all machine learning + # features. + # @return [Types::AIMLOptionsStatus] + # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainConfig AWS API Documentation # class DomainConfig < Struct.new( @@ -2736,7 +2797,8 @@ class DomainConfig < Struct.new( :change_progress_details, :off_peak_window_options, :software_update_options, - :modifying_properties) + :modifying_properties, + :aiml_options) SENSITIVE = [] include Aws::Structure end @@ -3167,6 +3229,11 @@ class DomainPackageDetails < Struct.new( # modified. # @return [Array] # + # @!attribute [rw] aiml_options + # Container for parameters required to enable all machine learning + # features. + # @return [Types::AIMLOptionsOutput] + # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainStatus AWS API Documentation # class DomainStatus < Struct.new( @@ -3201,7 +3268,8 @@ class DomainStatus < Struct.new( :off_peak_window_options, :software_update_options, :domain_processing_status, - :modifying_properties) + :modifying_properties, + :aiml_options) SENSITIVE = [] include Aws::Structure end @@ -4696,6 +4764,44 @@ class ModifyingProperties < Struct.new( include Aws::Structure end + # Container for parameters required to enable the natural language query + # generation feature. + # + # @!attribute [rw] desired_state + # The desired state of the natural language query generation feature. + # Valid values are ENABLED and DISABLED. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/NaturalLanguageQueryGenerationOptionsInput AWS API Documentation + # + class NaturalLanguageQueryGenerationOptionsInput < Struct.new( + :desired_state) + SENSITIVE = [] + include Aws::Structure + end + + # Container for parameters representing the state of the natural + # language query generation feature on the specified domain. + # + # @!attribute [rw] desired_state + # The desired state of the natural language query generation feature. + # Valid values are ENABLED and DISABLED. + # @return [String] + # + # @!attribute [rw] current_state + # The current state of the natural language query generation feature, + # indicating completion, in progress, or failure. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/NaturalLanguageQueryGenerationOptionsOutput AWS API Documentation + # + class NaturalLanguageQueryGenerationOptionsOutput < Struct.new( + :desired_state, + :current_state) + SENSITIVE = [] + include Aws::Structure + end + # Enables or disables node-to-node encryption. For more information, see # [Node-to-node encryption for Amazon OpenSearch Service][1]. # @@ -6115,6 +6221,10 @@ class UpdateDataSourceResponse < Struct.new( # Service software update options for the domain. # @return [Types::SoftwareUpdateOptions] # + # @!attribute [rw] aiml_options + # Options for all machine learning features for the specified domain. + # @return [Types::AIMLOptionsInput] + # # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigRequest AWS API Documentation # class UpdateDomainConfigRequest < Struct.new( @@ -6136,7 +6246,8 @@ class UpdateDomainConfigRequest < Struct.new( :dry_run, :dry_run_mode, :off_peak_window_options, - :software_update_options) + :software_update_options, + :aiml_options) SENSITIVE = [] include Aws::Structure end diff --git a/gems/aws-sdk-opensearchservice/sig/client.rbs b/gems/aws-sdk-opensearchservice/sig/client.rbs index d7c6943cd12..60d34caa955 100644 --- a/gems/aws-sdk-opensearchservice/sig/client.rbs +++ b/gems/aws-sdk-opensearchservice/sig/client.rbs @@ -282,6 +282,11 @@ module Aws }, ?software_update_options: { auto_software_update_enabled: bool? + }, + ?aiml_options: { + natural_language_query_generation_options: { + desired_state: ("ENABLED" | "DISABLED")? + }? } ) -> _CreateDomainResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess @@ -1061,6 +1066,11 @@ module Aws }, ?software_update_options: { auto_software_update_enabled: bool? + }, + ?aiml_options: { + natural_language_query_generation_options: { + desired_state: ("ENABLED" | "DISABLED")? + }? } ) -> _UpdateDomainConfigResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigResponseSuccess diff --git a/gems/aws-sdk-opensearchservice/sig/types.rbs b/gems/aws-sdk-opensearchservice/sig/types.rbs index 50fb9a0e66a..715d2d6a5c2 100644 --- a/gems/aws-sdk-opensearchservice/sig/types.rbs +++ b/gems/aws-sdk-opensearchservice/sig/types.rbs @@ -8,6 +8,22 @@ module Aws::OpenSearchService module Types + class AIMLOptionsInput + attr_accessor natural_language_query_generation_options: Types::NaturalLanguageQueryGenerationOptionsInput + SENSITIVE: [] + end + + class AIMLOptionsOutput + attr_accessor natural_language_query_generation_options: Types::NaturalLanguageQueryGenerationOptionsOutput + SENSITIVE: [] + end + + class AIMLOptionsStatus + attr_accessor options: Types::AIMLOptionsOutput + attr_accessor status: Types::OptionStatus + SENSITIVE: [] + end + class AWSDomainInformation attr_accessor owner_id: ::String attr_accessor domain_name: ::String @@ -328,6 +344,7 @@ module Aws::OpenSearchService attr_accessor auto_tune_options: Types::AutoTuneOptionsInput attr_accessor off_peak_window_options: Types::OffPeakWindowOptions attr_accessor software_update_options: Types::SoftwareUpdateOptions + attr_accessor aiml_options: Types::AIMLOptionsInput SENSITIVE: [] end @@ -697,6 +714,7 @@ module Aws::OpenSearchService attr_accessor off_peak_window_options: Types::OffPeakWindowOptionsStatus attr_accessor software_update_options: Types::SoftwareUpdateOptionsStatus attr_accessor modifying_properties: ::Array[Types::ModifyingProperties] + attr_accessor aiml_options: Types::AIMLOptionsStatus SENSITIVE: [] end @@ -796,6 +814,7 @@ module Aws::OpenSearchService attr_accessor software_update_options: Types::SoftwareUpdateOptions attr_accessor domain_processing_status: ("Creating" | "Active" | "Modifying" | "UpgradingEngineVersion" | "UpdatingServiceSoftware" | "Isolated" | "Deleting") attr_accessor modifying_properties: ::Array[Types::ModifyingProperties] + attr_accessor aiml_options: Types::AIMLOptionsOutput SENSITIVE: [] end @@ -1196,6 +1215,17 @@ module Aws::OpenSearchService SENSITIVE: [] end + class NaturalLanguageQueryGenerationOptionsInput + attr_accessor desired_state: ("ENABLED" | "DISABLED") + SENSITIVE: [] + end + + class NaturalLanguageQueryGenerationOptionsOutput + attr_accessor desired_state: ("ENABLED" | "DISABLED") + attr_accessor current_state: ("NOT_ENABLED" | "ENABLE_COMPLETE" | "ENABLE_IN_PROGRESS" | "ENABLE_FAILED" | "DISABLE_COMPLETE" | "DISABLE_IN_PROGRESS" | "DISABLE_FAILED") + SENSITIVE: [] + end + class NodeToNodeEncryptionOptions attr_accessor enabled: bool SENSITIVE: [] @@ -1536,6 +1566,7 @@ module Aws::OpenSearchService attr_accessor dry_run_mode: ("Basic" | "Verbose") attr_accessor off_peak_window_options: Types::OffPeakWindowOptions attr_accessor software_update_options: Types::SoftwareUpdateOptions + attr_accessor aiml_options: Types::AIMLOptionsInput SENSITIVE: [] end