Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed May 3, 2022
1 parent b539e47 commit cc1292c
Show file tree
Hide file tree
Showing 45 changed files with 2,331 additions and 346 deletions.
7 changes: 6 additions & 1 deletion apis/ec2/2016-11-15/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5294,7 +5294,8 @@
"shape":"TagSpecificationList",
"locationName":"TagSpecification"
},
"HostRecovery":{"shape":"HostRecovery"}
"HostRecovery":{"shape":"HostRecovery"},
"OutpostArn":{"shape":"String"}
}
},
"AllocateHostsResult":{
Expand Down Expand Up @@ -20919,6 +20920,10 @@
"MemberOfServiceLinkedResourceGroup":{
"shape":"Boolean",
"locationName":"memberOfServiceLinkedResourceGroup"
},
"OutpostArn":{
"shape":"String",
"locationName":"outpostArn"
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion apis/ec2/2016-11-15/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@
"StartNetworkInsightsAccessScopeAnalysis": "<p>Starts analyzing the specified Network Access Scope.</p>",
"StartNetworkInsightsAnalysis": "<p>Starts analyzing the specified path. If the path is reachable, the operation returns the shortest feasible path.</p>",
"StartVpcEndpointServicePrivateDnsVerification": "<p>Initiates the verification process to prove that the service provider owns the private DNS name domain for the endpoint service.</p> <p>The service provider must successfully perform the verification before the consumer can use the name to access the service.</p> <p>Before the service provider runs this command, they must add a record to the DNS server.</p>",
"StopInstances": "<p>Stops an Amazon EBS-backed instance.</p> <p>You can use the Stop action to hibernate an instance if the instance is <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation\">enabled for hibernation</a> and it meets the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites\">hibernation prerequisites</a>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html\">Hibernate your instance</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>We don't charge usage for a stopped instance, or data transfer fees; however, your root partition Amazon EBS volume remains and continues to persist your data, and you are charged for Amazon EBS volume usage. Every time you start your instance, Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges per second for instance usage.</p> <p>You can't stop or hibernate instance store-backed instances. You can't use the Stop action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate Spot Instances when they are interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances\">Hibernating interrupted Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>When you stop or hibernate an instance, we shut it down. You can restart your instance at any time. Before stopping or hibernating an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM, but hibernating an instance does preserve data stored in RAM. If an instance cannot hibernate successfully, a normal shutdown occurs.</p> <p>Stopping and hibernating an instance is different to rebooting or terminating it. For example, when you stop or hibernate an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, the root device and any other devices attached during the instance launch are automatically deleted. For more information about the differences between rebooting, stopping, hibernating, and terminating instances, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html\">Instance lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>When you stop an instance, we attempt to shut it down forcibly after a short while. If your instance appears stuck in the stopping state after a period of time, there may be an issue with the underlying host computer. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html\">Troubleshoot stopping your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>",
"StopInstances": "<p>Stops an Amazon EBS-backed instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html\">Stop and start your instance</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>You can use the Stop action to hibernate an instance if the instance is <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation\">enabled for hibernation</a> and it meets the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites\">hibernation prerequisites</a>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html\">Hibernate your instance</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>We don't charge usage for a stopped instance, or data transfer fees; however, your root partition Amazon EBS volume remains and continues to persist your data, and you are charged for Amazon EBS volume usage. Every time you start your instance, Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges per second for instance usage.</p> <p>You can't stop or hibernate instance store-backed instances. You can't use the Stop action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate Spot Instances when they are interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances\">Hibernating interrupted Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>When you stop or hibernate an instance, we shut it down. You can restart your instance at any time. Before stopping or hibernating an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM, but hibernating an instance does preserve data stored in RAM. If an instance cannot hibernate successfully, a normal shutdown occurs.</p> <p>Stopping and hibernating an instance is different to rebooting or terminating it. For example, when you stop or hibernate an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, the root device and any other devices attached during the instance launch are automatically deleted. For more information about the differences between rebooting, stopping, hibernating, and terminating instances, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html\">Instance lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>When you stop an instance, we attempt to shut it down forcibly after a short while. If your instance appears stuck in the stopping state after a period of time, there may be an issue with the underlying host computer. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html\">Troubleshoot stopping your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>",
"TerminateClientVpnConnections": "<p>Terminates active Client VPN endpoint connections. This action can be used to terminate a specific client connection, or up to five connections established by a specific user.</p>",
"TerminateInstances": "<p>Shuts down the specified instances. This operation is idempotent; if you terminate an instance more than once, each call succeeds. </p> <p>If you specify multiple instances and the request fails (for example, because of a single incorrect instance ID), none of the instances are terminated.</p> <p>If you terminate multiple instances across multiple Availability Zones, and one or more of the specified instances are enabled for termination protection, the request fails with the following results:</p> <ul> <li> <p>The specified instances that are in the same Availability Zone as the protected instance are not terminated.</p> </li> <li> <p>The specified instances that are in different Availability Zones, where no other specified instances are protected, are successfully terminated.</p> </li> </ul> <p>For example, say you have the following instances:</p> <ul> <li> <p>Instance A: <code>us-east-1a</code>; Not protected</p> </li> <li> <p>Instance B: <code>us-east-1a</code>; Not protected</p> </li> <li> <p>Instance C: <code>us-east-1b</code>; Protected</p> </li> <li> <p>Instance D: <code>us-east-1b</code>; not protected</p> </li> </ul> <p>If you attempt to terminate all of these instances in the same request, the request reports failure with the following results:</p> <ul> <li> <p>Instance A and Instance B are successfully terminated because none of the specified instances in <code>us-east-1a</code> are enabled for termination protection.</p> </li> <li> <p>Instance C and Instance D fail to terminate because at least one of the specified instances in <code>us-east-1b</code> (Instance C) is enabled for termination protection.</p> </li> </ul> <p>Terminated instances remain visible after termination (for approximately one hour).</p> <p>By default, Amazon EC2 deletes all EBS volumes that were attached when the instance launched. Volumes attached after instance launch continue running.</p> <p>You can stop, start, and terminate EBS-backed instances. You can only terminate instance store-backed instances. What happens to an instance differs if you stop it or terminate it. For example, when you stop an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, any attached EBS volumes with the <code>DeleteOnTermination</code> block device mapping parameter set to <code>true</code> are automatically deleted. For more information about the differences between stopping and terminating instances, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html\">Instance lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>For more information about troubleshooting, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html\">Troubleshooting terminating your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>",
"UnassignIpv6Addresses": "<p>Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes from a network interface.</p>",
Expand Down Expand Up @@ -16375,6 +16375,7 @@
"AllocateHostsRequest$ClientToken": "<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring Idempotency</a>.</p>",
"AllocateHostsRequest$InstanceType": "<p>Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.</p> <p>If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify <b>InstanceFamily</b> instead. You cannot specify <b>InstanceType</b> and <b>InstanceFamily</b> in the same request.</p>",
"AllocateHostsRequest$InstanceFamily": "<p>Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.</p> <p>If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify <b>InstanceType</b> instead. You cannot specify <b>InstanceFamily</b> and <b>InstanceType</b> in the same request.</p>",
"AllocateHostsRequest$OutpostArn": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.</p>",
"AllocateIpamPoolCidrRequest$Cidr": "<p>The CIDR you would like to allocate from the IPAM pool. Note the following:</p> <ul> <li> <p>If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.</p> </li> <li> <p>If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.</p> </li> </ul> <p>Possible values: Any available IPv4 or IPv6 CIDR.</p>",
"AllocateIpamPoolCidrRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html\">Ensuring Idempotency</a>.</p>",
"AllocateIpamPoolCidrRequest$Description": "<p>A description for the allocation.</p>",
Expand Down Expand Up @@ -17130,6 +17131,7 @@
"Host$HostReservationId": "<p>The reservation ID of the Dedicated Host. This returns a <code>null</code> response if the Dedicated Host doesn't have an associated reservation.</p>",
"Host$OwnerId": "<p>The ID of the Amazon Web Services account that owns the Dedicated Host.</p>",
"Host$AvailabilityZoneId": "<p>The ID of the Availability Zone in which the Dedicated Host is allocated.</p>",
"Host$OutpostArn": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.</p>",
"HostInstance$InstanceId": "<p>The ID of instance that is running on the Dedicated Host.</p>",
"HostInstance$InstanceType": "<p>The instance type (for example, <code>m3.medium</code>) of the running instance.</p>",
"HostInstance$OwnerId": "<p>The ID of the Amazon Web Services account that owns the instance.</p>",
Expand Down
121 changes: 121 additions & 0 deletions apis/kinesis-video-archived-media/2017-09-30/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,21 @@
{"shape":"InvalidCodecPrivateDataException"}
]
},
"GetImages":{
"name":"GetImages",
"http":{
"method":"POST",
"requestUri":"/getImages"
},
"input":{"shape":"GetImagesInput"},
"output":{"shape":"GetImagesOutput"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidArgumentException"},
{"shape":"ClientLimitExceededException"},
{"shape":"NotAuthorizedException"}
]
},
"GetMediaForFragmentList":{
"name":"GetMediaForFragmentList",
"http":{
Expand Down Expand Up @@ -206,6 +221,30 @@
"max":43200,
"min":300
},
"Format":{
"type":"string",
"enum":[
"JPEG",
"PNG"
]
},
"FormatConfig":{
"type":"map",
"key":{"shape":"FormatConfigKey"},
"value":{"shape":"FormatConfigValue"},
"max":1,
"min":1
},
"FormatConfigKey":{
"type":"string",
"enum":["JPEGQuality"]
},
"FormatConfigValue":{
"type":"string",
"max":256,
"min":0,
"pattern":"^[a-zA-Z_0-9]+"
},
"Fragment":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -310,6 +349,42 @@
"HLSStreamingSessionURL":{"shape":"HLSStreamingSessionURL"}
}
},
"GetImagesInput":{
"type":"structure",
"required":[
"ImageSelectorType",
"StartTimestamp",
"EndTimestamp",
"SamplingInterval",
"Format"
],
"members":{
"StreamName":{"shape":"StreamName"},
"StreamARN":{"shape":"ResourceARN"},
"ImageSelectorType":{"shape":"ImageSelectorType"},
"StartTimestamp":{"shape":"Timestamp"},
"EndTimestamp":{"shape":"Timestamp"},
"SamplingInterval":{"shape":"SamplingInterval"},
"Format":{"shape":"Format"},
"FormatConfig":{"shape":"FormatConfig"},
"WidthPixels":{"shape":"WidthPixels"},
"HeightPixels":{"shape":"HeightPixels"},
"MaxResults":{"shape":"GetImagesMaxResults"},
"NextToken":{"shape":"NextToken"}
}
},
"GetImagesMaxResults":{
"type":"long",
"max":100,
"min":1
},
"GetImagesOutput":{
"type":"structure",
"members":{
"Images":{"shape":"Images"},
"NextToken":{"shape":"NextToken"}
}
},
"GetMediaForFragmentListInput":{
"type":"structure",
"required":["Fragments"],
Expand Down Expand Up @@ -381,6 +456,42 @@
"EndTimestamp":{"shape":"Timestamp"}
}
},
"HeightPixels":{
"type":"integer",
"max":2160,
"min":1
},
"Image":{
"type":"structure",
"members":{
"TimeStamp":{"shape":"Timestamp"},
"Error":{"shape":"ImageError"},
"ImageContent":{"shape":"ImageContent"}
}
},
"ImageContent":{
"type":"string",
"max":6291456,
"min":1
},
"ImageError":{
"type":"string",
"enum":[
"NO_MEDIA",
"MEDIA_ERROR"
]
},
"ImageSelectorType":{
"type":"string",
"enum":[
"PRODUCER_TIMESTAMP",
"SERVER_TIMESTAMP"
]
},
"Images":{
"type":"list",
"member":{"shape":"Image"}
},
"InvalidArgumentException":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -476,6 +587,11 @@
"error":{"httpStatusCode":404},
"exception":true
},
"SamplingInterval":{
"type":"integer",
"max":20000,
"min":3000
},
"StreamName":{
"type":"string",
"max":256,
Expand All @@ -501,6 +617,11 @@
},
"error":{"httpStatusCode":400},
"exception":true
},
"WidthPixels":{
"type":"integer",
"max":3840,
"min":1
}
}
}
Loading

0 comments on commit cc1292c

Please sign in to comment.