diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e6f3571fa4..22dad21c78d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.40.31 (2021-08-26) +=== + +### Service Client Updates +* `service/compute-optimizer`: Updates service API and documentation +* `service/ec2`: Updates service API and documentation + * Support added for resizing VPC prefix lists +* `service/rekognition`: Updates service API and documentation + * This release added new attributes to Rekognition RecognizeCelebities and GetCelebrityInfo API operations. +* `service/transcribe`: Updates service API and documentation + Release v1.40.30 (2021-08-25) === diff --git a/aws/version.go b/aws/version.go index c364b6aaaaf..dad3c5bb125 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.40.30" +const SDKVersion = "1.40.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 3d7ec4b19c1..609d309dba5 100644 --- a/models/apis/compute-optimizer/2019-11-01/api-2.json +++ b/models/apis/compute-optimizer/2019-11-01/api-2.json @@ -201,6 +201,23 @@ {"shape":"ThrottlingException"} ] }, + "GetEnrollmentStatusesForOrganization":{ + "name":"GetEnrollmentStatusesForOrganization", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetEnrollmentStatusesForOrganizationRequest"}, + "output":{"shape":"GetEnrollmentStatusesForOrganizationResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"MissingAuthenticationToken"}, + {"shape":"ThrottlingException"} + ] + }, "GetLambdaFunctionRecommendations":{ "name":"GetLambdaFunctionRecommendations", "http":{ @@ -265,6 +282,19 @@ "exception":true, "synthetic":true }, + "AccountEnrollmentStatus":{ + "type":"structure", + "members":{ + "accountId":{"shape":"AccountId"}, + "status":{"shape":"Status"}, + "statusReason":{"shape":"StatusReason"}, + "lastUpdatedTimestamp":{"shape":"LastUpdatedTimestamp"} + } + }, + "AccountEnrollmentStatuses":{ + "type":"list", + "member":{"shape":"AccountEnrollmentStatus"} + }, "AccountId":{"type":"string"}, "AccountIds":{ "type":"list", @@ -317,6 +347,17 @@ "member":{"shape":"AutoScalingGroupRecommendation"} }, "Code":{"type":"string"}, + "CpuVendorArchitecture":{ + "type":"string", + "enum":[ + "AWS_ARM64", + "CURRENT" + ] + }, + "CpuVendorArchitectures":{ + "type":"list", + "member":{"shape":"CpuVendorArchitecture"} + }, "CreationTimestamp":{"type":"timestamp"}, "CurrentInstanceType":{"type":"string"}, "DescribeRecommendationExportJobsRequest":{ @@ -382,6 +423,21 @@ "type":"list", "member":{"shape":"EBSUtilizationMetric"} }, + "EnrollmentFilter":{ + "type":"structure", + "members":{ + "name":{"shape":"EnrollmentFilterName"}, + "values":{"shape":"FilterValues"} + } + }, + "EnrollmentFilterName":{ + "type":"string", + "enum":["Status"] + }, + "EnrollmentFilters":{ + "type":"list", + "member":{"shape":"EnrollmentFilter"} + }, "ErrorMessage":{"type":"string"}, "ExportAutoScalingGroupRecommendationsRequest":{ "type":"structure", @@ -392,7 +448,8 @@ "fieldsToExport":{"shape":"ExportableAutoScalingGroupFields"}, "s3DestinationConfig":{"shape":"S3DestinationConfig"}, "fileFormat":{"shape":"FileFormat"}, - "includeMemberAccounts":{"shape":"IncludeMemberAccounts"} + "includeMemberAccounts":{"shape":"IncludeMemberAccounts"}, + "recommendationPreferences":{"shape":"RecommendationPreferences"} } }, "ExportAutoScalingGroupRecommendationsResponse":{ @@ -436,7 +493,8 @@ "fieldsToExport":{"shape":"ExportableInstanceFields"}, "s3DestinationConfig":{"shape":"S3DestinationConfig"}, "fileFormat":{"shape":"FileFormat"}, - "includeMemberAccounts":{"shape":"IncludeMemberAccounts"} + "includeMemberAccounts":{"shape":"IncludeMemberAccounts"}, + "recommendationPreferences":{"shape":"RecommendationPreferences"} } }, "ExportEC2InstanceRecommendationsResponse":{ @@ -693,7 +751,8 @@ "autoScalingGroupArns":{"shape":"AutoScalingGroupArns"}, "nextToken":{"shape":"NextToken"}, "maxResults":{"shape":"MaxResults"}, - "filters":{"shape":"Filters"} + "filters":{"shape":"Filters"}, + "recommendationPreferences":{"shape":"RecommendationPreferences"} } }, "GetAutoScalingGroupRecommendationsResponse":{ @@ -729,7 +788,8 @@ "nextToken":{"shape":"NextToken"}, "maxResults":{"shape":"MaxResults"}, "filters":{"shape":"Filters"}, - "accountIds":{"shape":"AccountIds"} + "accountIds":{"shape":"AccountIds"}, + "recommendationPreferences":{"shape":"RecommendationPreferences"} } }, "GetEC2InstanceRecommendationsResponse":{ @@ -754,7 +814,8 @@ "stat":{"shape":"MetricStatistic"}, "period":{"shape":"Period"}, "startTime":{"shape":"Timestamp"}, - "endTime":{"shape":"Timestamp"} + "endTime":{"shape":"Timestamp"}, + "recommendationPreferences":{"shape":"RecommendationPreferences"} } }, "GetEC2RecommendationProjectedMetricsResponse":{ @@ -773,7 +834,24 @@ "members":{ "status":{"shape":"Status"}, "statusReason":{"shape":"StatusReason"}, - "memberAccountsEnrolled":{"shape":"MemberAccountsEnrolled"} + "memberAccountsEnrolled":{"shape":"MemberAccountsEnrolled"}, + "lastUpdatedTimestamp":{"shape":"LastUpdatedTimestamp"}, + "numberOfMemberAccountsOptedIn":{"shape":"NumberOfMemberAccountsOptedIn"} + } + }, + "GetEnrollmentStatusesForOrganizationRequest":{ + "type":"structure", + "members":{ + "filters":{"shape":"EnrollmentFilters"}, + "nextToken":{"shape":"NextToken"}, + "maxResults":{"shape":"MaxResults"} + } + }, + "GetEnrollmentStatusesForOrganizationResponse":{ + "type":"structure", + "members":{ + "accountEnrollmentStatuses":{"shape":"AccountEnrollmentStatuses"}, + "nextToken":{"shape":"NextToken"} } }, "GetLambdaFunctionRecommendationsRequest":{ @@ -1115,6 +1193,7 @@ }, "NextToken":{"type":"string"}, "NumberOfInvocations":{"type":"long"}, + "NumberOfMemberAccountsOptedIn":{"type":"integer"}, "OptInRequiredException":{ "type":"structure", "members":{ @@ -1125,7 +1204,7 @@ }, "PerformanceRisk":{ "type":"double", - "max":5, + "max":4, "min":0 }, "Period":{"type":"integer"}, @@ -1136,7 +1215,8 @@ "NetworkInterface", "StorageInterface", "InstanceStoreAvailability", - "VirtualizationType" + "VirtualizationType", + "Architecture" ] }, "PlatformDifferences":{ @@ -1191,6 +1271,12 @@ "type":"list", "member":{"shape":"InstanceRecommendationOption"} }, + "RecommendationPreferences":{ + "type":"structure", + "members":{ + "cpuVendorArchitectures":{"shape":"CpuVendorArchitectures"} + } + }, "RecommendationSource":{ "type":"structure", "members":{ 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 68bf864763a..ed3df6dd669 100644 --- a/models/apis/compute-optimizer/2019-11-01/docs-2.json +++ b/models/apis/compute-optimizer/2019-11-01/docs-2.json @@ -1,20 +1,21 @@ { "version": "2.0", - "service": "

AWS Compute Optimizer is a service that analyzes the configuration and utilization metrics of your AWS compute resources, such as EC2 instances, Auto Scaling groups, AWS Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides recent utilization metric data, as well as projected utilization metric data for the recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements. For more information about Compute Optimizer, including the required permissions to use the service, see the AWS Compute Optimizer User Guide.

", + "service": "

Compute Optimizer is a service that analyzes the configuration and utilization metrics of your Amazon Web Services compute resources, such as Amazon EC2 instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides recent utilization metric data, in addition to projected utilization metric data for the recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements. For more information about Compute Optimizer, including the required permissions to use the service, see the Compute Optimizer User Guide.

", "operations": { - "DescribeRecommendationExportJobs": "

Describes recommendation export jobs created in the last seven days.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.

", - "ExportAutoScalingGroupRecommendations": "

Exports optimization recommendations for Auto Scaling groups.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Auto Scaling group export job in progress per AWS Region.

", - "ExportEBSVolumeRecommendations": "

Exports optimization recommendations for Amazon EBS volumes.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Amazon EBS volume export job in progress per AWS Region.

", - "ExportEC2InstanceRecommendations": "

Exports optimization recommendations for Amazon EC2 instances.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Amazon EC2 instance export job in progress per AWS Region.

", - "ExportLambdaFunctionRecommendations": "

Exports optimization recommendations for AWS Lambda functions.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Lambda function export job in progress per AWS Region.

", - "GetAutoScalingGroupRecommendations": "

Returns Auto Scaling group recommendations.

AWS Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.

", - "GetEBSVolumeRecommendations": "

Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.

AWS Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.

", - "GetEC2InstanceRecommendations": "

Returns Amazon EC2 instance recommendations.

AWS Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.

", + "DescribeRecommendationExportJobs": "

Describes recommendation export jobs created in the last seven days.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.

", + "ExportAutoScalingGroupRecommendations": "

Exports optimization recommendations for Auto Scaling groups.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.

", + "ExportEBSVolumeRecommendations": "

Exports optimization recommendations for Amazon EBS volumes.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.

", + "ExportEC2InstanceRecommendations": "

Exports optimization recommendations for Amazon EC2 instances.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.

", + "ExportLambdaFunctionRecommendations": "

Exports optimization recommendations for Lambda functions.

Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide.

You can have only one Lambda function export job in progress per Amazon Web Services Region.

", + "GetAutoScalingGroupRecommendations": "

Returns Auto Scaling group recommendations.

Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

", + "GetEBSVolumeRecommendations": "

Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.

Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

", + "GetEC2InstanceRecommendations": "

Returns Amazon EC2 instance recommendations.

Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

", "GetEC2RecommendationProjectedMetrics": "

Returns the projected utilization metrics of Amazon EC2 instance recommendations.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

", - "GetEnrollmentStatus": "

Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service.

If the account is the management account of an organization, this action also confirms the enrollment status of member accounts within the organization.

", - "GetLambdaFunctionRecommendations": "

Returns AWS Lambda function recommendations.

AWS Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.

", + "GetEnrollmentStatus": "

Returns the enrollment (opt in) status of an account to the Compute Optimizer service.

If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.

", + "GetEnrollmentStatusesForOrganization": "

Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.

To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.

", + "GetLambdaFunctionRecommendations": "

Returns Lambda function recommendations.

Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

", "GetRecommendationSummaries": "

Returns the optimization findings for an account.

It returns the number of:

", - "UpdateEnrollmentStatus": "

Updates the enrollment (opt in and opt out) status of an account to the AWS Compute Optimizer service.

If the account is a management account of an organization, this action can also be used to enroll member accounts within the organization.

You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with AWS Identity and Access Management in the AWS Compute Optimizer User Guide.

When you opt in, Compute Optimizer automatically creates a Service-Linked Role in your account to access its data. For more information, see Using Service-Linked Roles for AWS Compute Optimizer in the AWS Compute Optimizer User Guide.

" + "UpdateEnrollmentStatus": "

Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service.

If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization.

You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with Amazon Web Services Identity and Access Management in the Compute Optimizer User Guide.

When you opt in, Compute Optimizer automatically creates a service-linked role in your account to access its data. For more information, see Using Service-Linked Roles for Compute Optimizer in the Compute Optimizer User Guide.

" }, "shapes": { "AccessDeniedException": { @@ -22,29 +23,42 @@ "refs": { } }, + "AccountEnrollmentStatus": { + "base": "

Describes the enrollment status of an organization's member accounts in Compute Optimizer.

", + "refs": { + "AccountEnrollmentStatuses$member": null + } + }, + "AccountEnrollmentStatuses": { + "base": null, + "refs": { + "GetEnrollmentStatusesForOrganizationResponse$accountEnrollmentStatuses": "

An array of objects that describe the enrollment statuses of organization member accounts.

" + } + }, "AccountId": { "base": null, "refs": { + "AccountEnrollmentStatus$accountId": "

The Amazon Web Services account ID.

", "AccountIds$member": null, - "AutoScalingGroupRecommendation$accountId": "

The AWS account ID of the Auto Scaling group.

", - "InstanceRecommendation$accountId": "

The AWS account ID of the instance.

", - "LambdaFunctionRecommendation$accountId": "

The AWS account ID of the function.

", - "RecommendationSummary$accountId": "

The AWS account ID of the recommendation summary.

", - "VolumeRecommendation$accountId": "

The AWS account ID of the volume.

" + "AutoScalingGroupRecommendation$accountId": "

The Amazon Web Services account ID of the Auto Scaling group.

", + "InstanceRecommendation$accountId": "

The Amazon Web Services account ID of the instance.

", + "LambdaFunctionRecommendation$accountId": "

The Amazon Web Services account ID of the function.

", + "RecommendationSummary$accountId": "

The Amazon Web Services account ID of the recommendation summary.

", + "VolumeRecommendation$accountId": "

The Amazon Web Services account ID of the volume.

" } }, "AccountIds": { "base": null, "refs": { - "ExportAutoScalingGroupRecommendationsRequest$accountIds": "

The IDs of the AWS accounts for which to export Auto Scaling group recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", - "ExportEBSVolumeRecommendationsRequest$accountIds": "

The IDs of the AWS accounts for which to export Amazon EBS volume recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", - "ExportEC2InstanceRecommendationsRequest$accountIds": "

The IDs of the AWS accounts for which to export instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", - "ExportLambdaFunctionRecommendationsRequest$accountIds": "

The IDs of the AWS accounts for which to export Lambda function recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", - "GetAutoScalingGroupRecommendationsRequest$accountIds": "

The ID of the AWS account for which to return Auto Scaling group recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.

Only one account ID can be specified per request.

", - "GetEBSVolumeRecommendationsRequest$accountIds": "

The ID of the AWS account for which to return volume recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.

Only one account ID can be specified per request.

", - "GetEC2InstanceRecommendationsRequest$accountIds": "

The ID of the AWS account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

", - "GetLambdaFunctionRecommendationsRequest$accountIds": "

The ID of the AWS account for which to return function recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.

Only one account ID can be specified per request.

", - "GetRecommendationSummariesRequest$accountIds": "

The ID of the AWS account for which to return recommendation summaries.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return recommendation summaries.

Only one account ID can be specified per request.

" + "ExportAutoScalingGroupRecommendationsRequest$accountIds": "

The IDs of the Amazon Web Services accounts for which to export Auto Scaling group recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", + "ExportEBSVolumeRecommendationsRequest$accountIds": "

The IDs of the Amazon Web Services accounts for which to export Amazon EBS volume recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", + "ExportEC2InstanceRecommendationsRequest$accountIds": "

The IDs of the Amazon Web Services accounts for which to export instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", + "ExportLambdaFunctionRecommendationsRequest$accountIds": "

The IDs of the Amazon Web Services accounts for which to export Lambda function recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations.

This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted.

You can specify multiple account IDs per request.

", + "GetAutoScalingGroupRecommendationsRequest$accountIds": "

The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.

Only one account ID can be specified per request.

", + "GetEBSVolumeRecommendationsRequest$accountIds": "

The ID of the Amazon Web Services account for which to return volume recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.

Only one account ID can be specified per request.

", + "GetEC2InstanceRecommendationsRequest$accountIds": "

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

", + "GetLambdaFunctionRecommendationsRequest$accountIds": "

The ID of the Amazon Web Services account for which to return function recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations.

Only one account ID can be specified per request.

", + "GetRecommendationSummariesRequest$accountIds": "

The ID of the Amazon Web Services account for which to return recommendation summaries.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return recommendation summaries.

Only one account ID can be specified per request.

" } }, "AutoScalingGroupArn": { @@ -103,6 +117,18 @@ "GetRecommendationError$code": "

The error code.

" } }, + "CpuVendorArchitecture": { + "base": null, + "refs": { + "CpuVendorArchitectures$member": null + } + }, + "CpuVendorArchitectures": { + "base": null, + "refs": { + "RecommendationPreferences$cpuVendorArchitectures": "

Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations.

For example, when you specify AWS_ARM64 with:

" + } + }, "CreationTimestamp": { "base": null, "refs": { @@ -151,7 +177,7 @@ } }, "EBSFilter": { - "base": "

Describes a filter that returns a more specific list of Amazon Elastic Block Store (Amazon EBS) volume recommendations. Use this filter with the GetEBSVolumeRecommendations action.

You can use LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

", + "base": "

Describes a filter that returns a more specific list of Amazon Elastic Block Store (Amazon EBS) volume recommendations. Use this filter with the GetEBSVolumeRecommendations action.

You can use LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

", "refs": { "EBSFilters$member": null } @@ -159,20 +185,20 @@ "EBSFilterName": { "base": null, "refs": { - "EBSFilter$name": "

The name of the filter.

Specify Finding to return recommendations with a specific finding classification (e.g., NotOptimized).

" + "EBSFilter$name": "

The name of the filter.

Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized).

" } }, "EBSFilters": { "base": null, "refs": { - "ExportEBSVolumeRecommendationsRequest$filters": "

An array of objects that describe a filter to export a more specific set of Amazon EBS volume recommendations.

", - "GetEBSVolumeRecommendationsRequest$filters": "

An array of objects that describe a filter that returns a more specific list of volume recommendations.

" + "ExportEBSVolumeRecommendationsRequest$filters": "

An array of objects to specify a filter that exports a more specific set of Amazon EBS volume recommendations.

", + "GetEBSVolumeRecommendationsRequest$filters": "

An array of objects to specify a filter that returns a more specific list of volume recommendations.

" } }, "EBSFinding": { "base": null, "refs": { - "VolumeRecommendation$finding": "

The finding classification of the volume.

Findings for volumes include:

" + "VolumeRecommendation$finding": "

The finding classification of the volume.

Findings for volumes include:

" } }, "EBSMetricName": { @@ -193,6 +219,24 @@ "VolumeRecommendation$utilizationMetrics": "

An array of objects that describe the utilization metrics of the volume.

" } }, + "EnrollmentFilter": { + "base": "

Describes a filter that returns a more specific list of account enrollment statuses. Use this filter with the GetEnrollmentStatusesForOrganization action.

", + "refs": { + "EnrollmentFilters$member": null + } + }, + "EnrollmentFilterName": { + "base": null, + "refs": { + "EnrollmentFilter$name": "

The name of the filter.

Specify Status to return accounts with a specific enrollment status (for example, Active).

" + } + }, + "EnrollmentFilters": { + "base": null, + "refs": { + "GetEnrollmentStatusesForOrganizationRequest$filters": "

An array of objects to specify a filter that returns a more specific list of account enrollment statuses.

" + } + }, "ErrorMessage": { "base": null, "refs": { @@ -317,7 +361,7 @@ } }, "Filter": { - "base": "

Describes a filter that returns a more specific list of recommendations. Use this filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and JobFilter with the DescribeRecommendationExportJobs action.

", + "base": "

Describes a filter that returns a more specific list of recommendations. Use this filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and JobFilter with the DescribeRecommendationExportJobs action.

