From 8c8a1097b522e3935e32938322626bd459a3a26b Mon Sep 17 00:00:00 2001 From: AWS SDK for Ruby Date: Tue, 15 Aug 2023 18:08:10 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/chime-sdk-meetings/2021-07-15/api-2.json | 29 +- .../2021-07-15/endpoint-rule-set-1.json | 344 +++++----- apis/ec2/2016-11-15/docs-2.json | 16 +- apis/glue/2017-03-31/api-2.json | 17 +- apis/glue/2017-03-31/docs-2.json | 8 + apis/pi/2018-02-27/api-2.json | 427 ++++++++++++- apis/pi/2018-02-27/docs-2.json | 304 ++++++++- apis/pi/2018-02-27/endpoint-rule-set-1.json | 344 +++++----- apis/pi/2018-02-27/endpoint-tests-1.json | 50 ++ apis/pi/2018-02-27/paginators-1.json | 5 + apis/route53domains/2014-05-15/api-2.json | 38 +- apis/route53domains/2014-05-15/docs-2.json | 25 +- .../2014-05-15/endpoint-rule-set-1.json | 344 +++++----- apis/sagemaker/2017-07-24/api-2.json | 12 +- apis/sagemaker/2017-07-24/docs-2.json | 16 +- gems/aws-partitions/CHANGELOG.md | 5 + gems/aws-partitions/VERSION | 2 +- gems/aws-partitions/partitions.json | 85 ++- gems/aws-sdk-chimesdkmeetings/CHANGELOG.md | 5 + gems/aws-sdk-chimesdkmeetings/VERSION | 2 +- .../lib/aws-sdk-chimesdkmeetings.rb | 2 +- .../lib/aws-sdk-chimesdkmeetings/client.rb | 2 +- .../aws-sdk-chimesdkmeetings/client_api.rb | 25 + gems/aws-sdk-ec2/CHANGELOG.md | 5 + gems/aws-sdk-ec2/VERSION | 2 +- gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb | 2 +- gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb | 168 ++++- .../lib/aws-sdk-ec2/placement_group.rb | 101 ++- gems/aws-sdk-ec2/lib/aws-sdk-ec2/resource.rb | 101 ++- gems/aws-sdk-ec2/lib/aws-sdk-ec2/subnet.rb | 101 ++- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb | 137 +++- gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc.rb | 101 ++- gems/aws-sdk-glue/CHANGELOG.md | 5 + gems/aws-sdk-glue/VERSION | 2 +- gems/aws-sdk-glue/lib/aws-sdk-glue.rb | 2 +- gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb | 6 +- .../lib/aws-sdk-glue/client_api.rb | 4 + gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb | 30 +- gems/aws-sdk-pi/CHANGELOG.md | 5 + gems/aws-sdk-pi/VERSION | 2 +- gems/aws-sdk-pi/lib/aws-sdk-pi.rb | 4 +- gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb | 392 +++++++++++- gems/aws-sdk-pi/lib/aws-sdk-pi/client_api.rb | 255 +++++++- gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb | 98 +++ .../lib/aws-sdk-pi/plugins/endpoints.rb | 14 + gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb | 585 ++++++++++++++++++ .../aws-sdk-pi/spec/endpoint_provider_spec.rb | 65 ++ gems/aws-sdk-route53domains/CHANGELOG.md | 5 + gems/aws-sdk-route53domains/VERSION | 2 +- .../lib/aws-sdk-route53domains.rb | 2 +- .../lib/aws-sdk-route53domains/client.rb | 6 +- .../lib/aws-sdk-route53domains/client_api.rb | 9 +- .../lib/aws-sdk-route53domains/errors.rb | 5 + .../lib/aws-sdk-route53domains/types.rb | 24 +- gems/aws-sdk-sagemaker/CHANGELOG.md | 5 + gems/aws-sdk-sagemaker/VERSION | 2 +- .../lib/aws-sdk-sagemaker.rb | 2 +- .../lib/aws-sdk-sagemaker/client.rb | 44 +- .../lib/aws-sdk-sagemaker/client_api.rb | 5 + .../lib/aws-sdk-sagemaker/types.rb | 11 +- 60 files changed, 3637 insertions(+), 779 deletions(-) diff --git a/apis/chime-sdk-meetings/2021-07-15/api-2.json b/apis/chime-sdk-meetings/2021-07-15/api-2.json index e003ea2c8e5..0486b1a5bd5 100644 --- a/apis/chime-sdk-meetings/2021-07-15/api-2.json +++ b/apis/chime-sdk-meetings/2021-07-15/api-2.json @@ -45,7 +45,9 @@ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ForbiddenException"}, - {"shape":"ServiceUnavailableException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"}, + {"shape":"ThrottlingException"} ] }, "CreateAttendee":{ @@ -78,6 +80,7 @@ "output":{"shape":"CreateMeetingResponse"}, "errors":[ {"shape":"BadRequestException"}, + {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, @@ -96,6 +99,7 @@ "output":{"shape":"CreateMeetingWithAttendeesResponse"}, "errors":[ {"shape":"BadRequestException"}, + {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, @@ -205,6 +209,13 @@ "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ForbiddenException"}, + {"shape":"UnauthorizedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"}, + {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ] }, @@ -258,6 +269,12 @@ "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"BadRequestException"}, + {"shape":"ForbiddenException"}, + {"shape":"UnauthorizedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"}, + {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"TooManyTagsException"} ] @@ -273,6 +290,12 @@ "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"BadRequestException"}, + {"shape":"ForbiddenException"}, + {"shape":"UnauthorizedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"}, + {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ] }, @@ -290,7 +313,9 @@ {"shape":"UnauthorizedException"}, {"shape":"NotFoundException"}, {"shape":"ForbiddenException"}, - {"shape":"ServiceUnavailableException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"}, + {"shape":"ThrottlingException"} ] } }, diff --git a/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json b/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json index ba8bb30e19c..b1a80964628 100644 --- a/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json +++ b/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,224 +140,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/apis/ec2/2016-11-15/docs-2.json b/apis/ec2/2016-11-15/docs-2.json index 4542d7f9702..a2740897db5 100644 --- a/apis/ec2/2016-11-15/docs-2.json +++ b/apis/ec2/2016-11-15/docs-2.json @@ -108,7 +108,7 @@ "CreateSpotDatafeedSubscription": "

Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per Amazon Web Services account. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.

", "CreateStoreImageTask": "

Stores an AMI as a single object in an Amazon S3 bucket.

To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide.

For more information, see Store and restore an AMI using Amazon S3 in the Amazon EC2 User Guide.

", "CreateSubnet": "

Creates a subnet in the specified VPC. For an IPv4 only subnet, specify an IPv4 CIDR block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block.

A subnet CIDR block must not overlap the CIDR block of an existing subnet in the VPC. After you create a subnet, you can't change its CIDR block.

The allowed size for an IPv4 subnet is between a /28 netmask (16 IP addresses) and a /16 netmask (65,536 IP addresses). Amazon Web Services reserves both the first four and the last IPv4 address in each subnet's CIDR block. They're not available for your use.

If you've associated an IPv6 CIDR block with your VPC, you can associate an IPv6 CIDR block with a subnet when you create it. The allowed block size for an IPv6 subnet is a /64 netmask.

If you add more than one subnet to a VPC, they're set up in a star topology with a logical router in the middle.

When you stop an instance in a subnet, it retains its private IPv4 address. It's therefore possible to have a subnet with no running instances (they're all stopped), but no remaining IP addresses available.

For more information, see Subnets in the Amazon VPC User Guide.

", - "CreateSubnetCidrReservation": "

Creates a subnet CIDR reservation. For information about subnet CIDR reservations, see Subnet CIDR reservations in the Amazon Virtual Private Cloud User Guide.

", + "CreateSubnetCidrReservation": "

Creates a subnet CIDR reservation. For more information, see Subnet CIDR reservations in the Amazon Virtual Private Cloud User Guide and Assign prefixes to network interfaces in the Amazon Elastic Compute Cloud User Guide.

", "CreateTags": "

Adds or overwrites only the specified tags for the specified Amazon EC2 resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.

For more information about tags, see Tag your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide. For more information about creating IAM policies that control users' access to resources based on tags, see Supported resource-level permissions for Amazon EC2 API actions in the Amazon Elastic Compute Cloud User Guide.

", "CreateTrafficMirrorFilter": "

Creates a Traffic Mirror filter.

A Traffic Mirror filter is a set of rules that defines the traffic to mirror.

By default, no traffic is mirrored. To mirror traffic, use CreateTrafficMirrorFilterRule to add Traffic Mirror rules to the filter. The rules you add define what traffic gets mirrored. You can also use ModifyTrafficMirrorFilterNetworkServices to mirror supported network services.

", "CreateTrafficMirrorFilterRule": "

Creates a Traffic Mirror filter rule.

A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

You need the Traffic Mirror filter ID when you create the rule.

", @@ -158,7 +158,7 @@ "DeleteIpamScope": "

Delete the scope for an IPAM. You cannot delete the default scopes.

For more information, see Delete a scope in the Amazon VPC IPAM User Guide.

", "DeleteKeyPair": "

Deletes the specified key pair, by removing the public key from Amazon EC2.

", "DeleteLaunchTemplate": "

Deletes a launch template. Deleting a launch template deletes all of its versions.

", - "DeleteLaunchTemplateVersions": "

Deletes one or more versions of a launch template. You cannot delete the default version of a launch template; you must first assign a different version as the default. If the default version is the only version for the launch template, you must delete the entire launch template using DeleteLaunchTemplate.

", + "DeleteLaunchTemplateVersions": "

Deletes one or more versions of a launch template.

You can't delete the default version of a launch template; you must first assign a different version as the default. If the default version is the only version for the launch template, you must delete the entire launch template using DeleteLaunchTemplate.

You can delete up to 200 launch template versions in a single request. To delete more than 200 versions in a single request, use DeleteLaunchTemplate, which deletes the launch template and all of its versions.

For more information, see Delete a launch template version in the EC2 User Guide.

", "DeleteLocalGatewayRoute": "

Deletes the specified route from the specified local gateway route table.

", "DeleteLocalGatewayRouteTable": "

Deletes a local gateway route table.

", "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation": "

Deletes a local gateway route table virtual interface group association.

", @@ -9065,7 +9065,7 @@ "DescribeInstanceStatusRequest$Filters": "

The filters.

", "DescribeInstanceTypeOfferingsRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", "DescribeInstanceTypesRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", - "DescribeInstancesRequest$Filters": "

The filters.

", + "DescribeInstancesRequest$Filters": "

The filters.

", "DescribeInternetGatewaysRequest$Filters": "

The filters.

", "DescribeIpamPoolsRequest$Filters": "

One or more filters for the request. For more information about filtering, see Filtering CLI output.

", "DescribeIpamResourceDiscoveriesRequest$Filters": "

The resource discovery filters.

", @@ -11606,7 +11606,7 @@ "CreateReservedInstancesListingRequest$InstanceCount": "

The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.

", "CreateTrafficMirrorFilterRuleRequest$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.

", "CreateTrafficMirrorFilterRuleRequest$Protocol": "

The protocol, for example UDP, to assign to the Traffic Mirror rule.

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

", - "CreateTrafficMirrorSessionRequest$PacketLength": "

The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target.

If you do not want to mirror the entire packet, use the PacketLength parameter to specify the number of bytes in each packet to mirror.

", + "CreateTrafficMirrorSessionRequest$PacketLength": "

The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target.

If you do not want to mirror the entire packet, use the PacketLength parameter to specify the number of bytes in each packet to mirror.

For sessions with Network Load Balancer (NLB) Traffic Mirror targets the default PacketLength will be set to 8500. Valid values are 1-8500. Setting a PacketLength greater than 8500 will result in an error response.

", "CreateTrafficMirrorSessionRequest$SessionNumber": "

The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

Valid values are 1-32766.

", "CreateTrafficMirrorSessionRequest$VirtualNetworkId": "

The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a VirtualNetworkId, an account-wide unique id is chosen at random.

", "CreateVolumeRequest$Iops": "

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

The following are the supported values for each volume type:

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

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

", @@ -11749,7 +11749,7 @@ "ModifySubnetAttributeRequest$EnableLniAtDeviceIndex": "

Indicates the device position for local network interfaces in this subnet. For example, 1 indicates local network interfaces in this subnet are the secondary network interface (eth1). A local network interface cannot be the primary network interface (eth0).

", "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.

", "ModifyTrafficMirrorFilterRuleRequest$Protocol": "

The protocol, for example TCP, to assign to the Traffic Mirror rule.

", - "ModifyTrafficMirrorSessionRequest$PacketLength": "

The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.

", + "ModifyTrafficMirrorSessionRequest$PacketLength": "

The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.

For sessions with Network Load Balancer (NLB) traffic mirror targets, the default PacketLength will be set to 8500. Valid values are 1-8500. Setting a PacketLength greater than 8500 will result in an error response.

", "ModifyTrafficMirrorSessionRequest$SessionNumber": "

The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

Valid values are 1-32766.

", "ModifyTrafficMirrorSessionRequest$VirtualNetworkId": "

The virtual network ID of the Traffic Mirror session.

", "ModifyVolumeRequest$Size": "

The target size of the volume, in GiB. The target volume size must be greater than or equal to the existing size of the volume.

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

Default: The existing size is retained.

", @@ -18608,7 +18608,7 @@ "CreateFlowLogsRequest$DeliverCrossAccountRole": "

The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.

", "CreateFlowLogsRequest$LogGroupName": "

The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.

This parameter is valid only if the destination type is cloud-watch-logs.

", "CreateFlowLogsRequest$LogDestination": "

The destination for the flow log data. The meaning of this parameter depends on the destination type.

", - "CreateFlowLogsRequest$LogFormat": "

The fields to include in the flow log record. List the fields in the order in which they should appear. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must include at least one field. For more information about the available fields, see Flow log records in the Amazon VPC User Guide or Transit Gateway Flow Log records in the Amazon Web Services Transit Gateway Guide.

Specify the fields using the ${field-id} format, separated by spaces. For the CLI, surround this parameter value with single quotes on Linux or double quotes on Windows.

", + "CreateFlowLogsRequest$LogFormat": "

The fields to include in the flow log record. List the fields in the order in which they should appear. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must include at least one field. For more information about the available fields, see Flow log records in the Amazon VPC User Guide or Transit Gateway Flow Log records in the Amazon Web Services Transit Gateway Guide.

Specify the fields using the ${field-id} format, separated by spaces.

", "CreateFlowLogsResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "CreateFpgaImageRequest$Description": "

A description for the AFI.

", "CreateFpgaImageRequest$Name": "

A name for the AFI.

", @@ -20425,7 +20425,7 @@ "SubnetCidrReservationType": { "base": null, "refs": { - "CreateSubnetCidrReservationRequest$ReservationType": "

The type of reservation.

The following are valid values:

", + "CreateSubnetCidrReservationRequest$ReservationType": "

The type of reservation. The reservation type determines how the reserved IP addresses are assigned to resources.

", "SubnetCidrReservation$ReservationType": "

The type of reservation.

" } }, @@ -22633,7 +22633,7 @@ "VersionStringList": { "base": null, "refs": { - "DeleteLaunchTemplateVersionsRequest$Versions": "

The version numbers of one or more launch template versions to delete.

", + "DeleteLaunchTemplateVersionsRequest$Versions": "

The version numbers of one or more launch template versions to delete. You can specify up to 200 launch template version numbers.

", "DescribeLaunchTemplateVersionsRequest$Versions": "

One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account.

To describe one or more versions of a specified launch template, valid values are $Latest, $Default, and numbers.

To describe all launch templates in your account that are defined as the latest version, the valid value is $Latest. To describe all launch templates in your account that are defined as the default version, the valid value is $Default. You can specify $Latest and $Default in the same request. You cannot specify numbers.

" } }, diff --git a/apis/glue/2017-03-31/api-2.json b/apis/glue/2017-03-31/api-2.json index 5941400d09b..0b68fc18984 100644 --- a/apis/glue/2017-03-31/api-2.json +++ b/apis/glue/2017-03-31/api-2.json @@ -4933,7 +4933,8 @@ "DisableValueTrimming":{"shape":"NullableBoolean"}, "AllowSingleColumn":{"shape":"NullableBoolean"}, "CustomDatatypeConfigured":{"shape":"NullableBoolean"}, - "CustomDatatypes":{"shape":"CustomDatatypes"} + "CustomDatatypes":{"shape":"CustomDatatypes"}, + "Serde":{"shape":"CsvSerdeOption"} } }, "CreateCustomEntityTypeRequest":{ @@ -5399,7 +5400,8 @@ "DisableValueTrimming":{"shape":"NullableBoolean"}, "AllowSingleColumn":{"shape":"NullableBoolean"}, "CustomDatatypeConfigured":{"shape":"NullableBoolean"}, - "CustomDatatypes":{"shape":"CustomDatatypes"} + "CustomDatatypes":{"shape":"CustomDatatypes"}, + "Serde":{"shape":"CsvSerdeOption"} } }, "CsvColumnDelimiter":{ @@ -5426,6 +5428,14 @@ "min":1, "pattern":"[^\\r\\n]" }, + "CsvSerdeOption":{ + "type":"string", + "enum":[ + "OpenCSVSerDe", + "LazySimpleSerDe", + "None" + ] + }, "CustomCode":{ "type":"structure", "required":[ @@ -12244,7 +12254,8 @@ "DisableValueTrimming":{"shape":"NullableBoolean"}, "AllowSingleColumn":{"shape":"NullableBoolean"}, "CustomDatatypeConfigured":{"shape":"NullableBoolean"}, - "CustomDatatypes":{"shape":"CustomDatatypes"} + "CustomDatatypes":{"shape":"CustomDatatypes"}, + "Serde":{"shape":"CsvSerdeOption"} } }, "UpdateDataQualityRulesetRequest":{ diff --git a/apis/glue/2017-03-31/docs-2.json b/apis/glue/2017-03-31/docs-2.json index bb25fe3e439..b394da6432d 100644 --- a/apis/glue/2017-03-31/docs-2.json +++ b/apis/glue/2017-03-31/docs-2.json @@ -1901,6 +1901,14 @@ "UpdateCsvClassifierRequest$QuoteSymbol": "

A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.

" } }, + "CsvSerdeOption": { + "base": null, + "refs": { + "CreateCsvClassifierRequest$Serde": "

Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.

", + "CsvClassifier$Serde": "

Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.

", + "UpdateCsvClassifierRequest$Serde": "

Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.

" + } + }, "CustomCode": { "base": "

Specifies a transform that uses custom code you provide to perform the data transformation. The output is a collection of DynamicFrames.

