-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release-1.29.44: Bumping version to 1.29.44 Update changelog based on model updates CLI examples configservice, ec2, pinpoint, payment-cryptography, payment-cryptography-data
- Loading branch information
Showing
50 changed files
with
1,329 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"category": "``fsx``", | ||
"description": "Amazon FSx documentation fixes", | ||
"type": "api-change" | ||
}, | ||
{ | ||
"category": "``sagemaker``", | ||
"description": "Autopilot APIs will now support holiday featurization for Timeseries models. The models will now hold holiday metadata and should be able to accommodate holiday effect during inference.", | ||
"type": "api-change" | ||
}, | ||
{ | ||
"category": "``sso-admin``", | ||
"description": "Content updates to IAM Identity Center API for China Regions.", | ||
"type": "api-change" | ||
}, | ||
{ | ||
"category": "``workspaces``", | ||
"description": "A new field \"ErrorDetails\" will be added to the output of \"DescribeWorkspaceImages\" API call. This field provides in-depth details about the error occurred during image import process. These details include the possible causes of the errors and troubleshooting information.", | ||
"type": "api-change" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 56 additions & 17 deletions
73
awscli/examples/configservice/put-configuration-recorder.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,74 @@ | ||
**To record all supported resources** | ||
**Example 1: To record all supported resources** | ||
|
||
The following command creates a configuration recorder that tracks changes to all supported resource types, including global resource types:: | ||
|
||
aws configservice put-configuration-recorder --configuration-recorder name=default,roleARN=arn:aws:iam::123456789012:role/config-role --recording-group allSupported=true,includeGlobalResourceTypes=true | ||
aws configservice put-configuration-recorder \ | ||
--configuration-recorder name=default,roleARN=arn:aws:iam::123456789012:role/config-role \ | ||
--recording-group allSupported=true,includeGlobalResourceTypes=true | ||
|
||
**To record specific types of resources** | ||
If the command succeeds, AWS Config returns no output. To verify the settings of your configuration recorder, run the `describe-configuration-recorders`__ command. | ||
|
||
.. __: http://docs.aws.amazon.com/cli/latest/reference/configservice/describe-configuration-recorders.html | ||
|
||
**Example 2: To record specific types of resources** | ||
|
||
The following command creates a configuration recorder that tracks changes to only those types of resources that are specified in the JSON file for the `--recording-group` option:: | ||
|
||
aws configservice put-configuration-recorder --configuration-recorder name=default,roleARN=arn:aws:iam::123456789012:role/config-role --recording-group file://recordingGroup.json | ||
aws configservice put-configuration-recorder \ | ||
--configuration-recorder name=default,roleARN=arn:aws:iam::123456789012:role/config-role \ | ||
--recording-group file://recordingGroup.json | ||
|
||
`recordingGroup.json` is a JSON file that specifies the types of resources that AWS Config will record:: | ||
|
||
{ | ||
"allSupported": false, | ||
"includeGlobalResourceTypes": false, | ||
"resourceTypes": [ | ||
"AWS::EC2::EIP", | ||
"AWS::EC2::Instance", | ||
"AWS::EC2::NetworkAcl", | ||
"AWS::EC2::SecurityGroup", | ||
"AWS::CloudTrail::Trail", | ||
"AWS::EC2::Volume", | ||
"AWS::EC2::VPC", | ||
"AWS::IAM::User", | ||
"AWS::IAM::Policy" | ||
] | ||
"allSupported": false, | ||
"includeGlobalResourceTypes": false, | ||
"resourceTypes": [ | ||
"AWS::EC2::EIP", | ||
"AWS::EC2::Instance", | ||
"AWS::EC2::NetworkAcl", | ||
"AWS::EC2::SecurityGroup", | ||
"AWS::CloudTrail::Trail", | ||
"AWS::EC2::Volume", | ||
"AWS::EC2::VPC", | ||
"AWS::IAM::User", | ||
"AWS::IAM::Policy" | ||
] | ||
} | ||
|
||
Before you can specify resource types for the `resourceTypes` key, you must set the `allSupported` and `includeGlobalResourceTypes` options to false or omit them. | ||
|
||
If the command succeeds, AWS Config returns no output. To verify the settings of your configuration recorder, run the `describe-configuration-recorders`__ command. | ||
|
||
.. __: http://docs.aws.amazon.com/cli/latest/reference/configservice/describe-configuration-recorders.html | ||
|
||
**Example 3: To select all supported resources excluding specific types of resources** | ||
|
||
The following command creates a configuration recorder that tracks changes to all current and future supported resource types excluding those types of resources that are specified in the JSON file for the `--recording-group` option:: | ||
|
||
aws configservice put-configuration-recorder \ | ||
--configuration-recorder name=default,roleARN=arn:aws:iam::123456789012:role/config-role \ | ||
--recording-group file://recordingGroup.json | ||
|
||
`recordingGroup.json` is a JSON file that specifies the types of resources that AWS Config will record:: | ||
|
||
{ | ||
"allSupported": false, | ||
"exclusionByResourceTypes": { | ||
"resourceTypes": [ | ||
"AWS::Redshift::ClusterSnapshot", | ||
"AWS::RDS::DBClusterSnapshot", | ||
"AWS::CloudFront::StreamingDistribution" | ||
] | ||
}, | ||
"includeGlobalResourceTypes": false, | ||
"recordingStrategy": { | ||
"useOnly": "EXCLUSION_BY_RESOURCE_TYPES" | ||
}, | ||
} | ||
|
||
Before you can specify resource types to excluding from recording: 1) You must set the allSupported and includeGlobalResourceTypes options to false or omit them, and 2) You must set the useOnly field of RecordingStrategy to EXCLUSION_BY_RESOURCE_TYPES. | ||
|
||
If the command succeeds, AWS Config returns no output. To verify the settings of your configuration recorder, run the `describe-configuration-recorders`__ command. | ||
|
||
.. __: http://docs.aws.amazon.com/cli/latest/reference/configservice/describe-configuration-recorders.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,76 @@ | ||
**Example 1: To describe one or more of your capacity reservations** | ||
|
||
The following ``describe-capacity-reservations`` example displays details about all of your capacity reservations in the current AWS Region. :: | ||
|
||
aws ec2 describe-capacity-reservations | ||
|
||
Output:: | ||
|
||
{ | ||
"CapacityReservations": [ | ||
{ | ||
"CapacityReservationId": "cr-1234abcd56EXAMPLE ", | ||
"EndDateType": "unlimited", | ||
"AvailabilityZone": "eu-west-1a", | ||
"InstanceMatchCriteria": "open", | ||
"Tags": [], | ||
"EphemeralStorage": false, | ||
"CreateDate": "2019-08-16T09:03:18.000Z", | ||
"AvailableInstanceCount": 1, | ||
"InstancePlatform": "Linux/UNIX", | ||
"TotalInstanceCount": 1, | ||
"State": "active", | ||
"Tenancy": "default", | ||
"EbsOptimized": true, | ||
"InstanceType": "a1.medium" | ||
}, | ||
{ | ||
"CapacityReservationId": "cr-abcdEXAMPLE9876ef ", | ||
"EndDateType": "unlimited", | ||
"AvailabilityZone": "eu-west-1a", | ||
"InstanceMatchCriteria": "open", | ||
"Tags": [], | ||
"EphemeralStorage": false, | ||
"CreateDate": "2019-08-07T11:34:19.000Z", | ||
"AvailableInstanceCount": 3, | ||
"InstancePlatform": "Linux/UNIX", | ||
"TotalInstanceCount": 3, | ||
"State": "cancelled", | ||
"Tenancy": "default", | ||
"EbsOptimized": true, | ||
"InstanceType": "m5.large" | ||
} | ||
] | ||
} | ||
|
||
**Example 2: To describe one or more of your capacity reservations** | ||
|
||
The following ``describe-capacity-reservations`` example displays details about the specified capacity reservation. :: | ||
|
||
aws ec2 describe-capacity-reservations \ | ||
--capacity-reservation-id cr-1234abcd56EXAMPLE | ||
|
||
Output:: | ||
|
||
{ | ||
"CapacityReservations": [ | ||
{ | ||
"CapacityReservationId": "cr-1234abcd56EXAMPLE", | ||
"EndDateType": "unlimited", | ||
"AvailabilityZone": "eu-west-1a", | ||
"InstanceMatchCriteria": "open", | ||
"Tags": [], | ||
"EphemeralStorage": false, | ||
"CreateDate": "2019-08-16T09:03:18.000Z", | ||
"AvailableInstanceCount": 1, | ||
"InstancePlatform": "Linux/UNIX", | ||
"TotalInstanceCount": 1, | ||
"State": "active", | ||
"Tenancy": "default", | ||
"EbsOptimized": true, | ||
"InstanceType": "a1.medium" | ||
} | ||
] | ||
} | ||
|
||
For more information, see `Viewing a Capacity Reservation <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#capacity-reservations-view>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. | ||
**Example 1: To describe one or more of your capacity reservations** | ||
|
||
The following ``describe-capacity-reservations`` example displays details about all of your capacity reservations in the current AWS Region. :: | ||
|
||
aws ec2 describe-capacity-reservations | ||
|
||
Output:: | ||
|
||
{ | ||
"CapacityReservations": [ | ||
{ | ||
"CapacityReservationId": "cr-1234abcd56EXAMPLE ", | ||
"EndDateType": "unlimited", | ||
"AvailabilityZone": "eu-west-1a", | ||
"InstanceMatchCriteria": "open", | ||
"Tags": [], | ||
"EphemeralStorage": false, | ||
"CreateDate": "2019-08-16T09:03:18.000Z", | ||
"AvailableInstanceCount": 1, | ||
"InstancePlatform": "Linux/UNIX", | ||
"TotalInstanceCount": 1, | ||
"State": "active", | ||
"Tenancy": "default", | ||
"EbsOptimized": true, | ||
"InstanceType": "a1.medium" | ||
}, | ||
{ | ||
"CapacityReservationId": "cr-abcdEXAMPLE9876ef ", | ||
"EndDateType": "unlimited", | ||
"AvailabilityZone": "eu-west-1a", | ||
"InstanceMatchCriteria": "open", | ||
"Tags": [], | ||
"EphemeralStorage": false, | ||
"CreateDate": "2019-08-07T11:34:19.000Z", | ||
"AvailableInstanceCount": 3, | ||
"InstancePlatform": "Linux/UNIX", | ||
"TotalInstanceCount": 3, | ||
"State": "cancelled", | ||
"Tenancy": "default", | ||
"EbsOptimized": true, | ||
"InstanceType": "m5.large" | ||
} | ||
] | ||
} | ||
|
||
**Example 2: To describe one or more of your capacity reservations** | ||
|
||
The following ``describe-capacity-reservations`` example displays details about the specified capacity reservation. :: | ||
|
||
aws ec2 describe-capacity-reservations \ | ||
--capacity-reservation-ids cr-1234abcd56EXAMPLE | ||
|
||
Output:: | ||
|
||
{ | ||
"CapacityReservations": [ | ||
{ | ||
"CapacityReservationId": "cr-1234abcd56EXAMPLE", | ||
"EndDateType": "unlimited", | ||
"AvailabilityZone": "eu-west-1a", | ||
"InstanceMatchCriteria": "open", | ||
"Tags": [], | ||
"EphemeralStorage": false, | ||
"CreateDate": "2019-08-16T09:03:18.000Z", | ||
"AvailableInstanceCount": 1, | ||
"InstancePlatform": "Linux/UNIX", | ||
"TotalInstanceCount": 1, | ||
"State": "active", | ||
"Tenancy": "default", | ||
"EbsOptimized": true, | ||
"InstanceType": "a1.medium" | ||
} | ||
] | ||
} | ||
|
||
For more information, see `Viewing a Capacity Reservation <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#capacity-reservations-view>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 19 additions & 18 deletions
37
awscli/examples/ec2/describe-instance-credit-specifications.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
**To describe the credit option for CPU usage of one or more instances** | ||
|
||
This example describes the current credit option for CPU usage of the specified instance. | ||
|
||
Command:: | ||
|
||
aws ec2 describe-instance-credit-specifications --instance-id i-1234567890abcdef0 | ||
|
||
Output:: | ||
|
||
{ | ||
"InstanceCreditSpecifications": [ | ||
{ | ||
"InstanceId": "i-1234567890abcdef0", | ||
"CpuCredits": "unlimited" | ||
} | ||
] | ||
} | ||
**To describe the credit option for CPU usage of one or more instances** | ||
|
||
The following ``describe-instance-credit-specifications`` example describes the CPU credit option for the specified instance. :: | ||
|
||
aws ec2 describe-instance-credit-specifications \ | ||
--instance-ids i-1234567890abcdef0 | ||
|
||
Output:: | ||
|
||
{ | ||
"InstanceCreditSpecifications": [ | ||
{ | ||
"InstanceId": "i-1234567890abcdef0", | ||
"CpuCredits": "unlimited" | ||
} | ||
] | ||
} | ||
|
||
For more information, see `Work with burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-how-to.html>`__ in the *Amazon EC2 User Guide*. |
Oops, something went wrong.