From 3bca927c05bb7bab54d2152ddca749447fd94e25 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 11 Jan 2022 11:55:46 -0800 Subject: [PATCH] Release v1.42.32 (2022-01-11) (#4237) Release v1.42.32 (2022-01-11) === ### Service Client Updates * `service/ce`: Updates service documentation * `service/ec2`: Updates service API * EC2 Capacity Reservations now supports RHEL instance platforms (RHEL with SQL Server Standard, RHEL with SQL Server Enterprise, RHEL with SQL Server Web, RHEL with HA, RHEL with HA and SQL Server Standard, RHEL with HA and SQL Server Enterprise) * `service/finspace-data`: Updates service documentation * `service/iotevents-data`: Updates service documentation * `service/kendra`: Updates service API, documentation, and paginators * Amazon Kendra now supports advanced query language and query-less search. * `service/rds`: Updates service API, documentation, waiters, paginators, and examples * This release adds the db-proxy event type to support subscribing to RDS Proxy events. * `service/workspaces`: Updates service API and documentation * Introducing new APIs for Workspaces audio optimization with Amazon Connect: CreateConnectClientAddIn, DescribeConnectClientAddIns, UpdateConnectClientAddIn and DeleteConnectClientAddIn. --- CHANGELOG.md | 16 + aws/version.go | 2 +- models/apis/ce/2017-10-25/docs-2.json | 26 +- models/apis/ec2/2016-11-15/api-2.json | 8 +- .../apis/finspace-data/2020-07-13/docs-2.json | 34 +- .../iotevents-data/2018-10-23/docs-2.json | 6 +- models/apis/kendra/2019-02-03/api-2.json | 34 +- models/apis/kendra/2019-02-03/docs-2.json | 34 +- .../apis/kendra/2019-02-03/paginators-1.json | 5 + models/apis/rds/2014-10-31/api-2.json | 3 +- models/apis/rds/2014-10-31/docs-2.json | 28 +- models/apis/workspaces/2015-04-08/api-2.json | 158 ++++ models/apis/workspaces/2015-04-08/docs-2.json | 89 ++ service/costexplorer/api.go | 46 +- service/ec2/api.go | 24 + service/finspacedata/api.go | 134 ++- service/ioteventsdata/api.go | 13 +- service/ioteventsdata/doc.go | 12 +- service/kendra/api.go | 150 ++- service/kendra/kendraiface/interface.go | 3 + service/rds/api.go | 88 +- service/workspaces/api.go | 857 +++++++++++++++++- .../workspaces/workspacesiface/interface.go | 16 + 23 files changed, 1631 insertions(+), 155 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff9ed68e5e1..47bc4d47728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +Release v1.42.32 (2022-01-11) +=== + +### Service Client Updates +* `service/ce`: Updates service documentation +* `service/ec2`: Updates service API + * EC2 Capacity Reservations now supports RHEL instance platforms (RHEL with SQL Server Standard, RHEL with SQL Server Enterprise, RHEL with SQL Server Web, RHEL with HA, RHEL with HA and SQL Server Standard, RHEL with HA and SQL Server Enterprise) +* `service/finspace-data`: Updates service documentation +* `service/iotevents-data`: Updates service documentation +* `service/kendra`: Updates service API, documentation, and paginators + * Amazon Kendra now supports advanced query language and query-less search. +* `service/rds`: Updates service API, documentation, waiters, paginators, and examples + * This release adds the db-proxy event type to support subscribing to RDS Proxy events. +* `service/workspaces`: Updates service API and documentation + * Introducing new APIs for Workspaces audio optimization with Amazon Connect: CreateConnectClientAddIn, DescribeConnectClientAddIns, UpdateConnectClientAddIn and DeleteConnectClientAddIn. + Release v1.42.31 (2022-01-10) === diff --git a/aws/version.go b/aws/version.go index 41187c4aa49..5530cb8ffcf 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.42.31" +const SDKVersion = "1.42.32" diff --git a/models/apis/ce/2017-10-25/docs-2.json b/models/apis/ce/2017-10-25/docs-2.json index 7c03040c9c5..fe927c0d536 100644 --- a/models/apis/ce/2017-10-25/docs-2.json +++ b/models/apis/ce/2017-10-25/docs-2.json @@ -21,10 +21,10 @@ "GetReservationPurchaseRecommendation": "

Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.

Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage into categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings.

For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services recommends the smallest size instance in an instance family. This makes it easier to purchase a size-flexible RI. Amazon Web Services also shows the equal number of normalized units so that you can purchase any instance size that you want. For this example, your RI recommendation would be for c4.large because that is the smallest size instance in the c4 instance family.

", "GetReservationUtilization": "

Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID.

", "GetRightsizingRecommendation": "

Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances.

Recommendations are generated to either downsize or terminate instances, along with providing savings detail and metrics. For details on calculation and function, see Optimizing Your Cost with Rightsizing Recommendations in the Billing and Cost Management User Guide.

", - "GetSavingsPlansCoverage": "

Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions:

To determine valid values for a dimension, use the GetDimensionValues operation.

", + "GetSavingsPlansCoverage": "

Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions:

GetSavingsPlansCoverage doesn't support filtering by tags. GetSavingsPlansCoverage also doesn't support the OR operator between filter dimensions. For the full request syntax with supported parameters, see Examples.

To determine valid values for a dimension, use the GetDimensionValues operation.

", "GetSavingsPlansPurchaseRecommendation": "

Retrieves your request parameters, Savings Plan Recommendations Summary and Details.

", - "GetSavingsPlansUtilization": "

Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

You cannot group by any dimension values for GetSavingsPlansUtilization.

", - "GetSavingsPlansUtilizationDetails": "

Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn.

", + "GetSavingsPlansUtilization": "

Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

You cannot group by any dimension values for GetSavingsPlansUtilization.

GetSavingsPlansUtilization doesn't support filtering by tags. GetSavingsPlansUtilization also doesn't support the OR operator between filter dimensions. For the full request syntax with supported parameters, see Examples.

", + "GetSavingsPlansUtilizationDetails": "

Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values.

GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn.

GetSavingsPlansUtilizationDetails doesn't support filtering by tags. GetSavingsPlansUtilizationDetails also doesn't support the OR operator between filter dimensions. For the full request syntax with supported parameters, see Examples.

", "GetTags": "

Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string.

", "GetUsageForecast": "

Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage.

", "ListCostCategoryDefinitions": "

Returns the name, ARN, NumberOfRules and effective dates of all Cost Categories defined in the account. You have the option to use EffectiveOn to return a list of Cost Categories that were active on a specific date. If there is no EffectiveOn specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. ListCostCategoryDefinitions supports pagination. The request can have a MaxResults range up to 100.

", @@ -506,7 +506,7 @@ "base": null, "refs": { "DimensionValues$Key": "

The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones.

", - "GetDimensionValuesRequest$Dimension": "

The name of the dimension. Each Dimension is available for a different Context. For more information, see Context.

" + "GetDimensionValuesRequest$Dimension": "

The name of the dimension. Each Dimension is available for a different Context. For more information, see Context.

" } }, "DimensionValues": { @@ -566,9 +566,9 @@ } }, "ESInstanceDetails": { - "base": "

Details about the Amazon ES instances that Amazon Web Services recommends that you purchase.

", + "base": "

Details about the Amazon OpenSearch Service instances that Amazon Web Services recommends that you purchase.

", "refs": { - "InstanceDetails$ESInstanceDetails": "

The Amazon ES instances that Amazon Web Services recommends that you purchase.

" + "InstanceDetails$ESInstanceDetails": "

The Amazon OpenSearch Service instances that Amazon Web Services recommends that you purchase.

" } }, "ElastiCacheInstanceDetails": { @@ -611,19 +611,19 @@ "CostCategoryRule$Rule": "

An Expression object used to categorize costs. This supports dimensions, tags, and nested expressions. Currently the only dimensions supported are LINKED_ACCOUNT, SERVICE_CODE, RECORD_TYPE, and LINKED_ACCOUNT_NAME.

Root level OR isn't supported. We recommend that you create a separate rule instead.

RECORD_TYPE is a dimension used for Cost Explorer APIs, and is also supported for Cost Category expressions. This dimension uses different terms, depending on whether you're using the console or API/JSON editor. For a detailed comparison, see Term Comparisons in the Billing and Cost Management User Guide.

", "Expression$Not": "

Return results that don't match a Dimension object.

", "Expressions$member": null, - "GetCostAndUsageRequest$Filter": "

Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression.

", - "GetCostAndUsageWithResourcesRequest$Filter": "

Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression.

The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId. It requires the Expression \"SERVICE = Amazon Elastic Compute Cloud - Compute\" in the filter.

", + "GetCostAndUsageRequest$Filter": "

Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression.

The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE.

Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, and CASE_SENSITIVE.

", + "GetCostAndUsageWithResourcesRequest$Filter": "

Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression.

The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId. It requires the Expression \"SERVICE = Amazon Elastic Compute Cloud - Compute\" in the filter.

The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE.

Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, and CASE_SENSITIVE.

", "GetCostCategoriesRequest$Filter": null, "GetCostForecastRequest$Filter": "

The filters that you want to use to filter your forecast. The GetCostForecast API supports filtering by the following dimensions:

", "GetDimensionValuesRequest$Filter": null, - "GetReservationCoverageRequest$Filter": "

Filters utilization data by dimensions. You can filter by the following dimensions:

GetReservationCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. You can nest only one level deep. If there are multiple values for a dimension, they are OR'd together.

If you don't provide a SERVICE filter, Cost Explorer defaults to EC2.

Cost category is also supported.

", + "GetReservationCoverageRequest$Filter": "

Filters utilization data by dimensions. You can filter by the following dimensions:

GetReservationCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. You can nest only one level deep.

If you don't provide a SERVICE filter, Cost Explorer defaults to EC2.

Cost category is also supported.

", "GetReservationPurchaseRecommendationRequest$Filter": null, - "GetReservationUtilizationRequest$Filter": "

Filters utilization data by dimensions. You can filter by the following dimensions:

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

", + "GetReservationUtilizationRequest$Filter": "

Filters utilization data by dimensions. You can filter by the following dimensions:

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep.

", "GetRightsizingRecommendationRequest$Filter": null, - "GetSavingsPlansCoverageRequest$Filter": "

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

", + "GetSavingsPlansCoverageRequest$Filter": "

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension.

Cost category is supported. Tags are not supported.

", "GetSavingsPlansPurchaseRecommendationRequest$Filter": "

You can filter your recommendations by Account ID with the LINKED_ACCOUNT dimension. To filter your recommendations by Account ID, specify Key as LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) for which you want to see Savings Plans purchase recommendations.

For GetSavingsPlansPurchaseRecommendation, the Filter does not include CostCategories or Tags. It only includes Dimensions. With Dimensions, Key must be LINKED_ACCOUNT and Value can be a single Account ID or multiple comma-separated Account IDs for which you want to see Savings Plans Purchase Recommendations. AND and OR operators are not supported.

", - "GetSavingsPlansUtilizationDetailsRequest$Filter": "

Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:

GetSavingsPlansUtilizationDetails uses the same Expression object as the other operations, but only AND is supported among each dimension.

", - "GetSavingsPlansUtilizationRequest$Filter": "

Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:

GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension.

", + "GetSavingsPlansUtilizationDetailsRequest$Filter": "

Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:

GetSavingsPlansUtilizationDetails uses the same Expression object as the other operations, but only AND is supported among each dimension.

Filtering by tags isn't supported.

", + "GetSavingsPlansUtilizationRequest$Filter": "

Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:

GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension.

Filtering by tags isn't supported.

", "GetTagsRequest$Filter": null, "GetUsageForecastRequest$Filter": "

The filters that you want to use to filter your forecast. The GetUsageForecast API supports filtering by the following dimensions:

" } diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index c5f577eb2b6..62315e3360b 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -7434,7 +7434,13 @@ "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", - "Linux with SQL Server Enterprise" + "Linux with SQL Server Enterprise", + "RHEL with SQL Server Standard", + "RHEL with SQL Server Enterprise", + "RHEL with SQL Server Web", + "RHEL with HA", + "RHEL with HA and SQL Server Standard", + "RHEL with HA and SQL Server Enterprise" ] }, "CapacityReservationOptions":{ diff --git a/models/apis/finspace-data/2020-07-13/docs-2.json b/models/apis/finspace-data/2020-07-13/docs-2.json index d6f8a8696c7..efd0be4fa94 100644 --- a/models/apis/finspace-data/2020-07-13/docs-2.json +++ b/models/apis/finspace-data/2020-07-13/docs-2.json @@ -92,12 +92,12 @@ "ClientToken": { "base": "Idempotence Token for API operations", "refs": { - "CreateChangesetRequest$clientToken": "

A token used to ensure idempotency.

", - "CreateDataViewRequest$clientToken": "

A token used to ensure idempotency.

", - "CreateDatasetRequest$clientToken": "

A token used to ensure idempotency.

", - "DeleteDatasetRequest$clientToken": "

A token used to ensure idempotency.

", - "UpdateChangesetRequest$clientToken": "

A token used to ensure idempotency.

", - "UpdateDatasetRequest$clientToken": "

A token used to ensure idempotency.

" + "CreateChangesetRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "CreateDataViewRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "CreateDatasetRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "DeleteDatasetRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "UpdateChangesetRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

", + "UpdateDatasetRequest$clientToken": "

A token that ensures idempotency. This token expires in 10 minutes.

" } }, "ColumnDataType": { @@ -188,7 +188,7 @@ "DataViewDestinationType": { "base": "DataView Destination Type", "refs": { - "DataViewDestinationTypeParams$destinationType": "

Destination type for a Dataview.

" + "DataViewDestinationTypeParams$destinationType": "

Destination type for a Dataview.

" } }, "DataViewDestinationTypeParams": { @@ -352,16 +352,16 @@ "ExportFileFormat": { "base": "Data View Export File Format", "refs": { - "DataViewDestinationTypeParams$s3DestinationExportFileFormat": null + "DataViewDestinationTypeParams$s3DestinationExportFileFormat": "

Data view export file format.

" } }, "FormatParams": { "base": "Format Parameters of a Changeset", "refs": { "ChangesetSummary$formatParams": "

Options that define the structure of the source file(s).

", - "CreateChangesetRequest$formatParams": "

Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression).

formatType is a required attribute and can have the following values:

For example, you could specify the following for formatParams: \"formatParams\": { \"formatType\": \"CSV\", \"withHeader\": \"true\", \"separator\": \",\", \"compression\":\"None\" }