", "refs": { "Filters$member": null } @@ -325,7 +369,7 @@ "FilterName": { "base": null, "refs": { - "Filter$name": "

The name of the filter.

Specify Finding to return recommendations with a specific finding classification (e.g., Underprovisioned).

Specify RecommendationSourceType to return recommendations of a specific resource type (e.g., Ec2Instance).

Specify FindingReasonCodes to return recommendations with a specific finding reason code (e.g., CPUUnderprovisioned).

" + "Filter$name": "

The name of the filter.

Specify Finding to return recommendations with a specific finding classification (for example, Underprovisioned).

Specify RecommendationSourceType to return recommendations of a specific resource type (for example, Ec2Instance).

Specify FindingReasonCodes to return recommendations with a specific finding reason code (for example, CPUUnderprovisioned).

" } }, "FilterValue": { @@ -338,6 +382,7 @@ "base": null, "refs": { "EBSFilter$values": "

The value of the filter.

The valid values are Optimized, or NotOptimized.

", + "EnrollmentFilter$values": "

The value of the filter.

The valid values are Active, Inactive, Pending, and Failed.

", "Filter$values": "

The value of the filter.

The valid values for this parameter are as follows, depending on what you specify for the name parameter and the resource type that you wish to filter results for:

", "JobFilter$values": "

The value of the filter.

The valid values for this parameter are as follows, depending on what you specify for the name parameter:

", "LambdaFunctionRecommendationFilter$values": "

The value of the filter.

The valid values for this parameter are as follows, depending on what you specify for the name parameter:

" @@ -346,17 +391,17 @@ "Filters": { "base": null, "refs": { - "ExportAutoScalingGroupRecommendationsRequest$filters": "

An array of objects that describe a filter to export a more specific set of Auto Scaling group recommendations.

", - "ExportEC2InstanceRecommendationsRequest$filters": "

An array of objects that describe a filter to export a more specific set of instance recommendations.

", - "GetAutoScalingGroupRecommendationsRequest$filters": "

An array of objects that describe a filter that returns a more specific list of Auto Scaling group recommendations.

", - "GetEC2InstanceRecommendationsRequest$filters": "

An array of objects that describe a filter that returns a more specific list of instance recommendations.

" + "ExportAutoScalingGroupRecommendationsRequest$filters": "

An array of objects to specify a filter that exports a more specific set of Auto Scaling group recommendations.

", + "ExportEC2InstanceRecommendationsRequest$filters": "

An array of objects to specify a filter that exports a more specific set of instance recommendations.

", + "GetAutoScalingGroupRecommendationsRequest$filters": "

An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.

", + "GetEC2InstanceRecommendationsRequest$filters": "

An array of objects to specify a filter that returns a more specific list of instance recommendations.

" } }, "Finding": { "base": null, "refs": { - "AutoScalingGroupRecommendation$finding": "

The finding classification of the Auto Scaling group.

Findings for Auto Scaling groups include:

", - "InstanceRecommendation$finding": "

The finding classification of the instance.

Findings for instances include:

", + "AutoScalingGroupRecommendation$finding": "

The finding classification of the Auto Scaling group.

Findings for Auto Scaling groups include:

", + "InstanceRecommendation$finding": "

The finding classification of the instance.

Findings for instances include:

", "Summary$name": "

The finding classification of the recommendation.

" } }, @@ -376,7 +421,7 @@ "FunctionArns": { "base": null, "refs": { - "GetLambdaFunctionRecommendationsRequest$functionArns": "

The Amazon Resource Name (ARN) of the functions for which to return recommendations.

You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest ($LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the AWS Lambda Developer Guide.

" + "GetLambdaFunctionRecommendationsRequest$functionArns": "

The Amazon Resource Name (ARN) of the functions for which to return recommendations.

You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest ($LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the Lambda Developer Guide.

" } }, "FunctionVersion": { @@ -435,6 +480,16 @@ "refs": { } }, + "GetEnrollmentStatusesForOrganizationRequest": { + "base": null, + "refs": { + } + }, + "GetEnrollmentStatusesForOrganizationResponse": { + "base": null, + "refs": { + } + }, "GetLambdaFunctionRecommendationsRequest": { "base": null, "refs": { @@ -478,10 +533,10 @@ "IncludeMemberAccounts": { "base": null, "refs": { - "ExportAutoScalingGroupRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and AWS Organizations trusted access in the AWS Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", - "ExportEBSVolumeRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and AWS Organizations trusted access in the AWS Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", - "ExportEC2InstanceRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and AWS Organizations trusted access in the AWS Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", - "ExportLambdaFunctionRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and AWS Organizations trusted access in the AWS Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", + "ExportAutoScalingGroupRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", + "ExportEBSVolumeRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", + "ExportEC2InstanceRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", + "ExportLambdaFunctionRecommendationsRequest$includeMemberAccounts": "

Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization.

The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide.

Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted.

This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive.

Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.

", "UpdateEnrollmentStatusRequest$includeMemberAccounts": "

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

" } }, @@ -520,7 +575,7 @@ "InstanceRecommendationFindingReasonCodes": { "base": null, "refs": { - "InstanceRecommendation$findingReasonCodes": "

The reason for the finding classification of the instance.

Finding reason codes for instances include:

For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.

" + "InstanceRecommendation$findingReasonCodes": "

The reason for the finding classification of the instance.

Finding reason codes for instances include:

For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.

" } }, "InstanceRecommendationOption": { @@ -548,12 +603,12 @@ } }, "InvalidParameterValueException": { - "base": "

An invalid or out-of-range value was supplied for the input parameter.

", + "base": "

The value supplied for the input parameter is out of range or not valid.

", "refs": { } }, "JobFilter": { - "base": "

Describes a filter that returns a more specific list of recommendation export jobs. Use this filter with the DescribeRecommendationExportJobs action.

You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

", + "base": "

Describes a filter that returns a more specific list of recommendation export jobs. Use this filter with the DescribeRecommendationExportJobs action.

You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

", "refs": { "JobFilters$member": null } @@ -561,22 +616,22 @@ "JobFilterName": { "base": null, "refs": { - "JobFilter$name": "

The name of the filter.

Specify ResourceType to return export jobs of a specific resource type (e.g., Ec2Instance).

Specify JobStatus to return export jobs with a specific status (e.g, Complete).

" + "JobFilter$name": "

The name of the filter.

Specify ResourceType to return export jobs of a specific resource type (for example, Ec2Instance).

Specify JobStatus to return export jobs with a specific status (e.g, Complete).

" } }, "JobFilters": { "base": null, "refs": { - "DescribeRecommendationExportJobsRequest$filters": "

An array of objects that describe a filter to return a more specific list of export jobs.

" + "DescribeRecommendationExportJobsRequest$filters": "

An array of objects to specify a filter that returns a more specific list of export jobs.

" } }, "JobId": { "base": null, "refs": { - "ExportAutoScalingGroupRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", - "ExportEBSVolumeRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", - "ExportEC2InstanceRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", - "ExportLambdaFunctionRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", + "ExportAutoScalingGroupRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", + "ExportEBSVolumeRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", + "ExportEC2InstanceRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", + "ExportLambdaFunctionRecommendationsResponse$jobId": "

The identification number of the export job.

Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.

", "JobIds$member": null, "RecommendationExportJob$jobId": "

The identification number of the export job.

" } @@ -584,7 +639,7 @@ "JobIds": { "base": null, "refs": { - "DescribeRecommendationExportJobsRequest$jobIds": "

The identification numbers of the export jobs to return.

An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions.

All export jobs created in the last seven days are returned if this parameter is omitted.

" + "DescribeRecommendationExportJobsRequest$jobIds": "

The identification numbers of the export jobs to return.

An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions.

All export jobs created in the last seven days are returned if this parameter is omitted.

" } }, "JobStatus": { @@ -606,7 +661,7 @@ } }, "LambdaFunctionMemoryProjectedMetric": { - "base": "

Describes a projected utilization metric of an AWS Lambda function recommendation option.

", + "base": "

Describes a projected utilization metric of an Lambda function recommendation option.

", "refs": { "LambdaFunctionMemoryProjectedMetrics$member": null } @@ -618,7 +673,7 @@ } }, "LambdaFunctionMemoryRecommendationOption": { - "base": "

Describes a recommendation option for an AWS Lambda function.

", + "base": "

Describes a recommendation option for an Lambda function.

", "refs": { "LambdaFunctionMemoryRecommendationOptions$member": null } @@ -638,17 +693,17 @@ "LambdaFunctionMetricStatistic": { "base": null, "refs": { - "LambdaFunctionUtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the AWS Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

" + "LambdaFunctionUtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

" } }, "LambdaFunctionRecommendation": { - "base": "

Describes an AWS Lambda function recommendation.

", + "base": "

Describes an Lambda function recommendation.

", "refs": { "LambdaFunctionRecommendations$member": null } }, "LambdaFunctionRecommendationFilter": { - "base": "

Describes a filter that returns a more specific list of AWS Lambda function recommendations. Use this filter with the GetLambdaFunctionRecommendations action.

You can use EBSFilter with the GetEBSVolumeRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

", + "base": "

Describes a filter that returns a more specific list of Lambda function recommendations. Use this filter with the GetLambdaFunctionRecommendations action.

You can use EBSFilter with the GetEBSVolumeRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

", "refs": { "LambdaFunctionRecommendationFilters$member": null } @@ -656,14 +711,14 @@ "LambdaFunctionRecommendationFilterName": { "base": null, "refs": { - "LambdaFunctionRecommendationFilter$name": "

The name of the filter.

Specify Finding to return recommendations with a specific finding classification (e.g., NotOptimized).

Specify FindingReasonCode to return recommendations with a specific finding reason code (e.g., MemoryUnderprovisioned).

" + "LambdaFunctionRecommendationFilter$name": "

The name of the filter.

Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized).

Specify FindingReasonCode to return recommendations with a specific finding reason code (for example, MemoryUnderprovisioned).

" } }, "LambdaFunctionRecommendationFilters": { "base": null, "refs": { - "ExportLambdaFunctionRecommendationsRequest$filters": "

An array of objects that describe a filter to export a more specific set of Lambda function recommendations.

", - "GetLambdaFunctionRecommendationsRequest$filters": "

An array of objects that describe a filter that returns a more specific list of function recommendations.

" + "ExportLambdaFunctionRecommendationsRequest$filters": "

An array of objects to specify a filter that exports a more specific set of Lambda function recommendations.

", + "GetLambdaFunctionRecommendationsRequest$filters": "

An array of objects to specify a filter that returns a more specific list of function recommendations.

" } }, "LambdaFunctionRecommendationFinding": { @@ -681,7 +736,7 @@ "LambdaFunctionRecommendationFindingReasonCodes": { "base": null, "refs": { - "LambdaFunctionRecommendation$findingReasonCodes": "

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

" + "LambdaFunctionRecommendation$findingReasonCodes": "

The reason for the finding classification of the function.

Functions that have a finding classification of Optimized don't have a finding reason code.

Finding reason codes for functions include:

" } }, "LambdaFunctionRecommendations": { @@ -691,7 +746,7 @@ } }, "LambdaFunctionUtilizationMetric": { - "base": "

Describes a utilization metric of an AWS Lambda function.

", + "base": "

Describes a utilization metric of an Lambda function.

", "refs": { "LambdaFunctionUtilizationMetrics$member": null } @@ -705,15 +760,17 @@ "LastRefreshTimestamp": { "base": null, "refs": { - "AutoScalingGroupRecommendation$lastRefreshTimestamp": "

The time stamp of when the Auto Scaling group recommendation was last refreshed.

", - "InstanceRecommendation$lastRefreshTimestamp": "

The time stamp of when the instance recommendation was last refreshed.

", - "LambdaFunctionRecommendation$lastRefreshTimestamp": "

The time stamp of when the function recommendation was last refreshed.

", - "VolumeRecommendation$lastRefreshTimestamp": "

The time stamp of when the volume recommendation was last refreshed.

" + "AutoScalingGroupRecommendation$lastRefreshTimestamp": "

The timestamp of when the Auto Scaling group recommendation was last refreshed.

", + "InstanceRecommendation$lastRefreshTimestamp": "

The timestamp of when the instance recommendation was last refreshed.

", + "LambdaFunctionRecommendation$lastRefreshTimestamp": "

The timestamp of when the function recommendation was last refreshed.

", + "VolumeRecommendation$lastRefreshTimestamp": "

The timestamp of when the volume recommendation was last refreshed.

" } }, "LastUpdatedTimestamp": { "base": null, "refs": { + "AccountEnrollmentStatus$lastUpdatedTimestamp": "

The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.

", + "GetEnrollmentStatusResponse$lastUpdatedTimestamp": "

The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.

", "RecommendationExportJob$lastUpdatedTimestamp": "

The timestamp of when the export job was last updated.

" } }, @@ -734,12 +791,13 @@ "MaxResults": { "base": null, "refs": { - "DescribeRecommendationExportJobsRequest$maxResults": "

The maximum number of export jobs to return with a single request.

To retrieve the remaining results, make another request with the returned NextToken value.

", - "GetAutoScalingGroupRecommendationsRequest$maxResults": "

The maximum number of Auto Scaling group recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned NextToken value.

", - "GetEBSVolumeRecommendationsRequest$maxResults": "

The maximum number of volume recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned NextToken value.

", - "GetEC2InstanceRecommendationsRequest$maxResults": "

The maximum number of instance recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned NextToken value.

", - "GetLambdaFunctionRecommendationsRequest$maxResults": "

The maximum number of function recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned NextToken value.

", - "GetRecommendationSummariesRequest$maxResults": "

The maximum number of recommendation summaries to return with a single request.

To retrieve the remaining results, make another request with the returned NextToken value.

" + "DescribeRecommendationExportJobsRequest$maxResults": "

The maximum number of export jobs to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

", + "GetAutoScalingGroupRecommendationsRequest$maxResults": "

The maximum number of Auto Scaling group recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

", + "GetEBSVolumeRecommendationsRequest$maxResults": "

The maximum number of volume recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

", + "GetEC2InstanceRecommendationsRequest$maxResults": "

The maximum number of instance recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

", + "GetEnrollmentStatusesForOrganizationRequest$maxResults": "

The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request.

To retrieve the remaining results, make another request with the returned nextToken value.

", + "GetLambdaFunctionRecommendationsRequest$maxResults": "

The maximum number of function recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

", + "GetRecommendationSummariesRequest$maxResults": "

The maximum number of recommendation summaries to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

" } }, "MaxSize": { @@ -751,7 +809,7 @@ "MemberAccountsEnrolled": { "base": null, "refs": { - "GetEnrollmentStatusResponse$memberAccountsEnrolled": "

Confirms the enrollment status of member accounts within the organization, if the account is a management account of an organization.

" + "GetEnrollmentStatusResponse$memberAccountsEnrolled": "

Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.

" } }, "MemorySize": { @@ -783,9 +841,9 @@ "MetricStatistic": { "base": null, "refs": { - "EBSUtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the AWS Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

", + "EBSUtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

", "GetEC2RecommendationProjectedMetricsRequest$stat": "

The statistic of the projected metrics.

", - "UtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the AWS Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

" + "UtilizationMetric$statistic": "

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

" } }, "MetricValue": { @@ -811,7 +869,7 @@ } }, "MissingAuthenticationToken": { - "base": "

The request must contain either a valid (registered) AWS access key ID or X.509 certificate.

", + "base": "

The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate.

", "refs": { } }, @@ -826,6 +884,8 @@ "GetEBSVolumeRecommendationsResponse$nextToken": "

The token to use to advance to the next page of volume recommendations.

This value is null when there are no more pages of volume recommendations to return.

", "GetEC2InstanceRecommendationsRequest$nextToken": "

The token to advance to the next page of instance recommendations.

", "GetEC2InstanceRecommendationsResponse$nextToken": "

The token to use to advance to the next page of instance recommendations.

This value is null when there are no more pages of instance recommendations to return.

", + "GetEnrollmentStatusesForOrganizationRequest$nextToken": "

The token to advance to the next page of account enrollment statuses.

", + "GetEnrollmentStatusesForOrganizationResponse$nextToken": "

The token to use to advance to the next page of account enrollment statuses.

This value is null when there are no more pages of account enrollment statuses to return.

", "GetLambdaFunctionRecommendationsRequest$nextToken": "

The token to advance to the next page of function recommendations.

", "GetLambdaFunctionRecommendationsResponse$nextToken": "

The token to use to advance to the next page of function recommendations.

This value is null when there are no more pages of function recommendations to return.

", "GetRecommendationSummariesRequest$nextToken": "

The token to advance to the next page of recommendation summaries.

", @@ -835,11 +895,17 @@ "NumberOfInvocations": { "base": null, "refs": { - "LambdaFunctionRecommendation$numberOfInvocations": "

The number of times your function code was executed during the look-back period.

" + "LambdaFunctionRecommendation$numberOfInvocations": "

The number of times your function code was applied during the look-back period.

" + } + }, + "NumberOfMemberAccountsOptedIn": { + "base": null, + "refs": { + "GetEnrollmentStatusResponse$numberOfMemberAccountsOptedIn": "

The count of organization member accounts that are opted in to the service, if your account is an organization management account.

" } }, "OptInRequiredException": { - "base": "

The account is not opted in to AWS Compute Optimizer.

", + "base": "

The account is not opted in to Compute Optimizer.

", "refs": { } }, @@ -866,11 +932,11 @@ "PlatformDifferences": { "base": null, "refs": { - "InstanceRecommendationOption$platformDifferences": "

Describes the configuration differences between the current instance and the recommended instance type. You should consider the configuration differences before migrating your workloads from the current instance to the recommended instance type. The Change the instance type guide for Linux and Change the instance type guide for Windows provide general guidance for getting started with an instance migration.

Platform differences include:

" + "InstanceRecommendationOption$platformDifferences": "

Describes the configuration differences between the current instance and the recommended instance type. You should consider the configuration differences before migrating your workloads from the current instance to the recommended instance type. The Change the instance type guide for Linux and Change the instance type guide for Windows provide general guidance for getting started with an instance migration.

Platform differences include:

" } }, "ProjectedMetric": { - "base": "

Describes a projected utilization metric of a recommendation option, such as an Amazon EC2 instance. This represents the projected utilization of a recommendation option had you used that resource during the analyzed period.

Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

", + "base": "

Describes a projected utilization metric of a recommendation option, such as an Amazon EC2 instance. This represents the projected utilization of a recommendation option had you used that resource during the analyzed period.

Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

", "refs": { "ProjectedMetrics$member": null } @@ -911,7 +977,7 @@ } }, "RecommendationExportJob": { - "base": "

Describes a recommendation export job.

Use the DescribeRecommendationExportJobs action to view your recommendation export jobs.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations.

", + "base": "

Describes a recommendation export job.

Use the DescribeRecommendationExportJobs action to view your recommendation export jobs.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations.

", "refs": { "RecommendationExportJobs$member": null } @@ -928,6 +994,16 @@ "InstanceRecommendation$recommendationOptions": "

An array of objects that describe the recommendation options for the instance.

" } }, + "RecommendationPreferences": { + "base": "

Describes preferences for recommendations.

", + "refs": { + "ExportAutoScalingGroupRecommendationsRequest$recommendationPreferences": "

An object to specify the preferences for the Auto Scaling group recommendations to export.

", + "ExportEC2InstanceRecommendationsRequest$recommendationPreferences": "

An object to specify the preferences for the Amazon EC2 instance recommendations to export.

", + "GetAutoScalingGroupRecommendationsRequest$recommendationPreferences": "

An object to specify the preferences for the Auto Scaling group recommendations to return in the response.

", + "GetEC2InstanceRecommendationsRequest$recommendationPreferences": "

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.

", + "GetEC2RecommendationProjectedMetricsRequest$recommendationPreferences": "

An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.

" + } + }, "RecommendationSource": { "base": "

Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.

", "refs": { @@ -972,7 +1048,7 @@ } }, "RecommendedOptionProjectedMetric": { - "base": "

Describes a projected utilization metric of a recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

", + "base": "

Describes a projected utilization metric of a recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

", "refs": { "RecommendedOptionProjectedMetrics$member": null } @@ -980,7 +1056,7 @@ "RecommendedOptionProjectedMetrics": { "base": null, "refs": { - "GetEC2RecommendationProjectedMetricsResponse$recommendedOptionProjectedMetrics": "

An array of objects that describe a projected metrics.

" + "GetEC2RecommendationProjectedMetricsResponse$recommendedOptionProjectedMetrics": "

An array of objects that describes projected metrics.

" } }, "ResourceNotFoundException": { @@ -1005,11 +1081,11 @@ } }, "S3DestinationConfig": { - "base": "

Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.

", + "base": "

Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.

", "refs": { - "ExportAutoScalingGroupRecommendationsRequest$s3DestinationConfig": "

An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.

", + "ExportAutoScalingGroupRecommendationsRequest$s3DestinationConfig": "

An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permissions policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.

", "ExportEBSVolumeRecommendationsRequest$s3DestinationConfig": null, - "ExportEC2InstanceRecommendationsRequest$s3DestinationConfig": "

An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.

", + "ExportEC2InstanceRecommendationsRequest$s3DestinationConfig": "

An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permissions policy policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.

", "ExportLambdaFunctionRecommendationsRequest$s3DestinationConfig": null } }, @@ -1021,14 +1097,16 @@ "Status": { "base": null, "refs": { + "AccountEnrollmentStatus$status": "

The account enrollment status.

", "GetEnrollmentStatusResponse$status": "

The enrollment status of the account.

", - "UpdateEnrollmentStatusRequest$status": "

The new enrollment status of the account.

The following status options are available:

The Pending and Failed options cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.

", + "UpdateEnrollmentStatusRequest$status": "

The new enrollment status of the account.

The following status options are available:

The Pending and Failed options cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.

", "UpdateEnrollmentStatusResponse$status": "

The enrollment status of the account.

" } }, "StatusReason": { "base": null, "refs": { + "AccountEnrollmentStatus$statusReason": "

The reason for the account enrollment status.

For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

", "GetEnrollmentStatusResponse$statusReason": "

The reason for the enrollment status of the account.

For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

", "UpdateEnrollmentStatusResponse$statusReason": "

The reason for the enrollment status of the account. For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

" } @@ -1060,15 +1138,15 @@ "Timestamp": { "base": null, "refs": { - "GetEC2RecommendationProjectedMetricsRequest$startTime": "

The time stamp of the first projected metrics data point to return.

", - "GetEC2RecommendationProjectedMetricsRequest$endTime": "

The time stamp of the last projected metrics data point to return.

", + "GetEC2RecommendationProjectedMetricsRequest$startTime": "

The timestamp of the first projected metrics data point to return.

", + "GetEC2RecommendationProjectedMetricsRequest$endTime": "

The timestamp of the last projected metrics data point to return.

", "Timestamps$member": null } }, "Timestamps": { "base": null, "refs": { - "ProjectedMetric$timestamps": "

The time stamps of the projected utilization metric.

" + "ProjectedMetric$timestamps": "

The timestamps of the projected utilization metric.

" } }, "UpdateEnrollmentStatusRequest": { diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index f35b185e7ff..80a68690994 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -24024,7 +24024,8 @@ "RemoveEntries":{ "shape":"RemovePrefixListEntries", "locationName":"RemoveEntry" - } + }, + "MaxEntries":{"shape":"Integer"} } }, "ModifyManagedPrefixListResult":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 3a19c47feed..dcd38472563 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -94,10 +94,10 @@ "CreateTrafficMirrorSession": "

Creates a Traffic Mirror session.

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use CreateTrafficMirrorFilter to create filter rules that specify the traffic to mirror.

", "CreateTrafficMirrorTarget": "

Creates a target for your Traffic Mirror session.

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, or a Network Load Balancer.

To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.

", "CreateTransitGateway": "

Creates a transit gateway.

You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.

To attach your VPCs, use CreateTransitGatewayVpcAttachment.

To attach a VPN connection, use CreateCustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to CreateVpnConnection.

When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use CreateTransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use EnableTransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AssociateTransitGatewayRouteTable to associate a resource attachment with a transit gateway route table.

", - "CreateTransitGatewayConnect": "

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or AWS Direct Connect attachment as the underlying transport mechanism.

", + "CreateTransitGatewayConnect": "

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.

", "CreateTransitGatewayConnectPeer": "

Creates a Connect peer for a specified transit gateway Connect attachment between a transit gateway and an appliance.

The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

For more information, see Connect peers in the Transit Gateways Guide.

", "CreateTransitGatewayMulticastDomain": "

Creates a multicast domain using the specified transit gateway.

The transit gateway must be in the available state before you create a domain. Use DescribeTransitGateways to see the state of transit gateway.

", - "CreateTransitGatewayPeeringAttachment": "

Requests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter). The transit gateways must be in different Regions. The peer transit gateway can be in your account or a different AWS account.

