openapi: 3.0.0 info: version: 2015-08-04 x-release: v4 title: 'Amazon Kinesis Firehose CreateSignalingChannel #X Amz Target=Kinesis 20131202.ListShards API' description: Amazon Kinesis Data Firehose API Reference

Amazon Kinesis Data Firehose is a fully managed service that delivers real-time streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon OpenSearch Service, Amazon Redshift, Splunk, and various other supportd destinations.

x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: firehose x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/firehose-2015-08-04.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://firehose.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Firehose multi-region endpoint - url: https://firehose.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Firehose multi-region endpoint - url: http://firehose.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Firehose endpoint for China (Beijing) and China (Ningxia) - url: https://firehose.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Firehose endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=Kinesis 20131202.ListShards' paths: /#X-Amz-Target=Kinesis_20131202.ListShards: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: ListShards description:

Lists the shards in a stream and provides information about each shard. This operation has a limit of 1000 transactions per second per data stream.

When invoking this API, it is recommended you use the StreamARN input parameter rather than the StreamName input parameter.

This action does not list expired shards. For information about expired shards, see Data Routing, Data Persistence, and Shard State after a Reshard.

This API is a new operation that is used by the Amazon Kinesis Client Library (KCL). If you have a fine-grained IAM policy that only allows specific operations, you must update your policy to allow calls to this API. For more information, see Controlling Access to Amazon Kinesis Data Streams Resources Using IAM.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListShardsOutput' '480': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '481': description: InvalidArgumentException content: application/json: schema: $ref: '#/components/schemas/InvalidArgumentException' '482': description: LimitExceededException content: application/json: schema: $ref: '#/components/schemas/LimitExceededException' '483': description: ExpiredNextTokenException content: application/json: schema: $ref: '#/components/schemas/ExpiredNextTokenException' '484': description: ResourceInUseException content: application/json: schema: $ref: '#/components/schemas/ResourceInUseException' '485': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ListShardsInput' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - Kinesis_20131202.ListShards tags: - '#X Amz Target=Kinesis 20131202.ListShards' components: parameters: X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false schemas: ShardFilterType: type: string enum: - AFTER_SHARD_ID - AT_TRIM_HORIZON - FROM_TRIM_HORIZON - AT_LATEST - AT_TIMESTAMP - FROM_TIMESTAMP ShardList: type: array items: $ref: '#/components/schemas/Shard' ListShardsInputLimit: type: integer minimum: 1 maximum: 10000 SequenceNumberRange: type: object required: - StartingSequenceNumber properties: StartingSequenceNumber: allOf: - $ref: '#/components/schemas/SequenceNumber' - description: The starting sequence number for the range. EndingSequenceNumber: allOf: - $ref: '#/components/schemas/SequenceNumber' - description: The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of null. description: The range of possible sequence numbers for the shard. NextToken: type: string minLength: 1 maxLength: 1048576 SequenceNumber: type: string pattern: 0|([1-9]\d{0,128}) ListShardsOutput: type: object properties: Shards: allOf: - $ref: '#/components/schemas/ShardList' - description: An array of JSON objects. Each object represents one shard and specifies the IDs of the shard, the shard's parent, and the shard that's adjacent to the shard's parent. Each object also contains the starting and ending hash keys and the starting and ending sequence numbers for the shard. NextToken: allOf: - $ref: '#/components/schemas/NextToken' - description:

When the number of shards in the data stream is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of shards in the data stream, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListShards to list the next set of shards. For more information about the use of this pagination token when calling the ListShards operation, see ListShardsInput$NextToken.

Tokens expire after 300 seconds. When you obtain a value for NextToken in the response to a call to ListShards, you have 300 seconds to use that value. If you specify an expired token in a call to ListShards, you get ExpiredNextTokenException.

AccessDeniedException: {} ShardFilter: type: object required: - Type properties: Type: allOf: - $ref: '#/components/schemas/ShardFilterType' - description: '

The shard type specified in the ShardFilter parameter. This is a required property of the ShardFilter parameter.

You can specify the following valid values:

' ShardId: allOf: - $ref: '#/components/schemas/ShardId' - description: The exclusive start shardID speified in the ShardFilter parameter. This property can only be used if the AFTER_SHARD_ID shard type is specified. Timestamp: allOf: - $ref: '#/components/schemas/Timestamp' - description: The timestamps specified in the ShardFilter parameter. A timestamp is a Unix epoch date with precision in milliseconds. For example, 2016-04-04T19:58:46.480-00:00 or 1459799926.480. This property can only be used if FROM_TIMESTAMP or AT_TIMESTAMP shard types are specified. description: The request parameter used to filter out the response of the ListShards API. InvalidArgumentException: {} HashKey: type: string pattern: 0|([1-9]\d{0,38}) LimitExceededException: {} StreamARN: type: string pattern: arn:aws.*:kinesis:.*:\d{12}:stream/\S+ minLength: 1 maxLength: 2048 ResourceNotFoundException: {} ResourceInUseException: {} ListShardsInput: type: object title: ListShardsInput properties: StreamName: allOf: - $ref: '#/components/schemas/StreamName' - description:

