From f22cb4d0fdae9e39260e631e22b5b8b0bfee70dc Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 10 Jan 2022 11:20:14 -0800 Subject: [PATCH] Release v1.42.31 (2022-01-10) (#4235) Release v1.42.31 (2022-01-10) === ### Service Client Updates * `service/compute-optimizer`: Updates service API and documentation * `service/databrew`: Updates service API and documentation * `service/ec2`: Updates service API, documentation, and paginators * New feature: Updated EC2 API to support faster launching for Windows images. Optimized images are pre-provisioned, using snapshots to launch instances up to 65% faster. * `service/lookoutmetrics`: Updates service API and documentation * `service/transcribe`: Updates service documentation --- CHANGELOG.md | 11 + aws/version.go | 2 +- .../compute-optimizer/2019-11-01/api-2.json | 71 +- .../compute-optimizer/2019-11-01/docs-2.json | 50 +- models/apis/databrew/2017-07-25/api-2.json | 9 +- models/apis/databrew/2017-07-25/docs-2.json | 10 +- models/apis/ec2/2016-11-15/api-2.json | 280 +++- models/apis/ec2/2016-11-15/docs-2.json | 145 ++- models/apis/ec2/2016-11-15/paginators-1.json | 6 + .../apis/lookoutmetrics/2017-07-25/api-2.json | 40 +- .../lookoutmetrics/2017-07-25/docs-2.json | 8 +- models/apis/transcribe/2017-10-26/docs-2.json | 80 +- service/computeoptimizer/api.go | 295 ++++- service/ec2/api.go | 1146 +++++++++++++++++ service/ec2/ec2iface/interface.go | 15 + service/gluedatabrew/api.go | 30 +- service/lookoutmetrics/api.go | 205 +-- service/transcribeservice/api.go | 83 +- 18 files changed, 2178 insertions(+), 308 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d5cd2939cf..ff9ed68e5e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.42.31 (2022-01-10) +=== + +### Service Client Updates +* `service/compute-optimizer`: Updates service API and documentation +* `service/databrew`: Updates service API and documentation +* `service/ec2`: Updates service API, documentation, and paginators + * New feature: Updated EC2 API to support faster launching for Windows images. Optimized images are pre-provisioned, using snapshots to launch instances up to 65% faster. +* `service/lookoutmetrics`: Updates service API and documentation +* `service/transcribe`: Updates service documentation + Release v1.42.30 (2022-01-07) === diff --git a/aws/version.go b/aws/version.go index 426139b7651..41187c4aa49 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.30" +const SDKVersion = "1.42.31" diff --git a/models/apis/compute-optimizer/2019-11-01/api-2.json b/models/apis/compute-optimizer/2019-11-01/api-2.json index 8fa79e03235..22b6da313ea 100644 --- a/models/apis/compute-optimizer/2019-11-01/api-2.json +++ b/models/apis/compute-optimizer/2019-11-01/api-2.json @@ -404,7 +404,8 @@ "recommendationOptions":{"shape":"AutoScalingGroupRecommendationOptions"}, "lastRefreshTimestamp":{"shape":"LastRefreshTimestamp"}, "currentPerformanceRisk":{"shape":"CurrentPerformanceRisk"}, - "effectiveRecommendationPreferences":{"shape":"EffectiveRecommendationPreferences"} + "effectiveRecommendationPreferences":{"shape":"EffectiveRecommendationPreferences"}, + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypes"} } }, "AutoScalingGroupRecommendationOption":{ @@ -414,7 +415,8 @@ "projectedUtilizationMetrics":{"shape":"ProjectedUtilizationMetrics"}, "performanceRisk":{"shape":"PerformanceRisk"}, "rank":{"shape":"Rank"}, - "savingsOpportunity":{"shape":"SavingsOpportunity"} + "savingsOpportunity":{"shape":"SavingsOpportunity"}, + "migrationEffort":{"shape":"MigrationEffort"} } }, "AutoScalingGroupRecommendationOptions":{ @@ -548,7 +550,8 @@ "type":"structure", "members":{ "cpuVendorArchitectures":{"shape":"CpuVendorArchitectures"}, - "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"} + "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"}, + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"} } }, "EnhancedInfrastructureMetrics":{ @@ -718,7 +721,10 @@ "RecommendationOptionsEstimatedMonthlySavingsCurrency", "RecommendationOptionsEstimatedMonthlySavingsValue", "EffectiveRecommendationPreferencesCpuVendorArchitectures", - "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" + "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics", + "EffectiveRecommendationPreferencesInferredWorkloadTypes", + "InferredWorkloadTypes", + "RecommendationOptionsMigrationEffort" ] }, "ExportableAutoScalingGroupFields":{ @@ -776,7 +782,10 @@ "RecommendationOptionsEstimatedMonthlySavingsCurrency", "RecommendationOptionsEstimatedMonthlySavingsValue", "EffectiveRecommendationPreferencesCpuVendorArchitectures", - "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" + "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics", + "EffectiveRecommendationPreferencesInferredWorkloadTypes", + "InferredWorkloadTypes", + "RecommendationOptionsMigrationEffort" ] }, "ExportableInstanceFields":{ @@ -1093,6 +1102,29 @@ "High":{"type":"long"}, "Identifier":{"type":"string"}, "IncludeMemberAccounts":{"type":"boolean"}, + "InferredWorkloadType":{ + "type":"string", + "enum":[ + "AmazonEmr", + "ApacheCassandra", + "ApacheHadoop", + "Memcached", + "Nginx", + "PostgreSql", + "Redis" + ] + }, + "InferredWorkloadTypes":{ + "type":"list", + "member":{"shape":"InferredWorkloadType"} + }, + "InferredWorkloadTypesPreference":{ + "type":"string", + "enum":[ + "Active", + "Inactive" + ] + }, "InstanceArn":{"type":"string"}, "InstanceArns":{ "type":"list", @@ -1114,7 +1146,8 @@ "recommendationSources":{"shape":"RecommendationSources"}, "lastRefreshTimestamp":{"shape":"LastRefreshTimestamp"}, "currentPerformanceRisk":{"shape":"CurrentPerformanceRisk"}, - "effectiveRecommendationPreferences":{"shape":"EffectiveRecommendationPreferences"} + "effectiveRecommendationPreferences":{"shape":"EffectiveRecommendationPreferences"}, + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypes"} } }, "InstanceRecommendationFindingReasonCode":{ @@ -1150,7 +1183,8 @@ "platformDifferences":{"shape":"PlatformDifferences"}, "performanceRisk":{"shape":"PerformanceRisk"}, "rank":{"shape":"Rank"}, - "savingsOpportunity":{"shape":"SavingsOpportunity"} + "savingsOpportunity":{"shape":"SavingsOpportunity"}, + "migrationEffort":{"shape":"MigrationEffort"} } }, "InstanceRecommendations":{ @@ -1382,6 +1416,15 @@ "type":"list", "member":{"shape":"MetricValue"} }, + "MigrationEffort":{ + "type":"string", + "enum":[ + "VeryLow", + "Low", + "Medium", + "High" + ] + }, "MinSize":{"type":"integer"}, "MissingAuthenticationToken":{ "type":"structure", @@ -1445,7 +1488,8 @@ "members":{ "resourceType":{"shape":"ResourceType"}, "scope":{"shape":"Scope"}, - "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"} + "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"}, + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"} } }, "PutRecommendationPreferencesResponse":{ @@ -1487,7 +1531,10 @@ }, "RecommendationPreferenceName":{ "type":"string", - "enum":["EnhancedInfrastructureMetrics"] + "enum":[ + "EnhancedInfrastructureMetrics", + "InferredWorkloadTypes" + ] }, "RecommendationPreferenceNames":{ "type":"list", @@ -1504,7 +1551,8 @@ "members":{ "scope":{"shape":"Scope"}, "resourceType":{"shape":"ResourceType"}, - "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"} + "enhancedInfrastructureMetrics":{"shape":"EnhancedInfrastructureMetrics"}, + "inferredWorkloadTypes":{"shape":"InferredWorkloadTypesPreference"} } }, "RecommendationPreferencesDetails":{ @@ -1574,7 +1622,8 @@ "Ec2Instance", "AutoScalingGroup", "EbsVolume", - "LambdaFunction" + "LambdaFunction", + "NotApplicable" ] }, "S3Destination":{ diff --git a/models/apis/compute-optimizer/2019-11-01/docs-2.json b/models/apis/compute-optimizer/2019-11-01/docs-2.json index c96264c7a88..e256b7972df 100644 --- a/models/apis/compute-optimizer/2019-11-01/docs-2.json +++ b/models/apis/compute-optimizer/2019-11-01/docs-2.json @@ -156,8 +156,8 @@ "base": null, "refs": { "AutoScalingGroupRecommendation$currentPerformanceRisk": "

The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.

", - "InstanceRecommendation$currentPerformanceRisk": "

The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function requires more memory.

", - "LambdaFunctionRecommendation$currentPerformanceRisk": "

The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function configuration is underperforming in its workload.

", + "InstanceRecommendation$currentPerformanceRisk": "

The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload.

", + "LambdaFunctionRecommendation$currentPerformanceRisk": "

The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function requires more memory.

", "VolumeRecommendation$currentPerformanceRisk": "

The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.

" } }, @@ -265,10 +265,10 @@ "EnhancedInfrastructureMetrics": { "base": null, "refs": { - "EffectiveRecommendationPreferences$enhancedInfrastructureMetrics": "

Describes the activation status of the enhanced infrastructure metrics preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied.

", - "GetEffectiveRecommendationPreferencesResponse$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied.

To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

", - "PutRecommendationPreferencesRequest$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference to create or update.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied.

", - "RecommendationPreferencesDetail$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied.

" + "EffectiveRecommendationPreferences$enhancedInfrastructureMetrics": "

Describes the activation status of the enhanced infrastructure metrics preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

", + "GetEffectiveRecommendationPreferencesResponse$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations.

To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

", + "PutRecommendationPreferencesRequest$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference to create or update.

Specify the Active status to activate the preference, or specify Inactive to deactivate the preference.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

", + "RecommendationPreferencesDetail$enhancedInfrastructureMetrics": "

The status of the enhanced infrastructure metrics recommendation preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations.

For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

" } }, "EnrollmentFilter": { @@ -304,9 +304,9 @@ } }, "EstimatedMonthlySavings": { - "base": "

Describes the estimated monthly savings amount possible for a given resource based on On-Demand instance pricing

For more information, see Estimated monthly savings and savings opportunities in the Compute Optimizer User Guide.

", + "base": "

Describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.

For more information, see Estimated monthly savings and savings opportunities in the Compute Optimizer User Guide.

", "refs": { - "SavingsOpportunity$estimatedMonthlySavings": "

An object that describes the estimated monthly savings amount possible based on On-Demand instance pricing.

" + "SavingsOpportunity$estimatedMonthlySavings": "

An object that describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.

" } }, "ExportAutoScalingGroupRecommendationsRequest": { @@ -624,6 +624,27 @@ "UpdateEnrollmentStatusRequest$includeMemberAccounts": "

Indicates whether to enroll member accounts of the organization if the account is the management account of an organization.

" } }, + "InferredWorkloadType": { + "base": null, + "refs": { + "InferredWorkloadTypes$member": null + } + }, + "InferredWorkloadTypes": { + "base": null, + "refs": { + "AutoScalingGroupRecommendation$inferredWorkloadTypes": "

The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer.

Compute Optimizer can infer if one of the following applications might be running on the instances:

", + "InstanceRecommendation$inferredWorkloadTypes": "

The applications that might be running on the instance as inferred by Compute Optimizer.

Compute Optimizer can infer if one of the following applications might be running on the instance:

" + } + }, + "InferredWorkloadTypesPreference": { + "base": null, + "refs": { + "EffectiveRecommendationPreferences$inferredWorkloadTypes": "

Describes the activation status of the inferred workload types preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh. A status of Inactive confirms that it's not yet applied to recommendations.

", + "PutRecommendationPreferencesRequest$inferredWorkloadTypes": "

The status of the inferred workload types recommendation preference to create or update.

The inferred workload type feature is active by default. To deactivate it, create a recommendation preference.

Specify the Inactive status to deactivate the feature, or specify Active to activate it.

For more information, see Inferred workload types in the Compute Optimizer User Guide.

", + "RecommendationPreferencesDetail$inferredWorkloadTypes": "

The status of the inferred workload types recommendation preference.

A status of Active confirms that the preference is applied in the latest recommendation refresh. A status of Inactive confirms that it's not yet applied to recommendations.

" + } + }, "InstanceArn": { "base": null, "refs": { @@ -959,6 +980,13 @@ "ProjectedMetric$values": "

The values of the projected utilization metrics.

" } }, + "MigrationEffort": { + "base": null, + "refs": { + "AutoScalingGroupRecommendationOption$migrationEffort": "

The level of effort required to migrate from the current instance type to the recommended instance type.

For example, the migration effort is Low if Amazon EMR is the inferred workload type and an Amazon Web Services Graviton instance type is recommended. The migration effort is Medium if a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort is VeryLow if both the current and recommended instance types are of the same CPU architecture.

", + "InstanceRecommendationOption$migrationEffort": "

The level of effort required to migrate from the current instance type to the recommended instance type.

For example, the migration effort is Low if Amazon EMR is the inferred workload type and an Amazon Web Services Graviton instance type is recommended. The migration effort is Medium if a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort is VeryLow if both the current and recommended instance types are of the same CPU architecture.

" + } + }, "MinSize": { "base": null, "refs": { @@ -1245,15 +1273,15 @@ "SavingsOpportunityPercentage": { "base": null, "refs": { - "SavingsOpportunity$savingsOpportunityPercentage": "

The estimated monthly savings possible as a percentage of monthly cost.

" + "SavingsOpportunity$savingsOpportunityPercentage": "

The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.

" } }, "Scope": { - "base": "

Describes the scope of a recommendation preference.

Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

You cannot create recommendation preferences for Auto Scaling groups at the organization and account levels. You can create recommendation preferences for Auto Scaling groups only at the resource level by specifying a scope name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource Name (ARN). This will configure the preference for all instances that are part of the specified the Auto Scaling group.

", + "base": "

Describes the scope of a recommendation preference.

Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

You cannot create recommendation preferences for Auto Scaling groups at the organization and account levels. You can create recommendation preferences for Auto Scaling groups only at the resource level by specifying a scope name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource Name (ARN). This will configure the preference for all instances that are part of the specified Auto Scaling group. You also cannot create recommendation preferences at the resource level for instances that are part of an Auto Scaling group. You can create recommendation preferences at the resource level only for standalone instances.

", "refs": { "DeleteRecommendationPreferencesRequest$scope": "

An object that describes the scope of the recommendation preference to delete.

You can delete recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

", "GetRecommendationPreferencesRequest$scope": "

An object that describes the scope of the recommendation preference to return.

You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

", - "PutRecommendationPreferencesRequest$scope": "

An object that describes the scope of the recommendation preference to create.

You can create recommendation preferences at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

You cannot create recommendation preferences for Auto Scaling groups at the organization and account levels. You can create recommendation preferences for Auto Scaling groups only at the resource level by specifying a scope name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource Name (ARN). This will configure the preference for all instances that are part of the specified the Auto Scaling group.

", + "PutRecommendationPreferencesRequest$scope": "

An object that describes the scope of the recommendation preference to create.

You can create recommendation preferences at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

You cannot create recommendation preferences for Auto Scaling groups at the organization and account levels. You can create recommendation preferences for Auto Scaling groups only at the resource level by specifying a scope name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource Name (ARN). This will configure the preference for all instances that are part of the specified Auto Scaling group. You also cannot create recommendation preferences at the resource level for instances that are part of an Auto Scaling group. You can create recommendation preferences at the resource level only for standalone instances.

", "RecommendationPreferencesDetail$scope": "

An object that describes the scope of the recommendation preference.

Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

" } }, diff --git a/models/apis/databrew/2017-07-25/api-2.json b/models/apis/databrew/2017-07-25/api-2.json index 8cd99df5ff6..0759b46075d 100644 --- a/models/apis/databrew/2017-07-25/api-2.json +++ b/models/apis/databrew/2017-07-25/api-2.json @@ -679,6 +679,12 @@ "max":63, "min":3 }, + "BucketOwner":{ + "type":"string", + "max":12, + "min":12, + "pattern":"^[0-9]{12}$" + }, "CatalogId":{ "type":"string", "max":255, @@ -2314,7 +2320,8 @@ "required":["Bucket"], "members":{ "Bucket":{"shape":"Bucket"}, - "Key":{"shape":"Key"} + "Key":{"shape":"Key"}, + "BucketOwner":{"shape":"BucketOwner"} } }, "S3TableOutputOptions":{ diff --git a/models/apis/databrew/2017-07-25/docs-2.json b/models/apis/databrew/2017-07-25/docs-2.json index 843f38617ee..e6dba331a1c 100644 --- a/models/apis/databrew/2017-07-25/docs-2.json +++ b/models/apis/databrew/2017-07-25/docs-2.json @@ -152,6 +152,12 @@ "S3Location$Bucket": "

The Amazon S3 bucket name.

" } }, + "BucketOwner": { + "base": null, + "refs": { + "S3Location$BucketOwner": "

The Amazon Web Services account ID of the bucket owner.

" + } + }, "CatalogId": { "base": null, "refs": { @@ -734,7 +740,7 @@ "base": null, "refs": { "FilterExpression$Expression": "

The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. For example, \"(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)\". Substitution variables should start with ':' symbol.

", - "Rule$CheckExpression": "

The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example, (:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2). Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example, is_between :val1 and :val2.

" + "Rule$CheckExpression": "

The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example, (:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2). Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example, is_between :val1 and :val2.

For more information, see Available checks

" } }, "FilesLimit": { @@ -1517,7 +1523,7 @@ } }, "S3Location": { - "base": "

Represents an Amazon S3 location (bucket name and object key) where DataBrew can read input data, or write output from a job.

", + "base": "

Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.

", "refs": { "CreateProfileJobRequest$OutputLocation": null, "DataCatalogInputDefinition$TempDirectory": "

Represents an Amazon location where DataBrew can store intermediate results.

", diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index ef2e948af90..c5f577eb2b6 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -1874,6 +1874,15 @@ "input":{"shape":"DescribeExportTasksRequest"}, "output":{"shape":"DescribeExportTasksResult"} }, + "DescribeFastLaunchImages":{ + "name":"DescribeFastLaunchImages", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeFastLaunchImagesRequest"}, + "output":{"shape":"DescribeFastLaunchImagesResult"} + }, "DescribeFastSnapshotRestores":{ "name":"DescribeFastSnapshotRestores", "http":{ @@ -2897,6 +2906,15 @@ "input":{"shape":"DisableEbsEncryptionByDefaultRequest"}, "output":{"shape":"DisableEbsEncryptionByDefaultResult"} }, + "DisableFastLaunch":{ + "name":"DisableFastLaunch", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DisableFastLaunchRequest"}, + "output":{"shape":"DisableFastLaunchResult"} + }, "DisableFastSnapshotRestores":{ "name":"DisableFastSnapshotRestores", "http":{ @@ -3074,6 +3092,15 @@ "input":{"shape":"EnableEbsEncryptionByDefaultRequest"}, "output":{"shape":"EnableEbsEncryptionByDefaultResult"} }, + "EnableFastLaunch":{ + "name":"EnableFastLaunch", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"EnableFastLaunchRequest"}, + "output":{"shape":"EnableFastLaunchResult"} + }, "EnableFastSnapshotRestores":{ "name":"EnableFastSnapshotRestores", "http":{ @@ -9541,8 +9568,8 @@ "members":{ "SourceIp":{"shape":"IpAddress"}, "DestinationIp":{"shape":"IpAddress"}, - "Source":{"shape":"String"}, - "Destination":{"shape":"String"}, + "Source":{"shape":"NetworkInsightsResourceId"}, + "Destination":{"shape":"NetworkInsightsResourceId"}, "Protocol":{"shape":"Protocol"}, "DestinationPort":{"shape":"Port"}, "TagSpecifications":{ @@ -12971,6 +12998,88 @@ } } }, + "DescribeFastLaunchImagesRequest":{ + "type":"structure", + "members":{ + "ImageIds":{ + "shape":"FastLaunchImageIdList", + "locationName":"ImageId" + }, + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "MaxResults":{"shape":"DescribeFastLaunchImagesRequestMaxResults"}, + "NextToken":{"shape":"NextToken"}, + "DryRun":{"shape":"Boolean"} + } + }, + "DescribeFastLaunchImagesRequestMaxResults":{ + "type":"integer", + "max":200, + "min":0 + }, + "DescribeFastLaunchImagesResult":{ + "type":"structure", + "members":{ + "FastLaunchImages":{ + "shape":"DescribeFastLaunchImagesSuccessSet", + "locationName":"fastLaunchImageSet" + }, + "NextToken":{ + "shape":"NextToken", + "locationName":"nextToken" + } + } + }, + "DescribeFastLaunchImagesSuccessItem":{ + "type":"structure", + "members":{ + "ImageId":{ + "shape":"ImageId", + "locationName":"imageId" + }, + "ResourceType":{ + "shape":"FastLaunchResourceType", + "locationName":"resourceType" + }, + "SnapshotConfiguration":{ + "shape":"FastLaunchSnapshotConfigurationResponse", + "locationName":"snapshotConfiguration" + }, + "LaunchTemplate":{ + "shape":"FastLaunchLaunchTemplateSpecificationResponse", + "locationName":"launchTemplate" + }, + "MaxParallelLaunches":{ + "shape":"Integer", + "locationName":"maxParallelLaunches" + }, + "OwnerId":{ + "shape":"String", + "locationName":"ownerId" + }, + "State":{ + "shape":"FastLaunchStateCode", + "locationName":"state" + }, + "StateTransitionReason":{ + "shape":"String", + "locationName":"stateTransitionReason" + }, + "StateTransitionTime":{ + "shape":"MillisecondDateTime", + "locationName":"stateTransitionTime" + } + } + }, + "DescribeFastLaunchImagesSuccessSet":{ + "type":"list", + "member":{ + "shape":"DescribeFastLaunchImagesSuccessItem", + "locationName":"item" + } + }, "DescribeFastSnapshotRestoreSuccessItem":{ "type":"structure", "members":{ @@ -16668,6 +16777,56 @@ } } }, + "DisableFastLaunchRequest":{ + "type":"structure", + "required":["ImageId"], + "members":{ + "ImageId":{"shape":"ImageId"}, + "Force":{"shape":"Boolean"}, + "DryRun":{"shape":"Boolean"} + } + }, + "DisableFastLaunchResult":{ + "type":"structure", + "members":{ + "ImageId":{ + "shape":"ImageId", + "locationName":"imageId" + }, + "ResourceType":{ + "shape":"FastLaunchResourceType", + "locationName":"resourceType" + }, + "SnapshotConfiguration":{ + "shape":"FastLaunchSnapshotConfigurationResponse", + "locationName":"snapshotConfiguration" + }, + "LaunchTemplate":{ + "shape":"FastLaunchLaunchTemplateSpecificationResponse", + "locationName":"launchTemplate" + }, + "MaxParallelLaunches":{ + "shape":"Integer", + "locationName":"maxParallelLaunches" + }, + "OwnerId":{ + "shape":"String", + "locationName":"ownerId" + }, + "State":{ + "shape":"FastLaunchStateCode", + "locationName":"state" + }, + "StateTransitionReason":{ + "shape":"String", + "locationName":"stateTransitionReason" + }, + "StateTransitionTime":{ + "shape":"MillisecondDateTime", + "locationName":"stateTransitionTime" + } + } + }, "DisableFastSnapshotRestoreErrorItem":{ "type":"structure", "members":{ @@ -17701,6 +17860,59 @@ } } }, + "EnableFastLaunchRequest":{ + "type":"structure", + "required":["ImageId"], + "members":{ + "ImageId":{"shape":"ImageId"}, + "ResourceType":{"shape":"String"}, + "SnapshotConfiguration":{"shape":"FastLaunchSnapshotConfigurationRequest"}, + "LaunchTemplate":{"shape":"FastLaunchLaunchTemplateSpecificationRequest"}, + "MaxParallelLaunches":{"shape":"Integer"}, + "DryRun":{"shape":"Boolean"} + } + }, + "EnableFastLaunchResult":{ + "type":"structure", + "members":{ + "ImageId":{ + "shape":"ImageId", + "locationName":"imageId" + }, + "ResourceType":{ + "shape":"FastLaunchResourceType", + "locationName":"resourceType" + }, + "SnapshotConfiguration":{ + "shape":"FastLaunchSnapshotConfigurationResponse", + "locationName":"snapshotConfiguration" + }, + "LaunchTemplate":{ + "shape":"FastLaunchLaunchTemplateSpecificationResponse", + "locationName":"launchTemplate" + }, + "MaxParallelLaunches":{ + "shape":"Integer", + "locationName":"maxParallelLaunches" + }, + "OwnerId":{ + "shape":"String", + "locationName":"ownerId" + }, + "State":{ + "shape":"FastLaunchStateCode", + "locationName":"state" + }, + "StateTransitionReason":{ + "shape":"String", + "locationName":"stateTransitionReason" + }, + "StateTransitionTime":{ + "shape":"MillisecondDateTime", + "locationName":"stateTransitionTime" + } + } + }, "EnableFastSnapshotRestoreErrorItem":{ "type":"structure", "members":{ @@ -18634,6 +18846,69 @@ "locationName":"item" } }, + "FastLaunchImageIdList":{ + "type":"list", + "member":{ + "shape":"ImageId", + "locationName":"ImageId" + } + }, + "FastLaunchLaunchTemplateSpecificationRequest":{ + "type":"structure", + "required":["Version"], + "members":{ + "LaunchTemplateId":{"shape":"LaunchTemplateId"}, + "LaunchTemplateName":{"shape":"String"}, + "Version":{"shape":"String"} + } + }, + "FastLaunchLaunchTemplateSpecificationResponse":{ + "type":"structure", + "members":{ + "LaunchTemplateId":{ + "shape":"LaunchTemplateId", + "locationName":"launchTemplateId" + }, + "LaunchTemplateName":{ + "shape":"String", + "locationName":"launchTemplateName" + }, + "Version":{ + "shape":"String", + "locationName":"version" + } + } + }, + "FastLaunchResourceType":{ + "type":"string", + "enum":["snapshot"] + }, + "FastLaunchSnapshotConfigurationRequest":{ + "type":"structure", + "members":{ + "TargetResourceCount":{"shape":"Integer"} + } + }, + "FastLaunchSnapshotConfigurationResponse":{ + "type":"structure", + "members":{ + "TargetResourceCount":{ + "shape":"Integer", + "locationName":"targetResourceCount" + } + } + }, + "FastLaunchStateCode":{ + "type":"string", + "enum":[ + "enabling", + "enabling-failed", + "enabled", + "enabled-failed", + "disabling", + "disabling-failed" + ] + }, "FastSnapshotRestoreStateCode":{ "type":"string", "enum":[ @@ -28621,6 +28896,7 @@ "locationName":"item" } }, + "NetworkInsightsResourceId":{"type":"string"}, "NetworkInterface":{ "type":"structure", "members":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 7cffdbbbdde..d969ebf0f6e 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -212,6 +212,7 @@ "DescribeElasticGpus": "

Describes the Elastic Graphics accelerator associated with your instances. For more information about Elastic Graphics, see Amazon Elastic Graphics.

", "DescribeExportImageTasks": "

Describes the specified export image tasks or all of your export image tasks.

", "DescribeExportTasks": "

Describes the specified export instance tasks or all of your export instance tasks.

", + "DescribeFastLaunchImages": "

Describe details for Windows AMIs that are configured for faster launching.

", "DescribeFastSnapshotRestores": "

Describes the state of fast snapshot restores for your snapshots.

", "DescribeFleetHistory": "

Describes the events for the specified EC2 Fleet during the specified time.

EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events are available for 48 hours.

For more information, see Monitor fleet events using Amazon EventBridge in the Amazon EC2 User Guide.

", "DescribeFleetInstances": "

Describes the running instances for the specified EC2 Fleet.

For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.

", @@ -326,6 +327,7 @@ "DetachVolume": "

Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first.

When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance.

For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.

", "DetachVpnGateway": "

Detaches a virtual private gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a virtual private gateway has been completely detached from a VPC by describing the virtual private gateway (any attachments to the virtual private gateway are also described).

You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the virtual private gateway.

", "DisableEbsEncryptionByDefault": "

Disables EBS encryption by default for your account in the current Region.

After you disable encryption by default, you can still create encrypted volumes by enabling encryption when you create each volume.

Disabling encryption by default does not change the encryption status of your existing volumes.

For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

", + "DisableFastLaunch": "

Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again.

", "DisableFastSnapshotRestores": "

Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.

", "DisableImageDeprecation": "

Cancels the deprecation of the specified AMI.

For more information, see Deprecate an AMI in the Amazon Elastic Compute Cloud User Guide.

", "DisableIpamOrganizationAdminAccount": "

Disable the IPAM account. For more information, see Enable integration with Organizations in the Amazon VPC IPAM User Guide.

", @@ -346,6 +348,7 @@ "DisassociateTrunkInterface": "

This API action is currently in limited preview only. If you are interested in using this feature, contact your account manager.

Removes an association between a branch network interface with a trunk network interface.

", "DisassociateVpcCidrBlock": "

Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must specify its association ID. You can get the association ID by using DescribeVpcs. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.

You cannot disassociate the CIDR block with which you originally created the VPC (the primary CIDR block).

", "EnableEbsEncryptionByDefault": "

Enables EBS encryption by default for your account in the current Region.

After you enable encryption by default, the EBS volumes that you create are always encrypted, either using the default KMS key or the KMS key that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

You can specify the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.

Enabling encryption by default has no effect on the encryption status of your existing volumes.

After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types.

", + "EnableFastLaunch": "

When you enable faster launching for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.

", "EnableFastSnapshotRestores": "

Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.

You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores.

For more information, see Amazon EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide.

", "EnableImageDeprecation": "

Enables deprecation of the specified AMI at the specified date and time.

For more information, see Deprecate an AMI in the Amazon Elastic Compute Cloud User Guide.

", "EnableIpamOrganizationAdminAccount": "

Enable an Organizations member account as the IPAM admin account. You cannot select the Organizations management account as the IPAM admin account. For more information, see Enable integration with Organizations in the Amazon VPC IPAM User Guide.

", @@ -1862,6 +1865,7 @@ "DescribeEgressOnlyInternetGatewaysRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeElasticGpusRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeExportImageTasksRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "DescribeFastLaunchImagesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeFastSnapshotRestoresRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeFleetHistoryRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeFleetInstancesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -1977,6 +1981,8 @@ "DetachVpnGatewayRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DisableEbsEncryptionByDefaultRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DisableEbsEncryptionByDefaultResult$EbsEncryptionByDefault": "

The updated status of encryption by default.

", + "DisableFastLaunchRequest$Force": "

Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.

", + "DisableFastLaunchRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DisableFastSnapshotRestoresRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DisableImageDeprecationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DisableImageDeprecationResult$Return": "

Returns true if the request succeeds; otherwise, it returns an error.

", @@ -2006,6 +2012,7 @@ "EbsInstanceBlockDeviceSpecification$DeleteOnTermination": "

Indicates whether the volume is deleted on instance termination.

", "EnableEbsEncryptionByDefaultRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "EnableEbsEncryptionByDefaultResult$EbsEncryptionByDefault": "

The updated status of encryption by default.

", + "EnableFastLaunchRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "EnableFastSnapshotRestoresRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "EnableImageDeprecationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "EnableImageDeprecationResult$Return": "

Returns true if the request succeeds; otherwise, it returns an error.

", @@ -5336,6 +5343,34 @@ "refs": { } }, + "DescribeFastLaunchImagesRequest": { + "base": null, + "refs": { + } + }, + "DescribeFastLaunchImagesRequestMaxResults": { + "base": null, + "refs": { + "DescribeFastLaunchImagesRequest$MaxResults": "

The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned NextToken value. If this parameter is not specified, then all results are returned.

" + } + }, + "DescribeFastLaunchImagesResult": { + "base": null, + "refs": { + } + }, + "DescribeFastLaunchImagesSuccessItem": { + "base": "

Describe details about a fast-launch enabled Windows image that meets the requested criteria. Criteria are defined by the DescribeFastLaunchImages action filters.

", + "refs": { + "DescribeFastLaunchImagesSuccessSet$member": null + } + }, + "DescribeFastLaunchImagesSuccessSet": { + "base": null, + "refs": { + "DescribeFastLaunchImagesResult$FastLaunchImages": "

A collection of details about the fast-launch enabled Windows images that meet the requested criteria.

" + } + }, "DescribeFastSnapshotRestoreSuccessItem": { "base": "

Describes fast snapshot restores for a snapshot.

", "refs": { @@ -6745,6 +6780,16 @@ "refs": { } }, + "DisableFastLaunchRequest": { + "base": null, + "refs": { + } + }, + "DisableFastLaunchResult": { + "base": null, + "refs": { + } + }, "DisableFastSnapshotRestoreErrorItem": { "base": "

Contains information about the errors that occurred when disabling fast snapshot restores.

", "refs": { @@ -7351,6 +7396,16 @@ "refs": { } }, + "EnableFastLaunchRequest": { + "base": null, + "refs": { + } + }, + "EnableFastLaunchResult": { + "base": null, + "refs": { + } + }, "EnableFastSnapshotRestoreErrorItem": { "base": "

Contains information about the errors that occurred when enabling fast snapshot restores.

", "refs": { @@ -7733,6 +7788,56 @@ "DeleteQueuedReservedInstancesResult$FailedQueuedPurchaseDeletions": "

Information about the queued purchases that could not be deleted.

" } }, + "FastLaunchImageIdList": { + "base": null, + "refs": { + "DescribeFastLaunchImagesRequest$ImageIds": "

Details for one or more Windows AMI image IDs.

" + } + }, + "FastLaunchLaunchTemplateSpecificationRequest": { + "base": "

Request to create a launch template for a fast-launch enabled Windows AMI.

Note - You can specify either the LaunchTemplateName or the LaunchTemplateId, but not both.

", + "refs": { + "EnableFastLaunchRequest$LaunchTemplate": "

The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.

" + } + }, + "FastLaunchLaunchTemplateSpecificationResponse": { + "base": "

Identifies the launch template to use for faster launching of the Windows AMI.

", + "refs": { + "DescribeFastLaunchImagesSuccessItem$LaunchTemplate": "

The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances from pre-provisioned snapshots.

", + "DisableFastLaunchResult$LaunchTemplate": "

The launch template that was used to launch Windows instances from pre-provisioned snapshots.

", + "EnableFastLaunchResult$LaunchTemplate": "

The launch template that is used when launching Windows instances from pre-provisioned snapshots.

" + } + }, + "FastLaunchResourceType": { + "base": null, + "refs": { + "DescribeFastLaunchImagesSuccessItem$ResourceType": "

The resource type that is used for pre-provisioning the Windows AMI. Supported values include: snapshot.

", + "DisableFastLaunchResult$ResourceType": "

The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include: snapshot.

", + "EnableFastLaunchResult$ResourceType": "

The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.

" + } + }, + "FastLaunchSnapshotConfigurationRequest": { + "base": "

Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.

", + "refs": { + "EnableFastLaunchRequest$SnapshotConfiguration": "

Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI for faster launching. The associated ResourceType must be snapshot.

" + } + }, + "FastLaunchSnapshotConfigurationResponse": { + "base": "

Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.

", + "refs": { + "DescribeFastLaunchImagesSuccessItem$SnapshotConfiguration": "

A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.

", + "DisableFastLaunchResult$SnapshotConfiguration": "

Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.

", + "EnableFastLaunchResult$SnapshotConfiguration": "

The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster launching of the Windows AMI. This property is returned when the associated resourceType is snapshot.

" + } + }, + "FastLaunchStateCode": { + "base": null, + "refs": { + "DescribeFastLaunchImagesSuccessItem$State": "

The current state of faster launching for the specified Windows AMI.

", + "DisableFastLaunchResult$State": "

The current state of faster launching for the specified Windows AMI.

", + "EnableFastLaunchResult$State": "

The current state of faster launching for the specified Windows AMI.

" + } + }, "FastSnapshotRestoreStateCode": { "base": null, "refs": { @@ -7781,6 +7886,7 @@ "DescribeElasticGpusRequest$Filters": "

The filters.

", "DescribeExportImageTasksRequest$Filters": "

Filter tasks using the task-state filter and one of the following values: active, completed, deleting, or deleted.

", "DescribeExportTasksRequest$Filters": "

the filters for the export tasks.

", + "DescribeFastLaunchImagesRequest$Filters": "

Use the following filters to streamline results.

", "DescribeFastSnapshotRestoresRequest$Filters": "

The filters. The possible values are:

", "DescribeFleetInstancesRequest$Filters": "

The filters.

", "DescribeFleetsRequest$Filters": "

The filters.

", @@ -9038,10 +9144,16 @@ "refs": { "CreateStoreImageTaskRequest$ImageId": "

The ID of the AMI.

", "DeregisterImageRequest$ImageId": "

The ID of the AMI.

", + "DescribeFastLaunchImagesSuccessItem$ImageId": "

The image ID that identifies the fast-launch enabled Windows image.

", "DescribeImageAttributeRequest$ImageId": "

The ID of the AMI.

", + "DisableFastLaunchRequest$ImageId": "

The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.

", + "DisableFastLaunchResult$ImageId": "

The ID of the image for which faster-launching has been turned off.

", "DisableImageDeprecationRequest$ImageId": "

The ID of the AMI.

", + "EnableFastLaunchRequest$ImageId": "

The ID of the image for which you’re enabling faster launching.

", + "EnableFastLaunchResult$ImageId": "

The image ID that identifies the Windows AMI for which faster launching was enabled.

", "EnableImageDeprecationRequest$ImageId": "

The ID of the AMI.

", "ExportImageRequest$ImageId": "

The ID of the image.

", + "FastLaunchImageIdList$member": null, "ImageIdList$member": null, "ImageIdStringList$member": null, "ModifyImageAttributeRequest$ImageId": "

The ID of the AMI.

", @@ -10095,6 +10207,7 @@ "CreateVolumeRequest$Throughput": "

The throughput to provision for a volume, with a maximum of 1,000 MiB/s.

This parameter is valid only for gp3 volumes.

Valid Range: Minimum value of 125. Maximum value of 1000.

", "DeleteNetworkAclEntryRequest$RuleNumber": "

The rule number of the entry to delete.

", "DescribeElasticGpusResult$MaxResults": "

The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.

", + "DescribeFastLaunchImagesSuccessItem$MaxParallelLaunches": "

The maximum number of parallel instances that are launched for creating resources.

", "DescribeFleetHistoryRequest$MaxResults": "

The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

", "DescribeFleetInstancesRequest$MaxResults": "

The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

", "DescribeFleetsRequest$MaxResults": "

The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

", @@ -10128,9 +10241,14 @@ "DescribeVpcEndpointServicePermissionsRequest$MaxResults": "

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1,000; if MaxResults is given a value larger than 1,000, only 1,000 results are returned.

", "DescribeVpcEndpointServicesRequest$MaxResults": "

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value is greater than 1,000, we return only 1,000 items.

", "DescribeVpcEndpointsRequest$MaxResults": "

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value is greater than 1,000, we return only 1,000 items.

", + "DisableFastLaunchResult$MaxParallelLaunches": "

The maximum number of parallel instances to launch for creating resources.

", "EbsBlockDevice$Iops": "

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

The following are the supported values for each volume type:

For io1 and io2 volumes, we guarantee 64,000 IOPS only for Instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS.

This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS. This parameter is not supported for gp2, st1, sc1, or standard volumes.

", "EbsBlockDevice$VolumeSize": "

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

The following are the supported volumes sizes for each volume type:

", "EbsBlockDevice$Throughput": "

The throughput that the volume supports, in MiB/s.

This parameter is valid only for gp3 volumes.

Valid Range: Minimum value of 125. Maximum value of 1000.

", + "EnableFastLaunchRequest$MaxParallelLaunches": "

The maximum number of parallel instances to launch for creating resources.

", + "EnableFastLaunchResult$MaxParallelLaunches": "

The maximum number of parallel instances to launch for creating resources.

", + "FastLaunchSnapshotConfigurationRequest$TargetResourceCount": "

The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.

", + "FastLaunchSnapshotConfigurationResponse$TargetResourceCount": "

The number of pre-provisioned snapshots requested to keep on hand for a fast-launch enabled Windows AMI.

", "FleetCapacityReservation$TotalInstanceCount": "

The total number of instances for which the Capacity Reservation reserves capacity.

", "FleetSpotCapacityRebalance$TerminationDelay": "

The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

Required when ReplacementStrategy is set to launch-before-terminate.

Not valid when ReplacementStrategy is set to launch.

Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

", "FleetSpotCapacityRebalanceRequest$TerminationDelay": "

The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

Required when ReplacementStrategy is set to launch-before-terminate.

Not valid when ReplacementStrategy is set to launch.

Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

", @@ -11293,6 +11411,8 @@ "DeleteLaunchTemplateRequest$LaunchTemplateId": "

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

", "DeleteLaunchTemplateVersionsRequest$LaunchTemplateId": "

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

", "DescribeLaunchTemplateVersionsRequest$LaunchTemplateId": "

The ID of the launch template. To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name in the request. To describe all the latest or default launch template versions in your account, you must omit this parameter.

", + "FastLaunchLaunchTemplateSpecificationRequest$LaunchTemplateId": "

The ID of the launch template to use for faster launching for a Windows AMI.

", + "FastLaunchLaunchTemplateSpecificationResponse$LaunchTemplateId": "

The ID of the launch template for faster launching of the associated Windows AMI.

", "FleetLaunchTemplateSpecificationRequest$LaunchTemplateId": "

The ID of the launch template. If you specify the template ID, you can't specify the template name.

", "LaunchTemplateIdStringList$member": null, "LaunchTemplateSpecification$LaunchTemplateId": "

The ID of the launch template.

", @@ -12035,6 +12155,7 @@ "CreateCapacityReservationFleetRequest$EndDate": "

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

", "CreateCapacityReservationFleetResult$CreateTime": "

The date and time at which the Capacity Reservation Fleet was created.

", "CreateCapacityReservationFleetResult$EndDate": "

The date and time at which the Capacity Reservation Fleet expires.

", + "DescribeFastLaunchImagesSuccessItem$StateTransitionTime": "

The time that faster launching for the Windows AMI changed to the current state.

", "DescribeFastSnapshotRestoreSuccessItem$EnablingTime": "

The time at which fast snapshot restores entered the enabling state.

", "DescribeFastSnapshotRestoreSuccessItem$OptimizingTime": "

The time at which fast snapshot restores entered the optimizing state.

", "DescribeFastSnapshotRestoreSuccessItem$EnabledTime": "

The time at which fast snapshot restores entered the enabled state.

", @@ -12044,11 +12165,13 @@ "DescribeNetworkInsightsAccessScopeAnalysesRequest$AnalysisStartTimeEnd": "

Filters the results based on the start time. The analysis must have started on or before this time.

", "DescribeNetworkInsightsAnalysesRequest$AnalysisStartTime": "

The time when the network insights analyses started.

", "DescribeNetworkInsightsAnalysesRequest$AnalysisEndTime": "

The time when the network insights analyses ended.

", + "DisableFastLaunchResult$StateTransitionTime": "

The time that the state changed for faster launching for the Windows AMI.

", "DisableFastSnapshotRestoreSuccessItem$EnablingTime": "

The time at which fast snapshot restores entered the enabling state.

", "DisableFastSnapshotRestoreSuccessItem$OptimizingTime": "

The time at which fast snapshot restores entered the optimizing state.

", "DisableFastSnapshotRestoreSuccessItem$EnabledTime": "

The time at which fast snapshot restores entered the enabled state.

", "DisableFastSnapshotRestoreSuccessItem$DisablingTime": "

The time at which fast snapshot restores entered the disabling state.

", "DisableFastSnapshotRestoreSuccessItem$DisabledTime": "

The time at which fast snapshot restores entered the disabled state.

", + "EnableFastLaunchResult$StateTransitionTime": "

The time that the state changed for faster launching for the Windows AMI.

", "EnableFastSnapshotRestoreSuccessItem$EnablingTime": "

The time at which fast snapshot restores entered the enabling state.

", "EnableFastSnapshotRestoreSuccessItem$OptimizingTime": "

The time at which fast snapshot restores entered the optimizing state.

", "EnableFastSnapshotRestoreSuccessItem$EnabledTime": "

The time at which fast snapshot restores entered the enabled state.

", @@ -12954,6 +13077,13 @@ "DescribeNetworkInsightsPathsResult$NetworkInsightsPaths": "

Information about the paths.

" } }, + "NetworkInsightsResourceId": { + "base": null, + "refs": { + "CreateNetworkInsightsPathRequest$Source": "

The Amazon Web Services resource that is the source of the path.

", + "CreateNetworkInsightsPathRequest$Destination": "

The Amazon Web Services resource that is the destination of the path.

" + } + }, "NetworkInterface": { "base": "

Describes a network interface.

", "refs": { @@ -13164,6 +13294,8 @@ "DescribeClientVpnTargetNetworksResult$NextToken": "

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

", "DescribeExportImageTasksRequest$NextToken": "

A token that indicates the next page of results.

", "DescribeExportImageTasksResult$NextToken": "

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

", + "DescribeFastLaunchImagesRequest$NextToken": "

The token for the next set of results.

", + "DescribeFastLaunchImagesResult$NextToken": "

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

", "DescribeFastSnapshotRestoresRequest$NextToken": "

The token for the next page of results.

", "DescribeFastSnapshotRestoresResult$NextToken": "

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

", "DescribeFpgaImagesRequest$NextToken": "

The token to retrieve the next page of results.

", @@ -16351,8 +16483,6 @@ "CreateNetworkAclEntryRequest$Ipv6CidrBlock": "

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:db8:1234:1a00::/64).

", "CreateNetworkAclEntryRequest$Protocol": "

The protocol number. A value of \"-1\" means all protocols. If you specify \"-1\" or a protocol number other than \"6\" (TCP), \"17\" (UDP), or \"1\" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol \"58\" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol \"58\" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

", "CreateNetworkInsightsAccessScopeRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", - "CreateNetworkInsightsPathRequest$Source": "

The Amazon Web Services resource that is the source of the path.

", - "CreateNetworkInsightsPathRequest$Destination": "

The Amazon Web Services resource that is the destination of the path.

", "CreateNetworkInsightsPathRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateNetworkInterfacePermissionRequest$AwsAccountId": "

The Amazon Web Services account ID.

", "CreateNetworkInterfacePermissionRequest$AwsService": "

The Amazon Web Service. Currently not supported.

", @@ -16480,6 +16610,8 @@ "DescribeEgressOnlyInternetGatewaysResult$NextToken": "

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

", "DescribeElasticGpusRequest$NextToken": "

The token to request the next page of results.

", "DescribeElasticGpusResult$NextToken": "

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

", + "DescribeFastLaunchImagesSuccessItem$OwnerId": "

The owner ID for the fast-launch enabled Windows AMI.

", + "DescribeFastLaunchImagesSuccessItem$StateTransitionReason": "

The reason that faster launching for the Windows AMI changed to the current state.

", "DescribeFastSnapshotRestoreSuccessItem$SnapshotId": "

The ID of the snapshot.

", "DescribeFastSnapshotRestoreSuccessItem$AvailabilityZone": "

The Availability Zone.

", "DescribeFastSnapshotRestoreSuccessItem$StateTransitionReason": "

The reason for the state transition. The possible values are as follows:

", @@ -16648,6 +16780,8 @@ "DhcpOptions$OwnerId": "

The ID of the Amazon Web Services account that owns the DHCP options set.

", "DirectoryServiceAuthentication$DirectoryId": "

The ID of the Active Directory used for authentication.

", "DirectoryServiceAuthenticationRequest$DirectoryId": "

The ID of the Active Directory to be used for authentication.

", + "DisableFastLaunchResult$OwnerId": "

The owner of the Windows AMI for which faster launching was turned off.

", + "DisableFastLaunchResult$StateTransitionReason": "

The reason that the state changed for faster launching for the Windows AMI.

", "DisableFastSnapshotRestoreErrorItem$SnapshotId": "

The ID of the snapshot.

", "DisableFastSnapshotRestoreStateError$Code": "

The error code.

", "DisableFastSnapshotRestoreStateError$Message": "

The error message.

", @@ -16687,6 +16821,9 @@ "ElasticInferenceAcceleratorAssociation$ElasticInferenceAcceleratorArn": "

The Amazon Resource Name (ARN) of the elastic inference accelerator.

", "ElasticInferenceAcceleratorAssociation$ElasticInferenceAcceleratorAssociationId": "

The ID of the association.

", "ElasticInferenceAcceleratorAssociation$ElasticInferenceAcceleratorAssociationState": "

The state of the elastic inference accelerator.

", + "EnableFastLaunchRequest$ResourceType": "

The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot, which is the default value.

", + "EnableFastLaunchResult$OwnerId": "

The owner ID for the Windows AMI for which faster launching was enabled.

", + "EnableFastLaunchResult$StateTransitionReason": "

The reason that the state changed for faster launching for the Windows AMI.

", "EnableFastSnapshotRestoreErrorItem$SnapshotId": "

The ID of the snapshot.

", "EnableFastSnapshotRestoreStateError$Code": "

The error code.

", "EnableFastSnapshotRestoreStateError$Message": "

The error message.

", @@ -16738,6 +16875,10 @@ "ExportTransitGatewayRoutesRequest$S3Bucket": "

The name of the S3 bucket.

", "ExportTransitGatewayRoutesResult$S3Location": "

The URL of the exported file in Amazon S3. For example, s3://bucket_name/VPCTransitGateway/TransitGatewayRouteTables/file_name.

", "FailedQueuedPurchaseDeletion$ReservedInstancesId": "

The ID of the Reserved Instance.

", + "FastLaunchLaunchTemplateSpecificationRequest$LaunchTemplateName": "

The name of the launch template to use for faster launching for a Windows AMI.

", + "FastLaunchLaunchTemplateSpecificationRequest$Version": "

The version of the launch template to use for faster launching for a Windows AMI.

", + "FastLaunchLaunchTemplateSpecificationResponse$LaunchTemplateName": "

The name of the launch template for faster launching of the associated Windows AMI.

", + "FastLaunchLaunchTemplateSpecificationResponse$Version": "

The version of the launch template for faster launching of the associated Windows AMI.

", "FederatedAuthentication$SamlProviderArn": "

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

", "FederatedAuthentication$SelfServiceSamlProviderArn": "

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.

", "FederatedAuthenticationRequest$SAMLProviderArn": "

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

", diff --git a/models/apis/ec2/2016-11-15/paginators-1.json b/models/apis/ec2/2016-11-15/paginators-1.json index a44793e9a69..9ac6a8edb9b 100755 --- a/models/apis/ec2/2016-11-15/paginators-1.json +++ b/models/apis/ec2/2016-11-15/paginators-1.json @@ -111,6 +111,12 @@ "DescribeExportTasks": { "result_key": "ExportTasks" }, + "DescribeFastLaunchImages": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "FastLaunchImages" + }, "DescribeFastSnapshotRestores": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/lookoutmetrics/2017-07-25/api-2.json b/models/apis/lookoutmetrics/2017-07-25/api-2.json index 55e32ddf917..068bcfbfdae 100644 --- a/models/apis/lookoutmetrics/2017-07-25/api-2.json +++ b/models/apis/lookoutmetrics/2017-07-25/api-2.json @@ -431,7 +431,8 @@ {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"} + {"shape":"TooManyRequestsException"}, + {"shape":"ServiceQuotaExceededException"} ] } }, @@ -563,6 +564,14 @@ "min":1, "pattern":".*\\S.*" }, + "AnomalyDetectorFailureType":{ + "type":"string", + "enum":[ + "ACTIVATION_FAILURE", + "BACK_TEST_ACTIVATION_FAILURE", + "DELETION_FAILURE" + ] + }, "AnomalyDetectorName":{ "type":"string", "max":63, @@ -655,10 +664,6 @@ }, "AppFlowConfig":{ "type":"structure", - "required":[ - "RoleArn", - "FlowName" - ], "members":{ "RoleArn":{"shape":"Arn"}, "FlowName":{"shape":"FlowName"} @@ -696,7 +701,6 @@ }, "CloudWatchConfig":{ "type":"structure", - "required":["RoleArn"], "members":{ "RoleArn":{"shape":"Arn"} } @@ -906,7 +910,8 @@ "LastModificationTime":{"shape":"Timestamp"}, "Status":{"shape":"AnomalyDetectorStatus"}, "FailureReason":{"shape":"ErrorMessage"}, - "KmsKeyArn":{"shape":"KmsKeyArn"} + "KmsKeyArn":{"shape":"KmsKeyArn"}, + "FailureType":{"shape":"AnomalyDetectorFailureType"} } }, "DescribeMetricSetRequest":{ @@ -1452,16 +1457,6 @@ }, "RDSSourceConfig":{ "type":"structure", - "required":[ - "DBInstanceIdentifier", - "DatabaseHost", - "DatabasePort", - "SecretManagerArn", - "DatabaseName", - "TableName", - "RoleArn", - "VpcConfiguration" - ], "members":{ "DBInstanceIdentifier":{"shape":"RDSDatabaseIdentifier"}, "DatabaseHost":{"shape":"DatabaseHost"}, @@ -1490,16 +1485,6 @@ }, "RedshiftSourceConfig":{ "type":"structure", - "required":[ - "ClusterIdentifier", - "DatabaseHost", - "DatabasePort", - "SecretManagerArn", - "DatabaseName", - "TableName", - "RoleArn", - "VpcConfiguration" - ], "members":{ "ClusterIdentifier":{"shape":"RedshiftClusterIdentifier"}, "DatabaseHost":{"shape":"DatabaseHost"}, @@ -1536,7 +1521,6 @@ "ResourceType":{"type":"string"}, "S3SourceConfig":{ "type":"structure", - "required":["RoleArn"], "members":{ "RoleArn":{"shape":"Arn"}, "TemplatedPathList":{"shape":"TemplatedPathList"}, diff --git a/models/apis/lookoutmetrics/2017-07-25/docs-2.json b/models/apis/lookoutmetrics/2017-07-25/docs-2.json index 54aa3b7ce41..449bde0d7b3 100644 --- a/models/apis/lookoutmetrics/2017-07-25/docs-2.json +++ b/models/apis/lookoutmetrics/2017-07-25/docs-2.json @@ -139,6 +139,12 @@ "UpdateAnomalyDetectorRequest$AnomalyDetectorDescription": "

The updated detector description.

" } }, + "AnomalyDetectorFailureType": { + "base": null, + "refs": { + "DescribeAnomalyDetectorResponse$FailureType": "

The process that caused the detector to fail.

" + } + }, "AnomalyDetectorName": { "base": null, "refs": { @@ -503,7 +509,7 @@ "ErrorMessage": { "base": null, "refs": { - "DescribeAnomalyDetectorResponse$FailureReason": "

The reason that the detector failed, if any.

" + "DescribeAnomalyDetectorResponse$FailureReason": "

The reason that the detector failed.

" } }, "ExecutionList": { diff --git a/models/apis/transcribe/2017-10-26/docs-2.json b/models/apis/transcribe/2017-10-26/docs-2.json index 79394b4d4c8..31a8fb2d3dc 100644 --- a/models/apis/transcribe/2017-10-26/docs-2.json +++ b/models/apis/transcribe/2017-10-26/docs-2.json @@ -37,7 +37,7 @@ "StartTranscriptionJob": "

Starts an asynchronous job to transcribe speech to text.

", "TagResource": "

Tags an Amazon Transcribe resource with the given list of tags.

", "UntagResource": "

Removes specified tags from a specified Amazon Transcribe resource.

", - "UpdateCallAnalyticsCategory": "

Updates the call analytics category with new values. The UpdateCallAnalyticsCategory operation overwrites all of the existing information with the values that you provide in the request.

", + "UpdateCallAnalyticsCategory": "

Updates the call analytics category with new values. The UpdateCallAnalyticsCategory operation overwrites all of the existing information with the values that you provide in the request.

", "UpdateMedicalVocabulary": "

Updates a vocabulary with new values that you provide in a different text file from the one you used to create the vocabulary. The UpdateMedicalVocabulary operation overwrites all of the existing information with the values that you provide in the request.

", "UpdateVocabulary": "

Updates an existing vocabulary with new values. The UpdateVocabulary operation overwrites all of the existing information with the values that you provide in the request.

", "UpdateVocabularyFilter": "

Updates a vocabulary filter with a new list of filtered words.

" @@ -46,7 +46,7 @@ "AbsoluteTimeRange": { "base": "

A time range, set in seconds, between two points in the call.

", "refs": { - "InterruptionFilter$AbsoluteTimeRange": "

An object you can use to specify a time range (in milliseconds) for when you'd want to find the interruption. For example, you could search for an interruption between the 30,000 millisecond mark and the 45,000 millisecond mark. You could also specify the time period as the first 15,000 milliseconds or the last 15,000 milliseconds.

", + "InterruptionFilter$AbsoluteTimeRange": "

An object you can use to specify a time range (in milliseconds) for when you'd want to find the interruption. For example, you could search for an interruption between the 30,000 millisecond mark and the 45,000 millisecond mark. You could also specify the time period as the first 15,000 milliseconds or the last 15,000 milliseconds.

", "NonTalkTimeFilter$AbsoluteTimeRange": "

An object you can use to specify a time range (in milliseconds) for when no one is talking. For example, you could specify a time period between the 30,000 millisecond mark and the 45,000 millisecond mark. You could also specify the time period as the first 15,000 milliseconds or the last 15,000 milliseconds.

", "SentimentFilter$AbsoluteTimeRange": "

The time range, measured in seconds, of the sentiment.

", "TranscriptFilter$AbsoluteTimeRange": "

A time range, set in seconds, between two points in the call.

" @@ -72,12 +72,12 @@ "JobExecutionSettings$AllowDeferredExecution": "

Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit is exceeded. When the AllowDeferredExecution field is true, jobs are queued and executed when the number of executing jobs falls below the concurrent execution limit. If the field is false, Amazon Transcribe returns a LimitExceededException exception.

Note that job queuing is enabled by default for call analytics jobs.

If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn field.

", "LanguageModel$UpgradeAvailability": "

Whether the base model used for the custom language model is up to date. If this field is true then you are running the most up-to-date version of the base model in your custom language model.

", "MedicalTranscriptionSetting$ShowSpeakerLabels": "

Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recognition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels in the MaxSpeakerLabels field.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", - "MedicalTranscriptionSetting$ChannelIdentification": "

Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription.

Amazon Transcribe Medical also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException

", + "MedicalTranscriptionSetting$ChannelIdentification": "

Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription.

Amazon Transcribe Medical also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", "MedicalTranscriptionSetting$ShowAlternatives": "

Determines whether alternative transcripts are generated along with the transcript that has the highest confidence. If you set ShowAlternatives field to true, you must also set the maximum number of alternatives to return in the MaxAlternatives field.

", "NonTalkTimeFilter$Negate": "

Set to TRUE to look for a time period when people were talking.

", - "SentimentFilter$Negate": "

Set to TRUE to look for sentiments that weren't specified in the request.

", + "SentimentFilter$Negate": "

Set to TRUE to look for sentiments that weren't specified in the request.

", "Settings$ShowSpeakerLabels": "

Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recognition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels MaxSpeakerLabels field.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", - "Settings$ChannelIdentification": "

Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.

Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", + "Settings$ChannelIdentification": "

Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.

Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

", "Settings$ShowAlternatives": "

Determines whether the transcription contains alternative transcriptions. If you set the ShowAlternatives field to true, you must also set the maximum number of alternatives to return in the MaxAlternatives field.

", "StartTranscriptionJobRequest$IdentifyLanguage": "

Set this field to true to enable automatic language identification. Automatic language identification is disabled by default. You receive a BadRequestException error if you enter a value for a LanguageCode.

", "TranscriptFilter$Negate": "

If TRUE, the rule that you specify is applied to everything except for the phrases that you specify.

", @@ -115,7 +115,7 @@ "base": "

Provides optional settings for the CallAnalyticsJob operation.

", "refs": { "CallAnalyticsJob$Settings": "

Provides information about the settings used to run a transcription job.

", - "StartCallAnalyticsJobRequest$Settings": "

A Settings object that provides optional settings for a call analytics job.

" + "StartCallAnalyticsJobRequest$Settings": "

A Settings object that provides optional settings for a call analytics job.

" } }, "CallAnalyticsJobStatus": { @@ -155,7 +155,7 @@ "CategoryPropertiesList$member": null, "CreateCallAnalyticsCategoryResponse$CategoryProperties": "

The rules and associated metadata used to create a category.

", "GetCallAnalyticsCategoryResponse$CategoryProperties": "

The rules you've defined for a category.

", - "UpdateCallAnalyticsCategoryResponse$CategoryProperties": "

The attributes describing the analytics category. You can see information such as the rules that you've used to update the category and when the category was originally created.

" + "UpdateCallAnalyticsCategoryResponse$CategoryProperties": "

The attributes describing the analytics category. You can see information such as the rules that you've used to update the category and when the category was originally created.

" } }, "CategoryPropertiesList": { @@ -365,7 +365,7 @@ "GetMedicalVocabularyResponse$FailureReason": "

If the VocabularyState is FAILED, this field contains information about why the job failed.

", "GetVocabularyResponse$FailureReason": "

If the VocabularyState field is FAILED, this field contains information about why the job failed.

", "LanguageModel$FailureReason": "

The reason why the custom language model couldn't be created.

", - "MedicalTranscriptionJob$FailureReason": "

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field contains one of the following values:

", + "MedicalTranscriptionJob$FailureReason": "

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field contains one of the following values:

", "MedicalTranscriptionJobSummary$FailureReason": "

If the TranscriptionJobStatus field is FAILED, a description of the error.

", "TranscriptionJob$FailureReason": "

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field can contain one of the following values:

", "TranscriptionJobSummary$FailureReason": "

If the TranscriptionJobStatus field is FAILED, a description of the error.

" @@ -444,7 +444,7 @@ "IdentifiedLanguageScore": { "base": null, "refs": { - "CallAnalyticsJob$IdentifiedLanguageScore": "

A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. This value appears only when you don't provide a single language code. Larger values indicate that Amazon Transcribe has higher confidence in the language that it identified

", + "CallAnalyticsJob$IdentifiedLanguageScore": "

A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. This value appears only when you don't provide a single language code. Larger values indicate that Amazon Transcribe has higher confidence in the language that it identified.

", "TranscriptionJob$IdentifiedLanguageScore": "

A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.

", "TranscriptionJobSummary$IdentifiedLanguageScore": "

A value between zero and one that Amazon Transcribe assigned to the language it identified in the source audio. A higher score indicates that Amazon Transcribe is more confident in the language it identified.

" } @@ -485,7 +485,7 @@ "KMSKeyId": { "base": null, "refs": { - "StartCallAnalyticsJobRequest$OutputEncryptionKMSKeyId": "

The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service key used to encrypt the output of the call analytics job. The user calling the operation must have permission to use the specified KMS key.

You use either of the following to identify an Amazon Web Services KMS key in the current account:

You can use either of the following to identify a KMS key in the current account or another account:

If you don't specify an encryption key, the output of the call analytics job is encrypted with the default Amazon S3 key (SSE-S3).

If you specify a KMS key to encrypt your output, you must also specify an output location in the OutputLocation parameter.

", + "StartCallAnalyticsJobRequest$OutputEncryptionKMSKeyId": "

The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service key used to encrypt the output of the call analytics job. The user calling the operation must have permission to use the specified KMS key.

You use either of the following to identify an Amazon Web Services KMS key in the current account:

You can use either of the following to identify a KMS key in the current account or another account:

If you don't specify an encryption key, the output of the call analytics job is encrypted with the default Amazon S3 key (SSE-S3).

If you specify a KMS key to encrypt your output, you must also specify an output location in the OutputLocation parameter.

", "StartMedicalTranscriptionJobRequest$OutputEncryptionKMSKeyId": "

The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service (KMS) key used to encrypt the output of the transcription job. The user calling the StartMedicalTranscriptionJob operation must have permission to use the specified KMS key.

You use either of the following to identify a KMS key in the current account:

You can use either of the following to identify a KMS key in the current account or another account:

If you don't specify an encryption key, the output of the medical transcription job is encrypted with the default Amazon S3 key (SSE-S3).

If you specify a KMS key to encrypt your output, you must also specify an output location in the OutputBucketName parameter.

", "StartTranscriptionJobRequest$OutputEncryptionKMSKeyId": "

The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service (KMS) key used to encrypt the output of the transcription job. The user calling the StartTranscriptionJob operation must have permission to use the specified KMS key.

You can use either of the following to identify a KMS key in the current account:

You can use either of the following to identify a KMS key in the current account or another account:

If you don't specify an encryption key, the output of the transcription job is encrypted with the default Amazon S3 key (SSE-S3).

If you specify a KMS key to encrypt your output, you must also specify an output location in the OutputBucketName parameter.

" } @@ -493,13 +493,13 @@ "LanguageCode": { "base": null, "refs": { - "CallAnalyticsJob$LanguageCode": "

If you know the language spoken between the customer and the agent, specify a language code for this field.

If you don't know the language, you can leave this field blank, and Amazon Transcribe will use machine learning to automatically identify the language. To improve the accuracy of language identification, you can provide an array containing the possible language codes for the language spoken in your audio. Refer to Supported languages and language-specific features for additional information.

", + "CallAnalyticsJob$LanguageCode": "

If you know the language spoken between the customer and the agent, specify a language code for this field.

If you don't know the language, you can leave this field blank, and Amazon Transcribe will use machine learning to automatically identify the language. To improve the accuracy of language identification, you can provide an array containing the possible language codes for the language spoken in your audio. Refer to Supported languages for additional information.

", "CallAnalyticsJobSummary$LanguageCode": "

The language of the transcript in the source audio file.

", "CreateMedicalVocabularyRequest$LanguageCode": "

The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.

", "CreateMedicalVocabularyResponse$LanguageCode": "

The language code for the entries in your custom vocabulary. US English (en-US) is the only valid language code for Amazon Transcribe Medical.

", "CreateVocabularyFilterRequest$LanguageCode": "

The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.

", "CreateVocabularyFilterResponse$LanguageCode": "

The language code of the words in the collection.

", - "CreateVocabularyRequest$LanguageCode": "

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis.

", + "CreateVocabularyRequest$LanguageCode": "

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see table-language-matrix.

", "CreateVocabularyResponse$LanguageCode": "

The language code of the vocabulary entries.

", "GetMedicalVocabularyResponse$LanguageCode": "

The valid language code for your vocabulary entries.

", "GetVocabularyFilterResponse$LanguageCode": "

The language code of the words in the vocabulary filter.

", @@ -512,10 +512,10 @@ "StartTranscriptionJobRequest$LanguageCode": "

The language code for the language used in the input media file.

To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must be encoded at a sample rate of 16,000 Hz or higher.

", "TranscriptionJob$LanguageCode": "

The language code for the input speech.

", "TranscriptionJobSummary$LanguageCode": "

The language code for the input speech.

", - "UpdateMedicalVocabularyRequest$LanguageCode": "

The language code of the language used for the entries in the updated vocabulary. US English (en-US) is the only valid language code in Amazon Transcribe Medical.

", + "UpdateMedicalVocabularyRequest$LanguageCode": "

The language code of the language used for the entries in the updated vocabulary. U.S. English (en-US) is the only valid language code in Amazon Transcribe Medical.

", "UpdateMedicalVocabularyResponse$LanguageCode": "

The language code for the language of the text file used to update the custom vocabulary. US English (en-US) is the only language supported in Amazon Transcribe Medical.

", "UpdateVocabularyFilterResponse$LanguageCode": "

The language code of the words in the vocabulary filter.

", - "UpdateVocabularyRequest$LanguageCode": "

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis.

", + "UpdateVocabularyRequest$LanguageCode": "

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see Supported languages.

", "UpdateVocabularyResponse$LanguageCode": "

The language code of the vocabulary entries.

", "VocabularyFilterInfo$LanguageCode": "

The language code of the words in the vocabulary filter.

", "VocabularyInfo$LanguageCode": "

The language code of the vocabulary entries.

" @@ -532,7 +532,7 @@ "refs": { "CallAnalyticsJobSettings$LanguageIdSettings": "

The language identification settings associated with your call analytics job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelName.

", "StartTranscriptionJobRequest$LanguageIdSettings": "

The language identification settings associated with your transcription job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelName.

", - "TranscriptionJob$LanguageIdSettings": "

Language-specific settings that can be specified when language identification is enabled for your transcription job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelNameLanguageModelName.

" + "TranscriptionJob$LanguageIdSettings": "

Language-specific settings that can be specified when language identification is enabled for your transcription job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelName.

" } }, "LanguageModel": { @@ -545,7 +545,7 @@ "LanguageOptions": { "base": null, "refs": { - "CallAnalyticsJobSettings$LanguageOptions": "

When you run a call analytics job, you can specify the language spoken in the audio, or you can have Amazon Transcribe identify the language for you.

To specify a language, specify an array with one language code. If you don't know the language, you can leave this field blank and Amazon Transcribe will use machine learning to identify the language for you. To improve the ability of Amazon Transcribe to correctly identify the language, you can provide an array of the languages that can be present in the audio. Refer to Supported languages and language-specific features for additional information.

", + "CallAnalyticsJobSettings$LanguageOptions": "

When you run a call analytics job, you can specify the language spoken in the audio, or you can have Amazon Transcribe identify the language for you.

To specify a language, specify an array with one language code. If you don't know the language, you can leave this field blank and Amazon Transcribe will use machine learning to identify the language for you. To improve the ability of Amazon Transcribe to correctly identify the language, you can provide an array of the languages that can be present in the audio. Refer to Supported languages for additional information.

", "StartTranscriptionJobRequest$LanguageOptions": "

An object containing a list of languages that might be present in your collection of audio files. Automatic language identification chooses a language that best matches the source audio from that list.

To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must be encoded at a sample rate of 16,000 Hz or higher.

", "TranscriptionJob$LanguageOptions": "

An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.

" } @@ -686,7 +686,7 @@ "MediaFormat": { "base": null, "refs": { - "CallAnalyticsJob$MediaFormat": "

The format of the input audio file. Note: for call analytics jobs, only the following media formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM.

", + "CallAnalyticsJob$MediaFormat": "

The format of the input audio file. Note: for call analytics jobs, only the following media formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM.

", "MedicalTranscriptionJob$MediaFormat": "

The format of the input media file.

", "StartMedicalTranscriptionJobRequest$MediaFormat": "

The audio format of the input media file.

", "StartTranscriptionJobRequest$MediaFormat": "

The format of the input media file.

", @@ -697,10 +697,10 @@ "base": null, "refs": { "CallAnalyticsJob$MediaSampleRateHertz": "

The sample rate, in Hertz, of the audio.

", - "MedicalTranscriptionJob$MediaSampleRateHertz": "

The sample rate, in Hertz, of the source audio containing medical information.

If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you should leave the MedicalMediaSampleHertz blank and let Amazon Transcribe Medical determine the sample rate.

", + "MedicalTranscriptionJob$MediaSampleRateHertz": "

The sample rate, in Hertz, of the source audio containing medical information.

If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to specify the sample rate, it must match the rate detected by Amazon Transcribe Medical.

", "StartMedicalTranscriptionJobRequest$MediaSampleRateHertz": "

The sample rate, in Hertz, of the audio track in the input media file.

If you do not specify the media sample rate, Amazon Transcribe Medical determines the sample rate. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you should leave the MediaSampleRateHertz field blank and let Amazon Transcribe Medical determine the sample rate.

", "StartTranscriptionJobRequest$MediaSampleRateHertz": "

The sample rate, in Hertz, of the audio track in the input media file.

If you do not specify the media sample rate, Amazon Transcribe determines the sample rate. If you specify the sample rate, it must match the sample rate detected by Amazon Transcribe. In most cases, you should leave the MediaSampleRateHertz field blank and let Amazon Transcribe determine the sample rate.

", - "TranscriptionJob$MediaSampleRateHertz": "

The sample rate, in Hertz, of the audio track in the input media file.

" + "TranscriptionJob$MediaSampleRateHertz": "

The sample rate, in Hertz (Hz), of the audio track in the input media file.

" } }, "MedicalContentIdentificationType": { @@ -751,7 +751,7 @@ "CreateLanguageModelResponse$ModelName": "

The name you've chosen for your custom language model.

", "DeleteLanguageModelRequest$ModelName": "

The name of the model you're choosing to delete.

", "DescribeLanguageModelRequest$ModelName": "

The name of the custom language model you submit to get more information.

", - "LanguageIdSettings$LanguageModelName": "

The name of the language model you want to use when transcribing your audio. The model you specify must have the same language code as the transcription job; if the languages don't match, the language model won't be applied.

", + "LanguageIdSettings$LanguageModelName": "

The name of the language model you want to use when transcribing your audio. The model you specify must have the same language codes as the transcription job; if the languages don't match, the language model isn't be applied.

", "LanguageModel$ModelName": "

The name of the custom language model.

", "ListLanguageModelsRequest$NameContains": "

When specified, the custom language model names returned contain the substring you've specified.

", "ModelSettings$LanguageModelName": "

The name of your custom language model.

" @@ -902,8 +902,8 @@ "base": null, "refs": { "CategoryProperties$Rules": "

The rules used to create a call analytics category.

", - "CreateCallAnalyticsCategoryRequest$Rules": "

To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral.

", - "UpdateCallAnalyticsCategoryRequest$Rules": "

The rules used for the updated analytics category. The rules that you provide in this field replace the ones that are currently being used.

" + "CreateCallAnalyticsCategoryRequest$Rules": "

To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral.

", + "UpdateCallAnalyticsCategoryRequest$Rules": "

The rules used for the updated analytics category. The rules that you provide in this field replace the ones that are currently being used.

" } }, "SentimentFilter": { @@ -1000,7 +1000,7 @@ "base": null, "refs": { "Subtitles$Formats": "

Specify the output format for your subtitle file.

", - "SubtitlesOutput$Formats": "

Specify the output format for your subtitle file; if you select both SRT and VTT formats, two output files are genereated.

" + "SubtitlesOutput$Formats": "

Specify the output format for your subtitle file; if you select both SRT and VTT formats, two output files are generated.

" } }, "Subtitles": { @@ -1069,9 +1069,9 @@ "base": null, "refs": { "AbsoluteTimeRange$StartTime": "

A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

", - "AbsoluteTimeRange$EndTime": "

A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

", - "AbsoluteTimeRange$First": "

A time range from the beginning of the call to the value that you've specified. For example, if you specify 100000, the time range is set to the first 100,000 milliseconds of the call.

", - "AbsoluteTimeRange$Last": "

A time range from the value that you've specified to the end of the call. For example, if you specify 100000, the time range is set to the last 100,000 milliseconds of the call.

", + "AbsoluteTimeRange$EndTime": "

A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

", + "AbsoluteTimeRange$First": "

A time range from the beginning of the call to the value that you've specified. For example, if you specify 100000, the time range is set to the first 100,000 milliseconds of the call.

", + "AbsoluteTimeRange$Last": "

A time range from the value that you've specified to the end of the call. For example, if you specify 100000, the time range is set to the last 100,000 milliseconds of the call.

", "InterruptionFilter$Threshold": "

The duration of the interruption.

", "NonTalkTimeFilter$Threshold": "

The duration of the period when neither the customer nor agent was talking.

" } @@ -1214,24 +1214,24 @@ "Uri": { "base": null, "refs": { - "CreateMedicalVocabularyRequest$VocabularyFileUri": "

The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling. Enter information about your VocabularyFileUri in the following format:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

The following is an example URI for a vocabulary file that is stored in Amazon S3:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Medical Custom Vocabularies.

", - "CreateVocabularyFilterRequest$VocabularyFilterFileUri": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

", - "CreateVocabularyRequest$VocabularyFileUri": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom vocabularies.

", + "CreateMedicalVocabularyRequest$VocabularyFileUri": "

The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling. Enter information about your VocabularyFileUri in the following format:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

The following is an example URI for a vocabulary file that is stored in Amazon S3:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Medical Custom Vocabularies.

", + "CreateVocabularyFilterRequest$VocabularyFilterFileUri": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

", + "CreateVocabularyRequest$VocabularyFileUri": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

https://s3.<Amazon Web Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom vocabularies.

", "GetMedicalVocabularyResponse$DownloadUri": "

The location in Amazon S3 where the vocabulary is stored. Use this URI to get the contents of the vocabulary. You can download your vocabulary from the URI for a limited time.

", "GetVocabularyFilterResponse$DownloadUri": "

The URI of the list of words in the vocabulary filter. You can use this URI to get the list of words.

", "GetVocabularyResponse$DownloadUri": "

The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.

", "InputDataConfig$S3Uri": "

The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.

", "InputDataConfig$TuningDataS3Uri": "

The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.

", - "Media$MediaFileUri": "

The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:

For example:

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

", - "Media$RedactedMediaFileUri": "

The S3 object location for your redacted output media file. This is only supported for call analytics jobs.

", + "Media$MediaFileUri": "

The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:

s3://<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

For example:

s3://AWSDOC-EXAMPLE-BUCKET/example.mp4

s3://AWSDOC-EXAMPLE-BUCKET/mediadocs/example.mp4

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

", + "Media$RedactedMediaFileUri": "

The S3 object location for your redacted output media file. This is only supported for call analytics jobs.

", "MedicalTranscript$TranscriptFileUri": "

The S3 object location of the medical transcript.

Use this URI to access the medical transcript. This URI points to the S3 bucket you created to store the medical transcript.

", - "StartCallAnalyticsJobRequest$OutputLocation": "

The Amazon S3 location where the output of the call analytics job is stored. You can provide the following location types to store the output of call analytics job:

You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt the output of our analytics job using the OutputEncryptionKMSKeyId parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption of the analytics job output that is placed in your S3 bucket.

", + "StartCallAnalyticsJobRequest$OutputLocation": "

The Amazon S3 location where the output of the call analytics job is stored. You can provide the following location types to store the output of call analytics job:

You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt the output of our analytics job using the OutputEncryptionKMSKeyId parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption of the analytics job output that is placed in your S3 bucket.

", "SubtitleFileUris$member": null, "Transcript$TranscriptFileUri": "

The S3 object location of the transcript.

Use this URI to access the transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

", "Transcript$RedactedTranscriptFileUri": "

The S3 object location of the redacted transcript.

Use this URI to access the redacted transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

", - "UpdateMedicalVocabularyRequest$VocabularyFileUri": "

The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you are calling. The following is the format for a URI:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies.

", - "UpdateVocabularyFilterRequest$VocabularyFilterFileUri": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

", - "UpdateVocabularyRequest$VocabularyFileUri": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is

For example:

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

" + "UpdateMedicalVocabularyRequest$VocabularyFileUri": "

The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you are calling. The following is the format for a URI:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies.

", + "UpdateVocabularyFilterRequest$VocabularyFilterFileUri": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

", + "UpdateVocabularyRequest$VocabularyFileUri": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

" } }, "Vocabularies": { @@ -1263,7 +1263,7 @@ "DeleteVocabularyFilterRequest$VocabularyFilterName": "

The name of the vocabulary filter to remove.

", "GetVocabularyFilterRequest$VocabularyFilterName": "

The name of the vocabulary filter for which to return information.

", "GetVocabularyFilterResponse$VocabularyFilterName": "

The name of the vocabulary filter.

", - "LanguageIdSettings$VocabularyFilterName": "

The name of the vocabulary filter you want to use when transcribing your audio. The filter you specify must have the same language code as the transcription job; if the languages don't match, the vocabulary filter won't be applied.

", + "LanguageIdSettings$VocabularyFilterName": "

The name of the vocabulary filter you want to use when transcribing your audio. The filter you specify must have the same language codes as the transcription job; if the languages don't match, the vocabulary filter isn't be applied.

", "ListVocabularyFiltersRequest$NameContains": "

Filters the response so that it only contains vocabulary filters whose name contains the specified string.

", "Settings$VocabularyFilterName": "

The name of the vocabulary filter to use when transcribing the audio. The filter that you specify must have the same language code as the transcription job.

", "UpdateVocabularyFilterRequest$VocabularyFilterName": "

The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as another vocabulary filter, you get a ConflictException error.

", @@ -1278,7 +1278,7 @@ } }, "VocabularyInfo": { - "base": "

Provides information about a custom vocabulary.

", + "base": "

Provides information about a custom vocabulary.

", "refs": { "Vocabularies$member": null } @@ -1297,7 +1297,7 @@ "GetMedicalVocabularyResponse$VocabularyName": "

The name of the vocabulary returned by Amazon Transcribe Medical.

", "GetVocabularyRequest$VocabularyName": "

The name of the vocabulary to return information about. The name is case sensitive.

", "GetVocabularyResponse$VocabularyName": "

The name of the vocabulary to return.

", - "LanguageIdSettings$VocabularyName": "

The name of the vocabulary you want to use when processing your transcription job. The vocabulary you specify must have the same language code as the transcription job; if the languages don't match, the vocabulary won't be applied.

", + "LanguageIdSettings$VocabularyName": "

The name of the vocabulary you want to use when processing your transcription job. The vocabulary you specify must have the same language codes as the transcription job; if the languages don't match, the vocabulary isn't applied.

", "ListMedicalVocabulariesRequest$NameContains": "

Returns vocabularies whose names contain the specified string. The search is not case sensitive. ListMedicalVocabularies returns both \"vocabularyname\" and \"VocabularyName\".

", "ListVocabulariesRequest$NameContains": "

When specified, the vocabularies returned in the list are limited to vocabularies whose name contains the specified string. The search is not case sensitive, ListVocabularies returns both \"vocabularyname\" and \"VocabularyName\" in the response list.

", "MedicalTranscriptionSetting$VocabularyName": "

The name of the vocabulary to use when processing a medical transcription job.

", @@ -1334,8 +1334,8 @@ "Words": { "base": null, "refs": { - "CreateVocabularyFilterRequest$Words": "

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

", - "UpdateVocabularyFilterRequest$Words": "

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

" + "CreateVocabularyFilterRequest$Words": "

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

", + "UpdateVocabularyFilterRequest$Words": "

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

" } } } diff --git a/service/computeoptimizer/api.go b/service/computeoptimizer/api.go index 59b279b12ec..fa761e059b7 100644 --- a/service/computeoptimizer/api.go +++ b/service/computeoptimizer/api.go @@ -2161,6 +2161,28 @@ type AutoScalingGroupRecommendation struct { // Optimizer might recommend a new generation instance type. Finding *string `locationName:"finding" type:"string" enum:"Finding"` + // The applications that might be running on the instances in the Auto Scaling + // group as inferred by Compute Optimizer. + // + // Compute Optimizer can infer if one of the following applications might be + // running on the instances: + // + // * AmazonEmr - Infers that Amazon EMR might be running on the instances. + // + // * ApacheCassandra - Infers that Apache Cassandra might be running on the + // instances. + // + // * ApacheHadoop - Infers that Apache Hadoop might be running on the instances. + // + // * Memcached - Infers that Memcached might be running on the instances. + // + // * NGINX - Infers that NGINX might be running on the instances. + // + // * PostgreSql - Infers that PostgreSQL might be running on the instances. + // + // * Redis - Infers that Redis might be running on the instances. + InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list"` + // The timestamp of when the Auto Scaling group recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` @@ -2237,6 +2259,12 @@ func (s *AutoScalingGroupRecommendation) SetFinding(v string) *AutoScalingGroupR return s } +// SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. +func (s *AutoScalingGroupRecommendation) SetInferredWorkloadTypes(v []*string) *AutoScalingGroupRecommendation { + s.InferredWorkloadTypes = v + return s +} + // SetLastRefreshTimestamp sets the LastRefreshTimestamp field's value. func (s *AutoScalingGroupRecommendation) SetLastRefreshTimestamp(v time.Time) *AutoScalingGroupRecommendation { s.LastRefreshTimestamp = &v @@ -2268,6 +2296,17 @@ type AutoScalingGroupRecommendationOption struct { // An array of objects that describe an Auto Scaling group configuration. Configuration *AutoScalingGroupConfiguration `locationName:"configuration" type:"structure"` + // The level of effort required to migrate from the current instance type to + // the recommended instance type. + // + // For example, the migration effort is Low if Amazon EMR is the inferred workload + // type and an Amazon Web Services Graviton instance type is recommended. The + // migration effort is Medium if a workload type couldn't be inferred but an + // Amazon Web Services Graviton instance type is recommended. The migration + // effort is VeryLow if both the current and recommended instance types are + // of the same CPU architecture. + MigrationEffort *string `locationName:"migrationEffort" type:"string" enum:"MigrationEffort"` + // The performance risk of the Auto Scaling group configuration recommendation. // // Performance risk indicates the likelihood of the recommended instance type @@ -2329,6 +2368,12 @@ func (s *AutoScalingGroupRecommendationOption) SetConfiguration(v *AutoScalingGr return s } +// SetMigrationEffort sets the MigrationEffort field's value. +func (s *AutoScalingGroupRecommendationOption) SetMigrationEffort(v string) *AutoScalingGroupRecommendationOption { + s.MigrationEffort = &v + return s +} + // SetPerformanceRisk sets the PerformanceRisk field's value. func (s *AutoScalingGroupRecommendationOption) SetPerformanceRisk(v float64) *AutoScalingGroupRecommendationOption { s.PerformanceRisk = &v @@ -2792,8 +2837,18 @@ type EffectiveRecommendationPreferences struct { // // A status of Active confirms that the preference is applied in the latest // recommendation refresh, and a status of Inactive confirms that it's not yet - // applied. + // applied to recommendations. + // + // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) + // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + + // Describes the activation status of the inferred workload types preference. + // + // A status of Active confirms that the preference is applied in the latest + // recommendation refresh. A status of Inactive confirms that it's not yet applied + // to recommendations. + InferredWorkloadTypes *string `locationName:"inferredWorkloadTypes" type:"string" enum:"InferredWorkloadTypesPreference"` } // String returns the string representation. @@ -2826,6 +2881,12 @@ func (s *EffectiveRecommendationPreferences) SetEnhancedInfrastructureMetrics(v return s } +// SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. +func (s *EffectiveRecommendationPreferences) SetInferredWorkloadTypes(v string) *EffectiveRecommendationPreferences { + s.InferredWorkloadTypes = &v + return s +} + // Describes a filter that returns a more specific list of account enrollment // statuses. Use this filter with the GetEnrollmentStatusesForOrganization action. type EnrollmentFilter struct { @@ -2873,8 +2934,9 @@ func (s *EnrollmentFilter) SetValues(v []*string) *EnrollmentFilter { return s } -// Describes the estimated monthly savings amount possible for a given resource -// based on On-Demand instance pricing +// Describes the estimated monthly savings amount possible, based on On-Demand +// instance pricing, by adopting Compute Optimizer recommendations for a given +// resource. // // For more information, see Estimated monthly savings and savings opportunities // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/view-ec2-recommendations.html#ec2-savings-calculation) @@ -4423,12 +4485,15 @@ type GetEffectiveRecommendationPreferencesOutput struct { // // A status of Active confirms that the preference is applied in the latest // recommendation refresh, and a status of Inactive confirms that it's not yet - // applied. + // applied to recommendations. // // To validate whether the preference is applied to your last generated set // of recommendations, review the effectiveRecommendationPreferences value in // the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations // actions. + // + // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) + // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` } @@ -5074,8 +5139,8 @@ type InstanceRecommendation struct { CurrentInstanceType *string `locationName:"currentInstanceType" type:"string"` // The risk of the current instance not meeting the performance needs of its - // workloads. The higher the risk, the more likely the current Lambda function - // requires more memory. + // workloads. The higher the risk, the more likely the current instance cannot + // meet the performance requirements of its workload. CurrentPerformanceRisk *string `locationName:"currentPerformanceRisk" type:"string" enum:"CurrentPerformanceRisk"` // An object that describes the effective recommendation preferences for the @@ -5217,6 +5282,28 @@ type InstanceRecommendation struct { // in the Amazon Elastic Compute Cloud User Guide. FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list"` + // The applications that might be running on the instance as inferred by Compute + // Optimizer. + // + // Compute Optimizer can infer if one of the following applications might be + // running on the instance: + // + // * AmazonEmr - Infers that Amazon EMR might be running on the instance. + // + // * ApacheCassandra - Infers that Apache Cassandra might be running on the + // instance. + // + // * ApacheHadoop - Infers that Apache Hadoop might be running on the instance. + // + // * Memcached - Infers that Memcached might be running on the instance. + // + // * NGINX - Infers that NGINX might be running on the instance. + // + // * PostgreSql - Infers that PostgreSQL might be running on the instance. + // + // * Redis - Infers that Redis might be running on the instance. + InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list"` + // The Amazon Resource Name (ARN) of the current instance. InstanceArn *string `locationName:"instanceArn" type:"string"` @@ -5293,6 +5380,12 @@ func (s *InstanceRecommendation) SetFindingReasonCodes(v []*string) *InstanceRec return s } +// SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. +func (s *InstanceRecommendation) SetInferredWorkloadTypes(v []*string) *InstanceRecommendation { + s.InferredWorkloadTypes = v + return s +} + // SetInstanceArn sets the InstanceArn field's value. func (s *InstanceRecommendation) SetInstanceArn(v string) *InstanceRecommendation { s.InstanceArn = &v @@ -5342,6 +5435,17 @@ type InstanceRecommendationOption struct { // The instance type of the instance recommendation. InstanceType *string `locationName:"instanceType" type:"string"` + // The level of effort required to migrate from the current instance type to + // the recommended instance type. + // + // For example, the migration effort is Low if Amazon EMR is the inferred workload + // type and an Amazon Web Services Graviton instance type is recommended. The + // migration effort is Medium if a workload type couldn't be inferred but an + // Amazon Web Services Graviton instance type is recommended. The migration + // effort is VeryLow if both the current and recommended instance types are + // of the same CPU architecture. + MigrationEffort *string `locationName:"migrationEffort" type:"string" enum:"MigrationEffort"` + // The performance risk of the instance recommendation option. // // Performance risk indicates the likelihood of the recommended instance type @@ -5480,6 +5584,12 @@ func (s *InstanceRecommendationOption) SetInstanceType(v string) *InstanceRecomm return s } +// SetMigrationEffort sets the MigrationEffort field's value. +func (s *InstanceRecommendationOption) SetMigrationEffort(v string) *InstanceRecommendationOption { + s.MigrationEffort = &v + return s +} + // SetPerformanceRisk sets the PerformanceRisk field's value. func (s *InstanceRecommendationOption) SetPerformanceRisk(v float64) *InstanceRecommendationOption { s.PerformanceRisk = &v @@ -5826,7 +5936,7 @@ type LambdaFunctionRecommendation struct { // The risk of the current Lambda function not meeting the performance needs // of its workloads. The higher the risk, the more likely the current Lambda - // function configuration is underperforming in its workload. + // function requires more memory. CurrentPerformanceRisk *string `locationName:"currentPerformanceRisk" type:"string" enum:"CurrentPerformanceRisk"` // The finding classification of the function. @@ -6407,11 +6517,26 @@ type PutRecommendationPreferencesInput struct { // The status of the enhanced infrastructure metrics recommendation preference // to create or update. // - // A status of Active confirms that the preference is applied in the latest - // recommendation refresh, and a status of Inactive confirms that it's not yet - // applied. + // Specify the Active status to activate the preference, or specify Inactive + // to deactivate the preference. + // + // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) + // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + // The status of the inferred workload types recommendation preference to create + // or update. + // + // The inferred workload type feature is active by default. To deactivate it, + // create a recommendation preference. + // + // Specify the Inactive status to deactivate the feature, or specify Active + // to activate it. + // + // For more information, see Inferred workload types (https://docs.aws.amazon.com/compute-optimizer/latest/ug/inferred-workload-types.html) + // in the Compute Optimizer User Guide. + InferredWorkloadTypes *string `locationName:"inferredWorkloadTypes" type:"string" enum:"InferredWorkloadTypesPreference"` + // The target resource type of the recommendation preference to create. // // The Ec2Instance option encompasses standalone instances and instances that @@ -6434,7 +6559,10 @@ type PutRecommendationPreferencesInput struct { // for Auto Scaling groups only at the resource level by specifying a scope // name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource // Name (ARN). This will configure the preference for all instances that are - // part of the specified the Auto Scaling group. + // part of the specified Auto Scaling group. You also cannot create recommendation + // preferences at the resource level for instances that are part of an Auto + // Scaling group. You can create recommendation preferences at the resource + // level only for standalone instances. Scope *Scope `locationName:"scope" type:"structure"` } @@ -6475,6 +6603,12 @@ func (s *PutRecommendationPreferencesInput) SetEnhancedInfrastructureMetrics(v s return s } +// SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. +func (s *PutRecommendationPreferencesInput) SetInferredWorkloadTypes(v string) *PutRecommendationPreferencesInput { + s.InferredWorkloadTypes = &v + return s +} + // SetResourceType sets the ResourceType field's value. func (s *PutRecommendationPreferencesInput) SetResourceType(v string) *PutRecommendationPreferencesInput { s.ResourceType = &v @@ -6698,9 +6832,19 @@ type RecommendationPreferencesDetail struct { // // A status of Active confirms that the preference is applied in the latest // recommendation refresh, and a status of Inactive confirms that it's not yet - // applied. + // applied to recommendations. + // + // For more information, see Enhanced infrastructure metrics (https://docs.aws.amazon.com/compute-optimizer/latest/ug/enhanced-infrastructure-metrics.html) + // in the Compute Optimizer User Guide. EnhancedInfrastructureMetrics *string `locationName:"enhancedInfrastructureMetrics" type:"string" enum:"EnhancedInfrastructureMetrics"` + // The status of the inferred workload types recommendation preference. + // + // A status of Active confirms that the preference is applied in the latest + // recommendation refresh. A status of Inactive confirms that it's not yet applied + // to recommendations. + InferredWorkloadTypes *string `locationName:"inferredWorkloadTypes" type:"string" enum:"InferredWorkloadTypesPreference"` + // The target resource type of the recommendation preference to create. // // The Ec2Instance option encompasses standalone instances and instances that @@ -6742,6 +6886,12 @@ func (s *RecommendationPreferencesDetail) SetEnhancedInfrastructureMetrics(v str return s } +// SetInferredWorkloadTypes sets the InferredWorkloadTypes field's value. +func (s *RecommendationPreferencesDetail) SetInferredWorkloadTypes(v string) *RecommendationPreferencesDetail { + s.InferredWorkloadTypes = &v + return s +} + // SetResourceType sets the ResourceType field's value. func (s *RecommendationPreferencesDetail) SetResourceType(v string) *RecommendationPreferencesDetail { s.ResourceType = &v @@ -7120,11 +7270,13 @@ func (s *S3DestinationConfig) SetKeyPrefix(v string) *S3DestinationConfig { type SavingsOpportunity struct { _ struct{} `type:"structure"` - // An object that describes the estimated monthly savings amount possible based - // on On-Demand instance pricing. + // An object that describes the estimated monthly savings amount possible, based + // on On-Demand instance pricing, by adopting Compute Optimizer recommendations + // for a given resource. EstimatedMonthlySavings *EstimatedMonthlySavings `locationName:"estimatedMonthlySavings" type:"structure"` - // The estimated monthly savings possible as a percentage of monthly cost. + // The estimated monthly savings possible as a percentage of monthly cost by + // adopting Compute Optimizer recommendations for a given resource. SavingsOpportunityPercentage *float64 `locationName:"savingsOpportunityPercentage" type:"double"` } @@ -7171,7 +7323,10 @@ func (s *SavingsOpportunity) SetSavingsOpportunityPercentage(v float64) *Savings // for Auto Scaling groups only at the resource level by specifying a scope // name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource // Name (ARN). This will configure the preference for all instances that are -// part of the specified the Auto Scaling group. +// part of the specified Auto Scaling group. You also cannot create recommendation +// preferences at the resource level for instances that are part of an Auto +// Scaling group. You can create recommendation preferences at the resource +// level only for standalone instances. type Scope struct { _ struct{} `type:"structure"` @@ -8223,6 +8378,15 @@ const ( // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" + + // ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes is a ExportableAutoScalingGroupField enum value + ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes = "EffectiveRecommendationPreferencesInferredWorkloadTypes" + + // ExportableAutoScalingGroupFieldInferredWorkloadTypes is a ExportableAutoScalingGroupField enum value + ExportableAutoScalingGroupFieldInferredWorkloadTypes = "InferredWorkloadTypes" + + // ExportableAutoScalingGroupFieldRecommendationOptionsMigrationEffort is a ExportableAutoScalingGroupField enum value + ExportableAutoScalingGroupFieldRecommendationOptionsMigrationEffort = "RecommendationOptionsMigrationEffort" ) // ExportableAutoScalingGroupField_Values returns all elements of the ExportableAutoScalingGroupField enum @@ -8279,6 +8443,9 @@ func ExportableAutoScalingGroupField_Values() []string { ExportableAutoScalingGroupFieldRecommendationOptionsEstimatedMonthlySavingsValue, ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesCpuVendorArchitectures, ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, + ExportableAutoScalingGroupFieldEffectiveRecommendationPreferencesInferredWorkloadTypes, + ExportableAutoScalingGroupFieldInferredWorkloadTypes, + ExportableAutoScalingGroupFieldRecommendationOptionsMigrationEffort, } } @@ -8429,6 +8596,15 @@ const ( // ExportableInstanceFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics is a ExportableInstanceField enum value ExportableInstanceFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" + + // ExportableInstanceFieldEffectiveRecommendationPreferencesInferredWorkloadTypes is a ExportableInstanceField enum value + ExportableInstanceFieldEffectiveRecommendationPreferencesInferredWorkloadTypes = "EffectiveRecommendationPreferencesInferredWorkloadTypes" + + // ExportableInstanceFieldInferredWorkloadTypes is a ExportableInstanceField enum value + ExportableInstanceFieldInferredWorkloadTypes = "InferredWorkloadTypes" + + // ExportableInstanceFieldRecommendationOptionsMigrationEffort is a ExportableInstanceField enum value + ExportableInstanceFieldRecommendationOptionsMigrationEffort = "RecommendationOptionsMigrationEffort" ) // ExportableInstanceField_Values returns all elements of the ExportableInstanceField enum @@ -8483,6 +8659,9 @@ func ExportableInstanceField_Values() []string { ExportableInstanceFieldRecommendationOptionsEstimatedMonthlySavingsValue, ExportableInstanceFieldEffectiveRecommendationPreferencesCpuVendorArchitectures, ExportableInstanceFieldEffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, + ExportableInstanceFieldEffectiveRecommendationPreferencesInferredWorkloadTypes, + ExportableInstanceFieldInferredWorkloadTypes, + ExportableInstanceFieldRecommendationOptionsMigrationEffort, } } @@ -8790,6 +8969,58 @@ func FindingReasonCode_Values() []string { } } +const ( + // InferredWorkloadTypeAmazonEmr is a InferredWorkloadType enum value + InferredWorkloadTypeAmazonEmr = "AmazonEmr" + + // InferredWorkloadTypeApacheCassandra is a InferredWorkloadType enum value + InferredWorkloadTypeApacheCassandra = "ApacheCassandra" + + // InferredWorkloadTypeApacheHadoop is a InferredWorkloadType enum value + InferredWorkloadTypeApacheHadoop = "ApacheHadoop" + + // InferredWorkloadTypeMemcached is a InferredWorkloadType enum value + InferredWorkloadTypeMemcached = "Memcached" + + // InferredWorkloadTypeNginx is a InferredWorkloadType enum value + InferredWorkloadTypeNginx = "Nginx" + + // InferredWorkloadTypePostgreSql is a InferredWorkloadType enum value + InferredWorkloadTypePostgreSql = "PostgreSql" + + // InferredWorkloadTypeRedis is a InferredWorkloadType enum value + InferredWorkloadTypeRedis = "Redis" +) + +// InferredWorkloadType_Values returns all elements of the InferredWorkloadType enum +func InferredWorkloadType_Values() []string { + return []string{ + InferredWorkloadTypeAmazonEmr, + InferredWorkloadTypeApacheCassandra, + InferredWorkloadTypeApacheHadoop, + InferredWorkloadTypeMemcached, + InferredWorkloadTypeNginx, + InferredWorkloadTypePostgreSql, + InferredWorkloadTypeRedis, + } +} + +const ( + // InferredWorkloadTypesPreferenceActive is a InferredWorkloadTypesPreference enum value + InferredWorkloadTypesPreferenceActive = "Active" + + // InferredWorkloadTypesPreferenceInactive is a InferredWorkloadTypesPreference enum value + InferredWorkloadTypesPreferenceInactive = "Inactive" +) + +// InferredWorkloadTypesPreference_Values returns all elements of the InferredWorkloadTypesPreference enum +func InferredWorkloadTypesPreference_Values() []string { + return []string{ + InferredWorkloadTypesPreferenceActive, + InferredWorkloadTypesPreferenceInactive, + } +} + const ( // InstanceRecommendationFindingReasonCodeCpuoverprovisioned is a InstanceRecommendationFindingReasonCode enum value InstanceRecommendationFindingReasonCodeCpuoverprovisioned = "CPUOverprovisioned" @@ -9106,6 +9337,30 @@ func MetricStatistic_Values() []string { } } +const ( + // MigrationEffortVeryLow is a MigrationEffort enum value + MigrationEffortVeryLow = "VeryLow" + + // MigrationEffortLow is a MigrationEffort enum value + MigrationEffortLow = "Low" + + // MigrationEffortMedium is a MigrationEffort enum value + MigrationEffortMedium = "Medium" + + // MigrationEffortHigh is a MigrationEffort enum value + MigrationEffortHigh = "High" +) + +// MigrationEffort_Values returns all elements of the MigrationEffort enum +func MigrationEffort_Values() []string { + return []string{ + MigrationEffortVeryLow, + MigrationEffortLow, + MigrationEffortMedium, + MigrationEffortHigh, + } +} + const ( // PlatformDifferenceHypervisor is a PlatformDifference enum value PlatformDifferenceHypervisor = "Hypervisor" @@ -9141,12 +9396,16 @@ func PlatformDifference_Values() []string { const ( // RecommendationPreferenceNameEnhancedInfrastructureMetrics is a RecommendationPreferenceName enum value RecommendationPreferenceNameEnhancedInfrastructureMetrics = "EnhancedInfrastructureMetrics" + + // RecommendationPreferenceNameInferredWorkloadTypes is a RecommendationPreferenceName enum value + RecommendationPreferenceNameInferredWorkloadTypes = "InferredWorkloadTypes" ) // RecommendationPreferenceName_Values returns all elements of the RecommendationPreferenceName enum func RecommendationPreferenceName_Values() []string { return []string{ RecommendationPreferenceNameEnhancedInfrastructureMetrics, + RecommendationPreferenceNameInferredWorkloadTypes, } } @@ -9186,6 +9445,9 @@ const ( // ResourceTypeLambdaFunction is a ResourceType enum value ResourceTypeLambdaFunction = "LambdaFunction" + + // ResourceTypeNotApplicable is a ResourceType enum value + ResourceTypeNotApplicable = "NotApplicable" ) // ResourceType_Values returns all elements of the ResourceType enum @@ -9195,6 +9457,7 @@ func ResourceType_Values() []string { ResourceTypeAutoScalingGroup, ResourceTypeEbsVolume, ResourceTypeLambdaFunction, + ResourceTypeNotApplicable, } } diff --git a/service/ec2/api.go b/service/ec2/api.go index 3924579830a..ee98206e83b 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -17789,6 +17789,138 @@ func (c *EC2) DescribeExportTasksWithContext(ctx aws.Context, input *DescribeExp return out, req.Send() } +const opDescribeFastLaunchImages = "DescribeFastLaunchImages" + +// DescribeFastLaunchImagesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeFastLaunchImages 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 DescribeFastLaunchImages for more information on using the DescribeFastLaunchImages +// 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 DescribeFastLaunchImagesRequest method. +// req, resp := client.DescribeFastLaunchImagesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImages +func (c *EC2) DescribeFastLaunchImagesRequest(input *DescribeFastLaunchImagesInput) (req *request.Request, output *DescribeFastLaunchImagesOutput) { + op := &request.Operation{ + Name: opDescribeFastLaunchImages, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeFastLaunchImagesInput{} + } + + output = &DescribeFastLaunchImagesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeFastLaunchImages API operation for Amazon Elastic Compute Cloud. +// +// Describe details for Windows AMIs that are configured for faster launching. +// +// 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 Elastic Compute Cloud's +// API operation DescribeFastLaunchImages for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImages +func (c *EC2) DescribeFastLaunchImages(input *DescribeFastLaunchImagesInput) (*DescribeFastLaunchImagesOutput, error) { + req, out := c.DescribeFastLaunchImagesRequest(input) + return out, req.Send() +} + +// DescribeFastLaunchImagesWithContext is the same as DescribeFastLaunchImages with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeFastLaunchImages 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 *EC2) DescribeFastLaunchImagesWithContext(ctx aws.Context, input *DescribeFastLaunchImagesInput, opts ...request.Option) (*DescribeFastLaunchImagesOutput, error) { + req, out := c.DescribeFastLaunchImagesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeFastLaunchImagesPages iterates over the pages of a DescribeFastLaunchImages operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeFastLaunchImages 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 DescribeFastLaunchImages operation. +// pageNum := 0 +// err := client.DescribeFastLaunchImagesPages(params, +// func(page *ec2.DescribeFastLaunchImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *EC2) DescribeFastLaunchImagesPages(input *DescribeFastLaunchImagesInput, fn func(*DescribeFastLaunchImagesOutput, bool) bool) error { + return c.DescribeFastLaunchImagesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeFastLaunchImagesPagesWithContext same as DescribeFastLaunchImagesPages 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 *EC2) DescribeFastLaunchImagesPagesWithContext(ctx aws.Context, input *DescribeFastLaunchImagesInput, fn func(*DescribeFastLaunchImagesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeFastLaunchImagesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeFastLaunchImagesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeFastLaunchImagesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeFastSnapshotRestores = "DescribeFastSnapshotRestores" // DescribeFastSnapshotRestoresRequest generates a "aws/request.Request" representing the @@ -31499,6 +31631,83 @@ func (c *EC2) DisableEbsEncryptionByDefaultWithContext(ctx aws.Context, input *D return out, req.Send() } +const opDisableFastLaunch = "DisableFastLaunch" + +// DisableFastLaunchRequest generates a "aws/request.Request" representing the +// client's request for the DisableFastLaunch 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 DisableFastLaunch for more information on using the DisableFastLaunch +// 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 DisableFastLaunchRequest method. +// req, resp := client.DisableFastLaunchRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableFastLaunch +func (c *EC2) DisableFastLaunchRequest(input *DisableFastLaunchInput) (req *request.Request, output *DisableFastLaunchOutput) { + op := &request.Operation{ + Name: opDisableFastLaunch, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DisableFastLaunchInput{} + } + + output = &DisableFastLaunchOutput{} + req = c.newRequest(op, input, output) + return +} + +// DisableFastLaunch API operation for Amazon Elastic Compute Cloud. +// +// Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned +// snapshots. When you disable faster launching, the AMI uses the standard launch +// process for each instance. All pre-provisioned snapshots must be removed +// before you can enable faster launching again. +// +// 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 Elastic Compute Cloud's +// API operation DisableFastLaunch for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableFastLaunch +func (c *EC2) DisableFastLaunch(input *DisableFastLaunchInput) (*DisableFastLaunchOutput, error) { + req, out := c.DisableFastLaunchRequest(input) + return out, req.Send() +} + +// DisableFastLaunchWithContext is the same as DisableFastLaunch with the addition of +// the ability to pass a context and additional request options. +// +// See DisableFastLaunch 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 *EC2) DisableFastLaunchWithContext(ctx aws.Context, input *DisableFastLaunchInput, opts ...request.Option) (*DisableFastLaunchOutput, error) { + req, out := c.DisableFastLaunchRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDisableFastSnapshotRestores = "DisableFastSnapshotRestores" // DisableFastSnapshotRestoresRequest generates a "aws/request.Request" representing the @@ -33063,6 +33272,85 @@ func (c *EC2) EnableEbsEncryptionByDefaultWithContext(ctx aws.Context, input *En return out, req.Send() } +const opEnableFastLaunch = "EnableFastLaunch" + +// EnableFastLaunchRequest generates a "aws/request.Request" representing the +// client's request for the EnableFastLaunch 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 EnableFastLaunch for more information on using the EnableFastLaunch +// 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 EnableFastLaunchRequest method. +// req, resp := client.EnableFastLaunchRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableFastLaunch +func (c *EC2) EnableFastLaunchRequest(input *EnableFastLaunchInput) (req *request.Request, output *EnableFastLaunchOutput) { + op := &request.Operation{ + Name: opEnableFastLaunch, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &EnableFastLaunchInput{} + } + + output = &EnableFastLaunchOutput{} + req = c.newRequest(op, input, output) + return +} + +// EnableFastLaunch API operation for Amazon Elastic Compute Cloud. +// +// When you enable faster launching for a Windows AMI, images are pre-provisioned, +// using snapshots to launch instances up to 65% faster. To create the optimized +// Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, +// rebooting as required. Then it creates a set of reserved snapshots that are +// used for subsequent launches. The reserved snapshots are automatically replenished +// as they are used, depending on your settings for launch frequency. +// +// 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 Elastic Compute Cloud's +// API operation EnableFastLaunch for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableFastLaunch +func (c *EC2) EnableFastLaunch(input *EnableFastLaunchInput) (*EnableFastLaunchOutput, error) { + req, out := c.EnableFastLaunchRequest(input) + return out, req.Send() +} + +// EnableFastLaunchWithContext is the same as EnableFastLaunch with the addition of +// the ability to pass a context and additional request options. +// +// See EnableFastLaunch 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 *EC2) EnableFastLaunchWithContext(ctx aws.Context, input *EnableFastLaunchInput, opts ...request.Option) (*EnableFastLaunchOutput, error) { + req, out := c.EnableFastLaunchRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opEnableFastSnapshotRestores = "EnableFastSnapshotRestores" // EnableFastSnapshotRestoresRequest generates a "aws/request.Request" representing the @@ -79436,6 +79724,240 @@ func (s *DescribeExportTasksOutput) SetExportTasks(v []*ExportTask) *DescribeExp return s } +type DescribeFastLaunchImagesInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // Use the following filters to streamline results. + // + // * resource-type - The resource type for pre-provisioning. + // + // * launch-template - The launch template that is associated with the pre-provisioned + // Windows AMI. + // + // * owner-id - The owner ID for the pre-provisioning resource. + // + // * state - The current state of fast launching for the Windows AMI. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // Details for one or more Windows AMI image IDs. + ImageIds []*string `locationName:"ImageId" locationNameList:"ImageId" type:"list"` + + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another request with the returned NextToken value. + // If this parameter is not specified, then all results are returned. + MaxResults *int64 `type:"integer"` + + // The token for the next set of results. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFastLaunchImagesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFastLaunchImagesInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeFastLaunchImagesInput) SetDryRun(v bool) *DescribeFastLaunchImagesInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeFastLaunchImagesInput) SetFilters(v []*Filter) *DescribeFastLaunchImagesInput { + s.Filters = v + return s +} + +// SetImageIds sets the ImageIds field's value. +func (s *DescribeFastLaunchImagesInput) SetImageIds(v []*string) *DescribeFastLaunchImagesInput { + s.ImageIds = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeFastLaunchImagesInput) SetMaxResults(v int64) *DescribeFastLaunchImagesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeFastLaunchImagesInput) SetNextToken(v string) *DescribeFastLaunchImagesInput { + s.NextToken = &v + return s +} + +type DescribeFastLaunchImagesOutput struct { + _ struct{} `type:"structure"` + + // A collection of details about the fast-launch enabled Windows images that + // meet the requested criteria. + FastLaunchImages []*DescribeFastLaunchImagesSuccessItem `locationName:"fastLaunchImageSet" locationNameList:"item" type:"list"` + + // The token to use for the next set of results. This value is null when there + // are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFastLaunchImagesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFastLaunchImagesOutput) GoString() string { + return s.String() +} + +// SetFastLaunchImages sets the FastLaunchImages field's value. +func (s *DescribeFastLaunchImagesOutput) SetFastLaunchImages(v []*DescribeFastLaunchImagesSuccessItem) *DescribeFastLaunchImagesOutput { + s.FastLaunchImages = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeFastLaunchImagesOutput) SetNextToken(v string) *DescribeFastLaunchImagesOutput { + s.NextToken = &v + return s +} + +// Describe details about a fast-launch enabled Windows image that meets the +// requested criteria. Criteria are defined by the DescribeFastLaunchImages +// action filters. +type DescribeFastLaunchImagesSuccessItem struct { + _ struct{} `type:"structure"` + + // The image ID that identifies the fast-launch enabled Windows image. + ImageId *string `locationName:"imageId" type:"string"` + + // The launch template that the fast-launch enabled Windows AMI uses when it + // launches Windows instances from pre-provisioned snapshots. + LaunchTemplate *FastLaunchLaunchTemplateSpecificationResponse `locationName:"launchTemplate" type:"structure"` + + // The maximum number of parallel instances that are launched for creating resources. + MaxParallelLaunches *int64 `locationName:"maxParallelLaunches" type:"integer"` + + // The owner ID for the fast-launch enabled Windows AMI. + OwnerId *string `locationName:"ownerId" type:"string"` + + // The resource type that is used for pre-provisioning the Windows AMI. Supported + // values include: snapshot. + ResourceType *string `locationName:"resourceType" type:"string" enum:"FastLaunchResourceType"` + + // A group of parameters that are used for pre-provisioning the associated Windows + // AMI using snapshots. + SnapshotConfiguration *FastLaunchSnapshotConfigurationResponse `locationName:"snapshotConfiguration" type:"structure"` + + // The current state of faster launching for the specified Windows AMI. + State *string `locationName:"state" type:"string" enum:"FastLaunchStateCode"` + + // The reason that faster launching for the Windows AMI changed to the current + // state. + StateTransitionReason *string `locationName:"stateTransitionReason" type:"string"` + + // The time that faster launching for the Windows AMI changed to the current + // state. + StateTransitionTime *time.Time `locationName:"stateTransitionTime" type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFastLaunchImagesSuccessItem) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFastLaunchImagesSuccessItem) GoString() string { + return s.String() +} + +// SetImageId sets the ImageId field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetImageId(v string) *DescribeFastLaunchImagesSuccessItem { + s.ImageId = &v + return s +} + +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetLaunchTemplate(v *FastLaunchLaunchTemplateSpecificationResponse) *DescribeFastLaunchImagesSuccessItem { + s.LaunchTemplate = v + return s +} + +// SetMaxParallelLaunches sets the MaxParallelLaunches field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetMaxParallelLaunches(v int64) *DescribeFastLaunchImagesSuccessItem { + s.MaxParallelLaunches = &v + return s +} + +// SetOwnerId sets the OwnerId field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetOwnerId(v string) *DescribeFastLaunchImagesSuccessItem { + s.OwnerId = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetResourceType(v string) *DescribeFastLaunchImagesSuccessItem { + s.ResourceType = &v + return s +} + +// SetSnapshotConfiguration sets the SnapshotConfiguration field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetSnapshotConfiguration(v *FastLaunchSnapshotConfigurationResponse) *DescribeFastLaunchImagesSuccessItem { + s.SnapshotConfiguration = v + return s +} + +// SetState sets the State field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetState(v string) *DescribeFastLaunchImagesSuccessItem { + s.State = &v + return s +} + +// SetStateTransitionReason sets the StateTransitionReason field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetStateTransitionReason(v string) *DescribeFastLaunchImagesSuccessItem { + s.StateTransitionReason = &v + return s +} + +// SetStateTransitionTime sets the StateTransitionTime field's value. +func (s *DescribeFastLaunchImagesSuccessItem) SetStateTransitionTime(v time.Time) *DescribeFastLaunchImagesSuccessItem { + s.StateTransitionTime = &v + return s +} + // Describes fast snapshot restores for a snapshot. type DescribeFastSnapshotRestoreSuccessItem struct { _ struct{} `type:"structure"` @@ -95971,6 +96493,182 @@ func (s *DisableEbsEncryptionByDefaultOutput) SetEbsEncryptionByDefault(v bool) return s } +type DisableFastLaunchInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // Forces the image settings to turn off faster launching for your Windows AMI. + // This parameter overrides any errors that are encountered while cleaning up + // resources in your account. + Force *bool `type:"boolean"` + + // The ID of the image for which you’re turning off faster launching, and + // removing pre-provisioned snapshots. + // + // ImageId is a required field + ImageId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DisableFastLaunchInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DisableFastLaunchInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisableFastLaunchInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisableFastLaunchInput"} + if s.ImageId == nil { + invalidParams.Add(request.NewErrParamRequired("ImageId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DisableFastLaunchInput) SetDryRun(v bool) *DisableFastLaunchInput { + s.DryRun = &v + return s +} + +// SetForce sets the Force field's value. +func (s *DisableFastLaunchInput) SetForce(v bool) *DisableFastLaunchInput { + s.Force = &v + return s +} + +// SetImageId sets the ImageId field's value. +func (s *DisableFastLaunchInput) SetImageId(v string) *DisableFastLaunchInput { + s.ImageId = &v + return s +} + +type DisableFastLaunchOutput struct { + _ struct{} `type:"structure"` + + // The ID of the image for which faster-launching has been turned off. + ImageId *string `locationName:"imageId" type:"string"` + + // The launch template that was used to launch Windows instances from pre-provisioned + // snapshots. + LaunchTemplate *FastLaunchLaunchTemplateSpecificationResponse `locationName:"launchTemplate" type:"structure"` + + // The maximum number of parallel instances to launch for creating resources. + MaxParallelLaunches *int64 `locationName:"maxParallelLaunches" type:"integer"` + + // The owner of the Windows AMI for which faster launching was turned off. + OwnerId *string `locationName:"ownerId" type:"string"` + + // The pre-provisioning resource type that must be cleaned after turning off + // faster launching for the Windows AMI. Supported values include: snapshot. + ResourceType *string `locationName:"resourceType" type:"string" enum:"FastLaunchResourceType"` + + // Parameters that were used for faster launching for the Windows AMI before + // faster launching was turned off. This informs the clean-up process. + SnapshotConfiguration *FastLaunchSnapshotConfigurationResponse `locationName:"snapshotConfiguration" type:"structure"` + + // The current state of faster launching for the specified Windows AMI. + State *string `locationName:"state" type:"string" enum:"FastLaunchStateCode"` + + // The reason that the state changed for faster launching for the Windows AMI. + StateTransitionReason *string `locationName:"stateTransitionReason" type:"string"` + + // The time that the state changed for faster launching for the Windows AMI. + StateTransitionTime *time.Time `locationName:"stateTransitionTime" type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DisableFastLaunchOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DisableFastLaunchOutput) GoString() string { + return s.String() +} + +// SetImageId sets the ImageId field's value. +func (s *DisableFastLaunchOutput) SetImageId(v string) *DisableFastLaunchOutput { + s.ImageId = &v + return s +} + +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *DisableFastLaunchOutput) SetLaunchTemplate(v *FastLaunchLaunchTemplateSpecificationResponse) *DisableFastLaunchOutput { + s.LaunchTemplate = v + return s +} + +// SetMaxParallelLaunches sets the MaxParallelLaunches field's value. +func (s *DisableFastLaunchOutput) SetMaxParallelLaunches(v int64) *DisableFastLaunchOutput { + s.MaxParallelLaunches = &v + return s +} + +// SetOwnerId sets the OwnerId field's value. +func (s *DisableFastLaunchOutput) SetOwnerId(v string) *DisableFastLaunchOutput { + s.OwnerId = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *DisableFastLaunchOutput) SetResourceType(v string) *DisableFastLaunchOutput { + s.ResourceType = &v + return s +} + +// SetSnapshotConfiguration sets the SnapshotConfiguration field's value. +func (s *DisableFastLaunchOutput) SetSnapshotConfiguration(v *FastLaunchSnapshotConfigurationResponse) *DisableFastLaunchOutput { + s.SnapshotConfiguration = v + return s +} + +// SetState sets the State field's value. +func (s *DisableFastLaunchOutput) SetState(v string) *DisableFastLaunchOutput { + s.State = &v + return s +} + +// SetStateTransitionReason sets the StateTransitionReason field's value. +func (s *DisableFastLaunchOutput) SetStateTransitionReason(v string) *DisableFastLaunchOutput { + s.StateTransitionReason = &v + return s +} + +// SetStateTransitionTime sets the StateTransitionTime field's value. +func (s *DisableFastLaunchOutput) SetStateTransitionTime(v time.Time) *DisableFastLaunchOutput { + s.StateTransitionTime = &v + return s +} + // Contains information about the errors that occurred when disabling fast snapshot // restores. type DisableFastSnapshotRestoreErrorItem struct { @@ -99296,6 +99994,218 @@ func (s *EnableEbsEncryptionByDefaultOutput) SetEbsEncryptionByDefault(v bool) * return s } +type EnableFastLaunchInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the image for which you’re enabling faster launching. + // + // ImageId is a required field + ImageId *string `type:"string" required:"true"` + + // The launch template to use when launching Windows instances from pre-provisioned + // snapshots. Launch template parameters can include either the name or ID of + // the launch template, but not both. + LaunchTemplate *FastLaunchLaunchTemplateSpecificationRequest `type:"structure"` + + // The maximum number of parallel instances to launch for creating resources. + MaxParallelLaunches *int64 `type:"integer"` + + // The type of resource to use for pre-provisioning the Windows AMI for faster + // launching. Supported values include: snapshot, which is the default value. + ResourceType *string `type:"string"` + + // Configuration settings for creating and managing the snapshots that are used + // for pre-provisioning the Windows AMI for faster launching. The associated + // ResourceType must be snapshot. + SnapshotConfiguration *FastLaunchSnapshotConfigurationRequest `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 EnableFastLaunchInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EnableFastLaunchInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EnableFastLaunchInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EnableFastLaunchInput"} + if s.ImageId == nil { + invalidParams.Add(request.NewErrParamRequired("ImageId")) + } + if s.LaunchTemplate != nil { + if err := s.LaunchTemplate.Validate(); err != nil { + invalidParams.AddNested("LaunchTemplate", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *EnableFastLaunchInput) SetDryRun(v bool) *EnableFastLaunchInput { + s.DryRun = &v + return s +} + +// SetImageId sets the ImageId field's value. +func (s *EnableFastLaunchInput) SetImageId(v string) *EnableFastLaunchInput { + s.ImageId = &v + return s +} + +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *EnableFastLaunchInput) SetLaunchTemplate(v *FastLaunchLaunchTemplateSpecificationRequest) *EnableFastLaunchInput { + s.LaunchTemplate = v + return s +} + +// SetMaxParallelLaunches sets the MaxParallelLaunches field's value. +func (s *EnableFastLaunchInput) SetMaxParallelLaunches(v int64) *EnableFastLaunchInput { + s.MaxParallelLaunches = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *EnableFastLaunchInput) SetResourceType(v string) *EnableFastLaunchInput { + s.ResourceType = &v + return s +} + +// SetSnapshotConfiguration sets the SnapshotConfiguration field's value. +func (s *EnableFastLaunchInput) SetSnapshotConfiguration(v *FastLaunchSnapshotConfigurationRequest) *EnableFastLaunchInput { + s.SnapshotConfiguration = v + return s +} + +type EnableFastLaunchOutput struct { + _ struct{} `type:"structure"` + + // The image ID that identifies the Windows AMI for which faster launching was + // enabled. + ImageId *string `locationName:"imageId" type:"string"` + + // The launch template that is used when launching Windows instances from pre-provisioned + // snapshots. + LaunchTemplate *FastLaunchLaunchTemplateSpecificationResponse `locationName:"launchTemplate" type:"structure"` + + // The maximum number of parallel instances to launch for creating resources. + MaxParallelLaunches *int64 `locationName:"maxParallelLaunches" type:"integer"` + + // The owner ID for the Windows AMI for which faster launching was enabled. + OwnerId *string `locationName:"ownerId" type:"string"` + + // The type of resource that was defined for pre-provisioning the Windows AMI + // for faster launching. + ResourceType *string `locationName:"resourceType" type:"string" enum:"FastLaunchResourceType"` + + // The configuration settings that were defined for creating and managing the + // pre-provisioned snapshots for faster launching of the Windows AMI. This property + // is returned when the associated resourceType is snapshot. + SnapshotConfiguration *FastLaunchSnapshotConfigurationResponse `locationName:"snapshotConfiguration" type:"structure"` + + // The current state of faster launching for the specified Windows AMI. + State *string `locationName:"state" type:"string" enum:"FastLaunchStateCode"` + + // The reason that the state changed for faster launching for the Windows AMI. + StateTransitionReason *string `locationName:"stateTransitionReason" type:"string"` + + // The time that the state changed for faster launching for the Windows AMI. + StateTransitionTime *time.Time `locationName:"stateTransitionTime" type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EnableFastLaunchOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EnableFastLaunchOutput) GoString() string { + return s.String() +} + +// SetImageId sets the ImageId field's value. +func (s *EnableFastLaunchOutput) SetImageId(v string) *EnableFastLaunchOutput { + s.ImageId = &v + return s +} + +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *EnableFastLaunchOutput) SetLaunchTemplate(v *FastLaunchLaunchTemplateSpecificationResponse) *EnableFastLaunchOutput { + s.LaunchTemplate = v + return s +} + +// SetMaxParallelLaunches sets the MaxParallelLaunches field's value. +func (s *EnableFastLaunchOutput) SetMaxParallelLaunches(v int64) *EnableFastLaunchOutput { + s.MaxParallelLaunches = &v + return s +} + +// SetOwnerId sets the OwnerId field's value. +func (s *EnableFastLaunchOutput) SetOwnerId(v string) *EnableFastLaunchOutput { + s.OwnerId = &v + return s +} + +// SetResourceType sets the ResourceType field's value. +func (s *EnableFastLaunchOutput) SetResourceType(v string) *EnableFastLaunchOutput { + s.ResourceType = &v + return s +} + +// SetSnapshotConfiguration sets the SnapshotConfiguration field's value. +func (s *EnableFastLaunchOutput) SetSnapshotConfiguration(v *FastLaunchSnapshotConfigurationResponse) *EnableFastLaunchOutput { + s.SnapshotConfiguration = v + return s +} + +// SetState sets the State field's value. +func (s *EnableFastLaunchOutput) SetState(v string) *EnableFastLaunchOutput { + s.State = &v + return s +} + +// SetStateTransitionReason sets the StateTransitionReason field's value. +func (s *EnableFastLaunchOutput) SetStateTransitionReason(v string) *EnableFastLaunchOutput { + s.StateTransitionReason = &v + return s +} + +// SetStateTransitionTime sets the StateTransitionTime field's value. +func (s *EnableFastLaunchOutput) SetStateTransitionTime(v time.Time) *EnableFastLaunchOutput { + s.StateTransitionTime = &v + return s +} + // Contains information about the errors that occurred when enabling fast snapshot // restores. type EnableFastSnapshotRestoreErrorItem struct { @@ -102047,6 +102957,198 @@ func (s *FailedQueuedPurchaseDeletion) SetReservedInstancesId(v string) *FailedQ return s } +// Request to create a launch template for a fast-launch enabled Windows AMI. +// +// Note - You can specify either the LaunchTemplateName or the LaunchTemplateId, +// but not both. +type FastLaunchLaunchTemplateSpecificationRequest struct { + _ struct{} `type:"structure"` + + // The ID of the launch template to use for faster launching for a Windows AMI. + LaunchTemplateId *string `type:"string"` + + // The name of the launch template to use for faster launching for a Windows + // AMI. + LaunchTemplateName *string `type:"string"` + + // The version of the launch template to use for faster launching for a Windows + // AMI. + // + // Version is a required field + Version *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchLaunchTemplateSpecificationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchLaunchTemplateSpecificationRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FastLaunchLaunchTemplateSpecificationRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FastLaunchLaunchTemplateSpecificationRequest"} + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *FastLaunchLaunchTemplateSpecificationRequest) SetLaunchTemplateId(v string) *FastLaunchLaunchTemplateSpecificationRequest { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *FastLaunchLaunchTemplateSpecificationRequest) SetLaunchTemplateName(v string) *FastLaunchLaunchTemplateSpecificationRequest { + s.LaunchTemplateName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *FastLaunchLaunchTemplateSpecificationRequest) SetVersion(v string) *FastLaunchLaunchTemplateSpecificationRequest { + s.Version = &v + return s +} + +// Identifies the launch template to use for faster launching of the Windows +// AMI. +type FastLaunchLaunchTemplateSpecificationResponse struct { + _ struct{} `type:"structure"` + + // The ID of the launch template for faster launching of the associated Windows + // AMI. + LaunchTemplateId *string `locationName:"launchTemplateId" type:"string"` + + // The name of the launch template for faster launching of the associated Windows + // AMI. + LaunchTemplateName *string `locationName:"launchTemplateName" type:"string"` + + // The version of the launch template for faster launching of the associated + // Windows AMI. + Version *string `locationName:"version" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchLaunchTemplateSpecificationResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchLaunchTemplateSpecificationResponse) GoString() string { + return s.String() +} + +// SetLaunchTemplateId sets the LaunchTemplateId field's value. +func (s *FastLaunchLaunchTemplateSpecificationResponse) SetLaunchTemplateId(v string) *FastLaunchLaunchTemplateSpecificationResponse { + s.LaunchTemplateId = &v + return s +} + +// SetLaunchTemplateName sets the LaunchTemplateName field's value. +func (s *FastLaunchLaunchTemplateSpecificationResponse) SetLaunchTemplateName(v string) *FastLaunchLaunchTemplateSpecificationResponse { + s.LaunchTemplateName = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *FastLaunchLaunchTemplateSpecificationResponse) SetVersion(v string) *FastLaunchLaunchTemplateSpecificationResponse { + s.Version = &v + return s +} + +// Configuration settings for creating and managing pre-provisioned snapshots +// for a fast-launch enabled Windows AMI. +type FastLaunchSnapshotConfigurationRequest struct { + _ struct{} `type:"structure"` + + // The number of pre-provisioned snapshots to keep on hand for a fast-launch + // enabled Windows AMI. + TargetResourceCount *int64 `type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchSnapshotConfigurationRequest) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchSnapshotConfigurationRequest) GoString() string { + return s.String() +} + +// SetTargetResourceCount sets the TargetResourceCount field's value. +func (s *FastLaunchSnapshotConfigurationRequest) SetTargetResourceCount(v int64) *FastLaunchSnapshotConfigurationRequest { + s.TargetResourceCount = &v + return s +} + +// Configuration settings for creating and managing pre-provisioned snapshots +// for a fast-launch enabled Windows AMI. +type FastLaunchSnapshotConfigurationResponse struct { + _ struct{} `type:"structure"` + + // The number of pre-provisioned snapshots requested to keep on hand for a fast-launch + // enabled Windows AMI. + TargetResourceCount *int64 `locationName:"targetResourceCount" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchSnapshotConfigurationResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FastLaunchSnapshotConfigurationResponse) GoString() string { + return s.String() +} + +// SetTargetResourceCount sets the TargetResourceCount field's value. +func (s *FastLaunchSnapshotConfigurationResponse) SetTargetResourceCount(v int64) *FastLaunchSnapshotConfigurationResponse { + s.TargetResourceCount = &v + return s +} + // Describes the IAM SAML identity providers used for federated authentication. type FederatedAuthentication struct { _ struct{} `type:"structure"` @@ -159672,6 +160774,50 @@ func ExportTaskState_Values() []string { } } +const ( + // FastLaunchResourceTypeSnapshot is a FastLaunchResourceType enum value + FastLaunchResourceTypeSnapshot = "snapshot" +) + +// FastLaunchResourceType_Values returns all elements of the FastLaunchResourceType enum +func FastLaunchResourceType_Values() []string { + return []string{ + FastLaunchResourceTypeSnapshot, + } +} + +const ( + // FastLaunchStateCodeEnabling is a FastLaunchStateCode enum value + FastLaunchStateCodeEnabling = "enabling" + + // FastLaunchStateCodeEnablingFailed is a FastLaunchStateCode enum value + FastLaunchStateCodeEnablingFailed = "enabling-failed" + + // FastLaunchStateCodeEnabled is a FastLaunchStateCode enum value + FastLaunchStateCodeEnabled = "enabled" + + // FastLaunchStateCodeEnabledFailed is a FastLaunchStateCode enum value + FastLaunchStateCodeEnabledFailed = "enabled-failed" + + // FastLaunchStateCodeDisabling is a FastLaunchStateCode enum value + FastLaunchStateCodeDisabling = "disabling" + + // FastLaunchStateCodeDisablingFailed is a FastLaunchStateCode enum value + FastLaunchStateCodeDisablingFailed = "disabling-failed" +) + +// FastLaunchStateCode_Values returns all elements of the FastLaunchStateCode enum +func FastLaunchStateCode_Values() []string { + return []string{ + FastLaunchStateCodeEnabling, + FastLaunchStateCodeEnablingFailed, + FastLaunchStateCodeEnabled, + FastLaunchStateCodeEnabledFailed, + FastLaunchStateCodeDisabling, + FastLaunchStateCodeDisablingFailed, + } +} + const ( // FastSnapshotRestoreStateCodeEnabling is a FastSnapshotRestoreStateCode enum value FastSnapshotRestoreStateCodeEnabling = "enabling" diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index fae90587b1c..4060b8c9f07 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -945,6 +945,13 @@ type EC2API interface { DescribeExportTasksWithContext(aws.Context, *ec2.DescribeExportTasksInput, ...request.Option) (*ec2.DescribeExportTasksOutput, error) DescribeExportTasksRequest(*ec2.DescribeExportTasksInput) (*request.Request, *ec2.DescribeExportTasksOutput) + DescribeFastLaunchImages(*ec2.DescribeFastLaunchImagesInput) (*ec2.DescribeFastLaunchImagesOutput, error) + DescribeFastLaunchImagesWithContext(aws.Context, *ec2.DescribeFastLaunchImagesInput, ...request.Option) (*ec2.DescribeFastLaunchImagesOutput, error) + DescribeFastLaunchImagesRequest(*ec2.DescribeFastLaunchImagesInput) (*request.Request, *ec2.DescribeFastLaunchImagesOutput) + + DescribeFastLaunchImagesPages(*ec2.DescribeFastLaunchImagesInput, func(*ec2.DescribeFastLaunchImagesOutput, bool) bool) error + DescribeFastLaunchImagesPagesWithContext(aws.Context, *ec2.DescribeFastLaunchImagesInput, func(*ec2.DescribeFastLaunchImagesOutput, bool) bool, ...request.Option) error + DescribeFastSnapshotRestores(*ec2.DescribeFastSnapshotRestoresInput) (*ec2.DescribeFastSnapshotRestoresOutput, error) DescribeFastSnapshotRestoresWithContext(aws.Context, *ec2.DescribeFastSnapshotRestoresInput, ...request.Option) (*ec2.DescribeFastSnapshotRestoresOutput, error) DescribeFastSnapshotRestoresRequest(*ec2.DescribeFastSnapshotRestoresInput) (*request.Request, *ec2.DescribeFastSnapshotRestoresOutput) @@ -1647,6 +1654,10 @@ type EC2API interface { DisableEbsEncryptionByDefaultWithContext(aws.Context, *ec2.DisableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.DisableEbsEncryptionByDefaultOutput, error) DisableEbsEncryptionByDefaultRequest(*ec2.DisableEbsEncryptionByDefaultInput) (*request.Request, *ec2.DisableEbsEncryptionByDefaultOutput) + DisableFastLaunch(*ec2.DisableFastLaunchInput) (*ec2.DisableFastLaunchOutput, error) + DisableFastLaunchWithContext(aws.Context, *ec2.DisableFastLaunchInput, ...request.Option) (*ec2.DisableFastLaunchOutput, error) + DisableFastLaunchRequest(*ec2.DisableFastLaunchInput) (*request.Request, *ec2.DisableFastLaunchOutput) + DisableFastSnapshotRestores(*ec2.DisableFastSnapshotRestoresInput) (*ec2.DisableFastSnapshotRestoresOutput, error) DisableFastSnapshotRestoresWithContext(aws.Context, *ec2.DisableFastSnapshotRestoresInput, ...request.Option) (*ec2.DisableFastSnapshotRestoresOutput, error) DisableFastSnapshotRestoresRequest(*ec2.DisableFastSnapshotRestoresInput) (*request.Request, *ec2.DisableFastSnapshotRestoresOutput) @@ -1727,6 +1738,10 @@ type EC2API interface { EnableEbsEncryptionByDefaultWithContext(aws.Context, *ec2.EnableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.EnableEbsEncryptionByDefaultOutput, error) EnableEbsEncryptionByDefaultRequest(*ec2.EnableEbsEncryptionByDefaultInput) (*request.Request, *ec2.EnableEbsEncryptionByDefaultOutput) + EnableFastLaunch(*ec2.EnableFastLaunchInput) (*ec2.EnableFastLaunchOutput, error) + EnableFastLaunchWithContext(aws.Context, *ec2.EnableFastLaunchInput, ...request.Option) (*ec2.EnableFastLaunchOutput, error) + EnableFastLaunchRequest(*ec2.EnableFastLaunchInput) (*request.Request, *ec2.EnableFastLaunchOutput) + EnableFastSnapshotRestores(*ec2.EnableFastSnapshotRestoresInput) (*ec2.EnableFastSnapshotRestoresOutput, error) EnableFastSnapshotRestoresWithContext(aws.Context, *ec2.EnableFastSnapshotRestoresInput, ...request.Option) (*ec2.EnableFastSnapshotRestoresOutput, error) EnableFastSnapshotRestoresRequest(*ec2.EnableFastSnapshotRestoresInput) (*request.Request, *ec2.EnableFastSnapshotRestoresOutput) diff --git a/service/gluedatabrew/api.go b/service/gluedatabrew/api.go index 1e58f7b9266..ec84d8ce668 100644 --- a/service/gluedatabrew/api.go +++ b/service/gluedatabrew/api.go @@ -4914,8 +4914,8 @@ type CreateProfileJobInput struct { // Name is a required field Name *string `min:"1" type:"string" required:"true"` - // Represents an Amazon S3 location (bucket name and object key) where DataBrew - // can read input data, or write output from a job. + // Represents an Amazon S3 location (bucket name, bucket owner, and object key) + // where DataBrew can read input data, or write output from a job. // // OutputLocation is a required field OutputLocation *S3Location `type:"structure" required:"true"` @@ -6318,8 +6318,8 @@ type DatabaseInputDefinition struct { // used as the input for DataBrew projects and jobs. QueryString *string `min:"1" type:"string"` - // Represents an Amazon S3 location (bucket name and object key) where DataBrew - // can read input data, or write output from a job. + // Represents an Amazon S3 location (bucket name, bucket owner, and object key) + // where DataBrew can read input data, or write output from a job. TempDirectory *S3Location `type:"structure"` } @@ -12088,6 +12088,8 @@ type Rule struct { // should be no columnn reference in the left side of a condition, for example, // is_between :val1 and :val2. // + // For more information, see Available checks (https://docs.aws.amazon.com/databrew/latest/dg/profile.data-quality-available-checks.html) + // // CheckExpression is a required field CheckExpression *string `min:"4" type:"string" required:"true"` @@ -12338,8 +12340,8 @@ func (s *RulesetItem) SetTargetArn(v string) *RulesetItem { return s } -// Represents an Amazon S3 location (bucket name and object key) where DataBrew -// can read input data, or write output from a job. +// Represents an Amazon S3 location (bucket name, bucket owner, and object key) +// where DataBrew can read input data, or write output from a job. type S3Location struct { _ struct{} `type:"structure"` @@ -12348,6 +12350,9 @@ type S3Location struct { // Bucket is a required field Bucket *string `min:"3" type:"string" required:"true"` + // The Amazon Web Services account ID of the bucket owner. + BucketOwner *string `min:"12" type:"string"` + // The unique name of the object in the bucket. Key *string `min:"1" type:"string"` } @@ -12379,6 +12384,9 @@ func (s *S3Location) Validate() error { if s.Bucket != nil && len(*s.Bucket) < 3 { invalidParams.Add(request.NewErrParamMinLen("Bucket", 3)) } + if s.BucketOwner != nil && len(*s.BucketOwner) < 12 { + invalidParams.Add(request.NewErrParamMinLen("BucketOwner", 12)) + } if s.Key != nil && len(*s.Key) < 1 { invalidParams.Add(request.NewErrParamMinLen("Key", 1)) } @@ -12395,6 +12403,12 @@ func (s *S3Location) SetBucket(v string) *S3Location { return s } +// SetBucketOwner sets the BucketOwner field's value. +func (s *S3Location) SetBucketOwner(v string) *S3Location { + s.BucketOwner = &v + return s +} + // SetKey sets the Key field's value. func (s *S3Location) SetKey(v string) *S3Location { s.Key = &v @@ -13710,8 +13724,8 @@ type UpdateProfileJobInput struct { // Name is a required field Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - // Represents an Amazon S3 location (bucket name and object key) where DataBrew - // can read input data, or write output from a job. + // Represents an Amazon S3 location (bucket name, bucket owner, and object key) + // where DataBrew can read input data, or write output from a job. // // OutputLocation is a required field OutputLocation *S3Location `type:"structure" required:"true"` diff --git a/service/lookoutmetrics/api.go b/service/lookoutmetrics/api.go index 010aec7f33e..b086b53344d 100644 --- a/service/lookoutmetrics/api.go +++ b/service/lookoutmetrics/api.go @@ -2967,6 +2967,10 @@ func (c *LookoutMetrics) UpdateMetricSetRequest(input *UpdateMetricSetInput) (re // The request was denied due to too many requests being submitted at the same // time. // +// * ServiceQuotaExceededException +// The request exceeded the service's quotas. Check the service quotas and try +// again. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateMetricSet func (c *LookoutMetrics) UpdateMetricSet(input *UpdateMetricSetInput) (*UpdateMetricSetOutput, error) { req, out := c.UpdateMetricSetRequest(input) @@ -3880,15 +3884,11 @@ type AppFlowConfig struct { _ struct{} `type:"structure"` // name of the flow. - // - // FlowName is a required field - FlowName *string `type:"string" required:"true"` + FlowName *string `type:"string"` // An IAM role that gives Amazon Lookout for Metrics permission to access the // flow. - // - // RoleArn is a required field - RoleArn *string `type:"string" required:"true"` + RoleArn *string `type:"string"` } // String returns the string representation. @@ -3909,22 +3909,6 @@ func (s AppFlowConfig) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AppFlowConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AppFlowConfig"} - if s.FlowName == nil { - invalidParams.Add(request.NewErrParamRequired("FlowName")) - } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - // SetFlowName sets the FlowName field's value. func (s *AppFlowConfig) SetFlowName(v string) *AppFlowConfig { s.FlowName = &v @@ -4011,9 +3995,7 @@ type CloudWatchConfig struct { // An IAM role that gives Amazon Lookout for Metrics permission to access data // in Amazon CloudWatch. - // - // RoleArn is a required field - RoleArn *string `type:"string" required:"true"` + RoleArn *string `type:"string"` } // String returns the string representation. @@ -4034,19 +4016,6 @@ func (s CloudWatchConfig) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CloudWatchConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CloudWatchConfig"} - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - // SetRoleArn sets the RoleArn field's value. func (s *CloudWatchConfig) SetRoleArn(v string) *CloudWatchConfig { s.RoleArn = &v @@ -5129,9 +5098,12 @@ type DescribeAnomalyDetectorOutput struct { // The time at which the detector was created. CreationTime *time.Time `type:"timestamp"` - // The reason that the detector failed, if any. + // The reason that the detector failed. FailureReason *string `type:"string"` + // The process that caused the detector to fail. + FailureType *string `type:"string" enum:"AnomalyDetectorFailureType"` + // The ARN of the KMS key to use to encrypt your data. KmsKeyArn *string `min:"20" type:"string"` @@ -5196,6 +5168,12 @@ func (s *DescribeAnomalyDetectorOutput) SetFailureReason(v string) *DescribeAnom return s } +// SetFailureType sets the FailureType field's value. +func (s *DescribeAnomalyDetectorOutput) SetFailureType(v string) *DescribeAnomalyDetectorOutput { + s.FailureType = &v + return s +} + // SetKmsKeyArn sets the KmsKeyArn field's value. func (s *DescribeAnomalyDetectorOutput) SetKmsKeyArn(v string) *DescribeAnomalyDetectorOutput { s.KmsKeyArn = &v @@ -7283,16 +7261,6 @@ func (s MetricSource) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *MetricSource) Validate() error { invalidParams := request.ErrInvalidParams{Context: "MetricSource"} - if s.AppFlowConfig != nil { - if err := s.AppFlowConfig.Validate(); err != nil { - invalidParams.AddNested("AppFlowConfig", err.(request.ErrInvalidParams)) - } - } - if s.CloudWatchConfig != nil { - if err := s.CloudWatchConfig.Validate(); err != nil { - invalidParams.AddNested("CloudWatchConfig", err.(request.ErrInvalidParams)) - } - } if s.RDSSourceConfig != nil { if err := s.RDSSourceConfig.Validate(); err != nil { invalidParams.AddNested("RDSSourceConfig", err.(request.ErrInvalidParams)) @@ -7437,45 +7405,29 @@ type RDSSourceConfig struct { _ struct{} `type:"structure"` // A string identifying the database instance. - // - // DBInstanceIdentifier is a required field - DBInstanceIdentifier *string `min:"1" type:"string" required:"true"` + DBInstanceIdentifier *string `min:"1" type:"string"` // The host name of the database. - // - // DatabaseHost is a required field - DatabaseHost *string `min:"1" type:"string" required:"true"` + DatabaseHost *string `min:"1" type:"string"` // The name of the RDS database. - // - // DatabaseName is a required field - DatabaseName *string `min:"1" type:"string" required:"true"` + DatabaseName *string `min:"1" type:"string"` // The port number where the database can be accessed. - // - // DatabasePort is a required field - DatabasePort *int64 `min:"1" type:"integer" required:"true"` + DatabasePort *int64 `min:"1" type:"integer"` // The Amazon Resource Name (ARN) of the role. - // - // RoleArn is a required field - RoleArn *string `type:"string" required:"true"` + RoleArn *string `type:"string"` // The Amazon Resource Name (ARN) of the AWS Secrets Manager role. - // - // SecretManagerArn is a required field - SecretManagerArn *string `type:"string" required:"true"` + SecretManagerArn *string `type:"string"` // The name of the table in the database. - // - // TableName is a required field - TableName *string `min:"1" type:"string" required:"true"` + TableName *string `min:"1" type:"string"` // An object containing information about the Amazon Virtual Private Cloud (VPC) // configuration. - // - // VpcConfiguration is a required field - VpcConfiguration *VpcConfiguration `type:"structure" required:"true"` + VpcConfiguration *VpcConfiguration `type:"structure"` } // String returns the string representation. @@ -7499,45 +7451,21 @@ func (s RDSSourceConfig) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *RDSSourceConfig) Validate() error { invalidParams := request.ErrInvalidParams{Context: "RDSSourceConfig"} - if s.DBInstanceIdentifier == nil { - invalidParams.Add(request.NewErrParamRequired("DBInstanceIdentifier")) - } if s.DBInstanceIdentifier != nil && len(*s.DBInstanceIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("DBInstanceIdentifier", 1)) } - if s.DatabaseHost == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseHost")) - } if s.DatabaseHost != nil && len(*s.DatabaseHost) < 1 { invalidParams.Add(request.NewErrParamMinLen("DatabaseHost", 1)) } - if s.DatabaseName == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseName")) - } if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) } - if s.DatabasePort == nil { - invalidParams.Add(request.NewErrParamRequired("DatabasePort")) - } if s.DatabasePort != nil && *s.DatabasePort < 1 { invalidParams.Add(request.NewErrParamMinValue("DatabasePort", 1)) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - if s.SecretManagerArn == nil { - invalidParams.Add(request.NewErrParamRequired("SecretManagerArn")) - } - if s.TableName == nil { - invalidParams.Add(request.NewErrParamRequired("TableName")) - } if s.TableName != nil && len(*s.TableName) < 1 { invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) } - if s.VpcConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("VpcConfiguration")) - } if s.VpcConfiguration != nil { if err := s.VpcConfiguration.Validate(); err != nil { invalidParams.AddNested("VpcConfiguration", err.(request.ErrInvalidParams)) @@ -7603,44 +7531,28 @@ type RedshiftSourceConfig struct { _ struct{} `type:"structure"` // A string identifying the Redshift cluster. - // - // ClusterIdentifier is a required field - ClusterIdentifier *string `min:"1" type:"string" required:"true"` + ClusterIdentifier *string `min:"1" type:"string"` // The name of the database host. - // - // DatabaseHost is a required field - DatabaseHost *string `min:"1" type:"string" required:"true"` + DatabaseHost *string `min:"1" type:"string"` // The Redshift database name. - // - // DatabaseName is a required field - DatabaseName *string `min:"1" type:"string" required:"true"` + DatabaseName *string `min:"1" type:"string"` // The port number where the database can be accessed. - // - // DatabasePort is a required field - DatabasePort *int64 `min:"1" type:"integer" required:"true"` + DatabasePort *int64 `min:"1" type:"integer"` // The Amazon Resource Name (ARN) of the role providing access to the database. - // - // RoleArn is a required field - RoleArn *string `type:"string" required:"true"` + RoleArn *string `type:"string"` // The Amazon Resource Name (ARN) of the AWS Secrets Manager role. - // - // SecretManagerArn is a required field - SecretManagerArn *string `type:"string" required:"true"` + SecretManagerArn *string `type:"string"` // The table name of the Redshift database. - // - // TableName is a required field - TableName *string `min:"1" type:"string" required:"true"` + TableName *string `min:"1" type:"string"` // Contains information about the Amazon Virtual Private Cloud (VPC) configuration. - // - // VpcConfiguration is a required field - VpcConfiguration *VpcConfiguration `type:"structure" required:"true"` + VpcConfiguration *VpcConfiguration `type:"structure"` } // String returns the string representation. @@ -7664,45 +7576,21 @@ func (s RedshiftSourceConfig) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *RedshiftSourceConfig) Validate() error { invalidParams := request.ErrInvalidParams{Context: "RedshiftSourceConfig"} - if s.ClusterIdentifier == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterIdentifier")) - } if s.ClusterIdentifier != nil && len(*s.ClusterIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClusterIdentifier", 1)) } - if s.DatabaseHost == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseHost")) - } if s.DatabaseHost != nil && len(*s.DatabaseHost) < 1 { invalidParams.Add(request.NewErrParamMinLen("DatabaseHost", 1)) } - if s.DatabaseName == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseName")) - } if s.DatabaseName != nil && len(*s.DatabaseName) < 1 { invalidParams.Add(request.NewErrParamMinLen("DatabaseName", 1)) } - if s.DatabasePort == nil { - invalidParams.Add(request.NewErrParamRequired("DatabasePort")) - } if s.DatabasePort != nil && *s.DatabasePort < 1 { invalidParams.Add(request.NewErrParamMinValue("DatabasePort", 1)) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - if s.SecretManagerArn == nil { - invalidParams.Add(request.NewErrParamRequired("SecretManagerArn")) - } - if s.TableName == nil { - invalidParams.Add(request.NewErrParamRequired("TableName")) - } if s.TableName != nil && len(*s.TableName) < 1 { invalidParams.Add(request.NewErrParamMinLen("TableName", 1)) } - if s.VpcConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("VpcConfiguration")) - } if s.VpcConfiguration != nil { if err := s.VpcConfiguration.Validate(); err != nil { invalidParams.AddNested("VpcConfiguration", err.(request.ErrInvalidParams)) @@ -7847,9 +7735,7 @@ type S3SourceConfig struct { // The ARN of an IAM role that has read and write access permissions to the // source S3 bucket. - // - // RoleArn is a required field - RoleArn *string `type:"string" required:"true"` + RoleArn *string `type:"string"` // A list of templated paths to the source files. TemplatedPathList []*string `min:"1" type:"list"` @@ -7879,9 +7765,6 @@ func (s *S3SourceConfig) Validate() error { if s.HistoricalDataPathList != nil && len(s.HistoricalDataPathList) < 1 { invalidParams.Add(request.NewErrParamMinLen("HistoricalDataPathList", 1)) } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } if s.TemplatedPathList != nil && len(s.TemplatedPathList) < 1 { invalidParams.Add(request.NewErrParamMinLen("TemplatedPathList", 1)) } @@ -9070,6 +8953,26 @@ func AnomalyDetectionTaskStatus_Values() []string { } } +const ( + // AnomalyDetectorFailureTypeActivationFailure is a AnomalyDetectorFailureType enum value + AnomalyDetectorFailureTypeActivationFailure = "ACTIVATION_FAILURE" + + // AnomalyDetectorFailureTypeBackTestActivationFailure is a AnomalyDetectorFailureType enum value + AnomalyDetectorFailureTypeBackTestActivationFailure = "BACK_TEST_ACTIVATION_FAILURE" + + // AnomalyDetectorFailureTypeDeletionFailure is a AnomalyDetectorFailureType enum value + AnomalyDetectorFailureTypeDeletionFailure = "DELETION_FAILURE" +) + +// AnomalyDetectorFailureType_Values returns all elements of the AnomalyDetectorFailureType enum +func AnomalyDetectorFailureType_Values() []string { + return []string{ + AnomalyDetectorFailureTypeActivationFailure, + AnomalyDetectorFailureTypeBackTestActivationFailure, + AnomalyDetectorFailureTypeDeletionFailure, + } +} + const ( // AnomalyDetectorStatusActive is a AnomalyDetectorStatus enum value AnomalyDetectorStatusActive = "ACTIVE" diff --git a/service/transcribeservice/api.go b/service/transcribeservice/api.go index 35525bb7197..a73fef3cb36 100644 --- a/service/transcribeservice/api.go +++ b/service/transcribeservice/api.go @@ -4374,7 +4374,7 @@ type CallAnalyticsJob struct { // A value between zero and one that Amazon Transcribe assigned to the language // that it identified in the source audio. This value appears only when you // don't provide a single language code. Larger values indicate that Amazon - // Transcribe has higher confidence in the language that it identified + // Transcribe has higher confidence in the language that it identified. IdentifiedLanguageScore *float64 `type:"float"` // If you know the language spoken between the customer and the agent, specify @@ -4384,7 +4384,7 @@ type CallAnalyticsJob struct { // Transcribe will use machine learning to automatically identify the language. // To improve the accuracy of language identification, you can provide an array // containing the possible language codes for the language spoken in your audio. - // Refer to Supported languages and language-specific features (https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html) + // Refer to Supported languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) // for additional information. LanguageCode *string `type:"string" enum:"LanguageCode"` @@ -4538,7 +4538,7 @@ type CallAnalyticsJobSettings struct { // use machine learning to identify the language for you. To improve the ability // of Amazon Transcribe to correctly identify the language, you can provide // an array of the languages that can be present in the audio. Refer to Supported - // languages and language-specific features (https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html) + // languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) // for additional information. LanguageOptions []*string `min:"1" type:"list"` @@ -5320,7 +5320,7 @@ type CreateMedicalVocabularyInput struct { // in the Amazon S3 Developer Guide. // // For more information about custom vocabularies, see Medical Custom Vocabularies - // (https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med). + // (https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html). // // VocabularyFileUri is a required field VocabularyFileUri *string `min:"1" type:"string" required:"true"` @@ -5503,7 +5503,7 @@ type CreateVocabularyFilterInput struct { // The Amazon S3 location of a text file used as input to create the vocabulary // filter. Only use characters from the character set defined for custom vocabularies. // For a list of character sets, see Character Sets for Custom Vocabularies - // (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets). + // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html). // // The specified file must be less than 50 KB of UTF-8 characters. // @@ -5520,7 +5520,7 @@ type CreateVocabularyFilterInput struct { // The words to use in the vocabulary filter. Only use characters from the character // set defined for custom vocabularies. For a list of character sets, see Character - // Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets). + // Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html). // // If you provide a list of words in the Words parameter, you can't use the // VocabularyFilterFileUri parameter. @@ -5666,7 +5666,7 @@ type CreateVocabularyInput struct { _ struct{} `type:"structure"` // The language code of the vocabulary entries. For a list of languages and - // their corresponding language codes, see transcribe-whatis. + // their corresponding language codes, see table-language-matrix. // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` @@ -5682,10 +5682,16 @@ type CreateVocabularyInput struct { // vocabulary. The URI must be in the same region as the API endpoint that you // are calling. The general form is: // + // https://s3..amazonaws.com/// + // + // For example: + // + // https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt + // // For more information about S3 object names, see Object Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) // in the Amazon S3 Developer Guide. // - // For more information about custom vocabularies, see Custom vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary). + // For more information about custom vocabularies, see Custom vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html). VocabularyFileUri *string `min:"1" type:"string"` // The name of the vocabulary. The name must be unique within an Amazon Web @@ -7489,18 +7495,18 @@ type LanguageIdSettings struct { _ struct{} `type:"structure"` // The name of the language model you want to use when transcribing your audio. - // The model you specify must have the same language code as the transcription - // job; if the languages don't match, the language model won't be applied. + // The model you specify must have the same language codes as the transcription + // job; if the languages don't match, the language model isn't be applied. LanguageModelName *string `min:"1" type:"string"` // The name of the vocabulary filter you want to use when transcribing your - // audio. The filter you specify must have the same language code as the transcription - // job; if the languages don't match, the vocabulary filter won't be applied. + // audio. The filter you specify must have the same language codes as the transcription + // job; if the languages don't match, the vocabulary filter isn't be applied. VocabularyFilterName *string `min:"1" type:"string"` // The name of the vocabulary you want to use when processing your transcription - // job. The vocabulary you specify must have the same language code as the transcription - // job; if the languages don't match, the vocabulary won't be applied. + // job. The vocabulary you specify must have the same language codes as the + // transcription job; if the languages don't match, the vocabulary isn't applied. VocabularyName *string `min:"1" type:"string"` } @@ -8850,8 +8856,14 @@ type Media struct { // The S3 object location of the input media file. The URI must be in the same // region as the API endpoint that you are calling. The general form is: // + // s3://// + // // For example: // + // s3://AWSDOC-EXAMPLE-BUCKET/example.mp4 + // + // s3://AWSDOC-EXAMPLE-BUCKET/mediadocs/example.mp4 + // // For more information about S3 object names, see Object Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) // in the Amazon S3 Developer Guide. MediaFileUri *string `min:"1" type:"string"` @@ -8985,13 +8997,13 @@ type MedicalTranscriptionJob struct { // * Invalid file size: file size too large- The size of your audio file // is larger than what Amazon Transcribe Medical can process. For more information, // see Guidelines and Quotas (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits) - // in the Amazon Transcribe Medical Guide + // in the Amazon Transcribe Medical Guide. // // * Invalid number of channels: number of channels too large- Your audio // contains more channels than Amazon Transcribe Medical is configured to // process. To request additional channels, see Amazon Transcribe Medical // Endpoints and Quotas (https://docs.aws.amazon.com/general/latest/gr/transcribe-medical.html) - // in the Amazon Web Services General Reference + // in the Amazon Web Services General Reference. FailureReason *string `type:"string"` // The language code for the language spoken in the source audio file. US English @@ -9009,9 +9021,7 @@ type MedicalTranscriptionJob struct { // // If you don't specify the sample rate, Amazon Transcribe Medical determines // it for you. If you choose to specify the sample rate, it must match the rate - // detected by Amazon Transcribe Medical. In most cases, you should leave the - // MedicalMediaSampleHertz blank and let Amazon Transcribe Medical determine - // the sample rate. + // detected by Amazon Transcribe Medical. MediaSampleRateHertz *int64 `min:"8000" type:"integer"` // The name for a given medical transcription job. @@ -9300,7 +9310,7 @@ type MedicalTranscriptionSetting struct { // with confidence scores provided by Amazon Transcribe Medical. // // You can't set both ShowSpeakerLabels and ChannelIdentification in the same - // request. If you set both, your request returns a BadRequestException + // request. If you set both, your request returns a BadRequestException. ChannelIdentification *bool `type:"boolean"` // The maximum number of alternatives that you tell the service to return. If @@ -10046,7 +10056,7 @@ type StartCallAnalyticsJobInput struct { // * Amazon Resource Name (ARN) of a KMS key in the current account or another // account: "arn:aws:kms:region:account ID:key/1234abcd-12ab-34cd-56ef1234567890ab" // - // * ARN of a KMS Key Alias: "arn:aws:kms:region:account ID:alias/ExampleAlias" + // * ARN of a KMS Key Alias: "arn:aws:kms:region:accountID:alias/ExampleAlias" // // If you don't specify an encryption key, the output of the call analytics // job is encrypted with the default Amazon S3 key (SSE-S3). @@ -10064,12 +10074,12 @@ type StartCallAnalyticsJobInput struct { // of the bucket. // // * s3://DOC-EXAMPLE-BUCKET1/folder/ f you specify a path, Amazon Transcribe - // saves the output of the analytics job as s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json + // saves the output of the analytics job as s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json. // If you specify a folder, you must provide a trailing slash. // - // * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json If you provide a path + // * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json. If you provide a path // that has the filename specified, Amazon Transcribe saves the output of - // the analytics job as s3://DOC-EXAMPLEBUCKET1/folder/filename.json + // the analytics job as s3://DOC-EXAMPLEBUCKET1/folder/filename.json. // // You can specify an Amazon Web Services Key Management Service (KMS) key to // encrypt the output of our analytics job using the OutputEncryptionKMSKeyId @@ -10965,7 +10975,7 @@ type SubtitlesOutput_ struct { _ struct{} `type:"structure"` // Specify the output format for your subtitle file; if you select both SRT - // and VTT formats, two output files are genereated. + // and VTT formats, two output files are generated. Formats []*string `type:"list"` // Choose the output location for your subtitle file. This location must be @@ -11402,7 +11412,7 @@ type TranscriptionJob struct { // Language-specific settings that can be specified when language identification // is enabled for your transcription job. These settings include VocabularyName, - // VocabularyFilterName, and LanguageModelNameLanguageModelName. + // VocabularyFilterName, and LanguageModelName. LanguageIdSettings map[string]*LanguageIdSettings `min:"1" type:"map"` // An object that shows the optional array of languages inputted for transcription @@ -11415,7 +11425,7 @@ type TranscriptionJob struct { // The format of the input media file. MediaFormat *string `type:"string" enum:"MediaFormat"` - // The sample rate, in Hertz, of the audio track in the input media file. + // The sample rate, in Hertz (Hz), of the audio track in the input media file. MediaSampleRateHertz *int64 `min:"8000" type:"integer"` // An object containing the details of your custom language model. @@ -11943,7 +11953,8 @@ type UpdateMedicalVocabularyInput struct { _ struct{} `type:"structure"` // The language code of the language used for the entries in the updated vocabulary. - // US English (en-US) is the only valid language code in Amazon Transcribe Medical. + // U.S. English (en-US) is the only valid language code in Amazon Transcribe + // Medical. // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` @@ -11962,7 +11973,7 @@ type UpdateMedicalVocabularyInput struct { // in the Amazon S3 Developer Guide. // // For more information about custom vocabularies in Amazon Transcribe Medical, - // see Medical Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary). + // see Medical Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html). VocabularyFileUri *string `min:"1" type:"string"` // The name of the vocabulary to update. The name is case sensitive. If you @@ -12099,7 +12110,7 @@ type UpdateVocabularyFilterInput struct { // The Amazon S3 location of a text file used as input to create the vocabulary // filter. Only use characters from the character set defined for custom vocabularies. // For a list of character sets, see Character Sets for Custom Vocabularies - // (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets). + // (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html). // // The specified file must be less than 50 KB of UTF-8 characters. // @@ -12116,7 +12127,7 @@ type UpdateVocabularyFilterInput struct { // The words to use in the vocabulary filter. Only use characters from the character // set defined for custom vocabularies. For a list of character sets, see Character - // Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets). + // Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html). // // If you provide a list of words in the Words parameter, you can't use the // VocabularyFilterFileUri parameter. @@ -12234,7 +12245,7 @@ type UpdateVocabularyInput struct { _ struct{} `type:"structure"` // The language code of the vocabulary entries. For a list of languages and - // their corresponding language codes, see transcribe-whatis. + // their corresponding language codes, see Supported languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html). // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` @@ -12244,14 +12255,18 @@ type UpdateVocabularyInput struct { // The S3 location of the text file that contains the definition of the custom // vocabulary. The URI must be in the same region as the API endpoint that you - // are calling. The general form is + // are calling. The general form is: + // + // https://s3..amazonaws.com/// // // For example: // + // https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt + // // For more information about S3 object names, see Object Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) // in the Amazon S3 Developer Guide. // - // For more information about custom vocabularies, see Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary). + // For more information about custom vocabularies, see Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html). VocabularyFileUri *string `min:"1" type:"string"` // The name of the vocabulary to update. The name is case sensitive. If you