After you create the peering attachment, the owner of the accepter transit gateway must accept the attachment request.

", + "CreateTransitGatewayPeeringAttachment": "

Requests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter). The transit gateways must be in different Regions. The peer transit gateway can be in your account or a different Amazon Web Services account.

After you create the peering attachment, the owner of the accepter transit gateway must accept the attachment request.

", "CreateTransitGatewayPrefixListReference": "

Creates a reference (route) to a prefix list in a specified transit gateway route table.

", "CreateTransitGatewayRoute": "

Creates a static route for the specified transit gateway route table.

", "CreateTransitGatewayRouteTable": "

Creates a route table for the specified transit gateway.

", @@ -7096,14 +7096,14 @@ "DescribeTrafficMirrorFiltersRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrafficMirrorSessionsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrafficMirrorTargetsRequest$Filters": "

One or more filters. The possible values are:

", - "DescribeTransitGatewayAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", + "DescribeTransitGatewayAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayConnectPeersRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayConnectsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayMulticastDomainsRequest$Filters": "

One or more filters. The possible values are:

", - "DescribeTransitGatewayPeeringAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", + "DescribeTransitGatewayPeeringAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayRouteTablesRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayVpcAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", - "DescribeTransitGatewaysRequest$Filters": "

One or more filters. The possible values are:

", + "DescribeTransitGatewaysRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrunkInterfaceAssociationsRequest$Filters": "

One or more filters.

", "DescribeVolumeStatusRequest$Filters": "

The filters.

", "DescribeVolumesModificationsRequest$Filters": "

The filters.

", @@ -7128,7 +7128,7 @@ "GetTransitGatewayRouteTableAssociationsRequest$Filters": "

One or more filters. The possible values are:

", "GetTransitGatewayRouteTablePropagationsRequest$Filters": "

One or more filters. The possible values are:

", "SearchLocalGatewayRoutesRequest$Filters": "

One or more filters.

", - "SearchTransitGatewayMulticastGroupsRequest$Filters": "

One or more filters. The possible values are:

", + "SearchTransitGatewayMulticastGroupsRequest$Filters": "

One or more filters. The possible values are:

", "SearchTransitGatewayRoutesRequest$Filters": "

One or more filters. The possible values are:

" } }, @@ -9187,6 +9187,7 @@ "ModifyClientVpnEndpointRequest$VpnPort": "

The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

Valid Values: 443 | 1194

Default Value: 443

", "ModifyInstanceMetadataOptionsRequest$HttpPutResponseHopLimit": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. If no parameter is specified, the existing state is maintained.

Possible values: Integers from 1 to 64

", "ModifyInstancePlacementRequest$PartitionNumber": "

Reserved for future use.

", + "ModifyManagedPrefixListRequest$MaxEntries": "

The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.

", "ModifySpotFleetRequestRequest$TargetCapacity": "

The size of the fleet.

", "ModifySpotFleetRequestRequest$OnDemandTargetCapacity": "

The number of On-Demand Instances in the fleet.

", "ModifyTrafficMirrorFilterRuleRequest$RuleNumber": "

The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.

", @@ -10910,7 +10911,7 @@ "ModifyTransitGatewayVpcAttachmentRequestOptions": { "base": "

Describes the options for a VPC attachment.

", "refs": { - "ModifyTransitGatewayVpcAttachmentRequest$Options": "

The new VPC attachment options.

You cannot modify the IPv6 options.

" + "ModifyTransitGatewayVpcAttachmentRequest$Options": "

The new VPC attachment options.

" } }, "ModifyTransitGatewayVpcAttachmentResult": { @@ -14419,7 +14420,7 @@ "CreateTrafficMirrorTargetResult$ClientToken": "

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

", "CreateTransitGatewayConnectPeerRequest$TransitGatewayAddress": "

The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.

", "CreateTransitGatewayConnectPeerRequest$PeerAddress": "

The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.

", - "CreateTransitGatewayPeeringAttachmentRequest$PeerAccountId": "

The AWS account ID of the owner of the peer transit gateway.

", + "CreateTransitGatewayPeeringAttachmentRequest$PeerAccountId": "

The ID of the Amazon Web Services account that owns the peer transit gateway.

", "CreateTransitGatewayPeeringAttachmentRequest$PeerRegion": "

The Region where the peer transit gateway is located.

", "CreateTransitGatewayRequest$Description": "

A description of the transit gateway.

", "CreateTransitGatewayRouteRequest$DestinationCidrBlock": "

The CIDR range used for destination matches. Routing decisions are based on the most specific match.

", @@ -15209,7 +15210,7 @@ "PeeringAttachmentStatus$Code": "

The status code.

", "PeeringAttachmentStatus$Message": "

The status message, if applicable.

", "PeeringTgwInfo$TransitGatewayId": "

The ID of the transit gateway.

", - "PeeringTgwInfo$OwnerId": "

The AWS account ID of the owner of the transit gateway.

", + "PeeringTgwInfo$OwnerId": "

The ID of the Amazon Web Services account that owns the transit gateway.

", "PeeringTgwInfo$Region": "

The Region of the transit gateway.

", "Phase1EncryptionAlgorithmsListValue$Value": "

The value for the encryption algorithm.

", "Phase1EncryptionAlgorithmsRequestListValue$Value": "

The value for the encryption algorithm.

", @@ -15594,13 +15595,13 @@ "TrafficMirrorTarget$OwnerId": "

The ID of the account that owns the Traffic Mirror target.

", "TransitGateway$TransitGatewayId": "

The ID of the transit gateway.

", "TransitGateway$TransitGatewayArn": "

The Amazon Resource Name (ARN) of the transit gateway.

", - "TransitGateway$OwnerId": "

The ID of the AWS account ID that owns the transit gateway.

", + "TransitGateway$OwnerId": "

The ID of the Amazon Web Services account that owns the transit gateway.

", "TransitGateway$Description": "

The description of the transit gateway.

", "TransitGatewayAssociation$ResourceId": "

The ID of the resource.

", "TransitGatewayAttachment$TransitGatewayAttachmentId": "

The ID of the attachment.

", "TransitGatewayAttachment$TransitGatewayId": "

The ID of the transit gateway.

", - "TransitGatewayAttachment$TransitGatewayOwnerId": "

The ID of the AWS account that owns the transit gateway.

", - "TransitGatewayAttachment$ResourceOwnerId": "

The ID of the AWS account that owns the resource.

", + "TransitGatewayAttachment$TransitGatewayOwnerId": "

The ID of the Amazon Web Services account that owns the transit gateway.

", + "TransitGatewayAttachment$ResourceOwnerId": "

The ID of the Amazon Web Services account that owns the resource.

", "TransitGatewayAttachment$ResourceId": "

The ID of the resource.

", "TransitGatewayAttachmentAssociation$TransitGatewayRouteTableId": "

The ID of the route table for the transit gateway.

", "TransitGatewayAttachmentBgpConfiguration$TransitGatewayAddress": "

The interior BGP peer IP address for the transit gateway.

", @@ -15616,19 +15617,19 @@ "TransitGatewayMulticastDomain$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastDomain$TransitGatewayId": "

The ID of the transit gateway.

", "TransitGatewayMulticastDomain$TransitGatewayMulticastDomainArn": "

The Amazon Resource Name (ARN) of the transit gateway multicast domain.

", - "TransitGatewayMulticastDomain$OwnerId": "

The ID of the AWS account that owns the transit gateway multiicast domain.

", + "TransitGatewayMulticastDomain$OwnerId": "

The ID of the Amazon Web Services account that owns the transit gateway multicast domain.

", "TransitGatewayMulticastDomainAssociation$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastDomainAssociation$ResourceId": "

The ID of the resource.

", - "TransitGatewayMulticastDomainAssociation$ResourceOwnerId": "

The ID of the AWS account that owns the transit gateway multicast domain association resource.

", + "TransitGatewayMulticastDomainAssociation$ResourceOwnerId": "

The ID of the Amazon Web Services account that owns the transit gateway multicast domain association resource.

", "TransitGatewayMulticastDomainAssociations$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastDomainAssociations$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastDomainAssociations$ResourceId": "

The ID of the resource.

", - "TransitGatewayMulticastDomainAssociations$ResourceOwnerId": "

The ID of the AWS account that owns the resource.

", + "TransitGatewayMulticastDomainAssociations$ResourceOwnerId": "

The ID of the Amazon Web Services account that owns the resource.

", "TransitGatewayMulticastGroup$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", "TransitGatewayMulticastGroup$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastGroup$SubnetId": "

The ID of the subnet.

", "TransitGatewayMulticastGroup$ResourceId": "

The ID of the resource.

", - "TransitGatewayMulticastGroup$ResourceOwnerId": "

The ID of the AWS account that owns the transit gateway multicast domain group resource.

", + "TransitGatewayMulticastGroup$ResourceOwnerId": "

The ID of the Amazon Web Services account that owns the transit gateway multicast domain group resource.

", "TransitGatewayMulticastGroup$NetworkInterfaceId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastRegisteredGroupMembers$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastRegisteredGroupMembers$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", @@ -15653,7 +15654,7 @@ "TransitGatewayVpcAttachment$TransitGatewayAttachmentId": "

The ID of the attachment.

", "TransitGatewayVpcAttachment$TransitGatewayId": "

The ID of the transit gateway.

", "TransitGatewayVpcAttachment$VpcId": "

The ID of the VPC.

", - "TransitGatewayVpcAttachment$VpcOwnerId": "

The ID of the AWS account that owns the VPC.

", + "TransitGatewayVpcAttachment$VpcOwnerId": "

The ID of the Amazon Web Services account that owns the VPC.

", "TrunkInterfaceAssociation$BranchInterfaceId": "

The ID of the branch network interface.

", "TrunkInterfaceAssociation$TrunkInterfaceId": "

The ID of the trunk network interface.

", "TunnelOption$OutsideIpAddress": "

The external IP address of the VPN tunnel.

", @@ -16035,7 +16036,7 @@ "TransitGatewayPeeringAttachment$Tags": "

The tags for the transit gateway peering attachment.

", "TransitGatewayRouteTable$Tags": "

Any tags assigned to the route table.

", "TransitGatewayVpcAttachment$Tags": "

The tags for the VPC attachment.

", - "TrunkInterfaceAssociation$Tags": "

The tags for the trunk interface associaton.

", + "TrunkInterfaceAssociation$Tags": "

The tags for the trunk interface association.

", "Volume$Tags": "

Any tags assigned to the volume.

", "Vpc$Tags": "

Any tags assigned to the VPC.

", "VpcClassicLink$Tags": "

Any tags assigned to the VPC.

", @@ -16526,7 +16527,7 @@ "AssociateTransitGatewayMulticastDomainRequest$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment to associate with the transit gateway multicast domain.

", "AssociateTransitGatewayRouteTableRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", "CreateTransitGatewayConnectPeerRequest$TransitGatewayAttachmentId": "

The ID of the Connect attachment.

", - "CreateTransitGatewayConnectRequest$TransportTransitGatewayAttachmentId": "

The ID of the transit gateway attachment. You can specify a VPC attachment or a AWS Direct Connect attachment.

", + "CreateTransitGatewayConnectRequest$TransportTransitGatewayAttachmentId": "

The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.

", "CreateTransitGatewayPrefixListReferenceRequest$TransitGatewayAttachmentId": "

The ID of the attachment to which traffic is routed.

", "CreateTransitGatewayRouteRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", "DeleteTransitGatewayConnectRequest$TransitGatewayAttachmentId": "

The ID of the Connect attachment.

", @@ -17088,7 +17089,7 @@ "TrunkInterfaceAssociationId": { "base": null, "refs": { - "DisassociateTrunkInterfaceRequest$AssociationId": "

The ID ofthe association

", + "DisassociateTrunkInterfaceRequest$AssociationId": "

The ID of the association

", "TrunkInterfaceAssociation$AssociationId": "

The ID of the association.

", "TrunkInterfaceAssociationIdList$member": null } diff --git a/models/apis/rekognition/2016-06-27/api-2.json b/models/apis/rekognition/2016-06-27/api-2.json index fca4057dcbb..beeb0ea147f 100644 --- a/models/apis/rekognition/2016-06-27/api-2.json +++ b/models/apis/rekognition/2016-06-27/api-2.json @@ -1070,7 +1070,8 @@ "Name":{"shape":"String"}, "Id":{"shape":"RekognitionUniqueId"}, "Face":{"shape":"ComparedFace"}, - "MatchConfidence":{"shape":"Percent"} + "MatchConfidence":{"shape":"Percent"}, + "KnownGender":{"shape":"KnownGender"} } }, "CelebrityDetail":{ @@ -1167,7 +1168,9 @@ "Confidence":{"shape":"Percent"}, "Landmarks":{"shape":"Landmarks"}, "Pose":{"shape":"Pose"}, - "Quality":{"shape":"ImageQuality"} + "Quality":{"shape":"ImageQuality"}, + "Emotions":{"shape":"Emotions"}, + "Smile":{"shape":"Smile"} } }, "ComparedFaceList":{ @@ -1777,7 +1780,8 @@ "type":"structure", "members":{ "Urls":{"shape":"Urls"}, - "Name":{"shape":"String"} + "Name":{"shape":"String"}, + "KnownGender":{"shape":"KnownGender"} } }, "GetCelebrityRecognitionRequest":{ @@ -2149,6 +2153,19 @@ "min":1, "pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" }, + "KnownGender":{ + "type":"structure", + "members":{ + "Type":{"shape":"KnownGenderType"} + } + }, + "KnownGenderType":{ + "type":"string", + "enum":[ + "Male", + "Female" + ] + }, "Label":{ "type":"structure", "members":{ @@ -3287,7 +3304,9 @@ "Url":{"type":"string"}, "Urls":{ "type":"list", - "member":{"shape":"Url"} + "member":{"shape":"Url"}, + "max":255, + "min":0 }, "ValidationData":{ "type":"structure", diff --git a/models/apis/rekognition/2016-06-27/docs-2.json b/models/apis/rekognition/2016-06-27/docs-2.json index 6959ee81d40..7033a6ee0f5 100644 --- a/models/apis/rekognition/2016-06-27/docs-2.json +++ b/models/apis/rekognition/2016-06-27/docs-2.json @@ -16,13 +16,13 @@ "DescribeProjectVersions": "