The name of the data stream whose shards you want to list.

You cannot specify this parameter if you specify the NextToken parameter.

NextToken: allOf: - $ref: '#/components/schemas/NextToken' - description:

When the number of shards in the data stream is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of shards in the data stream, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListShards to list the next set of shards.

Don't specify StreamName or StreamCreationTimestamp if you specify NextToken because the latter unambiguously identifies the stream.

You can optionally specify a value for the MaxResults parameter when you specify NextToken. If you specify a MaxResults value that is less than the number of shards that the operation returns if you don't specify MaxResults, the response will contain a new NextToken value. You can use the new NextToken value in a subsequent call to the ListShards operation.

Tokens expire after 300 seconds. When you obtain a value for NextToken in the response to a call to ListShards, you have 300 seconds to use that value. If you specify an expired token in a call to ListShards, you get ExpiredNextTokenException.

ExclusiveStartShardId: allOf: - $ref: '#/components/schemas/ShardId' - description:

Specify this parameter to indicate that you want to list the shards starting with the shard whose ID immediately follows ExclusiveStartShardId.

If you don't specify this parameter, the default behavior is for ListShards to list the shards starting with the first one in the stream.

You cannot specify this parameter if you specify NextToken.

MaxResults: allOf: - $ref: '#/components/schemas/ListShardsInputLimit' - description:

The maximum number of shards to return in a single call to ListShards. The maximum number of shards to return in a single call. The default value is 1000. If you specify a value greater than 1000, at most 1000 results are returned.

When the number of shards to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListShards to list the next set of shards.

StreamCreationTimestamp: allOf: - $ref: '#/components/schemas/Timestamp' - description:

Specify this input parameter to distinguish data streams that have the same name. For example, if you create a data stream and then delete it, and you later create another data stream with the same name, you can use this input parameter to specify which of the two streams you want to list the shards for.

You cannot specify this parameter if you specify the NextToken parameter.

ShardFilter: allOf: - $ref: '#/components/schemas/ShardFilter' - description:

Enables you to filter out the response of the ListShards API. You can only specify one filter at a time.

If you use the ShardFilter parameter when invoking the ListShards API, the Type is the required property and must be specified. If you specify the AT_TRIM_HORIZON, FROM_TRIM_HORIZON, or AT_LATEST types, you do not need to specify either the ShardId or the Timestamp optional properties.

If you specify the AFTER_SHARD_ID type, you must also provide the value for the optional ShardId property. The ShardId property is identical in fuctionality to the ExclusiveStartShardId parameter of the ListShards API. When ShardId property is specified, the response includes the shards starting with the shard whose ID immediately follows the ShardId that you provided.

If you specify the AT_TIMESTAMP or FROM_TIMESTAMP_ID type, you must also provide the value for the optional Timestamp property. If you specify the AT_TIMESTAMP type, then all shards that were open at the provided timestamp are returned. If you specify the FROM_TIMESTAMP type, then all shards starting from the provided timestamp to TIP are returned.

StreamARN: allOf: - $ref: '#/components/schemas/StreamARN' - description: The ARN of the stream. StreamName: type: string pattern: '[a-zA-Z0-9_.-]+' minLength: 1 maxLength: 128 ExpiredNextTokenException: {} HashKeyRange: type: object required: - StartingHashKey - EndingHashKey properties: StartingHashKey: allOf: - $ref: '#/components/schemas/HashKey' - description: The starting hash key of the hash key range. EndingHashKey: allOf: - $ref: '#/components/schemas/HashKey' - description: The ending hash key of the hash key range. description: The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers. Timestamp: type: string format: date-time ShardId: type: string pattern: '[a-zA-Z0-9_.-]+' minLength: 1 maxLength: 128 Shard: type: object required: - ShardId - HashKeyRange - SequenceNumberRange properties: ShardId: allOf: - $ref: '#/components/schemas/ShardId' - description: The unique identifier of the shard within the stream. ParentShardId: allOf: - $ref: '#/components/schemas/ShardId' - description: The shard ID of the shard's parent. AdjacentParentShardId: allOf: - $ref: '#/components/schemas/ShardId' - description: The shard ID of the shard adjacent to the shard's parent. HashKeyRange: allOf: - $ref: '#/components/schemas/HashKeyRange' - description: The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers. SequenceNumberRange: allOf: - $ref: '#/components/schemas/SequenceNumberRange' - description: The range of possible sequence numbers for the shard. description: A uniquely identified group of data records in a Kinesis data stream. securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/firehose/ x-hasEquivalentPaths: true