", + "CreateChangesetRequest$formatParams": "

Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression).

formatType is a required attribute and can have the following values:

Here is an example of how you could specify the formatParams:

\"formatParams\": { \"formatType\": \"CSV\", \"withHeader\": \"true\", \"separator\": \",\", \"compression\":\"None\" }

Note that if you only provide formatType as CSV, the rest of the attributes will automatically default to CSV values as following:

{ \"withHeader\": \"true\", \"separator\": \",\" }

For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.

", "GetChangesetResponse$formatParams": "

Structure of the source file(s).

", - "UpdateChangesetRequest$formatParams": "

Options that define the structure of the source file(s).

" + "UpdateChangesetRequest$formatParams": "

Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression).

formatType is a required attribute and can have the following values:

Here is an example of how you could specify the formatParams:

\"formatParams\": { \"formatType\": \"CSV\", \"withHeader\": \"true\", \"separator\": \",\", \"compression\":\"None\" }

Note that if you only provide formatType as CSV, the rest of the attributes will automatically default to CSV values as following:

{ \"withHeader\": \"true\", \"separator\": \",\" }

For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide.

" } }, "GetChangesetRequest": { @@ -499,7 +499,7 @@ } }, "PermissionGroupParams": { - "base": "

Permission group parameters for Dataset permissions.

", + "base": "

Permission group parameters for Dataset permissions.

Here is an example of how you could specify the PermissionGroupParams:

{ \"permissionGroupId\": \"0r6fCRtSTUk4XPfXQe3M0g\", \"datasetPermissions\": [ {\"permission\": \"ViewDatasetDetails\"}, {\"permission\": \"AddDatasetData\"}, {\"permission\": \"EditDatasetMetadata\"}, {\"permission\": \"DeleteDataset\"} ] }

", "refs": { "CreateDatasetRequest$permissionGroupParams": "

Permission group parameters for Dataset permissions.

" } @@ -516,7 +516,7 @@ } }, "ResourcePermission": { - "base": "

Resource permission for a Dataset.

", + "base": "

Resource permission for a dataset. When you create a dataset, all the other members of the same user group inherit access to the dataset. You can only create a dataset if your user group has application permission for Create Datasets.

The following is a list of valid dataset permissions that you can apply:

For more information on the ataset permissions, see Supported Dataset Permissions in the FinSpace User Guide.

", "refs": { "ResourcePermissionsList$member": null } @@ -538,7 +538,7 @@ "S3DestinationFormatOptions": { "base": null, "refs": { - "DataViewDestinationTypeParams$s3DestinationExportFileFormatOptions": null + "DataViewDestinationTypeParams$s3DestinationExportFileFormatOptions": "

Format Options for S3 Destination type.

Here is an example of how you could specify the s3DestinationExportFileFormatOptions

{ \"header\": \"true\", \"delimiter\": \",\", \"compression\": \"gzip\" }

" } }, "SchemaDefinition": { @@ -575,9 +575,9 @@ "base": "Source Parameters of a Changeset", "refs": { "ChangesetSummary$sourceParams": "

Options that define the location of the data being ingested.

", - "CreateChangesetRequest$sourceParams": "

Options that define the location of the data being ingested.

", + "CreateChangesetRequest$sourceParams": "

Options that define the location of the data being ingested (s3SourcePath) and the source of the changeset (sourceType).

Both s3SourcePath and sourceType are required attributes.

Here is an example of how you could specify the sourceParams:

\"sourceParams\": { \"s3SourcePath\": \"s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv\", \"sourceType\": \"S3\" }

The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see Loading data from an Amazon S3 Bucket using the FinSpace APIsection.

", "GetChangesetResponse$sourceParams": "

Options that define the location of the data being ingested.

", - "UpdateChangesetRequest$sourceParams": "

Options that define the location of the data being ingested.

" + "UpdateChangesetRequest$sourceParams": "

Options that define the location of the data being ingested (s3SourcePath) and the source of the changeset (sourceType).

Both s3SourcePath and sourceType are required attributes.

Here is an example of how you could specify the sourceParams:

\"sourceParams\": { \"s3SourcePath\": \"s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv\", \"sourceType\": \"S3\" }

The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see Loading data from an Amazon S3 Bucket using the FinSpace APIsection.

" } }, "StringMapKey": { @@ -620,7 +620,7 @@ "refs": { "ChangesetSummary$createTime": "

The timestamp at which the Changeset was created in FinSpace. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "ChangesetSummary$activeUntilTimestamp": "

Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", - "ChangesetSummary$activeFromTimestamp": null, + "ChangesetSummary$activeFromTimestamp": "

Beginning time from which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "CreateDataViewRequest$asOfTimestamp": "

Beginning time to use for the Dataview. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "DataViewSummary$asOfTimestamp": "

Time range to use for the Dataview. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "DataViewSummary$createTime": "

The timestamp at which the Dataview was created in FinSpace. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", @@ -629,7 +629,7 @@ "Dataset$lastModifiedTime": "

The last time that the Dataset was modified. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetChangesetResponse$createTime": "

The timestamp at which the Changeset was created in FinSpace. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetChangesetResponse$activeUntilTimestamp": "

Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", - "GetChangesetResponse$activeFromTimestamp": null, + "GetChangesetResponse$activeFromTimestamp": "

Beginning time from which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetDataViewResponse$asOfTimestamp": "

Time range to use for the Dataview. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetDataViewResponse$lastModifiedTime": "

The last time that a Dataview was modified. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", "GetDataViewResponse$createTime": "

The timestamp at which the Dataview was created in FinSpace. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

", diff --git a/models/apis/iotevents-data/2018-10-23/docs-2.json b/models/apis/iotevents-data/2018-10-23/docs-2.json index a0af42a4e4f..0ab57819606 100644 --- a/models/apis/iotevents-data/2018-10-23/docs-2.json +++ b/models/apis/iotevents-data/2018-10-23/docs-2.json @@ -1,11 +1,11 @@ { "version": "2.0", - "service": "

AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use AWS IoT Events Data API commands to send inputs to detectors, list detectors, and view or update a detector's status.

For more information, see What is AWS IoT Events? in the AWS IoT Events Developer Guide.

", + "service": "

IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to detectors, list detectors, and view or update a detector's status.

For more information, see What is IoT Events? in the IoT Events Developer Guide.

", "operations": { "BatchAcknowledgeAlarm": "

Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge them.

", "BatchDisableAlarm": "

Disables one or more alarms. The alarms change to the DISABLED state after you disable them.

", "BatchEnableAlarm": "

Enables one or more alarms. The alarms change to the NORMAL state after you enable them.

", - "BatchPutMessage": "

Sends a set of messages to the AWS IoT Events system. Each message payload is transformed into the input you specify (\"inputName\") and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response.

", + "BatchPutMessage": "

Sends a set of messages to the IoT Events system. Each message payload is transformed into the input you specify (\"inputName\") and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response.

", "BatchResetAlarm": "

Resets one or more alarms. The alarms return to the NORMAL state after you reset them.

", "BatchSnoozeAlarm": "

Changes one or more alarms to the snooze mode. The alarms change to the SNOOZE_DISABLED state after you set them to the snooze mode.

", "BatchUpdateDetector": "

Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.

", @@ -629,7 +629,7 @@ "Detector$lastUpdateTime": "

The time the detector (instance) was last updated.

", "DetectorSummary$creationTime": "

The time the detector (instance) was created.

", "DetectorSummary$lastUpdateTime": "

The time the detector (instance) was last updated.

", - "Timer$timestamp": "

The number of seconds which have elapsed on the timer.

" + "Timer$timestamp": "

The expiration time for the timer.

" } }, "TimestampValue": { diff --git a/models/apis/kendra/2019-02-03/api-2.json b/models/apis/kendra/2019-02-03/api-2.json index a36cf6e9115..70383e08326 100644 --- a/models/apis/kendra/2019-02-03/api-2.json +++ b/models/apis/kendra/2019-02-03/api-2.json @@ -3545,10 +3545,7 @@ }, "QueryRequest":{ "type":"structure", - "required":[ - "IndexId", - "QueryText" - ], + "required":["IndexId"], "members":{ "IndexId":{"shape":"IndexId"}, "QueryText":{"shape":"QueryText"}, @@ -3570,7 +3567,8 @@ "QueryId":{"shape":"QueryId"}, "ResultItems":{"shape":"QueryResultItemList"}, "FacetResults":{"shape":"FacetResultList"}, - "TotalNumberOfResults":{"shape":"Integer"} + "TotalNumberOfResults":{"shape":"Integer"}, + "Warnings":{"shape":"WarningList"} } }, "QueryResultItem":{ @@ -3653,8 +3651,7 @@ "QueryText":{ "type":"string", "max":1000, - "min":1, - "pattern":"^\\P{C}*$" + "min":1 }, "ReadAccessType":{ "type":"string", @@ -4611,6 +4608,29 @@ "min":1, "pattern":"[-0-9a-zA-Z]+" }, + "Warning":{ + "type":"structure", + "members":{ + "Message":{"shape":"WarningMessage"}, + "Code":{"shape":"WarningCode"} + } + }, + "WarningCode":{ + "type":"string", + "enum":["QUERY_LANGUAGE_INVALID_SYNTAX"] + }, + "WarningList":{ + "type":"list", + "member":{"shape":"Warning"}, + "max":1, + "min":1 + }, + "WarningMessage":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^\\P{C}*$" + }, "WebCrawlerConfiguration":{ "type":"structure", "required":["Urls"], diff --git a/models/apis/kendra/2019-02-03/docs-2.json b/models/apis/kendra/2019-02-03/docs-2.json index 2e27729543d..1c1ac1e4d07 100644 --- a/models/apis/kendra/2019-02-03/docs-2.json +++ b/models/apis/kendra/2019-02-03/docs-2.json @@ -10,7 +10,7 @@ "ClearQuerySuggestions": "

Clears existing query suggestions from an index.

This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions.

ClearQuerySuggestions is currently not supported in the Amazon Web Services GovCloud (US-West) region.

", "CreateDataSource": "

Creates a data source that you want to use with an Amazon Kendra index.

You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector.

CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.

Amazon S3 and custom data sources are the only supported data sources in the Amazon Web Services GovCloud (US-West) region.

", "CreateExperience": "

Creates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.

", - "CreateFaq": "

Creates an new set of frequently asked question (FAQ) questions and answers.

", + "CreateFaq": "

Creates an new set of frequently asked question (FAQ) questions and answers.

Adding FAQs to an index is an asynchronous operation.

", "CreateIndex": "

Creates a new Amazon Kendra index. Index creation is an asynchronous operation. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use.

Once the index is active you can index your documents using the BatchPutDocument operation or using one of the supported data sources.

", "CreateQuerySuggestionsBlockList": "

Creates a block list to exlcude certain queries from suggestions.

Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion.

You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

CreateQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.

", "CreateThesaurus": "

Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.

", @@ -979,7 +979,7 @@ } }, "DocumentAttribute": { - "base": "

A custom attribute value assigned to a document.

", + "base": "

A custom attribute value assigned to a document.

For more information on how to create custom document attributes, see Custom Attributes.

", "refs": { "AttributeFilter$EqualsTo": "

Performs an equals operation on two document attributes.

", "AttributeFilter$ContainsAll": "

Returns true when a document contains all of the specified document attributes. This filter is only applicable to StringListValue metadata.

", @@ -1575,7 +1575,7 @@ } }, "HookConfiguration": { - "base": "

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Kendra. You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on the original or raw documents. If you want to apply advanced alterations on the Amazon Kendra structured documents, you must configure your Lambda function using PostExtractionHookConfiguration. You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Customizing document metadata during the ingestion process.

", + "base": "

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Kendra. You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on the original or raw documents. If you want to apply advanced alterations on the Amazon Kendra structured documents, you must configure your Lambda function using PostExtractionHookConfiguration. You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Customizing document metadata during the ingestion process.

", "refs": { "CustomDocumentEnrichmentConfiguration$PreExtractionHookConfiguration": "

Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.

", "CustomDocumentEnrichmentConfiguration$PostExtractionHookConfiguration": "

Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.

" @@ -3023,7 +3023,7 @@ "DescribeQuerySuggestionsConfigResponse$LastClearTime": "

Shows the date-time query suggestions for an index was last cleared.

After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions.

", "DescribeThesaurusResponse$CreatedAt": "

The Unix datetime that the thesaurus was created.

", "DescribeThesaurusResponse$UpdatedAt": "

The Unix datetime that the thesaurus was last updated.

", - "DocumentAttributeValue$DateValue": "

A date expressed as an ISO 8601 string.

It is important for the time zone to be included in the ISO 8601 date-time format. For example, 20120325T123010+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

", + "DocumentAttributeValue$DateValue": "

A date expressed as an ISO 8601 string.

It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.

", "ExperiencesSummary$CreatedAt": "

The date-time your Amazon Kendra experience was created.

", "FaqSummary$CreatedAt": "

The UNIX datetime that the FAQ was added to the index.

", "FaqSummary$UpdatedAt": "

The UNIX datetime that the FAQ was last updated.

", @@ -3130,7 +3130,7 @@ } }, "UserGroupResolutionConfiguration": { - "base": "

Provides the configuration information to fetch access levels of groups and users from an Amazon Web Services Single Sign On identity source. This is useful for setting up user context filtering, where Amazon Kendra filters search results for different users based on their group's access to documents. You can also map your users to their groups for user context filtering using the PutPrincipalMapping operation.

To set up an Amazon Web Services SSO identity source in the console to use with Amazon Kendra, see Getting started with an Amazon Web Services SSO identity source. You must also grant the required permissions to use Amazon Web Services SSO with Amazon Kendra. For more information, see IAM roles for Amazon Web Services SSO.

", + "base": "

Provides the configuration information to fetch access levels of groups and users from an Amazon Web Services Single Sign On identity source. This is useful for setting up user context filtering, where Amazon Kendra filters search results for different users based on their group's access to documents. You can also map your users to their groups for user context filtering using the PutPrincipalMapping operation.

To set up an Amazon Web Services SSO identity source in the console to use with Amazon Kendra, see Getting started with an Amazon Web Services SSO identity source. You must also grant the required permissions to use Amazon Web Services SSO with Amazon Kendra. For more information, see IAM roles for Amazon Web Services SSO.

Amazon Kendra currently does not support using UserGroupResolutionConfiguration with an Amazon Web Services organization member account for your Amazon Web Services SSO identify source. You must create your index in the parent account for the organization in order to use UserGroupResolutionConfiguration.

", "refs": { "CreateIndexRequest$UserGroupResolutionConfiguration": "

Enables fetching access levels of groups and users from an Amazon Web Services Single Sign On identity source. To configure this, see UserGroupResolutionConfiguration.

", "DescribeIndexResponse$UserGroupResolutionConfiguration": "

Shows whether you have enabled the configuration for fetching access levels of groups and users from an Amazon Web Services Single Sign On identity source.

", @@ -3204,6 +3204,30 @@ "SecurityGroupIdList$member": null } }, + "Warning": { + "base": "

The warning code and message that explains a problem with a query.

", + "refs": { + "WarningList$member": null + } + }, + "WarningCode": { + "base": null, + "refs": { + "Warning$Code": "

The code used to show the type of warning for the query.

" + } + }, + "WarningList": { + "base": null, + "refs": { + "QueryResult$Warnings": "

A list of warning codes and their messages on problems with your query.

Amazon Kendra currently only supports one type of warning, which is a warning on invalid syntax used in the query. For examples of invalid query syntax, see Searching with advanced query syntax.

" + } + }, + "WarningMessage": { + "base": null, + "refs": { + "Warning$Message": "

The message that explains the problem with the query.

" + } + }, "WebCrawlerConfiguration": { "base": "

Provides the configuration information required for Amazon Kendra Web Crawler.

", "refs": { diff --git a/models/apis/kendra/2019-02-03/paginators-1.json b/models/apis/kendra/2019-02-03/paginators-1.json index cdd20f2b041..d5b1cff17c9 100644 --- a/models/apis/kendra/2019-02-03/paginators-1.json +++ b/models/apis/kendra/2019-02-03/paginators-1.json @@ -1,5 +1,10 @@ { "pagination": { + "GetSnapshots": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListDataSourceSyncJobs": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/apis/rds/2014-10-31/api-2.json b/models/apis/rds/2014-10-31/api-2.json index d8bfcd02aa8..4526d52b17f 100644 --- a/models/apis/rds/2014-10-31/api-2.json +++ b/models/apis/rds/2014-10-31/api-2.json @@ -8036,7 +8036,8 @@ "db-snapshot", "db-cluster", "db-cluster-snapshot", - "custom-engine-version" + "custom-engine-version", + "db-proxy" ] }, "StartActivityStreamRequest":{ diff --git a/models/apis/rds/2014-10-31/docs-2.json b/models/apis/rds/2014-10-31/docs-2.json index 87d8a1d44bf..afd21145b40 100644 --- a/models/apis/rds/2014-10-31/docs-2.json +++ b/models/apis/rds/2014-10-31/docs-2.json @@ -29,7 +29,7 @@ "CreateDBSecurityGroup": "

Creates a new DB security group. DB security groups control access to a DB instance.

A DB security group controls access to EC2-Classic DB instances that are not in a VPC.

", "CreateDBSnapshot": "

Creates a snapshot of a DB instance. The source DB instance must be in the available or storage-optimization state.

", "CreateDBSubnetGroup": "

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Web Services Region.

", - "CreateEventSubscription": "

Creates an RDS event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.

You can specify the type of source (SourceType) that you want to be notified of and provide a list of RDS sources (SourceIds) that triggers the events. You can also provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup.

If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your RDS sources. If you don't specify either the SourceType or the SourceIdentifier, you are notified of events generated from all RDS sources belonging to your customer account.

RDS event notification is only available for unencrypted SNS topics. If you specify an encrypted SNS topic, event notifications aren't sent for the topic.

", + "CreateEventSubscription": "

Creates an RDS event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.

You can specify the type of source (SourceType) that you want to be notified of and provide a list of RDS sources (SourceIds) that triggers the events. You can also provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup.

If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIds = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify SourceIds, you receive notice of the events for that source type for all your RDS sources. If you don't specify either the SourceType or the SourceIds, you are notified of events generated from all RDS sources belonging to your customer account.

RDS event notification is only available for unencrypted SNS topics. If you specify an encrypted SNS topic, event notifications aren't sent for the topic.

", "CreateGlobalCluster": "

Creates an Aurora global database spread across multiple Amazon Web Services Regions. The global database contains a single primary cluster with read-write capability, and a read-only secondary cluster that receives data from the primary cluster through high-speed replication performed by the Aurora storage subsystem.

You can create a global database that is initially empty, and then add a primary cluster and a secondary cluster to it. Or you can specify an existing Aurora cluster during the create operation, and this cluster becomes the primary cluster of the global database.

This action only applies to Aurora DB clusters.

", "CreateOptionGroup": "

Creates a new option group. You can create up to 20 option groups.

This command doesn't apply to RDS Custom.

", "DeleteCustomAvailabilityZone": "

Deletes a custom Availability Zone (AZ).

A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

For more information about RDS on VMware, see the RDS on VMware User Guide.

", @@ -77,9 +77,9 @@ "DescribeDBSubnetGroups": "

Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.

For an overview of CIDR ranges, go to the Wikipedia Tutorial.

", "DescribeEngineDefaultClusterParameters": "

Returns the default engine and system parameter information for the cluster database engine.

For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.

", "DescribeEngineDefaultParameters": "

Returns the default engine and system parameter information for the specified database engine.

", - "DescribeEventCategories": "

Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Events in the Amazon RDS User Guide.

", + "DescribeEventCategories": "

Displays a list of categories for all event source types, or, if specified, for a specified source type. You can also see this list in the \"Amazon RDS event categories and event messages\" section of the Amazon RDS User Guide or the Amazon Aurora User Guide .

", "DescribeEventSubscriptions": "

Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

If you specify a SubscriptionName, lists the description for that subscription.

", - "DescribeEvents": "

Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, and DB cluster snapshots for the past 14 days. Events specific to a particular DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, and DB cluster snapshots group can be obtained by providing the name as a parameter.

By default, the past hour of events are returned.

", + "DescribeEvents": "

Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, DB cluster snapshots, and RDS Proxies for the past 14 days. Events specific to a particular DB instance, DB cluster, DB parameter group, DB security group, DB snapshot, DB cluster snapshot group, or RDS Proxy can be obtained by providing the name as a parameter.

By default, RDS returns events that were generated in the past hour.

", "DescribeExportTasks": "

Returns information about a snapshot export to Amazon S3. This API operation supports pagination.

", "DescribeGlobalClusters": "

Returns information about Aurora global database clusters. This API supports pagination.

For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.

This action only applies to Aurora DB clusters.

", "DescribeInstallationMedia": "

Describes the available installation media for a DB engine that requires an on-premises customer provided license, such as Microsoft SQL Server.

", @@ -2161,7 +2161,7 @@ "EventCategoriesList": { "base": null, "refs": { - "CreateEventSubscriptionMessage$EventCategories": "

A list of event categories for a particular source type (SourceType) that you want to subscribe to. You can see a list of the categories for a given source type in Events in the Amazon RDS User Guide or by using the DescribeEventCategories operation.

", + "CreateEventSubscriptionMessage$EventCategories": "

A list of event categories for a particular source type (SourceType) that you want to subscribe to. You can see a list of the categories for a given source type in the \"Amazon RDS event categories and event messages\" section of the Amazon RDS User Guide or the Amazon Aurora User Guide . You can also see this list by using the DescribeEventCategories operation.

", "DescribeEventsMessage$EventCategories": "

A list of event categories that trigger notifications for a event notification subscription.

", "Event$EventCategories": "

Specifies the category for the event.

", "EventCategoriesMap$EventCategories": "

The event categories for the specified source type

", @@ -2493,8 +2493,8 @@ "Integer": { "base": null, "refs": { - "ConnectionPoolConfigurationInfo$MaxConnectionsPercent": "

The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

", - "ConnectionPoolConfigurationInfo$MaxIdleConnectionsPercent": "

Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

", + "ConnectionPoolConfigurationInfo$MaxConnectionsPercent": "

The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

", + "ConnectionPoolConfigurationInfo$MaxIdleConnectionsPercent": "

Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.

", "ConnectionPoolConfigurationInfo$ConnectionBorrowTimeout": "

The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.

", "DBClusterSnapshot$AllocatedStorage": "

Specifies the allocated storage size in gibibytes (GiB).

", "DBClusterSnapshot$Port": "

Specifies the port that the DB cluster was listening on at the time of the snapshot.

", @@ -2523,8 +2523,8 @@ "IntegerOptional": { "base": null, "refs": { - "ConnectionPoolConfiguration$MaxConnectionsPercent": "

The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

Default: 100

Constraints: between 1 and 100

", - "ConnectionPoolConfiguration$MaxIdleConnectionsPercent": "

Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

Default: 50

Constraints: between 0 and MaxConnectionsPercent

", + "ConnectionPoolConfiguration$MaxConnectionsPercent": "

The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

Default: 100

Constraints: between 1 and 100

", + "ConnectionPoolConfiguration$MaxIdleConnectionsPercent": "

Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.

Default: 50

Constraints: between 0 and MaxConnectionsPercent

", "ConnectionPoolConfiguration$ConnectionBorrowTimeout": "

The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.

Default: 120

Constraints: between 1 and 3600, or 0 representing unlimited

", "CreateDBClusterMessage$BackupRetentionPeriod": "

The number of days for which automated backups are retained.

Default: 1

Constraints:

Valid for: Aurora DB clusters and Multi-AZ DB clusters

", "CreateDBClusterMessage$Port": "

The port number on which the instances in the DB cluster accept connections.

RDS for MySQL and Aurora MySQL

Default: 3306

Valid values: 1150-65535

RDS for PostgreSQL and Aurora PostgreSQL

Default: 5432

Valid values: 1150-65535

Valid for: Aurora DB clusters and Multi-AZ DB clusters

", @@ -3630,7 +3630,7 @@ "SourceIdsList": { "base": null, "refs": { - "CreateEventSubscriptionMessage$SourceIds": "

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It can't end with a hyphen or contain two consecutive hyphens.

Constraints:

", + "CreateEventSubscriptionMessage$SourceIds": "

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It can't end with a hyphen or contain two consecutive hyphens.

Constraints:

", "EventSubscription$SourceIdsList": "

A list of source IDs for the RDS event notification subscription.

" } }, @@ -3770,7 +3770,7 @@ "AddRoleToDBInstanceMessage$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for example arn:aws:iam::123456789012:role/AccessRole.

", "AddRoleToDBInstanceMessage$FeatureName": "

The name of the feature for the DB instance that the IAM role is to be associated with. For information about supported feature names, see DBEngineVersion.

", "AddSourceIdentifierToSubscriptionMessage$SubscriptionName": "

The name of the RDS event notification subscription you want to add a source identifier to.

", - "AddSourceIdentifierToSubscriptionMessage$SourceIdentifier": "

The identifier of the event source to be added.

Constraints:

", + "AddSourceIdentifierToSubscriptionMessage$SourceIdentifier": "

The identifier of the event source to be added.

Constraints:

", "AddTagsToResourceMessage$ResourceName": "

The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

", "ApplyPendingMaintenanceActionMessage$ResourceIdentifier": "

The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

", "ApplyPendingMaintenanceActionMessage$ApplyAction": "

The pending maintenance action to apply to this resource.

Valid values: system-update, db-upgrade, hardware-maintenance, ca-certificate-rotation

", @@ -3910,7 +3910,7 @@ "CreateDBSubnetGroupMessage$DBSubnetGroupDescription": "

The description for the DB subnet group.

", "CreateEventSubscriptionMessage$SubscriptionName": "

The name of the subscription.

Constraints: The name must be less than 255 characters.

", "CreateEventSubscriptionMessage$SnsTopicArn": "

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

", - "CreateEventSubscriptionMessage$SourceType": "

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you set this parameter to db-instance. If this value isn't specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

", + "CreateEventSubscriptionMessage$SourceType": "

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you set this parameter to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy

", "CreateGlobalClusterMessage$GlobalClusterIdentifier": "

The cluster identifier of the new global database cluster.

", "CreateGlobalClusterMessage$SourceDBClusterIdentifier": "

The Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is optional.

", "CreateGlobalClusterMessage$Engine": "

The name of the database engine to be used for this DB cluster.

", @@ -4223,10 +4223,10 @@ "DescribeEngineDefaultClusterParametersMessage$Marker": "

An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeEngineDefaultParametersMessage$DBParameterGroupFamily": "

The name of the DB parameter group family.

", "DescribeEngineDefaultParametersMessage$Marker": "

An optional pagination token provided by a previous DescribeEngineDefaultParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", - "DescribeEventCategoriesMessage$SourceType": "

The type of source that is generating the events.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

", + "DescribeEventCategoriesMessage$SourceType": "

The type of source that is generating the events. For RDS Proxy events, specify db-proxy.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy

", "DescribeEventSubscriptionsMessage$SubscriptionName": "

The name of the RDS event notification subscription you want to describe.

", "DescribeEventSubscriptionsMessage$Marker": "

An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

", - "DescribeEventsMessage$SourceIdentifier": "

The identifier of the event source for which events are returned. If not specified, then all sources are included in the response.

Constraints:

", + "DescribeEventsMessage$SourceIdentifier": "

The identifier of the event source for which events are returned. If not specified, then all sources are included in the response.

Constraints:

", "DescribeEventsMessage$Marker": "

An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeExportTasksMessage$ExportTaskIdentifier": "

The identifier of the snapshot export task to be described.

", "DescribeExportTasksMessage$SourceArn": "

The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3.

", @@ -4404,7 +4404,7 @@ "ModifyDBSubnetGroupMessage$DBSubnetGroupDescription": "

The description for the DB subnet group.

", "ModifyEventSubscriptionMessage$SubscriptionName": "

The name of the RDS event notification subscription.

", "ModifyEventSubscriptionMessage$SnsTopicArn": "

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

", - "ModifyEventSubscriptionMessage$SourceType": "

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. If this value isn't specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

", + "ModifyEventSubscriptionMessage$SourceType": "

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy

", "ModifyGlobalClusterMessage$GlobalClusterIdentifier": "

The DB cluster identifier for the global cluster being modified. This parameter isn't case-sensitive.

Constraints:

", "ModifyGlobalClusterMessage$NewGlobalClusterIdentifier": "

The new cluster identifier for the global database cluster when modifying a global database cluster. This value is stored as a lowercase string.

Constraints:

Example: my-cluster2

", "ModifyGlobalClusterMessage$EngineVersion": "

The version number of the database engine to which you want to upgrade. Changing this parameter results in an outage. The change is applied during the next maintenance window unless ApplyImmediately is enabled.

To list all of the available engine versions for aurora (for MySQL 5.6-compatible Aurora), use the following command:

aws rds describe-db-engine-versions --engine aurora --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'

To list all of the available engine versions for aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora), use the following command:

aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'

To list all of the available engine versions for aurora-postgresql, use the following command:

aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'

", diff --git a/models/apis/workspaces/2015-04-08/api-2.json b/models/apis/workspaces/2015-04-08/api-2.json index c2ddbaf09c9..8884e5c5e1a 100644 --- a/models/apis/workspaces/2015-04-08/api-2.json +++ b/models/apis/workspaces/2015-04-08/api-2.json @@ -80,6 +80,22 @@ {"shape":"InvalidParameterValuesException"} ] }, + "CreateConnectClientAddIn":{ + "name":"CreateConnectClientAddIn", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateConnectClientAddInRequest"}, + "output":{"shape":"CreateConnectClientAddInResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceCreationFailedException"}, + {"shape":"ResourceAlreadyExistsException"}, + {"shape":"AccessDeniedException"} + ] + }, "CreateConnectionAlias":{ "name":"CreateConnectionAlias", "http":{ @@ -175,6 +191,20 @@ {"shape":"InvalidParameterValuesException"} ] }, + "DeleteConnectClientAddIn":{ + "name":"DeleteConnectClientAddIn", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteConnectClientAddInRequest"}, + "output":{"shape":"DeleteConnectClientAddInResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, "DeleteConnectionAlias":{ "name":"DeleteConnectionAlias", "http":{ @@ -303,6 +333,20 @@ {"shape":"AccessDeniedException"} ] }, + "DescribeConnectClientAddIns":{ + "name":"DescribeConnectClientAddIns", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeConnectClientAddInsRequest"}, + "output":{"shape":"DescribeConnectClientAddInsResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, "DescribeConnectionAliasPermissions":{ "name":"DescribeConnectionAliasPermissions", "http":{ @@ -721,6 +765,20 @@ "input":{"shape":"TerminateWorkspacesRequest"}, "output":{"shape":"TerminateWorkspacesResult"} }, + "UpdateConnectClientAddIn":{ + "name":"UpdateConnectClientAddIn", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateConnectClientAddInRequest"}, + "output":{"shape":"UpdateConnectClientAddInResult"}, + "errors":[ + {"shape":"InvalidParameterValuesException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, "UpdateConnectionAliasPermission":{ "name":"UpdateConnectionAliasPermission", "http":{ @@ -821,7 +879,25 @@ "type":"list", "member":{"shape":"AccountModification"} }, + "AddInName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^.*$" + }, + "AddInUrl":{ + "type":"string", + "max":1024, + "min":1, + "pattern":"^(http|https)\\://\\S+" + }, "Alias":{"type":"string"}, + "AmazonUuid":{ + "type":"string", + "max":36, + "min":36, + "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" + }, "Application":{ "type":"string", "enum":[ @@ -950,6 +1026,19 @@ } }, "ComputerName":{"type":"string"}, + "ConnectClientAddIn":{ + "type":"structure", + "members":{ + "AddInId":{"shape":"AmazonUuid"}, + "ResourceId":{"shape":"DirectoryId"}, + "Name":{"shape":"AddInName"}, + "URL":{"shape":"AddInUrl"} + } + }, + "ConnectClientAddInList":{ + "type":"list", + "member":{"shape":"ConnectClientAddIn"} + }, "ConnectionAlias":{ "type":"structure", "members":{ @@ -1059,6 +1148,25 @@ "ImageId":{"shape":"WorkspaceImageId"} } }, + "CreateConnectClientAddInRequest":{ + "type":"structure", + "required":[ + "ResourceId", + "Name", + "URL" + ], + "members":{ + "ResourceId":{"shape":"DirectoryId"}, + "Name":{"shape":"AddInName"}, + "URL":{"shape":"AddInUrl"} + } + }, + "CreateConnectClientAddInResult":{ + "type":"structure", + "members":{ + "AddInId":{"shape":"AmazonUuid"} + } + }, "CreateConnectionAliasRequest":{ "type":"structure", "required":["ConnectionString"], @@ -1203,6 +1311,22 @@ "EnableMaintenanceMode":{"shape":"BooleanObject"} } }, + "DeleteConnectClientAddInRequest":{ + "type":"structure", + "required":[ + "AddInId", + "ResourceId" + ], + "members":{ + "AddInId":{"shape":"AmazonUuid"}, + "ResourceId":{"shape":"DirectoryId"} + } + }, + "DeleteConnectClientAddInResult":{ + "type":"structure", + "members":{ + } + }, "DeleteConnectionAliasRequest":{ "type":"structure", "required":["AliasId"], @@ -1316,6 +1440,22 @@ "ClientPropertiesList":{"shape":"ClientPropertiesList"} } }, + "DescribeConnectClientAddInsRequest":{ + "type":"structure", + "required":["ResourceId"], + "members":{ + "ResourceId":{"shape":"DirectoryId"}, + "NextToken":{"shape":"PaginationToken"}, + "MaxResults":{"shape":"Limit"} + } + }, + "DescribeConnectClientAddInsResult":{ + "type":"structure", + "members":{ + "AddIns":{"shape":"ConnectClientAddInList"}, + "NextToken":{"shape":"PaginationToken"} + } + }, "DescribeConnectionAliasPermissionsRequest":{ "type":"structure", "required":["AliasId"], @@ -2232,6 +2372,24 @@ }, "exception":true }, + "UpdateConnectClientAddInRequest":{ + "type":"structure", + "required":[ + "AddInId", + "ResourceId" + ], + "members":{ + "AddInId":{"shape":"AmazonUuid"}, + "ResourceId":{"shape":"DirectoryId"}, + "Name":{"shape":"AddInName"}, + "URL":{"shape":"AddInUrl"} + } + }, + "UpdateConnectClientAddInResult":{ + "type":"structure", + "members":{ + } + }, "UpdateConnectionAliasPermissionRequest":{ "type":"structure", "required":[ diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index ae110f07594..8ad457135d5 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -6,12 +6,14 @@ "AssociateIpGroups": "

Associates the specified IP access control group with the specified directory.

", "AuthorizeIpRules": "

Adds one or more rules to the specified IP access control group.

This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.

", "CopyWorkspaceImage": "

Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.

", + "CreateConnectClientAddIn": "

Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory.

This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect.

", "CreateConnectionAlias": "

Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "CreateIpGroup": "

Creates an IP access control group.

An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.

There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.

", "CreateTags": "

Creates the specified tags for the specified WorkSpaces resource.

", "CreateUpdatedWorkspaceImage": "

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

", "CreateWorkspaceBundle": "

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

", "CreateWorkspaces": "

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

", + "DeleteConnectClientAddIn": "

Deletes a client-add-in for Amazon Connect that is configured within a directory.

", "DeleteConnectionAlias": "

Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.

To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.

", "DeleteIpGroup": "

Deletes the specified IP access control group.

You cannot delete an IP access control group that is associated with a directory.

", "DeleteTags": "

Deletes the specified tags from the specified WorkSpaces resource.

", @@ -21,6 +23,7 @@ "DescribeAccount": "

Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.

", "DescribeAccountModifications": "

Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.

", "DescribeClientProperties": "

Retrieves a list that describes one or more specified Amazon WorkSpaces clients.

", + "DescribeConnectClientAddIns": "

Retrieves a list of Amazon Connect client add-ins that have been created.

", "DescribeConnectionAliasPermissions": "

Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "DescribeConnectionAliases": "

Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "DescribeIpGroups": "

Describes one or more of your IP access control groups.

", @@ -52,6 +55,7 @@ "StartWorkspaces": "

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.

", "StopWorkspaces": "

Stops the specified WorkSpaces.

You cannot stop a WorkSpace unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

", "TerminateWorkspaces": "

Terminates the specified WorkSpaces.

Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services Support before terminating the WorkSpace.

You can terminate a WorkSpace that is in any state except SUSPENDED.

This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.

To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.

", + "UpdateConnectClientAddIn": "

Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in.

", "UpdateConnectionAliasPermission": "

Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "UpdateRulesOfIpGroup": "

Replaces the current rules of the specified IP access control group with the specified rules.

", "UpdateWorkspaceBundle": "

Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.

Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.

", @@ -94,12 +98,37 @@ "DescribeAccountModificationsResult$AccountModifications": "

The list of modifications to the configuration of BYOL.

" } }, + "AddInName": { + "base": null, + "refs": { + "ConnectClientAddIn$Name": "

The name of the client add in.

", + "CreateConnectClientAddInRequest$Name": "

The name of the client add-in.

", + "UpdateConnectClientAddInRequest$Name": "

The name of the client add-in.

" + } + }, + "AddInUrl": { + "base": null, + "refs": { + "ConnectClientAddIn$URL": "

The endpoint URL of the client add-in.

", + "CreateConnectClientAddInRequest$URL": "

The endpoint URL of the Amazon Connect client add-in.

", + "UpdateConnectClientAddInRequest$URL": "

The endpoint URL of the Amazon Connect client add-in.

" + } + }, "Alias": { "base": null, "refs": { "WorkspaceDirectory$Alias": "

The directory alias.

" } }, + "AmazonUuid": { + "base": null, + "refs": { + "ConnectClientAddIn$AddInId": "

The client add-in identifier.

", + "CreateConnectClientAddInResult$AddInId": "

The client add-in identifier.

", + "DeleteConnectClientAddInRequest$AddInId": "

The identifier of the client add-in to delete.

", + "UpdateConnectClientAddInRequest$AddInId": "

The identifier of the client add-in to update.

" + } + }, "Application": { "base": null, "refs": { @@ -252,6 +281,18 @@ "Workspace$ComputerName": "

The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more information, see Launch a WorkSpace.

" } }, + "ConnectClientAddIn": { + "base": "

Describes an Amazon Connect client add-in.

", + "refs": { + "ConnectClientAddInList$member": null + } + }, + "ConnectClientAddInList": { + "base": null, + "refs": { + "DescribeConnectClientAddInsResult$AddIns": "

Information about client add-ins.

" + } + }, "ConnectionAlias": { "base": "

Describes a connection alias. Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "refs": { @@ -345,6 +386,16 @@ "refs": { } }, + "CreateConnectClientAddInRequest": { + "base": null, + "refs": { + } + }, + "CreateConnectClientAddInResult": { + "base": null, + "refs": { + } + }, "CreateConnectionAliasRequest": { "base": null, "refs": { @@ -452,6 +503,16 @@ "WorkspaceDirectory$WorkspaceCreationProperties": "

The default creation properties for all WorkSpaces in the directory.

" } }, + "DeleteConnectClientAddInRequest": { + "base": null, + "refs": { + } + }, + "DeleteConnectClientAddInResult": { + "base": null, + "refs": { + } + }, "DeleteConnectionAliasRequest": { "base": null, "refs": { @@ -542,6 +603,16 @@ "refs": { } }, + "DescribeConnectClientAddInsRequest": { + "base": null, + "refs": { + } + }, + "DescribeConnectClientAddInsResult": { + "base": null, + "refs": { + } + }, "DescribeConnectionAliasPermissionsRequest": { "base": null, "refs": { @@ -667,7 +738,11 @@ "base": null, "refs": { "AssociateIpGroupsRequest$DirectoryId": "

The identifier of the directory.

", + "ConnectClientAddIn$ResourceId": "

The directory identifier for which the client add-in is configured.

", + "CreateConnectClientAddInRequest$ResourceId": "

The directory identifier for which to configure the client add-in.

", + "DeleteConnectClientAddInRequest$ResourceId": "

The directory identifier for which the client add-in is configured.

", "DeregisterWorkspaceDirectoryRequest$DirectoryId": "

The identifier of the directory. If any WorkSpaces are registered to this directory, you must remove them before you deregister the directory, or you will receive an OperationNotSupportedException error.

", + "DescribeConnectClientAddInsRequest$ResourceId": "

The directory identifier for which the client add-in is configured.

", "DescribeWorkspacesRequest$DirectoryId": "

The identifier of the directory. In addition, you can optionally specify a specific directory user (see UserName). You cannot combine this parameter with any other filter.

", "DirectoryIdList$member": null, "DisassociateIpGroupsRequest$DirectoryId": "

The identifier of the directory.

", @@ -675,6 +750,7 @@ "ModifyWorkspaceAccessPropertiesRequest$ResourceId": "

The identifier of the directory.

", "ModifyWorkspaceCreationPropertiesRequest$ResourceId": "

The identifier of the directory.

", "RegisterWorkspaceDirectoryRequest$DirectoryId": "

The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.

", + "UpdateConnectClientAddInRequest$ResourceId": "

The directory identifier for which the client add-in is configured.

", "Workspace$DirectoryId": "

The identifier of the Directory Service directory for the WorkSpace.

", "WorkspaceDirectory$DirectoryId": "

The directory identifier.

", "WorkspaceRequest$DirectoryId": "

The identifier of the Directory Service directory for the WorkSpace. You can use DescribeWorkspaceDirectories to list the available directories.

" @@ -925,6 +1001,7 @@ "Limit": { "base": null, "refs": { + "DescribeConnectClientAddInsRequest$MaxResults": "

The maximum number of items to return.

", "DescribeConnectionAliasPermissionsRequest$MaxResults": "

The maximum number of results to return.

", "DescribeConnectionAliasesRequest$Limit": "

The maximum number of connection aliases to return.

", "DescribeIpGroupsRequest$MaxResults": "

The maximum number of items to return.

", @@ -1107,6 +1184,8 @@ "refs": { "DescribeAccountModificationsRequest$NextToken": "

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

", "DescribeAccountModificationsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "DescribeConnectClientAddInsRequest$NextToken": "

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

", + "DescribeConnectClientAddInsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeConnectionAliasPermissionsRequest$NextToken": "

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

", "DescribeConnectionAliasPermissionsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeConnectionAliasesRequest$NextToken": "

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

", @@ -1469,6 +1548,16 @@ "refs": { } }, + "UpdateConnectClientAddInRequest": { + "base": null, + "refs": { + } + }, + "UpdateConnectClientAddInResult": { + "base": null, + "refs": { + } + }, "UpdateConnectionAliasPermissionRequest": { "base": null, "refs": { diff --git a/service/costexplorer/api.go b/service/costexplorer/api.go index 79fbde57a3e..882a119da2e 100644 --- a/service/costexplorer/api.go +++ b/service/costexplorer/api.go @@ -1791,6 +1791,10 @@ func (c *CostExplorer) GetSavingsPlansCoverageRequest(input *GetSavingsPlansCove // // * INSTANCE_FAMILY // +// GetSavingsPlansCoverage doesn't support filtering by tags. GetSavingsPlansCoverage +// also doesn't support the OR operator between filter dimensions. For the full +// request syntax with supported parameters, see Examples (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansCoverage.html#API_GetSavingsPlansCoverage_Examples). +// // To determine valid values for a dimension, use the GetDimensionValues operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2018,6 +2022,10 @@ func (c *CostExplorer) GetSavingsPlansUtilizationRequest(input *GetSavingsPlansU // // You cannot group by any dimension values for GetSavingsPlansUtilization. // +// GetSavingsPlansUtilization doesn't support filtering by tags. GetSavingsPlansUtilization +// also doesn't support the OR operator between filter dimensions. For the full +// request syntax with supported parameters, see Examples (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansUtilization.html#API_GetSavingsPlansUtilization_Examples). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2114,6 +2122,10 @@ func (c *CostExplorer) GetSavingsPlansUtilizationDetailsRequest(input *GetSaving // // GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn. // +// GetSavingsPlansUtilizationDetails doesn't support filtering by tags. GetSavingsPlansUtilizationDetails +// also doesn't support the OR operator between filter dimensions. For the full +// request syntax with supported parameters, see Examples (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetSavingsPlansUtilizationDetails.html#API_GetSavingsPlansUtilizationDetails_Examples). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -5806,8 +5818,8 @@ func (s *EC2Specification) SetOfferingClass(v string) *EC2Specification { return s } -// Details about the Amazon ES instances that Amazon Web Services recommends -// that you purchase. +// Details about the Amazon OpenSearch Service instances that Amazon Web Services +// recommends that you purchase. type ESInstanceDetails struct { _ struct{} `type:"structure"` @@ -6511,6 +6523,12 @@ type GetCostAndUsageInput struct { // with that account's usage of that service. You can nest Expression objects // to define any combination of dimension filters. For more information, see // Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html). + // + // The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions + // for Dimensions are EQUALS and CASE_SENSITIVE. + // + // Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, + // and CASE_SENSITIVE. Filter *Expression `type:"structure"` // Sets the Amazon Web Services cost granularity to MONTHLY or DAILY, or HOURLY. @@ -6723,6 +6741,12 @@ type GetCostAndUsageWithResourcesInput struct { // by or filter by a ResourceId. It requires the Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter. // + // The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions + // for Dimensions are EQUALS and CASE_SENSITIVE. + // + // Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, + // and CASE_SENSITIVE. + // // Filter is a required field Filter *Expression `type:"structure" required:"true"` @@ -7504,7 +7528,7 @@ type GetDimensionValuesInput struct { Context *string `type:"string" enum:"Context"` // The name of the dimension. Each Dimension is available for a different Context. - // For more information, see Context. + // For more information, see Context (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html#awscostmanagement-GetDimensionValues-request-Context). // // Dimension is a required field Dimension *string `type:"string" required:"true" enum:"Dimension"` @@ -7890,8 +7914,7 @@ type GetReservationCoverageInput struct { // // GetReservationCoverage uses the same Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. - // You can nest only one level deep. If there are multiple values for a dimension, - // they are OR'd together. + // You can nest only one level deep. // // If you don't provide a SERVICE filter, Cost Explorer defaults to EC2. // @@ -8383,8 +8406,7 @@ type GetReservationUtilizationInput struct { // // GetReservationUtilization uses the same Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension, - // and nesting is supported up to only one level deep. If there are multiple - // values for a dimension, they are OR'd together. + // and nesting is supported up to only one level deep. Filter *Expression `type:"structure"` // If GroupBy is set, Granularity can't be set. If Granularity isn't set, the @@ -8820,9 +8842,8 @@ type GetSavingsPlansCoverageInput struct { // // GetSavingsPlansCoverage uses the same Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. - // If there are multiple values for a dimension, they are OR'd together. // - // Cost category is also supported. + // Cost category is supported. Tags are not supported. Filter *Expression `type:"structure"` // The granularity of the Amazon Web Services cost data for your Savings Plans. @@ -9234,6 +9255,8 @@ type GetSavingsPlansUtilizationDetailsInput struct { // // GetSavingsPlansUtilizationDetails uses the same Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. + // + // Filtering by tags isn't supported. Filter *Expression `type:"structure"` // The number of items to be returned in a response. The default is 20, with @@ -9444,6 +9467,8 @@ type GetSavingsPlansUtilizationInput struct { // // GetSavingsPlansUtilization uses the same Expression (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html) // object as the other operations, but only AND is supported among each dimension. + // + // Filtering by tags isn't supported. Filter *Expression `type:"structure"` // The granularity of the Amazon Web Services utillization data for your Savings @@ -10188,7 +10213,8 @@ type InstanceDetails struct { // The Amazon EC2 instances that Amazon Web Services recommends that you purchase. EC2InstanceDetails *EC2InstanceDetails `type:"structure"` - // The Amazon ES instances that Amazon Web Services recommends that you purchase. + // The Amazon OpenSearch Service instances that Amazon Web Services recommends + // that you purchase. ESInstanceDetails *ESInstanceDetails `type:"structure"` // The ElastiCache instances that Amazon Web Services recommends that you purchase. diff --git a/service/ec2/api.go b/service/ec2/api.go index ee98206e83b..846f1c8d39d 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -159919,6 +159919,24 @@ const ( // CapacityReservationInstancePlatformLinuxwithSqlserverEnterprise is a CapacityReservationInstancePlatform enum value CapacityReservationInstancePlatformLinuxwithSqlserverEnterprise = "Linux with SQL Server Enterprise" + + // CapacityReservationInstancePlatformRhelwithSqlserverStandard is a CapacityReservationInstancePlatform enum value + CapacityReservationInstancePlatformRhelwithSqlserverStandard = "RHEL with SQL Server Standard" + + // CapacityReservationInstancePlatformRhelwithSqlserverEnterprise is a CapacityReservationInstancePlatform enum value + CapacityReservationInstancePlatformRhelwithSqlserverEnterprise = "RHEL with SQL Server Enterprise" + + // CapacityReservationInstancePlatformRhelwithSqlserverWeb is a CapacityReservationInstancePlatform enum value + CapacityReservationInstancePlatformRhelwithSqlserverWeb = "RHEL with SQL Server Web" + + // CapacityReservationInstancePlatformRhelwithHa is a CapacityReservationInstancePlatform enum value + CapacityReservationInstancePlatformRhelwithHa = "RHEL with HA" + + // CapacityReservationInstancePlatformRhelwithHaandSqlserverStandard is a CapacityReservationInstancePlatform enum value + CapacityReservationInstancePlatformRhelwithHaandSqlserverStandard = "RHEL with HA and SQL Server Standard" + + // CapacityReservationInstancePlatformRhelwithHaandSqlserverEnterprise is a CapacityReservationInstancePlatform enum value + CapacityReservationInstancePlatformRhelwithHaandSqlserverEnterprise = "RHEL with HA and SQL Server Enterprise" ) // CapacityReservationInstancePlatform_Values returns all elements of the CapacityReservationInstancePlatform enum @@ -159935,6 +159953,12 @@ func CapacityReservationInstancePlatform_Values() []string { CapacityReservationInstancePlatformLinuxwithSqlserverStandard, CapacityReservationInstancePlatformLinuxwithSqlserverWeb, CapacityReservationInstancePlatformLinuxwithSqlserverEnterprise, + CapacityReservationInstancePlatformRhelwithSqlserverStandard, + CapacityReservationInstancePlatformRhelwithSqlserverEnterprise, + CapacityReservationInstancePlatformRhelwithSqlserverWeb, + CapacityReservationInstancePlatformRhelwithHa, + CapacityReservationInstancePlatformRhelwithHaandSqlserverStandard, + CapacityReservationInstancePlatformRhelwithHaandSqlserverEnterprise, } } diff --git a/service/finspacedata/api.go b/service/finspacedata/api.go index 7e1a66fd7d4..6874df7f49b 100644 --- a/service/finspacedata/api.go +++ b/service/finspacedata/api.go @@ -1631,7 +1631,9 @@ func (s *ChangesetErrorInfo) SetErrorMessage(v string) *ChangesetErrorInfo { type ChangesetSummary struct { _ struct{} `type:"structure"` - // Milliseconds since UTC epoch + // Beginning time from which the Changeset is active. The value is determined + // as Epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. ActiveFromTimestamp *int64 `locationName:"activeFromTimestamp" type:"long"` // Time until which the Changeset is active. The value is determined as Epoch @@ -1929,7 +1931,7 @@ type CreateChangesetInput struct { // ChangeType is a required field ChangeType *string `locationName:"changeType" type:"string" required:"true" enum:"ChangeType"` - // A token used to ensure idempotency. + // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The unique identifier for the FinSpace Dataset where the Changeset will be @@ -1952,14 +1954,36 @@ type CreateChangesetInput struct { // // * XML - XML source file format. // - // For example, you could specify the following for formatParams: "formatParams": - // { "formatType": "CSV", "withHeader": "true", "separator": ",", "compression":"None" - // } + // Here is an example of how you could specify the formatParams: + // + // "formatParams": { "formatType": "CSV", "withHeader": "true", "separator": + // ",", "compression":"None" } + // + // Note that if you only provide formatType as CSV, the rest of the attributes + // will automatically default to CSV values as following: + // + // { "withHeader": "true", "separator": "," } + // + // For more information about supported file formats, see Supported Data Types + // and File Formats (https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html) + // in the FinSpace User Guide. // // FormatParams is a required field FormatParams map[string]*string `locationName:"formatParams" type:"map" required:"true"` - // Options that define the location of the data being ingested. + // Options that define the location of the data being ingested (s3SourcePath) + // and the source of the changeset (sourceType). + // + // Both s3SourcePath and sourceType are required attributes. + // + // Here is an example of how you could specify the sourceParams: + // + // "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv", + // "sourceType": "S3" } + // + // The S3 path that you specify must allow the FinSpace role access. To do that, + // you first need to configure the IAM policy on S3 bucket. For more information, + // see Loading data from an Amazon S3 Bucket using the FinSpace API (https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets)section. // // SourceParams is a required field SourceParams map[string]*string `locationName:"sourceParams" type:"map" required:"true"` @@ -2094,7 +2118,7 @@ type CreateDataViewInput struct { // Flag to indicate Dataview should be updated automatically. AutoUpdate *bool `locationName:"autoUpdate" type:"boolean"` - // A token used to ensure idempotency. + // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The unique Dataset identifier that is used to create a Dataview. @@ -2249,7 +2273,7 @@ type CreateDatasetInput struct { // The unique resource identifier for a Dataset. Alias *string `locationName:"alias" min:"1" type:"string"` - // A token used to ensure idempotency. + // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // Description of a Dataset. @@ -2478,12 +2502,23 @@ type DataViewDestinationTypeParams struct { // // * GLUE_TABLE - Glue table destination type. // + // * S3 - S3 destination type. + // // DestinationType is a required field DestinationType *string `locationName:"destinationType" type:"string" required:"true"` - // Data View Export File Format + // Data view export file format. + // + // * PARQUET - Parquet export file format. + // + // * DELIMITED_TEXT - Delimited text export file format. S3DestinationExportFileFormat *string `locationName:"s3DestinationExportFileFormat" type:"string" enum:"ExportFileFormat"` + // Format Options for S3 Destination type. + // + // Here is an example of how you could specify the s3DestinationExportFileFormatOptions + // + // { "header": "true", "delimiter": ",", "compression": "gzip" } S3DestinationExportFileFormatOptions map[string]*string `locationName:"s3DestinationExportFileFormatOptions" type:"map"` } @@ -2943,7 +2978,7 @@ func (s *DatasetOwnerInfo) SetPhoneNumber(v string) *DatasetOwnerInfo { type DeleteDatasetInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A token used to ensure idempotency. + // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The unique identifier of the Dataset to be deleted. @@ -3104,7 +3139,9 @@ func (s *GetChangesetInput) SetDatasetId(v string) *GetChangesetInput { type GetChangesetOutput struct { _ struct{} `type:"structure"` - // Milliseconds since UTC epoch + // Beginning time from which the Changeset is active. The value is determined + // as Epoch time in milliseconds. For example, the value for Monday, November + // 1, 2021 12:00:00 PM UTC is specified as 1635768000000. ActiveFromTimestamp *int64 `locationName:"activeFromTimestamp" type:"long"` // Time until which the Changeset is active. The value is determined as Epoch @@ -4295,6 +4332,12 @@ func (s *ListDatasetsOutput) SetNextToken(v string) *ListDatasetsOutput { } // Permission group parameters for Dataset permissions. +// +// Here is an example of how you could specify the PermissionGroupParams: +// +// { "permissionGroupId": "0r6fCRtSTUk4XPfXQe3M0g", "datasetPermissions": [ +// {"permission": "ViewDatasetDetails"}, {"permission": "AddDatasetData"}, {"permission": +// "EditDatasetMetadata"}, {"permission": "DeleteDataset"} ] } type PermissionGroupParams struct { _ struct{} `type:"structure"` @@ -4422,7 +4465,28 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// Resource permission for a Dataset. +// Resource permission for a dataset. When you create a dataset, all the other +// members of the same user group inherit access to the dataset. You can only +// create a dataset if your user group has application permission for Create +// Datasets. +// +// The following is a list of valid dataset permissions that you can apply: +// +// * ViewDatasetDetails +// +// * ReadDatasetDetails +// +// * AddDatasetData +// +// * CreateSnapshot +// +// * EditDatasetMetadata +// +// * DeleteDataset +// +// For more information on the ataset permissions, see Supported Dataset Permissions +// (https://docs.aws.amazon.com/finspace/latest/userguide/managing-user-permissions.html#supported-dataset-permissions) +// in the FinSpace User Guide. type ResourcePermission struct { _ struct{} `type:"structure"` @@ -4613,7 +4677,7 @@ type UpdateChangesetInput struct { // ChangesetId is a required field ChangesetId *string `location:"uri" locationName:"changesetId" min:"1" type:"string" required:"true"` - // A token used to ensure idempotency. + // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // The unique identifier for the FinSpace Dataset in which the Changeset is @@ -4622,12 +4686,50 @@ type UpdateChangesetInput struct { // DatasetId is a required field DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"` - // Options that define the structure of the source file(s). + // Options that define the structure of the source file(s) including the format + // type (formatType), header row (withHeader), data separation character (separator) + // and the type of compression (compression). + // + // formatType is a required attribute and can have the following values: + // + // * PARQUET - Parquet source file format. + // + // * CSV - CSV source file format. + // + // * JSON - JSON source file format. + // + // * XML - XML source file format. + // + // Here is an example of how you could specify the formatParams: + // + // "formatParams": { "formatType": "CSV", "withHeader": "true", "separator": + // ",", "compression":"None" } + // + // Note that if you only provide formatType as CSV, the rest of the attributes + // will automatically default to CSV values as following: + // + // { "withHeader": "true", "separator": "," } + // + // For more information about supported file formats, see Supported Data Types + // and File Formats (https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html) + // in the FinSpace User Guide. // // FormatParams is a required field FormatParams map[string]*string `locationName:"formatParams" type:"map" required:"true"` - // Options that define the location of the data being ingested. + // Options that define the location of the data being ingested (s3SourcePath) + // and the source of the changeset (sourceType). + // + // Both s3SourcePath and sourceType are required attributes. + // + // Here is an example of how you could specify the sourceParams: + // + // "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv", + // "sourceType": "S3" } + // + // The S3 path that you specify must allow the FinSpace role access. To do that, + // you first need to configure the IAM policy on S3 bucket. For more information, + // see Loading data from an Amazon S3 Bucket using the FinSpace API (https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets)section. // // SourceParams is a required field SourceParams map[string]*string `locationName:"sourceParams" type:"map" required:"true"` @@ -4761,7 +4863,7 @@ type UpdateDatasetInput struct { // The unique resource identifier for a Dataset. Alias *string `locationName:"alias" min:"1" type:"string"` - // A token used to ensure idempotency. + // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` // A description for the Dataset. diff --git a/service/ioteventsdata/api.go b/service/ioteventsdata/api.go index 486dd7a47d2..2215de32307 100644 --- a/service/ioteventsdata/api.go +++ b/service/ioteventsdata/api.go @@ -323,12 +323,11 @@ func (c *IoTEventsData) BatchPutMessageRequest(input *BatchPutMessageInput) (req // BatchPutMessage API operation for AWS IoT Events Data. // -// Sends a set of messages to the AWS IoT Events system. Each message payload -// is transformed into the input you specify ("inputName") and ingested into -// any detectors that monitor that input. If multiple messages are sent, the -// order in which the messages are processed isn't guaranteed. To guarantee -// ordering, you must send messages one at a time and wait for a successful -// response. +// Sends a set of messages to the IoT Events system. Each message payload is +// transformed into the input you specify ("inputName") and ingested into any +// detectors that monitor that input. If multiple messages are sent, the order +// in which the messages are processed isn't guaranteed. To guarantee ordering, +// you must send messages one at a time and wait for a successful response. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4157,7 +4156,7 @@ type Timer struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The number of seconds which have elapsed on the timer. + // The expiration time for the timer. // // Timestamp is a required field Timestamp *time.Time `locationName:"timestamp" type:"timestamp" required:"true"` diff --git a/service/ioteventsdata/doc.go b/service/ioteventsdata/doc.go index e25e8859ef5..f789b84e59a 100644 --- a/service/ioteventsdata/doc.go +++ b/service/ioteventsdata/doc.go @@ -3,13 +3,13 @@ // Package ioteventsdata provides the client and types for making API // requests to AWS IoT Events Data. // -// AWS IoT Events monitors your equipment or device fleets for failures or changes -// in operation, and triggers actions when such events occur. You can use AWS -// IoT Events Data API commands to send inputs to detectors, list detectors, -// and view or update a detector's status. +// IoT Events monitors your equipment or device fleets for failures or changes +// in operation, and triggers actions when such events occur. You can use IoT +// Events Data API commands to send inputs to detectors, list detectors, and +// view or update a detector's status. // -// For more information, see What is AWS IoT Events? (https://docs.aws.amazon.com/iotevents/latest/developerguide/what-is-iotevents.html) -// in the AWS IoT Events Developer Guide. +// For more information, see What is IoT Events? (https://docs.aws.amazon.com/iotevents/latest/developerguide/what-is-iotevents.html) +// in the IoT Events Developer Guide. // // See https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23 for more information on this service. // diff --git a/service/kendra/api.go b/service/kendra/api.go index 995ce912883..314e193b5f1 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -827,6 +827,8 @@ func (c *Kendra) CreateFaqRequest(input *CreateFaqInput) (req *request.Request, // // Creates an new set of frequently asked question (FAQ) questions and answers. // +// Adding FAQs to an index is an asynchronous operation. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2824,6 +2826,12 @@ func (c *Kendra) GetSnapshotsRequest(input *GetSnapshotsInput) (req *request.Req Name: opGetSnapshots, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { @@ -2879,6 +2887,58 @@ func (c *Kendra) GetSnapshotsWithContext(ctx aws.Context, input *GetSnapshotsInp return out, req.Send() } +// GetSnapshotsPages iterates over the pages of a GetSnapshots operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetSnapshots method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetSnapshots operation. +// pageNum := 0 +// err := client.GetSnapshotsPages(params, +// func(page *kendra.GetSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Kendra) GetSnapshotsPages(input *GetSnapshotsInput, fn func(*GetSnapshotsOutput, bool) bool) error { + return c.GetSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetSnapshotsPagesWithContext same as GetSnapshotsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Kendra) GetSnapshotsPagesWithContext(ctx aws.Context, input *GetSnapshotsInput, fn func(*GetSnapshotsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetSnapshotsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetSnapshotsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetSnapshotsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListDataSourceSyncJobs = "ListDataSourceSyncJobs" // ListDataSourceSyncJobsRequest generates a "aws/request.Request" representing the @@ -13006,6 +13066,9 @@ func (s *Document) SetTitle(v string) *Document { } // A custom attribute value assigned to a document. +// +// For more information on how to create custom document attributes, see Custom +// Attributes (https://docs.aws.amazon.com/kendra/latest/dg/custom-attributes.html). type DocumentAttribute struct { _ struct{} `type:"structure"` @@ -13275,8 +13338,9 @@ type DocumentAttributeValue struct { // A date expressed as an ISO 8601 string. // // It is important for the time zone to be included in the ISO 8601 date-time - // format. For example, 20120325T123010+01:00 is the ISO 8601 date-time format - // for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time. + // format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time + // format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European + // Time. DateValue *time.Time `type:"timestamp"` // A long integer value. @@ -15204,11 +15268,11 @@ func (s *Highlight) SetType(v string) *Highlight { // Provides the configuration information for invoking a Lambda function in // Lambda to alter document metadata and content when ingesting documents into // Amazon Kendra. You can configure your Lambda function using PreExtractionHookConfiguration -// (https://docs.aws.amazon.com/kendra/latest/dg/API_PreExtractionHookConfiguration.html) +// (https://docs.aws.amazon.com/kendra/latest/dg/API_CustomDocumentEnrichmentConfiguration.html) // if you want to apply advanced alterations on the original or raw documents. // If you want to apply advanced alterations on the Amazon Kendra structured // documents, you must configure your Lambda function using PostExtractionHookConfiguration -// (https://docs.aws.amazon.com/kendra/latest/dg/API_PostExtractionHookConfiguration.html). +// (https://docs.aws.amazon.com/kendra/latest/dg/API_CustomDocumentEnrichmentConfiguration.html). // You can only invoke one Lambda function. However, this function can invoke // other functions it requires. // @@ -17948,9 +18012,7 @@ type QueryInput struct { QueryResultTypeFilter *string `type:"string" enum:"QueryResultType"` // The text to search for. - // - // QueryText is a required field - QueryText *string `min:"1" type:"string" required:"true"` + QueryText *string `min:"1" type:"string"` // An array of document attributes to include in the response. No other document // attributes are included in the response. By default all document attributes @@ -18002,9 +18064,6 @@ func (s *QueryInput) Validate() error { if s.IndexId != nil && len(*s.IndexId) < 36 { invalidParams.Add(request.NewErrParamMinLen("IndexId", 36)) } - if s.QueryText == nil { - invalidParams.Add(request.NewErrParamRequired("QueryText")) - } if s.QueryText != nil && len(*s.QueryText) < 1 { invalidParams.Add(request.NewErrParamMinLen("QueryText", 1)) } @@ -18146,6 +18205,13 @@ type QueryOutput struct { // up to 100 items. For example, if the search found 192 items, you can only // retrieve the first 100 of the items. TotalNumberOfResults *int64 `type:"integer"` + + // A list of warning codes and their messages on problems with your query. + // + // Amazon Kendra currently only supports one type of warning, which is a warning + // on invalid syntax used in the query. For examples of invalid query syntax, + // see Searching with advanced query syntax (https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax). + Warnings []*Warning `min:"1" type:"list"` } // String returns the string representation. @@ -18190,6 +18256,12 @@ func (s *QueryOutput) SetTotalNumberOfResults(v int64) *QueryOutput { return s } +// SetWarnings sets the Warnings field's value. +func (s *QueryOutput) SetWarnings(v []*Warning) *QueryOutput { + s.Warnings = v + return s +} + // A single query result. // // A query result contains information about a document returned by the query. @@ -23062,6 +23134,11 @@ func (s *UserContext) SetUserId(v string) *UserContext { // You must also grant the required permissions to use Amazon Web Services SSO // with Amazon Kendra. For more information, see IAM roles for Amazon Web Services // SSO (https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html#iam-roles-aws-sso). +// +// Amazon Kendra currently does not support using UserGroupResolutionConfiguration +// with an Amazon Web Services organization member account for your Amazon Web +// Services SSO identify source. You must create your index in the parent account +// for the organization in order to use UserGroupResolutionConfiguration. type UserGroupResolutionConfiguration struct { _ struct{} `type:"structure"` @@ -23286,6 +23363,47 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +// The warning code and message that explains a problem with a query. +type Warning struct { + _ struct{} `type:"structure"` + + // The code used to show the type of warning for the query. + Code *string `type:"string" enum:"WarningCode"` + + // The message that explains the problem with the query. + Message *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Warning) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Warning) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *Warning) SetCode(v string) *Warning { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *Warning) SetMessage(v string) *Warning { + s.Message = &v + return s +} + // Provides the configuration information required for Amazon Kendra Web Crawler. type WebCrawlerConfiguration struct { _ struct{} `type:"structure"` @@ -24853,6 +24971,18 @@ func UserGroupResolutionMode_Values() []string { } } +const ( + // WarningCodeQueryLanguageInvalidSyntax is a WarningCode enum value + WarningCodeQueryLanguageInvalidSyntax = "QUERY_LANGUAGE_INVALID_SYNTAX" +) + +// WarningCode_Values returns all elements of the WarningCode enum +func WarningCode_Values() []string { + return []string{ + WarningCodeQueryLanguageInvalidSyntax, + } +} + const ( // WebCrawlerModeHostOnly is a WebCrawlerMode enum value WebCrawlerModeHostOnly = "HOST_ONLY" diff --git a/service/kendra/kendraiface/interface.go b/service/kendra/kendraiface/interface.go index 3a52d5e0f13..bd5682e2821 100644 --- a/service/kendra/kendraiface/interface.go +++ b/service/kendra/kendraiface/interface.go @@ -184,6 +184,9 @@ type KendraAPI interface { GetSnapshotsWithContext(aws.Context, *kendra.GetSnapshotsInput, ...request.Option) (*kendra.GetSnapshotsOutput, error) GetSnapshotsRequest(*kendra.GetSnapshotsInput) (*request.Request, *kendra.GetSnapshotsOutput) + GetSnapshotsPages(*kendra.GetSnapshotsInput, func(*kendra.GetSnapshotsOutput, bool) bool) error + GetSnapshotsPagesWithContext(aws.Context, *kendra.GetSnapshotsInput, func(*kendra.GetSnapshotsOutput, bool) bool, ...request.Option) error + ListDataSourceSyncJobs(*kendra.ListDataSourceSyncJobsInput) (*kendra.ListDataSourceSyncJobsOutput, error) ListDataSourceSyncJobsWithContext(aws.Context, *kendra.ListDataSourceSyncJobsInput, ...request.Option) (*kendra.ListDataSourceSyncJobsOutput, error) ListDataSourceSyncJobsRequest(*kendra.ListDataSourceSyncJobsInput) (*request.Request, *kendra.ListDataSourceSyncJobsOutput) diff --git a/service/rds/api.go b/service/rds/api.go index 22fca069260..890136258da 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -2867,12 +2867,12 @@ func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput // = Availability, Backup. // // If you specify both the SourceType and SourceIds, such as SourceType = db-instance -// and SourceIdentifier = myDBInstance1, you are notified of all the db-instance -// events for the specified source. If you specify a SourceType but do not specify -// a SourceIdentifier, you receive notice of the events for that source type -// for all your RDS sources. If you don't specify either the SourceType or the -// SourceIdentifier, you are notified of events generated from all RDS sources -// belonging to your customer account. +// and SourceIds = myDBInstance1, you are notified of all the db-instance events +// for the specified source. If you specify a SourceType but do not specify +// SourceIds, you receive notice of the events for that source type for all +// your RDS sources. If you don't specify either the SourceType or the SourceIds, +// you are notified of events generated from all RDS sources belonging to your +// customer account. // // RDS event notification is only available for unencrypted SNS topics. If you // specify an encrypted SNS topic, event notifications aren't sent for the topic. @@ -8325,9 +8325,10 @@ func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput // DescribeEventCategories API operation for Amazon Relational Database Service. // // Displays a list of categories for all event source types, or, if specified, -// for a specified source type. You can see a list of the event categories and -// source types in Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) -// in the Amazon RDS User Guide. +// for a specified source type. You can also see this list in the "Amazon RDS +// event categories and event messages" section of the Amazon RDS User Guide +// (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html) +// or the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8549,12 +8550,12 @@ func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Re // DescribeEvents API operation for Amazon Relational Database Service. // // Returns events related to DB instances, DB clusters, DB parameter groups, -// DB security groups, DB snapshots, and DB cluster snapshots for the past 14 -// days. Events specific to a particular DB instances, DB clusters, DB parameter -// groups, DB security groups, DB snapshots, and DB cluster snapshots group -// can be obtained by providing the name as a parameter. +// DB security groups, DB snapshots, DB cluster snapshots, and RDS Proxies for +// the past 14 days. Events specific to a particular DB instance, DB cluster, +// DB parameter group, DB security group, DB snapshot, DB cluster snapshot group, +// or RDS Proxy can be obtained by providing the name as a parameter. // -// By default, the past hour of events are returned. +// By default, RDS returns events that were generated in the past hour. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -15937,6 +15938,8 @@ type AddSourceIdentifierToSubscriptionInput struct { // * If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier // value must be supplied. // + // * If the source type is an RDS Proxy, a DBProxyName value must be supplied. + // // SourceIdentifier is a required field SourceIdentifier *string `type:"string" required:"true"` @@ -17150,8 +17153,8 @@ type ConnectionPoolConfiguration struct { InitQuery *string `type:"string"` // The maximum size of the connection pool for each target in a target group. - // For Aurora MySQL, it is expressed as a percentage of the max_connections - // setting for the RDS DB instance or Aurora DB cluster used by the target group. + // The value is expressed as a percentage of the max_connections setting for + // the RDS DB instance or Aurora DB cluster used by the target group. // // Default: 100 // @@ -17159,11 +17162,11 @@ type ConnectionPoolConfiguration struct { MaxConnectionsPercent *int64 `type:"integer"` // Controls how actively the proxy closes idle database connections in the connection - // pool. A high value enables the proxy to leave a high percentage of idle connections - // open. A low value causes the proxy to close idle client connections and return - // the underlying database connections to the connection pool. For Aurora MySQL, - // it is expressed as a percentage of the max_connections setting for the RDS - // DB instance or Aurora DB cluster used by the target group. + // pool. The value is expressed as a percentage of the max_connections setting + // for the RDS DB instance or Aurora DB cluster used by the target group. With + // a high value, the proxy leaves a high percentage of idle database connections + // open. A low value causes the proxy to close more idle connections and return + // them to the database. // // Default: 50 // @@ -17246,16 +17249,16 @@ type ConnectionPoolConfigurationInfo struct { InitQuery *string `type:"string"` // The maximum size of the connection pool for each target in a target group. - // For Aurora MySQL, it is expressed as a percentage of the max_connections - // setting for the RDS DB instance or Aurora DB cluster used by the target group. + // The value is expressed as a percentage of the max_connections setting for + // the RDS DB instance or Aurora DB cluster used by the target group. MaxConnectionsPercent *int64 `type:"integer"` // Controls how actively the proxy closes idle database connections in the connection - // pool. A high value enables the proxy to leave a high percentage of idle connections - // open. A low value causes the proxy to close idle client connections and return - // the underlying database connections to the connection pool. For Aurora MySQL, - // it is expressed as a percentage of the max_connections setting for the RDS - // DB instance or Aurora DB cluster used by the target group. + // pool. The value is expressed as a percentage of the max_connections setting + // for the RDS DB instance or Aurora DB cluster used by the target group. With + // a high value, the proxy leaves a high percentage of idle database connections + // open. A low value causes the proxy to close more idle connections and return + // them to the database. MaxIdleConnectionsPercent *int64 `type:"integer"` // Each item in the list represents a class of SQL operations that normally @@ -23175,8 +23178,10 @@ type CreateEventSubscriptionInput struct { // A list of event categories for a particular source type (SourceType) that // you want to subscribe to. You can see a list of the categories for a given - // source type in Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) - // in the Amazon RDS User Guide or by using the DescribeEventCategories operation. + // source type in the "Amazon RDS event categories and event messages" section + // of the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html) + // or the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html). + // You can also see this list by using the DescribeEventCategories operation. EventCategories []*string `locationNameList:"EventCategory" type:"list"` // The Amazon Resource Name (ARN) of the SNS topic created for event notification. @@ -23212,14 +23217,17 @@ type CreateEventSubscriptionInput struct { // // * If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier // value must be supplied. + // + // * If the source type is an RDS Proxy, a DBProxyName value must be supplied. SourceIds []*string `locationNameList:"SourceId" type:"list"` // The type of source that is generating the events. For example, if you want // to be notified of events generated by a DB instance, you set this parameter - // to db-instance. If this value isn't specified, all events are returned. + // to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't + // specified, all events are returned. // // Valid values: db-instance | db-cluster | db-parameter-group | db-security-group - // | db-snapshot | db-cluster-snapshot + // | db-snapshot | db-cluster-snapshot | db-proxy SourceType *string `type:"string"` // The name of the subscription. @@ -34045,10 +34053,11 @@ type DescribeEventCategoriesInput struct { // This parameter isn't currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` - // The type of source that is generating the events. + // The type of source that is generating the events. For RDS Proxy events, specify + // db-proxy. // // Valid values: db-instance | db-cluster | db-parameter-group | db-security-group - // | db-snapshot | db-cluster-snapshot + // | db-snapshot | db-cluster-snapshot | db-proxy SourceType *string `type:"string"` } @@ -34324,6 +34333,8 @@ type DescribeEventsInput struct { // * If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier // value must be supplied. // + // * If the source type is an RDS Proxy, a DBProxyName value must be supplied. + // // * Can't end with a hyphen or contain two consecutive hyphens. SourceIdentifier *string `type:"string"` @@ -41778,10 +41789,11 @@ type ModifyEventSubscriptionInput struct { // The type of source that is generating the events. For example, if you want // to be notified of events generated by a DB instance, you would set this parameter - // to db-instance. If this value isn't specified, all events are returned. + // to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't + // specified, all events are returned. // // Valid values: db-instance | db-cluster | db-parameter-group | db-security-group - // | db-snapshot | db-cluster-snapshot + // | db-snapshot | db-cluster-snapshot | db-proxy SourceType *string `type:"string"` // The name of the RDS event notification subscription. @@ -51659,6 +51671,9 @@ const ( // SourceTypeCustomEngineVersion is a SourceType enum value SourceTypeCustomEngineVersion = "custom-engine-version" + + // SourceTypeDbProxy is a SourceType enum value + SourceTypeDbProxy = "db-proxy" ) // SourceType_Values returns all elements of the SourceType enum @@ -51671,6 +51686,7 @@ func SourceType_Values() []string { SourceTypeDbCluster, SourceTypeDbClusterSnapshot, SourceTypeCustomEngineVersion, + SourceTypeDbProxy, } } diff --git a/service/workspaces/api.go b/service/workspaces/api.go index 4f835363ee0..86e35cf9a30 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -413,6 +413,101 @@ func (c *WorkSpaces) CopyWorkspaceImageWithContext(ctx aws.Context, input *CopyW return out, req.Send() } +const opCreateConnectClientAddIn = "CreateConnectClientAddIn" + +// CreateConnectClientAddInRequest generates a "aws/request.Request" representing the +// client's request for the CreateConnectClientAddIn operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateConnectClientAddIn for more information on using the CreateConnectClientAddIn +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateConnectClientAddInRequest method. +// req, resp := client.CreateConnectClientAddInRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateConnectClientAddIn +func (c *WorkSpaces) CreateConnectClientAddInRequest(input *CreateConnectClientAddInInput) (req *request.Request, output *CreateConnectClientAddInOutput) { + op := &request.Operation{ + Name: opCreateConnectClientAddIn, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateConnectClientAddInInput{} + } + + output = &CreateConnectClientAddInOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateConnectClientAddIn API operation for Amazon WorkSpaces. +// +// Creates a client-add-in for Amazon Connect within a directory. You can create +// only one Amazon Connect client add-in within a directory. +// +// This client add-in allows WorkSpaces users to seamlessly connect to Amazon +// Connect. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation CreateConnectClientAddIn for usage and error information. +// +// Returned Error Types: +// * InvalidParameterValuesException +// One or more parameter values are not valid. +// +// * ResourceNotFoundException +// The resource could not be found. +// +// * ResourceCreationFailedException +// The resource could not be created. +// +// * ResourceAlreadyExistsException +// The specified resource already exists. +// +// * AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateConnectClientAddIn +func (c *WorkSpaces) CreateConnectClientAddIn(input *CreateConnectClientAddInInput) (*CreateConnectClientAddInOutput, error) { + req, out := c.CreateConnectClientAddInRequest(input) + return out, req.Send() +} + +// CreateConnectClientAddInWithContext is the same as CreateConnectClientAddIn with the addition of +// the ability to pass a context and additional request options. +// +// See CreateConnectClientAddIn for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) CreateConnectClientAddInWithContext(ctx aws.Context, input *CreateConnectClientAddInInput, opts ...request.Option) (*CreateConnectClientAddInOutput, error) { + req, out := c.CreateConnectClientAddInRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateConnectionAlias = "CreateConnectionAlias" // CreateConnectionAliasRequest generates a "aws/request.Request" representing the @@ -988,6 +1083,92 @@ func (c *WorkSpaces) CreateWorkspacesWithContext(ctx aws.Context, input *CreateW return out, req.Send() } +const opDeleteConnectClientAddIn = "DeleteConnectClientAddIn" + +// DeleteConnectClientAddInRequest generates a "aws/request.Request" representing the +// client's request for the DeleteConnectClientAddIn operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteConnectClientAddIn for more information on using the DeleteConnectClientAddIn +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteConnectClientAddInRequest method. +// req, resp := client.DeleteConnectClientAddInRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteConnectClientAddIn +func (c *WorkSpaces) DeleteConnectClientAddInRequest(input *DeleteConnectClientAddInInput) (req *request.Request, output *DeleteConnectClientAddInOutput) { + op := &request.Operation{ + Name: opDeleteConnectClientAddIn, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteConnectClientAddInInput{} + } + + output = &DeleteConnectClientAddInOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteConnectClientAddIn API operation for Amazon WorkSpaces. +// +// Deletes a client-add-in for Amazon Connect that is configured within a directory. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation DeleteConnectClientAddIn for usage and error information. +// +// Returned Error Types: +// * InvalidParameterValuesException +// One or more parameter values are not valid. +// +// * ResourceNotFoundException +// The resource could not be found. +// +// * AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteConnectClientAddIn +func (c *WorkSpaces) DeleteConnectClientAddIn(input *DeleteConnectClientAddInInput) (*DeleteConnectClientAddInOutput, error) { + req, out := c.DeleteConnectClientAddInRequest(input) + return out, req.Send() +} + +// DeleteConnectClientAddInWithContext is the same as DeleteConnectClientAddIn with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteConnectClientAddIn for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) DeleteConnectClientAddInWithContext(ctx aws.Context, input *DeleteConnectClientAddInInput, opts ...request.Option) (*DeleteConnectClientAddInOutput, error) { + req, out := c.DeleteConnectClientAddInRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteConnectionAlias = "DeleteConnectionAlias" // DeleteConnectionAliasRequest generates a "aws/request.Request" representing the @@ -1797,6 +1978,91 @@ func (c *WorkSpaces) DescribeClientPropertiesWithContext(ctx aws.Context, input return out, req.Send() } +const opDescribeConnectClientAddIns = "DescribeConnectClientAddIns" + +// DescribeConnectClientAddInsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeConnectClientAddIns operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeConnectClientAddIns for more information on using the DescribeConnectClientAddIns +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeConnectClientAddInsRequest method. +// req, resp := client.DescribeConnectClientAddInsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectClientAddIns +func (c *WorkSpaces) DescribeConnectClientAddInsRequest(input *DescribeConnectClientAddInsInput) (req *request.Request, output *DescribeConnectClientAddInsOutput) { + op := &request.Operation{ + Name: opDescribeConnectClientAddIns, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeConnectClientAddInsInput{} + } + + output = &DescribeConnectClientAddInsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeConnectClientAddIns API operation for Amazon WorkSpaces. +// +// Retrieves a list of Amazon Connect client add-ins that have been created. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation DescribeConnectClientAddIns for usage and error information. +// +// Returned Error Types: +// * InvalidParameterValuesException +// One or more parameter values are not valid. +// +// * ResourceNotFoundException +// The resource could not be found. +// +// * AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectClientAddIns +func (c *WorkSpaces) DescribeConnectClientAddIns(input *DescribeConnectClientAddInsInput) (*DescribeConnectClientAddInsOutput, error) { + req, out := c.DescribeConnectClientAddInsRequest(input) + return out, req.Send() +} + +// DescribeConnectClientAddInsWithContext is the same as DescribeConnectClientAddIns with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeConnectClientAddIns for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) DescribeConnectClientAddInsWithContext(ctx aws.Context, input *DescribeConnectClientAddInsInput, opts ...request.Option) (*DescribeConnectClientAddInsOutput, error) { + req, out := c.DescribeConnectClientAddInsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeConnectionAliasPermissions = "DescribeConnectionAliasPermissions" // DescribeConnectionAliasPermissionsRequest generates a "aws/request.Request" representing the @@ -4713,6 +4979,93 @@ func (c *WorkSpaces) TerminateWorkspacesWithContext(ctx aws.Context, input *Term return out, req.Send() } +const opUpdateConnectClientAddIn = "UpdateConnectClientAddIn" + +// UpdateConnectClientAddInRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConnectClientAddIn operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateConnectClientAddIn for more information on using the UpdateConnectClientAddIn +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateConnectClientAddInRequest method. +// req, resp := client.UpdateConnectClientAddInRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectClientAddIn +func (c *WorkSpaces) UpdateConnectClientAddInRequest(input *UpdateConnectClientAddInInput) (req *request.Request, output *UpdateConnectClientAddInOutput) { + op := &request.Operation{ + Name: opUpdateConnectClientAddIn, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateConnectClientAddInInput{} + } + + output = &UpdateConnectClientAddInOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateConnectClientAddIn API operation for Amazon WorkSpaces. +// +// Updates a Amazon Connect client add-in. Use this action to update the name +// and endpoint URL of a Amazon Connect client add-in. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkSpaces's +// API operation UpdateConnectClientAddIn for usage and error information. +// +// Returned Error Types: +// * InvalidParameterValuesException +// One or more parameter values are not valid. +// +// * ResourceNotFoundException +// The resource could not be found. +// +// * AccessDeniedException +// The user is not authorized to access a resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectClientAddIn +func (c *WorkSpaces) UpdateConnectClientAddIn(input *UpdateConnectClientAddInInput) (*UpdateConnectClientAddInOutput, error) { + req, out := c.UpdateConnectClientAddInRequest(input) + return out, req.Send() +} + +// UpdateConnectClientAddInWithContext is the same as UpdateConnectClientAddIn with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConnectClientAddIn for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkSpaces) UpdateConnectClientAddInWithContext(ctx aws.Context, input *UpdateConnectClientAddInInput, opts ...request.Option) (*UpdateConnectClientAddInOutput, error) { + req, out := c.UpdateConnectClientAddInRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateConnectionAliasPermission = "UpdateConnectionAliasPermission" // UpdateConnectionAliasPermissionRequest generates a "aws/request.Request" representing the @@ -5645,6 +5998,65 @@ func (s *ComputeType) SetName(v string) *ComputeType { return s } +// Describes an Amazon Connect client add-in. +type ConnectClientAddIn struct { + _ struct{} `type:"structure"` + + // The client add-in identifier. + AddInId *string `min:"36" type:"string"` + + // The name of the client add in. + Name *string `min:"1" type:"string"` + + // The directory identifier for which the client add-in is configured. + ResourceId *string `min:"10" type:"string"` + + // The endpoint URL of the client add-in. + URL *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConnectClientAddIn) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConnectClientAddIn) GoString() string { + return s.String() +} + +// SetAddInId sets the AddInId field's value. +func (s *ConnectClientAddIn) SetAddInId(v string) *ConnectClientAddIn { + s.AddInId = &v + return s +} + +// SetName sets the Name field's value. +func (s *ConnectClientAddIn) SetName(v string) *ConnectClientAddIn { + s.Name = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *ConnectClientAddIn) SetResourceId(v string) *ConnectClientAddIn { + s.ResourceId = &v + return s +} + +// SetURL sets the URL field's value. +func (s *ConnectClientAddIn) SetURL(v string) *ConnectClientAddIn { + s.URL = &v + return s +} + // Describes a connection alias. Connection aliases are used for cross-Region // redirection. For more information, see Cross-Region Redirection for Amazon // WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html). @@ -5958,11 +6370,125 @@ func (s *CopyWorkspaceImageInput) SetTags(v []*Tag) *CopyWorkspaceImageInput { return s } -type CopyWorkspaceImageOutput struct { +type CopyWorkspaceImageOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the image. + ImageId *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CopyWorkspaceImageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CopyWorkspaceImageOutput) GoString() string { + return s.String() +} + +// SetImageId sets the ImageId field's value. +func (s *CopyWorkspaceImageOutput) SetImageId(v string) *CopyWorkspaceImageOutput { + s.ImageId = &v + return s +} + +type CreateConnectClientAddInInput struct { + _ struct{} `type:"structure"` + + // The name of the client add-in. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The directory identifier for which to configure the client add-in. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` + + // The endpoint URL of the Amazon Connect client add-in. + // + // URL is a required field + URL *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConnectClientAddInInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateConnectClientAddInInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateConnectClientAddInInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateConnectClientAddInInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + if s.URL == nil { + invalidParams.Add(request.NewErrParamRequired("URL")) + } + if s.URL != nil && len(*s.URL) < 1 { + invalidParams.Add(request.NewErrParamMinLen("URL", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *CreateConnectClientAddInInput) SetName(v string) *CreateConnectClientAddInInput { + s.Name = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *CreateConnectClientAddInInput) SetResourceId(v string) *CreateConnectClientAddInInput { + s.ResourceId = &v + return s +} + +// SetURL sets the URL field's value. +func (s *CreateConnectClientAddInInput) SetURL(v string) *CreateConnectClientAddInInput { + s.URL = &v + return s +} + +type CreateConnectClientAddInOutput struct { _ struct{} `type:"structure"` - // The identifier of the image. - ImageId *string `type:"string"` + // The client add-in identifier. + AddInId *string `min:"36" type:"string"` } // String returns the string representation. @@ -5970,7 +6496,7 @@ type CopyWorkspaceImageOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CopyWorkspaceImageOutput) String() string { +func (s CreateConnectClientAddInOutput) String() string { return awsutil.Prettify(s) } @@ -5979,13 +6505,13 @@ func (s CopyWorkspaceImageOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CopyWorkspaceImageOutput) GoString() string { +func (s CreateConnectClientAddInOutput) GoString() string { return s.String() } -// SetImageId sets the ImageId field's value. -func (s *CopyWorkspaceImageOutput) SetImageId(v string) *CopyWorkspaceImageOutput { - s.ImageId = &v +// SetAddInId sets the AddInId field's value. +func (s *CreateConnectClientAddInOutput) SetAddInId(v string) *CreateConnectClientAddInOutput { + s.AddInId = &v return s } @@ -6811,6 +7337,94 @@ func (s *DefaultWorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator( return s } +type DeleteConnectClientAddInInput struct { + _ struct{} `type:"structure"` + + // The identifier of the client add-in to delete. + // + // AddInId is a required field + AddInId *string `min:"36" type:"string" required:"true"` + + // The directory identifier for which the client add-in is configured. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteConnectClientAddInInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteConnectClientAddInInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteConnectClientAddInInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteConnectClientAddInInput"} + if s.AddInId == nil { + invalidParams.Add(request.NewErrParamRequired("AddInId")) + } + if s.AddInId != nil && len(*s.AddInId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("AddInId", 36)) + } + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAddInId sets the AddInId field's value. +func (s *DeleteConnectClientAddInInput) SetAddInId(v string) *DeleteConnectClientAddInInput { + s.AddInId = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *DeleteConnectClientAddInInput) SetResourceId(v string) *DeleteConnectClientAddInInput { + s.ResourceId = &v + return s +} + +type DeleteConnectClientAddInOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteConnectClientAddInOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteConnectClientAddInOutput) GoString() string { + return s.String() +} + type DeleteConnectionAliasInput struct { _ struct{} `type:"structure"` @@ -7465,6 +8079,121 @@ func (s *DescribeClientPropertiesOutput) SetClientPropertiesList(v []*ClientProp return s } +type DescribeConnectClientAddInsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of items to return. + MaxResults *int64 `min:"1" type:"integer"` + + // If you received a NextToken from a previous call that was paginated, provide + // this token to receive the next set of results. + NextToken *string `min:"1" type:"string"` + + // The directory identifier for which the client add-in is configured. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeConnectClientAddInsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeConnectClientAddInsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeConnectClientAddInsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeConnectClientAddInsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeConnectClientAddInsInput) SetMaxResults(v int64) *DescribeConnectClientAddInsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeConnectClientAddInsInput) SetNextToken(v string) *DescribeConnectClientAddInsInput { + s.NextToken = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *DescribeConnectClientAddInsInput) SetResourceId(v string) *DescribeConnectClientAddInsInput { + s.ResourceId = &v + return s +} + +type DescribeConnectClientAddInsOutput struct { + _ struct{} `type:"structure"` + + // Information about client add-ins. + AddIns []*ConnectClientAddIn `type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeConnectClientAddInsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeConnectClientAddInsOutput) GoString() string { + return s.String() +} + +// SetAddIns sets the AddIns field's value. +func (s *DescribeConnectClientAddInsOutput) SetAddIns(v []*ConnectClientAddIn) *DescribeConnectClientAddInsOutput { + s.AddIns = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeConnectClientAddInsOutput) SetNextToken(v string) *DescribeConnectClientAddInsOutput { + s.NextToken = &v + return s +} + type DescribeConnectionAliasPermissionsInput struct { _ struct{} `type:"structure"` @@ -12055,6 +12784,118 @@ func (s *UnsupportedWorkspaceConfigurationException) RequestID() string { return s.RespMetadata.RequestID } +type UpdateConnectClientAddInInput struct { + _ struct{} `type:"structure"` + + // The identifier of the client add-in to update. + // + // AddInId is a required field + AddInId *string `min:"36" type:"string" required:"true"` + + // The name of the client add-in. + Name *string `min:"1" type:"string"` + + // The directory identifier for which the client add-in is configured. + // + // ResourceId is a required field + ResourceId *string `min:"10" type:"string" required:"true"` + + // The endpoint URL of the Amazon Connect client add-in. + URL *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConnectClientAddInInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConnectClientAddInInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConnectClientAddInInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConnectClientAddInInput"} + if s.AddInId == nil { + invalidParams.Add(request.NewErrParamRequired("AddInId")) + } + if s.AddInId != nil && len(*s.AddInId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("AddInId", 36)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.ResourceId == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceId")) + } + if s.ResourceId != nil && len(*s.ResourceId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("ResourceId", 10)) + } + if s.URL != nil && len(*s.URL) < 1 { + invalidParams.Add(request.NewErrParamMinLen("URL", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAddInId sets the AddInId field's value. +func (s *UpdateConnectClientAddInInput) SetAddInId(v string) *UpdateConnectClientAddInInput { + s.AddInId = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateConnectClientAddInInput) SetName(v string) *UpdateConnectClientAddInInput { + s.Name = &v + return s +} + +// SetResourceId sets the ResourceId field's value. +func (s *UpdateConnectClientAddInInput) SetResourceId(v string) *UpdateConnectClientAddInInput { + s.ResourceId = &v + return s +} + +// SetURL sets the URL field's value. +func (s *UpdateConnectClientAddInInput) SetURL(v string) *UpdateConnectClientAddInInput { + s.URL = &v + return s +} + +type UpdateConnectClientAddInOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConnectClientAddInOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateConnectClientAddInOutput) GoString() string { + return s.String() +} + type UpdateConnectionAliasPermissionInput struct { _ struct{} `type:"structure"` diff --git a/service/workspaces/workspacesiface/interface.go b/service/workspaces/workspacesiface/interface.go index 1ed1c56e349..4ee719f13fe 100644 --- a/service/workspaces/workspacesiface/interface.go +++ b/service/workspaces/workspacesiface/interface.go @@ -76,6 +76,10 @@ type WorkSpacesAPI interface { CopyWorkspaceImageWithContext(aws.Context, *workspaces.CopyWorkspaceImageInput, ...request.Option) (*workspaces.CopyWorkspaceImageOutput, error) CopyWorkspaceImageRequest(*workspaces.CopyWorkspaceImageInput) (*request.Request, *workspaces.CopyWorkspaceImageOutput) + CreateConnectClientAddIn(*workspaces.CreateConnectClientAddInInput) (*workspaces.CreateConnectClientAddInOutput, error) + CreateConnectClientAddInWithContext(aws.Context, *workspaces.CreateConnectClientAddInInput, ...request.Option) (*workspaces.CreateConnectClientAddInOutput, error) + CreateConnectClientAddInRequest(*workspaces.CreateConnectClientAddInInput) (*request.Request, *workspaces.CreateConnectClientAddInOutput) + CreateConnectionAlias(*workspaces.CreateConnectionAliasInput) (*workspaces.CreateConnectionAliasOutput, error) CreateConnectionAliasWithContext(aws.Context, *workspaces.CreateConnectionAliasInput, ...request.Option) (*workspaces.CreateConnectionAliasOutput, error) CreateConnectionAliasRequest(*workspaces.CreateConnectionAliasInput) (*request.Request, *workspaces.CreateConnectionAliasOutput) @@ -100,6 +104,10 @@ type WorkSpacesAPI interface { CreateWorkspacesWithContext(aws.Context, *workspaces.CreateWorkspacesInput, ...request.Option) (*workspaces.CreateWorkspacesOutput, error) CreateWorkspacesRequest(*workspaces.CreateWorkspacesInput) (*request.Request, *workspaces.CreateWorkspacesOutput) + DeleteConnectClientAddIn(*workspaces.DeleteConnectClientAddInInput) (*workspaces.DeleteConnectClientAddInOutput, error) + DeleteConnectClientAddInWithContext(aws.Context, *workspaces.DeleteConnectClientAddInInput, ...request.Option) (*workspaces.DeleteConnectClientAddInOutput, error) + DeleteConnectClientAddInRequest(*workspaces.DeleteConnectClientAddInInput) (*request.Request, *workspaces.DeleteConnectClientAddInOutput) + DeleteConnectionAlias(*workspaces.DeleteConnectionAliasInput) (*workspaces.DeleteConnectionAliasOutput, error) DeleteConnectionAliasWithContext(aws.Context, *workspaces.DeleteConnectionAliasInput, ...request.Option) (*workspaces.DeleteConnectionAliasOutput, error) DeleteConnectionAliasRequest(*workspaces.DeleteConnectionAliasInput) (*request.Request, *workspaces.DeleteConnectionAliasOutput) @@ -136,6 +144,10 @@ type WorkSpacesAPI interface { DescribeClientPropertiesWithContext(aws.Context, *workspaces.DescribeClientPropertiesInput, ...request.Option) (*workspaces.DescribeClientPropertiesOutput, error) DescribeClientPropertiesRequest(*workspaces.DescribeClientPropertiesInput) (*request.Request, *workspaces.DescribeClientPropertiesOutput) + DescribeConnectClientAddIns(*workspaces.DescribeConnectClientAddInsInput) (*workspaces.DescribeConnectClientAddInsOutput, error) + DescribeConnectClientAddInsWithContext(aws.Context, *workspaces.DescribeConnectClientAddInsInput, ...request.Option) (*workspaces.DescribeConnectClientAddInsOutput, error) + DescribeConnectClientAddInsRequest(*workspaces.DescribeConnectClientAddInsInput) (*request.Request, *workspaces.DescribeConnectClientAddInsOutput) + DescribeConnectionAliasPermissions(*workspaces.DescribeConnectionAliasPermissionsInput) (*workspaces.DescribeConnectionAliasPermissionsOutput, error) DescribeConnectionAliasPermissionsWithContext(aws.Context, *workspaces.DescribeConnectionAliasPermissionsInput, ...request.Option) (*workspaces.DescribeConnectionAliasPermissionsOutput, error) DescribeConnectionAliasPermissionsRequest(*workspaces.DescribeConnectionAliasPermissionsInput) (*request.Request, *workspaces.DescribeConnectionAliasPermissionsOutput) @@ -269,6 +281,10 @@ type WorkSpacesAPI interface { TerminateWorkspacesWithContext(aws.Context, *workspaces.TerminateWorkspacesInput, ...request.Option) (*workspaces.TerminateWorkspacesOutput, error) TerminateWorkspacesRequest(*workspaces.TerminateWorkspacesInput) (*request.Request, *workspaces.TerminateWorkspacesOutput) + UpdateConnectClientAddIn(*workspaces.UpdateConnectClientAddInInput) (*workspaces.UpdateConnectClientAddInOutput, error) + UpdateConnectClientAddInWithContext(aws.Context, *workspaces.UpdateConnectClientAddInInput, ...request.Option) (*workspaces.UpdateConnectClientAddInOutput, error) + UpdateConnectClientAddInRequest(*workspaces.UpdateConnectClientAddInInput) (*request.Request, *workspaces.UpdateConnectClientAddInOutput) + UpdateConnectionAliasPermission(*workspaces.UpdateConnectionAliasPermissionInput) (*workspaces.UpdateConnectionAliasPermissionOutput, error) UpdateConnectionAliasPermissionWithContext(aws.Context, *workspaces.UpdateConnectionAliasPermissionInput, ...request.Option) (*workspaces.UpdateConnectionAliasPermissionOutput, error) UpdateConnectionAliasPermissionRequest(*workspaces.UpdateConnectionAliasPermissionInput) (*request.Request, *workspaces.UpdateConnectionAliasPermissionOutput)