Lists and describes the models in an Amazon Rekognition Custom Labels project. You can specify up to 10 model versions in ProjectVersionArns. If you don't specify a value, descriptions for all models are returned.

This operation requires permissions to perform the rekognition:DescribeProjectVersions action.

", "DescribeProjects": "

Lists and gets information about your Amazon Rekognition Custom Labels projects.

This operation requires permissions to perform the rekognition:DescribeProjects action.

", "DescribeStreamProcessor": "

Provides information about a stream processor created by CreateStreamProcessor. You can get information about the input and output streams, the input parameters for the face recognition being performed, and the current status of the stream processor.

", - "DetectCustomLabels": "

Detects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.

You specify which version of a model version to use by using the ProjectVersionArn input parameter.

You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.

For each object that the model version detects on an image, the API returns a (CustomLabel) object in an array (CustomLabels). Each CustomLabel object provides the label name (Name), the level of confidence that the image contains the object (Confidence), and object location information, if it exists, for the label on the image (Geometry).

During training model calculates a threshold value that determines if a prediction for a label is true. By default, DetectCustomLabels doesn't return labels whose confidence value is below the model's calculated threshold value. To filter labels that are returned, specify a value for MinConfidence that is higher than the model's calculated threshold. You can get the model's calculated threshold from the model's training results shown in the Amazon Rekognition Custom Labels console. To get all labels, regardless of confidence, specify a MinConfidence value of 0.

You can also add the MaxResults parameter to limit the number of labels returned.

This is a stateless API operation. That is, the operation does not persist any data.

This operation requires permissions to perform the rekognition:DetectCustomLabels action.

", + "DetectCustomLabels": "

Detects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.

You specify which version of a model version to use by using the ProjectVersionArn input parameter.

You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.

For each object that the model version detects on an image, the API returns a (CustomLabel) object in an array (CustomLabels). Each CustomLabel object provides the label name (Name), the level of confidence that the image contains the object (Confidence), and object location information, if it exists, for the label on the image (Geometry).

To filter labels that are returned, specify a value for MinConfidence. DetectCustomLabelsLabels only returns labels with a confidence that's higher than the specified value. The value of MinConfidence maps to the assumed threshold values created during training. For more information, see Assumed threshold in the Amazon Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses an assumed threshold as a floating point value between 0-1. The range of MinConfidence normalizes the threshold value to a percentage value (0-100). Confidence responses from DetectCustomLabels are also returned as a percentage. You can use MinConfidence to change the precision and recall or your model. For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.

If you don't specify a value for MinConfidence, DetectCustomLabels returns labels based on the assumed threshold of each label.

This is a stateless API operation. That is, the operation does not persist any data.

This operation requires permissions to perform the rekognition:DetectCustomLabels action.

For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.

", "DetectFaces": "

Detects faces within an image that is provided as input.

DetectFaces detects the 100 largest faces in the image. For each face detected, the operation returns face details. These details include a bounding box of the face, a confidence value (that the bounding box contains a face), and a fixed set of attributes such as facial landmarks (for example, coordinates of eye and mouth), presence of beard, sunglasses, and so on.

The face-detection algorithm is most effective on frontal faces. For non-frontal or obscured faces, the algorithm might not detect the faces or might detect faces with lower confidence.

You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.

This is a stateless API operation. That is, the operation does not persist any data.

This operation requires permissions to perform the rekognition:DetectFaces action.

", "DetectLabels": "

Detects instances of real-world entities within an image (JPEG or PNG) provided as input. This includes objects like flower, tree, and table; events like wedding, graduation, and birthday party; and concepts like landscape, evening, and nature.

For an example, see Analyzing Images Stored in an Amazon S3 Bucket in the Amazon Rekognition Developer Guide.

DetectLabels does not support the detection of activities. However, activity detection is supported for label detection in videos. For more information, see StartLabelDetection in the Amazon Rekognition Developer Guide.

You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.

For each object, scene, and concept the API returns one or more labels. Each label provides the object name, and the level of confidence that the image contains the object. For example, suppose the input image has a lighthouse, the sea, and a rock. The response includes all three labels, one for each object.

{Name: lighthouse, Confidence: 98.4629}

{Name: rock,Confidence: 79.2097}

{Name: sea,Confidence: 75.061}

In the preceding example, the operation returns one label for each of the three objects. The operation can also return multiple labels for the same object in the image. For example, if the input image shows a flower (for example, a tulip), the operation might return the following three labels.

{Name: flower,Confidence: 99.0562}

{Name: plant,Confidence: 99.0562}

{Name: tulip,Confidence: 99.0562}

In this example, the detection algorithm more precisely identifies the flower as a tulip.

In response, the API returns an array of labels. In addition, the response also includes the orientation correction. Optionally, you can specify MinConfidence to control the confidence threshold for the labels returned. The default is 55%. You can also add the MaxLabels parameter to limit the number of labels returned.

If the object detected is a person, the operation doesn't provide the same facial details that the DetectFaces operation provides.

DetectLabels returns bounding boxes for instances of common object labels in an array of Instance objects. An Instance object contains a BoundingBox object, for the location of the label on the image. It also includes the confidence by which the bounding box was detected.

DetectLabels also returns a hierarchical taxonomy of detected labels. For example, a detected car might be assigned the label car. The label car has two parent labels: Vehicle (its parent) and Transportation (its grandparent). The response returns the entire list of ancestors for a label. Each ancestor is a unique label in the response. In the previous example, Car, Vehicle, and Transportation are returned as unique labels in the response.

This is a stateless API operation. That is, the operation does not persist any data.

This operation requires permissions to perform the rekognition:DetectLabels action.

", "DetectModerationLabels": "

Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.

To filter images, use the labels returned by DetectModerationLabels to determine which types of content are appropriate.

For information about moderation labels, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.

You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.

", "DetectProtectiveEquipment": "

Detects Personal Protective Equipment (PPE) worn by people detected in an image. Amazon Rekognition can detect the following types of PPE.

You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. The image must be either a PNG or JPG formatted file.

DetectProtectiveEquipment detects PPE worn by up to 15 persons detected in an image.

For each person detected in the image the API returns an array of body parts (face, head, left-hand, right-hand). For each body part, an array of detected items of PPE is returned, including an indicator of whether or not the PPE covers the body part. The API returns the confidence it has in each detection (person, PPE, body part and body part coverage). It also returns a bounding box (BoundingBox) for each detected person and each detected item of PPE.

You can optionally request a summary of detected PPE items with the SummarizationAttributes input parameter. The summary provides the following information.

This is a stateless API operation. That is, the operation does not persist any data.

This operation requires permissions to perform the rekognition:DetectProtectiveEquipment action.

", "DetectText": "

Detects text in the input image and converts it into machine-readable text.

Pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, you must pass it as a reference to an image in an Amazon S3 bucket. For the AWS CLI, passing image bytes is not supported. The image must be either a .png or .jpeg formatted file.

The DetectText operation returns text in an array of TextDetection elements, TextDetections. Each TextDetection element provides information about a single word or line of text that was detected in the image.

A word is one or more ISO basic latin script characters that are not separated by spaces. DetectText can detect up to 100 words in an image.

A line is a string of equally spaced words. A line isn't necessarily a complete sentence. For example, a driver's license number is detected as a line. A line ends when there is no aligned text after it. Also, a line ends when there is a large gap between words, relative to the length of the words. This means, depending on the gap between words, Amazon Rekognition may detect multiple lines in text aligned in the same direction. Periods don't represent the end of a line. If a sentence spans multiple lines, the DetectText operation returns multiple lines.

To determine whether a TextDetection element is a line of text or a word, use the TextDetection object Type field.

To be detected, text must be within +/- 90 degrees orientation of the horizontal axis.

For more information, see DetectText in the Amazon Rekognition Developer Guide.

", - "GetCelebrityInfo": "

Gets the name and additional information about a celebrity based on his or her Amazon Rekognition ID. The additional information is returned as an array of URLs. If there is no additional information about the celebrity, this list is empty.

For more information, see Recognizing Celebrities in an Image in the Amazon Rekognition Developer Guide.

This operation requires permissions to perform the rekognition:GetCelebrityInfo action.

", + "GetCelebrityInfo": "

Gets the name and additional information about a celebrity based on their Amazon Rekognition ID. The additional information is returned as an array of URLs. If there is no additional information about the celebrity, this list is empty.

For more information, see Recognizing Celebrities in an Image in the Amazon Rekognition Developer Guide.

This operation requires permissions to perform the rekognition:GetCelebrityInfo action.

", "GetCelebrityRecognition": "

Gets the celebrity recognition results for a Amazon Rekognition Video analysis started by StartCelebrityRecognition.

Celebrity recognition in a video is an asynchronous operation. Analysis is started by a call to StartCelebrityRecognition which returns a job identifier (JobId). When the celebrity recognition operation finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic registered in the initial call to StartCelebrityRecognition. To get the results of the celebrity recognition analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetCelebrityDetection and pass the job identifier (JobId) from the initial call to StartCelebrityDetection.

For more information, see Working With Stored Videos in the Amazon Rekognition Developer Guide.

GetCelebrityRecognition returns detected celebrities and the time(s) they are detected in an array (Celebrities) of CelebrityRecognition objects. Each CelebrityRecognition contains information about the celebrity in a CelebrityDetail object and the time, Timestamp, the celebrity was detected.

GetCelebrityRecognition only returns the default facial attributes (BoundingBox, Confidence, Landmarks, Pose, and Quality). The other facial attributes listed in the Face object of the following response syntax are not returned. For more information, see FaceDetail in the Amazon Rekognition Developer Guide.

By default, the Celebrities array is sorted by time (milliseconds from the start of the video). You can also sort the array by celebrity by specifying the value ID in the SortBy input parameter.

The CelebrityDetail object includes the celebrity identifer and additional information urls. If you don't store the additional information urls, you can get them later by calling GetCelebrityInfo with the celebrity identifer.

No information is returned for faces not recognized as celebrities.

Use MaxResults parameter to limit the number of labels returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetCelebrityDetection and populate the NextToken request parameter with the token value returned from the previous call to GetCelebrityRecognition.

", "GetContentModeration": "

Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by StartContentModeration. For a list of moderation labels in Amazon Rekognition, see Using the image and video moderation APIs.

Amazon Rekognition Video inappropriate or offensive content detection in a stored video is an asynchronous operation. You start analysis by calling StartContentModeration which returns a job identifier (JobId). When analysis finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic registered in the initial call to StartContentModeration. To get the results of the content analysis, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetContentModeration and pass the job identifier (JobId) from the initial call to StartContentModeration.

For more information, see Working with Stored Videos in the Amazon Rekognition Devlopers Guide.

GetContentModeration returns detected inappropriate, unwanted, or offensive content moderation labels, and the time they are detected, in an array, ModerationLabels, of ContentModerationDetection objects.

By default, the moderated labels are returned sorted by time, in milliseconds from the start of the video. You can also sort them by moderated label by specifying NAME for the SortBy input parameter.

Since video analysis can return a large number of results, use the MaxResults parameter to limit the number of labels returned in a single call to GetContentModeration. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetContentModeration and populate the NextToken request parameter with the value of NextToken returned from the previous call to GetContentModeration.

For more information, see Content moderation in the Amazon Rekognition Developer Guide.

", "GetFaceDetection": "

Gets face detection results for a Amazon Rekognition Video analysis started by StartFaceDetection.

Face detection with Amazon Rekognition Video is an asynchronous operation. You start face detection by calling StartFaceDetection which returns a job identifier (JobId). When the face detection operation finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic registered in the initial call to StartFaceDetection. To get the results of the face detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetFaceDetection and pass the job identifier (JobId) from the initial call to StartFaceDetection.

GetFaceDetection returns an array of detected faces (Faces) sorted by the time the faces were detected.

Use MaxResults parameter to limit the number of labels returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetFaceDetection and populate the NextToken request parameter with the token value returned from the previous call to GetFaceDetection.

", @@ -187,7 +187,7 @@ "CelebrityList": { "base": null, "refs": { - "RecognizeCelebritiesResponse$CelebrityFaces": "

Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image.

" + "RecognizeCelebritiesResponse$CelebrityFaces": "

Details about each celebrity found in the image. Amazon Rekognition can detect a maximum of 64 celebrities in an image. Each celebrity object includes the following attributes: Face, Confidence, Emotions, Landmarks, Pose, Quality, Smile, Id, KnownGender, MatchConfidence, Name, Urls.

" } }, "CelebrityRecognition": { @@ -577,6 +577,7 @@ "Emotions": { "base": null, "refs": { + "ComparedFace$Emotions": "

The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include \"Happy\", \"Sad\", \"Angry\", \"Confused\", \"Disgusted\", \"Surprised\", \"Calm\", \"Unknown\", and \"Fear\".

", "FaceDetail$Emotions": "

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

" } }, @@ -1091,6 +1092,19 @@ "ProjectVersionDescription$KmsKeyId": "

The identifer for the AWS Key Management Service (AWS KMS) customer master key that was used to encrypt the model during training.

" } }, + "KnownGender": { + "base": "

The known gender identity for the celebrity that matches the provided ID.

", + "refs": { + "Celebrity$KnownGender": null, + "GetCelebrityInfoResponse$KnownGender": "

Retrieves the known gender for the celebrity.

" + } + }, + "KnownGenderType": { + "base": "

A list of enum string of possible gender values that Celebrity returns.

", + "refs": { + "KnownGender$Type": "

A string value of the KnownGender info about the Celebrity.

" + } + }, "Label": { "base": "

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

", "refs": { @@ -1271,7 +1285,7 @@ "DetectFacesResponse$OrientationCorrection": "

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

", "DetectLabelsResponse$OrientationCorrection": "

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.

", "IndexFacesResponse$OrientationCorrection": "

If your collection is associated with a face detection model that's later than version 3.0, the value of OrientationCorrection is always null and no orientation information is returned.

If your collection is associated with a face detection model that's version 3.0 or earlier, the following applies:

Bounding box information is returned in the FaceRecords array. You can get the version of the face detection model by calling DescribeCollection.

", - "RecognizeCelebritiesResponse$OrientationCorrection": "

The orientation of the input image (counterclockwise direction). If your application displays the image, you can use this value to correct the orientation. The bounding box coordinates returned in CelebrityFaces and UnrecognizedFaces represent face locations before the image orientation is corrected.

If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value of OrientationCorrection is null. The CelebrityFaces and UnrecognizedFaces bounding box coordinates represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

" + "RecognizeCelebritiesResponse$OrientationCorrection": "

Support for estimating image orientation using the the OrientationCorrection field has ceased as of August 2021. Any returned values for this field included in an API response will always be NULL.

The orientation of the input image (counterclockwise direction). If your application displays the image, you can use this value to correct the orientation. The bounding box coordinates returned in CelebrityFaces and UnrecognizedFaces represent face locations before the image orientation is corrected.

If the input image is in .jpeg format, it might contain exchangeable image (Exif) metadata that includes the image's orientation. If so, and the Exif metadata for the input image populates the orientation field, the value of OrientationCorrection is null. The CelebrityFaces and UnrecognizedFaces bounding box coordinates represent face locations after Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

" } }, "OutputConfig": { @@ -1338,7 +1352,7 @@ "ComparedSourceImageFace$Confidence": "

Confidence level that the selected bounding box contains a face.

", "CoversBodyPart$Confidence": "

The confidence that Amazon Rekognition has in the value of Value.

", "CustomLabel$Confidence": "

The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

", - "DetectCustomLabelsRequest$MinConfidence": "

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence lower than this specified value. If you specify a value of 0, all labels are return, regardless of the default thresholds that the model version applies.

", + "DetectCustomLabelsRequest$MinConfidence": "

Specifies the minimum confidence level for the labels to return. DetectCustomLabels doesn't return any labels with a confidence value that's lower than this specified value. If you specify a value of 0, DetectCustomLabels returns all labels, regardless of the assumed threshold applied to each label. If you don't specify a value for MinConfidence, DetectCustomLabels returns labels based on the assumed threshold of each label.

", "DetectLabelsRequest$MinConfidence": "

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.

If MinConfidence is not specified, the operation returns labels with a confidence values greater than or equal to 55 percent.

", "DetectModerationLabelsRequest$MinConfidence": "

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.

If you don't specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent.

", "DetectionFilter$MinConfidence": "

Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 50 and 100 as Text in Video will not return any result below 50.

", @@ -1775,6 +1789,7 @@ "Smile": { "base": "

Indicates whether or not the face is smiling, and the confidence level in the determination.

", "refs": { + "ComparedFace$Smile": "

Indicates whether or not the face is smiling, and the confidence level in the determination.

", "FaceDetail$Smile": "

Indicates whether or not the face is smiling, and the confidence level in the determination.

" } }, diff --git a/models/apis/transcribe/2017-10-26/api-2.json b/models/apis/transcribe/2017-10-26/api-2.json index d6d9ecbd640..2729cbc4449 100644 --- a/models/apis/transcribe/2017-10-26/api-2.json +++ b/models/apis/transcribe/2017-10-26/api-2.json @@ -1124,7 +1124,11 @@ "ta-IN", "te-IN", "tr-TR", - "zh-CN" + "zh-CN", + "zh-TW", + "th-TH", + "en-ZA", + "en-NZ" ] }, "LanguageModel":{ diff --git a/models/apis/transcribe/2017-10-26/docs-2.json b/models/apis/transcribe/2017-10-26/docs-2.json index b1147e738f7..119a6a11583 100644 --- a/models/apis/transcribe/2017-10-26/docs-2.json +++ b/models/apis/transcribe/2017-10-26/docs-2.json @@ -283,7 +283,7 @@ "MedicalTranscriptionJobSummary$CompletionTime": "

A timestamp that shows when the job was completed.

", "TranscriptionJob$StartTime": "

A timestamp that shows when the job started processing.

", "TranscriptionJob$CreationTime": "

A timestamp that shows when the job was created.

", - "TranscriptionJob$CompletionTime": "

A timestamp that shows when the job was completed.

", + "TranscriptionJob$CompletionTime": "

A timestamp that shows when the job completed.

", "TranscriptionJobSummary$CreationTime": "

A timestamp that shows when the job was created.

", "TranscriptionJobSummary$StartTime": "

A timestamp that shows when the job started processing.

", "TranscriptionJobSummary$CompletionTime": "

A timestamp that shows when the job was completed.

", @@ -769,7 +769,7 @@ "ListMedicalTranscriptionJobsResponse$NextToken": "

The ListMedicalTranscriptionJobs operation returns a page of jobs at a time. The maximum size of the page is set by the MaxResults parameter. If the number of jobs exceeds what can fit on a page, Amazon Transcribe Medical returns the NextPage token. Include the token in the next request to the ListMedicalTranscriptionJobs operation to return in the next page of jobs.

", "ListMedicalVocabulariesRequest$NextToken": "

If the result of your previous request to ListMedicalVocabularies was truncated, include the NextToken to fetch the next set of vocabularies.

", "ListMedicalVocabulariesResponse$NextToken": "

The ListMedicalVocabularies operation returns a page of vocabularies at a time. You set the maximum number of vocabularies to return on a page with the MaxResults parameter. If there are more jobs in the list will fit on a page, Amazon Transcribe Medical returns the NextPage token. To return the next page of vocabularies, include the token in the next request to the ListMedicalVocabularies operation .

", - "ListTranscriptionJobsRequest$NextToken": "

If the result of the previous request to ListTranscriptionJobs was truncated, include the NextToken to fetch the next set of jobs.

", + "ListTranscriptionJobsRequest$NextToken": "

If the result of the previous request to ListTranscriptionJobs is truncated, include the NextToken to fetch the next set of jobs.

", "ListTranscriptionJobsResponse$NextToken": "