", "refs": { diff --git a/apis/pi/2018-02-27/api-2.json b/apis/pi/2018-02-27/api-2.json index 199ffe2e37d..e30c4b44b48 100644 --- a/apis/pi/2018-02-27/api-2.json +++ b/apis/pi/2018-02-27/api-2.json @@ -14,6 +14,34 @@ "uid":"pi-2018-02-27" }, "operations":{ + "CreatePerformanceAnalysisReport":{ + "name":"CreatePerformanceAnalysisReport", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreatePerformanceAnalysisReportRequest"}, + "output":{"shape":"CreatePerformanceAnalysisReportResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"InternalServiceError"}, + {"shape":"NotAuthorizedException"} + ] + }, + "DeletePerformanceAnalysisReport":{ + "name":"DeletePerformanceAnalysisReport", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeletePerformanceAnalysisReportRequest"}, + "output":{"shape":"DeletePerformanceAnalysisReportResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"InternalServiceError"}, + {"shape":"NotAuthorizedException"} + ] + }, "DescribeDimensionKeys":{ "name":"DescribeDimensionKeys", "http":{ @@ -42,6 +70,20 @@ {"shape":"NotAuthorizedException"} ] }, + "GetPerformanceAnalysisReport":{ + "name":"GetPerformanceAnalysisReport", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetPerformanceAnalysisReportRequest"}, + "output":{"shape":"GetPerformanceAnalysisReportResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"InternalServiceError"}, + {"shape":"NotAuthorizedException"} + ] + }, "GetResourceMetadata":{ "name":"GetResourceMetadata", "http":{ @@ -97,9 +139,69 @@ {"shape":"InternalServiceError"}, {"shape":"NotAuthorizedException"} ] + }, + "ListPerformanceAnalysisReports":{ + "name":"ListPerformanceAnalysisReports", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListPerformanceAnalysisReportsRequest"}, + "output":{"shape":"ListPerformanceAnalysisReportsResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"InternalServiceError"}, + {"shape":"NotAuthorizedException"} + ] + }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"InternalServiceError"}, + {"shape":"NotAuthorizedException"} + ] + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"InternalServiceError"}, + {"shape":"NotAuthorizedException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"InvalidArgumentException"}, + {"shape":"InternalServiceError"}, + {"shape":"NotAuthorizedException"} + ] } }, "shapes":{ + "AcceptLanguage":{ + "type":"string", + "enum":["EN_US"] + }, "AdditionalMetricsList":{ "type":"list", "member":{"shape":"RequestString"}, @@ -111,6 +213,95 @@ "key":{"shape":"RequestString"}, "value":{"shape":"Double"} }, + "AmazonResourceName":{ + "type":"string", + "max":1011, + "min":1, + "pattern":"^arn:.*:pi:.*$" + }, + "AnalysisReport":{ + "type":"structure", + "required":["AnalysisReportId"], + "members":{ + "AnalysisReportId":{"shape":"AnalysisReportId"}, + "Identifier":{"shape":"IdentifierString"}, + "ServiceType":{"shape":"ServiceType"}, + "CreateTime":{"shape":"ISOTimestamp"}, + "StartTime":{"shape":"ISOTimestamp"}, + "EndTime":{"shape":"ISOTimestamp"}, + "Status":{"shape":"AnalysisStatus"}, + "Insights":{"shape":"InsightList"} + } + }, + "AnalysisReportId":{ + "type":"string", + "max":100, + "min":1, + "pattern":"report-[0-9a-f]{17}" + }, + "AnalysisReportSummary":{ + "type":"structure", + "members":{ + "AnalysisReportId":{"shape":"String"}, + "CreateTime":{"shape":"ISOTimestamp"}, + "StartTime":{"shape":"ISOTimestamp"}, + "EndTime":{"shape":"ISOTimestamp"}, + "Status":{"shape":"AnalysisStatus"}, + "Tags":{"shape":"TagList"} + } + }, + "AnalysisReportSummaryList":{ + "type":"list", + "member":{"shape":"AnalysisReportSummary"} + }, + "AnalysisStatus":{ + "type":"string", + "enum":[ + "RUNNING", + "SUCCEEDED", + "FAILED" + ] + }, + "Boolean":{"type":"boolean"}, + "ContextType":{ + "type":"string", + "enum":[ + "CAUSAL", + "CONTEXTUAL" + ] + }, + "CreatePerformanceAnalysisReportRequest":{ + "type":"structure", + "required":[ + "ServiceType", + "Identifier", + "StartTime", + "EndTime" + ], + "members":{ + "ServiceType":{"shape":"ServiceType"}, + "Identifier":{"shape":"IdentifierString"}, + "StartTime":{"shape":"ISOTimestamp"}, + "EndTime":{"shape":"ISOTimestamp"}, + "Tags":{"shape":"TagList"} + } + }, + "CreatePerformanceAnalysisReportResponse":{ + "type":"structure", + "members":{ + "AnalysisReportId":{"shape":"AnalysisReportId"} + } + }, + "Data":{ + "type":"structure", + "members":{ + "PerformanceInsightsMetric":{"shape":"PerformanceInsightsMetric"} + } + }, + "DataList":{ + "type":"list", + "member":{"shape":"Data"} + }, "DataPoint":{ "type":"structure", "required":[ @@ -126,6 +317,24 @@ "type":"list", "member":{"shape":"DataPoint"} }, + "DeletePerformanceAnalysisReportRequest":{ + "type":"structure", + "required":[ + "ServiceType", + "Identifier", + "AnalysisReportId" + ], + "members":{ + "ServiceType":{"shape":"ServiceType"}, + "Identifier":{"shape":"IdentifierString"}, + "AnalysisReportId":{"shape":"AnalysisReportId"} + } + }, + "DeletePerformanceAnalysisReportResponse":{ + "type":"structure", + "members":{ + } + }, "DescribeDimensionKeysRequest":{ "type":"structure", "required":[ @@ -138,7 +347,7 @@ ], "members":{ "ServiceType":{"shape":"ServiceType"}, - "Identifier":{"shape":"RequestString"}, + "Identifier":{"shape":"IdentifierString"}, "StartTime":{"shape":"ISOTimestamp"}, "EndTime":{"shape":"ISOTimestamp"}, "Metric":{"shape":"RequestString"}, @@ -166,6 +375,17 @@ "max":2048, "min":1 }, + "DescriptiveMap":{ + "type":"map", + "key":{"shape":"DescriptiveString"}, + "value":{"shape":"DescriptiveString"} + }, + "DescriptiveString":{ + "type":"string", + "max":2000, + "min":1, + "pattern":"^.*$" + }, "DetailStatus":{ "type":"string", "enum":[ @@ -286,6 +506,27 @@ "Dimensions":{"shape":"DimensionKeyDetailList"} } }, + "GetPerformanceAnalysisReportRequest":{ + "type":"structure", + "required":[ + "ServiceType", + "Identifier", + "AnalysisReportId" + ], + "members":{ + "ServiceType":{"shape":"ServiceType"}, + "Identifier":{"shape":"IdentifierString"}, + "AnalysisReportId":{"shape":"AnalysisReportId"}, + "TextFormat":{"shape":"TextFormat"}, + "AcceptLanguage":{"shape":"AcceptLanguage"} + } + }, + "GetPerformanceAnalysisReportResponse":{ + "type":"structure", + "members":{ + "AnalysisReport":{"shape":"AnalysisReport"} + } + }, "GetResourceMetadataRequest":{ "type":"structure", "required":[ @@ -294,7 +535,7 @@ ], "members":{ "ServiceType":{"shape":"ServiceType"}, - "Identifier":{"shape":"RequestString"} + "Identifier":{"shape":"IdentifierString"} } }, "GetResourceMetadataResponse":{ @@ -315,7 +556,7 @@ ], "members":{ "ServiceType":{"shape":"ServiceType"}, - "Identifier":{"shape":"RequestString"}, + "Identifier":{"shape":"IdentifierString"}, "MetricQueries":{"shape":"MetricQueryList"}, "StartTime":{"shape":"ISOTimestamp"}, "EndTime":{"shape":"ISOTimestamp"}, @@ -340,7 +581,28 @@ "type":"string", "max":256, "min":0, - "pattern":"^db-[a-zA-Z0-9-]*$" + "pattern":"^[a-zA-Z0-9-]+$" + }, + "Insight":{ + "type":"structure", + "required":["InsightId"], + "members":{ + "InsightId":{"shape":"String"}, + "InsightType":{"shape":"String"}, + "Context":{"shape":"ContextType"}, + "StartTime":{"shape":"ISOTimestamp"}, + "EndTime":{"shape":"ISOTimestamp"}, + "Severity":{"shape":"Severity"}, + "SupportingInsights":{"shape":"InsightList"}, + "Description":{"shape":"MarkdownString"}, + "Recommendations":{"shape":"RecommendationList"}, + "InsightData":{"shape":"DataList"}, + "BaselineData":{"shape":"DataList"} + } + }, + "InsightList":{ + "type":"list", + "member":{"shape":"Insight"} }, "Integer":{"type":"integer"}, "InternalServiceError":{ @@ -372,7 +634,7 @@ ], "members":{ "ServiceType":{"shape":"ServiceType"}, - "Identifier":{"shape":"RequestString"}, + "Identifier":{"shape":"IdentifierString"}, "Metrics":{"shape":"DimensionsMetricList"}, "MaxResults":{"shape":"MaxResults"}, "NextToken":{"shape":"NextToken"} @@ -394,7 +656,7 @@ ], "members":{ "ServiceType":{"shape":"ServiceType"}, - "Identifier":{"shape":"RequestString"}, + "Identifier":{"shape":"IdentifierString"}, "MetricTypes":{"shape":"MetricTypeList"}, "NextToken":{"shape":"NextToken"}, "MaxResults":{"shape":"MaxResults"} @@ -407,6 +669,51 @@ "NextToken":{"shape":"NextToken"} } }, + "ListPerformanceAnalysisReportsRequest":{ + "type":"structure", + "required":[ + "ServiceType", + "Identifier" + ], + "members":{ + "ServiceType":{"shape":"ServiceType"}, + "Identifier":{"shape":"IdentifierString"}, + "NextToken":{"shape":"NextToken"}, + "MaxResults":{"shape":"MaxResults"}, + "ListTags":{"shape":"Boolean"} + } + }, + "ListPerformanceAnalysisReportsResponse":{ + "type":"structure", + "members":{ + "AnalysisReports":{"shape":"AnalysisReportSummaryList"}, + "NextToken":{"shape":"NextToken"} + } + }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":[ + "ServiceType", + "ResourceARN" + ], + "members":{ + "ServiceType":{"shape":"ServiceType"}, + "ResourceARN":{"shape":"AmazonResourceName"} + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "Tags":{"shape":"TagList"} + } + }, + "MarkdownString":{ + "type":"string", + "max":8000, + "min":0, + "pattern":"(.|\\n)*", + "sensitive":true + }, "MaxResults":{ "type":"integer", "max":25, @@ -466,7 +773,7 @@ "type":"string", "max":8192, "min":1, - "pattern":"[\\s\\S]*" + "pattern":"^[a-zA-Z0-9_=-]+$" }, "NotAuthorizedException":{ "type":"structure", @@ -475,6 +782,15 @@ }, "exception":true }, + "PerformanceInsightsMetric":{ + "type":"structure", + "members":{ + "Metric":{"shape":"DescriptiveString"}, + "DisplayName":{"shape":"DescriptiveString"}, + "Dimensions":{"shape":"DescriptiveMap"}, + "Value":{"shape":"Double"} + } + }, "PeriodAlignment":{ "type":"string", "enum":[ @@ -482,6 +798,17 @@ "START_TIME" ] }, + "Recommendation":{ + "type":"structure", + "members":{ + "RecommendationId":{"shape":"String"}, + "RecommendationDescription":{"shape":"MarkdownString"} + } + }, + "RecommendationList":{ + "type":"list", + "member":{"shape":"Recommendation"} + }, "RequestString":{ "type":"string", "max":256, @@ -538,11 +865,97 @@ "DOCDB" ] }, + "Severity":{ + "type":"string", + "enum":[ + "LOW", + "MEDIUM", + "HIGH" + ] + }, "String":{ "type":"string", "max":256, "min":0, "pattern":".*\\S.*" + }, + "Tag":{ + "type":"structure", + "required":[ + "Key", + "Value" + ], + "members":{ + "Key":{"shape":"TagKey"}, + "Value":{"shape":"TagValue"} + } + }, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^.*$" + }, + "TagKeyList":{ + "type":"list", + "member":{"shape":"TagKey"}, + "max":200, + "min":0 + }, + "TagList":{ + "type":"list", + "member":{"shape":"Tag"}, + "max":200, + "min":0 + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "ServiceType", + "ResourceARN", + "Tags" + ], + "members":{ + "ServiceType":{"shape":"ServiceType"}, + "ResourceARN":{"shape":"AmazonResourceName"}, + "Tags":{"shape":"TagList"} + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0, + "pattern":"^.*$" + }, + "TextFormat":{ + "type":"string", + "enum":[ + "PLAIN_TEXT", + "MARKDOWN" + ] + }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "ServiceType", + "ResourceARN", + "TagKeys" + ], + "members":{ + "ServiceType":{"shape":"ServiceType"}, + "ResourceARN":{"shape":"AmazonResourceName"}, + "TagKeys":{"shape":"TagKeyList"} + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } } } } diff --git a/apis/pi/2018-02-27/docs-2.json b/apis/pi/2018-02-27/docs-2.json index 328bb1c5fd5..5687cc097e3 100644 --- a/apis/pi/2018-02-27/docs-2.json +++ b/apis/pi/2018-02-27/docs-2.json @@ -2,14 +2,27 @@ "version": "2.0", "service": "Amazon RDS Performance Insights

Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide provides detailed information about Performance Insights data types, parameters and errors.

When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the authoritative source for Amazon Web Services service-vended monitoring metrics. Performance Insights offers a domain-specific view of DB load.

DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.

", "operations": { + "CreatePerformanceAnalysisReport": "

Creates a new performance analysis report for a specific time period for the DB instance.

", + "DeletePerformanceAnalysisReport": "

Deletes a performance analysis report.

", "DescribeDimensionKeys": "

For a specific time period, retrieve the top N dimension keys for a metric.

Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.

", "GetDimensionKeyDetails": "

Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID, GetDimensionKeyDetails retrieves the full text of the dimension db.sql.statement associated with this ID. This operation is useful because GetResourceMetrics and DescribeDimensionKeys don't support retrieval of large SQL statement text.

", + "GetPerformanceAnalysisReport": "

Retrieves the report including the report ID, status, time details, and the insights with recommendations. The report status can be RUNNING, SUCCEEDED, or FAILED. The insights include the description and recommendation fields.

", "GetResourceMetadata": "

Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.

", "GetResourceMetrics": "

Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide aggregation and filtering criteria for each group.

Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.

", "ListAvailableResourceDimensions": "

Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.

", - "ListAvailableResourceMetrics": "

Retrieve metrics of the specified types that can be queried for a specified DB instance.

" + "ListAvailableResourceMetrics": "

Retrieve metrics of the specified types that can be queried for a specified DB instance.

", + "ListPerformanceAnalysisReports": "

Lists all the analysis reports created for the DB instance. The reports are sorted based on the start time of each report.

", + "ListTagsForResource": "

Retrieves all the metadata tags associated with Amazon RDS Performance Insights resource.

", + "TagResource": "

Adds metadata tags to the Amazon RDS Performance Insights resource.

", + "UntagResource": "

Deletes the metadata tags from the Amazon RDS Performance Insights resource.

" }, "shapes": { + "AcceptLanguage": { + "base": null, + "refs": { + "GetPerformanceAnalysisReportRequest$AcceptLanguage": "

The text language in the report. The default language is EN_US (English).

" + } + }, "AdditionalMetricsList": { "base": null, "refs": { @@ -22,6 +35,83 @@ "DimensionKeyDescription$AdditionalMetrics": "

A map that contains the value for each additional metric.

" } }, + "AmazonResourceName": { + "base": null, + "refs": { + "ListTagsForResourceRequest$ResourceARN": "

Lists all the tags for the Amazon RDS Performance Insights resource. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

", + "TagResourceRequest$ResourceARN": "

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

", + "UntagResourceRequest$ResourceARN": "

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

" + } + }, + "AnalysisReport": { + "base": "

Retrieves the summary of the performance analysis report created for a time period.

", + "refs": { + "GetPerformanceAnalysisReportResponse$AnalysisReport": "

The summary of the performance analysis report created for a time period.

" + } + }, + "AnalysisReportId": { + "base": null, + "refs": { + "AnalysisReport$AnalysisReportId": "

The name of the analysis report.

", + "CreatePerformanceAnalysisReportResponse$AnalysisReportId": "

A unique identifier for the created analysis report.

", + "DeletePerformanceAnalysisReportRequest$AnalysisReportId": "

The unique identifier of the analysis report for deletion.

", + "GetPerformanceAnalysisReportRequest$AnalysisReportId": "

A unique identifier of the created analysis report. For example, report-12345678901234567

" + } + }, + "AnalysisReportSummary": { + "base": "

Retrieves the details of the performance analysis report.

", + "refs": { + "AnalysisReportSummaryList$member": null + } + }, + "AnalysisReportSummaryList": { + "base": null, + "refs": { + "ListPerformanceAnalysisReportsResponse$AnalysisReports": "

List of reports including the report identifier, start and end time, creation time, and status.

" + } + }, + "AnalysisStatus": { + "base": null, + "refs": { + "AnalysisReport$Status": "

The status of the created analysis report.

", + "AnalysisReportSummary$Status": "

The status of the analysis report.

" + } + }, + "Boolean": { + "base": null, + "refs": { + "ListPerformanceAnalysisReportsRequest$ListTags": "

Specifies whether or not to include the list of tags in the response.

" + } + }, + "ContextType": { + "base": null, + "refs": { + "Insight$Context": "

Indicates if the insight is causal or correlated insight.

" + } + }, + "CreatePerformanceAnalysisReportRequest": { + "base": null, + "refs": { + } + }, + "CreatePerformanceAnalysisReportResponse": { + "base": null, + "refs": { + } + }, + "Data": { + "base": "

List of data objects which provide details about source metrics. This field can be used to determine the PI metric to render for the insight. This data type also includes static values for the metrics for the Insight that were calculated and included in text and annotations on the DB load chart.

", + "refs": { + "DataList$member": null + } + }, + "DataList": { + "base": null, + "refs": { + "Insight$InsightData": "

List of data objects containing metrics and references from the time range while generating the insight.

", + "Insight$BaselineData": "

Metric names and values from the timeframe used as baseline to generate the insight.

" + } + }, "DataPoint": { "base": "

A timestamp, and a single numerical value, which together represent a measurement at a particular point in time.

", "refs": { @@ -34,6 +124,16 @@ "MetricKeyDataPoints$DataPoints": "

An array of timestamp-value pairs, representing measurements over a period of time.

" } }, + "DeletePerformanceAnalysisReportRequest": { + "base": null, + "refs": { + } + }, + "DeletePerformanceAnalysisReportResponse": { + "base": null, + "refs": { + } + }, "DescribeDimensionKeysRequest": { "base": null, "refs": { @@ -50,6 +150,21 @@ "ResponseResourceMetric$Description": "

The description of the metric.

" } }, + "DescriptiveMap": { + "base": null, + "refs": { + "PerformanceInsightsMetric$Dimensions": "

A dimension map that contains the dimensions for this partition.

" + } + }, + "DescriptiveString": { + "base": null, + "refs": { + "DescriptiveMap$key": null, + "DescriptiveMap$value": null, + "PerformanceInsightsMetric$Metric": "

The Performance Insights metric.

", + "PerformanceInsightsMetric$DisplayName": "

The Performance Insights metric name.

" + } + }, "DetailStatus": { "base": null, "refs": { @@ -132,7 +247,8 @@ "AdditionalMetricsMap$value": null, "DataPoint$Value": "

The actual value associated with a particular Timestamp.

", "DimensionKeyDescription$Total": "

The aggregated metric value for the dimensions, over the requested time range.

", - "MetricValuesList$member": null + "MetricValuesList$member": null, + "PerformanceInsightsMetric$Value": "

The value of the metric. For example, 9 for db.load.avg.

" } }, "ErrorString": { @@ -171,6 +287,16 @@ "refs": { } }, + "GetPerformanceAnalysisReportRequest": { + "base": null, + "refs": { + } + }, + "GetPerformanceAnalysisReportResponse": { + "base": null, + "refs": { + } + }, "GetResourceMetadataRequest": { "base": null, "refs": { @@ -194,6 +320,14 @@ "ISOTimestamp": { "base": null, "refs": { + "AnalysisReport$CreateTime": "

The time you created the analysis report.

", + "AnalysisReport$StartTime": "

The analysis start time in the report.

", + "AnalysisReport$EndTime": "

The analysis end time in the report.

", + "AnalysisReportSummary$CreateTime": "

The time you created the analysis report.

", + "AnalysisReportSummary$StartTime": "

The start time of the analysis in the report.

", + "AnalysisReportSummary$EndTime": "

The end time of the analysis in the report.

", + "CreatePerformanceAnalysisReportRequest$StartTime": "

The start time defined for the analysis report.

", + "CreatePerformanceAnalysisReportRequest$EndTime": "

The end time defined for the analysis report.

", "DataPoint$Timestamp": "

The time, in epoch format, associated with a particular Value.

", "DescribeDimensionKeysRequest$StartTime": "

The date and time specifying the beginning of the requested time series data. You must specify a StartTime within the past 7 days. The value specified is inclusive, which means that data points equal to or greater than StartTime are returned.

The value for StartTime must be earlier than the value for EndTime.

", "DescribeDimensionKeysRequest$EndTime": "

The date and time specifying the end of the requested time series data. The value specified is exclusive, which means that data points less than (but not equal to) EndTime are returned.

The value for EndTime must be later than the value for StartTime.

", @@ -202,13 +336,38 @@ "GetResourceMetricsRequest$StartTime": "

The date and time specifying the beginning of the requested time series query range. You can't specify a StartTime that is earlier than 7 days ago. By default, Performance Insights has 7 days of retention, but you can extend this range up to 2 years. The value specified is inclusive. Thus, the command returns data points equal to or greater than StartTime.

The value for StartTime must be earlier than the value for EndTime.

", "GetResourceMetricsRequest$EndTime": "

The date and time specifying the end of the requested time series query range. The value specified is exclusive. Thus, the command returns data points less than (but not equal to) EndTime.

The value for EndTime must be later than the value for StartTime.

", "GetResourceMetricsResponse$AlignedStartTime": "

The start time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime.

", - "GetResourceMetricsResponse$AlignedEndTime": "

The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

" + "GetResourceMetricsResponse$AlignedEndTime": "

The end time for the returned metrics, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime.

", + "Insight$StartTime": "

The start time of the insight. For example, 2018-10-30T00:00:00Z.

", + "Insight$EndTime": "

The end time of the insight. For example, 2018-10-30T00:00:00Z.

" } }, "IdentifierString": { "base": null, "refs": { - "GetDimensionKeyDetailsRequest$Identifier": "

The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

" + "AnalysisReport$Identifier": "

The unique identifier of the analysis report.

", + "CreatePerformanceAnalysisReportRequest$Identifier": "

An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.

To use an Amazon RDS instance as a data source, you specify its DbiResourceId value. For example, specify db-ADECBTYHKTSAUMUZQYPDS2GW4A.

", + "DeletePerformanceAnalysisReportRequest$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", + "DescribeDimensionKeysRequest$Identifier": "

An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.

To use an Amazon RDS instance as a data source, you specify its DbiResourceId value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

", + "GetDimensionKeyDetailsRequest$Identifier": "

The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", + "GetPerformanceAnalysisReportRequest$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", + "GetResourceMetadataRequest$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", + "GetResourceMetricsRequest$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", + "ListAvailableResourceDimensionsRequest$Identifier": "

An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

", + "ListAvailableResourceMetricsRequest$Identifier": "

An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

", + "ListPerformanceAnalysisReportsRequest$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

" + } + }, + "Insight": { + "base": "

Retrieves the list of performance issues which are identified.

", + "refs": { + "InsightList$member": null + } + }, + "InsightList": { + "base": null, + "refs": { + "AnalysisReport$Insights": "

The list of identified insights in the analysis report.

", + "Insight$SupportingInsights": "

List of supporting insights that provide additional factors for the insight.

" } }, "Integer": { @@ -254,13 +413,41 @@ "refs": { } }, + "ListPerformanceAnalysisReportsRequest": { + "base": null, + "refs": { + } + }, + "ListPerformanceAnalysisReportsResponse": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, + "MarkdownString": { + "base": null, + "refs": { + "Insight$Description": "

Description of the insight. For example: A high severity Insight found between 02:00 to 02:30, where there was an unusually high DB load 600x above baseline. Likely performance impact.

", + "Recommendation$RecommendationDescription": "

The recommendation details to help resolve the performance issue. For example, Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id

" + } + }, "MaxResults": { "base": null, "refs": { "DescribeDimensionKeysRequest$MaxResults": "

The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

", "GetResourceMetricsRequest$MaxResults": "

The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

", "ListAvailableResourceDimensionsRequest$MaxResults": "

The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved.

", - "ListAvailableResourceMetricsRequest$MaxResults": "

The maximum number of items to return. If the MaxRecords value is less than the number of existing items, the response includes a pagination token.

" + "ListAvailableResourceMetricsRequest$MaxResults": "

The maximum number of items to return. If the MaxRecords value is less than the number of existing items, the response includes a pagination token.

", + "ListPerformanceAnalysisReportsRequest$MaxResults": "

The maximum number of items to return in the response. If more items exist than the specified MaxResults value, a pagination token is included in the response so that the remaining results can be retrieved.

" } }, "MetricDimensionGroups": { @@ -328,7 +515,9 @@ "ListAvailableResourceDimensionsRequest$NextToken": "

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

", "ListAvailableResourceDimensionsResponse$NextToken": "

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

", "ListAvailableResourceMetricsRequest$NextToken": "

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

", - "ListAvailableResourceMetricsResponse$NextToken": "

A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value.

" + "ListAvailableResourceMetricsResponse$NextToken": "

A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value.

", + "ListPerformanceAnalysisReportsRequest$NextToken": "

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

", + "ListPerformanceAnalysisReportsResponse$NextToken": "

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

" } }, "NotAuthorizedException": { @@ -336,18 +525,35 @@ "refs": { } }, + "PerformanceInsightsMetric": { + "base": "

This data type helps to determine Performance Insights metric to render for the insight.

", + "refs": { + "Data$PerformanceInsightsMetric": "

This field determines the Performance Insights metric to render for the insight. The name field refers to a Performance Insights metric.

" + } + }, "PeriodAlignment": { "base": null, "refs": { "GetResourceMetricsRequest$PeriodAlignment": "

The returned timestamp which is the start or end time of the time periods. The default value is END_TIME.

" } }, + "Recommendation": { + "base": "

The list of recommendations for the insight.

", + "refs": { + "RecommendationList$member": null + } + }, + "RecommendationList": { + "base": null, + "refs": { + "Insight$Recommendations": "

List of recommendations for the insight. For example, Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id.

" + } + }, "RequestString": { "base": null, "refs": { "AdditionalMetricsList$member": null, "AdditionalMetricsMap$key": null, - "DescribeDimensionKeysRequest$Identifier": "

An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.

To use an Amazon RDS instance as a data source, you specify its DbiResourceId value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A.

", "DescribeDimensionKeysRequest$Metric": "

The name of a Performance Insights metric to be measured.

Valid values for Metric are:

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

", "DimensionGroup$Group": "

The name of the dimension group. Valid values are as follows:

", "DimensionMap$key": null, @@ -355,10 +561,6 @@ "DimensionsMetricList$member": null, "GetDimensionKeyDetailsRequest$Group": "

The name of the dimension group. Performance Insights searches the specified group for the dimension group ID. The following group name values are valid:

", "GetDimensionKeyDetailsRequest$GroupIdentifier": "

The ID of the dimension group from which to retrieve dimension details. For dimension group db.sql, the group ID is db.sql.id. The following group ID values are valid:

", - "GetResourceMetadataRequest$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", - "GetResourceMetricsRequest$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", - "ListAvailableResourceDimensionsRequest$Identifier": "

An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

", - "ListAvailableResourceMetricsRequest$Identifier": "

An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ.

", "MetricQuery$Metric": "

The name of a Performance Insights metric to be measured.

Valid values for Metric are:

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

", "MetricQueryFilterMap$key": null, "MetricQueryFilterMap$value": null, @@ -412,17 +614,32 @@ "ServiceType": { "base": null, "refs": { + "AnalysisReport$ServiceType": "

List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:

", + "CreatePerformanceAnalysisReportRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights will return metrics. Valid value is RDS.

", + "DeletePerformanceAnalysisReportRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights will return metrics. Valid value is RDS.

", "DescribeDimensionKeysRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights will return metrics. Valid values are as follows:

", "GetDimensionKeyDetailsRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns data. The only valid value is RDS.

", + "GetPerformanceAnalysisReportRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights will return metrics. Valid value is RDS.

", "GetResourceMetadataRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns metrics.

", "GetResourceMetricsRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns metrics. Valid values are as follows:

", "ListAvailableResourceDimensionsRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns metrics.

", - "ListAvailableResourceMetricsRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns metrics.

" + "ListAvailableResourceMetricsRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns metrics.

", + "ListPerformanceAnalysisReportsRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.

", + "ListTagsForResourceRequest$ServiceType": "

List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.

", + "TagResourceRequest$ServiceType": "

The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.

", + "UntagResourceRequest$ServiceType": "

List the tags for the Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.

" + } + }, + "Severity": { + "base": null, + "refs": { + "Insight$Severity": "

The severity of the insight. The values are: Low, Medium, or High.

" } }, "String": { "base": null, "refs": { + "AnalysisReportSummary$AnalysisReportId": "

The name of the analysis report.

", "DimensionDetail$Identifier": "

The identifier of a dimension.

", "DimensionGroupDetail$Group": "

The name of the dimension group.

", "DimensionKeyDetail$Value": "

The value of the dimension detail data. Depending on the return status, this value is either the full or truncated SQL query for the following dimensions:

", @@ -430,11 +647,74 @@ "FeatureMetadataMap$key": null, "GetResourceMetadataResponse$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

", "GetResourceMetricsResponse$Identifier": "

An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as ResourceID. When you call DescribeDBInstances, the identifier is returned as DbiResourceId.

", + "Insight$InsightId": "

The unique identifier for the insight. For example, insight-12345678901234567.

", + "Insight$InsightType": "

The type of insight. For example, HighDBLoad, HighCPU, or DominatingSQLs.

", "MetricDimensionGroups$Metric": "

The metric type to which the dimension information belongs.

", + "Recommendation$RecommendationId": "

The unique identifier for the recommendation.

", "ResponseResourceMetric$Metric": "

The full name of the metric.

", "ResponseResourceMetric$Unit": "

The unit of the metric.

", "ResponseResourceMetricKey$Metric": "

The name of a Performance Insights metric to be measured.

Valid values for Metric are:

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

" } + }, + "Tag": { + "base": "

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

", + "refs": { + "TagList$member": null + } + }, + "TagKey": { + "base": null, + "refs": { + "Tag$Key": "

A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\").

", + "TagKeyList$member": null + } + }, + "TagKeyList": { + "base": null, + "refs": { + "UntagResourceRequest$TagKeys": "

