Amazon Kinesis¶
Description¶
Amazon Kinesis Data Streams Service API Reference
Amazon Kinesis Data Streams is a managed service that scales elastically for real-time processing of streaming big data.
Usage¶
Arguments¶
-
configOptional configuration of credentials, endpoint, and/or region.
- credentials:
- creds:
- access_key_id: AWS access key ID
- secret_access_key: AWS secret access key
- session_token: AWS temporary session token
- profile: The name of a profile to use. If not given, then the default profile is used.
- anonymous: Set anonymous credentials.
- creds:
- endpoint: The complete URL to use for the constructed client.
- region: The AWS Region used in instantiating the client.
- close_connection: Immediately close all HTTP connections.
- timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.
- s3_force_path_style: Set this to
trueto force the request to use path-style addressing, i.e.http://s3.amazonaws.com/BUCKET/KEY. - sts_regional_endpoint: Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html
- use_dual_stack: Set this to
trueto use the dualstack (IPv4 and IPv6) endpoint for a service, where available, falling back to the regular endpoint when it isn't. Defaults to theAWS_USE_DUALSTACK_ENDPOINTenvironment variable when unset.
- credentials:
-
credentialsOptional credentials shorthand for the config parameter
- creds:
- access_key_id: AWS access key ID
- secret_access_key: AWS secret access key
- session_token: AWS temporary session token
- profile: The name of a profile to use. If not given, then the default profile is used.
- anonymous: Set anonymous credentials.
- creds:
-
endpointOptional shorthand for complete URL to use for the constructed client.
-
regionOptional shorthand for AWS Region used in instantiating the client.
Value¶
A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.
Service syntax¶
svc <- kinesis(
config = list(
credentials = list(
creds = list(
access_key_id = "string",
secret_access_key = "string",
session_token = "string"
),
profile = "string",
anonymous = "logical"
),
endpoint = "string",
region = "string",
close_connection = "logical",
timeout = "numeric",
s3_force_path_style = "logical",
sts_regional_endpoint = "string",
use_dual_stack = "logical"
),
credentials = list(
creds = list(
access_key_id = "string",
secret_access_key = "string",
session_token = "string"
),
profile = "string",
anonymous = "logical"
),
endpoint = "string",
region = "string"
)
Operations¶
add_tags_to_stream |
Adds or updates tags for the specified Kinesis data stream |
|---|---|
create_channel |
Creates a channel that delivers records from a Kinesis data stream to a destination |
create_stream |
Creates a Kinesis data stream |
decrease_stream_retention_period |
Decreases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream |
delete_channel |
Deletes the specified channel |
delete_resource_policy |
Delete a policy for the specified data stream or consumer |
delete_stream |
Deletes a Kinesis data stream and all its shards and data |
deregister_stream_consumer |
To deregister a consumer, provide its ARN |
describe_account_settings |
Describes the account-level settings for Amazon Kinesis Data Streams |
describe_channel |
Describes the specified channel, including its configuration and current status |
describe_limits |
Describes the shard limits and usage for the account |
describe_stream |
Describes the specified Kinesis data stream |
describe_stream_consumer |
To get the description of a registered consumer, provide the ARN of the consumer |
describe_stream_summary |
Provides a summarized description of the specified Kinesis data stream without the shard list |
disable_enhanced_monitoring |
Disables enhanced monitoring |
enable_enhanced_monitoring |
Enables enhanced Kinesis data stream monitoring for shard-level metrics |
get_records |
Gets data records from a Kinesis data stream's shard |
get_resource_policy |
Returns a policy attached to the specified data stream or consumer |
get_shard_iterator |
Gets an Amazon Kinesis shard iterator |
increase_stream_retention_period |
Increases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream |
list_channels |
Lists the channels in your account |
list_shards |
Lists the shards in a stream and provides information about each shard |
list_stream_consumers |
Lists the consumers registered to receive data from a stream using enhanced fan-out, and provides information about each consumer |
list_streams |
Lists your Kinesis data streams |
list_tags_for_resource |
List all tags added to the specified Kinesis resource |
list_tags_for_stream |
Lists the tags for the specified Kinesis data stream |
merge_shards |
Merges two adjacent shards in a Kinesis data stream and combines them into a single shard to reduce the stream's capacity to ingest and transport data |
put_record |
Writes a single data record into an Amazon Kinesis data stream |
put_records |
Writes multiple data records into a Kinesis data stream in a single call (also referred to as a PutRecords request) |
put_resource_policy |
Attaches a resource-based policy to a data stream or registered consumer |
register_stream_consumer |
Registers a consumer with a Kinesis data stream |
remove_tags_from_stream |
Removes tags from the specified Kinesis data stream |
split_shard |
Splits a shard into two new shards in the Kinesis data stream, to increase the stream's capacity to ingest and transport data |
start_stream_encryption |
Enables or updates server-side encryption using an Amazon Web Services KMS key for a specified stream |
stop_stream_encryption |
Disables server-side encryption for a specified stream |
subscribe_to_shard |
This operation establishes an HTTP/2 connection between the consumer you specify in the ConsumerARN parameter and the shard you specify in the ShardId parameter |
tag_resource |
Adds or updates tags for the specified Kinesis resource |
untag_resource |
Removes tags from the specified Kinesis resource |
update_account_settings |
Updates the account-level settings for Amazon Kinesis Data Streams |
update_channel |
Updates the data freshness interval or the Amazon CloudWatch Logs configuration of an existing channel |
update_max_record_size |
This allows you to update the MaxRecordSize of a single record that you can write to, and read from a stream |
update_shard_count |
Updates the shard count of the specified stream to the specified number of shards |
update_stream_mode |
Updates the capacity mode of the data stream |
update_stream_record_distribution_strategy |
Updates the record distribution strategy for the specified Amazon Kinesis Data Streams on-demand data stream |
update_stream_warm_throughput |
Updates the warm throughput configuration for the specified Amazon Kinesis Data Streams on-demand data stream |