The ListTranscriptionJobs operation returns a page of jobs at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListTranscriptionJobs operation to return in the next page of jobs.

", "ListVocabulariesRequest$NextToken": "

If the result of the previous request to ListVocabularies was truncated, include the NextToken to fetch the next set of jobs.

", "ListVocabulariesResponse$NextToken": "

The ListVocabularies operation returns a page of vocabularies at a time. The maximum size of the page is set in the MaxResults parameter. If there are more jobs in the list than will fit on the page, Amazon Transcribe returns the NextPage token. To return in the next page of jobs, include the token in the next request to the ListVocabularies operation.

", diff --git a/service/computeoptimizer/api.go b/service/computeoptimizer/api.go index b987d6aec37..db3e7d2522e 100644 --- a/service/computeoptimizer/api.go +++ b/service/computeoptimizer/api.go @@ -71,7 +71,7 @@ func (c *ComputeOptimizer) DescribeRecommendationExportJobsRequest(input *Descri // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -83,14 +83,14 @@ func (c *ComputeOptimizer) DescribeRecommendationExportJobsRequest(input *Descri // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * ResourceNotFoundException // A resource that is required for the action doesn't exist. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -164,12 +164,13 @@ func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest(input *E // Exports optimization recommendations for Auto Scaling groups. // // Recommendations are exported in a comma-separated values (.csv) file, and -// its metadata in a JavaScript Object Notation (.json) file, to an existing +// its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing // Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more // information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) // in the Compute Optimizer User Guide. // -// You can have only one Auto Scaling group export job in progress per AWS Region. +// You can have only one Auto Scaling group export job in progress per Amazon +// Web Services Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -180,7 +181,7 @@ func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest(input *E // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -192,11 +193,11 @@ func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest(input *E // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -273,12 +274,13 @@ func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsRequest(input *ExportEB // Exports optimization recommendations for Amazon EBS volumes. // // Recommendations are exported in a comma-separated values (.csv) file, and -// its metadata in a JavaScript Object Notation (.json) file, to an existing +// its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing // Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more // information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) // in the Compute Optimizer User Guide. // -// You can have only one Amazon EBS volume export job in progress per AWS Region. +// You can have only one Amazon EBS volume export job in progress per Amazon +// Web Services Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -289,7 +291,7 @@ func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsRequest(input *ExportEB // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -301,11 +303,11 @@ func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsRequest(input *ExportEB // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -382,13 +384,13 @@ func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsRequest(input *Export // Exports optimization recommendations for Amazon EC2 instances. // // Recommendations are exported in a comma-separated values (.csv) file, and -// its metadata in a JavaScript Object Notation (.json) file, to an existing +// its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing // Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more // information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) // in the Compute Optimizer User Guide. // -// You can have only one Amazon EC2 instance export job in progress per AWS -// Region. +// You can have only one Amazon EC2 instance export job in progress per Amazon +// Web Services Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -399,7 +401,7 @@ func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsRequest(input *Export // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -411,11 +413,11 @@ func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsRequest(input *Export // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -489,15 +491,16 @@ func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest(input *Exp // ExportLambdaFunctionRecommendations API operation for AWS Compute Optimizer. // -// Exports optimization recommendations for AWS Lambda functions. +// Exports optimization recommendations for Lambda functions. // // Recommendations are exported in a comma-separated values (.csv) file, and -// its metadata in a JavaScript Object Notation (.json) file, to an existing +// its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing // Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more // information, see Exporting Recommendations (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) // in the Compute Optimizer User Guide. // -// You can have only one Lambda function export job in progress per AWS Region. +// You can have only one Lambda function export job in progress per Amazon Web +// Services Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -508,7 +511,7 @@ func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest(input *Exp // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -520,11 +523,11 @@ func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest(input *Exp // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -600,10 +603,10 @@ func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest(input *GetA // // Returns Auto Scaling group recommendations. // -// AWS Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling -// groups that meet a specific set of requirements. For more information, see -// the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) -// in the AWS Compute Optimizer User Guide. +// Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups +// that meet a specific set of requirements. For more information, see the Supported +// resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) +// in the Compute Optimizer User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -614,7 +617,7 @@ func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest(input *GetA // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -626,14 +629,14 @@ func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest(input *GetA // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * ResourceNotFoundException // A resource that is required for the action doesn't exist. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -706,10 +709,10 @@ func (c *ComputeOptimizer) GetEBSVolumeRecommendationsRequest(input *GetEBSVolum // // Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations. // -// AWS Compute Optimizer generates recommendations for Amazon EBS volumes that -// meet a specific set of requirements. For more information, see the Supported -// resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) -// in the AWS Compute Optimizer User Guide. +// Compute Optimizer generates recommendations for Amazon EBS volumes that meet +// a specific set of requirements. For more information, see the Supported resources +// and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) +// in the Compute Optimizer User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -720,7 +723,7 @@ func (c *ComputeOptimizer) GetEBSVolumeRecommendationsRequest(input *GetEBSVolum // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -732,14 +735,14 @@ func (c *ComputeOptimizer) GetEBSVolumeRecommendationsRequest(input *GetEBSVolum // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * ResourceNotFoundException // A resource that is required for the action doesn't exist. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -812,10 +815,10 @@ func (c *ComputeOptimizer) GetEC2InstanceRecommendationsRequest(input *GetEC2Ins // // Returns Amazon EC2 instance recommendations. // -// AWS Compute Optimizer generates recommendations for Amazon Elastic Compute -// Cloud (Amazon EC2) instances that meet a specific set of requirements. For -// more information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) -// in the AWS Compute Optimizer User Guide. +// Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud +// (Amazon EC2) instances that meet a specific set of requirements. For more +// information, see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) +// in the Compute Optimizer User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -826,7 +829,7 @@ func (c *ComputeOptimizer) GetEC2InstanceRecommendationsRequest(input *GetEC2Ins // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -838,14 +841,14 @@ func (c *ComputeOptimizer) GetEC2InstanceRecommendationsRequest(input *GetEC2Ins // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * ResourceNotFoundException // A resource that is required for the action doesn't exist. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -933,7 +936,7 @@ func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsRequest(input *Ge // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -945,14 +948,14 @@ func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsRequest(input *Ge // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * ResourceNotFoundException // A resource that is required for the action doesn't exist. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -1023,11 +1026,13 @@ func (c *ComputeOptimizer) GetEnrollmentStatusRequest(input *GetEnrollmentStatus // GetEnrollmentStatus API operation for AWS Compute Optimizer. // -// Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer +// Returns the enrollment (opt in) status of an account to the Compute Optimizer // service. // // If the account is the management account of an organization, this action -// also confirms the enrollment status of member accounts within the organization. +// also confirms the enrollment status of member accounts of the organization. +// Use the GetEnrollmentStatusesForOrganization action to get detailed information +// about the enrollment status of member accounts of an organization. // // 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 @@ -1047,11 +1052,11 @@ func (c *ComputeOptimizer) GetEnrollmentStatusRequest(input *GetEnrollmentStatus // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -1078,6 +1083,105 @@ func (c *ComputeOptimizer) GetEnrollmentStatusWithContext(ctx aws.Context, input return out, req.Send() } +const opGetEnrollmentStatusesForOrganization = "GetEnrollmentStatusesForOrganization" + +// GetEnrollmentStatusesForOrganizationRequest generates a "aws/request.Request" representing the +// client's request for the GetEnrollmentStatusesForOrganization 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 GetEnrollmentStatusesForOrganization for more information on using the GetEnrollmentStatusesForOrganization +// 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 GetEnrollmentStatusesForOrganizationRequest method. +// req, resp := client.GetEnrollmentStatusesForOrganizationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatusesForOrganization +func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationRequest(input *GetEnrollmentStatusesForOrganizationInput) (req *request.Request, output *GetEnrollmentStatusesForOrganizationOutput) { + op := &request.Operation{ + Name: opGetEnrollmentStatusesForOrganization, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetEnrollmentStatusesForOrganizationInput{} + } + + output = &GetEnrollmentStatusesForOrganizationOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetEnrollmentStatusesForOrganization API operation for AWS Compute Optimizer. +// +// Returns the Compute Optimizer enrollment (opt-in) status of organization +// member accounts, if your account is an organization management account. +// +// To get the enrollment status of standalone accounts, use the GetEnrollmentStatus +// action. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Compute Optimizer's +// API operation GetEnrollmentStatusesForOrganization for usage and error information. +// +// Returned Error Types: +// * InternalServerException +// An internal error has occurred. Try your call again. +// +// * ServiceUnavailableException +// The request has failed due to a temporary failure of the server. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. +// +// * MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatusesForOrganization +func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganization(input *GetEnrollmentStatusesForOrganizationInput) (*GetEnrollmentStatusesForOrganizationOutput, error) { + req, out := c.GetEnrollmentStatusesForOrganizationRequest(input) + return out, req.Send() +} + +// GetEnrollmentStatusesForOrganizationWithContext is the same as GetEnrollmentStatusesForOrganization with the addition of +// the ability to pass a context and additional request options. +// +// See GetEnrollmentStatusesForOrganization 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 *ComputeOptimizer) GetEnrollmentStatusesForOrganizationWithContext(ctx aws.Context, input *GetEnrollmentStatusesForOrganizationInput, opts ...request.Option) (*GetEnrollmentStatusesForOrganizationOutput, error) { + req, out := c.GetEnrollmentStatusesForOrganizationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetLambdaFunctionRecommendations = "GetLambdaFunctionRecommendations" // GetLambdaFunctionRecommendationsRequest generates a "aws/request.Request" representing the @@ -1122,12 +1226,12 @@ func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsRequest(input *GetLam // GetLambdaFunctionRecommendations API operation for AWS Compute Optimizer. // -// Returns AWS Lambda function recommendations. +// Returns Lambda function recommendations. // -// AWS Compute Optimizer generates recommendations for functions that meet a -// specific set of requirements. For more information, see the Supported resources -// and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) -// in the AWS Compute Optimizer User Guide. +// Compute Optimizer generates recommendations for functions that meet a specific +// set of requirements. For more information, see the Supported resources and +// requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) +// in the Compute Optimizer User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1138,7 +1242,7 @@ func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsRequest(input *GetLam // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -1150,11 +1254,11 @@ func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsRequest(input *GetLam // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -1250,7 +1354,7 @@ func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommend // // Returned Error Types: // * OptInRequiredException -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. // // * InternalServerException // An internal error has occurred. Try your call again. @@ -1262,11 +1366,11 @@ func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommend // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -1337,21 +1441,21 @@ func (c *ComputeOptimizer) UpdateEnrollmentStatusRequest(input *UpdateEnrollment // UpdateEnrollmentStatus API operation for AWS Compute Optimizer. // -// Updates the enrollment (opt in and opt out) status of an account to the AWS -// Compute Optimizer service. +// Updates the enrollment (opt in and opt out) status of an account to the Compute +// Optimizer service. // // If the account is a management account of an organization, this action can -// also be used to enroll member accounts within the organization. +// also be used to enroll member accounts of the organization. // // You must have the appropriate permissions to opt in to Compute Optimizer, // to view its recommendations, and to opt out. For more information, see Controlling -// access with AWS Identity and Access Management (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html) -// in the AWS Compute Optimizer User Guide. +// access with Amazon Web Services Identity and Access Management (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html) +// in the Compute Optimizer User Guide. // -// When you opt in, Compute Optimizer automatically creates a Service-Linked -// Role in your account to access its data. For more information, see Using -// Service-Linked Roles for AWS Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/using-service-linked-roles.html) -// in the AWS Compute Optimizer User Guide. +// When you opt in, Compute Optimizer automatically creates a service-linked +// role in your account to access its data. For more information, see Using +// Service-Linked Roles for Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/using-service-linked-roles.html) +// in the Compute Optimizer User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1371,11 +1475,11 @@ func (c *ComputeOptimizer) UpdateEnrollmentStatusRequest(input *UpdateEnrollment // You do not have sufficient access to perform this action. // // * InvalidParameterValueException -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. // // * MissingAuthenticationToken -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // // * ThrottlingException // The request was denied due to request throttling. @@ -1458,6 +1562,62 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Describes the enrollment status of an organization's member accounts in Compute +// Optimizer. +type AccountEnrollmentStatus struct { + _ struct{} `type:"structure"` + + // The Amazon Web Services account ID. + AccountId *string `locationName:"accountId" type:"string"` + + // The Unix epoch timestamp, in seconds, of when the account enrollment status + // was last updated. + LastUpdatedTimestamp *time.Time `locationName:"lastUpdatedTimestamp" type:"timestamp"` + + // The account enrollment status. + Status *string `locationName:"status" type:"string" enum:"Status"` + + // The reason for the account enrollment status. + // + // For example, an account might show a status of Pending because member accounts + // of an organization require more time to be enrolled in the service. + StatusReason *string `locationName:"statusReason" type:"string"` +} + +// String returns the string representation +func (s AccountEnrollmentStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountEnrollmentStatus) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *AccountEnrollmentStatus) SetAccountId(v string) *AccountEnrollmentStatus { + s.AccountId = &v + return s +} + +// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. +func (s *AccountEnrollmentStatus) SetLastUpdatedTimestamp(v time.Time) *AccountEnrollmentStatus { + s.LastUpdatedTimestamp = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *AccountEnrollmentStatus) SetStatus(v string) *AccountEnrollmentStatus { + s.Status = &v + return s +} + +// SetStatusReason sets the StatusReason field's value. +func (s *AccountEnrollmentStatus) SetStatusReason(v string) *AccountEnrollmentStatus { + s.StatusReason = &v + return s +} + // Describes the configuration of an Auto Scaling group. type AutoScalingGroupConfiguration struct { _ struct{} `type:"structure"` @@ -1513,7 +1673,7 @@ func (s *AutoScalingGroupConfiguration) SetMinSize(v int64) *AutoScalingGroupCon type AutoScalingGroupRecommendation struct { _ struct{} `type:"structure"` - // The AWS account ID of the Auto Scaling group. + // The Amazon Web Services account ID of the Auto Scaling group. AccountId *string `locationName:"accountId" type:"string"` // The Amazon Resource Name (ARN) of the Auto Scaling group. @@ -1531,7 +1691,7 @@ type AutoScalingGroupRecommendation struct { // Findings for Auto Scaling groups include: // // * NotOptimized —An Auto Scaling group is considered not optimized when - // AWS Compute Optimizer identifies a recommendation that can provide better + // Compute Optimizer identifies a recommendation that can provide better // performance for your workload. // // * Optimized —An Auto Scaling group is considered optimized when Compute @@ -1540,7 +1700,7 @@ type AutoScalingGroupRecommendation struct { // Optimizer might recommend a new generation instance type. Finding *string `locationName:"finding" type:"string" enum:"Finding"` - // The time stamp of when the Auto Scaling group recommendation was last refreshed. + // The timestamp of when the Auto Scaling group recommendation was last refreshed. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the Auto @@ -1696,7 +1856,7 @@ func (s *AutoScalingGroupRecommendationOption) SetRank(v int64) *AutoScalingGrou type DescribeRecommendationExportJobsInput struct { _ struct{} `type:"structure"` - // An array of objects that describe a filter to return a more specific list + // An array of objects to specify a filter that returns a more specific list // of export jobs. Filters []*JobFilter `locationName:"filters" type:"list"` @@ -1712,7 +1872,7 @@ type DescribeRecommendationExportJobsInput struct { // The maximum number of export jobs to return with a single request. // // To retrieve the remaining results, make another request with the returned - // NextToken value. + // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of export jobs. @@ -1801,7 +1961,7 @@ type EBSFilter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification - // (e.g., NotOptimized). + // (for example, NotOptimized). Name *string `locationName:"name" type:"string" enum:"EBSFilterName"` // The value of the filter. @@ -1860,15 +2020,15 @@ type EBSUtilizationMetric struct { // The statistic of the utilization metric. // - // The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs - // return utilization metrics using only the Maximum statistic, which is the - // highest value observed during the specified period. + // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return + // utilization metrics using only the Maximum statistic, which is the highest + // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) - // in the AWS Compute Optimizer User Guide. You can also get averaged utilization + // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"MetricStatistic"` @@ -1905,10 +2065,50 @@ func (s *EBSUtilizationMetric) SetValue(v float64) *EBSUtilizationMetric { 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 { + _ struct{} `type:"structure"` + + // The name of the filter. + // + // Specify Status to return accounts with a specific enrollment status (for + // example, Active). + Name *string `locationName:"name" type:"string" enum:"EnrollmentFilterName"` + + // The value of the filter. + // + // The valid values are Active, Inactive, Pending, and Failed. + Values []*string `locationName:"values" type:"list"` +} + +// String returns the string representation +func (s EnrollmentFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EnrollmentFilter) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *EnrollmentFilter) SetName(v string) *EnrollmentFilter { + s.Name = &v + return s +} + +// SetValues sets the Values field's value. +func (s *EnrollmentFilter) SetValues(v []*string) *EnrollmentFilter { + s.Values = v + return s +} + type ExportAutoScalingGroupRecommendationsInput struct { _ struct{} `type:"structure"` - // The IDs of the AWS accounts for which to export Auto Scaling group recommendations. + // The IDs of the Amazon Web Services accounts for which to export Auto Scaling + // group recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to export recommendations. @@ -1932,7 +2132,7 @@ type ExportAutoScalingGroupRecommendationsInput struct { // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` - // An array of objects that describe a filter to export a more specific set + // An array of objects to specify a filter that exports a more specific set // of Auto Scaling group recommendations. Filters []*Filter `locationName:"filters" type:"list"` @@ -1942,9 +2142,9 @@ type ExportAutoScalingGroupRecommendationsInput struct { // // The member accounts must also be opted in to Compute Optimizer, and trusted // access for Compute Optimizer must be enabled in the organization account. - // For more information, see Compute Optimizer and AWS Organizations trusted - // access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) - // in the AWS Compute Optimizer User Guide. + // For more information, see Compute Optimizer and Amazon Web Services Organizations + // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) + // in the Compute Optimizer User Guide. // // Recommendations for member accounts of the organization are not included // in the export file if this parameter is omitted. @@ -1956,18 +2156,22 @@ type ExportAutoScalingGroupRecommendationsInput struct { // parameter, or the account IDs parameter, is omitted. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` + // An object to specify the preferences for the Auto Scaling group recommendations + // to export. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` + // An object to specify the destination Amazon Simple Storage Service (Amazon // S3) bucket name and key prefix for the export job. // // You must create the destination Amazon S3 bucket for your recommendations // export before you create the export job. Compute Optimizer does not create // the S3 bucket for you. After you create the S3 bucket, ensure that it has - // the required permission policy to allow Compute Optimizer to write the export + // the required permissions policy to allow Compute Optimizer to write the export // file to it. If you plan to specify an object prefix when you create the export // job, you must include the object prefix in the policy that you add to the // S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute // Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) - // in the Compute Optimizer user guide. + // in the Compute Optimizer User Guide. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` @@ -2026,6 +2230,12 @@ func (s *ExportAutoScalingGroupRecommendationsInput) SetIncludeMemberAccounts(v return s } +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *ExportAutoScalingGroupRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *ExportAutoScalingGroupRecommendationsInput { + s.RecommendationPreferences = v + return s +} + // SetS3DestinationConfig sets the S3DestinationConfig field's value. func (s *ExportAutoScalingGroupRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportAutoScalingGroupRecommendationsInput { s.S3DestinationConfig = v @@ -2097,7 +2307,8 @@ func (s *ExportDestination) SetS3(v *S3Destination) *ExportDestination { type ExportEBSVolumeRecommendationsInput struct { _ struct{} `type:"structure"` - // The IDs of the AWS accounts for which to export Amazon EBS volume recommendations. + // The IDs of the Amazon Web Services accounts for which to export Amazon EBS + // volume recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to export recommendations. @@ -2121,7 +2332,7 @@ type ExportEBSVolumeRecommendationsInput struct { // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` - // An array of objects that describe a filter to export a more specific set + // An array of objects to specify a filter that exports a more specific set // of Amazon EBS volume recommendations. Filters []*EBSFilter `locationName:"filters" type:"list"` @@ -2131,9 +2342,9 @@ type ExportEBSVolumeRecommendationsInput struct { // // The member accounts must also be opted in to Compute Optimizer, and trusted // access for Compute Optimizer must be enabled in the organization account. - // For more information, see Compute Optimizer and AWS Organizations trusted - // access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) - // in the AWS Compute Optimizer User Guide. + // For more information, see Compute Optimizer and Amazon Web Services Organizations + // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) + // in the Compute Optimizer User Guide. // // Recommendations for member accounts of the organization are not included // in the export file if this parameter is omitted. @@ -2156,7 +2367,7 @@ type ExportEBSVolumeRecommendationsInput struct { // job, you must include the object prefix in the policy that you add to the // S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute // Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) - // in the Compute Optimizer user guide. + // in the Compute Optimizer User Guide. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` @@ -2261,7 +2472,8 @@ func (s *ExportEBSVolumeRecommendationsOutput) SetS3Destination(v *S3Destination type ExportEC2InstanceRecommendationsInput struct { _ struct{} `type:"structure"` - // The IDs of the AWS accounts for which to export instance recommendations. + // The IDs of the Amazon Web Services accounts for which to export instance + // recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to export recommendations. @@ -2285,7 +2497,7 @@ type ExportEC2InstanceRecommendationsInput struct { // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` - // An array of objects that describe a filter to export a more specific set + // An array of objects to specify a filter that exports a more specific set // of instance recommendations. Filters []*Filter `locationName:"filters" type:"list"` @@ -2295,9 +2507,9 @@ type ExportEC2InstanceRecommendationsInput struct { // // The member accounts must also be opted in to Compute Optimizer, and trusted // access for Compute Optimizer must be enabled in the organization account. - // For more information, see Compute Optimizer and AWS Organizations trusted - // access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) - // in the AWS Compute Optimizer User Guide. + // For more information, see Compute Optimizer and Amazon Web Services Organizations + // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) + // in the Compute Optimizer User Guide. // // Recommendations for member accounts of the organization are not included // in the export file if this parameter is omitted. @@ -2306,18 +2518,22 @@ type ExportEC2InstanceRecommendationsInput struct { // parameter, or the account IDs parameter, is omitted. IncludeMemberAccounts *bool `locationName:"includeMemberAccounts" type:"boolean"` + // An object to specify the preferences for the Amazon EC2 instance recommendations + // to export. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` + // An object to specify the destination Amazon Simple Storage Service (Amazon // S3) bucket name and key prefix for the export job. // // You must create the destination Amazon S3 bucket for your recommendations // export before you create the export job. Compute Optimizer does not create // the S3 bucket for you. After you create the S3 bucket, ensure that it has - // the required permission policy to allow Compute Optimizer to write the export - // file to it. If you plan to specify an object prefix when you create the export - // job, you must include the object prefix in the policy that you add to the - // S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute + // the required permissions policy policy to allow Compute Optimizer to write + // the export file to it. If you plan to specify an object prefix when you create + // the export job, you must include the object prefix in the that you add to + // the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute // Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) - // in the Compute Optimizer user guide. + // in the Compute Optimizer User Guide. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` @@ -2376,6 +2592,12 @@ func (s *ExportEC2InstanceRecommendationsInput) SetIncludeMemberAccounts(v bool) return s } +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *ExportEC2InstanceRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *ExportEC2InstanceRecommendationsInput { + s.RecommendationPreferences = v + return s +} + // SetS3DestinationConfig sets the S3DestinationConfig field's value. func (s *ExportEC2InstanceRecommendationsInput) SetS3DestinationConfig(v *S3DestinationConfig) *ExportEC2InstanceRecommendationsInput { s.S3DestinationConfig = v @@ -2421,7 +2643,8 @@ func (s *ExportEC2InstanceRecommendationsOutput) SetS3Destination(v *S3Destinati type ExportLambdaFunctionRecommendationsInput struct { _ struct{} `type:"structure"` - // The IDs of the AWS accounts for which to export Lambda function recommendations. + // The IDs of the Amazon Web Services accounts for which to export Lambda function + // recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to export recommendations. @@ -2445,7 +2668,7 @@ type ExportLambdaFunctionRecommendationsInput struct { // The only export file format currently supported is Csv. FileFormat *string `locationName:"fileFormat" type:"string" enum:"FileFormat"` - // An array of objects that describe a filter to export a more specific set + // An array of objects to specify a filter that exports a more specific set // of Lambda function recommendations. Filters []*LambdaFunctionRecommendationFilter `locationName:"filters" type:"list"` @@ -2455,9 +2678,9 @@ type ExportLambdaFunctionRecommendationsInput struct { // // The member accounts must also be opted in to Compute Optimizer, and trusted // access for Compute Optimizer must be enabled in the organization account. - // For more information, see Compute Optimizer and AWS Organizations trusted - // access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) - // in the AWS Compute Optimizer User Guide. + // For more information, see Compute Optimizer and Amazon Web Services Organizations + // trusted access (https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) + // in the Compute Optimizer User Guide. // // Recommendations for member accounts of the organization are not included // in the export file if this parameter is omitted. @@ -2480,7 +2703,7 @@ type ExportLambdaFunctionRecommendationsInput struct { // job, you must include the object prefix in the policy that you add to the // S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute // Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) - // in the Compute Optimizer user guide. + // in the Compute Optimizer User Guide. // // S3DestinationConfig is a required field S3DestinationConfig *S3DestinationConfig `locationName:"s3DestinationConfig" type:"structure" required:"true"` @@ -2595,13 +2818,13 @@ type Filter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification - // (e.g., Underprovisioned). + // (for example, Underprovisioned). // // Specify RecommendationSourceType to return recommendations of a specific - // resource type (e.g., Ec2Instance). + // resource type (for example, Ec2Instance). // // Specify FindingReasonCodes to return recommendations with a specific finding - // reason code (e.g., CPUUnderprovisioned). + // reason code (for example, CPUUnderprovisioned). Name *string `locationName:"name" type:"string" enum:"FilterName"` // The value of the filter. @@ -2690,7 +2913,8 @@ func (s *Filter) SetValues(v []*string) *Filter { type GetAutoScalingGroupRecommendationsInput struct { _ struct{} `type:"structure"` - // The ID of the AWS account for which to return Auto Scaling group recommendations. + // The ID of the Amazon Web Services account for which to return Auto Scaling + // group recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return Auto Scaling group @@ -2703,7 +2927,7 @@ type GetAutoScalingGroupRecommendationsInput struct { // recommendations. AutoScalingGroupArns []*string `locationName:"autoScalingGroupArns" type:"list"` - // An array of objects that describe a filter that returns a more specific list + // An array of objects to specify a filter that returns a more specific list // of Auto Scaling group recommendations. Filters []*Filter `locationName:"filters" type:"list"` @@ -2711,11 +2935,15 @@ type GetAutoScalingGroupRecommendationsInput struct { // single request. // // To retrieve the remaining results, make another request with the returned - // NextToken value. + // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of Auto Scaling group recommendations. NextToken *string `locationName:"nextToken" type:"string"` + + // An object to specify the preferences for the Auto Scaling group recommendations + // to return in the response. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` } // String returns the string representation @@ -2758,6 +2986,12 @@ func (s *GetAutoScalingGroupRecommendationsInput) SetNextToken(v string) *GetAut return s } +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *GetAutoScalingGroupRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetAutoScalingGroupRecommendationsInput { + s.RecommendationPreferences = v + return s +} + type GetAutoScalingGroupRecommendationsOutput struct { _ struct{} `type:"structure"` @@ -2808,7 +3042,7 @@ func (s *GetAutoScalingGroupRecommendationsOutput) SetNextToken(v string) *GetAu type GetEBSVolumeRecommendationsInput struct { _ struct{} `type:"structure"` - // The ID of the AWS account for which to return volume recommendations. + // The ID of the Amazon Web Services account for which to return volume recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return volume recommendations. @@ -2816,14 +3050,14 @@ type GetEBSVolumeRecommendationsInput struct { // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` - // An array of objects that describe a filter that returns a more specific list + // An array of objects to specify a filter that returns a more specific list // of volume recommendations. Filters []*EBSFilter `locationName:"filters" type:"list"` // The maximum number of volume recommendations to return with a single request. // // To retrieve the remaining results, make another request with the returned - // NextToken value. + // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of volume recommendations. @@ -2923,7 +3157,7 @@ func (s *GetEBSVolumeRecommendationsOutput) SetVolumeRecommendations(v []*Volume type GetEC2InstanceRecommendationsInput struct { _ struct{} `type:"structure"` - // The ID of the AWS account for which to return instance recommendations. + // The ID of the Amazon Web Services account for which to return instance recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return instance recommendations. @@ -2931,7 +3165,7 @@ type GetEC2InstanceRecommendationsInput struct { // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` - // An array of objects that describe a filter that returns a more specific list + // An array of objects to specify a filter that returns a more specific list // of instance recommendations. Filters []*Filter `locationName:"filters" type:"list"` @@ -2941,11 +3175,15 @@ type GetEC2InstanceRecommendationsInput struct { // The maximum number of instance recommendations to return with a single request. // // To retrieve the remaining results, make another request with the returned - // NextToken value. + // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of instance recommendations. NextToken *string `locationName:"nextToken" type:"string"` + + // An object to specify the preferences for the Amazon EC2 instance recommendations + // to return in the response. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` } // String returns the string representation @@ -2988,6 +3226,12 @@ func (s *GetEC2InstanceRecommendationsInput) SetNextToken(v string) *GetEC2Insta return s } +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *GetEC2InstanceRecommendationsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetEC2InstanceRecommendationsInput { + s.RecommendationPreferences = v + return s +} + type GetEC2InstanceRecommendationsOutput struct { _ struct{} `type:"structure"` @@ -3038,7 +3282,7 @@ func (s *GetEC2InstanceRecommendationsOutput) SetNextToken(v string) *GetEC2Inst type GetEC2RecommendationProjectedMetricsInput struct { _ struct{} `type:"structure"` - // The time stamp of the last projected metrics data point to return. + // The timestamp of the last projected metrics data point to return. // // EndTime is a required field EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"` @@ -3054,7 +3298,11 @@ type GetEC2RecommendationProjectedMetricsInput struct { // Period is a required field Period *int64 `locationName:"period" type:"integer" required:"true"` - // The time stamp of the first projected metrics data point to return. + // An object to specify the preferences for the Amazon EC2 recommendation projected + // metrics to return in the response. + RecommendationPreferences *RecommendationPreferences `locationName:"recommendationPreferences" type:"structure"` + + // The timestamp of the first projected metrics data point to return. // // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"` @@ -3118,6 +3366,12 @@ func (s *GetEC2RecommendationProjectedMetricsInput) SetPeriod(v int64) *GetEC2Re return s } +// SetRecommendationPreferences sets the RecommendationPreferences field's value. +func (s *GetEC2RecommendationProjectedMetricsInput) SetRecommendationPreferences(v *RecommendationPreferences) *GetEC2RecommendationProjectedMetricsInput { + s.RecommendationPreferences = v + return s +} + // SetStartTime sets the StartTime field's value. func (s *GetEC2RecommendationProjectedMetricsInput) SetStartTime(v time.Time) *GetEC2RecommendationProjectedMetricsInput { s.StartTime = &v @@ -3133,7 +3387,7 @@ func (s *GetEC2RecommendationProjectedMetricsInput) SetStat(v string) *GetEC2Rec type GetEC2RecommendationProjectedMetricsOutput struct { _ struct{} `type:"structure"` - // An array of objects that describe a projected metrics. + // An array of objects that describes projected metrics. RecommendedOptionProjectedMetrics []*RecommendedOptionProjectedMetric `locationName:"recommendedOptionProjectedMetrics" type:"list"` } @@ -3170,10 +3424,18 @@ func (s GetEnrollmentStatusInput) GoString() string { type GetEnrollmentStatusOutput struct { _ struct{} `type:"structure"` - // Confirms the enrollment status of member accounts within the organization, - // if the account is a management account of an organization. + // The Unix epoch timestamp, in seconds, of when the account enrollment status + // was last updated. + LastUpdatedTimestamp *time.Time `locationName:"lastUpdatedTimestamp" type:"timestamp"` + + // Confirms the enrollment status of member accounts of the organization, if + // the account is a management account of an organization. MemberAccountsEnrolled *bool `locationName:"memberAccountsEnrolled" type:"boolean"` + // The count of organization member accounts that are opted in to the service, + // if your account is an organization management account. + NumberOfMemberAccountsOptedIn *int64 `locationName:"numberOfMemberAccountsOptedIn" type:"integer"` + // The enrollment status of the account. Status *string `locationName:"status" type:"string" enum:"Status"` @@ -3194,12 +3456,24 @@ func (s GetEnrollmentStatusOutput) GoString() string { return s.String() } +// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. +func (s *GetEnrollmentStatusOutput) SetLastUpdatedTimestamp(v time.Time) *GetEnrollmentStatusOutput { + s.LastUpdatedTimestamp = &v + return s +} + // SetMemberAccountsEnrolled sets the MemberAccountsEnrolled field's value. func (s *GetEnrollmentStatusOutput) SetMemberAccountsEnrolled(v bool) *GetEnrollmentStatusOutput { s.MemberAccountsEnrolled = &v return s } +// SetNumberOfMemberAccountsOptedIn sets the NumberOfMemberAccountsOptedIn field's value. +func (s *GetEnrollmentStatusOutput) SetNumberOfMemberAccountsOptedIn(v int64) *GetEnrollmentStatusOutput { + s.NumberOfMemberAccountsOptedIn = &v + return s +} + // SetStatus sets the Status field's value. func (s *GetEnrollmentStatusOutput) SetStatus(v string) *GetEnrollmentStatusOutput { s.Status = &v @@ -3212,10 +3486,92 @@ func (s *GetEnrollmentStatusOutput) SetStatusReason(v string) *GetEnrollmentStat return s } +type GetEnrollmentStatusesForOrganizationInput struct { + _ struct{} `type:"structure"` + + // An array of objects to specify a filter that returns a more specific list + // of account enrollment statuses. + Filters []*EnrollmentFilter `locationName:"filters" type:"list"` + + // The maximum number of account enrollment statuses to return with a single + // request. You can specify up to 100 statuses to return with each request. + // + // To retrieve the remaining results, make another request with the returned + // nextToken value. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // The token to advance to the next page of account enrollment statuses. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetEnrollmentStatusesForOrganizationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetEnrollmentStatusesForOrganizationInput) GoString() string { + return s.String() +} + +// SetFilters sets the Filters field's value. +func (s *GetEnrollmentStatusesForOrganizationInput) SetFilters(v []*EnrollmentFilter) *GetEnrollmentStatusesForOrganizationInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetEnrollmentStatusesForOrganizationInput) SetMaxResults(v int64) *GetEnrollmentStatusesForOrganizationInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetEnrollmentStatusesForOrganizationInput) SetNextToken(v string) *GetEnrollmentStatusesForOrganizationInput { + s.NextToken = &v + return s +} + +type GetEnrollmentStatusesForOrganizationOutput struct { + _ struct{} `type:"structure"` + + // An array of objects that describe the enrollment statuses of organization + // member accounts. + AccountEnrollmentStatuses []*AccountEnrollmentStatus `locationName:"accountEnrollmentStatuses" type:"list"` + + // The token to use to advance to the next page of account enrollment statuses. + // + // This value is null when there are no more pages of account enrollment statuses + // to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetEnrollmentStatusesForOrganizationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetEnrollmentStatusesForOrganizationOutput) GoString() string { + return s.String() +} + +// SetAccountEnrollmentStatuses sets the AccountEnrollmentStatuses field's value. +func (s *GetEnrollmentStatusesForOrganizationOutput) SetAccountEnrollmentStatuses(v []*AccountEnrollmentStatus) *GetEnrollmentStatusesForOrganizationOutput { + s.AccountEnrollmentStatuses = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetEnrollmentStatusesForOrganizationOutput) SetNextToken(v string) *GetEnrollmentStatusesForOrganizationOutput { + s.NextToken = &v + return s +} + type GetLambdaFunctionRecommendationsInput struct { _ struct{} `type:"structure"` - // The ID of the AWS account for which to return function recommendations. + // The ID of the Amazon Web Services account for which to return function recommendations. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return function recommendations. @@ -3223,7 +3579,7 @@ type GetLambdaFunctionRecommendationsInput struct { // Only one account ID can be specified per request. AccountIds []*string `locationName:"accountIds" type:"list"` - // An array of objects that describe a filter that returns a more specific list + // An array of objects to specify a filter that returns a more specific list // of function recommendations. Filters []*LambdaFunctionRecommendationFilter `locationName:"filters" type:"list"` @@ -3235,13 +3591,13 @@ type GetLambdaFunctionRecommendationsInput struct { // ARN with a version suffix, Compute Optimizer will return recommendations // for the specified function version. For more information about using function // versions, see Using versions (https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using) - // in the AWS Lambda Developer Guide. + // in the Lambda Developer Guide. FunctionArns []*string `locationName:"functionArns" type:"list"` // The maximum number of function recommendations to return with a single request. // // To retrieve the remaining results, make another request with the returned - // NextToken value. + // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of function recommendations. @@ -3372,7 +3728,8 @@ func (s *GetRecommendationError) SetMessage(v string) *GetRecommendationError { type GetRecommendationSummariesInput struct { _ struct{} `type:"structure"` - // The ID of the AWS account for which to return recommendation summaries. + // The ID of the Amazon Web Services account for which to return recommendation + // summaries. // // If your account is the management account of an organization, use this parameter // to specify the member account for which you want to return recommendation @@ -3384,7 +3741,7 @@ type GetRecommendationSummariesInput struct { // The maximum number of recommendation summaries to return with a single request. // // To retrieve the remaining results, make another request with the returned - // NextToken value. + // nextToken value. MaxResults *int64 `locationName:"maxResults" type:"integer"` // The token to advance to the next page of recommendation summaries. @@ -3458,7 +3815,7 @@ func (s *GetRecommendationSummariesOutput) SetRecommendationSummaries(v []*Recom type InstanceRecommendation struct { _ struct{} `type:"structure"` - // The AWS account ID of the instance. + // The Amazon Web Services account ID of the instance. AccountId *string `locationName:"accountId" type:"string"` // The instance type of the current instance. @@ -3482,7 +3839,7 @@ type InstanceRecommendation struct { // * Optimized —An instance is considered optimized when all specifications // of your instance, such as CPU, memory, and network, meet the performance // requirements of your workload and is not over provisioned. For optimized - // resources, AWS Compute Optimizer might recommend a new generation instance + // resources, Compute Optimizer might recommend a new generation instance // type. Finding *string `locationName:"finding" type:"string" enum:"Finding"` @@ -3513,7 +3870,7 @@ type InstanceRecommendation struct { // the look-back period. Memory utilization is analyzed only for resources // that have the unified CloudWatch agent installed on them. For more information, // see Enabling memory utilization with the Amazon CloudWatch Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent) - // in the AWS Compute Optimizer User Guide. On Linux instances, Compute Optimizer + // in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer // analyses the mem_used_percent metric in the CWAgent namespace, or the // legacy MemoryUtilization metric in the System/Linux namespace. On Windows // instances, Compute Optimizer analyses the Memory % Committed Bytes In @@ -3605,7 +3962,7 @@ type InstanceRecommendation struct { // The name of the current instance. InstanceName *string `locationName:"instanceName" type:"string"` - // The time stamp of when the instance recommendation was last refreshed. + // The timestamp of when the instance recommendation was last refreshed. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the instance. @@ -3745,9 +4102,9 @@ type InstanceRecommendationOption struct { // type is different than that of the current instance. For example, the // recommended instance type supports enhanced networking and the current // instance might not. To enable enhanced networking for the recommended - // instance type, you will need to install the Elastic Network Adapter (ENA) - // driver or the Intel 82599 Virtual Function driver. For more information, - // see Networking and storage features (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage) + // instance type, you must install the Elastic Network Adapter (ENA) driver + // or the Intel 82599 Virtual Function driver. For more information, see + // Networking and storage features (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage) // and Enhanced networking on Linux (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html) // in the Amazon EC2 User Guide for Linux, or Networking and storage features // (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#instance-networking-storage) @@ -3771,8 +4128,8 @@ type InstanceRecommendationOption struct { // you might need to back up the data on your instance store volumes if you // want to preserve them. For more information, see How do I back up an instance // store volume on my Amazon EC2 instance to Amazon EBS? (https://aws.amazon.com/premiumsupport/knowledge-center/back-up-instance-store-ebs/) - // in the AWS Premium Support Knowledge Base. For more information, see Networking - // and storage features (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage) + // in the Amazon Web Services Premium Support Knowledge Base. For more information, + // see Networking and storage features (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#instance-networking-storage) // and Amazon EC2 instance store (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) // in the Amazon EC2 User Guide for Linux, or see Networking and storage // features (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instance-types.html#instance-networking-storage) @@ -3787,6 +4144,15 @@ type InstanceRecommendationOption struct { // in the Amazon EC2 User Guide for Linux, or Windows AMI virtualization // types (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/windows-ami-version-history.html#virtualization-types) // in the Amazon EC2 User Guide for Windows. + // + // * Architecture — The CPU architecture between the recommended instance + // type and the current instance is different. For example, the recommended + // instance type might use an x86 CPU architecture and the current instance + // type might use a different one, such as ARM. Before migrating, you should + // consider recompiling the software on your instance for the new architecture. + // Alternatively, you might switch to an Amazon Machine Image (AMI) that + // supports the new architecture. For more information about the CPU architecture + // for each instance type, see Amazon EC2 Instance Types (http://aws.amazon.com/ec2/instance-types/). PlatformDifferences []*string `locationName:"platformDifferences" type:"list"` // An array of objects that describe the projected utilization metrics of the @@ -3900,7 +4266,7 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } -// An invalid or out-of-range value was supplied for the input parameter. +// The value supplied for the input parameter is out of range or not valid. type InvalidParameterValueException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -3967,8 +4333,8 @@ type JobFilter struct { // The name of the filter. // - // Specify ResourceType to return export jobs of a specific resource type (e.g., - // Ec2Instance). + // Specify ResourceType to return export jobs of a specific resource type (for + // example, Ec2Instance). // // Specify JobStatus to return export jobs with a specific status (e.g, Complete). Name *string `locationName:"name" type:"string" enum:"JobFilterName"` @@ -4009,7 +4375,7 @@ func (s *JobFilter) SetValues(v []*string) *JobFilter { return s } -// Describes a projected utilization metric of an AWS Lambda function recommendation +// Describes a projected utilization metric of an Lambda function recommendation // option. type LambdaFunctionMemoryProjectedMetric struct { _ struct{} `type:"structure"` @@ -4052,7 +4418,7 @@ func (s *LambdaFunctionMemoryProjectedMetric) SetValue(v float64) *LambdaFunctio return s } -// Describes a recommendation option for an AWS Lambda function. +// Describes a recommendation option for an Lambda function. type LambdaFunctionMemoryRecommendationOption struct { _ struct{} `type:"structure"` @@ -4097,11 +4463,11 @@ func (s *LambdaFunctionMemoryRecommendationOption) SetRank(v int64) *LambdaFunct return s } -// Describes an AWS Lambda function recommendation. +// Describes an Lambda function recommendation. type LambdaFunctionRecommendation struct { _ struct{} `type:"structure"` - // The AWS account ID of the function. + // The Amazon Web Services account ID of the function. AccountId *string `locationName:"accountId" type:"string"` // The amount of memory, in MB, that's allocated to the current function. @@ -4154,7 +4520,7 @@ type LambdaFunctionRecommendation struct { // * InsufficientData — The function does not have sufficient metric data // for Compute Optimizer to generate a recommendation. For more information, // see the Supported resources and requirements (https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) - // in the AWS Compute Optimizer User Guide. This finding reason code is part + // in the Compute Optimizer User Guide. This finding reason code is part // of the Unavailable finding classification. // // * Inconclusive — The function does not qualify for a recommendation @@ -4169,7 +4535,7 @@ type LambdaFunctionRecommendation struct { // The version number of the current function. FunctionVersion *string `locationName:"functionVersion" type:"string"` - // The time stamp of when the function recommendation was last refreshed. + // The timestamp of when the function recommendation was last refreshed. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the function. @@ -4179,8 +4545,7 @@ type LambdaFunctionRecommendation struct { // options for the function. MemorySizeRecommendationOptions []*LambdaFunctionMemoryRecommendationOption `locationName:"memorySizeRecommendationOptions" type:"list"` - // The number of times your function code was executed during the look-back - // period. + // The number of times your function code was applied during the look-back period. NumberOfInvocations *int64 `locationName:"numberOfInvocations" type:"long"` // An array of objects that describe the utilization metrics of the function. @@ -4263,9 +4628,8 @@ func (s *LambdaFunctionRecommendation) SetUtilizationMetrics(v []*LambdaFunction return s } -// Describes a filter that returns a more specific list of AWS Lambda function -// recommendations. Use this filter with the GetLambdaFunctionRecommendations -// action. +// Describes a filter that returns a more specific list of Lambda function recommendations. +// Use this filter with the GetLambdaFunctionRecommendations action. // // You can use EBSFilter with the GetEBSVolumeRecommendations action, JobFilter // with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations @@ -4276,10 +4640,10 @@ type LambdaFunctionRecommendationFilter struct { // The name of the filter. // // Specify Finding to return recommendations with a specific finding classification - // (e.g., NotOptimized). + // (for example, NotOptimized). // // Specify FindingReasonCode to return recommendations with a specific finding - // reason code (e.g., MemoryUnderprovisioned). + // reason code (for example, MemoryUnderprovisioned). Name *string `locationName:"name" type:"string" enum:"LambdaFunctionRecommendationFilterName"` // The value of the filter. @@ -4317,7 +4681,7 @@ func (s *LambdaFunctionRecommendationFilter) SetValues(v []*string) *LambdaFunct return s } -// Describes a utilization metric of an AWS Lambda function. +// Describes a utilization metric of an Lambda function. type LambdaFunctionUtilizationMetric struct { _ struct{} `type:"structure"` @@ -4333,15 +4697,15 @@ type LambdaFunctionUtilizationMetric struct { // The statistic of the utilization metric. // - // The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs - // return utilization metrics using only the Maximum statistic, which is the - // highest value observed during the specified period. + // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return + // utilization metrics using only the Maximum statistic, which is the highest + // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) - // in the AWS Compute Optimizer User Guide. You can also get averaged utilization + // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"LambdaFunctionMetricStatistic"` @@ -4434,8 +4798,8 @@ func (s *LimitExceededException) RequestID() string { return s.RespMetadata.RequestID } -// The request must contain either a valid (registered) AWS access key ID or -// X.509 certificate. +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. type MissingAuthenticationToken struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -4491,7 +4855,7 @@ func (s *MissingAuthenticationToken) RequestID() string { return s.RespMetadata.RequestID } -// The account is not opted in to AWS Compute Optimizer. +// The account is not opted in to Compute Optimizer. type OptInRequiredException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -4584,7 +4948,7 @@ type ProjectedMetric struct { // Agent (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent). Name *string `locationName:"name" type:"string" enum:"MetricName"` - // The time stamps of the projected utilization metric. + // The timestamps of the projected utilization metric. Timestamps []*time.Time `locationName:"timestamps" type:"list"` // The values of the projected utilization metrics. @@ -4736,6 +5100,45 @@ func (s *RecommendationExportJob) SetStatus(v string) *RecommendationExportJob { return s } +// Describes preferences for recommendations. +type RecommendationPreferences struct { + _ struct{} `type:"structure"` + + // Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto + // Scaling group recommendations. + // + // For example, when you specify AWS_ARM64 with: + // + // * A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations + // request, Compute Optimizer returns recommendations that consist of Graviton2 + // instance types only. + // + // * A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns + // projected utilization metrics for Graviton2 instance type recommendations + // only. + // + // * A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations + // request, Compute Optimizer exports recommendations that consist of Graviton2 + // instance types only. + CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list"` +} + +// String returns the string representation +func (s RecommendationPreferences) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RecommendationPreferences) GoString() string { + return s.String() +} + +// SetCpuVendorArchitectures sets the CpuVendorArchitectures field's value. +func (s *RecommendationPreferences) SetCpuVendorArchitectures(v []*string) *RecommendationPreferences { + s.CpuVendorArchitectures = v + return s +} + // Describes the source of a recommendation, such as an Amazon EC2 instance // or Auto Scaling group. type RecommendationSource struct { @@ -4774,7 +5177,7 @@ func (s *RecommendationSource) SetRecommendationSourceType(v string) *Recommenda type RecommendationSummary struct { _ struct{} `type:"structure"` - // The AWS account ID of the recommendation summary. + // The Amazon Web Services account ID of the recommendation summary. AccountId *string `locationName:"accountId" type:"string"` // The resource type of the recommendation. @@ -4981,7 +5384,7 @@ func (s *S3Destination) SetMetadataKey(v string) *S3Destination { // job, you must include the object prefix in the policy that you add to the // S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute // Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) -// in the Compute Optimizer user guide. +// in the Compute Optimizer User Guide. type S3DestinationConfig struct { _ struct{} `type:"structure"` @@ -5182,9 +5585,9 @@ type UpdateEnrollmentStatusInput struct { // // * Active - Opts in your account to the Compute Optimizer service. Compute // Optimizer begins analyzing the configuration and utilization metrics of - // your AWS resources after you opt in. For more information, see Metrics - // analyzed by AWS Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html) - // in the AWS Compute Optimizer User Guide. + // your Amazon Web Services resources after you opt in. For more information, + // see Metrics analyzed by Compute Optimizer (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html) + // in the Compute Optimizer User Guide. // // * Inactive - Opts out your account from the Compute Optimizer service. // Your account's recommendations and related metrics data will be deleted @@ -5349,15 +5752,15 @@ type UtilizationMetric struct { // The statistic of the utilization metric. // - // The Compute Optimizer API, AWS Command Line Interface (AWS CLI), and SDKs - // return utilization metrics using only the Maximum statistic, which is the - // highest value observed during the specified period. + // The Compute Optimizer API, Command Line Interface (CLI), and SDKs return + // utilization metrics using only the Maximum statistic, which is the highest + // value observed during the specified period. // // The Compute Optimizer console displays graphs for some utilization metrics // using the Average statistic, which is the value of Sum / SampleCount during // the specified period. For more information, see Viewing resource recommendations // (https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) - // in the AWS Compute Optimizer User Guide. You can also get averaged utilization + // in the Compute Optimizer User Guide. You can also get averaged utilization // metric data for your resources using Amazon CloudWatch. For more information, // see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). Statistic *string `locationName:"statistic" type:"string" enum:"MetricStatistic"` @@ -5472,7 +5875,7 @@ func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration { type VolumeRecommendation struct { _ struct{} `type:"structure"` - // The AWS account ID of the volume. + // The Amazon Web Services account ID of the volume. AccountId *string `locationName:"accountId" type:"string"` // An array of objects that describe the current configuration of the volume. @@ -5482,9 +5885,9 @@ type VolumeRecommendation struct { // // Findings for volumes include: // - // * NotOptimized —A volume is considered not optimized when AWS Compute - // Optimizer identifies a recommendation that can provide better performance - // for your workload. + // * NotOptimized —A volume is considered not optimized when Compute Optimizer + // identifies a recommendation that can provide better performance for your + // workload. // // * Optimized —An volume is considered optimized when Compute Optimizer // determines that the volume is correctly provisioned to run your workload @@ -5492,7 +5895,7 @@ type VolumeRecommendation struct { // might recommend a new generation volume type. Finding *string `locationName:"finding" type:"string" enum:"EBSFinding"` - // The time stamp of when the volume recommendation was last refreshed. + // The timestamp of when the volume recommendation was last refreshed. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` // The number of days for which utilization metrics were analyzed for the volume. @@ -5620,6 +6023,22 @@ func (s *VolumeRecommendationOption) SetRank(v int64) *VolumeRecommendationOptio return s } +const ( + // CpuVendorArchitectureAwsArm64 is a CpuVendorArchitecture enum value + CpuVendorArchitectureAwsArm64 = "AWS_ARM64" + + // CpuVendorArchitectureCurrent is a CpuVendorArchitecture enum value + CpuVendorArchitectureCurrent = "CURRENT" +) + +// CpuVendorArchitecture_Values returns all elements of the CpuVendorArchitecture enum +func CpuVendorArchitecture_Values() []string { + return []string{ + CpuVendorArchitectureAwsArm64, + CpuVendorArchitectureCurrent, + } +} + const ( // EBSFilterNameFinding is a EBSFilterName enum value EBSFilterNameFinding = "Finding" @@ -5672,6 +6091,18 @@ func EBSMetricName_Values() []string { } } +const ( + // EnrollmentFilterNameStatus is a EnrollmentFilterName enum value + EnrollmentFilterNameStatus = "Status" +) + +// EnrollmentFilterName_Values returns all elements of the EnrollmentFilterName enum +func EnrollmentFilterName_Values() []string { + return []string{ + EnrollmentFilterNameStatus, + } +} + const ( // ExportableAutoScalingGroupFieldAccountId is a ExportableAutoScalingGroupField enum value ExportableAutoScalingGroupFieldAccountId = "AccountId" @@ -6643,6 +7074,9 @@ const ( // PlatformDifferenceVirtualizationType is a PlatformDifference enum value PlatformDifferenceVirtualizationType = "VirtualizationType" + + // PlatformDifferenceArchitecture is a PlatformDifference enum value + PlatformDifferenceArchitecture = "Architecture" ) // PlatformDifference_Values returns all elements of the PlatformDifference enum @@ -6653,6 +7087,7 @@ func PlatformDifference_Values() []string { PlatformDifferenceStorageInterface, PlatformDifferenceInstanceStoreAvailability, PlatformDifferenceVirtualizationType, + PlatformDifferenceArchitecture, } } diff --git a/service/computeoptimizer/computeoptimizeriface/interface.go b/service/computeoptimizer/computeoptimizeriface/interface.go index 0ba632a6771..26e73a2f900 100644 --- a/service/computeoptimizer/computeoptimizeriface/interface.go +++ b/service/computeoptimizer/computeoptimizeriface/interface.go @@ -100,6 +100,10 @@ type ComputeOptimizerAPI interface { GetEnrollmentStatusWithContext(aws.Context, *computeoptimizer.GetEnrollmentStatusInput, ...request.Option) (*computeoptimizer.GetEnrollmentStatusOutput, error) GetEnrollmentStatusRequest(*computeoptimizer.GetEnrollmentStatusInput) (*request.Request, *computeoptimizer.GetEnrollmentStatusOutput) + GetEnrollmentStatusesForOrganization(*computeoptimizer.GetEnrollmentStatusesForOrganizationInput) (*computeoptimizer.GetEnrollmentStatusesForOrganizationOutput, error) + GetEnrollmentStatusesForOrganizationWithContext(aws.Context, *computeoptimizer.GetEnrollmentStatusesForOrganizationInput, ...request.Option) (*computeoptimizer.GetEnrollmentStatusesForOrganizationOutput, error) + GetEnrollmentStatusesForOrganizationRequest(*computeoptimizer.GetEnrollmentStatusesForOrganizationInput) (*request.Request, *computeoptimizer.GetEnrollmentStatusesForOrganizationOutput) + GetLambdaFunctionRecommendations(*computeoptimizer.GetLambdaFunctionRecommendationsInput) (*computeoptimizer.GetLambdaFunctionRecommendationsOutput, error) GetLambdaFunctionRecommendationsWithContext(aws.Context, *computeoptimizer.GetLambdaFunctionRecommendationsInput, ...request.Option) (*computeoptimizer.GetLambdaFunctionRecommendationsOutput, error) GetLambdaFunctionRecommendationsRequest(*computeoptimizer.GetLambdaFunctionRecommendationsInput) (*request.Request, *computeoptimizer.GetLambdaFunctionRecommendationsOutput) diff --git a/service/computeoptimizer/doc.go b/service/computeoptimizer/doc.go index 7012269591f..9134d411903 100644 --- a/service/computeoptimizer/doc.go +++ b/service/computeoptimizer/doc.go @@ -3,18 +3,19 @@ // Package computeoptimizer provides the client and types for making API // requests to AWS Compute Optimizer. // -// AWS Compute Optimizer is a service that analyzes the configuration and utilization -// metrics of your AWS compute resources, such as EC2 instances, Auto Scaling -// groups, AWS Lambda functions, and Amazon EBS volumes. It reports whether -// your resources are optimal, and generates optimization recommendations to -// reduce the cost and improve the performance of your workloads. Compute Optimizer -// also provides recent utilization metric data, as well as projected utilization -// metric data for the recommendations, which you can use to evaluate which -// recommendation provides the best price-performance trade-off. The analysis -// of your usage patterns can help you decide when to move or resize your running -// resources, and still meet your performance and capacity requirements. For -// more information about Compute Optimizer, including the required permissions -// to use the service, see the AWS Compute Optimizer User Guide (https://docs.aws.amazon.com/compute-optimizer/latest/ug/). +// Compute Optimizer is a service that analyzes the configuration and utilization +// metrics of your Amazon Web Services compute resources, such as Amazon EC2 +// instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS +// volumes. It reports whether your resources are optimal, and generates optimization +// recommendations to reduce the cost and improve the performance of your workloads. +// Compute Optimizer also provides recent utilization metric data, in addition +// to projected utilization metric data for the recommendations, which you can +// use to evaluate which recommendation provides the best price-performance +// trade-off. The analysis of your usage patterns can help you decide when to +// move or resize your running resources, and still meet your performance and +// capacity requirements. For more information about Compute Optimizer, including +// the required permissions to use the service, see the Compute Optimizer User +// Guide (https://docs.aws.amazon.com/compute-optimizer/latest/ug/). // // See https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01 for more information on this service. // diff --git a/service/computeoptimizer/errors.go b/service/computeoptimizer/errors.go index 149e240bf1b..3975d2073be 100644 --- a/service/computeoptimizer/errors.go +++ b/service/computeoptimizer/errors.go @@ -23,7 +23,7 @@ const ( // ErrCodeInvalidParameterValueException for service response error code // "InvalidParameterValueException". // - // An invalid or out-of-range value was supplied for the input parameter. + // The value supplied for the input parameter is out of range or not valid. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeLimitExceededException for service response error code @@ -35,14 +35,14 @@ const ( // ErrCodeMissingAuthenticationToken for service response error code // "MissingAuthenticationToken". // - // The request must contain either a valid (registered) AWS access key ID or - // X.509 certificate. + // The request must contain either a valid (registered) Amazon Web Services + // access key ID or X.509 certificate. ErrCodeMissingAuthenticationToken = "MissingAuthenticationToken" // ErrCodeOptInRequiredException for service response error code // "OptInRequiredException". // - // The account is not opted in to AWS Compute Optimizer. + // The account is not opted in to Compute Optimizer. ErrCodeOptInRequiredException = "OptInRequiredException" // ErrCodeResourceNotFoundException for service response error code diff --git a/service/ec2/api.go b/service/ec2/api.go index 609ff864894..a67d8b9fa85 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -7748,8 +7748,8 @@ func (c *EC2) CreateTransitGatewayConnectRequest(input *CreateTransitGatewayConn // A Connect attachment is a GRE-based tunnel attachment that you can use to // establish a connection between a transit gateway and an appliance. // -// A Connect attachment uses an existing VPC or AWS Direct Connect attachment -// as the underlying transport mechanism. +// A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect +// attachment as the underlying transport mechanism. // // 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 @@ -7985,7 +7985,7 @@ func (c *EC2) CreateTransitGatewayPeeringAttachmentRequest(input *CreateTransitG // Requests a transit gateway peering attachment between the specified transit // gateway (requester) and a peer transit gateway (accepter). The transit gateways // must be in different Regions. The peer transit gateway can be in your account -// or a different AWS account. +// or a different Amazon Web Services account. // // After you create the peering attachment, the owner of the accepter transit // gateway must accept the attachment request. @@ -58082,7 +58082,7 @@ type CreateTransitGatewayConnectInput struct { TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` // The ID of the transit gateway attachment. You can specify a VPC attachment - // or a AWS Direct Connect attachment. + // or Amazon Web Services Direct Connect attachment. // // TransportTransitGatewayAttachmentId is a required field TransportTransitGatewayAttachmentId *string `type:"string" required:"true"` @@ -58562,7 +58562,7 @@ type CreateTransitGatewayPeeringAttachmentInput struct { // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` - // The AWS account ID of the owner of the peer transit gateway. + // The ID of the Amazon Web Services account that owns the peer transit gateway. // // PeerAccountId is a required field PeerAccountId *string `type:"string" required:"true"` @@ -77963,7 +77963,8 @@ type DescribeTransitGatewayAttachmentsInput struct { // // * resource-id - The ID of the resource. // - // * resource-owner-id - The ID of the AWS account that owns the resource. + // * resource-owner-id - The ID of the Amazon Web Services account that owns + // the resource. // // * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway // | peering | connect. @@ -77976,8 +77977,8 @@ type DescribeTransitGatewayAttachmentsInput struct { // // * transit-gateway-id - The ID of the transit gateway. // - // * transit-gateway-owner-id - The ID of the AWS account that owns the transit - // gateway. + // * transit-gateway-owner-id - The ID of the Amazon Web Services account + // that owns the transit gateway. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the @@ -78445,10 +78446,10 @@ type DescribeTransitGatewayPeeringAttachmentsInput struct { // // * transit-gateway-attachment-id - The ID of the transit gateway attachment. // - // * local-owner-id - The ID of your AWS account. + // * local-owner-id - The ID of your Amazon Web Services account. // - // * remote-owner-id - The ID of the AWS account in the remote Region that - // owns the transit gateway. + // * remote-owner-id - The ID of the Amazon Web Services account in the remote + // Region that owns the transit gateway. // // * state - The state of the peering attachment. Valid values are available // | deleted | deleting | failed | failing | initiatingRequest | modifying @@ -78843,7 +78844,8 @@ type DescribeTransitGatewaysInput struct { // * options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol // support is enabled (enable | disable). // - // * owner-id - The ID of the AWS account that owns the transit gateway. + // * owner-id - The ID of the Amazon Web Services account that owns the transit + // gateway. // // * state - The state of the transit gateway (available | deleted | deleting // | modifying | pending). @@ -83079,7 +83081,7 @@ func (s *DisassociateTransitGatewayRouteTableOutput) SetAssociation(v *TransitGa type DisassociateTrunkInterfaceInput struct { _ struct{} `type:"structure"` - // The ID ofthe association + // The ID of the association // // AssociationId is a required field AssociationId *string `type:"string" required:"true"` @@ -102750,6 +102752,11 @@ type ModifyManagedPrefixListInput struct { // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` + // The maximum number of entries for the prefix list. You cannot modify the + // entries of a prefix list and modify the size of a prefix list at the same + // time. + MaxEntries *int64 `type:"integer"` + // The ID of the prefix list. // // PrefixListId is a required field @@ -102823,6 +102830,12 @@ func (s *ModifyManagedPrefixListInput) SetDryRun(v bool) *ModifyManagedPrefixLis return s } +// SetMaxEntries sets the MaxEntries field's value. +func (s *ModifyManagedPrefixListInput) SetMaxEntries(v int64) *ModifyManagedPrefixListInput { + s.MaxEntries = &v + return s +} + // SetPrefixListId sets the PrefixListId field's value. func (s *ModifyManagedPrefixListInput) SetPrefixListId(v string) *ModifyManagedPrefixListInput { s.PrefixListId = &v @@ -104199,8 +104212,6 @@ type ModifyTransitGatewayVpcAttachmentInput struct { DryRun *bool `type:"boolean"` // The new VPC attachment options. - // - // You cannot modify the IPv6 options. Options *ModifyTransitGatewayVpcAttachmentRequestOptions `type:"structure"` // The IDs of one or more subnets to remove. @@ -108124,7 +108135,7 @@ func (s *PeeringConnectionOptionsRequest) SetAllowEgressFromLocalVpcToRemoteClas type PeeringTgwInfo struct { _ struct{} `type:"structure"` - // The AWS account ID of the owner of the transit gateway. + // The ID of the Amazon Web Services account that owns the transit gateway. OwnerId *string `locationName:"ownerId" type:"string"` // The Region of the transit gateway. @@ -117743,9 +117754,6 @@ type SearchTransitGatewayMulticastGroupsInput struct { // // * source-type - The source type. Valid values are igmp | static. // - // * state - The state of the subnet association. Valid values are associated - // | associated | disassociated | disassociating. - // // * subnet-id - The ID of the subnet. // // * transit-gateway-attachment-id - The id of the transit gateway attachment. @@ -123354,7 +123362,7 @@ type TransitGateway struct { // The transit gateway options. Options *TransitGatewayOptions `locationName:"options" type:"structure"` - // The ID of the AWS account ID that owns the transit gateway. + // The ID of the Amazon Web Services account that owns the transit gateway. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the transit gateway. @@ -123502,7 +123510,7 @@ type TransitGatewayAttachment struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The ID of the AWS account that owns the resource. + // The ID of the Amazon Web Services account that owns the resource. ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` // The resource type. Note that the tgw-peering resource type has been deprecated. @@ -123520,7 +123528,7 @@ type TransitGatewayAttachment struct { // The ID of the transit gateway. TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` - // The ID of the AWS account that owns the transit gateway. + // The ID of the Amazon Web Services account that owns the transit gateway. TransitGatewayOwnerId *string `locationName:"transitGatewayOwnerId" type:"string"` } @@ -124069,7 +124077,8 @@ type TransitGatewayMulticastDomain struct { // The options for the transit gateway multicast domain. Options *TransitGatewayMulticastDomainOptions `locationName:"options" type:"structure"` - // The ID of the AWS account that owns the transit gateway multiicast domain. + // The ID of the Amazon Web Services account that owns the transit gateway multicast + // domain. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the transit gateway multicast domain. @@ -124153,8 +124162,8 @@ type TransitGatewayMulticastDomainAssociation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The ID of the AWS account that owns the transit gateway multicast domain - // association resource. + // The ID of the Amazon Web Services account that owns the transit gateway multicast + // domain association resource. ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` // The type of resource, for example a VPC attachment. @@ -124214,7 +124223,7 @@ type TransitGatewayMulticastDomainAssociations struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The ID of the AWS account that owns the resource. + // The ID of the Amazon Web Services account that owns the resource. ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` // The type of resource, for example a VPC attachment. @@ -124343,8 +124352,8 @@ type TransitGatewayMulticastGroup struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The ID of the AWS account that owns the transit gateway multicast domain - // group resource. + // The ID of the Amazon Web Services account that owns the transit gateway multicast + // domain group resource. ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` // The type of resource, for example a VPC attachment. @@ -125287,7 +125296,7 @@ type TransitGatewayVpcAttachment struct { // The ID of the VPC. VpcId *string `locationName:"vpcId" type:"string"` - // The ID of the AWS account that owns the VPC. + // The ID of the Amazon Web Services account that owns the VPC. VpcOwnerId *string `locationName:"vpcOwnerId" type:"string"` } @@ -125418,7 +125427,7 @@ type TrunkInterfaceAssociation struct { // The interface protocol. Valid values are VLAN and GRE. InterfaceProtocol *string `locationName:"interfaceProtocol" type:"string" enum:"InterfaceProtocolType"` - // The tags for the trunk interface associaton. + // The tags for the trunk interface association. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` // The ID of the trunk network interface. diff --git a/service/rekognition/api.go b/service/rekognition/api.go index 483ef13dd13..9c08293e1ae 100644 --- a/service/rekognition/api.go +++ b/service/rekognition/api.go @@ -1711,16 +1711,20 @@ func (c *Rekognition) DetectCustomLabelsRequest(input *DetectCustomLabelsInput) // the object (Confidence), and object location information, if it exists, for // the label on the image (Geometry). // -// During training model calculates a threshold value that determines if a prediction -// for a label is true. By default, DetectCustomLabels doesn't return labels -// whose confidence value is below the model's calculated threshold value. To -// filter labels that are returned, specify a value for MinConfidence that is -// higher than the model's calculated threshold. You can get the model's calculated -// threshold from the model's training results shown in the Amazon Rekognition -// Custom Labels console. To get all labels, regardless of confidence, specify -// a MinConfidence value of 0. -// -// You can also add the MaxResults parameter to limit the number of labels returned. +// To filter labels that are returned, specify a value for MinConfidence. DetectCustomLabelsLabels +// only returns labels with a confidence that's higher than the specified value. +// The value of MinConfidence maps to the assumed threshold values created during +// training. For more information, see Assumed threshold in the Amazon Rekognition +// Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses +// an assumed threshold as a floating point value between 0-1. The range of +// MinConfidence normalizes the threshold value to a percentage value (0-100). +// Confidence responses from DetectCustomLabels are also returned as a percentage. +// You can use MinConfidence to change the precision and recall or your model. +// For more information, see Analyzing an image in the Amazon Rekognition Custom +// Labels Developer Guide. +// +// If you don't specify a value for MinConfidence, DetectCustomLabels returns +// labels based on the assumed threshold of each label. // // This is a stateless API operation. That is, the operation does not persist // any data. @@ -1728,6 +1732,9 @@ func (c *Rekognition) DetectCustomLabelsRequest(input *DetectCustomLabelsInput) // This operation requires permissions to perform the rekognition:DetectCustomLabels // action. // +// For more information, see Analyzing an image in the Amazon Rekognition Custom +// Labels Developer Guide. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -2526,8 +2533,8 @@ func (c *Rekognition) GetCelebrityInfoRequest(input *GetCelebrityInfoInput) (req // GetCelebrityInfo API operation for Amazon Rekognition. // -// Gets the name and additional information about a celebrity based on his or -// her Amazon Rekognition ID. The additional information is returned as an array +// Gets the name and additional information about a celebrity based on their +// Amazon Rekognition ID. The additional information is returned as an array // of URLs. If there is no additional information about the celebrity, this // list is empty. // @@ -7209,6 +7216,9 @@ type Celebrity struct { // A unique identifier for the celebrity. Id *string `type:"string"` + // The known gender identity for the celebrity that matches the provided ID. + KnownGender *KnownGender `type:"structure"` + // The confidence, in percentage, that Amazon Rekognition has that the recognized // face is the celebrity. MatchConfidence *float64 `type:"float"` @@ -7243,6 +7253,12 @@ func (s *Celebrity) SetId(v string) *Celebrity { return s } +// SetKnownGender sets the KnownGender field's value. +func (s *Celebrity) SetKnownGender(v *KnownGender) *Celebrity { + s.KnownGender = v + return s +} + // SetMatchConfidence sets the MatchConfidence field's value. func (s *Celebrity) SetMatchConfidence(v float64) *Celebrity { s.MatchConfidence = &v @@ -7606,6 +7622,11 @@ type ComparedFace struct { // Level of confidence that what the bounding box contains is a face. Confidence *float64 `type:"float"` + // The emotions that appear to be expressed on the face, and the confidence + // level in the determination. Valid values include "Happy", "Sad", "Angry", + // "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear". + Emotions []*Emotion `type:"list"` + // An array of facial landmarks. Landmarks []*Landmark `type:"list"` @@ -7614,6 +7635,10 @@ type ComparedFace struct { // Identifies face image brightness and sharpness. Quality *ImageQuality `type:"structure"` + + // Indicates whether or not the face is smiling, and the confidence level in + // the determination. + Smile *Smile `type:"structure"` } // String returns the string representation @@ -7638,6 +7663,12 @@ func (s *ComparedFace) SetConfidence(v float64) *ComparedFace { return s } +// SetEmotions sets the Emotions field's value. +func (s *ComparedFace) SetEmotions(v []*Emotion) *ComparedFace { + s.Emotions = v + return s +} + // SetLandmarks sets the Landmarks field's value. func (s *ComparedFace) SetLandmarks(v []*Landmark) *ComparedFace { s.Landmarks = v @@ -7656,6 +7687,12 @@ func (s *ComparedFace) SetQuality(v *ImageQuality) *ComparedFace { return s } +// SetSmile sets the Smile field's value. +func (s *ComparedFace) SetSmile(v *Smile) *ComparedFace { + s.Smile = v + return s +} + // Type that describes the face Amazon Rekognition chose to compare with the // faces in the target. This contains a bounding box for the selected face and // confidence level that the bounding box contains a face. Note that Amazon @@ -9103,10 +9140,12 @@ type DetectCustomLabelsInput struct { // from highest confidence to lowest. MaxResults *int64 `type:"integer"` - // Specifies the minimum confidence level for the labels to return. Amazon Rekognition - // doesn't return any labels with a confidence lower than this specified value. - // If you specify a value of 0, all labels are return, regardless of the default - // thresholds that the model version applies. + // Specifies the minimum confidence level for the labels to return. DetectCustomLabels + // doesn't return any labels with a confidence value that's lower than this + // specified value. If you specify a value of 0, DetectCustomLabels returns + // all labels, regardless of the assumed threshold applied to each label. If + // you don't specify a value for MinConfidence, DetectCustomLabels returns labels + // based on the assumed threshold of each label. MinConfidence *float64 `type:"float"` // The ARN of the model version that you want to use. @@ -10551,6 +10590,9 @@ func (s *GetCelebrityInfoInput) SetId(v string) *GetCelebrityInfoInput { type GetCelebrityInfoOutput struct { _ struct{} `type:"structure"` + // Retrieves the known gender for the celebrity. + KnownGender *KnownGender `type:"structure"` + // The name of the celebrity. Name *string `type:"string"` @@ -10568,6 +10610,12 @@ func (s GetCelebrityInfoOutput) GoString() string { return s.String() } +// SetKnownGender sets the KnownGender field's value. +func (s *GetCelebrityInfoOutput) SetKnownGender(v *KnownGender) *GetCelebrityInfoOutput { + s.KnownGender = v + return s +} + // SetName sets the Name field's value. func (s *GetCelebrityInfoOutput) SetName(v string) *GetCelebrityInfoOutput { s.Name = &v @@ -12806,6 +12854,30 @@ func (s *KinesisVideoStream) SetArn(v string) *KinesisVideoStream { return s } +// The known gender identity for the celebrity that matches the provided ID. +type KnownGender struct { + _ struct{} `type:"structure"` + + // A string value of the KnownGender info about the Celebrity. + Type *string `type:"string" enum:"KnownGenderType"` +} + +// String returns the string representation +func (s KnownGender) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KnownGender) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *KnownGender) SetType(v string) *KnownGender { + s.Type = &v + return s +} + // Structure containing details about the detected label, including the name, // detected instances, parent labels, and level of confidence. type Label struct { @@ -14314,9 +14386,16 @@ type RecognizeCelebritiesOutput struct { _ struct{} `type:"structure"` // Details about each celebrity found in the image. Amazon Rekognition can detect - // a maximum of 64 celebrities in an image. + // a maximum of 64 celebrities in an image. Each celebrity object includes the + // following attributes: Face, Confidence, Emotions, Landmarks, Pose, Quality, + // Smile, Id, KnownGender, MatchConfidence, Name, Urls. CelebrityFaces []*Celebrity `type:"list"` + // + // Support for estimating image orientation using the the OrientationCorrection + // field has ceased as of August 2021. Any returned values for this field included + // in an API response will always be NULL. + // // The orientation of the input image (counterclockwise direction). If your // application displays the image, you can use this value to correct the orientation. // The bounding box coordinates returned in CelebrityFaces and UnrecognizedFaces @@ -17941,6 +18020,23 @@ func GenderType_Values() []string { } } +// A list of enum string of possible gender values that Celebrity returns. +const ( + // KnownGenderTypeMale is a KnownGenderType enum value + KnownGenderTypeMale = "Male" + + // KnownGenderTypeFemale is a KnownGenderType enum value + KnownGenderTypeFemale = "Female" +) + +// KnownGenderType_Values returns all elements of the KnownGenderType enum +func KnownGenderType_Values() []string { + return []string{ + KnownGenderTypeMale, + KnownGenderTypeFemale, + } +} + const ( // LabelDetectionSortByName is a LabelDetectionSortBy enum value LabelDetectionSortByName = "NAME" diff --git a/service/transcribeservice/api.go b/service/transcribeservice/api.go index f17defd2dab..8ed240cc475 100644 --- a/service/transcribeservice/api.go +++ b/service/transcribeservice/api.go @@ -7812,7 +7812,7 @@ type ListTranscriptionJobsInput struct { // If you do not specify a value, the default of 5 is used. MaxResults *int64 `min:"1" type:"integer"` - // If the result of the previous request to ListTranscriptionJobs was truncated, + // If the result of the previous request to ListTranscriptionJobs is truncated, // include the NextToken to fetch the next set of jobs. NextToken *string `type:"string"` @@ -10315,7 +10315,7 @@ func (s *TranscriptFilter) SetTranscriptFilterType(v string) *TranscriptFilter { type TranscriptionJob struct { _ struct{} `type:"structure"` - // A timestamp that shows when the job was completed. + // A timestamp that shows when the job completed. CompletionTime *time.Time `type:"timestamp"` // An object that describes content redaction settings for the transcription @@ -11511,6 +11511,18 @@ const ( // LanguageCodeZhCn is a LanguageCode enum value LanguageCodeZhCn = "zh-CN" + + // LanguageCodeZhTw is a LanguageCode enum value + LanguageCodeZhTw = "zh-TW" + + // LanguageCodeThTh is a LanguageCode enum value + LanguageCodeThTh = "th-TH" + + // LanguageCodeEnZa is a LanguageCode enum value + LanguageCodeEnZa = "en-ZA" + + // LanguageCodeEnNz is a LanguageCode enum value + LanguageCodeEnNz = "en-NZ" ) // LanguageCode_Values returns all elements of the LanguageCode enum @@ -11552,6 +11564,10 @@ func LanguageCode_Values() []string { LanguageCodeTeIn, LanguageCodeTrTr, LanguageCodeZhCn, + LanguageCodeZhTw, + LanguageCodeThTh, + LanguageCodeEnZa, + LanguageCodeEnNz, } }