The metadata assigned to an Amazon RDS Performance Insights resource consisting of a key-value pair.

" + } + }, + "TagList": { + "base": null, + "refs": { + "AnalysisReportSummary$Tags": "

List of all the tags added to the analysis report.

", + "CreatePerformanceAnalysisReportRequest$Tags": "

The metadata assigned to the analysis report consisting of a key-value pair.

", + "ListTagsForResourceResponse$Tags": "

The metadata assigned to an Amazon RDS resource consisting of a key-value pair.

", + "TagResourceRequest$Tags": "

The metadata assigned to an Amazon RDS resource consisting of a key-value pair.

" + } + }, + "TagResourceRequest": { + "base": null, + "refs": { + } + }, + "TagResourceResponse": { + "base": null, + "refs": { + } + }, + "TagValue": { + "base": null, + "refs": { + "Tag$Value": "

A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\").

" + } + }, + "TextFormat": { + "base": null, + "refs": { + "GetPerformanceAnalysisReportRequest$TextFormat": "

Indicates the text format in the report. The options are PLAIN_TEXT or MARKDOWN. The default value is plain text.

" + } + }, + "UntagResourceRequest": { + "base": null, + "refs": { + } + }, + "UntagResourceResponse": { + "base": null, + "refs": { + } } } } diff --git a/apis/pi/2018-02-27/endpoint-rule-set-1.json b/apis/pi/2018-02-27/endpoint-rule-set-1.json index ca59653fa9b..2a013d4fe26 100644 --- a/apis/pi/2018-02-27/endpoint-rule-set-1.json +++ b/apis/pi/2018-02-27/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,224 +140,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://pi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://pi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://pi-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://pi-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://pi.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://pi.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://pi.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://pi.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/apis/pi/2018-02-27/endpoint-tests-1.json b/apis/pi/2018-02-27/endpoint-tests-1.json index a720fcbb69a..73734bfa14e 100644 --- a/apis/pi/2018-02-27/endpoint-tests-1.json +++ b/apis/pi/2018-02-27/endpoint-tests-1.json @@ -429,6 +429,17 @@ "UseDualStack": false } }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -442,6 +453,17 @@ "UseDualStack": false } }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -455,6 +477,17 @@ "UseDualStack": false } }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { @@ -468,6 +501,17 @@ "UseDualStack": false } }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -531,6 +575,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/apis/pi/2018-02-27/paginators-1.json b/apis/pi/2018-02-27/paginators-1.json index 8392da5c25b..be1a4c984e9 100644 --- a/apis/pi/2018-02-27/paginators-1.json +++ b/apis/pi/2018-02-27/paginators-1.json @@ -19,6 +19,11 @@ "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" + }, + "ListPerformanceAnalysisReports": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" } } } diff --git a/apis/route53domains/2014-05-15/api-2.json b/apis/route53domains/2014-05-15/api-2.json index abdac264ad4..387a2da3faf 100644 --- a/apis/route53domains/2014-05-15/api-2.json +++ b/apis/route53domains/2014-05-15/api-2.json @@ -505,7 +505,7 @@ ], "members":{ "DomainName":{"shape":"DomainName"}, - "Password":{"shape":"String"} + "Password":{"shape":"Password"} } }, "AcceptDomainTransferFromAnotherAwsAccountResponse":{ @@ -522,7 +522,8 @@ }, "AddressLine":{ "type":"string", - "max":255 + "max":255, + "sensitive":true }, "AssociateDelegationSignerToDomainRequest":{ "type":"structure", @@ -594,12 +595,14 @@ "CheckDomainTransferabilityResponse":{ "type":"structure", "members":{ - "Transferability":{"shape":"DomainTransferability"} + "Transferability":{"shape":"DomainTransferability"}, + "Message":{"shape":"Message"} } }, "City":{ "type":"string", - "max":255 + "max":255, + "sensitive":true }, "Consent":{ "type":"structure", @@ -634,11 +637,13 @@ }, "ContactName":{ "type":"string", - "max":255 + "max":255, + "sensitive":true }, "ContactNumber":{ "type":"string", - "max":30 + "max":30, + "sensitive":true }, "ContactType":{ "type":"string", @@ -904,7 +909,8 @@ "ZA", "ZM", "ZW" - ] + ], + "sensitive":true }, "Currency":{ "type":"string", @@ -1106,6 +1112,7 @@ "DuplicateRequest":{ "type":"structure", "members":{ + "requestId":{"shape":"RequestId"}, "message":{"shape":"ErrorMessage"} }, "exception":true @@ -1117,7 +1124,8 @@ }, "Email":{ "type":"string", - "max":254 + "max":254, + "sensitive":true }, "EnableDomainAutoRenewRequest":{ "type":"structure", @@ -1419,6 +1427,7 @@ "TagList":{"shape":"TagList"} } }, + "Message":{"type":"string"}, "Nameserver":{ "type":"structure", "required":["Name"], @@ -1519,6 +1528,10 @@ "type":"integer", "max":100 }, + "Password":{ + "type":"string", + "sensitive":true + }, "Price":{"type":"double"}, "PriceWithCurrency":{ "type":"structure", @@ -1613,6 +1626,7 @@ "OperationId":{"shape":"OperationId"} } }, + "RequestId":{"type":"string"}, "Reseller":{"type":"string"}, "ResendContactReachabilityEmailRequest":{ "type":"structure", @@ -1668,7 +1682,8 @@ }, "State":{ "type":"string", - "max":255 + "max":255, + "sensitive":true }, "StatusFlag":{ "type":"string", @@ -1764,7 +1779,7 @@ "type":"structure", "members":{ "OperationId":{"shape":"OperationId"}, - "Password":{"shape":"String"} + "Password":{"shape":"Password"} } }, "Transferable":{ @@ -1881,7 +1896,8 @@ }, "ZipCode":{ "type":"string", - "max":255 + "max":255, + "sensitive":true } } } diff --git a/apis/route53domains/2014-05-15/docs-2.json b/apis/route53domains/2014-05-15/docs-2.json index ab7806f0b58..ce90ac655c1 100644 --- a/apis/route53domains/2014-05-15/docs-2.json +++ b/apis/route53domains/2014-05-15/docs-2.json @@ -658,6 +658,12 @@ "refs": { } }, + "Message": { + "base": null, + "refs": { + "CheckDomainTransferabilityResponse$Message": "

Provides an explanation for when a domain can't be transferred.

" + } + }, "Nameserver": { "base": "

Name server includes the following elements.

", "refs": { @@ -780,6 +786,13 @@ "ViewBillingRequest$MaxItems": "

The number of billing records to be returned.

Default: 20

" } }, + "Password": { + "base": null, + "refs": { + "AcceptDomainTransferFromAnotherAwsAccountRequest$Password": "

The password that was returned by the TransferDomainToAnotherAwsAccount request.

", + "TransferDomainToAnotherAwsAccountResponse$Password": "

To finish transferring a domain to another Amazon Web Services account, the account that the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount request. The request must include the value of the Password element that was returned in the TransferDomainToAnotherAwsAccount response.

" + } + }, "Price": { "base": null, "refs": { @@ -863,6 +876,12 @@ "refs": { } }, + "RequestId": { + "base": null, + "refs": { + "DuplicateRequest$requestId": "

ID of the request operation.

" + } + }, "Reseller": { "base": null, "refs": { @@ -923,12 +942,10 @@ "String": { "base": null, "refs": { - "AcceptDomainTransferFromAnotherAwsAccountRequest$Password": "

The password that was returned by the TransferDomainToAnotherAwsAccount request.

", "DisassociateDelegationSignerFromDomainRequest$Id": "

An internal identification number assigned to each DS record after it’s created. You can retrieve it as part of DNSSEC information returned by GetDomainDetail.

", "DnssecKey$Digest": "

The delegation signer digest.

Digest is calculated from the public key provided using specified digest algorithm and this digest is the actual value returned from the registry nameservers as the value of DS records.

", "DnssecKey$Id": "

An ID assigned to each DS record created by AssociateDelegationSignerToDomain.

", - "DomainSuggestion$Availability": "

Whether the domain name is available for registering.

You can register only the domains that are designated as AVAILABLE.

Valid values:

AVAILABLE

The domain name is available.

AVAILABLE_RESERVED

The domain name is reserved under specific conditions.

AVAILABLE_PREORDER

The domain name is available and can be preordered.

DONT_KNOW

The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

PENDING

The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

RESERVED

The domain name has been reserved for another person or organization.

UNAVAILABLE

The domain name is not available.

UNAVAILABLE_PREMIUM

The domain name is not available.

UNAVAILABLE_RESTRICTED

The domain name is forbidden.

", - "TransferDomainToAnotherAwsAccountResponse$Password": "

To finish transferring a domain to another Amazon Web Services account, the account that the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount request. The request must include the value of the Password element that was returned in the TransferDomainToAnotherAwsAccount response.

" + "DomainSuggestion$Availability": "

Whether the domain name is available for registering.

You can register only the domains that are designated as AVAILABLE.

Valid values:

AVAILABLE

The domain name is available.

AVAILABLE_RESERVED

The domain name is reserved under specific conditions.

AVAILABLE_PREORDER

The domain name is available and can be preordered.

DONT_KNOW

The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

PENDING

The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

RESERVED

The domain name has been reserved for another person or organization.

UNAVAILABLE

The domain name is not available.

UNAVAILABLE_PREMIUM

The domain name is not available.

UNAVAILABLE_RESTRICTED

The domain name is forbidden.

" } }, "TLDRulesViolation": { @@ -1012,7 +1029,7 @@ } }, "Transferable": { - "base": "

Whether the domain name can be transferred to Route 53.

You can transfer only domains that have a value of TRANSFERABLE or Transferable.

Valid values:

TRANSFERABLE

The domain name can be transferred to Route 53.

UNTRANSFERRABLE

The domain name can't be transferred to Route 53.

DONT_KNOW

Reserved for future use.

DOMAIN_IN_OWN_ACCOUNT

The domain already exists in the current Amazon Web Services account.

DOMAIN_IN_ANOTHER_ACCOUNT

the domain exists in another Amazon Web Services account.

PREMIUM_DOMAIN

Premium domain transfer is not supported.

", + "base": "

Whether the domain name can be transferred to Route 53.

You can transfer only domains that have a value of TRANSFERABLE or Transferable.

Valid values:

TRANSFERABLE

The domain name can be transferred to Route 53.

UNTRANSFERRABLE

The domain name can't be transferred to Route 53.

DONT_KNOW

Reserved for future use.

DOMAIN_IN_OWN_ACCOUNT

The domain already exists in the current Amazon Web Services account.

DOMAIN_IN_ANOTHER_ACCOUNT

The domain exists in another Amazon Web Services account.

PREMIUM_DOMAIN

Premium domain transfer is not supported.

", "refs": { "DomainTransferability$Transferable": null } diff --git a/apis/route53domains/2014-05-15/endpoint-rule-set-1.json b/apis/route53domains/2014-05-15/endpoint-rule-set-1.json index 3ccf51cbf5b..3f5f8783314 100644 --- a/apis/route53domains/2014-05-15/endpoint-rule-set-1.json +++ b/apis/route53domains/2014-05-15/endpoint-rule-set-1.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,224 +140,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://route53domains-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://route53domains-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://route53domains.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://route53domains.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://route53domains.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/apis/sagemaker/2017-07-24/api-2.json b/apis/sagemaker/2017-07-24/api-2.json index 0708677274b..c3c77a22d8f 100644 --- a/apis/sagemaker/2017-07-24/api-2.json +++ b/apis/sagemaker/2017-07-24/api-2.json @@ -17810,7 +17810,8 @@ "NearestModelName":{"shape":"String"}, "SupportedInstanceTypes":{"shape":"RecommendationJobSupportedInstanceTypes"}, "DataInputConfig":{"shape":"RecommendationJobDataInputConfig"}, - "SupportedEndpointType":{"shape":"RecommendationJobSupportedEndpointType"} + "SupportedEndpointType":{"shape":"RecommendationJobSupportedEndpointType"}, + "SupportedResponseMIMETypes":{"shape":"RecommendationJobSupportedResponseMIMETypes"} } }, "RecommendationJobDataInputConfig":{ @@ -17912,6 +17913,15 @@ "type":"list", "member":{"shape":"String"} }, + "RecommendationJobSupportedResponseMIMEType":{ + "type":"string", + "max":1024, + "pattern":"^[-\\w]+\\/.+$" + }, + "RecommendationJobSupportedResponseMIMETypes":{ + "type":"list", + "member":{"shape":"RecommendationJobSupportedResponseMIMEType"} + }, "RecommendationJobType":{ "type":"string", "enum":[ diff --git a/apis/sagemaker/2017-07-24/docs-2.json b/apis/sagemaker/2017-07-24/docs-2.json index f3b4cd8b863..03bc95bbec1 100644 --- a/apis/sagemaker/2017-07-24/docs-2.json +++ b/apis/sagemaker/2017-07-24/docs-2.json @@ -22,7 +22,7 @@ "CreateEdgeDeploymentPlan": "

Creates an edge deployment plan, consisting of multiple stages. Each stage may have a different deployment configuration and devices.

", "CreateEdgeDeploymentStage": "

Creates a new stage in an existing edge deployment plan.

", "CreateEdgePackagingJob": "

Starts a SageMaker Edge Manager model packaging job. Edge Manager will use the model artifacts from the Amazon Simple Storage Service bucket that you specify. After the model has been packaged, Amazon SageMaker saves the resulting artifacts to an S3 bucket that you specify.

", - "CreateEndpoint": "

Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using SageMaker hosting services.

For an example that calls this method when deploying a model to SageMaker hosting services, see the Create Endpoint example notebook.

You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account.

When it receives the request, SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide.

To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role.

", + "CreateEndpoint": "

Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using SageMaker hosting services.

You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account.

When it receives the request, SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide.

To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role.

", "CreateEndpointConfig": "

Creates an endpoint configuration that SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the CreateModel API, to deploy and the resources that you want SageMaker to provision. Then you call the CreateEndpoint API.

Use this API if you want to use SageMaker hosting services to deploy models into production.

In the request, you define a ProductionVariant, for each model that you want to deploy. Each ProductionVariant parameter also describes the resources that you want SageMaker to provision. This includes the number and type of ML compute instances to deploy.

If you are hosting multiple models, you also assign a VariantWeight to specify how much traffic you want to allocate to each model. For example, suppose that you want to host two models, A and B, and you assign traffic weight 2 for model A and 1 for model B. SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

", "CreateExperiment": "

Creates a SageMaker experiment. An experiment is a collection of trials that are observed, compared and evaluated as a group. A trial is a set of steps, called trial components, that produce a machine learning model.

In the Studio UI, trials are referred to as run groups and trial components are referred to as runs.

The goal of an experiment is to determine the components that produce the best model. Multiple trials are performed, each one isolating and measuring the impact of a change to one or more inputs, while keeping the remaining inputs constant.

When you use SageMaker Studio or the SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the Amazon Web Services SDK for Python (Boto), you must use the logging APIs provided by the SDK.

You can add tags to experiments, trials, trial components and then use the Search API to search for the tags.

To add a description to an experiment, specify the optional Description parameter. To add a description later, or to change the description, call the UpdateExperiment API.

To get a list of all your experiments, call the ListExperiments API. To view an experiment's properties, call the DescribeExperiment API. To get a list of all the trials associated with an experiment, call the ListTrials API. To create a trial call the CreateTrial API.

", "CreateFeatureGroup": "

Create a new FeatureGroup. A FeatureGroup is a group of Features defined in the FeatureStore to describe a Record.

The FeatureGroup defines the schema and features contained in the FeatureGroup. A FeatureGroup definition is composed of a list of Features, a RecordIdentifierFeatureName, an EventTimeFeatureName and configurations for its OnlineStore and OfflineStore. Check Amazon Web Services service quotas to see the FeatureGroups quota for your Amazon Web Services account.

You must include at least one of OnlineStoreConfig and OfflineStoreConfig to create a FeatureGroup.

", @@ -11622,6 +11622,18 @@ "RecommendationJobContainerConfig$SupportedInstanceTypes": "

A list of the instance types that are used to generate inferences in real-time.

" } }, + "RecommendationJobSupportedResponseMIMEType": { + "base": null, + "refs": { + "RecommendationJobSupportedResponseMIMETypes$member": null + } + }, + "RecommendationJobSupportedResponseMIMETypes": { + "base": null, + "refs": { + "RecommendationJobContainerConfig$SupportedResponseMIMETypes": "

The supported MIME types for the output data.

" + } + }, "RecommendationJobType": { "base": null, "refs": { @@ -13341,7 +13353,7 @@ "CreateModelExplainabilityJobDefinitionRequest$Tags": "

(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

", "CreateModelInput$Tags": "

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

", "CreateModelPackageGroupInput$Tags": "

A list of key value pairs associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

", - "CreateModelPackageInput$Tags": "

A list of key value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

", + "CreateModelPackageInput$Tags": "

A list of key value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

If you supply ModelPackageGroupName, your model package belongs to the model group you specify and uses the tags associated with the model group. In this case, you cannot supply a tag argument.

", "CreateModelQualityJobDefinitionRequest$Tags": "

(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

", "CreateMonitoringScheduleRequest$Tags": "

(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

", "CreateNotebookInstanceInput$Tags": "

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

", diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 9421a0874f7..a8808160e0b 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.805.0 (2023-08-15) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.804.0 (2023-08-14) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 494531e9d97..c746f61dea9 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.804.0 +1.805.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 89a1afeb6b1..f249c7a2b0b 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -1067,6 +1067,7 @@ }, "endpoints" : { "ap-south-1" : { }, + "eu-central-1" : { }, "us-east-1" : { } } }, @@ -8020,12 +8021,60 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "inspector2-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "inspector2-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "inspector2-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "inspector2-fips.us-west-2.amazonaws.com" + }, "me-south-1" : { }, "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "us-east-1" : { + "variants" : [ { + "hostname" : "inspector2-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "inspector2-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "inspector2-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "inspector2-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "internetmonitor" : { @@ -21603,8 +21652,32 @@ }, "inspector2" : { "endpoints" : { - "us-gov-east-1" : { }, - "us-gov-west-1" : { } + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "inspector2-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "inspector2-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "variants" : [ { + "hostname" : "inspector2-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "inspector2-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "internetmonitor" : { diff --git a/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md b/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md index e791625734f..393f9047ff4 100644 --- a/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md +++ b/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.24.0 (2023-08-15) +------------------ + +* Feature - Updated API documentation to include additional exceptions. + 1.23.0 (2023-07-11) ------------------ diff --git a/gems/aws-sdk-chimesdkmeetings/VERSION b/gems/aws-sdk-chimesdkmeetings/VERSION index a6c2798a482..53cc1a6f929 100644 --- a/gems/aws-sdk-chimesdkmeetings/VERSION +++ b/gems/aws-sdk-chimesdkmeetings/VERSION @@ -1 +1 @@ -1.23.0 +1.24.0 diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb index 4e08ae284ba..5c51b7c6e29 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb @@ -52,6 +52,6 @@ # @!group service module Aws::ChimeSDKMeetings - GEM_VERSION = '1.23.0' + GEM_VERSION = '1.24.0' end diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb index ecaa912a1f4..7e2c613e87f 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb @@ -1425,7 +1425,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-chimesdkmeetings' - context[:gem_version] = '1.23.0' + context[:gem_version] = '1.24.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb index d701f64fb9b..f9d627cda7f 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb @@ -436,6 +436,8 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) api.add_operation(:create_attendee, Seahorse::Model::Operation.new.tap do |o| @@ -462,6 +464,7 @@ module ClientApi o.input = Shapes::ShapeRef.new(shape: CreateMeetingRequest) o.output = Shapes::ShapeRef.new(shape: CreateMeetingResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) @@ -477,6 +480,7 @@ module ClientApi o.input = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesRequest) o.output = Shapes::ShapeRef.new(shape: CreateMeetingWithAttendeesResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) @@ -572,6 +576,13 @@ module ClientApi o.http_request_uri = "/tags" o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) + o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) @@ -615,6 +626,12 @@ module ClientApi o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) o.output = Shapes::ShapeRef.new(shape: TagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException) end) @@ -626,6 +643,12 @@ module ClientApi o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) @@ -641,6 +664,8 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) end diff --git a/gems/aws-sdk-ec2/CHANGELOG.md b/gems/aws-sdk-ec2/CHANGELOG.md index d914690a4c4..8cb6c4fdbe2 100644 --- a/gems/aws-sdk-ec2/CHANGELOG.md +++ b/gems/aws-sdk-ec2/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.398.0 (2023-08-15) +------------------ + +* Feature - Documentation updates for Elastic Compute Cloud (EC2). + 1.397.0 (2023-08-11) ------------------ diff --git a/gems/aws-sdk-ec2/VERSION b/gems/aws-sdk-ec2/VERSION index 4cabee71e3a..b9e0df398ac 100644 --- a/gems/aws-sdk-ec2/VERSION +++ b/gems/aws-sdk-ec2/VERSION @@ -1 +1 @@ -1.397.0 +1.398.0 diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb index dbcf3a7a376..11f7e0cd8ab 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb @@ -76,6 +76,6 @@ # @!group service module Aws::EC2 - GEM_VERSION = '1.397.0' + GEM_VERSION = '1.398.0' end diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb index 9eeb0a02ac8..0712405d205 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb @@ -6578,8 +6578,7 @@ def create_fleet(params = {}, options = {}) # *Amazon Web Services Transit Gateway Guide*. # # Specify the fields using the `$\{field-id\}` format, separated by - # spaces. For the CLI, surround this parameter value with single quotes - # on Linux or double quotes on Windows. + # spaces. # # # @@ -11827,13 +11826,15 @@ def create_subnet(params = {}, options = {}) req.send_request(options) end - # Creates a subnet CIDR reservation. For information about subnet CIDR - # reservations, see [Subnet CIDR reservations][1] in the *Amazon Virtual - # Private Cloud User Guide*. + # Creates a subnet CIDR reservation. For more information, see [Subnet + # CIDR reservations][1] in the *Amazon Virtual Private Cloud User Guide* + # and [Assign prefixes to network interfaces][2] in the *Amazon Elastic + # Compute Cloud User Guide*. # # # # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html + # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html # # @option params [required, String] :subnet_id # The ID of the subnet. @@ -11842,22 +11843,14 @@ def create_subnet(params = {}, options = {}) # The IPv4 or IPV6 CIDR range to reserve. # # @option params [required, String] :reservation_type - # The type of reservation. - # - # The following are valid values: - # - # * `prefix`: The Amazon EC2 Prefix Delegation feature assigns the IP - # addresses to network interfaces that are associated with an - # instance. For information about Prefix Delegation, see [Prefix - # Delegation for Amazon EC2 network interfaces][1] in the *Amazon - # Elastic Compute Cloud User Guide*. - # - # * `explicit`: You manually assign the IP addresses to resources that - # reside in your subnet. - # + # The type of reservation. The reservation type determines how the + # reserved IP addresses are assigned to resources. # + # * `prefix` - Amazon Web Services assigns the reserved IP addresses to + # network interfaces. # - # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation.html + # * `explicit` - You assign the reserved IP addresses to network + # interfaces. # # @option params [String] :description # The description to assign to the subnet CIDR reservation. @@ -12262,6 +12255,11 @@ def create_traffic_mirror_filter_rule(params = {}, options = {}) # If you do not want to mirror the entire packet, use the `PacketLength` # parameter to specify the number of bytes in each packet to mirror. # + # For sessions with Network Load Balancer (NLB) Traffic Mirror targets + # the default `PacketLength` will be set to 8500. Valid values are + # 1-8500. Setting a `PacketLength` greater than 8500 will result in an + # error response. + # # @option params [required, Integer] :session_number # The session number determines the order in which sessions are # evaluated when an interface is used by multiple sessions. The first @@ -16070,11 +16068,24 @@ def delete_launch_template(params = {}, options = {}) req.send_request(options) end - # Deletes one or more versions of a launch template. You cannot delete - # the default version of a launch template; you must first assign a - # different version as the default. If the default version is the only - # version for the launch template, you must delete the entire launch - # template using DeleteLaunchTemplate. + # Deletes one or more versions of a launch template. + # + # You can't delete the default version of a launch template; you must + # first assign a different version as the default. If the default + # version is the only version for the launch template, you must delete + # the entire launch template using DeleteLaunchTemplate. + # + # You can delete up to 200 launch template versions in a single request. + # To delete more than 200 versions in a single request, use + # DeleteLaunchTemplate, which deletes the launch template and all of its + # versions. + # + # For more information, see [Delete a launch template version][1] in the + # *EC2 User Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html#delete-launch-template-version # # @option params [Boolean] :dry_run # Checks whether you have the required permissions for the action, @@ -16096,6 +16107,7 @@ def delete_launch_template(params = {}, options = {}) # # @option params [required, Array] :versions # The version numbers of one or more launch template versions to delete. + # You can specify up to 200 launch template version numbers. # # @return [Types::DeleteLaunchTemplateVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -24503,7 +24515,7 @@ def describe_instance_types(params = {}, options = {}) # # * `block-device-mapping.attach-time` - The attach time for an EBS # volume mapped to the instance, for example, - # `2010-09-15T17:15:20.000Z`. + # `2022-09-15T17:15:20.000Z`. # # * `block-device-mapping.delete-on-termination` - A Boolean that # indicates whether the EBS volume is deleted on instance termination. @@ -24516,14 +24528,39 @@ def describe_instance_types(params = {}, options = {}) # # * `block-device-mapping.volume-id` - The volume ID of the EBS volume. # + # * `boot-mode` - The boot mode that was specified by the AMI + # (`legacy-bios` \| `uefi` \| `uefi-preferred`). + # # * `capacity-reservation-id` - The ID of the Capacity Reservation into # which the instance was launched. # + # * `capacity-reservation-specification.capacity-reservation-preference` + # - The instance's Capacity Reservation preference (`open` \| + # `none`). + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` + # - The ID of the targeted Capacity Reservation. + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` + # - The ARN of the targeted Capacity Reservation group. + # # * `client-token` - The idempotency token you provided when you # launched the instance. # + # * `current-instance-boot-mode` - The boot mode that is used to launch + # the instance at launch or start (`legacy-bios` \| `uefi`). + # # * `dns-name` - The public DNS name of the instance. # + # * `ebs-optimized` - A Boolean that indicates whether the instance is + # optimized for Amazon EBS I/O. + # + # * `ena-support` - A Boolean that indicates whether the instance is + # enabled for enhanced networking with ENA. + # + # * `enclave-options.enabled` - A Boolean that indicates whether the + # instance is enabled for Amazon Web Services Nitro Enclaves. + # # * `hibernation-options.configured` - A Boolean that indicates whether # the instance is enabled for hibernation. A value of `true` means # that the instance is enabled for hibernation. @@ -24537,6 +24574,12 @@ def describe_instance_types(params = {}, options = {}) # * `iam-instance-profile.arn` - The instance profile associated with # the instance. Specified as an ARN. # + # * `iam-instance-profile.id` - The instance profile associated with the + # instance. Specified as an ID. + # + # * `iam-instance-profile.name` - The instance profile associated with + # the instance. Specified as an name. + # # * `image-id` - The ID of the image used to launch the instance. # # * `instance-id` - The ID of the instance. @@ -24563,6 +24606,8 @@ def describe_instance_types(params = {}, options = {}) # # * `ip-address` - The public IPv4 address of the instance. # + # * `ipv6-address` - The IPv6 address of the instance. + # # * `kernel-id` - The kernel ID. # # * `key-name` - The name of the key pair used when the instance was @@ -24577,29 +24622,43 @@ def describe_instance_types(params = {}, options = {}) # example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), # for example, `2021-09-29T*`, which matches an entire day. # - # * `metadata-options.http-tokens` - The metadata request authorization - # state (`optional` \| `required`) + # * `license-pool` - + # + # * `maintenance-options.auto-recovery` - The current automatic recovery + # behavior of the instance (`disabled` \| `default`). + # + # * `metadata-options.http-endpoint` - The status of access to the HTTP + # metadata endpoint on your instance (`enabled` \| `disabled`) + # + # * `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 + # endpoint is enabled (`disabled` \| `enabled`). + # + # * `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 + # endpoint is enabled (`disabled` \| `enabled`). # # * `metadata-options.http-put-response-hop-limit` - The HTTP metadata # request put response hop limit (integer, possible values `1` to # `64`) # - # * `metadata-options.http-endpoint` - The status of access to the HTTP - # metadata endpoint on your instance (`enabled` \| `disabled`) + # * `metadata-options.http-tokens` - The metadata request authorization + # state (`optional` \| `required`) # # * `metadata-options.instance-metadata-tags` - The status of access to # instance tags from the instance metadata (`enabled` \| `disabled`) # + # * `metadata-options.state` - The state of the metadata option changes + # (`pending` \| `applied`). + # # * `monitoring-state` - Indicates whether detailed monitoring is # enabled (`disabled` \| `enabled`). # - # * `network-interface.addresses.private-ip-address` - The private IPv4 - # address associated with the network interface. - # # * `network-interface.addresses.primary` - Specifies whether the IPv4 # address of the network interface is the primary private IPv4 # address. # + # * `network-interface.addresses.private-ip-address` - The private IPv4 + # address associated with the network interface. + # # * `network-interface.addresses.association.public-ip` - The ID of the # association of an Elastic IP address (IPv4) with a network # interface. @@ -24704,8 +24763,31 @@ def describe_instance_types(params = {}, options = {}) # * `platform` - The platform. To list only Windows instances, use # `windows`. # + # * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL + # Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux + # with HA` \| `Red Hat Enterprise Linux with SQL Server Standard and + # HA` \| `Red Hat Enterprise Linux with SQL Server Enterprise and HA` + # \| `Red Hat Enterprise Linux with SQL Server Standard` \| `Red Hat + # Enterprise Linux with SQL Server Web` \| `Red Hat Enterprise Linux + # with SQL Server Enterprise` \| `SQL Server Enterprise` \| `SQL + # Server Standard` \| `SQL Server Web` \| `SUSE Linux` \| `Ubuntu Pro` + # \| `Windows` \| `Windows BYOL` \| `Windows with SQL Server + # Enterprise` \| `Windows with SQL Server Standard` \| `Windows with + # SQL Server Web`). + # # * `private-dns-name` - The private IPv4 DNS name of the instance. # + # * `private-dns-name-options.enable-resource-name-dns-a-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS A records. + # + # * `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS AAAA records. + # + # * `private-dns-name-options.hostname-type` - The type of hostname + # (`ip-name` \| `resource-name`). + # # * `private-ip-address` - The private IPv4 address of the instance. # # * `product-code` - The product code associated with the AMI used to @@ -24766,6 +24848,21 @@ def describe_instance_types(params = {}, options = {}) # * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \| # `host`). # + # * `tpm-support` - Indicates if the instance is configured for NitroTPM + # support (`v2.0`). + # + # * `usage-operation` - The usage operation value for the instance + # (`RunInstances` \| `RunInstances:00g0` \| `RunInstances:0010` \| + # `RunInstances:1010` \| `RunInstances:1014` \| `RunInstances:1110` \| + # `RunInstances:0014` \| `RunInstances:0210` \| `RunInstances:0110` \| + # `RunInstances:0100` \| `RunInstances:0004` \| `RunInstances:0200` \| + # `RunInstances:000g` \| `RunInstances:0g00` \| `RunInstances:0002` \| + # `RunInstances:0800` \| `RunInstances:0102` \| `RunInstances:0006` \| + # `RunInstances:0202`). + # + # * `usage-operation-update-time` - The time that the usage operation + # was last updated, for example, `2022-09-15T17:15:20.000Z`. + # # * `virtualization-type` - The virtualization type of the instance # (`paravirtual` \| `hvm`). # @@ -47202,6 +47299,11 @@ def modify_traffic_mirror_filter_rule(params = {}, options = {}) # target. Do not specify this parameter when you want to mirror the # entire packet. # + # For sessions with Network Load Balancer (NLB) traffic mirror targets, + # the default `PacketLength` will be set to 8500. Valid values are + # 1-8500. Setting a `PacketLength` greater than 8500 will result in an + # error response. + # # @option params [Integer] :session_number # The session number determines the order in which sessions are # evaluated when an interface is used by multiple sessions. The first @@ -56609,7 +56711,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-ec2' - context[:gem_version] = '1.397.0' + context[:gem_version] = '1.398.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/placement_group.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/placement_group.rb index 85f6d6069a0..8b888e710c5 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/placement_group.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/placement_group.rb @@ -265,7 +265,7 @@ def delete(options = {}) # # * `block-device-mapping.attach-time` - The attach time for an EBS # volume mapped to the instance, for example, - # `2010-09-15T17:15:20.000Z`. + # `2022-09-15T17:15:20.000Z`. # # * `block-device-mapping.delete-on-termination` - A Boolean that # indicates whether the EBS volume is deleted on instance termination. @@ -278,14 +278,39 @@ def delete(options = {}) # # * `block-device-mapping.volume-id` - The volume ID of the EBS volume. # + # * `boot-mode` - The boot mode that was specified by the AMI + # (`legacy-bios` \| `uefi` \| `uefi-preferred`). + # # * `capacity-reservation-id` - The ID of the Capacity Reservation into # which the instance was launched. # + # * `capacity-reservation-specification.capacity-reservation-preference` + # - The instance's Capacity Reservation preference (`open` \| + # `none`). + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` + # - The ID of the targeted Capacity Reservation. + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` + # - The ARN of the targeted Capacity Reservation group. + # # * `client-token` - The idempotency token you provided when you # launched the instance. # + # * `current-instance-boot-mode` - The boot mode that is used to launch + # the instance at launch or start (`legacy-bios` \| `uefi`). + # # * `dns-name` - The public DNS name of the instance. # + # * `ebs-optimized` - A Boolean that indicates whether the instance is + # optimized for Amazon EBS I/O. + # + # * `ena-support` - A Boolean that indicates whether the instance is + # enabled for enhanced networking with ENA. + # + # * `enclave-options.enabled` - A Boolean that indicates whether the + # instance is enabled for Amazon Web Services Nitro Enclaves. + # # * `hibernation-options.configured` - A Boolean that indicates whether # the instance is enabled for hibernation. A value of `true` means # that the instance is enabled for hibernation. @@ -299,6 +324,12 @@ def delete(options = {}) # * `iam-instance-profile.arn` - The instance profile associated with # the instance. Specified as an ARN. # + # * `iam-instance-profile.id` - The instance profile associated with the + # instance. Specified as an ID. + # + # * `iam-instance-profile.name` - The instance profile associated with + # the instance. Specified as an name. + # # * `image-id` - The ID of the image used to launch the instance. # # * `instance-id` - The ID of the instance. @@ -325,6 +356,8 @@ def delete(options = {}) # # * `ip-address` - The public IPv4 address of the instance. # + # * `ipv6-address` - The IPv6 address of the instance. + # # * `kernel-id` - The kernel ID. # # * `key-name` - The name of the key pair used when the instance was @@ -339,29 +372,43 @@ def delete(options = {}) # example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), # for example, `2021-09-29T*`, which matches an entire day. # - # * `metadata-options.http-tokens` - The metadata request authorization - # state (`optional` \| `required`) + # * `license-pool` - + # + # * `maintenance-options.auto-recovery` - The current automatic recovery + # behavior of the instance (`disabled` \| `default`). + # + # * `metadata-options.http-endpoint` - The status of access to the HTTP + # metadata endpoint on your instance (`enabled` \| `disabled`) + # + # * `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 + # endpoint is enabled (`disabled` \| `enabled`). + # + # * `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 + # endpoint is enabled (`disabled` \| `enabled`). # # * `metadata-options.http-put-response-hop-limit` - The HTTP metadata # request put response hop limit (integer, possible values `1` to # `64`) # - # * `metadata-options.http-endpoint` - The status of access to the HTTP - # metadata endpoint on your instance (`enabled` \| `disabled`) + # * `metadata-options.http-tokens` - The metadata request authorization + # state (`optional` \| `required`) # # * `metadata-options.instance-metadata-tags` - The status of access to # instance tags from the instance metadata (`enabled` \| `disabled`) # + # * `metadata-options.state` - The state of the metadata option changes + # (`pending` \| `applied`). + # # * `monitoring-state` - Indicates whether detailed monitoring is # enabled (`disabled` \| `enabled`). # - # * `network-interface.addresses.private-ip-address` - The private IPv4 - # address associated with the network interface. - # # * `network-interface.addresses.primary` - Specifies whether the IPv4 # address of the network interface is the primary private IPv4 # address. # + # * `network-interface.addresses.private-ip-address` - The private IPv4 + # address associated with the network interface. + # # * `network-interface.addresses.association.public-ip` - The ID of the # association of an Elastic IP address (IPv4) with a network # interface. @@ -466,8 +513,31 @@ def delete(options = {}) # * `platform` - The platform. To list only Windows instances, use # `windows`. # + # * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL + # Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux + # with HA` \| `Red Hat Enterprise Linux with SQL Server Standard and + # HA` \| `Red Hat Enterprise Linux with SQL Server Enterprise and HA` + # \| `Red Hat Enterprise Linux with SQL Server Standard` \| `Red Hat + # Enterprise Linux with SQL Server Web` \| `Red Hat Enterprise Linux + # with SQL Server Enterprise` \| `SQL Server Enterprise` \| `SQL + # Server Standard` \| `SQL Server Web` \| `SUSE Linux` \| `Ubuntu Pro` + # \| `Windows` \| `Windows BYOL` \| `Windows with SQL Server + # Enterprise` \| `Windows with SQL Server Standard` \| `Windows with + # SQL Server Web`). + # # * `private-dns-name` - The private IPv4 DNS name of the instance. # + # * `private-dns-name-options.enable-resource-name-dns-a-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS A records. + # + # * `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS AAAA records. + # + # * `private-dns-name-options.hostname-type` - The type of hostname + # (`ip-name` \| `resource-name`). + # # * `private-ip-address` - The private IPv4 address of the instance. # # * `product-code` - The product code associated with the AMI used to @@ -528,6 +598,21 @@ def delete(options = {}) # * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \| # `host`). # + # * `tpm-support` - Indicates if the instance is configured for NitroTPM + # support (`v2.0`). + # + # * `usage-operation` - The usage operation value for the instance + # (`RunInstances` \| `RunInstances:00g0` \| `RunInstances:0010` \| + # `RunInstances:1010` \| `RunInstances:1014` \| `RunInstances:1110` \| + # `RunInstances:0014` \| `RunInstances:0210` \| `RunInstances:0110` \| + # `RunInstances:0100` \| `RunInstances:0004` \| `RunInstances:0200` \| + # `RunInstances:000g` \| `RunInstances:0g00` \| `RunInstances:0002` \| + # `RunInstances:0800` \| `RunInstances:0102` \| `RunInstances:0006` \| + # `RunInstances:0202`). + # + # * `usage-operation-update-time` - The time that the usage operation + # was last updated, for example, `2022-09-15T17:15:20.000Z`. + # # * `virtualization-type` - The virtualization type of the instance # (`paravirtual` \| `hvm`). # diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/resource.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/resource.rb index ad8fba73c57..619cc607b56 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/resource.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/resource.rb @@ -2377,7 +2377,7 @@ def instance(id) # # * `block-device-mapping.attach-time` - The attach time for an EBS # volume mapped to the instance, for example, - # `2010-09-15T17:15:20.000Z`. + # `2022-09-15T17:15:20.000Z`. # # * `block-device-mapping.delete-on-termination` - A Boolean that # indicates whether the EBS volume is deleted on instance termination. @@ -2390,14 +2390,39 @@ def instance(id) # # * `block-device-mapping.volume-id` - The volume ID of the EBS volume. # + # * `boot-mode` - The boot mode that was specified by the AMI + # (`legacy-bios` \| `uefi` \| `uefi-preferred`). + # # * `capacity-reservation-id` - The ID of the Capacity Reservation into # which the instance was launched. # + # * `capacity-reservation-specification.capacity-reservation-preference` + # - The instance's Capacity Reservation preference (`open` \| + # `none`). + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` + # - The ID of the targeted Capacity Reservation. + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` + # - The ARN of the targeted Capacity Reservation group. + # # * `client-token` - The idempotency token you provided when you # launched the instance. # + # * `current-instance-boot-mode` - The boot mode that is used to launch + # the instance at launch or start (`legacy-bios` \| `uefi`). + # # * `dns-name` - The public DNS name of the instance. # + # * `ebs-optimized` - A Boolean that indicates whether the instance is + # optimized for Amazon EBS I/O. + # + # * `ena-support` - A Boolean that indicates whether the instance is + # enabled for enhanced networking with ENA. + # + # * `enclave-options.enabled` - A Boolean that indicates whether the + # instance is enabled for Amazon Web Services Nitro Enclaves. + # # * `hibernation-options.configured` - A Boolean that indicates whether # the instance is enabled for hibernation. A value of `true` means # that the instance is enabled for hibernation. @@ -2411,6 +2436,12 @@ def instance(id) # * `iam-instance-profile.arn` - The instance profile associated with # the instance. Specified as an ARN. # + # * `iam-instance-profile.id` - The instance profile associated with the + # instance. Specified as an ID. + # + # * `iam-instance-profile.name` - The instance profile associated with + # the instance. Specified as an name. + # # * `image-id` - The ID of the image used to launch the instance. # # * `instance-id` - The ID of the instance. @@ -2437,6 +2468,8 @@ def instance(id) # # * `ip-address` - The public IPv4 address of the instance. # + # * `ipv6-address` - The IPv6 address of the instance. + # # * `kernel-id` - The kernel ID. # # * `key-name` - The name of the key pair used when the instance was @@ -2451,29 +2484,43 @@ def instance(id) # example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), # for example, `2021-09-29T*`, which matches an entire day. # - # * `metadata-options.http-tokens` - The metadata request authorization - # state (`optional` \| `required`) + # * `license-pool` - + # + # * `maintenance-options.auto-recovery` - The current automatic recovery + # behavior of the instance (`disabled` \| `default`). + # + # * `metadata-options.http-endpoint` - The status of access to the HTTP + # metadata endpoint on your instance (`enabled` \| `disabled`) + # + # * `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 + # endpoint is enabled (`disabled` \| `enabled`). + # + # * `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 + # endpoint is enabled (`disabled` \| `enabled`). # # * `metadata-options.http-put-response-hop-limit` - The HTTP metadata # request put response hop limit (integer, possible values `1` to # `64`) # - # * `metadata-options.http-endpoint` - The status of access to the HTTP - # metadata endpoint on your instance (`enabled` \| `disabled`) + # * `metadata-options.http-tokens` - The metadata request authorization + # state (`optional` \| `required`) # # * `metadata-options.instance-metadata-tags` - The status of access to # instance tags from the instance metadata (`enabled` \| `disabled`) # + # * `metadata-options.state` - The state of the metadata option changes + # (`pending` \| `applied`). + # # * `monitoring-state` - Indicates whether detailed monitoring is # enabled (`disabled` \| `enabled`). # - # * `network-interface.addresses.private-ip-address` - The private IPv4 - # address associated with the network interface. - # # * `network-interface.addresses.primary` - Specifies whether the IPv4 # address of the network interface is the primary private IPv4 # address. # + # * `network-interface.addresses.private-ip-address` - The private IPv4 + # address associated with the network interface. + # # * `network-interface.addresses.association.public-ip` - The ID of the # association of an Elastic IP address (IPv4) with a network # interface. @@ -2578,8 +2625,31 @@ def instance(id) # * `platform` - The platform. To list only Windows instances, use # `windows`. # + # * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL + # Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux + # with HA` \| `Red Hat Enterprise Linux with SQL Server Standard and + # HA` \| `Red Hat Enterprise Linux with SQL Server Enterprise and HA` + # \| `Red Hat Enterprise Linux with SQL Server Standard` \| `Red Hat + # Enterprise Linux with SQL Server Web` \| `Red Hat Enterprise Linux + # with SQL Server Enterprise` \| `SQL Server Enterprise` \| `SQL + # Server Standard` \| `SQL Server Web` \| `SUSE Linux` \| `Ubuntu Pro` + # \| `Windows` \| `Windows BYOL` \| `Windows with SQL Server + # Enterprise` \| `Windows with SQL Server Standard` \| `Windows with + # SQL Server Web`). + # # * `private-dns-name` - The private IPv4 DNS name of the instance. # + # * `private-dns-name-options.enable-resource-name-dns-a-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS A records. + # + # * `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS AAAA records. + # + # * `private-dns-name-options.hostname-type` - The type of hostname + # (`ip-name` \| `resource-name`). + # # * `private-ip-address` - The private IPv4 address of the instance. # # * `product-code` - The product code associated with the AMI used to @@ -2640,6 +2710,21 @@ def instance(id) # * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \| # `host`). # + # * `tpm-support` - Indicates if the instance is configured for NitroTPM + # support (`v2.0`). + # + # * `usage-operation` - The usage operation value for the instance + # (`RunInstances` \| `RunInstances:00g0` \| `RunInstances:0010` \| + # `RunInstances:1010` \| `RunInstances:1014` \| `RunInstances:1110` \| + # `RunInstances:0014` \| `RunInstances:0210` \| `RunInstances:0110` \| + # `RunInstances:0100` \| `RunInstances:0004` \| `RunInstances:0200` \| + # `RunInstances:000g` \| `RunInstances:0g00` \| `RunInstances:0002` \| + # `RunInstances:0800` \| `RunInstances:0102` \| `RunInstances:0006` \| + # `RunInstances:0202`). + # + # * `usage-operation-update-time` - The time that the usage operation + # was last updated, for example, `2022-09-15T17:15:20.000Z`. + # # * `virtualization-type` - The virtualization type of the instance # (`paravirtual` \| `hvm`). # diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/subnet.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/subnet.rb index 7d3f69255a8..0ce75c5c76d 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/subnet.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/subnet.rb @@ -1159,7 +1159,7 @@ def delete(options = {}) # # * `block-device-mapping.attach-time` - The attach time for an EBS # volume mapped to the instance, for example, - # `2010-09-15T17:15:20.000Z`. + # `2022-09-15T17:15:20.000Z`. # # * `block-device-mapping.delete-on-termination` - A Boolean that # indicates whether the EBS volume is deleted on instance termination. @@ -1172,14 +1172,39 @@ def delete(options = {}) # # * `block-device-mapping.volume-id` - The volume ID of the EBS volume. # + # * `boot-mode` - The boot mode that was specified by the AMI + # (`legacy-bios` \| `uefi` \| `uefi-preferred`). + # # * `capacity-reservation-id` - The ID of the Capacity Reservation into # which the instance was launched. # + # * `capacity-reservation-specification.capacity-reservation-preference` + # - The instance's Capacity Reservation preference (`open` \| + # `none`). + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` + # - The ID of the targeted Capacity Reservation. + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` + # - The ARN of the targeted Capacity Reservation group. + # # * `client-token` - The idempotency token you provided when you # launched the instance. # + # * `current-instance-boot-mode` - The boot mode that is used to launch + # the instance at launch or start (`legacy-bios` \| `uefi`). + # # * `dns-name` - The public DNS name of the instance. # + # * `ebs-optimized` - A Boolean that indicates whether the instance is + # optimized for Amazon EBS I/O. + # + # * `ena-support` - A Boolean that indicates whether the instance is + # enabled for enhanced networking with ENA. + # + # * `enclave-options.enabled` - A Boolean that indicates whether the + # instance is enabled for Amazon Web Services Nitro Enclaves. + # # * `hibernation-options.configured` - A Boolean that indicates whether # the instance is enabled for hibernation. A value of `true` means # that the instance is enabled for hibernation. @@ -1193,6 +1218,12 @@ def delete(options = {}) # * `iam-instance-profile.arn` - The instance profile associated with # the instance. Specified as an ARN. # + # * `iam-instance-profile.id` - The instance profile associated with the + # instance. Specified as an ID. + # + # * `iam-instance-profile.name` - The instance profile associated with + # the instance. Specified as an name. + # # * `image-id` - The ID of the image used to launch the instance. # # * `instance-id` - The ID of the instance. @@ -1219,6 +1250,8 @@ def delete(options = {}) # # * `ip-address` - The public IPv4 address of the instance. # + # * `ipv6-address` - The IPv6 address of the instance. + # # * `kernel-id` - The kernel ID. # # * `key-name` - The name of the key pair used when the instance was @@ -1233,29 +1266,43 @@ def delete(options = {}) # example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), # for example, `2021-09-29T*`, which matches an entire day. # - # * `metadata-options.http-tokens` - The metadata request authorization - # state (`optional` \| `required`) + # * `license-pool` - + # + # * `maintenance-options.auto-recovery` - The current automatic recovery + # behavior of the instance (`disabled` \| `default`). + # + # * `metadata-options.http-endpoint` - The status of access to the HTTP + # metadata endpoint on your instance (`enabled` \| `disabled`) + # + # * `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 + # endpoint is enabled (`disabled` \| `enabled`). + # + # * `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 + # endpoint is enabled (`disabled` \| `enabled`). # # * `metadata-options.http-put-response-hop-limit` - The HTTP metadata # request put response hop limit (integer, possible values `1` to # `64`) # - # * `metadata-options.http-endpoint` - The status of access to the HTTP - # metadata endpoint on your instance (`enabled` \| `disabled`) + # * `metadata-options.http-tokens` - The metadata request authorization + # state (`optional` \| `required`) # # * `metadata-options.instance-metadata-tags` - The status of access to # instance tags from the instance metadata (`enabled` \| `disabled`) # + # * `metadata-options.state` - The state of the metadata option changes + # (`pending` \| `applied`). + # # * `monitoring-state` - Indicates whether detailed monitoring is # enabled (`disabled` \| `enabled`). # - # * `network-interface.addresses.private-ip-address` - The private IPv4 - # address associated with the network interface. - # # * `network-interface.addresses.primary` - Specifies whether the IPv4 # address of the network interface is the primary private IPv4 # address. # + # * `network-interface.addresses.private-ip-address` - The private IPv4 + # address associated with the network interface. + # # * `network-interface.addresses.association.public-ip` - The ID of the # association of an Elastic IP address (IPv4) with a network # interface. @@ -1360,8 +1407,31 @@ def delete(options = {}) # * `platform` - The platform. To list only Windows instances, use # `windows`. # + # * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL + # Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux + # with HA` \| `Red Hat Enterprise Linux with SQL Server Standard and + # HA` \| `Red Hat Enterprise Linux with SQL Server Enterprise and HA` + # \| `Red Hat Enterprise Linux with SQL Server Standard` \| `Red Hat + # Enterprise Linux with SQL Server Web` \| `Red Hat Enterprise Linux + # with SQL Server Enterprise` \| `SQL Server Enterprise` \| `SQL + # Server Standard` \| `SQL Server Web` \| `SUSE Linux` \| `Ubuntu Pro` + # \| `Windows` \| `Windows BYOL` \| `Windows with SQL Server + # Enterprise` \| `Windows with SQL Server Standard` \| `Windows with + # SQL Server Web`). + # # * `private-dns-name` - The private IPv4 DNS name of the instance. # + # * `private-dns-name-options.enable-resource-name-dns-a-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS A records. + # + # * `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS AAAA records. + # + # * `private-dns-name-options.hostname-type` - The type of hostname + # (`ip-name` \| `resource-name`). + # # * `private-ip-address` - The private IPv4 address of the instance. # # * `product-code` - The product code associated with the AMI used to @@ -1422,6 +1492,21 @@ def delete(options = {}) # * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \| # `host`). # + # * `tpm-support` - Indicates if the instance is configured for NitroTPM + # support (`v2.0`). + # + # * `usage-operation` - The usage operation value for the instance + # (`RunInstances` \| `RunInstances:00g0` \| `RunInstances:0010` \| + # `RunInstances:1010` \| `RunInstances:1014` \| `RunInstances:1110` \| + # `RunInstances:0014` \| `RunInstances:0210` \| `RunInstances:0110` \| + # `RunInstances:0100` \| `RunInstances:0004` \| `RunInstances:0200` \| + # `RunInstances:000g` \| `RunInstances:0g00` \| `RunInstances:0002` \| + # `RunInstances:0800` \| `RunInstances:0102` \| `RunInstances:0006` \| + # `RunInstances:0202`). + # + # * `usage-operation-update-time` - The time that the usage operation + # was last updated, for example, `2022-09-15T17:15:20.000Z`. + # # * `virtualization-type` - The virtualization type of the instance # (`paravirtual` \| `hvm`). # diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb index d554f9ca709..b4b6183c421 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb @@ -7573,8 +7573,7 @@ class CreateFleetResult < Struct.new( # *Amazon Web Services Transit Gateway Guide*. # # Specify the fields using the `$\{field-id\}` format, separated by - # spaces. For the CLI, surround this parameter value with single - # quotes on Linux or double quotes on Windows. + # spaces. # # # @@ -10226,22 +10225,14 @@ class CreateStoreImageTaskResult < Struct.new( # @return [String] # # @!attribute [rw] reservation_type - # The type of reservation. - # - # The following are valid values: - # - # * `prefix`: The Amazon EC2 Prefix Delegation feature assigns the IP - # addresses to network interfaces that are associated with an - # instance. For information about Prefix Delegation, see [Prefix - # Delegation for Amazon EC2 network interfaces][1] in the *Amazon - # Elastic Compute Cloud User Guide*. + # The type of reservation. The reservation type determines how the + # reserved IP addresses are assigned to resources. # - # * `explicit`: You manually assign the IP addresses to resources that - # reside in your subnet. + # * `prefix` - Amazon Web Services assigns the reserved IP addresses + # to network interfaces. # - # - # - # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation.html + # * `explicit` - You assign the reserved IP addresses to network + # interfaces. # @return [String] # # @!attribute [rw] description @@ -10602,6 +10593,11 @@ class CreateTrafficMirrorFilterRuleResult < Struct.new( # If you do not want to mirror the entire packet, use the # `PacketLength` parameter to specify the number of bytes in each # packet to mirror. + # + # For sessions with Network Load Balancer (NLB) Traffic Mirror targets + # the default `PacketLength` will be set to 8500. Valid values are + # 1-8500. Setting a `PacketLength` greater than 8500 will result in an + # error response. # @return [Integer] # # @!attribute [rw] session_number @@ -13573,7 +13569,7 @@ class DeleteLaunchTemplateResult < Struct.new( # # @!attribute [rw] versions # The version numbers of one or more launch template versions to - # delete. + # delete. You can specify up to 200 launch template version numbers. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsRequest AWS API Documentation @@ -19517,7 +19513,7 @@ class DescribeInstanceTypesResult < Struct.new( # # * `block-device-mapping.attach-time` - The attach time for an EBS # volume mapped to the instance, for example, - # `2010-09-15T17:15:20.000Z`. + # `2022-09-15T17:15:20.000Z`. # # * `block-device-mapping.delete-on-termination` - A Boolean that # indicates whether the EBS volume is deleted on instance @@ -19532,14 +19528,39 @@ class DescribeInstanceTypesResult < Struct.new( # * `block-device-mapping.volume-id` - The volume ID of the EBS # volume. # + # * `boot-mode` - The boot mode that was specified by the AMI + # (`legacy-bios` \| `uefi` \| `uefi-preferred`). + # # * `capacity-reservation-id` - The ID of the Capacity Reservation # into which the instance was launched. # + # * `capacity-reservation-specification.capacity-reservation-preference` + # - The instance's Capacity Reservation preference (`open` \| + # `none`). + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` + # - The ID of the targeted Capacity Reservation. + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` + # - The ARN of the targeted Capacity Reservation group. + # # * `client-token` - The idempotency token you provided when you # launched the instance. # + # * `current-instance-boot-mode` - The boot mode that is used to + # launch the instance at launch or start (`legacy-bios` \| `uefi`). + # # * `dns-name` - The public DNS name of the instance. # + # * `ebs-optimized` - A Boolean that indicates whether the instance is + # optimized for Amazon EBS I/O. + # + # * `ena-support` - A Boolean that indicates whether the instance is + # enabled for enhanced networking with ENA. + # + # * `enclave-options.enabled` - A Boolean that indicates whether the + # instance is enabled for Amazon Web Services Nitro Enclaves. + # # * `hibernation-options.configured` - A Boolean that indicates # whether the instance is enabled for hibernation. A value of `true` # means that the instance is enabled for hibernation. @@ -19554,6 +19575,12 @@ class DescribeInstanceTypesResult < Struct.new( # * `iam-instance-profile.arn` - The instance profile associated with # the instance. Specified as an ARN. # + # * `iam-instance-profile.id` - The instance profile associated with + # the instance. Specified as an ID. + # + # * `iam-instance-profile.name` - The instance profile associated with + # the instance. Specified as an name. + # # * `image-id` - The ID of the image used to launch the instance. # # * `instance-id` - The ID of the instance. @@ -19581,6 +19608,8 @@ class DescribeInstanceTypesResult < Struct.new( # # * `ip-address` - The public IPv4 address of the instance. # + # * `ipv6-address` - The IPv6 address of the instance. + # # * `kernel-id` - The kernel ID. # # * `key-name` - The name of the key pair used when the instance was @@ -19595,30 +19624,44 @@ class DescribeInstanceTypesResult < Struct.new( # for example, `2021-09-29T11:04:43.305Z`. You can use a wildcard # (`*`), for example, `2021-09-29T*`, which matches an entire day. # - # * `metadata-options.http-tokens` - The metadata request - # authorization state (`optional` \| `required`) + # * `license-pool` - + # + # * `maintenance-options.auto-recovery` - The current automatic + # recovery behavior of the instance (`disabled` \| `default`). + # + # * `metadata-options.http-endpoint` - The status of access to the + # HTTP metadata endpoint on your instance (`enabled` \| `disabled`) + # + # * `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 + # endpoint is enabled (`disabled` \| `enabled`). + # + # * `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 + # endpoint is enabled (`disabled` \| `enabled`). # # * `metadata-options.http-put-response-hop-limit` - The HTTP metadata # request put response hop limit (integer, possible values `1` to # `64`) # - # * `metadata-options.http-endpoint` - The status of access to the - # HTTP metadata endpoint on your instance (`enabled` \| `disabled`) + # * `metadata-options.http-tokens` - The metadata request + # authorization state (`optional` \| `required`) # # * `metadata-options.instance-metadata-tags` - The status of access # to instance tags from the instance metadata (`enabled` \| # `disabled`) # + # * `metadata-options.state` - The state of the metadata option + # changes (`pending` \| `applied`). + # # * `monitoring-state` - Indicates whether detailed monitoring is # enabled (`disabled` \| `enabled`). # - # * `network-interface.addresses.private-ip-address` - The private - # IPv4 address associated with the network interface. - # # * `network-interface.addresses.primary` - Specifies whether the IPv4 # address of the network interface is the primary private IPv4 # address. # + # * `network-interface.addresses.private-ip-address` - The private + # IPv4 address associated with the network interface. + # # * `network-interface.addresses.association.public-ip` - The ID of # the association of an Elastic IP address (IPv4) with a network # interface. @@ -19725,8 +19768,31 @@ class DescribeInstanceTypesResult < Struct.new( # * `platform` - The platform. To list only Windows instances, use # `windows`. # + # * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL + # Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux + # with HA` \| `Red Hat Enterprise Linux with SQL Server Standard and + # HA` \| `Red Hat Enterprise Linux with SQL Server Enterprise and + # HA` \| `Red Hat Enterprise Linux with SQL Server Standard` \| `Red + # Hat Enterprise Linux with SQL Server Web` \| `Red Hat Enterprise + # Linux with SQL Server Enterprise` \| `SQL Server Enterprise` \| + # `SQL Server Standard` \| `SQL Server Web` \| `SUSE Linux` \| + # `Ubuntu Pro` \| `Windows` \| `Windows BYOL` \| `Windows with SQL + # Server Enterprise` \| `Windows with SQL Server Standard` \| + # `Windows with SQL Server Web`). + # # * `private-dns-name` - The private IPv4 DNS name of the instance. # + # * `private-dns-name-options.enable-resource-name-dns-a-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS A records. + # + # * `private-dns-name-options.enable-resource-name-dns-aaaa-record` - + # A Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS AAAA records. + # + # * `private-dns-name-options.hostname-type` - The type of hostname + # (`ip-name` \| `resource-name`). + # # * `private-ip-address` - The private IPv4 address of the instance. # # * `product-code` - The product code associated with the AMI used to @@ -19788,6 +19854,22 @@ class DescribeInstanceTypesResult < Struct.new( # * `tenancy` - The tenancy of an instance (`dedicated` \| `default` # \| `host`). # + # * `tpm-support` - Indicates if the instance is configured for + # NitroTPM support (`v2.0`). + # + # * `usage-operation` - The usage operation value for the instance + # (`RunInstances` \| `RunInstances:00g0` \| `RunInstances:0010` \| + # `RunInstances:1010` \| `RunInstances:1014` \| `RunInstances:1110` + # \| `RunInstances:0014` \| `RunInstances:0210` \| + # `RunInstances:0110` \| `RunInstances:0100` \| `RunInstances:0004` + # \| `RunInstances:0200` \| `RunInstances:000g` \| + # `RunInstances:0g00` \| `RunInstances:0002` \| `RunInstances:0800` + # \| `RunInstances:0102` \| `RunInstances:0006` \| + # `RunInstances:0202`). + # + # * `usage-operation-update-time` - The time that the usage operation + # was last updated, for example, `2022-09-15T17:15:20.000Z`. + # # * `virtualization-type` - The virtualization type of the instance # (`paravirtual` \| `hvm`). # @@ -46366,6 +46448,11 @@ class ModifyTrafficMirrorFilterRuleResult < Struct.new( # the first 100 bytes that meet the filter criteria are copied to the # target. Do not specify this parameter when you want to mirror the # entire packet. + # + # For sessions with Network Load Balancer (NLB) traffic mirror + # targets, the default `PacketLength` will be set to 8500. Valid + # values are 1-8500. Setting a `PacketLength` greater than 8500 will + # result in an error response. # @return [Integer] # # @!attribute [rw] session_number diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc.rb index fbe372658d5..d09467216f4 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc.rb @@ -997,7 +997,7 @@ def dhcp_options # # * `block-device-mapping.attach-time` - The attach time for an EBS # volume mapped to the instance, for example, - # `2010-09-15T17:15:20.000Z`. + # `2022-09-15T17:15:20.000Z`. # # * `block-device-mapping.delete-on-termination` - A Boolean that # indicates whether the EBS volume is deleted on instance termination. @@ -1010,14 +1010,39 @@ def dhcp_options # # * `block-device-mapping.volume-id` - The volume ID of the EBS volume. # + # * `boot-mode` - The boot mode that was specified by the AMI + # (`legacy-bios` \| `uefi` \| `uefi-preferred`). + # # * `capacity-reservation-id` - The ID of the Capacity Reservation into # which the instance was launched. # + # * `capacity-reservation-specification.capacity-reservation-preference` + # - The instance's Capacity Reservation preference (`open` \| + # `none`). + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` + # - The ID of the targeted Capacity Reservation. + # + # * `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` + # - The ARN of the targeted Capacity Reservation group. + # # * `client-token` - The idempotency token you provided when you # launched the instance. # + # * `current-instance-boot-mode` - The boot mode that is used to launch + # the instance at launch or start (`legacy-bios` \| `uefi`). + # # * `dns-name` - The public DNS name of the instance. # + # * `ebs-optimized` - A Boolean that indicates whether the instance is + # optimized for Amazon EBS I/O. + # + # * `ena-support` - A Boolean that indicates whether the instance is + # enabled for enhanced networking with ENA. + # + # * `enclave-options.enabled` - A Boolean that indicates whether the + # instance is enabled for Amazon Web Services Nitro Enclaves. + # # * `hibernation-options.configured` - A Boolean that indicates whether # the instance is enabled for hibernation. A value of `true` means # that the instance is enabled for hibernation. @@ -1031,6 +1056,12 @@ def dhcp_options # * `iam-instance-profile.arn` - The instance profile associated with # the instance. Specified as an ARN. # + # * `iam-instance-profile.id` - The instance profile associated with the + # instance. Specified as an ID. + # + # * `iam-instance-profile.name` - The instance profile associated with + # the instance. Specified as an name. + # # * `image-id` - The ID of the image used to launch the instance. # # * `instance-id` - The ID of the instance. @@ -1057,6 +1088,8 @@ def dhcp_options # # * `ip-address` - The public IPv4 address of the instance. # + # * `ipv6-address` - The IPv6 address of the instance. + # # * `kernel-id` - The kernel ID. # # * `key-name` - The name of the key pair used when the instance was @@ -1071,29 +1104,43 @@ def dhcp_options # example, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), # for example, `2021-09-29T*`, which matches an entire day. # - # * `metadata-options.http-tokens` - The metadata request authorization - # state (`optional` \| `required`) + # * `license-pool` - + # + # * `maintenance-options.auto-recovery` - The current automatic recovery + # behavior of the instance (`disabled` \| `default`). + # + # * `metadata-options.http-endpoint` - The status of access to the HTTP + # metadata endpoint on your instance (`enabled` \| `disabled`) + # + # * `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 + # endpoint is enabled (`disabled` \| `enabled`). + # + # * `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 + # endpoint is enabled (`disabled` \| `enabled`). # # * `metadata-options.http-put-response-hop-limit` - The HTTP metadata # request put response hop limit (integer, possible values `1` to # `64`) # - # * `metadata-options.http-endpoint` - The status of access to the HTTP - # metadata endpoint on your instance (`enabled` \| `disabled`) + # * `metadata-options.http-tokens` - The metadata request authorization + # state (`optional` \| `required`) # # * `metadata-options.instance-metadata-tags` - The status of access to # instance tags from the instance metadata (`enabled` \| `disabled`) # + # * `metadata-options.state` - The state of the metadata option changes + # (`pending` \| `applied`). + # # * `monitoring-state` - Indicates whether detailed monitoring is # enabled (`disabled` \| `enabled`). # - # * `network-interface.addresses.private-ip-address` - The private IPv4 - # address associated with the network interface. - # # * `network-interface.addresses.primary` - Specifies whether the IPv4 # address of the network interface is the primary private IPv4 # address. # + # * `network-interface.addresses.private-ip-address` - The private IPv4 + # address associated with the network interface. + # # * `network-interface.addresses.association.public-ip` - The ID of the # association of an Elastic IP address (IPv4) with a network # interface. @@ -1198,8 +1245,31 @@ def dhcp_options # * `platform` - The platform. To list only Windows instances, use # `windows`. # + # * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL + # Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux + # with HA` \| `Red Hat Enterprise Linux with SQL Server Standard and + # HA` \| `Red Hat Enterprise Linux with SQL Server Enterprise and HA` + # \| `Red Hat Enterprise Linux with SQL Server Standard` \| `Red Hat + # Enterprise Linux with SQL Server Web` \| `Red Hat Enterprise Linux + # with SQL Server Enterprise` \| `SQL Server Enterprise` \| `SQL + # Server Standard` \| `SQL Server Web` \| `SUSE Linux` \| `Ubuntu Pro` + # \| `Windows` \| `Windows BYOL` \| `Windows with SQL Server + # Enterprise` \| `Windows with SQL Server Standard` \| `Windows with + # SQL Server Web`). + # # * `private-dns-name` - The private IPv4 DNS name of the instance. # + # * `private-dns-name-options.enable-resource-name-dns-a-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS A records. + # + # * `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A + # Boolean that indicates whether to respond to DNS queries for + # instance hostnames with DNS AAAA records. + # + # * `private-dns-name-options.hostname-type` - The type of hostname + # (`ip-name` \| `resource-name`). + # # * `private-ip-address` - The private IPv4 address of the instance. # # * `product-code` - The product code associated with the AMI used to @@ -1260,6 +1330,21 @@ def dhcp_options # * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \| # `host`). # + # * `tpm-support` - Indicates if the instance is configured for NitroTPM + # support (`v2.0`). + # + # * `usage-operation` - The usage operation value for the instance + # (`RunInstances` \| `RunInstances:00g0` \| `RunInstances:0010` \| + # `RunInstances:1010` \| `RunInstances:1014` \| `RunInstances:1110` \| + # `RunInstances:0014` \| `RunInstances:0210` \| `RunInstances:0110` \| + # `RunInstances:0100` \| `RunInstances:0004` \| `RunInstances:0200` \| + # `RunInstances:000g` \| `RunInstances:0g00` \| `RunInstances:0002` \| + # `RunInstances:0800` \| `RunInstances:0102` \| `RunInstances:0006` \| + # `RunInstances:0202`). + # + # * `usage-operation-update-time` - The time that the usage operation + # was last updated, for example, `2022-09-15T17:15:20.000Z`. + # # * `virtualization-type` - The virtualization type of the instance # (`paravirtual` \| `hvm`). # diff --git a/gems/aws-sdk-glue/CHANGELOG.md b/gems/aws-sdk-glue/CHANGELOG.md index bfb29507415..8c8cd2dfa6a 100644 --- a/gems/aws-sdk-glue/CHANGELOG.md +++ b/gems/aws-sdk-glue/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.154.0 (2023-08-15) +------------------ + +* Feature - AWS Glue Crawlers can now accept SerDe overrides from a custom csv classifier. The two SerDe options are LazySimpleSerDe and OpenCSVSerDe. In case, the user wants crawler to do the selection, "None" can be selected for this purpose. + 1.153.0 (2023-08-02) ------------------ diff --git a/gems/aws-sdk-glue/VERSION b/gems/aws-sdk-glue/VERSION index c9650a8f200..8cba649205e 100644 --- a/gems/aws-sdk-glue/VERSION +++ b/gems/aws-sdk-glue/VERSION @@ -1 +1 @@ -1.153.0 +1.154.0 diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue.rb index 0f46e9bcdf7..bdb11351322 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Glue - GEM_VERSION = '1.153.0' + GEM_VERSION = '1.154.0' end diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb index cd7f030719a..c7ad60d2139 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb @@ -2679,6 +2679,7 @@ def create_blueprint(params = {}, options = {}) # allow_single_column: false, # custom_datatype_configured: false, # custom_datatypes: ["NameString"], + # serde: "OpenCSVSerDe", # accepts OpenCSVSerDe, LazySimpleSerDe, None # }, # }) # @@ -5741,6 +5742,7 @@ def get_catalog_import_status(params = {}, options = {}) # resp.classifier.csv_classifier.custom_datatype_configured #=> Boolean # resp.classifier.csv_classifier.custom_datatypes #=> Array # resp.classifier.csv_classifier.custom_datatypes[0] #=> String + # resp.classifier.csv_classifier.serde #=> String, one of "OpenCSVSerDe", "LazySimpleSerDe", "None" # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier AWS API Documentation # @@ -5808,6 +5810,7 @@ def get_classifier(params = {}, options = {}) # resp.classifiers[0].csv_classifier.custom_datatype_configured #=> Boolean # resp.classifiers[0].csv_classifier.custom_datatypes #=> Array # resp.classifiers[0].csv_classifier.custom_datatypes[0] #=> String + # resp.classifiers[0].csv_classifier.serde #=> String, one of "OpenCSVSerDe", "LazySimpleSerDe", "None" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers AWS API Documentation @@ -14761,6 +14764,7 @@ def update_blueprint(params = {}, options = {}) # allow_single_column: false, # custom_datatype_configured: false, # custom_datatypes: ["NameString"], + # serde: "OpenCSVSerDe", # accepts OpenCSVSerDe, LazySimpleSerDe, None # }, # }) # @@ -16284,7 +16288,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-glue' - context[:gem_version] = '1.153.0' + context[:gem_version] = '1.154.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb index 25f9b51c6d0..90edb099986 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb @@ -270,6 +270,7 @@ module ClientApi CsvHeader = Shapes::ListShape.new(name: 'CsvHeader') CsvHeaderOption = Shapes::StringShape.new(name: 'CsvHeaderOption') CsvQuoteSymbol = Shapes::StringShape.new(name: 'CsvQuoteSymbol') + CsvSerdeOption = Shapes::StringShape.new(name: 'CsvSerdeOption') CustomCode = Shapes::StructureShape.new(name: 'CustomCode') CustomDatatypes = Shapes::ListShape.new(name: 'CustomDatatypes') CustomEntityType = Shapes::StructureShape.new(name: 'CustomEntityType') @@ -1945,6 +1946,7 @@ module ClientApi CreateCsvClassifierRequest.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn")) CreateCsvClassifierRequest.add_member(:custom_datatype_configured, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CustomDatatypeConfigured")) CreateCsvClassifierRequest.add_member(:custom_datatypes, Shapes::ShapeRef.new(shape: CustomDatatypes, location_name: "CustomDatatypes")) + CreateCsvClassifierRequest.add_member(:serde, Shapes::ShapeRef.new(shape: CsvSerdeOption, location_name: "Serde")) CreateCsvClassifierRequest.struct_class = Types::CreateCsvClassifierRequest CreateCustomEntityTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name")) @@ -2215,6 +2217,7 @@ module ClientApi CsvClassifier.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn")) CsvClassifier.add_member(:custom_datatype_configured, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CustomDatatypeConfigured")) CsvClassifier.add_member(:custom_datatypes, Shapes::ShapeRef.new(shape: CustomDatatypes, location_name: "CustomDatatypes")) + CsvClassifier.add_member(:serde, Shapes::ShapeRef.new(shape: CsvSerdeOption, location_name: "Serde")) CsvClassifier.struct_class = Types::CsvClassifier CsvHeader.member = Shapes::ShapeRef.new(shape: NameString) @@ -5323,6 +5326,7 @@ module ClientApi UpdateCsvClassifierRequest.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn")) UpdateCsvClassifierRequest.add_member(:custom_datatype_configured, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CustomDatatypeConfigured")) UpdateCsvClassifierRequest.add_member(:custom_datatypes, Shapes::ShapeRef.new(shape: CustomDatatypes, location_name: "CustomDatatypes")) + UpdateCsvClassifierRequest.add_member(:serde, Shapes::ShapeRef.new(shape: CsvSerdeOption, location_name: "Serde")) UpdateCsvClassifierRequest.struct_class = Types::UpdateCsvClassifierRequest UpdateDataQualityRulesetRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name")) diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb index 52d849082a8..ea97251403f 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb @@ -3793,6 +3793,13 @@ class CreateCrawlerResponse < Aws::EmptyStructure; end # Creates a list of supported custom datatypes. # @return [Array] # + # @!attribute [rw] serde + # Sets the SerDe for processing CSV in the classifier, which will be + # applied in the Data Catalog. Valid values are `OpenCSVSerDe`, + # `LazySimpleSerDe`, and `None`. You can specify the `None` value when + # you want the crawler to do the detection. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCsvClassifierRequest AWS API Documentation # class CreateCsvClassifierRequest < Struct.new( @@ -3804,7 +3811,8 @@ class CreateCsvClassifierRequest < Struct.new( :disable_value_trimming, :allow_single_column, :custom_datatype_configured, - :custom_datatypes) + :custom_datatypes, + :serde) SENSITIVE = [] include Aws::Structure end @@ -5550,6 +5558,13 @@ class CreateXMLClassifierRequest < Struct.new( # "SHORT", "STRING", "TIMESTAMP". # @return [Array] # + # @!attribute [rw] serde + # Sets the SerDe for processing CSV in the classifier, which will be + # applied in the Data Catalog. Valid values are `OpenCSVSerDe`, + # `LazySimpleSerDe`, and `None`. You can specify the `None` value when + # you want the crawler to do the detection. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CsvClassifier AWS API Documentation # class CsvClassifier < Struct.new( @@ -5564,7 +5579,8 @@ class CsvClassifier < Struct.new( :disable_value_trimming, :allow_single_column, :custom_datatype_configured, - :custom_datatypes) + :custom_datatypes, + :serde) SENSITIVE = [] include Aws::Structure end @@ -20874,6 +20890,13 @@ class UpdateCrawlerScheduleResponse < Aws::EmptyStructure; end # Specifies a list of supported custom datatypes. # @return [Array] # + # @!attribute [rw] serde + # Sets the SerDe for processing CSV in the classifier, which will be + # applied in the Data Catalog. Valid values are `OpenCSVSerDe`, + # `LazySimpleSerDe`, and `None`. You can specify the `None` value when + # you want the crawler to do the detection. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCsvClassifierRequest AWS API Documentation # class UpdateCsvClassifierRequest < Struct.new( @@ -20885,7 +20908,8 @@ class UpdateCsvClassifierRequest < Struct.new( :disable_value_trimming, :allow_single_column, :custom_datatype_configured, - :custom_datatypes) + :custom_datatypes, + :serde) SENSITIVE = [] include Aws::Structure end diff --git a/gems/aws-sdk-pi/CHANGELOG.md b/gems/aws-sdk-pi/CHANGELOG.md index 08c30af5a6e..8b82c319c5a 100644 --- a/gems/aws-sdk-pi/CHANGELOG.md +++ b/gems/aws-sdk-pi/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.49.0 (2023-08-15) +------------------ + +* Feature - AWS Performance Insights for Amazon RDS is launching Performance Analysis On Demand, a new feature that allows you to analyze database performance metrics and find out the performance issues. You can now use SDK to create, list, get, delete, and manage tags of performance analysis reports. + 1.48.0 (2023-07-11) ------------------ diff --git a/gems/aws-sdk-pi/VERSION b/gems/aws-sdk-pi/VERSION index 9db5ea12f52..7f3a46a841e 100644 --- a/gems/aws-sdk-pi/VERSION +++ b/gems/aws-sdk-pi/VERSION @@ -1 +1 @@ -1.48.0 +1.49.0 diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi.rb index 7dd6100a67e..b1ed8dff4de 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi.rb @@ -32,7 +32,7 @@ # structure. # # pi = Aws::PI::Client.new -# resp = pi.describe_dimension_keys(params) +# resp = pi.create_performance_analysis_report(params) # # See {Client} for more information. # @@ -52,6 +52,6 @@ # @!group service module Aws::PI - GEM_VERSION = '1.48.0' + GEM_VERSION = '1.49.0' end diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb index fda1c666ce1..1eb03fb340a 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb @@ -398,6 +398,101 @@ def initialize(*args) # @!group API Operations + # Creates a new performance analysis report for a specific time period + # for the DB instance. + # + # @option params [required, String] :service_type + # The Amazon Web Services service for which Performance Insights will + # return metrics. Valid value is `RDS`. + # + # @option params [required, String] :identifier + # An immutable, Amazon Web Services Region-unique identifier for a data + # source. Performance Insights gathers metrics from this data source. + # + # To use an Amazon RDS instance as a data source, you specify its + # `DbiResourceId` value. For example, specify + # `db-ADECBTYHKTSAUMUZQYPDS2GW4A`. + # + # @option params [required, Time,DateTime,Date,Integer,String] :start_time + # The start time defined for the analysis report. + # + # @option params [required, Time,DateTime,Date,Integer,String] :end_time + # The end time defined for the analysis report. + # + # @option params [Array] :tags + # The metadata assigned to the analysis report consisting of a key-value + # pair. + # + # @return [Types::CreatePerformanceAnalysisReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CreatePerformanceAnalysisReportResponse#analysis_report_id #analysis_report_id} => String + # + # @example Request syntax with placeholder values + # + # resp = client.create_performance_analysis_report({ + # service_type: "RDS", # required, accepts RDS, DOCDB + # identifier: "IdentifierString", # required + # start_time: Time.now, # required + # end_time: Time.now, # required + # tags: [ + # { + # key: "TagKey", # required + # value: "TagValue", # required + # }, + # ], + # }) + # + # @example Response structure + # + # resp.analysis_report_id #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/CreatePerformanceAnalysisReport AWS API Documentation + # + # @overload create_performance_analysis_report(params = {}) + # @param [Hash] params ({}) + def create_performance_analysis_report(params = {}, options = {}) + req = build_request(:create_performance_analysis_report, params) + req.send_request(options) + end + + # Deletes a performance analysis report. + # + # @option params [required, String] :service_type + # The Amazon Web Services service for which Performance Insights will + # return metrics. Valid value is `RDS`. + # + # @option params [required, String] :identifier + # An immutable identifier for a data source that is unique for an Amazon + # Web Services Region. Performance Insights gathers metrics from this + # data source. In the console, the identifier is shown as *ResourceID*. + # When you call `DescribeDBInstances`, the identifier is returned as + # `DbiResourceId`. + # + # To use a DB instance as a data source, specify its `DbiResourceId` + # value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`. + # + # @option params [required, String] :analysis_report_id + # The unique identifier of the analysis report for deletion. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.delete_performance_analysis_report({ + # service_type: "RDS", # required, accepts RDS, DOCDB + # identifier: "IdentifierString", # required + # analysis_report_id: "AnalysisReportId", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DeletePerformanceAnalysisReport AWS API Documentation + # + # @overload delete_performance_analysis_report(params = {}) + # @param [Hash] params ({}) + def delete_performance_analysis_report(params = {}, options = {}) + req = build_request(:delete_performance_analysis_report, params) + req.send_request(options) + end + # For a specific time period, retrieve the top `N` dimension keys for a # metric. # @@ -529,7 +624,7 @@ def initialize(*args) # # resp = client.describe_dimension_keys({ # service_type: "RDS", # required, accepts RDS, DOCDB - # identifier: "RequestString", # required + # identifier: "IdentifierString", # required # start_time: Time.now, # required # end_time: Time.now, # required # metric: "RequestString", # required @@ -656,6 +751,94 @@ def get_dimension_key_details(params = {}, options = {}) req.send_request(options) end + # Retrieves the report including the report ID, status, time details, + # and the insights with recommendations. The report status can be + # `RUNNING`, `SUCCEEDED`, or `FAILED`. The insights include the + # `description` and `recommendation` fields. + # + # @option params [required, String] :service_type + # The Amazon Web Services service for which Performance Insights will + # return metrics. Valid value is `RDS`. + # + # @option params [required, String] :identifier + # An immutable identifier for a data source that is unique for an Amazon + # Web Services Region. Performance Insights gathers metrics from this + # data source. In the console, the identifier is shown as *ResourceID*. + # When you call `DescribeDBInstances`, the identifier is returned as + # `DbiResourceId`. + # + # To use a DB instance as a data source, specify its `DbiResourceId` + # value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`. + # + # @option params [required, String] :analysis_report_id + # A unique identifier of the created analysis report. For example, + # `report-12345678901234567` + # + # @option params [String] :text_format + # Indicates the text format in the report. The options are `PLAIN_TEXT` + # or `MARKDOWN`. The default value is `plain text`. + # + # @option params [String] :accept_language + # The text language in the report. The default language is `EN_US` + # (English). + # + # @return [Types::GetPerformanceAnalysisReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetPerformanceAnalysisReportResponse#analysis_report #analysis_report} => Types::AnalysisReport + # + # @example Request syntax with placeholder values + # + # resp = client.get_performance_analysis_report({ + # service_type: "RDS", # required, accepts RDS, DOCDB + # identifier: "IdentifierString", # required + # analysis_report_id: "AnalysisReportId", # required + # text_format: "PLAIN_TEXT", # accepts PLAIN_TEXT, MARKDOWN + # accept_language: "EN_US", # accepts EN_US + # }) + # + # @example Response structure + # + # resp.analysis_report.analysis_report_id #=> String + # resp.analysis_report.identifier #=> String + # resp.analysis_report.service_type #=> String, one of "RDS", "DOCDB" + # resp.analysis_report.create_time #=> Time + # resp.analysis_report.start_time #=> Time + # resp.analysis_report.end_time #=> Time + # resp.analysis_report.status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED" + # resp.analysis_report.insights #=> Array + # resp.analysis_report.insights[0].insight_id #=> String + # resp.analysis_report.insights[0].insight_type #=> String + # resp.analysis_report.insights[0].context #=> String, one of "CAUSAL", "CONTEXTUAL" + # resp.analysis_report.insights[0].start_time #=> Time + # resp.analysis_report.insights[0].end_time #=> Time + # resp.analysis_report.insights[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH" + # resp.analysis_report.insights[0].supporting_insights #=> Types::InsightList + # resp.analysis_report.insights[0].description #=> String + # resp.analysis_report.insights[0].recommendations #=> Array + # resp.analysis_report.insights[0].recommendations[0].recommendation_id #=> String + # resp.analysis_report.insights[0].recommendations[0].recommendation_description #=> String + # resp.analysis_report.insights[0].insight_data #=> Array + # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.metric #=> String + # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.display_name #=> String + # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.dimensions #=> Hash + # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.dimensions["DescriptiveString"] #=> String + # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.value #=> Float + # resp.analysis_report.insights[0].baseline_data #=> Array + # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.metric #=> String + # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.display_name #=> String + # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.dimensions #=> Hash + # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.dimensions["DescriptiveString"] #=> String + # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.value #=> Float + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetPerformanceAnalysisReport AWS API Documentation + # + # @overload get_performance_analysis_report(params = {}) + # @param [Hash] params ({}) + def get_performance_analysis_report(params = {}, options = {}) + req = build_request(:get_performance_analysis_report, params) + req.send_request(options) + end + # Retrieve the metadata for different features. For example, the # metadata might indicate that a feature is turned on or off on a # specific DB instance. @@ -680,7 +863,7 @@ def get_dimension_key_details(params = {}, options = {}) # # resp = client.get_resource_metadata({ # service_type: "RDS", # required, accepts RDS, DOCDB - # identifier: "RequestString", # required + # identifier: "IdentifierString", # required # }) # # @example Response structure @@ -797,7 +980,7 @@ def get_resource_metadata(params = {}, options = {}) # # resp = client.get_resource_metrics({ # service_type: "RDS", # required, accepts RDS, DOCDB - # identifier: "RequestString", # required + # identifier: "IdentifierString", # required # metric_queries: [ # required # { # metric: "RequestString", # required @@ -882,7 +1065,7 @@ def get_resource_metrics(params = {}, options = {}) # # resp = client.list_available_resource_dimensions({ # service_type: "RDS", # required, accepts RDS, DOCDB - # identifier: "RequestString", # required + # identifier: "IdentifierString", # required # metrics: ["RequestString"], # required # max_results: 1, # next_token: "NextToken", @@ -956,7 +1139,7 @@ def list_available_resource_dimensions(params = {}, options = {}) # # resp = client.list_available_resource_metrics({ # service_type: "RDS", # required, accepts RDS, DOCDB - # identifier: "RequestString", # required + # identifier: "IdentifierString", # required # metric_types: ["RequestString"], # required # next_token: "NextToken", # max_results: 1, @@ -979,6 +1162,203 @@ def list_available_resource_metrics(params = {}, options = {}) req.send_request(options) end + # Lists all the analysis reports created for the DB instance. The + # reports are sorted based on the start time of each report. + # + # @option params [required, String] :service_type + # The Amazon Web Services service for which Performance Insights returns + # metrics. Valid value is `RDS`. + # + # @option params [required, String] :identifier + # An immutable identifier for a data source that is unique for an Amazon + # Web Services Region. Performance Insights gathers metrics from this + # data source. In the console, the identifier is shown as *ResourceID*. + # When you call `DescribeDBInstances`, the identifier is returned as + # `DbiResourceId`. + # + # To use a DB instance as a data source, specify its `DbiResourceId` + # value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`. + # + # @option params [String] :next_token + # An optional pagination token provided by a previous request. If this + # parameter is specified, the response includes only records beyond the + # token, up to the value specified by `MaxResults`. + # + # @option params [Integer] :max_results + # The maximum number of items to return in the response. If more items + # exist than the specified `MaxResults` value, a pagination token is + # included in the response so that the remaining results can be + # retrieved. + # + # @option params [Boolean] :list_tags + # Specifies whether or not to include the list of tags in the response. + # + # @return [Types::ListPerformanceAnalysisReportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListPerformanceAnalysisReportsResponse#analysis_reports #analysis_reports} => Array<Types::AnalysisReportSummary> + # * {Types::ListPerformanceAnalysisReportsResponse#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_performance_analysis_reports({ + # service_type: "RDS", # required, accepts RDS, DOCDB + # identifier: "IdentifierString", # required + # next_token: "NextToken", + # max_results: 1, + # list_tags: false, + # }) + # + # @example Response structure + # + # resp.analysis_reports #=> Array + # resp.analysis_reports[0].analysis_report_id #=> String + # resp.analysis_reports[0].create_time #=> Time + # resp.analysis_reports[0].start_time #=> Time + # resp.analysis_reports[0].end_time #=> Time + # resp.analysis_reports[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED" + # resp.analysis_reports[0].tags #=> Array + # resp.analysis_reports[0].tags[0].key #=> String + # resp.analysis_reports[0].tags[0].value #=> String + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReports AWS API Documentation + # + # @overload list_performance_analysis_reports(params = {}) + # @param [Hash] params ({}) + def list_performance_analysis_reports(params = {}, options = {}) + req = build_request(:list_performance_analysis_reports, params) + req.send_request(options) + end + + # Retrieves all the metadata tags associated with Amazon RDS Performance + # Insights resource. + # + # @option params [required, String] :service_type + # List the tags for the Amazon Web Services service for which + # Performance Insights returns metrics. Valid value is `RDS`. + # + # @option params [required, String] :resource_arn + # Lists all the tags for the Amazon RDS Performance Insights resource. + # This value is an Amazon Resource Name (ARN). For information about + # creating an ARN, see [ Constructing an RDS Amazon Resource Name + # (ARN)][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing + # + # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag> + # + # @example Request syntax with placeholder values + # + # resp = client.list_tags_for_resource({ + # service_type: "RDS", # required, accepts RDS, DOCDB + # resource_arn: "AmazonResourceName", # required + # }) + # + # @example Response structure + # + # resp.tags #=> Array + # resp.tags[0].key #=> String + # resp.tags[0].value #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListTagsForResource AWS API Documentation + # + # @overload list_tags_for_resource(params = {}) + # @param [Hash] params ({}) + def list_tags_for_resource(params = {}, options = {}) + req = build_request(:list_tags_for_resource, params) + req.send_request(options) + end + + # Adds metadata tags to the Amazon RDS Performance Insights resource. + # + # @option params [required, String] :service_type + # The Amazon Web Services service for which Performance Insights returns + # metrics. Valid value is `RDS`. + # + # @option params [required, String] :resource_arn + # The Amazon RDS Performance Insights resource that the tags are added + # to. This value is an Amazon Resource Name (ARN). For information about + # creating an ARN, see [ Constructing an RDS Amazon Resource Name + # (ARN)][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing + # + # @option params [required, Array] :tags + # The metadata assigned to an Amazon RDS resource consisting of a + # key-value pair. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.tag_resource({ + # service_type: "RDS", # required, accepts RDS, DOCDB + # resource_arn: "AmazonResourceName", # required + # tags: [ # required + # { + # key: "TagKey", # required + # value: "TagValue", # required + # }, + # ], + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/TagResource AWS API Documentation + # + # @overload tag_resource(params = {}) + # @param [Hash] params ({}) + def tag_resource(params = {}, options = {}) + req = build_request(:tag_resource, params) + req.send_request(options) + end + + # Deletes the metadata tags from the Amazon RDS Performance Insights + # resource. + # + # @option params [required, String] :service_type + # List the tags for the Amazon Web Services service for which + # Performance Insights returns metrics. Valid value is `RDS`. + # + # @option params [required, String] :resource_arn + # The Amazon RDS Performance Insights resource that the tags are added + # to. This value is an Amazon Resource Name (ARN). For information about + # creating an ARN, see [ Constructing an RDS Amazon Resource Name + # (ARN)][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing + # + # @option params [required, Array] :tag_keys + # The metadata assigned to an Amazon RDS Performance Insights resource + # consisting of a key-value pair. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.untag_resource({ + # service_type: "RDS", # required, accepts RDS, DOCDB + # resource_arn: "AmazonResourceName", # required + # tag_keys: ["TagKey"], # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/UntagResource AWS API Documentation + # + # @overload untag_resource(params = {}) + # @param [Hash] params ({}) + def untag_resource(params = {}, options = {}) + req = build_request(:untag_resource, params) + req.send_request(options) + end + # @!endgroup # @param params ({}) @@ -992,7 +1372,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-pi' - context[:gem_version] = '1.48.0' + context[:gem_version] = '1.49.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/client_api.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/client_api.rb index 59baa8aca28..fff395a44df 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi/client_api.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/client_api.rb @@ -13,13 +13,30 @@ module ClientApi include Seahorse::Model + AcceptLanguage = Shapes::StringShape.new(name: 'AcceptLanguage') AdditionalMetricsList = Shapes::ListShape.new(name: 'AdditionalMetricsList') AdditionalMetricsMap = Shapes::MapShape.new(name: 'AdditionalMetricsMap') + AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName') + AnalysisReport = Shapes::StructureShape.new(name: 'AnalysisReport') + AnalysisReportId = Shapes::StringShape.new(name: 'AnalysisReportId') + AnalysisReportSummary = Shapes::StructureShape.new(name: 'AnalysisReportSummary') + AnalysisReportSummaryList = Shapes::ListShape.new(name: 'AnalysisReportSummaryList') + AnalysisStatus = Shapes::StringShape.new(name: 'AnalysisStatus') + Boolean = Shapes::BooleanShape.new(name: 'Boolean') + ContextType = Shapes::StringShape.new(name: 'ContextType') + CreatePerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'CreatePerformanceAnalysisReportRequest') + CreatePerformanceAnalysisReportResponse = Shapes::StructureShape.new(name: 'CreatePerformanceAnalysisReportResponse') + Data = Shapes::StructureShape.new(name: 'Data') + DataList = Shapes::ListShape.new(name: 'DataList') DataPoint = Shapes::StructureShape.new(name: 'DataPoint') DataPointsList = Shapes::ListShape.new(name: 'DataPointsList') + DeletePerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'DeletePerformanceAnalysisReportRequest') + DeletePerformanceAnalysisReportResponse = Shapes::StructureShape.new(name: 'DeletePerformanceAnalysisReportResponse') DescribeDimensionKeysRequest = Shapes::StructureShape.new(name: 'DescribeDimensionKeysRequest') DescribeDimensionKeysResponse = Shapes::StructureShape.new(name: 'DescribeDimensionKeysResponse') Description = Shapes::StringShape.new(name: 'Description') + DescriptiveMap = Shapes::MapShape.new(name: 'DescriptiveMap') + DescriptiveString = Shapes::StringShape.new(name: 'DescriptiveString') DetailStatus = Shapes::StringShape.new(name: 'DetailStatus') DimensionDetail = Shapes::StructureShape.new(name: 'DimensionDetail') DimensionDetailList = Shapes::ListShape.new(name: 'DimensionDetailList') @@ -39,12 +56,16 @@ module ClientApi FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus') GetDimensionKeyDetailsRequest = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsRequest') GetDimensionKeyDetailsResponse = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsResponse') + GetPerformanceAnalysisReportRequest = Shapes::StructureShape.new(name: 'GetPerformanceAnalysisReportRequest') + GetPerformanceAnalysisReportResponse = Shapes::StructureShape.new(name: 'GetPerformanceAnalysisReportResponse') GetResourceMetadataRequest = Shapes::StructureShape.new(name: 'GetResourceMetadataRequest') GetResourceMetadataResponse = Shapes::StructureShape.new(name: 'GetResourceMetadataResponse') GetResourceMetricsRequest = Shapes::StructureShape.new(name: 'GetResourceMetricsRequest') GetResourceMetricsResponse = Shapes::StructureShape.new(name: 'GetResourceMetricsResponse') ISOTimestamp = Shapes::TimestampShape.new(name: 'ISOTimestamp') IdentifierString = Shapes::StringShape.new(name: 'IdentifierString') + Insight = Shapes::StructureShape.new(name: 'Insight') + InsightList = Shapes::ListShape.new(name: 'InsightList') Integer = Shapes::IntegerShape.new(name: 'Integer') InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError') InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException') @@ -53,6 +74,11 @@ module ClientApi ListAvailableResourceDimensionsResponse = Shapes::StructureShape.new(name: 'ListAvailableResourceDimensionsResponse') ListAvailableResourceMetricsRequest = Shapes::StructureShape.new(name: 'ListAvailableResourceMetricsRequest') ListAvailableResourceMetricsResponse = Shapes::StructureShape.new(name: 'ListAvailableResourceMetricsResponse') + ListPerformanceAnalysisReportsRequest = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportsRequest') + ListPerformanceAnalysisReportsResponse = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportsResponse') + ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest') + ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse') + MarkdownString = Shapes::StringShape.new(name: 'MarkdownString') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') MetricDimensionGroups = Shapes::StructureShape.new(name: 'MetricDimensionGroups') MetricDimensionsList = Shapes::ListShape.new(name: 'MetricDimensionsList') @@ -65,7 +91,10 @@ module ClientApi MetricValuesList = Shapes::ListShape.new(name: 'MetricValuesList') NextToken = Shapes::StringShape.new(name: 'NextToken') NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException') + PerformanceInsightsMetric = Shapes::StructureShape.new(name: 'PerformanceInsightsMetric') PeriodAlignment = Shapes::StringShape.new(name: 'PeriodAlignment') + Recommendation = Shapes::StructureShape.new(name: 'Recommendation') + RecommendationList = Shapes::ListShape.new(name: 'RecommendationList') RequestString = Shapes::StringShape.new(name: 'RequestString') RequestStringList = Shapes::ListShape.new(name: 'RequestStringList') RequestedDimensionList = Shapes::ListShape.new(name: 'RequestedDimensionList') @@ -75,21 +104,74 @@ module ClientApi ResponseResourceMetricKey = Shapes::StructureShape.new(name: 'ResponseResourceMetricKey') ResponseResourceMetricList = Shapes::ListShape.new(name: 'ResponseResourceMetricList') ServiceType = Shapes::StringShape.new(name: 'ServiceType') + Severity = Shapes::StringShape.new(name: 'Severity') String = Shapes::StringShape.new(name: 'String') + Tag = Shapes::StructureShape.new(name: 'Tag') + TagKey = Shapes::StringShape.new(name: 'TagKey') + TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') + TagList = Shapes::ListShape.new(name: 'TagList') + TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') + TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse') + TagValue = Shapes::StringShape.new(name: 'TagValue') + TextFormat = Shapes::StringShape.new(name: 'TextFormat') + UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest') + UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse') AdditionalMetricsList.member = Shapes::ShapeRef.new(shape: RequestString) AdditionalMetricsMap.key = Shapes::ShapeRef.new(shape: RequestString) AdditionalMetricsMap.value = Shapes::ShapeRef.new(shape: Double) + AnalysisReport.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, required: true, location_name: "AnalysisReportId")) + AnalysisReport.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, location_name: "Identifier")) + AnalysisReport.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "ServiceType")) + AnalysisReport.add_member(:create_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "CreateTime")) + AnalysisReport.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "StartTime")) + AnalysisReport.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "EndTime")) + AnalysisReport.add_member(:status, Shapes::ShapeRef.new(shape: AnalysisStatus, location_name: "Status")) + AnalysisReport.add_member(:insights, Shapes::ShapeRef.new(shape: InsightList, location_name: "Insights")) + AnalysisReport.struct_class = Types::AnalysisReport + + AnalysisReportSummary.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: String, location_name: "AnalysisReportId")) + AnalysisReportSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "CreateTime")) + AnalysisReportSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "StartTime")) + AnalysisReportSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "EndTime")) + AnalysisReportSummary.add_member(:status, Shapes::ShapeRef.new(shape: AnalysisStatus, location_name: "Status")) + AnalysisReportSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) + AnalysisReportSummary.struct_class = Types::AnalysisReportSummary + + AnalysisReportSummaryList.member = Shapes::ShapeRef.new(shape: AnalysisReportSummary) + + CreatePerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) + CreatePerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) + CreatePerformanceAnalysisReportRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime")) + CreatePerformanceAnalysisReportRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime")) + CreatePerformanceAnalysisReportRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) + CreatePerformanceAnalysisReportRequest.struct_class = Types::CreatePerformanceAnalysisReportRequest + + CreatePerformanceAnalysisReportResponse.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, location_name: "AnalysisReportId")) + CreatePerformanceAnalysisReportResponse.struct_class = Types::CreatePerformanceAnalysisReportResponse + + Data.add_member(:performance_insights_metric, Shapes::ShapeRef.new(shape: PerformanceInsightsMetric, location_name: "PerformanceInsightsMetric")) + Data.struct_class = Types::Data + + DataList.member = Shapes::ShapeRef.new(shape: Data) + DataPoint.add_member(:timestamp, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "Timestamp")) DataPoint.add_member(:value, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Value")) DataPoint.struct_class = Types::DataPoint DataPointsList.member = Shapes::ShapeRef.new(shape: DataPoint) + DeletePerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) + DeletePerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) + DeletePerformanceAnalysisReportRequest.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, required: true, location_name: "AnalysisReportId")) + DeletePerformanceAnalysisReportRequest.struct_class = Types::DeletePerformanceAnalysisReportRequest + + DeletePerformanceAnalysisReportResponse.struct_class = Types::DeletePerformanceAnalysisReportResponse + DescribeDimensionKeysRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) - DescribeDimensionKeysRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Identifier")) + DescribeDimensionKeysRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) DescribeDimensionKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime")) DescribeDimensionKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime")) DescribeDimensionKeysRequest.add_member(:metric, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Metric")) @@ -109,6 +191,9 @@ module ClientApi DescribeDimensionKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeDimensionKeysResponse.struct_class = Types::DescribeDimensionKeysResponse + DescriptiveMap.key = Shapes::ShapeRef.new(shape: DescriptiveString) + DescriptiveMap.value = Shapes::ShapeRef.new(shape: DescriptiveString) + DimensionDetail.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "Identifier")) DimensionDetail.struct_class = Types::DimensionDetail @@ -161,8 +246,18 @@ module ClientApi GetDimensionKeyDetailsResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionKeyDetailList, location_name: "Dimensions")) GetDimensionKeyDetailsResponse.struct_class = Types::GetDimensionKeyDetailsResponse + GetPerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) + GetPerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) + GetPerformanceAnalysisReportRequest.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, required: true, location_name: "AnalysisReportId")) + GetPerformanceAnalysisReportRequest.add_member(:text_format, Shapes::ShapeRef.new(shape: TextFormat, location_name: "TextFormat")) + GetPerformanceAnalysisReportRequest.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage")) + GetPerformanceAnalysisReportRequest.struct_class = Types::GetPerformanceAnalysisReportRequest + + GetPerformanceAnalysisReportResponse.add_member(:analysis_report, Shapes::ShapeRef.new(shape: AnalysisReport, location_name: "AnalysisReport")) + GetPerformanceAnalysisReportResponse.struct_class = Types::GetPerformanceAnalysisReportResponse + GetResourceMetadataRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) - GetResourceMetadataRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Identifier")) + GetResourceMetadataRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) GetResourceMetadataRequest.struct_class = Types::GetResourceMetadataRequest GetResourceMetadataResponse.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "Identifier")) @@ -170,7 +265,7 @@ module ClientApi GetResourceMetadataResponse.struct_class = Types::GetResourceMetadataResponse GetResourceMetricsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) - GetResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Identifier")) + GetResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) GetResourceMetricsRequest.add_member(:metric_queries, Shapes::ShapeRef.new(shape: MetricQueryList, required: true, location_name: "MetricQueries")) GetResourceMetricsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime")) GetResourceMetricsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime")) @@ -187,6 +282,21 @@ module ClientApi GetResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) GetResourceMetricsResponse.struct_class = Types::GetResourceMetricsResponse + Insight.add_member(:insight_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InsightId")) + Insight.add_member(:insight_type, Shapes::ShapeRef.new(shape: String, location_name: "InsightType")) + Insight.add_member(:context, Shapes::ShapeRef.new(shape: ContextType, location_name: "Context")) + Insight.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "StartTime")) + Insight.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "EndTime")) + Insight.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "Severity")) + Insight.add_member(:supporting_insights, Shapes::ShapeRef.new(shape: InsightList, location_name: "SupportingInsights")) + Insight.add_member(:description, Shapes::ShapeRef.new(shape: MarkdownString, location_name: "Description")) + Insight.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, location_name: "Recommendations")) + Insight.add_member(:insight_data, Shapes::ShapeRef.new(shape: DataList, location_name: "InsightData")) + Insight.add_member(:baseline_data, Shapes::ShapeRef.new(shape: DataList, location_name: "BaselineData")) + Insight.struct_class = Types::Insight + + InsightList.member = Shapes::ShapeRef.new(shape: Insight) + InternalServiceError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "Message")) InternalServiceError.struct_class = Types::InternalServiceError @@ -194,7 +304,7 @@ module ClientApi InvalidArgumentException.struct_class = Types::InvalidArgumentException ListAvailableResourceDimensionsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) - ListAvailableResourceDimensionsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Identifier")) + ListAvailableResourceDimensionsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) ListAvailableResourceDimensionsRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: DimensionsMetricList, required: true, location_name: "Metrics")) ListAvailableResourceDimensionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListAvailableResourceDimensionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) @@ -205,7 +315,7 @@ module ClientApi ListAvailableResourceDimensionsResponse.struct_class = Types::ListAvailableResourceDimensionsResponse ListAvailableResourceMetricsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) - ListAvailableResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Identifier")) + ListAvailableResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) ListAvailableResourceMetricsRequest.add_member(:metric_types, Shapes::ShapeRef.new(shape: MetricTypeList, required: true, location_name: "MetricTypes")) ListAvailableResourceMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListAvailableResourceMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) @@ -215,6 +325,24 @@ module ClientApi ListAvailableResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListAvailableResourceMetricsResponse.struct_class = Types::ListAvailableResourceMetricsResponse + ListPerformanceAnalysisReportsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) + ListPerformanceAnalysisReportsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier")) + ListPerformanceAnalysisReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) + ListPerformanceAnalysisReportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) + ListPerformanceAnalysisReportsRequest.add_member(:list_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "ListTags")) + ListPerformanceAnalysisReportsRequest.struct_class = Types::ListPerformanceAnalysisReportsRequest + + ListPerformanceAnalysisReportsResponse.add_member(:analysis_reports, Shapes::ShapeRef.new(shape: AnalysisReportSummaryList, location_name: "AnalysisReports")) + ListPerformanceAnalysisReportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) + ListPerformanceAnalysisReportsResponse.struct_class = Types::ListPerformanceAnalysisReportsResponse + + ListTagsForResourceRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) + ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN")) + ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest + + ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) + ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse + MetricDimensionGroups.add_member(:metric, Shapes::ShapeRef.new(shape: String, location_name: "Metric")) MetricDimensionGroups.add_member(:groups, Shapes::ShapeRef.new(shape: DimensionGroupDetailList, location_name: "Groups")) MetricDimensionGroups.struct_class = Types::MetricDimensionGroups @@ -244,6 +372,18 @@ module ClientApi NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "Message")) NotAuthorizedException.struct_class = Types::NotAuthorizedException + PerformanceInsightsMetric.add_member(:metric, Shapes::ShapeRef.new(shape: DescriptiveString, location_name: "Metric")) + PerformanceInsightsMetric.add_member(:display_name, Shapes::ShapeRef.new(shape: DescriptiveString, location_name: "DisplayName")) + PerformanceInsightsMetric.add_member(:dimensions, Shapes::ShapeRef.new(shape: DescriptiveMap, location_name: "Dimensions")) + PerformanceInsightsMetric.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value")) + PerformanceInsightsMetric.struct_class = Types::PerformanceInsightsMetric + + Recommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationId")) + Recommendation.add_member(:recommendation_description, Shapes::ShapeRef.new(shape: MarkdownString, location_name: "RecommendationDescription")) + Recommendation.struct_class = Types::Recommendation + + RecommendationList.member = Shapes::ShapeRef.new(shape: Recommendation) + RequestStringList.member = Shapes::ShapeRef.new(shape: RequestString) RequestedDimensionList.member = Shapes::ShapeRef.new(shape: RequestString) @@ -264,6 +404,28 @@ module ClientApi ResponseResourceMetricList.member = Shapes::ShapeRef.new(shape: ResponseResourceMetric) + Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key")) + Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value")) + Tag.struct_class = Types::Tag + + TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) + + TagList.member = Shapes::ShapeRef.new(shape: Tag) + + TagResourceRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) + TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN")) + TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags")) + TagResourceRequest.struct_class = Types::TagResourceRequest + + TagResourceResponse.struct_class = Types::TagResourceResponse + + UntagResourceRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType")) + UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN")) + UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys")) + UntagResourceRequest.struct_class = Types::UntagResourceRequest + + UntagResourceResponse.struct_class = Types::UntagResourceResponse + # @api private API = Seahorse::Model::Api.new.tap do |api| @@ -284,6 +446,28 @@ module ClientApi "uid" => "pi-2018-02-27", } + api.add_operation(:create_performance_analysis_report, Seahorse::Model::Operation.new.tap do |o| + o.name = "CreatePerformanceAnalysisReport" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: CreatePerformanceAnalysisReportRequest) + o.output = Shapes::ShapeRef.new(shape: CreatePerformanceAnalysisReportResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceError) + o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) + end) + + api.add_operation(:delete_performance_analysis_report, Seahorse::Model::Operation.new.tap do |o| + o.name = "DeletePerformanceAnalysisReport" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: DeletePerformanceAnalysisReportRequest) + o.output = Shapes::ShapeRef.new(shape: DeletePerformanceAnalysisReportResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceError) + o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) + end) + api.add_operation(:describe_dimension_keys, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeDimensionKeys" o.http_method = "POST" @@ -312,6 +496,17 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) end) + api.add_operation(:get_performance_analysis_report, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetPerformanceAnalysisReport" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: GetPerformanceAnalysisReportRequest) + o.output = Shapes::ShapeRef.new(shape: GetPerformanceAnalysisReportResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceError) + o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) + end) + api.add_operation(:get_resource_metadata, Seahorse::Model::Operation.new.tap do |o| o.name = "GetResourceMetadata" o.http_method = "POST" @@ -373,6 +568,56 @@ module ClientApi } ) end) + + api.add_operation(:list_performance_analysis_reports, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListPerformanceAnalysisReports" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: ListPerformanceAnalysisReportsRequest) + o.output = Shapes::ShapeRef.new(shape: ListPerformanceAnalysisReportsResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceError) + o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + + api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListTagsForResource" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) + o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceError) + o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) + end) + + api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| + o.name = "TagResource" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) + o.output = Shapes::ShapeRef.new(shape: TagResourceResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceError) + o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) + end) + + api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o| + o.name = "UntagResource" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) + o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException) + o.errors << Shapes::ShapeRef.new(shape: InternalServiceError) + o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException) + end) end end diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb index 60a3e197a93..3207fd08811 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb @@ -12,6 +12,34 @@ module Aws::PI # @api private module Endpoints + class CreatePerformanceAnalysisReport + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::PI::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class DeletePerformanceAnalysisReport + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::PI::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class DescribeDimensionKeys def self.build(context) unless context.config.regional_endpoint @@ -40,6 +68,20 @@ def self.build(context) end end + class GetPerformanceAnalysisReport + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::PI::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetResourceMetadata def self.build(context) unless context.config.regional_endpoint @@ -96,5 +138,61 @@ def self.build(context) end end + class ListPerformanceAnalysisReports + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::PI::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class ListTagsForResource + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::PI::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class TagResource + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::PI::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class UntagResource + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::PI::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + end end diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb index ba528150215..596a617534f 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb @@ -56,10 +56,16 @@ def apply_endpoint_headers(context, headers) def parameters_for_operation(context) case context.operation_name + when :create_performance_analysis_report + Aws::PI::Endpoints::CreatePerformanceAnalysisReport.build(context) + when :delete_performance_analysis_report + Aws::PI::Endpoints::DeletePerformanceAnalysisReport.build(context) when :describe_dimension_keys Aws::PI::Endpoints::DescribeDimensionKeys.build(context) when :get_dimension_key_details Aws::PI::Endpoints::GetDimensionKeyDetails.build(context) + when :get_performance_analysis_report + Aws::PI::Endpoints::GetPerformanceAnalysisReport.build(context) when :get_resource_metadata Aws::PI::Endpoints::GetResourceMetadata.build(context) when :get_resource_metrics @@ -68,6 +74,14 @@ def parameters_for_operation(context) Aws::PI::Endpoints::ListAvailableResourceDimensions.build(context) when :list_available_resource_metrics Aws::PI::Endpoints::ListAvailableResourceMetrics.build(context) + when :list_performance_analysis_reports + Aws::PI::Endpoints::ListPerformanceAnalysisReports.build(context) + when :list_tags_for_resource + Aws::PI::Endpoints::ListTagsForResource.build(context) + when :tag_resource + Aws::PI::Endpoints::TagResource.build(context) + when :untag_resource + Aws::PI::Endpoints::UntagResource.build(context) end end end diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb index 7b35e97eb0e..3226899c719 100644 --- a/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb +++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/types.rb @@ -10,6 +10,172 @@ module Aws::PI module Types + # Retrieves the summary of the performance analysis report created for a + # time period. + # + # @!attribute [rw] analysis_report_id + # The name of the analysis report. + # @return [String] + # + # @!attribute [rw] identifier + # The unique identifier of the analysis report. + # @return [String] + # + # @!attribute [rw] service_type + # List the tags for the Amazon Web Services service for which + # Performance Insights returns metrics. Valid values are as follows: + # + # * `RDS` + # + # * `DOCDB` + # @return [String] + # + # @!attribute [rw] create_time + # The time you created the analysis report. + # @return [Time] + # + # @!attribute [rw] start_time + # The analysis start time in the report. + # @return [Time] + # + # @!attribute [rw] end_time + # The analysis end time in the report. + # @return [Time] + # + # @!attribute [rw] status + # The status of the created analysis report. + # @return [String] + # + # @!attribute [rw] insights + # The list of identified insights in the analysis report. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/AnalysisReport AWS API Documentation + # + class AnalysisReport < Struct.new( + :analysis_report_id, + :identifier, + :service_type, + :create_time, + :start_time, + :end_time, + :status, + :insights) + SENSITIVE = [] + include Aws::Structure + end + + # Retrieves the details of the performance analysis report. + # + # @!attribute [rw] analysis_report_id + # The name of the analysis report. + # @return [String] + # + # @!attribute [rw] create_time + # The time you created the analysis report. + # @return [Time] + # + # @!attribute [rw] start_time + # The start time of the analysis in the report. + # @return [Time] + # + # @!attribute [rw] end_time + # The end time of the analysis in the report. + # @return [Time] + # + # @!attribute [rw] status + # The status of the analysis report. + # @return [String] + # + # @!attribute [rw] tags + # List of all the tags added to the analysis report. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/AnalysisReportSummary AWS API Documentation + # + class AnalysisReportSummary < Struct.new( + :analysis_report_id, + :create_time, + :start_time, + :end_time, + :status, + :tags) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] service_type + # The Amazon Web Services service for which Performance Insights will + # return metrics. Valid value is `RDS`. + # @return [String] + # + # @!attribute [rw] identifier + # An immutable, Amazon Web Services Region-unique identifier for a + # data source. Performance Insights gathers metrics from this data + # source. + # + # To use an Amazon RDS instance as a data source, you specify its + # `DbiResourceId` value. For example, specify + # `db-ADECBTYHKTSAUMUZQYPDS2GW4A`. + # @return [String] + # + # @!attribute [rw] start_time + # The start time defined for the analysis report. + # @return [Time] + # + # @!attribute [rw] end_time + # The end time defined for the analysis report. + # @return [Time] + # + # @!attribute [rw] tags + # The metadata assigned to the analysis report consisting of a + # key-value pair. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/CreatePerformanceAnalysisReportRequest AWS API Documentation + # + class CreatePerformanceAnalysisReportRequest < Struct.new( + :service_type, + :identifier, + :start_time, + :end_time, + :tags) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] analysis_report_id + # A unique identifier for the created analysis report. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/CreatePerformanceAnalysisReportResponse AWS API Documentation + # + class CreatePerformanceAnalysisReportResponse < Struct.new( + :analysis_report_id) + SENSITIVE = [] + include Aws::Structure + end + + # List of data objects which provide details about source metrics. This + # field can be used to determine the PI metric to render for the + # insight. This data type also includes static values for the metrics + # for the Insight that were calculated and included in text and + # annotations on the DB load chart. + # + # @!attribute [rw] performance_insights_metric + # This field determines the Performance Insights metric to render for + # the insight. The `name` field refers to a Performance Insights + # metric. + # @return [Types::PerformanceInsightsMetric] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Data AWS API Documentation + # + class Data < Struct.new( + :performance_insights_metric) + SENSITIVE = [] + include Aws::Structure + end + # A timestamp, and a single numerical value, which together represent a # measurement at a particular point in time. # @@ -30,6 +196,40 @@ class DataPoint < Struct.new( include Aws::Structure end + # @!attribute [rw] service_type + # The Amazon Web Services service for which Performance Insights will + # return metrics. Valid value is `RDS`. + # @return [String] + # + # @!attribute [rw] identifier + # An immutable identifier for a data source that is unique for an + # Amazon Web Services Region. Performance Insights gathers metrics + # from this data source. In the console, the identifier is shown as + # *ResourceID*. When you call `DescribeDBInstances`, the identifier is + # returned as `DbiResourceId`. + # + # To use a DB instance as a data source, specify its `DbiResourceId` + # value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`. + # @return [String] + # + # @!attribute [rw] analysis_report_id + # The unique identifier of the analysis report for deletion. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DeletePerformanceAnalysisReportRequest AWS API Documentation + # + class DeletePerformanceAnalysisReportRequest < Struct.new( + :service_type, + :identifier, + :analysis_report_id) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DeletePerformanceAnalysisReportResponse AWS API Documentation + # + class DeletePerformanceAnalysisReportResponse < Aws::EmptyStructure; end + # @!attribute [rw] service_type # The Amazon Web Services service for which Performance Insights will # return metrics. Valid values are as follows: @@ -630,6 +830,62 @@ class GetDimensionKeyDetailsResponse < Struct.new( include Aws::Structure end + # @!attribute [rw] service_type + # The Amazon Web Services service for which Performance Insights will + # return metrics. Valid value is `RDS`. + # @return [String] + # + # @!attribute [rw] identifier + # An immutable identifier for a data source that is unique for an + # Amazon Web Services Region. Performance Insights gathers metrics + # from this data source. In the console, the identifier is shown as + # *ResourceID*. When you call `DescribeDBInstances`, the identifier is + # returned as `DbiResourceId`. + # + # To use a DB instance as a data source, specify its `DbiResourceId` + # value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`. + # @return [String] + # + # @!attribute [rw] analysis_report_id + # A unique identifier of the created analysis report. For example, + # `report-12345678901234567` + # @return [String] + # + # @!attribute [rw] text_format + # Indicates the text format in the report. The options are + # `PLAIN_TEXT` or `MARKDOWN`. The default value is `plain text`. + # @return [String] + # + # @!attribute [rw] accept_language + # The text language in the report. The default language is `EN_US` + # (English). + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetPerformanceAnalysisReportRequest AWS API Documentation + # + class GetPerformanceAnalysisReportRequest < Struct.new( + :service_type, + :identifier, + :analysis_report_id, + :text_format, + :accept_language) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] analysis_report + # The summary of the performance analysis report created for a time + # period. + # @return [Types::AnalysisReport] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetPerformanceAnalysisReportResponse AWS API Documentation + # + class GetPerformanceAnalysisReportResponse < Struct.new( + :analysis_report) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] service_type # The Amazon Web Services service for which Performance Insights # returns metrics. @@ -821,6 +1077,80 @@ class GetResourceMetricsResponse < Struct.new( include Aws::Structure end + # Retrieves the list of performance issues which are identified. + # + # @!attribute [rw] insight_id + # The unique identifier for the insight. For example, + # `insight-12345678901234567`. + # @return [String] + # + # @!attribute [rw] insight_type + # The type of insight. For example, `HighDBLoad`, `HighCPU`, or + # `DominatingSQLs`. + # @return [String] + # + # @!attribute [rw] context + # Indicates if the insight is causal or correlated insight. + # @return [String] + # + # @!attribute [rw] start_time + # The start time of the insight. For example, `2018-10-30T00:00:00Z`. + # @return [Time] + # + # @!attribute [rw] end_time + # The end time of the insight. For example, `2018-10-30T00:00:00Z`. + # @return [Time] + # + # @!attribute [rw] severity + # The severity of the insight. The values are: `Low`, `Medium`, or + # `High`. + # @return [String] + # + # @!attribute [rw] supporting_insights + # List of supporting insights that provide additional factors for the + # insight. + # @return [Array] + # + # @!attribute [rw] description + # Description of the insight. For example: `A high severity Insight + # found between 02:00 to 02:30, where there was an unusually high DB + # load 600x above baseline. Likely performance impact`. + # @return [String] + # + # @!attribute [rw] recommendations + # List of recommendations for the insight. For example, `Investigate + # the following SQLs that contributed to 100% of the total DBLoad + # during that time period: sql-id`. + # @return [Array] + # + # @!attribute [rw] insight_data + # List of data objects containing metrics and references from the time + # range while generating the insight. + # @return [Array] + # + # @!attribute [rw] baseline_data + # Metric names and values from the timeframe used as baseline to + # generate the insight. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Insight AWS API Documentation + # + class Insight < Struct.new( + :insight_id, + :insight_type, + :context, + :start_time, + :end_time, + :severity, + :supporting_insights, + :description, + :recommendations, + :insight_data, + :baseline_data) + SENSITIVE = [:description] + include Aws::Structure + end + # The request failed due to an unknown error. # # @!attribute [rw] message @@ -982,6 +1312,110 @@ class ListAvailableResourceMetricsResponse < Struct.new( include Aws::Structure end + # @!attribute [rw] service_type + # The Amazon Web Services service for which Performance Insights + # returns metrics. Valid value is `RDS`. + # @return [String] + # + # @!attribute [rw] identifier + # An immutable identifier for a data source that is unique for an + # Amazon Web Services Region. Performance Insights gathers metrics + # from this data source. In the console, the identifier is shown as + # *ResourceID*. When you call `DescribeDBInstances`, the identifier is + # returned as `DbiResourceId`. + # + # To use a DB instance as a data source, specify its `DbiResourceId` + # value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`. + # @return [String] + # + # @!attribute [rw] next_token + # An optional pagination token provided by a previous request. If this + # parameter is specified, the response includes only records beyond + # the token, up to the value specified by `MaxResults`. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of items to return in the response. If more items + # exist than the specified `MaxResults` value, a pagination token is + # included in the response so that the remaining results can be + # retrieved. + # @return [Integer] + # + # @!attribute [rw] list_tags + # Specifies whether or not to include the list of tags in the + # response. + # @return [Boolean] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReportsRequest AWS API Documentation + # + class ListPerformanceAnalysisReportsRequest < Struct.new( + :service_type, + :identifier, + :next_token, + :max_results, + :list_tags) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] analysis_reports + # List of reports including the report identifier, start and end time, + # creation time, and status. + # @return [Array] + # + # @!attribute [rw] next_token + # An optional pagination token provided by a previous request. If this + # parameter is specified, the response includes only records beyond + # the token, up to the value specified by `MaxResults`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReportsResponse AWS API Documentation + # + class ListPerformanceAnalysisReportsResponse < Struct.new( + :analysis_reports, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] service_type + # List the tags for the Amazon Web Services service for which + # Performance Insights returns metrics. Valid value is `RDS`. + # @return [String] + # + # @!attribute [rw] resource_arn + # Lists all the tags for the Amazon RDS Performance Insights resource. + # This value is an Amazon Resource Name (ARN). For information about + # creating an ARN, see [ Constructing an RDS Amazon Resource Name + # (ARN)][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListTagsForResourceRequest AWS API Documentation + # + class ListTagsForResourceRequest < Struct.new( + :service_type, + :resource_arn) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] tags + # The metadata assigned to an Amazon RDS resource consisting of a + # key-value pair. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListTagsForResourceResponse AWS API Documentation + # + class ListTagsForResourceResponse < Struct.new( + :tags) + SENSITIVE = [] + include Aws::Structure + end + # The available dimension information for a metric type. # # @!attribute [rw] metric @@ -1097,6 +1531,57 @@ class NotAuthorizedException < Struct.new( include Aws::Structure end + # This data type helps to determine Performance Insights metric to + # render for the insight. + # + # @!attribute [rw] metric + # The Performance Insights metric. + # @return [String] + # + # @!attribute [rw] display_name + # The Performance Insights metric name. + # @return [String] + # + # @!attribute [rw] dimensions + # A dimension map that contains the dimensions for this partition. + # @return [Hash] + # + # @!attribute [rw] value + # The value of the metric. For example, `9` for `db.load.avg`. + # @return [Float] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/PerformanceInsightsMetric AWS API Documentation + # + class PerformanceInsightsMetric < Struct.new( + :metric, + :display_name, + :dimensions, + :value) + SENSITIVE = [] + include Aws::Structure + end + + # The list of recommendations for the insight. + # + # @!attribute [rw] recommendation_id + # The unique identifier for the recommendation. + # @return [String] + # + # @!attribute [rw] recommendation_description + # The recommendation details to help resolve the performance issue. + # For example, `Investigate the following SQLs that contributed to + # 100% of the total DBLoad during that time period: sql-id` + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Recommendation AWS API Documentation + # + class Recommendation < Struct.new( + :recommendation_id, + :recommendation_description) + SENSITIVE = [:recommendation_description] + include Aws::Structure + end + # If `PartitionBy` was specified in a `DescribeDimensionKeys` request, # the dimensions are returned in an array. Each element in the array # specifies one dimension. @@ -1182,5 +1667,105 @@ class ResponseResourceMetricKey < Struct.new( include Aws::Structure end + # Metadata assigned to an Amazon RDS resource consisting of a key-value + # pair. + # + # @!attribute [rw] key + # A key is the required name of the tag. The string value can be from + # 1 to 128 Unicode characters in length and can't be prefixed with + # `aws:` or `rds:`. The string can only contain only the set of + # Unicode letters, digits, white-space, '\_', '.', ':', '/', + # '=', '+', '-', '@' (Java regex: + # `"^([\\p\{L\}\\p\{Z\}\\p\{N\}_.:/=+\\-@]*)$"`). + # @return [String] + # + # @!attribute [rw] value + # A value is the optional value of the tag. The string value can be + # from 1 to 256 Unicode characters in length and can't be prefixed + # with `aws:` or `rds:`. The string can only contain only the set of + # Unicode letters, digits, white-space, '\_', '.', ':', '/', + # '=', '+', '-', '@' (Java regex: + # "^(\[\\\\p\\\{L\\}\\\\p\\\{Z\\}\\\\p\\\{N\\}\_.:/=+\\\\-@\]*)$"). + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Tag AWS API Documentation + # + class Tag < Struct.new( + :key, + :value) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] service_type + # The Amazon Web Services service for which Performance Insights + # returns metrics. Valid value is `RDS`. + # @return [String] + # + # @!attribute [rw] resource_arn + # The Amazon RDS Performance Insights resource that the tags are added + # to. This value is an Amazon Resource Name (ARN). For information + # about creating an ARN, see [ Constructing an RDS Amazon Resource + # Name (ARN)][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing + # @return [String] + # + # @!attribute [rw] tags + # The metadata assigned to an Amazon RDS resource consisting of a + # key-value pair. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/TagResourceRequest AWS API Documentation + # + class TagResourceRequest < Struct.new( + :service_type, + :resource_arn, + :tags) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/TagResourceResponse AWS API Documentation + # + class TagResourceResponse < Aws::EmptyStructure; end + + # @!attribute [rw] service_type + # List the tags for the Amazon Web Services service for which + # Performance Insights returns metrics. Valid value is `RDS`. + # @return [String] + # + # @!attribute [rw] resource_arn + # The Amazon RDS Performance Insights resource that the tags are added + # to. This value is an Amazon Resource Name (ARN). For information + # about creating an ARN, see [ Constructing an RDS Amazon Resource + # Name (ARN)][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing + # @return [String] + # + # @!attribute [rw] tag_keys + # The metadata assigned to an Amazon RDS Performance Insights resource + # consisting of a key-value pair. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/UntagResourceRequest AWS API Documentation + # + class UntagResourceRequest < Struct.new( + :service_type, + :resource_arn, + :tag_keys) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/UntagResourceResponse AWS API Documentation + # + class UntagResourceResponse < Aws::EmptyStructure; end + end end diff --git a/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb index 80845518a81..53570f3cc59 100644 --- a/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb +++ b/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb @@ -476,6 +476,19 @@ module Aws::PI end end + context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do + let(:expected) do + {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>true, :use_dual_stack=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do let(:expected) do {"endpoint"=>{"url"=>"https://pi-fips.us-iso-east-1.c2s.ic.gov"}} @@ -490,6 +503,19 @@ module Aws::PI end end + context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do + let(:expected) do + {"error"=>"DualStack is enabled but this partition does not support DualStack"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"us-iso-east-1", :use_fips=>false, :use_dual_stack=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do let(:expected) do {"endpoint"=>{"url"=>"https://pi.us-iso-east-1.c2s.ic.gov"}} @@ -504,6 +530,19 @@ module Aws::PI end end + context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do + let(:expected) do + {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>true, :use_dual_stack=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do let(:expected) do {"endpoint"=>{"url"=>"https://pi-fips.us-isob-east-1.sc2s.sgov.gov"}} @@ -518,6 +557,19 @@ module Aws::PI end end + context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do + let(:expected) do + {"error"=>"DualStack is enabled but this partition does not support DualStack"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"us-isob-east-1", :use_fips=>false, :use_dual_stack=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do let(:expected) do {"endpoint"=>{"url"=>"https://pi.us-isob-east-1.sc2s.sgov.gov"}} @@ -586,5 +638,18 @@ module Aws::PI end end + context 'Missing region' do + let(:expected) do + {"error"=>"Invalid Configuration: Missing Region"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + end end diff --git a/gems/aws-sdk-route53domains/CHANGELOG.md b/gems/aws-sdk-route53domains/CHANGELOG.md index dff9ce730c9..a17ab43ea48 100644 --- a/gems/aws-sdk-route53domains/CHANGELOG.md +++ b/gems/aws-sdk-route53domains/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.50.0 (2023-08-15) +------------------ + +* Feature - Provide explanation if CheckDomainTransferability return false. Provide requestId if a request is already submitted. Add sensitive protection for customer information + 1.49.0 (2023-07-11) ------------------ diff --git a/gems/aws-sdk-route53domains/VERSION b/gems/aws-sdk-route53domains/VERSION index 7f3a46a841e..5a5c7211dc6 100644 --- a/gems/aws-sdk-route53domains/VERSION +++ b/gems/aws-sdk-route53domains/VERSION @@ -1 +1 @@ -1.49.0 +1.50.0 diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb index 146e71ee862..c774582fffe 100644 --- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb +++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Route53Domains - GEM_VERSION = '1.49.0' + GEM_VERSION = '1.50.0' end diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb index 1fc0fb8d5ec..a2286cdd9a6 100644 --- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb +++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb @@ -445,7 +445,7 @@ def initialize(*args) # # resp = client.accept_domain_transfer_from_another_aws_account({ # domain_name: "DomainName", # required - # password: "String", # required + # password: "Password", # required # }) # # @example Response structure @@ -652,6 +652,7 @@ def check_domain_availability(params = {}, options = {}) # @return [Types::CheckDomainTransferabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CheckDomainTransferabilityResponse#transferability #transferability} => Types::DomainTransferability + # * {Types::CheckDomainTransferabilityResponse#message #message} => String # # @example Request syntax with placeholder values # @@ -663,6 +664,7 @@ def check_domain_availability(params = {}, options = {}) # @example Response structure # # resp.transferability.transferable #=> String, one of "TRANSFERABLE", "UNTRANSFERABLE", "DONT_KNOW", "DOMAIN_IN_OWN_ACCOUNT", "DOMAIN_IN_ANOTHER_ACCOUNT", "PREMIUM_DOMAIN" + # resp.message #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferability AWS API Documentation # @@ -2631,7 +2633,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-route53domains' - context[:gem_version] = '1.49.0' + context[:gem_version] = '1.50.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client_api.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client_api.rb index d8cbdc8f9f9..c16670c9c7e 100644 --- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client_api.rb +++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client_api.rb @@ -109,6 +109,7 @@ module ClientApi ListPricesResponse = Shapes::StructureShape.new(name: 'ListPricesResponse') ListTagsForDomainRequest = Shapes::StructureShape.new(name: 'ListTagsForDomainRequest') ListTagsForDomainResponse = Shapes::StructureShape.new(name: 'ListTagsForDomainResponse') + Message = Shapes::StringShape.new(name: 'Message') Nameserver = Shapes::StructureShape.new(name: 'Nameserver') NameserverList = Shapes::ListShape.new(name: 'NameserverList') NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger') @@ -123,6 +124,7 @@ module ClientApi Operator = Shapes::StringShape.new(name: 'Operator') PageMarker = Shapes::StringShape.new(name: 'PageMarker') PageMaxItems = Shapes::IntegerShape.new(name: 'PageMaxItems') + Password = Shapes::StringShape.new(name: 'Password') Price = Shapes::FloatShape.new(name: 'Price') PriceWithCurrency = Shapes::StructureShape.new(name: 'PriceWithCurrency') PushDomainRequest = Shapes::StructureShape.new(name: 'PushDomainRequest') @@ -137,6 +139,7 @@ module ClientApi RejectDomainTransferFromAnotherAwsAccountResponse = Shapes::StructureShape.new(name: 'RejectDomainTransferFromAnotherAwsAccountResponse') RenewDomainRequest = Shapes::StructureShape.new(name: 'RenewDomainRequest') RenewDomainResponse = Shapes::StructureShape.new(name: 'RenewDomainResponse') + RequestId = Shapes::StringShape.new(name: 'RequestId') Reseller = Shapes::StringShape.new(name: 'Reseller') ResendContactReachabilityEmailRequest = Shapes::StructureShape.new(name: 'ResendContactReachabilityEmailRequest') ResendContactReachabilityEmailResponse = Shapes::StructureShape.new(name: 'ResendContactReachabilityEmailResponse') @@ -177,7 +180,7 @@ module ClientApi ZipCode = Shapes::StringShape.new(name: 'ZipCode') AcceptDomainTransferFromAnotherAwsAccountRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName")) - AcceptDomainTransferFromAnotherAwsAccountRequest.add_member(:password, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Password")) + AcceptDomainTransferFromAnotherAwsAccountRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "Password")) AcceptDomainTransferFromAnotherAwsAccountRequest.struct_class = Types::AcceptDomainTransferFromAnotherAwsAccountRequest AcceptDomainTransferFromAnotherAwsAccountResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) @@ -217,6 +220,7 @@ module ClientApi CheckDomainTransferabilityRequest.struct_class = Types::CheckDomainTransferabilityRequest CheckDomainTransferabilityResponse.add_member(:transferability, Shapes::ShapeRef.new(shape: DomainTransferability, location_name: "Transferability")) + CheckDomainTransferabilityResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message")) CheckDomainTransferabilityResponse.struct_class = Types::CheckDomainTransferabilityResponse Consent.add_member(:max_price, Shapes::ShapeRef.new(shape: Price, required: true, location_name: "MaxPrice")) @@ -320,6 +324,7 @@ module ClientApi DomainTransferability.add_member(:transferable, Shapes::ShapeRef.new(shape: Transferable, location_name: "Transferable")) DomainTransferability.struct_class = Types::DomainTransferability + DuplicateRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "requestId")) DuplicateRequest.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) DuplicateRequest.struct_class = Types::DuplicateRequest @@ -561,7 +566,7 @@ module ClientApi TransferDomainToAnotherAwsAccountRequest.struct_class = Types::TransferDomainToAnotherAwsAccountRequest TransferDomainToAnotherAwsAccountResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: OperationId, location_name: "OperationId")) - TransferDomainToAnotherAwsAccountResponse.add_member(:password, Shapes::ShapeRef.new(shape: String, location_name: "Password")) + TransferDomainToAnotherAwsAccountResponse.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password")) TransferDomainToAnotherAwsAccountResponse.struct_class = Types::TransferDomainToAnotherAwsAccountResponse UnsupportedTLD.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/errors.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/errors.rb index 78a3592dfc9..5ff51b94a94 100644 --- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/errors.rb +++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/errors.rb @@ -80,6 +80,11 @@ def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end + # @return [String] + def request_id + @data[:request_id] + end + # @return [String] def message @message || @data[:message] diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb index cb2634d6ce2..f43cf50a528 100644 --- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb +++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb @@ -37,7 +37,7 @@ module Types class AcceptDomainTransferFromAnotherAwsAccountRequest < Struct.new( :domain_name, :password) - SENSITIVE = [] + SENSITIVE = [:password] include Aws::Structure end @@ -332,10 +332,15 @@ class CheckDomainTransferabilityRequest < Struct.new( # domain can be transferred to Route 53. # @return [Types::DomainTransferability] # + # @!attribute [rw] message + # Provides an explanation for when a domain can't be transferred. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferabilityResponse AWS API Documentation # class CheckDomainTransferabilityResponse < Struct.new( - :transferability) + :transferability, + :message) SENSITIVE = [] include Aws::Structure end @@ -461,7 +466,7 @@ class ContactDetail < Struct.new( :email, :fax, :extra_params) - SENSITIVE = [] + SENSITIVE = [:first_name, :last_name, :organization_name, :address_line_1, :address_line_2, :city, :state, :country_code, :zip_code, :phone_number, :email, :fax] include Aws::Structure end @@ -937,7 +942,7 @@ class DomainSummary < Struct.new( # # DOMAIN\_IN\_ANOTHER\_ACCOUNT # - # : the domain exists in another Amazon Web Services account. + # : The domain exists in another Amazon Web Services account. # # PREMIUM\_DOMAIN # @@ -954,6 +959,10 @@ class DomainTransferability < Struct.new( # The request is already in progress for the domain. # + # @!attribute [rw] request_id + # ID of the request operation. + # @return [String] + # # @!attribute [rw] message # The request is already in progress for the domain. # @return [String] @@ -961,6 +970,7 @@ class DomainTransferability < Struct.new( # @see http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DuplicateRequest AWS API Documentation # class DuplicateRequest < Struct.new( + :request_id, :message) SENSITIVE = [] include Aws::Structure @@ -1659,7 +1669,7 @@ class GetDomainDetailResponse < Struct.new( :dns_sec, :status_list, :dnssec_keys) - SENSITIVE = [:admin_contact, :registrant_contact, :tech_contact] + SENSITIVE = [:admin_contact, :registrant_contact, :tech_contact, :abuse_contact_email, :abuse_contact_phone] include Aws::Structure end @@ -2516,7 +2526,7 @@ class ResendContactReachabilityEmailResponse < Struct.new( :domain_name, :email_address, :is_already_verified) - SENSITIVE = [] + SENSITIVE = [:email_address] include Aws::Structure end @@ -2834,7 +2844,7 @@ class TransferDomainToAnotherAwsAccountRequest < Struct.new( class TransferDomainToAnotherAwsAccountResponse < Struct.new( :operation_id, :password) - SENSITIVE = [] + SENSITIVE = [:password] include Aws::Structure end diff --git a/gems/aws-sdk-sagemaker/CHANGELOG.md b/gems/aws-sdk-sagemaker/CHANGELOG.md index 8046280f751..76b9a5c2825 100644 --- a/gems/aws-sdk-sagemaker/CHANGELOG.md +++ b/gems/aws-sdk-sagemaker/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.206.0 (2023-08-15) +------------------ + +* Feature - SageMaker Inference Recommender now provides SupportedResponseMIMETypes from DescribeInferenceRecommendationsJob response + 1.205.0 (2023-08-09) ------------------ diff --git a/gems/aws-sdk-sagemaker/VERSION b/gems/aws-sdk-sagemaker/VERSION index 2492aaba5b2..71987f737e3 100644 --- a/gems/aws-sdk-sagemaker/VERSION +++ b/gems/aws-sdk-sagemaker/VERSION @@ -1 +1 @@ -1.205.0 +1.206.0 diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb index f038312478d..a9f78bb1337 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb @@ -53,6 +53,6 @@ # @!group service module Aws::SageMaker - GEM_VERSION = '1.205.0' + GEM_VERSION = '1.206.0' end diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb index d049edb1d59..1f3af46dc2b 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb @@ -2606,10 +2606,6 @@ def create_edge_packaging_job(params = {}, options = {}) # # Use this API to deploy models using SageMaker hosting services. # - # For an example that calls this method when deploying a model to - # SageMaker hosting services, see the [Create Endpoint example - # notebook.][2] - # # You must not delete an `EndpointConfig` that is in use by an endpoint # that is live or while the `UpdateEndpoint` or `CreateEndpoint` # operations are being performed on the endpoint. To update an endpoint, @@ -2624,16 +2620,16 @@ def create_edge_packaging_job(params = {}, options = {}) # the resources (ML compute instances), and deploys the model(s) on # them. # - # When you call [CreateEndpoint][3], a load call is made to DynamoDB to + # When you call [CreateEndpoint][2], a load call is made to DynamoDB to # verify that your endpoint configuration exists. When you read data - # from a DynamoDB table supporting [ `Eventually Consistent Reads` ][4], + # from a DynamoDB table supporting [ `Eventually Consistent Reads` ][3], # the response might not reflect the results of a recently completed # write operation. The response might include some stale data. If the # dependent entities are not yet in DynamoDB, this causes a validation # error. If you repeat your read request after a short time, the # response should return the latest data. So retry logic is recommended # to handle these possible issues. We also recommend that customers call - # [DescribeEndpointConfig][5] before calling [CreateEndpoint][3] to + # [DescribeEndpointConfig][4] before calling [CreateEndpoint][2] to # minimize the potential impact of a DynamoDB eventually consistent # read. # @@ -2643,7 +2639,7 @@ def create_edge_packaging_job(params = {}, options = {}) # `Creating`. After it creates the endpoint, it sets the status to # `InService`. SageMaker can then process incoming requests for # inferences. To check the status of an endpoint, use the - # [DescribeEndpoint][6] API. + # [DescribeEndpoint][5] API. # # If any of the models hosted at this endpoint get model data from an # Amazon S3 location, SageMaker uses Amazon Web Services Security Token @@ -2652,13 +2648,13 @@ def create_edge_packaging_job(params = {}, options = {}) # account by default. If you previously deactivated Amazon Web Services # STS for a region, you need to reactivate Amazon Web Services STS for # that region. For more information, see [Activating and Deactivating - # Amazon Web Services STS in an Amazon Web Services Region][7] in the + # Amazon Web Services STS in an Amazon Web Services Region][6] in the # *Amazon Web Services Identity and Access Management User Guide*. # # To add the IAM role policies for using this API operation, go to the - # [IAM console][8], and choose Roles in the left navigation pane. Search + # [IAM console][7], and choose Roles in the left navigation pane. Search # the IAM role that you want to grant access to use the - # [CreateEndpoint][3] and [CreateEndpointConfig][1] API operations, add + # [CreateEndpoint][2] and [CreateEndpointConfig][1] API operations, add # the following policies to the role. # # * Option 1: For a full SageMaker access, search and attach the @@ -2680,21 +2676,20 @@ def create_edge_packaging_job(params = {}, options = {}) # `]` # # For more information, see [SageMaker API Permissions: Actions, - # Permissions, and Resources Reference][9]. + # Permissions, and Resources Reference][8]. # # # # # # [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpointConfig.html - # [2]: https://github.com/aws/amazon-sagemaker-examples/blob/master/sagemaker-fundamentals/create-endpoint/create_endpoint.ipynb - # [3]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html - # [4]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html - # [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpointConfig.html - # [6]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html - # [7]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html - # [8]: https://console.aws.amazon.com/iam/ - # [9]: https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html + # [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateEndpoint.html + # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html + # [4]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpointConfig.html + # [5]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html + # [6]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html + # [7]: https://console.aws.amazon.com/iam/ + # [8]: https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html # # @option params [required, String] :endpoint_name # The name of the endpoint.The name must be unique within an Amazon Web @@ -4514,6 +4509,7 @@ def create_inference_experiment(params = {}, options = {}) # supported_instance_types: ["String"], # data_input_config: "RecommendationJobDataInputConfig", # supported_endpoint_type: "RealTime", # accepts RealTime, Serverless + # supported_response_mime_types: ["RecommendationJobSupportedResponseMIMEType"], # }, # endpoints: [ # { @@ -5557,6 +5553,10 @@ def create_model_explainability_job_definition(params = {}, options = {}) # information, see [Tagging Amazon Web Services resources][1] in the # *Amazon Web Services General Reference Guide*. # + # If you supply `ModelPackageGroupName`, your model package belongs to + # the model group you specify and uses the tags associated with the + # model group. In this case, you cannot supply a `tag` argument. + # # # # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html @@ -12354,6 +12354,8 @@ def describe_inference_experiment(params = {}, options = {}) # resp.input_config.container_config.supported_instance_types[0] #=> String # resp.input_config.container_config.data_input_config #=> String # resp.input_config.container_config.supported_endpoint_type #=> String, one of "RealTime", "Serverless" + # resp.input_config.container_config.supported_response_mime_types #=> Array + # resp.input_config.container_config.supported_response_mime_types[0] #=> String # resp.input_config.endpoints #=> Array # resp.input_config.endpoints[0].endpoint_name #=> String # resp.input_config.vpc_config.security_group_ids #=> Array @@ -24092,7 +24094,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-sagemaker' - context[:gem_version] = '1.205.0' + context[:gem_version] = '1.206.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb index e281cf0ee12..36357ae4501 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb @@ -1634,6 +1634,8 @@ module ClientApi RecommendationJobSupportedContentTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedContentTypes') RecommendationJobSupportedEndpointType = Shapes::StringShape.new(name: 'RecommendationJobSupportedEndpointType') RecommendationJobSupportedInstanceTypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedInstanceTypes') + RecommendationJobSupportedResponseMIMEType = Shapes::StringShape.new(name: 'RecommendationJobSupportedResponseMIMEType') + RecommendationJobSupportedResponseMIMETypes = Shapes::ListShape.new(name: 'RecommendationJobSupportedResponseMIMETypes') RecommendationJobType = Shapes::StringShape.new(name: 'RecommendationJobType') RecommendationJobVpcConfig = Shapes::StructureShape.new(name: 'RecommendationJobVpcConfig') RecommendationJobVpcSecurityGroupId = Shapes::StringShape.new(name: 'RecommendationJobVpcSecurityGroupId') @@ -7957,6 +7959,7 @@ module ClientApi RecommendationJobContainerConfig.add_member(:supported_instance_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedInstanceTypes, location_name: "SupportedInstanceTypes")) RecommendationJobContainerConfig.add_member(:data_input_config, Shapes::ShapeRef.new(shape: RecommendationJobDataInputConfig, location_name: "DataInputConfig")) RecommendationJobContainerConfig.add_member(:supported_endpoint_type, Shapes::ShapeRef.new(shape: RecommendationJobSupportedEndpointType, location_name: "SupportedEndpointType")) + RecommendationJobContainerConfig.add_member(:supported_response_mime_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedResponseMIMETypes, location_name: "SupportedResponseMIMETypes")) RecommendationJobContainerConfig.struct_class = Types::RecommendationJobContainerConfig RecommendationJobInferenceBenchmark.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, location_name: "Metrics")) @@ -8001,6 +8004,8 @@ module ClientApi RecommendationJobSupportedInstanceTypes.member = Shapes::ShapeRef.new(shape: String) + RecommendationJobSupportedResponseMIMETypes.member = Shapes::ShapeRef.new(shape: RecommendationJobSupportedResponseMIMEType) + RecommendationJobVpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: RecommendationJobVpcSecurityGroupIds, required: true, location_name: "SecurityGroupIds")) RecommendationJobVpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: RecommendationJobVpcSubnets, required: true, location_name: "Subnets")) RecommendationJobVpcConfig.struct_class = Types::RecommendationJobVpcConfig diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb index 464cb369175..675a557a828 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb @@ -7148,6 +7148,10 @@ class CreateModelPackageGroupOutput < Struct.new( # information, see [Tagging Amazon Web Services resources][1] in the # *Amazon Web Services General Reference Guide*. # + # If you supply `ModelPackageGroupName`, your model package belongs to + # the model group you specify and uses the tags associated with the + # model group. In this case, you cannot supply a `tag` argument. + # # # # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html @@ -34402,6 +34406,10 @@ class RecommendationJobCompiledOutputConfig < Struct.new( # benchmarks for the desired endpoint type. # @return [String] # + # @!attribute [rw] supported_response_mime_types + # The supported MIME types for the output data. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobContainerConfig AWS API Documentation # class RecommendationJobContainerConfig < Struct.new( @@ -34413,7 +34421,8 @@ class RecommendationJobContainerConfig < Struct.new( :nearest_model_name, :supported_instance_types, :data_input_config, - :supported_endpoint_type) + :supported_endpoint_type, + :supported_response_mime_types) SENSITIVE = [] include Aws::Structure end