Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- data/lib/python3.10/site-packages/awscli/examples/cur/delete-report-definition.rst +7 -0
- data/lib/python3.10/site-packages/awscli/examples/cur/describe-report-definitions.rst +30 -0
- data/lib/python3.10/site-packages/awscli/examples/cur/put-report-definition.rst +25 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/confirm-transit-virtual-interface.rst +15 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/create-bgp-peer.rst +50 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/create-direct-connect-gateway.rst +19 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/delete-interconnect.rst +11 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/delete-lag.rst +23 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-connections-on-interconnect.rst +23 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-connections.rst +24 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-direct-connect-gateway-association-proposals.rst +64 -0
- data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-interconnects.rst +20 -0
- data/lib/python3.10/site-packages/awscli/examples/fis/list-actions.rst +129 -0
- data/lib/python3.10/site-packages/awscli/examples/fis/list-experiment-templates.rst +23 -0
- data/lib/python3.10/site-packages/awscli/examples/fis/list-experiments.rst +26 -0
- data/lib/python3.10/site-packages/awscli/examples/fis/stop-experiment.rst +65 -0
- data/lib/python3.10/site-packages/awscli/examples/fis/tag-resource.rst +11 -0
- data/lib/python3.10/site-packages/awscli/examples/fis/untag-resource.rst +10 -0
- data/lib/python3.10/site-packages/awscli/examples/health/describe-affected-entities.rst +23 -0
- data/lib/python3.10/site-packages/awscli/examples/iotevents-data/batch-update-detector.rst +38 -0
- data/lib/python3.10/site-packages/awscli/examples/iotevents-data/describe-input.rst +33 -0
- data/lib/python3.10/site-packages/awscli/examples/iotevents-data/describe-logging-options.rst +17 -0
- data/lib/python3.10/site-packages/awscli/examples/iotevents-data/list-inputs.rst +19 -0
- data/lib/python3.10/site-packages/awscli/examples/lightsail/attach-instances-to-load-balancer.rst +104 -0
- data/lib/python3.10/site-packages/awscli/examples/lightsail/delete-known-host-keys.rst +29 -0
- data/lib/python3.10/site-packages/awscli/examples/lightsail/get-instance-state.rst +15 -0
- data/lib/python3.10/site-packages/awscli/examples/lightsail/get-static-ip.rst +24 -0
- data/lib/python3.10/site-packages/awscli/examples/lightsail/peer-vpc.rst +27 -0
- data/lib/python3.10/site-packages/awscli/examples/lightsail/stop-instance.rst +27 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/create-alias.rst +18 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/export-key.rst +28 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/get-key.rst +41 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/get-public-key-certificate.rst +43 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/import-key.rst +52 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/list-keys.rst +41 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/restore-key.rst +40 -0
- data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/update-alias.rst +18 -0
- data/lib/python3.10/site-packages/awscli/examples/polly/delete-lexicon.rst +10 -0
- data/lib/python3.10/site-packages/awscli/examples/polly/get-lexicon.rst +25 -0
- data/lib/python3.10/site-packages/awscli/examples/polly/get-speech-synthesis-task.rst +23 -0
- data/lib/python3.10/site-packages/awscli/examples/polly/list-lexicons.rst +25 -0
- data/lib/python3.10/site-packages/awscli/examples/polly/list-speech-synthesis-tasks.rst +25 -0
- data/lib/python3.10/site-packages/awscli/examples/polly/put-lexicon.rst +29 -0
- data/lib/python3.10/site-packages/awscli/examples/polly/start-speech-synthesis-task.rst +27 -0
- data/lib/python3.10/site-packages/awscli/examples/rekognition/compare-faces.rst +74 -0
- data/lib/python3.10/site-packages/awscli/examples/rekognition/create-collection.rst +16 -0
- data/lib/python3.10/site-packages/awscli/examples/rekognition/create-stream-processor.rst +17 -0
- data/lib/python3.10/site-packages/awscli/examples/rekognition/delete-collection.rst +14 -0
- data/lib/python3.10/site-packages/awscli/examples/rekognition/delete-faces.rst +17 -0
.gitattributes
CHANGED
|
@@ -1158,3 +1158,4 @@ janus/lib/python3.10/site-packages/torch/testing/_internal/__pycache__/common_nn
|
|
| 1158 |
janus/lib/python3.10/site-packages/torch/testing/_internal/__pycache__/common_utils.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
| 1159 |
infer_4_37_2/lib/python3.10/site-packages/scipy/_lib/_ccallback_c.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 1160 |
infer_4_37_2/lib/python3.10/site-packages/numpy/lib/__pycache__/function_base.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 1158 |
janus/lib/python3.10/site-packages/torch/testing/_internal/__pycache__/common_utils.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
| 1159 |
infer_4_37_2/lib/python3.10/site-packages/scipy/_lib/_ccallback_c.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 1160 |
infer_4_37_2/lib/python3.10/site-packages/numpy/lib/__pycache__/function_base.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
| 1161 |
+
data/lib/python3.10/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
data/lib/python3.10/site-packages/awscli/examples/cur/delete-report-definition.rst
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To delete an AWS Cost and Usage Report**
|
| 2 |
+
|
| 3 |
+
This example deletes an AWS Cost and Usage Report.
|
| 4 |
+
|
| 5 |
+
Command::
|
| 6 |
+
|
| 7 |
+
aws cur --region us-east-1 delete-report-definition --report-name "ExampleReport"
|
data/lib/python3.10/site-packages/awscli/examples/cur/describe-report-definitions.rst
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To retrieve a list of AWS Cost and Usage Reports**
|
| 2 |
+
|
| 3 |
+
This example describes a list of AWS Cost and Usage Reports owned by an account.
|
| 4 |
+
|
| 5 |
+
Command::
|
| 6 |
+
|
| 7 |
+
aws cur --region us-east-1 describe-report-definitions --max-items 5
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"ReportDefinitions": [
|
| 13 |
+
{
|
| 14 |
+
"ReportName": "ExampleReport",
|
| 15 |
+
"Compression": "ZIP",
|
| 16 |
+
"S3Region": "us-east-1",
|
| 17 |
+
"Format": "textORcsv",
|
| 18 |
+
"S3Prefix": "exampleprefix",
|
| 19 |
+
"S3Bucket": "example-s3-bucket",
|
| 20 |
+
"TimeUnit": "DAILY",
|
| 21 |
+
"AdditionalArtifacts": [
|
| 22 |
+
"REDSHIFT",
|
| 23 |
+
"QUICKSIGHT"
|
| 24 |
+
],
|
| 25 |
+
"AdditionalSchemaElements": [
|
| 26 |
+
"RESOURCES"
|
| 27 |
+
]
|
| 28 |
+
}
|
| 29 |
+
]
|
| 30 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/cur/put-report-definition.rst
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To create an AWS Cost and Usage Reports**
|
| 2 |
+
|
| 3 |
+
The following ``put-report-definition`` example creates a daily AWS Cost and Usage Report that you can upload into Amazon Redshift or Amazon QuickSight. ::
|
| 4 |
+
|
| 5 |
+
aws cur put-report-definition --report-definition file://report-definition.json
|
| 6 |
+
|
| 7 |
+
Contents of ``report-definition.json``::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"ReportName": "ExampleReport",
|
| 11 |
+
"TimeUnit": "DAILY",
|
| 12 |
+
"Format": "textORcsv",
|
| 13 |
+
"Compression": "ZIP",
|
| 14 |
+
"AdditionalSchemaElements": [
|
| 15 |
+
"RESOURCES"
|
| 16 |
+
],
|
| 17 |
+
"S3Bucket": "example-s3-bucket",
|
| 18 |
+
"S3Prefix": "exampleprefix",
|
| 19 |
+
"S3Region": "us-east-1",
|
| 20 |
+
"AdditionalArtifacts": [
|
| 21 |
+
"REDSHIFT",
|
| 22 |
+
"QUICKSIGHT"
|
| 23 |
+
]
|
| 24 |
+
}
|
| 25 |
+
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/confirm-transit-virtual-interface.rst
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To accept ownership of a transit virtual interface**
|
| 2 |
+
|
| 3 |
+
The following ``confirm-transit-virtual-interface`` accepts ownership of a transit virtual interface created by another customer. ::
|
| 4 |
+
|
| 5 |
+
aws directconnect confirm-transit-virtual-interface \
|
| 6 |
+
--virtual-interface-id dxvif-fEXAMPLE \
|
| 7 |
+
--direct-connect-gateway-id 4112ccf9-25e9-4111-8237-b6c5dEXAMPLE
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"virtualInterfaceState": "pending"
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
For more information, see `Accepting a Hosted Virtual Interface <https://docs.aws.amazon.com/directconnect/latest/UserGuide/accepthostedvirtualinterface.html>`__ in the *AWS Direct Connect User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/create-bgp-peer.rst
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To create an IPv6 BGP peering session**
|
| 2 |
+
|
| 3 |
+
The following example creates an IPv6 BGP peering session on private virtual interface ``dxvif-fg1vuj3d``. The peer IPv6 addresses are automatically allocated by Amazon.
|
| 4 |
+
|
| 5 |
+
Command::
|
| 6 |
+
|
| 7 |
+
aws directconnect create-bgp-peer --virtual-interface-id dxvif-fg1vuj3d --new-bgp-peer asn=64600,addressFamily=ipv6
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"virtualInterface": {
|
| 13 |
+
"virtualInterfaceState": "available",
|
| 14 |
+
"asn": 65000,
|
| 15 |
+
"vlan": 125,
|
| 16 |
+
"customerAddress": "169.254.255.2/30",
|
| 17 |
+
"ownerAccount": "123456789012",
|
| 18 |
+
"connectionId": "dxcon-fguhmqlc",
|
| 19 |
+
"addressFamily": "ipv4",
|
| 20 |
+
"virtualGatewayId": "vgw-f9eb0c90",
|
| 21 |
+
"virtualInterfaceId": "dxvif-fg1vuj3d",
|
| 22 |
+
"authKey": "0xC_ukbCerl6EYA0example",
|
| 23 |
+
"routeFilterPrefixes": [],
|
| 24 |
+
"location": "EqDC2",
|
| 25 |
+
"bgpPeers": [
|
| 26 |
+
{
|
| 27 |
+
"bgpStatus": "down",
|
| 28 |
+
"customerAddress": "169.254.255.2/30",
|
| 29 |
+
"addressFamily": "ipv4",
|
| 30 |
+
"authKey": "0xC_ukbCerl6EYA0uexample",
|
| 31 |
+
"bgpPeerState": "available",
|
| 32 |
+
"amazonAddress": "169.254.255.1/30",
|
| 33 |
+
"asn": 65000
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"bgpStatus": "down",
|
| 37 |
+
"customerAddress": "2001:db8:1100:2f0:0:1:9cb4:4216/125",
|
| 38 |
+
"addressFamily": "ipv6",
|
| 39 |
+
"authKey": "0xS27kAIU_VHPjjAexample",
|
| 40 |
+
"bgpPeerState": "pending",
|
| 41 |
+
"amazonAddress": "2001:db8:1100:2f0:0:1:9cb4:4211/125",
|
| 42 |
+
"asn": 64600
|
| 43 |
+
}
|
| 44 |
+
],
|
| 45 |
+
"customerRouterConfig": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<logical_connection id=\"dxvif-fg1vuj3d\">\n <vlan>125</vlan>\n <customer_address>169.254.255.2/30</customer_address>\n <amazon_address>169.254.255.1/30</amazon_address>\n <bgp_asn>65000</bgp_asn>\n <bgp_auth_key>0xC_ukbCerl6EYA0uexample</bgp_auth_key>\n <ipv6_customer_address>2001:db8:1100:2f0:0:1:9cb4:4216/125</ipv6_customer_address>\n <ipv6_amazon_address>2001:db8:1100:2f0:0:1:9cb4:4211/125</ipv6_amazon_address>\n <ipv6_bgp_asn>64600</ipv6_bgp_asn>\n <ipv6_bgp_auth_key>0xS27kAIU_VHPjjAexample</ipv6_bgp_auth_key>\n <amazon_bgp_asn>7224</amazon_bgp_asn>\n <connection_type>private</connection_type>\n</logical_connection>\n",
|
| 46 |
+
"amazonAddress": "169.254.255.1/30",
|
| 47 |
+
"virtualInterfaceType": "private",
|
| 48 |
+
"virtualInterfaceName": "Test"
|
| 49 |
+
}
|
| 50 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/create-direct-connect-gateway.rst
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To create a Direct Connect gateway**
|
| 2 |
+
|
| 3 |
+
The following example creates a Direct Connect gateway with the name ``DxGateway1``.
|
| 4 |
+
|
| 5 |
+
Command::
|
| 6 |
+
|
| 7 |
+
aws directconnect create-direct-connect-gateway --direct-connect-gateway-name "DxGateway1"
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"directConnectGateway": {
|
| 13 |
+
"amazonSideAsn": 64512,
|
| 14 |
+
"directConnectGatewayId": "5f294f92-bafb-4011-916d-9b0bdexample",
|
| 15 |
+
"ownerAccount": "123456789012",
|
| 16 |
+
"directConnectGatewayName": "DxGateway1",
|
| 17 |
+
"directConnectGatewayState": "available"
|
| 18 |
+
}
|
| 19 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/delete-interconnect.rst
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To delete an interconnect**
|
| 2 |
+
|
| 3 |
+
The following ``delete-interconnect`` command deletes the specified interconnect::
|
| 4 |
+
|
| 5 |
+
aws directconnect delete-interconnect --interconnect-id dxcon-fgktov66
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"interconnectState": "deleted"
|
| 11 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/delete-lag.rst
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To delete a LAG**
|
| 2 |
+
|
| 3 |
+
The following example deletes the specified LAG.
|
| 4 |
+
|
| 5 |
+
Command::
|
| 6 |
+
|
| 7 |
+
aws directconnect delete-lag --lag-id dxlag-ffrhowd9
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"awsDevice": "EqDC2-4h6ce2r1bes6",
|
| 13 |
+
"numberOfConnections": 0,
|
| 14 |
+
"lagState": "deleted",
|
| 15 |
+
"ownerAccount": "123456789012",
|
| 16 |
+
"lagName": "TestLAG",
|
| 17 |
+
"connections": [],
|
| 18 |
+
"lagId": "dxlag-ffrhowd9",
|
| 19 |
+
"minimumLinks": 0,
|
| 20 |
+
"connectionsBandwidth": "1Gbps",
|
| 21 |
+
"region": "us-east-1",
|
| 22 |
+
"location": "EqDC2"
|
| 23 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-connections-on-interconnect.rst
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list connections on an interconnect**
|
| 2 |
+
|
| 3 |
+
The following ``describe-connections-on-interconnect`` command lists connections that have been provisioned on the given interconnect::
|
| 4 |
+
|
| 5 |
+
aws directconnect describe-connections-on-interconnect --interconnect-id dxcon-fgktov66
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"connections": [
|
| 11 |
+
{
|
| 12 |
+
"partnerName": "TIVIT",
|
| 13 |
+
"vlan": 101,
|
| 14 |
+
"ownerAccount": "123456789012",
|
| 15 |
+
"connectionId": "dxcon-ffzc51m1",
|
| 16 |
+
"connectionState": "ordering",
|
| 17 |
+
"bandwidth": "500Mbps",
|
| 18 |
+
"location": "TIVIT",
|
| 19 |
+
"connectionName": "mydcinterconnect",
|
| 20 |
+
"region": "sa-east-1"
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-connections.rst
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list all connections in the current region**
|
| 2 |
+
|
| 3 |
+
The following ``describe-connections`` command lists all connections in the current region::
|
| 4 |
+
|
| 5 |
+
aws directconnect describe-connections
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"connections": [
|
| 11 |
+
{
|
| 12 |
+
"awsDevice": "EqDC2-123h49s71dabc",
|
| 13 |
+
"ownerAccount": "123456789012",
|
| 14 |
+
"connectionId": "dxcon-fguhmqlc",
|
| 15 |
+
"lagId": "dxlag-ffrz71kw",
|
| 16 |
+
"connectionState": "down",
|
| 17 |
+
"bandwidth": "1Gbps",
|
| 18 |
+
"location": "EqDC2",
|
| 19 |
+
"connectionName": "My_Connection",
|
| 20 |
+
"loaIssueTime": 1491568964.0,
|
| 21 |
+
"region": "us-east-1"
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-direct-connect-gateway-association-proposals.rst
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To describe your Direct Connect gateway association proposals**
|
| 2 |
+
|
| 3 |
+
The following ``describe-direct-connect-gateway-association-proposals`` example displays details about your Direct Connect gateway association proposals. ::
|
| 4 |
+
|
| 5 |
+
aws directconnect describe-direct-connect-gateway-association-proposals
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"directConnectGatewayAssociationProposals": [
|
| 11 |
+
{
|
| 12 |
+
"proposalId": "c2ede9b4-bbc6-4d33-923c-bc4feEXAMPLE",
|
| 13 |
+
"directConnectGatewayId": "11460968-4ac1-4fd3-bdb2-00599EXAMPLE",
|
| 14 |
+
"directConnectGatewayOwnerAccount": "111122223333",
|
| 15 |
+
"proposalState": "requested",
|
| 16 |
+
"associatedGateway": {
|
| 17 |
+
"id": "tgw-02f776b1a7EXAMPLE",
|
| 18 |
+
"type": "transitGateway",
|
| 19 |
+
"ownerAccount": "111122223333",
|
| 20 |
+
"region": "us-east-1"
|
| 21 |
+
},
|
| 22 |
+
"existingAllowedPrefixesToDirectConnectGateway": [
|
| 23 |
+
{
|
| 24 |
+
"cidr": "192.168.2.0/30"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"cidr": "192.168.1.0/30"
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"requestedAllowedPrefixesToDirectConnectGateway": [
|
| 31 |
+
{
|
| 32 |
+
"cidr": "192.168.1.0/30"
|
| 33 |
+
}
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"proposalId": "cb7f41cb-8128-43a5-93b1-dcaedEXAMPLE",
|
| 38 |
+
"directConnectGatewayId": "11560968-4ac1-4fd3-bcb2-00599EXAMPLE",
|
| 39 |
+
"directConnectGatewayOwnerAccount": "111122223333",
|
| 40 |
+
"proposalState": "accepted",
|
| 41 |
+
"associatedGateway": {
|
| 42 |
+
"id": "tgw-045776b1a7EXAMPLE",
|
| 43 |
+
"type": "transitGateway",
|
| 44 |
+
"ownerAccount": "111122223333",
|
| 45 |
+
"region": "us-east-1"
|
| 46 |
+
},
|
| 47 |
+
"existingAllowedPrefixesToDirectConnectGateway": [
|
| 48 |
+
{
|
| 49 |
+
"cidr": "192.168.4.0/30"
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"cidr": "192.168.5.0/30"
|
| 53 |
+
}
|
| 54 |
+
],
|
| 55 |
+
"requestedAllowedPrefixesToDirectConnectGateway": [
|
| 56 |
+
{
|
| 57 |
+
"cidr": "192.168.5.0/30"
|
| 58 |
+
}
|
| 59 |
+
]
|
| 60 |
+
}
|
| 61 |
+
]
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
For more information, see `Associating and Disassociating Transit Gateways <https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-transit-gateways.html#associate-tgw-with-direct-connect-gateway>`__ in the *AWS Direct Connect User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/directconnect/describe-interconnects.rst
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list interconnects**
|
| 2 |
+
|
| 3 |
+
The following ``describe-interconnects`` command lists the interconnects owned by your AWS account::
|
| 4 |
+
|
| 5 |
+
aws directconnect describe-interconnects
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"interconnects": [
|
| 11 |
+
{
|
| 12 |
+
"region": "sa-east-1",
|
| 13 |
+
"bandwidth": "1Gbps",
|
| 14 |
+
"location": "TIVIT",
|
| 15 |
+
"interconnectName": "1G Interconnect to AWS",
|
| 16 |
+
"interconnectId": "dxcon-fgktov66",
|
| 17 |
+
"interconnectState": "down"
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/fis/list-actions.rst
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list actions**
|
| 2 |
+
|
| 3 |
+
The following ``list-actions`` example lists the available actions. ::
|
| 4 |
+
|
| 5 |
+
aws fis list-actions
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"actions": [
|
| 11 |
+
{
|
| 12 |
+
"id": "aws:ec2:reboot-instances",
|
| 13 |
+
"description": "Reboot the specified EC2 instances.",
|
| 14 |
+
"targets": {
|
| 15 |
+
"Instances": {
|
| 16 |
+
"resourceType": "aws:ec2:instance"
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"tags": {}
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"id": "aws:ec2:stop-instances",
|
| 23 |
+
"description": "Stop the specified EC2 instances.",
|
| 24 |
+
"targets": {
|
| 25 |
+
"Instances": {
|
| 26 |
+
"resourceType": "aws:ec2:instance"
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"tags": {}
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"id": "aws:ec2:terminate-instances",
|
| 33 |
+
"description": "Terminate the specified EC2 instances.",
|
| 34 |
+
"targets": {
|
| 35 |
+
"Instances": {
|
| 36 |
+
"resourceType": "aws:ec2:instance"
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"tags": {}
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"id": "aws:ecs:drain-container-instances",
|
| 43 |
+
"description": "Drain percentage of underlying EC2 instances on an ECS cluster.",
|
| 44 |
+
"targets": {
|
| 45 |
+
"Clusters": {
|
| 46 |
+
"resourceType": "aws:ecs:cluster"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"tags": {}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"id": "aws:eks:terminate-nodegroup-instances",
|
| 53 |
+
"description": "Terminates a percentage of the underlying EC2 instances in an EKS cluster.",
|
| 54 |
+
"targets": {
|
| 55 |
+
"Nodegroups": {
|
| 56 |
+
"resourceType": "aws:eks:nodegroup"
|
| 57 |
+
}
|
| 58 |
+
},
|
| 59 |
+
"tags": {}
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"id": "aws:fis:inject-api-internal-error",
|
| 63 |
+
"description": "Cause an AWS service to return internal error responses for specific callers and operations.",
|
| 64 |
+
"targets": {
|
| 65 |
+
"Roles": {
|
| 66 |
+
"resourceType": "aws:iam:role"
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"tags": {}
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"id": "aws:fis:inject-api-throttle-error",
|
| 73 |
+
"description": "Cause an AWS service to return throttled responses for specific callers and operations.",
|
| 74 |
+
"targets": {
|
| 75 |
+
"Roles": {
|
| 76 |
+
"resourceType": "aws:iam:role"
|
| 77 |
+
}
|
| 78 |
+
},
|
| 79 |
+
"tags": {}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"id": "aws:fis:inject-api-unavailable-error",
|
| 83 |
+
"description": "Cause an AWS service to return unavailable error responses for specific callers and operations.",
|
| 84 |
+
"targets": {
|
| 85 |
+
"Roles": {
|
| 86 |
+
"resourceType": "aws:iam:role"
|
| 87 |
+
}
|
| 88 |
+
},
|
| 89 |
+
"tags": {}
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"id": "aws:fis:wait",
|
| 93 |
+
"description": "Wait for the specified duration. Stop condition monitoring will continue during this time.",
|
| 94 |
+
"tags": {}
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"id": "aws:rds:failover-db-cluster",
|
| 98 |
+
"description": "Failover a DB Cluster to one of the replicas.",
|
| 99 |
+
"targets": {
|
| 100 |
+
"Clusters": {
|
| 101 |
+
"resourceType": "aws:rds:cluster"
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"tags": {}
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"id": "aws:rds:reboot-db-instances",
|
| 108 |
+
"description": "Reboot the specified DB instances.",
|
| 109 |
+
"targets": {
|
| 110 |
+
"DBInstances": {
|
| 111 |
+
"resourceType": "aws:rds:db"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"tags": {}
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"id": "aws:ssm:send-command",
|
| 118 |
+
"description": "Run the specified SSM document.",
|
| 119 |
+
"targets": {
|
| 120 |
+
"Instances": {
|
| 121 |
+
"resourceType": "aws:ec2:instance"
|
| 122 |
+
}
|
| 123 |
+
},
|
| 124 |
+
"tags": {}
|
| 125 |
+
}
|
| 126 |
+
]
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
For more information, see `Actions <https://docs.aws.amazon.com/fis/latest/userguide/actions.html>`__ in the *AWS Fault Injection Simulator User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/fis/list-experiment-templates.rst
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list experiment templates**
|
| 2 |
+
|
| 3 |
+
The following ``list-experiment-templates`` example lists the experiment templates in your AWS account. ::
|
| 4 |
+
|
| 5 |
+
aws fis list-experiment-templates
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"experimentTemplates": [
|
| 11 |
+
{
|
| 12 |
+
"id": "ABCDE1fgHIJkLmNop",
|
| 13 |
+
"description": "myExperimentTemplate",
|
| 14 |
+
"creationTime": 1616017191.124,
|
| 15 |
+
"lastUpdateTime": 1616017191.124,
|
| 16 |
+
"tags": {
|
| 17 |
+
"key": "value"
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
For more information, see `Experiment templates <https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html>`__ in the *AWS Fault Injection Simulator User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/fis/list-experiments.rst
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list experiments**
|
| 2 |
+
|
| 3 |
+
The following ``list-experiments`` example lists the experiments in your AWS account. ::
|
| 4 |
+
|
| 5 |
+
aws fis list-experiments
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"experiments": [
|
| 11 |
+
{
|
| 12 |
+
"id": "ABCdeF1GHiJkLM23NO",
|
| 13 |
+
"experimentTemplateId": "ABCDE1fgHIJkLmNop",
|
| 14 |
+
"state": {
|
| 15 |
+
"status": "running",
|
| 16 |
+
"reason": "Experiment is running."
|
| 17 |
+
},
|
| 18 |
+
"creationTime": 1616017341.197,
|
| 19 |
+
"tags": {
|
| 20 |
+
"key": "value"
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
For more information, see `Experiments <https://docs.aws.amazon.com/fis/latest/userguide/experiments.html>`__ in the *AWS Fault Injection Simulator User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/fis/stop-experiment.rst
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To stop an experiment**
|
| 2 |
+
|
| 3 |
+
The following ``stop-experiment`` example stops the specified experiment from running. ::
|
| 4 |
+
|
| 5 |
+
aws fis stop-experiment \
|
| 6 |
+
--id ABC12DeFGhI3jKLMNOP
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"experiment": {
|
| 12 |
+
"id": "ABC12DeFGhI3jKLMNOP",
|
| 13 |
+
"experimentTemplateId": "ABCDE1fgHIJkLmNop",
|
| 14 |
+
"roleArn": "arn:aws:iam::123456789012:role/myRole",
|
| 15 |
+
"state": {
|
| 16 |
+
"status": "stopping",
|
| 17 |
+
"reason": "Stopping Experiment."
|
| 18 |
+
},
|
| 19 |
+
"targets": {
|
| 20 |
+
"Instances-Target-1": {
|
| 21 |
+
"resourceType": "aws:ec2:instance",
|
| 22 |
+
"resourceArns": [
|
| 23 |
+
"arn:aws:ec2:us-west-2:123456789012:instance/i-12a3b4c56d78e9012"
|
| 24 |
+
],
|
| 25 |
+
"selectionMode": "ALL"
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"actions": {
|
| 29 |
+
"reboot": {
|
| 30 |
+
"actionId": "aws:ec2:reboot-instances",
|
| 31 |
+
"parameters": {},
|
| 32 |
+
"targets": {
|
| 33 |
+
"Instances": "Instances-Target-1"
|
| 34 |
+
},
|
| 35 |
+
"startAfter": [
|
| 36 |
+
"wait"
|
| 37 |
+
],
|
| 38 |
+
"state": {
|
| 39 |
+
"status": "pending",
|
| 40 |
+
"reason": "Initial state."
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
"wait": {
|
| 44 |
+
"actionId": "aws:fis:wait",
|
| 45 |
+
"parameters": {
|
| 46 |
+
"duration": "PT5M"
|
| 47 |
+
},
|
| 48 |
+
"state": {
|
| 49 |
+
"status": "running",
|
| 50 |
+
"reason": ""
|
| 51 |
+
}
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"stopConditions": [
|
| 55 |
+
{
|
| 56 |
+
"source": "none"
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"creationTime": 1616432680.927,
|
| 60 |
+
"startTime": 1616432681.177,
|
| 61 |
+
"tags": {}
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
For more information, see `Experiments for AWS FIS <https://docs.aws.amazon.com/fis/latest/userguide/experiments.html>`__ in the *AWS Fault Injection Simulator User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/fis/tag-resource.rst
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To tag a resource**
|
| 2 |
+
|
| 3 |
+
The following ``tag-resource`` example tags the specified resource. ::
|
| 4 |
+
|
| 5 |
+
aws fis tag-resource \
|
| 6 |
+
--resource-arn arn:aws:fis:us-west-2:123456789012:experiment/ABC12DeFGhI3jKLMNOP \
|
| 7 |
+
--tags key1=value1,key2=value2
|
| 8 |
+
|
| 9 |
+
This command produces no output.
|
| 10 |
+
|
| 11 |
+
For more information, see `Tag your AWS FIS resources <https://docs.aws.amazon.com/fis/latest/userguide/tagging.html>`__ in the *AWS Fault Injection Simulator User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/fis/untag-resource.rst
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To untag a resource**
|
| 2 |
+
|
| 3 |
+
The following ``untag-resource`` example removes the tags from the specified resource. ::
|
| 4 |
+
|
| 5 |
+
aws fis untag-resource \
|
| 6 |
+
--resource-arn arn:aws:fis:us-west-2:123456789012:experiment/ABC12DeFGhI3jKLMNOP
|
| 7 |
+
|
| 8 |
+
This command produces no output.
|
| 9 |
+
|
| 10 |
+
For more information, see `Tag your AWS FIS resources <https://docs.aws.amazon.com/fis/latest/userguide/tagging.html>`__ in the *AWS Fault Injection Simulator User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/health/describe-affected-entities.rst
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list the entities that are affected by a specified AWS Health event**
|
| 2 |
+
|
| 3 |
+
The following ``describe-affected-entities`` example lists the entities that are affected by the specified AWS Health event. This event is a billing notification for the AWS account. ::
|
| 4 |
+
|
| 5 |
+
aws health describe-affected-entities \
|
| 6 |
+
--filter "eventArns=arn:aws:health:global::event/BILLING/AWS_BILLING_NOTIFICATION/AWS_BILLING_NOTIFICATION_6ce1d874-e995-40e2-99cd-EXAMPLE11145" \
|
| 7 |
+
--region us-east-1
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"entities": [
|
| 13 |
+
{
|
| 14 |
+
"entityArn": "arn:aws:health:global:123456789012:entity/EXAMPLEimSMoULmWHpb",
|
| 15 |
+
"eventArn": "arn:aws:health:global::event/BILLING/AWS_BILLING_NOTIFICATION/AWS_BILLING_NOTIFICATION_6ce1d874-e995-40e2-99cd-EXAMPLE11145",
|
| 16 |
+
"entityValue": "AWS_ACCOUNT",
|
| 17 |
+
"awsAccountId": "123456789012",
|
| 18 |
+
"lastUpdatedTime": 1588356454.08
|
| 19 |
+
}
|
| 20 |
+
]
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
For more information, see `Event log <https://docs.aws.amazon.com/health/latest/ug/getting-started-phd.html#event-log>`__ in the *AWS Health User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/iotevents-data/batch-update-detector.rst
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To update a detector (instance)**
|
| 2 |
+
|
| 3 |
+
The following ``batch-update-detector`` example updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model. ::
|
| 4 |
+
|
| 5 |
+
aws iotevents-data batch-update-detector \
|
| 6 |
+
--cli-input-json file://budFulton-A32.json
|
| 7 |
+
|
| 8 |
+
Contents of ``budFulton-A32.json``::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"detectors": [
|
| 12 |
+
{
|
| 13 |
+
"messageId": "00001",
|
| 14 |
+
"detectorModelName": "motorDetectorModel",
|
| 15 |
+
"keyValue": "Fulton-A32",
|
| 16 |
+
"state": {
|
| 17 |
+
"stateName": "Normal",
|
| 18 |
+
"variables": [
|
| 19 |
+
{
|
| 20 |
+
"name": "pressureThresholdBreached",
|
| 21 |
+
"value": "0"
|
| 22 |
+
}
|
| 23 |
+
],
|
| 24 |
+
"timers": [
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
Output::
|
| 32 |
+
|
| 33 |
+
{
|
| 34 |
+
"batchUpdateDetectorErrorEntries": []
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
For more information, see `BatchUpdateDetector <https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-commands.html#api-iotevents-data-BatchUpdateDetector>`__ in the *AWS IoT Events Developer Guide**.
|
| 38 |
+
|
data/lib/python3.10/site-packages/awscli/examples/iotevents-data/describe-input.rst
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To get information about an input**
|
| 2 |
+
|
| 3 |
+
The following ``describe-input`` example retrieves the details of an input. ::
|
| 4 |
+
|
| 5 |
+
aws iotevents describe-input \
|
| 6 |
+
--input-name PressureInput
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"input": {
|
| 12 |
+
"inputConfiguration": {
|
| 13 |
+
"status": "ACTIVE",
|
| 14 |
+
"inputArn": "arn:aws:iotevents:us-west-2:123456789012:input/PressureInput",
|
| 15 |
+
"lastUpdateTime": 1560795312.542,
|
| 16 |
+
"creationTime": 1560795312.542,
|
| 17 |
+
"inputName": "PressureInput",
|
| 18 |
+
"inputDescription": "Pressure readings from a motor"
|
| 19 |
+
},
|
| 20 |
+
"inputDefinition": {
|
| 21 |
+
"attributes": [
|
| 22 |
+
{
|
| 23 |
+
"jsonPath": "sensorData.pressure"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"jsonPath": "motorid"
|
| 27 |
+
}
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
For more information, see `DescribeInput <https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-commands.html#api-iotevents-DescribeInput>`__ in the *AWS IoT Events Developer Guide**.
|
data/lib/python3.10/site-packages/awscli/examples/iotevents-data/describe-logging-options.rst
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To get information about logging settings**
|
| 2 |
+
|
| 3 |
+
The following ``describe-logging-options`` example retrieves the current AWS IoT Events logging options. ::
|
| 4 |
+
|
| 5 |
+
aws iotevents describe-logging-options
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"loggingOptions": {
|
| 11 |
+
"roleArn": "arn:aws:iam::123456789012:role/IoTEventsRole",
|
| 12 |
+
"enabled": false,
|
| 13 |
+
"level": "ERROR"
|
| 14 |
+
}
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
For more information, see `DescribeLoggingOptions <https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-commands.html#api-iotevents-DescribeLoggingOptions>`__ in the *AWS IoT Events Developer Guide**.
|
data/lib/python3.10/site-packages/awscli/examples/iotevents-data/list-inputs.rst
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list inputs**
|
| 2 |
+
|
| 3 |
+
The following ``list-inputs`` example lists the inputs that you've created. ::
|
| 4 |
+
|
| 5 |
+
aws iotevents list-inputs
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"status": "ACTIVE",
|
| 11 |
+
"inputArn": "arn:aws:iotevents:us-west-2:123456789012:input/PressureInput",
|
| 12 |
+
"lastUpdateTime": 1551742986.768,
|
| 13 |
+
"creationTime": 1551742986.768,
|
| 14 |
+
"inputName": "PressureInput",
|
| 15 |
+
"inputDescription": "Pressure readings from a motor"
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
For more information, see `ListInputs <https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-commands.html#api-iotevents-ListInputs>`__ in the *AWS IoT Events Developer Guide**.
|
| 19 |
+
|
data/lib/python3.10/site-packages/awscli/examples/lightsail/attach-instances-to-load-balancer.rst
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To attach instances to a load balancer**
|
| 2 |
+
|
| 3 |
+
The following ``attach-instances-to-load-balancer`` example attaches instances ``MEAN-1``, ``MEAN-2``, and ``MEAN-3`` to the load balancer ``LoadBalancer-1``. ::
|
| 4 |
+
|
| 5 |
+
aws lightsail attach-instances-to-load-balancer \
|
| 6 |
+
--instance-names {"MEAN-1","MEAN-2","MEAN-3"} \
|
| 7 |
+
--load-balancer-name LoadBalancer-1
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"operations": [
|
| 13 |
+
{
|
| 14 |
+
"id": "8055d19d-abb2-40b9-b527-1EXAMPLE3c7b",
|
| 15 |
+
"resourceName": "LoadBalancer-1",
|
| 16 |
+
"resourceType": "LoadBalancer",
|
| 17 |
+
"createdAt": 1571071699.892,
|
| 18 |
+
"location": {
|
| 19 |
+
"availabilityZone": "all",
|
| 20 |
+
"regionName": "us-west-2"
|
| 21 |
+
},
|
| 22 |
+
"isTerminal": false,
|
| 23 |
+
"operationDetails": "MEAN-2",
|
| 24 |
+
"operationType": "AttachInstancesToLoadBalancer",
|
| 25 |
+
"status": "Started",
|
| 26 |
+
"statusChangedAt": 1571071699.892
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"id": "c35048eb-8538-456a-a118-0EXAMPLEfb73",
|
| 30 |
+
"resourceName": "MEAN-2",
|
| 31 |
+
"resourceType": "Instance",
|
| 32 |
+
"createdAt": 1571071699.887,
|
| 33 |
+
"location": {
|
| 34 |
+
"availabilityZone": "all",
|
| 35 |
+
"regionName": "us-west-2"
|
| 36 |
+
},
|
| 37 |
+
"isTerminal": false,
|
| 38 |
+
"operationDetails": "LoadBalancer-1",
|
| 39 |
+
"operationType": "AttachInstancesToLoadBalancer",
|
| 40 |
+
"status": "Started",
|
| 41 |
+
"statusChangedAt": 1571071699.887
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"id": "910d09e0-adc5-4372-bc2e-0EXAMPLEd891",
|
| 45 |
+
"resourceName": "LoadBalancer-1",
|
| 46 |
+
"resourceType": "LoadBalancer",
|
| 47 |
+
"createdAt": 1571071699.882,
|
| 48 |
+
"location": {
|
| 49 |
+
"availabilityZone": "all",
|
| 50 |
+
"regionName": "us-west-2"
|
| 51 |
+
},
|
| 52 |
+
"isTerminal": false,
|
| 53 |
+
"operationDetails": "MEAN-3",
|
| 54 |
+
"operationType": "AttachInstancesToLoadBalancer",
|
| 55 |
+
"status": "Started",
|
| 56 |
+
"statusChangedAt": 1571071699.882
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"id": "178b18ac-43e8-478c-9bed-1EXAMPLE4755",
|
| 60 |
+
"resourceName": "MEAN-3",
|
| 61 |
+
"resourceType": "Instance",
|
| 62 |
+
"createdAt": 1571071699.901,
|
| 63 |
+
"location": {
|
| 64 |
+
"availabilityZone": "all",
|
| 65 |
+
"regionName": "us-west-2"
|
| 66 |
+
},
|
| 67 |
+
"isTerminal": false,
|
| 68 |
+
"operationDetails": "LoadBalancer-1",
|
| 69 |
+
"operationType": "AttachInstancesToLoadBalancer",
|
| 70 |
+
"status": "Started",
|
| 71 |
+
"statusChangedAt": 1571071699.901
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"id": "fb62536d-2a98-4190-a6fc-4EXAMPLE7470",
|
| 75 |
+
"resourceName": "LoadBalancer-1",
|
| 76 |
+
"resourceType": "LoadBalancer",
|
| 77 |
+
"createdAt": 1571071699.885,
|
| 78 |
+
"location": {
|
| 79 |
+
"availabilityZone": "all",
|
| 80 |
+
"regionName": "us-west-2"
|
| 81 |
+
},
|
| 82 |
+
"isTerminal": false,
|
| 83 |
+
"operationDetails": "MEAN-1",
|
| 84 |
+
"operationType": "AttachInstancesToLoadBalancer",
|
| 85 |
+
"status": "Started",
|
| 86 |
+
"statusChangedAt": 1571071699.885
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"id": "787dac0d-f98d-46c3-8571-3EXAMPLE5a85",
|
| 90 |
+
"resourceName": "MEAN-1",
|
| 91 |
+
"resourceType": "Instance",
|
| 92 |
+
"createdAt": 1571071699.901,
|
| 93 |
+
"location": {
|
| 94 |
+
"availabilityZone": "all",
|
| 95 |
+
"regionName": "us-west-2"
|
| 96 |
+
},
|
| 97 |
+
"isTerminal": false,
|
| 98 |
+
"operationDetails": "LoadBalancer-1",
|
| 99 |
+
"operationType": "AttachInstancesToLoadBalancer",
|
| 100 |
+
"status": "Started",
|
| 101 |
+
"statusChangedAt": 1571071699.901
|
| 102 |
+
}
|
| 103 |
+
]
|
| 104 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/lightsail/delete-known-host-keys.rst
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To delete known host keys from an instance**
|
| 2 |
+
|
| 3 |
+
The following ``delete-known-host-keys`` example deletes the known host key from the specified instance. ::
|
| 4 |
+
|
| 5 |
+
aws lightsail delete-known-host-keys \
|
| 6 |
+
--instance-name Instance-1
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"operations": [
|
| 12 |
+
{
|
| 13 |
+
"id": "c61afe9c-45a4-41e6-a97e-d212364da3f5",
|
| 14 |
+
"resourceName": "Instance-1",
|
| 15 |
+
"resourceType": "Instance",
|
| 16 |
+
"createdAt": 1569874760.201,
|
| 17 |
+
"location": {
|
| 18 |
+
"availabilityZone": "us-west-2a",
|
| 19 |
+
"regionName": "us-west-2"
|
| 20 |
+
},
|
| 21 |
+
"isTerminal": true,
|
| 22 |
+
"operationType": "DeleteKnownHostKeys",
|
| 23 |
+
"status": "Succeeded",
|
| 24 |
+
"statusChangedAt": 1569874760.201
|
| 25 |
+
}
|
| 26 |
+
]
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
For more information, see `Troubleshooting connection issues with the Amazon Lightsail browser-based SSH or RDP client <https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-troubleshooting-browser-based-ssh-rdp-client-connection>`__ in the *Lightsail Dev Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/lightsail/get-instance-state.rst
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To get information about the state of an instance**
|
| 2 |
+
|
| 3 |
+
The following ``get-instance-state`` example returns the state of the specified instance. ::
|
| 4 |
+
|
| 5 |
+
aws lightsail get-instance-state \
|
| 6 |
+
--instance-name MEAN-1
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"state": {
|
| 12 |
+
"code": 16,
|
| 13 |
+
"name": "running"
|
| 14 |
+
}
|
| 15 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/lightsail/get-static-ip.rst
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To get information about a static IP**
|
| 2 |
+
|
| 3 |
+
The following ``get-static-ip`` example displays details about the specified static IP. ::
|
| 4 |
+
|
| 5 |
+
aws lightsail get-static-ip \
|
| 6 |
+
--static-ip-name StaticIp-1
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"staticIp": {
|
| 12 |
+
"name": "StaticIp-1",
|
| 13 |
+
"arn": "arn:aws:lightsail:us-west-2:111122223333:StaticIp/2257cd76-1f0e-4ac0-82e2-2EXAMPLE23ad",
|
| 14 |
+
"supportCode": "6EXAMPLE3362/192.0.2.0",
|
| 15 |
+
"createdAt": 1571071325.076,
|
| 16 |
+
"location": {
|
| 17 |
+
"availabilityZone": "all",
|
| 18 |
+
"regionName": "us-west-2"
|
| 19 |
+
},
|
| 20 |
+
"resourceType": "StaticIp",
|
| 21 |
+
"ipAddress": "192.0.2.0",
|
| 22 |
+
"isAttached": false
|
| 23 |
+
}
|
| 24 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/lightsail/peer-vpc.rst
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To peer the Amazon Lightsail virtual private cloud**
|
| 2 |
+
|
| 3 |
+
The following ``peer-vpc`` example peers the Amazon Lightsail virtual private cloud (VPC) for the specified AWS Region. ::
|
| 4 |
+
|
| 5 |
+
aws lightsail peer-vpc \
|
| 6 |
+
--region us-west-2
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"operation": {
|
| 13 |
+
"id": "787e846a-54ac-497f-bce2-9EXAMPLE5d91",
|
| 14 |
+
"resourceName": "vpc-0EXAMPLEa5261efb3",
|
| 15 |
+
"resourceType": "PeeredVpc",
|
| 16 |
+
"createdAt": 1571694233.104,
|
| 17 |
+
"location": {
|
| 18 |
+
"availabilityZone": "all",
|
| 19 |
+
"regionName": "us-west-2"
|
| 20 |
+
},
|
| 21 |
+
"isTerminal": true,
|
| 22 |
+
"operationDetails": "vpc-e2b3eb9b",
|
| 23 |
+
"operationType": "PeeredVpc",
|
| 24 |
+
"status": "Succeeded",
|
| 25 |
+
"statusChangedAt": 1571694233.104
|
| 26 |
+
}
|
| 27 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/lightsail/stop-instance.rst
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To stop an instance**
|
| 2 |
+
|
| 3 |
+
The following ``stop-instance`` example stops the specified instance. ::
|
| 4 |
+
|
| 5 |
+
aws lightsail stop-instance \
|
| 6 |
+
--instance-name WordPress-1
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"operations": [
|
| 12 |
+
{
|
| 13 |
+
"id": "265357e2-2943-4d51-888a-1EXAMPLE7585",
|
| 14 |
+
"resourceName": "WordPress-1",
|
| 15 |
+
"resourceType": "Instance",
|
| 16 |
+
"createdAt": 1571695471.134,
|
| 17 |
+
"location": {
|
| 18 |
+
"availabilityZone": "us-west-2a",
|
| 19 |
+
"regionName": "us-west-2"
|
| 20 |
+
},
|
| 21 |
+
"isTerminal": false,
|
| 22 |
+
"operationType": "StopInstance",
|
| 23 |
+
"status": "Started",
|
| 24 |
+
"statusChangedAt": 1571695471.134
|
| 25 |
+
}
|
| 26 |
+
]
|
| 27 |
+
}
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/create-alias.rst
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To create an alias for a key**
|
| 2 |
+
|
| 3 |
+
The following ``create-alias`` example creates an alias for a key. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography create-alias \
|
| 6 |
+
--alias-name alias/sampleAlias1 \
|
| 7 |
+
--key-arn arn:aws:payment-cryptography:us-east-2:123456789012:key/kwapwa6qaifllw2h
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"Alias": {
|
| 13 |
+
"AliasName": "alias/sampleAlias1",
|
| 14 |
+
"KeyArn": "arn:aws:payment-cryptography:us-west-2:123456789012:key/kwapwa6qaifllw2h"
|
| 15 |
+
}
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
For more information, see `About aliases <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/alias-about.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/export-key.rst
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To export a key**
|
| 2 |
+
|
| 3 |
+
The following ``export-key`` example exports a key. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography export-key \
|
| 6 |
+
--export-key-identifier arn:aws:payment-cryptography:us-west-2:123456789012:key/lco3w6agsk7zgu2l \
|
| 7 |
+
--key-material '{"Tr34KeyBlock": { \
|
| 8 |
+
"CertificateAuthorityPublicKeyIdentifier": "arn:aws:payment-cryptography:us-west-2:123456789012:key/ftobshq7pvioc5fx", \
|
| 9 |
+
"ExportToken": "export-token-cu4lg26ofcziixny", \
|
| 10 |
+
"KeyBlockFormat": "X9_TR34_2012", \
|
| 11 |
+
"WrappingKeyCertificate": file://wrapping-key-certificate.pem }}'
|
| 12 |
+
|
| 13 |
+
Contents of ``wrapping-key-certificate.pem``::
|
| 14 |
+
|
| 15 |
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV2VENDQXFXZ0F3SUJBZ0lSQU1ZZS8xMXFUK2svVzlRUDJQOElVdWd3RFFZSktvWklodmNOQVFFTkJRQXcKZ1lreEN6QUpCZ05WQkFZVEFsVlRNUmt3RndZRFZRUUtEQkJCVjFNZ1EzSjVjSFJ2WjNKaGNHaDVNU0V3SHdZRApWUVFMREJoQlYxTWdVR0Y1YldWdWRDQkRjbmx3ZEc5bmNtRndhSGt4RVRBUEJnTlZCQWdNQ0ZacGNtZHBibWxoCk1SVXdFd1lEVlFRRERBd3dOelUxTlRZNU5UTTNOVEF4RWpBUUJnTlZCQWNNQ1VGeWJHbHVaM1J2YmpBZUZ3MHkKTXpBMk1UTXhOelV6TVROYUZ3MHlNekEyTWpBeE9EVXpNVEphTUN3eEZUQVRCZ05WQkFNTUREQTNOVFUxTmprMQpNemMxTURFVE1CRUdBMVVFQlJNS09URTFNRGMzTnpRMk9EQ0NBU0l3RFFZSktvWklodmNOQVFFQkJRQURnZ0VQCkFEQ0NBUW9DZ2dFQkFNUjZsVTZ0SFJwcWtCQmI1Z2FFa0FrbVRxNEgwNUQ2UXR2MS9WemhSaThtNVBFMjVtMFIKVnRtZmsxcUEySi94TEROTEl3dHFDR3BIVldOM0JMdFhuSmh2Y1dNNkI0QlRRVXNicENMbG9PYW1jMGF0UXRmeQo0ZUhoWHJoT2lDMFVpR05zeTc5ZlltTkZ3Q3RrSDhvZzJXTEdYNldXNSszRzlTaFZKR3dhbWpNamtlOVo1a0FhCnJKZHk4Y2tsMTFBTS8wQjVZRFR2TU5KVTcyZnVUMlJ5KzVoRmdFTE14aS8vbGE1TnFCQWp5VTY0cmV3eGdVSjAKZ1pVM3lJU2F2UjFwMElNOFNvZzdXUHlkVlNNTitZeTdLMG1OL3lFa3FZTWQxZWxvS1I0OVV3V0hvdzFMcHVzcwpzMDh5a0diWGxsMnBvZ3NvSmZZaFFGWTc4UmRsTU9vY2dOc0NBd0VBQWFOOE1Ib3dDUVlEVlIwVEJBSXdBREFmCkJnTlZIU01FR0RBV2dCU2tDVlVEZzJGZDdPZWpVSUlVRnBvbUpxWG9FREFkQmdOVkhRNEVGZ1FVZU1sRzJ5dkgKamxsQzM2OUV2U3hIcXBBODVkMHdEZ1lEVlIwUEFRSC9CQVFEQWdXZ01CMEdBMVVkSlFRV01CUUdDQ3NHQVFVRgpCd01CQmdnckJnRUZCUWNEQWpBTkJna3Foa2lHOXcwQkFRMEZBQU9DQWdFQURNS2gxbnhYWWtncVkwYmMwVjA1ClNCUTBlcm5vMmsxbXdRQnhpUDBpcUpMdWNFUnF6b0RzOTBJWTN5SjhjMkMzU2kzU1JrVzBmQUhKR0VucTlzblgKbGdGWnRBZmtNbzR4Wllpb1JGZmY1TWdSOUdNaUZNQnVQS2tIeGxKc0R2NllSbnp1Zmkza1lDT1NzeWE4U2tTMQp2M2l2UEpLcTk3aDBBaThoNFQ3clBtN0NNSnYxZ0JTUEF4UVdtdndES2RrTjFsd0VudmtGdzlLZjhqeVpaNjhGCjlmUFV4Z1RvYm1MSmNialZxaFdsQ3U1VE9mSGNPR2RLRURwZE54RE12ODNZZ1ZaWUszclc4UHVxWWIyWFdMR2IKdmFISXh2RGVnOVJwNDByVVpETGVyalptb0gwUWpEZmxCV1RYK0JqU3ZLMm5yUGpzZzJIUC91S1VncVIwQWM5eAo0UjF5YjU2cHh3eU54TUU2NmFTVWNVQ3F1WTloY1Q3eWxWNjc3REVhRHpLTG1abnpMcWdWZU5PaUtzQTMvTi9hCnI2UW56VjNabEtJbCs5aWZwNTVPaTVLMXFyWFkyeVlPL1V2SXBXZjAxcFNFUERHN0hXSllnaGorbXpDRFVkM24KdldBeHBjUXlYRGlybS8wSkRZTWtuYzhjK2Z4QmxQR3ZiT2cwWldOeVUwSVpqRmx3aDVwUnIrMnRkT3lhRkZrNApWNytmMkpRWXdKZWgzWDdQL0N6WldKMlQvbnVzaVZXd0Y2K0hueDQ2ZHVGTzhXSWJZTnJUU1hTQnFEV04vdWpZCjBwYUhwS1poUTJOVnV1M0t3a2JaTDUzRjBRM09EVjcydGtiTHJyajZvOUNGd3JGUFluV0owSWtsemN0d1VtQ24KNjd5TzlSVjVzcC83YlNxTkhYNFRuNmc9Ci0tLS0tRU5EIENFUlRJRklDQVRFEXAMPLE=
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
Output::
|
| 19 |
+
|
| 20 |
+
{
|
| 21 |
+
"WrappedKey": {
|
| 22 |
+
"KeyMaterial": "308205A106092A864886F70D010702A08205923082058E020101310D300B06096086480165030402013082031F06092A864886F70D010703A08203100482030C020100318201F4308201F002010030819F308189310B300906035504061302555331193017060355040A0C104157532043727970746F6772617068793121301F060355040B0C18415753205061796D656E742043727970746F6772617068793111300F06035504080C0856697267696E69613115301306035504030C0C3037353535363935333735303112301006035504070C0941726C696E67746F6E021100C61EFF5D6A4FE93F5BD40FD8FF0852E8304506092A864886F70D0101073038300D06096086480165030402010500301806092A864886F70D010108300B0609608648016503040201300D06092A864886F70D0101090400048201008B09AFE9DFF1EA4E97F8651B6B3B51A3BFF68B0365F3956AD34A64B015185BB3FFB3DC7D5812B0D21D58436EAEC131F8110389E2A9F22DA146805A4D818BDCD6AA0387284188CEF5691565A849659C117AAD0042DF5D2C290386710B58A8C63A298C99280EB75861B793302F78299DE64853433227F23DBB383A605DA23620546DCA92B2D3CD8B486339D303844D807C2D6AF17CF1ABF191F63ACFF0E0F8A91AA5B22C1A0D9EE663854D1D76CEE37FE3A0113C8577B57F173ECD69FA752A8A1AEF49AB2A62D39F091FF9AA0FD4CB695D084637DBA7EF7DA2E657BBBF0C5FCC355DB37866B7BBD5AE065DC0FD399A8E0FC19C10943D5059507DC822DED6AFA67A3082010D06092A864886F70D0107013081FF06082A864886F70D030704085050B8007C2CE5608081E8DC683EECE2BF1FC1D209D5F6642E01E58DC76FF7926B576CB6884B6723C63DDE91D8E6C75DFC4E94F1CDDA8A3E863BE8A7E1DFCD2115E251675F73388D022A28247ED66D7892AA57800750A5F84313ACC3616449A703D7DFC770F50C816F224FB038E675FB1751916699FD00585C1B2EA19FECEE696611FA65B4E8516210D884E351201A888A47D874B1ACDDF4AE7F6F59D0780A5BE3E788DD6FB4E6AC1B9D966443881E9998A625CFB10A35D943B21A3ABB902CF68AD6F7FE7B0C18FF05B94C10E254017203541AFF71E440A42C8B915A84B341F923EF657280DB7B19F769E29725FF7E5999859C318202553082025102010130819E308189310B300906035504061302555331193017060355040A0C104157532043727970746F6772617068793121301F060355040B0C18415753205061796D656E742043727970746F6772617068793111300F06035504080C0856697267696E69613115301306035504030C0C3037353535363935333735303112301006035504070C0941726C696E67746F6E02106BD452CE836B7D2A717B69DB8FAF3679300B0609608648016503040201A0818A301806092A864886F70D010903310B06092A864886F70D010703301C06092A864886F70D010905310F170D3233303631333139303234305A301F06092A864886F70D0107013112041044303131324B30544230304530303030302F06092A864886F70D010904312204209AD3A76A89E2F58433DF669174A6F4D4B6B3D60A8A7341712CB666CA6AE4125E300D06092A864886F70D0101010500048201009BA48B242A227AD05243DBB99ACF6249D626CEF086DAFD8B064592EFF1205CFE6713D5FC373D8CD53AF9A88292E143A4B9C1887792E8E7F6310503B1FD8F0F89F735DFF11CC55114859B902841E4D163D64E19DFAE0151B93590C8D770E47E939DF08242897F9319DC6AB272C26DE2ACC539BF055CE528B139D61B45542FF35D2ABDE34EEF5BE19D1C48679187B455864EDD3D976CDC80070A6A6635DF5A00AF08CBBF309C4D59A4710A531A719562D390394A736E9F2DED502B2F766BA56727DFB0C6A92FD4D2BABC69BDDBD6B17EB376FA9ADD83C2974292447E63F26D168E66A4558ED97E417BDE97837188DB4F414A2219BAC50A8D726CD54C3C1EXAMPLE",
|
| 23 |
+
"WrappedKeyMaterialFormat": "TR34_KEY_BLOCK"
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
For more information, see `Export keys <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-export.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/get-key.rst
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To get the metadata of a key**
|
| 2 |
+
|
| 3 |
+
The following ``get-key`` example returns the metadata of the key associated with the alias. This operation does not return cryptographic material. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography get-key \
|
| 6 |
+
--key-identifier alias/sampleAlias1
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"Key": {
|
| 12 |
+
"CreateTimestamp": "1686800690",
|
| 13 |
+
"DeletePendingTimestamp": "1687405998",
|
| 14 |
+
"Enabled": true,
|
| 15 |
+
"Exportable": true,
|
| 16 |
+
"KeyArn": "arn:aws:payment-cryptography:us-west-2:123456789012:key/kwapwa6qaifllw2h",
|
| 17 |
+
"KeyAttributes": {
|
| 18 |
+
"KeyAlgorithm": "TDES_2KEY",
|
| 19 |
+
"KeyClass": "SYMMETRIC_KEY",
|
| 20 |
+
"KeyModesOfUse": {
|
| 21 |
+
"Decrypt": false,
|
| 22 |
+
"DeriveKey": false,
|
| 23 |
+
"Encrypt": false,
|
| 24 |
+
"Generate": true,
|
| 25 |
+
"NoRestrictions": false,
|
| 26 |
+
"Sign": false,
|
| 27 |
+
"Unwrap": false,
|
| 28 |
+
"Verify": true,
|
| 29 |
+
"Wrap": false
|
| 30 |
+
},
|
| 31 |
+
"KeyUsage": "TR31_C0_CARD_VERIFICATION_KEY"
|
| 32 |
+
},
|
| 33 |
+
"KeyCheckValue": "F2E50F",
|
| 34 |
+
"KeyCheckValueAlgorithm": "ANSI_X9_24",
|
| 35 |
+
"KeyOrigin": "AWS_PAYMENT_CRYPTOGRAPHY",
|
| 36 |
+
"KeyState": "DELETE_PENDING",
|
| 37 |
+
"UsageStartTimestamp": "1686801190"
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
For more information, see `Get keys <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/getkeys.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/get-public-key-certificate.rst
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To return the public key**
|
| 2 |
+
|
| 3 |
+
The following ``get-public-key-certificate`` example returns the public key portion of a key pair. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography get-public-key-certificate \
|
| 6 |
+
--key-identifier arn:aws:payment-cryptography:us-east-2:123456789012:key/kwapwa6qaifllw2h
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"KeyCertificate":
|
| 12 |
+
"MIICiTCCAfICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMC
|
| 13 |
+
VVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6
|
| 14 |
+
b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAd
|
| 15 |
+
BgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcN
|
| 16 |
+
MTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYD
|
| 17 |
+
VQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25z
|
| 18 |
+
b2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFt
|
| 19 |
+
YXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ
|
| 20 |
+
21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9T
|
| 21 |
+
rDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpE
|
| 22 |
+
Ibb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4
|
| 23 |
+
nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0Fkb
|
| 24 |
+
FFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTb
|
| 25 |
+
NYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE=",
|
| 26 |
+
"KeyCertificateChain":
|
| 27 |
+
"NIICiTCCAfICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMC
|
| 28 |
+
VVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6
|
| 29 |
+
b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAd
|
| 30 |
+
BgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcN
|
| 31 |
+
MTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYD
|
| 32 |
+
VQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25z
|
| 33 |
+
b2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFt
|
| 34 |
+
YXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ
|
| 35 |
+
21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9T
|
| 36 |
+
rDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpE
|
| 37 |
+
Ibb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4
|
| 38 |
+
nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0Fkb
|
| 39 |
+
FFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTb
|
| 40 |
+
NYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE="
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
For more information, see `Get the public key/certificate associated with a key pair <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys.getpubliccertificate-example.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/import-key.rst
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To import a TR-34 key**
|
| 2 |
+
|
| 3 |
+
The following ``import-key`` example imports a TR-34 key. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography import-key \
|
| 6 |
+
--key-material='{ "Tr34KeyBlock": {" \
|
| 7 |
+
CertificateAuthorityPublicKeyIdentifier": "arn:aws:payment-cryptography:us-west-2:123456789012:key/rmm5wn2q564njnjm", \
|
| 8 |
+
"ImportToken": "import-token-5ott6ho5nts7bbcg", \
|
| 9 |
+
"KeyBlockFormat": "X9_TR34_2012", \
|
| 10 |
+
"SigningKeyCertificate": file://signing-key-certificate.pem, \
|
| 11 |
+
"WrappedKeyBlock": file://wrapped-key-block.pem }}'
|
| 12 |
+
|
| 13 |
+
Contents of ``signing-key-certificate.pem``::
|
| 14 |
+
|
| 15 |
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV2RENDQXFTZ0F3SUJBZ0lRYWVCK25IbE1WZU1PR1ZiNjU1Q2JzREFOQmdrcWhraUc5dzBCQVEwRkFEQ0IKaVRFTE1Ba0dBMVVFQmhNQ1ZWTXhHVEFYQmdOVkJBb01FRUZYVXlCRGNubHdkRzluY21Gd2FIa3hJVEFmQmdOVgpCQXNNR0VGWFV5QlFZWGx0Wlc1MElFTnllWEIwYjJkeVlYQm9lVEVSTUE4R0ExVUVDQXdJVm1seVoybHVhV0V4CkZUQVRCZ05WQkFNTUREVXlPVEF5TnpRMU5UUTVOVEVTTUJBR0ExVUVCd3dKUVhKc2FXNW5kRzl1TUI0WERUSXoKTURZd09USXlNVEkxTUZvWERUSXpNRFl4TmpJek1USTFNRm93TERFVk1CTUdBMVVFQXd3TU5USTVNREkzTkRVMQpORGsxTVJNd0VRWURWUVFGRXdvek1EVTRNVGszTkRjNE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXdMc0dGb0pqOTVJY0UxL1p1OGZxak40SDVHTFJHVGZQSkFyWWJLbjA4WXVrQTE0SjRBSHEKWGR6ZlY5MjcvVTJZTWN2S3FsNlk5SVQwejZhTVBGbDVYemZWNU1YVW5YMlJxYTladU1ndDhGSDJJYWxsMEQ3bgo0V0RjUkg3TERQdEhXZTRaVmh3aExRVEFQa1I2dUxTWC84UDhSN2lrSWpkVkI4SytjVitnbHh0clB1Vkh5TzNxCjhXRUl3a1lYVTFDVjJybHptNklzWjcycjhPcXJWcHNiZEhERENBelJ2YUtPN3hMNU1RUGVFMFcvdkxmRGdrYmoKb2h4VHl6Z3dRSlJFK21tUXdCRmlIeXdaY2F5Y1FZdXdzTktoK0xPWXJpN0ZGM2lRRTJlYlY5Mm4zZER5NDRtcQpUSjFHUWJENndFM3ZHS0xnYXNqMVl0WVNSTk9xNld1UTV3SURBUUFCbzN3d2VqQUpCZ05WSFJNRUFqQUFNQjhHCkExVWRJd1FZTUJhQUZHMVBsWElaUGdETVU0WjVwRTc3dE8xYmV2eDVNQjBHQTFVZERnUVdCQlFwanByQXFoZGMKVmF2dElTRnBBNkswVzJMcmJUQU9CZ05WSFE4QkFmOEVCQU1DQmFBd0hRWURWUjBsQkJZd0ZBWUlLd1lCQlFVSApBd0VHQ0NzR0FRVUZCd01DTUEwR0NTcUdTSWIzRFFFQkRRVUFBNElDQVFCOXVxcFVadU1oK1kzQXhXSklNUkx5Cmlob2gvR0xIanh1aVhxK1IvdFRxbTBNYTA3R2dvbGxhRkdIZzZMei9ELy9ZRDB2UHdYc1dVOE5qY0Vib095aGcKc0hmay9hVGxjRnovZm51MVlkRUpvYUpFdW15bDkwSTBMNyswUmJNYXJScWU0bC9yQlQ4YTM3R0JyQ0x0ZUlyRgorcnp1cmovU1BDM1FiUWkvOVBzWmlieTFKMlFxTzVVRUJncEYreklaVk84dzgwMzVEK1YrUXhsY2RaUGVLS2JnCmI5WHNSeHF3cUZIVUVRM2tybXdVZUZveERlbm91QmxKMVFzOTVXUHBpVk9zYUFvbkJkYUtEbFBaRTlqdG1zZkwKMER3b1lRRy92bHdWN0pIVnNNd0dleml2VGJXaWFNdmZTTkxIMmVZMG9rblhFcHlHcmlWMjczSVFqVU1QTXBMNgpjODh3OUYzcTJnY0x6Nk0ycEFHUTZ0SVBrZ2c3aUZjbk9haGp4Ty9ORFZrS0xxbXZ0eFFlcUk2VDRveWRuWkVWCkdOMjBISStZcFVud09Eem1GL1k5TXZQQXFtdGJka2dZZGRJWExtbU9ORlF1dm4wenp0Tm01NzNTN0NSYWxCNTgKeFhyNm1iak1MQU1tcmZGQmNrU0NYaUZ6Y3gvNHJTRGJtbU9INWM0dGxiNEM3SzF5QU96NWo3OHhWOWNQOTM3SQpwczcrZUFZRkFpYTdzZGpuS3hNUDN4ZVVTM0tNS2FGMzg2TGRYbkRwdTFyczhVRWhPeDhqakt6RWplWU9qV3hLClo5Mjd1Yzd0b2kwZlcvT2tzT3NnWVlybmttSEhyd3p0NXRBc2llcjFyWXFGK2lYa1Y4TzRxSzI0bHc4cXFPanUKS3htVHMzY0NlTmdGNUZhVmhCV1Zjdz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0=
|
| 16 |
+
|
| 17 |
+
Contents of ``wrapped-key-block.pem``::
|
| 18 |
+
|
| 19 |
+
3082059806092A864886F70D010702A082058930820585020101310D300B06096086480165030402013082031606092A864886F70D010703A082030704820303020100318201F3308201EF02010030819E308189310B300906035504061302555331193017060355040A0C104157532043727970746F6772617068793121301F060355040B0C18415753205061796D656E742043727970746F6772617068793111300F06035504080C0856697267696E69613115301306035504030C0C3532393032373435353439353112301006035504070C0941726C696E67746F6E021026C5E52507841B72C59D9F0065548DC1304506092A864886F70D0101073038300D06096086480165030402010500301806092A864886F70D010108300B0609608648016503040201300D06092A864886F70D01010904000482010013D3C2E9405CA45A947BA6EA098DD5A83A7E6CFF4E140B141634EBFF9E0F78057B5C22013574BA8C8D8D64B43C391E1D9CDF081B33D15CDE3AB2DB21CAE7380E64B0A09A8C45B8A0F87659638E6E30D4351E9B941EDD384183DA169ADDF71FC64E06487F8750B74B2CD3AB4F8534C024AE04BD7C070CB685A250EB2A8C1EEDEBFA387935466D152E063D3EBEDD6231216EEE5145983C74D755C050D191E6E41DC2BDB09E78CDA203C2767270E3E56C6E24EB1090904462743B054098DE278A18C71577CAE1EC13CF776055224F299DBF1BC96C11F339DEE1A2CD130A275959820FBE5C34C0CB21DB6404F868B348D5A6F8ED8E5DC5BC681F6115BA278879FF8F3082010506092A864886F70D0107013081F706082A864886F70D0307040857F8BFE99B4493AD8081E05DEE59D9E60520DB8A15869BB840F1CC908DAE6CC6F6BE79DDF72DD8EA84F881D7DFB4A186CDC622B29E3F97AEB7C00872D1BB47FE235D9204F80A4D3EF502309ECD967F8F70A2F741738ACE7B7CA0AA2EBB0DACD3126F7831F79AF6DC3C74CEBF7D0947301245F42C59508FBC0318C03F02E37EDF014C4D0170ACC4E992EC7E9B85D95BF87F75FD2E0B938E2D8E807872DE4017F8530D59A48C9F68AF5BEC1B2115D7555C248F980DF28C69619E508317F0C20461AE26CD0D55896FEE71E1EA89F7F9B5DC047F9BD063210E1F09D9566EF2AF6472AD44A8ACC0180AC1995CDE318202553082025102010130819E308189310B300906035504061302555331193017060355040A0C104157532043727970746F6772617068793121301F060355040B0C18415753205061796D656E742043727970746F6772617068793111300F06035504080C0856697267696E69613115301306035504030C0C3532393032373435353439353112301006035504070C0941726C696E67746F6E021069E07E9C794C55E30E1956FAE7909BB0300B0609608648016503040201A0818A301806092A864886F70D010903310B06092A864886F70D010703301C06092A864886F70D010905310F170D3233303630393233333934365A301F06092A864886F70D0107013112041044303131324330544330304530303030302F06092A864886F70D01090431220420D6413C502DC4552B495B9A8449F9A3BF9E6DCB31AD56A1D158DB482BDF06EEAD300D06092A864886F70D010101050004820100313BA7BCDFE6C55F3544A8E7D9973A346DDAD17CC5C506DE72B8B7E490891702E753C445FED78D5477C5E5A2BF63378B2F12CE6C22C1A543BCC41FA978568F65C0171DBF3E438E70FD68DAB52BA1DEB294C4ED92CD6EAA684B4352AF6C53924048931595FC7F1FF642E82B12DBD8B8578DA200DC0CCE2FA075897CDA6D5257C78DC2B515015CC414E78B49075AFF333C7CEAFF81F5EEC44C5C9F6BD32898E6983A7CEA40DD5C0CF9CD51DB3E712ED1C755E0A9DA38286872B46D7119088A76728DC08AECB0F624B34E15349E5B2334900E57885A6461AC6E74B35A3FFF5C010ACE5F15DE9D867A5160D30217997E7DE6319A74F5D55D44A934908A3BC1602D22
|
| 20 |
+
|
| 21 |
+
Output::
|
| 22 |
+
|
| 23 |
+
{
|
| 24 |
+
"Key": {
|
| 25 |
+
"CreateTimestamp": "2023-06-09T16:56:27.621000-07:00",
|
| 26 |
+
"Enabled": true,
|
| 27 |
+
"KeyArn": "arn:aws:payment-cryptography:us-west-2:123456789012:key/bzmvgyxdg3sktwxd",
|
| 28 |
+
"KeyAttributes": {
|
| 29 |
+
"KeyAlgorithm": "TDES_2KEY",
|
| 30 |
+
"KeyClass": "SYMMETRIC_KEY",
|
| 31 |
+
"KeyModesOfUse": {
|
| 32 |
+
"Decrypt": false,
|
| 33 |
+
"DeriveKey": false,
|
| 34 |
+
"Encrypt": false,
|
| 35 |
+
"Generate": true,
|
| 36 |
+
"NoRestrictions": false,
|
| 37 |
+
"Sign": false,
|
| 38 |
+
"Unwrap": false,
|
| 39 |
+
"Verify": true,
|
| 40 |
+
"Wrap": false
|
| 41 |
+
},
|
| 42 |
+
"KeyUsage": "TR31_C0_CARD_VERIFICATION_KEY"
|
| 43 |
+
},
|
| 44 |
+
"KeyCheckValue": "D9B20E",
|
| 45 |
+
"KeyCheckValueAlgorithm": "ANSI_X9_24",
|
| 46 |
+
"KeyOrigin": "EXTERNAL",
|
| 47 |
+
"KeyState": "CREATE_COMPLETE",
|
| 48 |
+
"UsageStartTimestamp": "2023-06-09T16:56:27.621000-07:00"
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
For more information, see `Import keys <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-import.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/list-keys.rst
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To get a list of keys**
|
| 2 |
+
|
| 3 |
+
The following ``list-keys`` example shows all of the keys in your account in this Region. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography list-keys
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"Keys": [
|
| 11 |
+
{
|
| 12 |
+
"CreateTimestamp": "1666506840",
|
| 13 |
+
"Enabled": false,
|
| 14 |
+
"Exportable": true,
|
| 15 |
+
"KeyArn": "arn:aws:payment-cryptography:us-east-2:123456789012:key/kwapwa6qaifllw2h",
|
| 16 |
+
"KeyAttributes": {
|
| 17 |
+
"KeyAlgorithm": "TDES_3KEY",
|
| 18 |
+
"KeyClass": "SYMMETRIC_KEY",
|
| 19 |
+
"KeyModesOfUse": {
|
| 20 |
+
"Decrypt": true,
|
| 21 |
+
"DeriveKey": false,
|
| 22 |
+
"Encrypt": true,
|
| 23 |
+
"Generate": false,
|
| 24 |
+
"NoRestrictions": false,
|
| 25 |
+
"Sign": false,
|
| 26 |
+
"Unwrap": true,
|
| 27 |
+
"Verify": false,
|
| 28 |
+
"Wrap": true
|
| 29 |
+
},
|
| 30 |
+
"KeyUsage": "TR31_P1_PIN_GENERATION_KEY"
|
| 31 |
+
},
|
| 32 |
+
"KeyCheckValue": "369D",
|
| 33 |
+
"KeyCheckValueAlgorithm": "ANSI_X9_24",
|
| 34 |
+
"KeyOrigin": "AWS_PAYMENT_CRYPTOGRAPHY",
|
| 35 |
+
"KeyState": "CREATE_COMPLETE",
|
| 36 |
+
"UsageStopTimestamp": "1666938840"
|
| 37 |
+
}
|
| 38 |
+
]
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
For more information, see `List keys <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/alias-about.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/restore-key.rst
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To restore a key that is scheduled for deletion**
|
| 2 |
+
|
| 3 |
+
The following ``restore-key`` example cancels the deletion of a key. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography restore-key \
|
| 6 |
+
--key-identifier arn:aws:payment-cryptography:us-east-2:123456789012:key/kwapwa6qaifllw2h
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"Key": {
|
| 12 |
+
"KeyArn": "arn:aws:payment-cryptography:us-east-2:123456789012:key/kwapwa6qaifllw2h",
|
| 13 |
+
"KeyAttributes": {
|
| 14 |
+
"KeyUsage": "TR31_V2_VISA_PIN_VERIFICATION_KEY",
|
| 15 |
+
"KeyClass": "SYMMETRIC_KEY",
|
| 16 |
+
"KeyAlgorithm": "TDES_3KEY",
|
| 17 |
+
"KeyModesOfUse": {
|
| 18 |
+
"Encrypt": false,
|
| 19 |
+
"Decrypt": false,
|
| 20 |
+
"Wrap": false,
|
| 21 |
+
"Unwrap": false,
|
| 22 |
+
"Generate": true,
|
| 23 |
+
"Sign": false,
|
| 24 |
+
"Verify": true,
|
| 25 |
+
"DeriveKey": false,
|
| 26 |
+
"NoRestrictions": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"KeyCheckValue": "",
|
| 30 |
+
"KeyCheckValueAlgorithm": "ANSI_X9_24",
|
| 31 |
+
"Enabled": false,
|
| 32 |
+
"Exportable": true,
|
| 33 |
+
"KeyState": "CREATE_COMPLETE",
|
| 34 |
+
"KeyOrigin": "AWS_PAYMENT_CRYPTOGRAPHY",
|
| 35 |
+
"CreateTimestamp": "1686800690",
|
| 36 |
+
"UsageStopTimestamp": "1687405998"
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
For more information, see `Deleting keys <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-deleting.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/payment-cryptography/update-alias.rst
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To update an alias**
|
| 2 |
+
|
| 3 |
+
The following ``update-alias`` example associates the alias with a different key. ::
|
| 4 |
+
|
| 5 |
+
aws payment-cryptography update-alias \
|
| 6 |
+
--alias-name alias/sampleAlias1 \
|
| 7 |
+
--key-arn arn:aws:payment-cryptography:us-east-2:123456789012:key/tqv5yij6wtxx64pi
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"Alias": {
|
| 13 |
+
"AliasName": "alias/sampleAlias1",
|
| 14 |
+
"KeyArn": "arn:aws:payment-cryptography:us-west-2:123456789012:key/tqv5yij6wtxx64pi "
|
| 15 |
+
}
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
For more information, see `About aliases <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/alias-about.html>`__ in the *AWS Payment Cryptography User Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/polly/delete-lexicon.rst
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To delete a lexicon**
|
| 2 |
+
|
| 3 |
+
The following ``delete-lexicon`` example deletes the specified lexicon. ::
|
| 4 |
+
|
| 5 |
+
aws polly delete-lexicon \
|
| 6 |
+
--name w3c
|
| 7 |
+
|
| 8 |
+
This command produces no output.
|
| 9 |
+
|
| 10 |
+
For more information, see `Using the DeleteLexicon operation <https://docs.aws.amazon.com/polly/latest/dg/gs-delete-lexicon.html>`__ in the *Amazon Polly Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/polly/get-lexicon.rst
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To retrieve the content of a lexicon**
|
| 2 |
+
|
| 3 |
+
The following ``get-lexicon`` example retrieves the content of the specified pronunciation lexicon. ::
|
| 4 |
+
|
| 5 |
+
aws polly get-lexicon \
|
| 6 |
+
--name w3c
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"Lexicon": {
|
| 12 |
+
"Content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<lexicon version=\"1.0\" \n xmlns= \"http://www.w3.org/2005/01/pronunciation-lexicon\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n xsi:schemaLocation=\"http://www.w3.org/2005/01/pronunciation-lexicon \n http://www.w3.org/TR/2007/CR-pronunciation- lexicon-20071212/pls.xsd\"\n alphabet=\"ipa\" \n xml:lang=\"en-US\">\n <lexeme>\n <grapheme>W3C</grapheme>\n <alias>World Wide Web Consortium</alias>\n </lexeme>\n</lexicon>\n",
|
| 13 |
+
"Name": "w3c"
|
| 14 |
+
},
|
| 15 |
+
"LexiconAttributes": {
|
| 16 |
+
"Alphabet": "ipa",
|
| 17 |
+
"LanguageCode": "en-US",
|
| 18 |
+
"LastModified": 1603908910.99,
|
| 19 |
+
"LexiconArn": "arn:aws:polly:us-west-2:880185128111:lexicon/w3c",
|
| 20 |
+
"LexemesCount": 1,
|
| 21 |
+
"Size": 492
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
For more information, see `Using the GetLexicon operation <https://docs.aws.amazon.com/polly/latest/dg/gs-get-lexicon.html>`__ in the *Amazon Polly Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/polly/get-speech-synthesis-task.rst
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To get information about a speech synthesis task**
|
| 2 |
+
|
| 3 |
+
The following ``get-speech-synthesis-task`` example retrieves information about the specified speech synthesis task. ::
|
| 4 |
+
|
| 5 |
+
aws polly get-speech-synthesis-task \
|
| 6 |
+
--task-id 70b61c0f-57ce-4715-a247-cae8729dcce9
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"SynthesisTask": {
|
| 12 |
+
"TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9",
|
| 13 |
+
"TaskStatus": "completed",
|
| 14 |
+
"OutputUri": "https://s3.us-west-2.amazonaws.com/amzn-s3-demo-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3",
|
| 15 |
+
"CreationTime": 1603911042.689,
|
| 16 |
+
"RequestCharacters": 1311,
|
| 17 |
+
"OutputFormat": "mp3",
|
| 18 |
+
"TextType": "text",
|
| 19 |
+
"VoiceId": "Joanna"
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
For more information, see `Creating long audio files <https://docs.aws.amazon.com/polly/latest/dg/longer-cli.html>`__ in the *Amazon Polly Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/polly/list-lexicons.rst
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list your lexicons**
|
| 2 |
+
|
| 3 |
+
The following ``list-lexicons`` example lists your pronunciation lexicons. ::
|
| 4 |
+
|
| 5 |
+
aws polly list-lexicons
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"Lexicons": [
|
| 11 |
+
{
|
| 12 |
+
"Name": "w3c",
|
| 13 |
+
"Attributes": {
|
| 14 |
+
"Alphabet": "ipa",
|
| 15 |
+
"LanguageCode": "en-US",
|
| 16 |
+
"LastModified": 1603908910.99,
|
| 17 |
+
"LexiconArn": "arn:aws:polly:us-east-2:123456789012:lexicon/w3c",
|
| 18 |
+
"LexemesCount": 1,
|
| 19 |
+
"Size": 492
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
For more information, see `Using the ListLexicons operation <https://docs.aws.amazon.com/polly/latest/dg/gs-list-lexicons.html>`__ in the *Amazon Polly Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/polly/list-speech-synthesis-tasks.rst
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To list your speech synthesis tasks**
|
| 2 |
+
|
| 3 |
+
The following ``list-speech-synthesis-tasks`` example lists your speech synthesis tasks. ::
|
| 4 |
+
|
| 5 |
+
aws polly list-speech-synthesis-tasks
|
| 6 |
+
|
| 7 |
+
Output::
|
| 8 |
+
|
| 9 |
+
{
|
| 10 |
+
"SynthesisTasks": [
|
| 11 |
+
{
|
| 12 |
+
"TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9",
|
| 13 |
+
"TaskStatus": "completed",
|
| 14 |
+
"OutputUri": "https://s3.us-west-2.amazonaws.com/amzn-s3-demo-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3",
|
| 15 |
+
"CreationTime": 1603911042.689,
|
| 16 |
+
"RequestCharacters": 1311,
|
| 17 |
+
"OutputFormat": "mp3",
|
| 18 |
+
"TextType": "text",
|
| 19 |
+
"VoiceId": "Joanna"
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
For more information, see `Creating long audio files <https://docs.aws.amazon.com/polly/latest/dg/longer-cli.html>`__ in the *Amazon Polly Developer Guide*.
|
| 25 |
+
|
data/lib/python3.10/site-packages/awscli/examples/polly/put-lexicon.rst
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To store a lexicon**
|
| 2 |
+
|
| 3 |
+
The following ``put-lexicon`` example stores the specified pronunciation lexicon. The ``example.pls`` file specifies a W3C PLS-compliant lexicon. ::
|
| 4 |
+
|
| 5 |
+
aws polly put-lexicon \
|
| 6 |
+
--name w3c \
|
| 7 |
+
--content file://example.pls
|
| 8 |
+
|
| 9 |
+
Contents of ``example.pls`` ::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 13 |
+
<lexicon version="1.0"
|
| 14 |
+
xmlns="http://www.w3.org/2005/01/pronunciation-lexicon"
|
| 15 |
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 16 |
+
xsi:schemaLocation="http://www.w3.org/2005/01/pronunciation-lexicon
|
| 17 |
+
http://www.w3.org/TR/2007/CR-pronunciation-lexicon-20071212/pls.xsd"
|
| 18 |
+
alphabet="ipa"
|
| 19 |
+
xml:lang="en-US">
|
| 20 |
+
<lexeme>
|
| 21 |
+
<grapheme>W3C</grapheme>
|
| 22 |
+
<alias>World Wide Web Consortium</alias>
|
| 23 |
+
</lexeme>
|
| 24 |
+
</lexicon>
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
This command produces no output.
|
| 28 |
+
|
| 29 |
+
For more information, see `Using the PutLexicon operation <https://docs.aws.amazon.com/polly/latest/dg/gs-put-lexicon.html>`__ in the *Amazon Polly Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/polly/start-speech-synthesis-task.rst
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To synthesize text**
|
| 2 |
+
|
| 3 |
+
The following ``start-speech-synthesis-task`` example synthesizes the text in ``text_file.txt`` and stores the resulting MP3 file in the specified bucket. ::
|
| 4 |
+
|
| 5 |
+
aws polly start-speech-synthesis-task \
|
| 6 |
+
--output-format mp3 \
|
| 7 |
+
--output-s3-bucket-name amzn-s3-demo-bucket \
|
| 8 |
+
--text file://text_file.txt \
|
| 9 |
+
--voice-id Joanna
|
| 10 |
+
|
| 11 |
+
Output::
|
| 12 |
+
|
| 13 |
+
{
|
| 14 |
+
"SynthesisTask": {
|
| 15 |
+
"TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9",
|
| 16 |
+
"TaskStatus": "scheduled",
|
| 17 |
+
"OutputUri": "https://s3.us-east-2.amazonaws.com/amzn-s3-demo-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3",
|
| 18 |
+
"CreationTime": 1603911042.689,
|
| 19 |
+
"RequestCharacters": 1311,
|
| 20 |
+
"OutputFormat": "mp3",
|
| 21 |
+
"TextType": "text",
|
| 22 |
+
"VoiceId": "Joanna"
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
For more information, see `Creating long audio files <https://docs.aws.amazon.com/polly/latest/dg/longer-cli.html>`__ in the *Amazon Polly Developer Guide*.
|
| 27 |
+
|
data/lib/python3.10/site-packages/awscli/examples/rekognition/compare-faces.rst
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To compare faces in two images**
|
| 2 |
+
|
| 3 |
+
The following ``compare-faces`` command compares faces in two images stored in an Amazon S3 bucket. ::
|
| 4 |
+
|
| 5 |
+
aws rekognition compare-faces \
|
| 6 |
+
--source-image '{"S3Object":{"Bucket":"MyImageS3Bucket","Name":"source.jpg"}}' \
|
| 7 |
+
--target-image '{"S3Object":{"Bucket":"MyImageS3Bucket","Name":"target.jpg"}}'
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"UnmatchedFaces": [],
|
| 13 |
+
"FaceMatches": [
|
| 14 |
+
{
|
| 15 |
+
"Face": {
|
| 16 |
+
"BoundingBox": {
|
| 17 |
+
"Width": 0.12368916720151901,
|
| 18 |
+
"Top": 0.16007372736930847,
|
| 19 |
+
"Left": 0.5901257991790771,
|
| 20 |
+
"Height": 0.25140416622161865
|
| 21 |
+
},
|
| 22 |
+
"Confidence": 100.0,
|
| 23 |
+
"Pose": {
|
| 24 |
+
"Yaw": -3.7351467609405518,
|
| 25 |
+
"Roll": -0.10309021919965744,
|
| 26 |
+
"Pitch": 0.8637830018997192
|
| 27 |
+
},
|
| 28 |
+
"Quality": {
|
| 29 |
+
"Sharpness": 95.51618957519531,
|
| 30 |
+
"Brightness": 65.29893493652344
|
| 31 |
+
},
|
| 32 |
+
"Landmarks": [
|
| 33 |
+
{
|
| 34 |
+
"Y": 0.26721030473709106,
|
| 35 |
+
"X": 0.6204193830490112,
|
| 36 |
+
"Type": "eyeLeft"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"Y": 0.26831310987472534,
|
| 40 |
+
"X": 0.6776827573776245,
|
| 41 |
+
"Type": "eyeRight"
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"Y": 0.3514654338359833,
|
| 45 |
+
"X": 0.6241428852081299,
|
| 46 |
+
"Type": "mouthLeft"
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"Y": 0.35258132219314575,
|
| 50 |
+
"X": 0.6713621020317078,
|
| 51 |
+
"Type": "mouthRight"
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"Y": 0.3140771687030792,
|
| 55 |
+
"X": 0.6428444981575012,
|
| 56 |
+
"Type": "nose"
|
| 57 |
+
}
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
"Similarity": 100.0
|
| 61 |
+
}
|
| 62 |
+
],
|
| 63 |
+
"SourceImageFace": {
|
| 64 |
+
"BoundingBox": {
|
| 65 |
+
"Width": 0.12368916720151901,
|
| 66 |
+
"Top": 0.16007372736930847,
|
| 67 |
+
"Left": 0.5901257991790771,
|
| 68 |
+
"Height": 0.25140416622161865
|
| 69 |
+
},
|
| 70 |
+
"Confidence": 100.0
|
| 71 |
+
}
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
For more information, see `Comparing Faces in Images <https://docs.aws.amazon.com/rekognition/latest/dg/faces-comparefaces.html>`__ in the *Amazon Rekognition Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/rekognition/create-collection.rst
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To create a collection**
|
| 2 |
+
|
| 3 |
+
The following ``create-collection`` command creates a collection with the specified name. ::
|
| 4 |
+
|
| 5 |
+
aws rekognition create-collection \
|
| 6 |
+
--collection-id "MyCollection"
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"CollectionArn": "aws:rekognition:us-west-2:123456789012:collection/MyCollection",
|
| 12 |
+
"FaceModelVersion": "4.0",
|
| 13 |
+
"StatusCode": 200
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
For more information, see `Creating a Collection <https://docs.aws.amazon.com/rekognition/latest/dg/create-collection-procedure.html>`__ in the *Amazon Rekognition Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/rekognition/create-stream-processor.rst
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To create a new stream processor**
|
| 2 |
+
|
| 3 |
+
The following ``create-stream-processor`` example creates a new stream processor with the specified configuration. ::
|
| 4 |
+
|
| 5 |
+
aws rekognition create-stream-processor --name my-stream-processor\
|
| 6 |
+
--input '{"KinesisVideoStream":{"Arn":"arn:aws:kinesisvideo:us-west-2:123456789012:stream/macwebcam/1530559711205"}}'\
|
| 7 |
+
--stream-processor-output '{"KinesisDataStream":{"Arn":"arn:aws:kinesis:us-west-2:123456789012:stream/AmazonRekognitionRekStream"}}'\
|
| 8 |
+
--role-arn arn:aws:iam::123456789012:role/AmazonRekognitionDetect\
|
| 9 |
+
--settings '{"FaceSearch":{"CollectionId":"MyCollection","FaceMatchThreshold":85.5}}'
|
| 10 |
+
|
| 11 |
+
Output::
|
| 12 |
+
|
| 13 |
+
{
|
| 14 |
+
"StreamProcessorArn": "arn:aws:rekognition:us-west-2:123456789012:streamprocessor/my-stream-processor"
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
For more information, see `Working with Streaming Videos <https://docs.aws.amazon.com/rekognition/latest/dg/streaming-video.html>`__ in the *Amazon Rekognition Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/rekognition/delete-collection.rst
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To delete a collection**
|
| 2 |
+
|
| 3 |
+
The following ``delete-collection`` command deletes the specified collection. ::
|
| 4 |
+
|
| 5 |
+
aws rekognition delete-collection \
|
| 6 |
+
--collection-id MyCollection
|
| 7 |
+
|
| 8 |
+
Output::
|
| 9 |
+
|
| 10 |
+
{
|
| 11 |
+
"StatusCode": 200
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
For more information, see `Deleting a Collection <https://docs.aws.amazon.com/rekognition/latest/dg/delete-collection-procedure.html>`__ in the *Amazon Rekognition Developer Guide*.
|
data/lib/python3.10/site-packages/awscli/examples/rekognition/delete-faces.rst
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
**To delete faces from a collection**
|
| 2 |
+
|
| 3 |
+
The following ``delete-faces`` command deletes the specified face from a collection. ::
|
| 4 |
+
|
| 5 |
+
aws rekognition delete-faces \
|
| 6 |
+
--collection-id MyCollection
|
| 7 |
+
--face-ids '["0040279c-0178-436e-b70a-e61b074e96b0"]'
|
| 8 |
+
|
| 9 |
+
Output::
|
| 10 |
+
|
| 11 |
+
{
|
| 12 |
+
"DeletedFaces": [
|
| 13 |
+
"0040279c-0178-436e-b70a-e61b074e96b0"
|
| 14 |
+
]
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
For more information, see `Deleting Faces from a Collection <https://docs.aws.amazon.com/rekognition/latest/dg/delete-faces-procedure.html>`__ in the *Amazon Rekognition Developer Guide*.
|