Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ Downloads aws kinesis put-records --records '[{"Data": "eyJlbnRpdHkiOiJzZXNzaW9uIiwiYWN0aW9uIjoic3RhcnRlZCJ9", "PartitionKey": "unique_permanent_key_for_installation"}]' --stream-name toadman-analytics-dev --debug
- 2018-12-17 18:08:32,437 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.15.51 Python/2.7.15 Darwin/18.2.0 botocore/1.10.50
- 2018-12-17 18:08:32,438 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['kinesis', 'put-records', '--records', '[{"Data": "eyJlbnRpdHkiOiJzZXNzaW9uIiwiYWN0aW9uIjoic3RhcnRlZCJ9", "PartitionKey": "unique_permanent_key_for_installation"}]', '--stream-name', 'toadman-analytics-dev', '--debug']
- 2018-12-17 18:08:32,438 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x10e59c500>
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x10d017668>
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x10df910c8>
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable credentials_file from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable config_file from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable metadata_service_timeout from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,438 - MainThread - botocore.session - DEBUG - Loading variable metadata_service_num_attempts from defaults.
- 2018-12-17 18:08:32,439 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,439 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x10e1a72a8>
- 2018-12-17 18:08:32,439 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,439 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,439 - MainThread - botocore.session - DEBUG - Loading variable api_versions from defaults.
- 2018-12-17 18:08:32,440 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python2.7/site-packages/botocore/data/kinesis/2013-12-02/service-2.json
- 2018-12-17 18:08:32,448 - MainThread - botocore.hooks - DEBUG - Event service-data-loaded.kinesis: calling handler <function register_retries_for_service at 0x10dac5938>
- 2018-12-17 18:08:32,449 - MainThread - botocore.handlers - DEBUG - Registering retry handlers for service: kinesis
- 2018-12-17 18:08:32,450 - MainThread - botocore.hooks - DEBUG - Event building-command-table.kinesis: calling handler <function add_waiters at 0x10e5a4938>
- 2018-12-17 18:08:32,462 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python2.7/site-packages/botocore/data/kinesis/2013-12-02/waiters-2.json
- 2018-12-17 18:08:32,463 - MainThread - awscli.clidriver - DEBUG - OrderedDict([(u'records', <awscli.arguments.ListArgument object at 0x10e7cc650>), (u'stream-name', <awscli.arguments.CLIArgument object at 0x10e7cc690>)])
- 2018-12-17 18:08:32,464 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.kinesis.put-records: calling handler <function add_streaming_output_arg at 0x10e59cb18>
- 2018-12-17 18:08:32,464 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.kinesis.put-records: calling handler <function add_cli_input_json at 0x10df91cf8>
- 2018-12-17 18:08:32,464 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.kinesis.put-records: calling handler <function unify_paging_params at 0x10e22c050>
- 2018-12-17 18:08:32,477 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python2.7/site-packages/botocore/data/kinesis/2013-12-02/paginators-1.json
- 2018-12-17 18:08:32,478 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.kinesis.put-records: calling handler <function add_generate_skeleton at 0x10e21c410>
- 2018-12-17 18:08:32,478 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.kinesis.put-records: calling handler <bound method CliInputJSONArgument.override_required_args of <awscli.customizations.cliinputjson.CliInputJSONArgument object at 0x10e7cc590>>
- 2018-12-17 18:08:32,478 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.kinesis.put-records: calling handler <bound method GenerateCliSkeletonArgument.override_required_args of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x10e7cc790>>
- 2018-12-17 18:08:32,479 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.kinesis.put-records.records: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10e6c8e10>
- 2018-12-17 18:08:32,487 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.kinesis.put-records: calling handler <awscli.argprocess.ParamShorthandParser object at 0x10df6d110>
- 2018-12-17 18:08:32,487 - MainThread - awscli.argprocess - DEBUG - Param records looks like JSON, not considered for param shorthand.
- 2018-12-17 18:08:32,488 - MainThread - awscli.arguments - DEBUG - Unpacked value of [u'[{"Data": "eyJlbnRpdHkiOiJzZXNzaW9uIiwiYWN0aW9uIjoic3RhcnRlZCJ9", "PartitionKey": "unique_permanent_key_for_installation"}]'] for parameter"records": [OrderedDict([(u'Data', u'eyJlbnRpdHkiOiJzZXNzaW9uIiwiYWN0aW9uIjoic3RhcnRlZCJ9'), (u'PartitionKey', u'unique_permanent_key_for_installation')])]
- 2018-12-17 18:08:32,488 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.kinesis.put-records.stream-name: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10e6c8e10>
- 2018-12-17 18:08:32,489 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.kinesis.put-records: calling handler <awscli.argprocess.ParamShorthandParser object at 0x10df6d110>
- 2018-12-17 18:08:32,489 - MainThread - awscli.arguments - DEBUG - Unpacked value of u'toadman-analytics-dev' for parameter "stream_name": u'toadman-analytics-dev'
- 2018-12-17 18:08:32,489 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.kinesis.put-records.cli-input-json: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10e6c8e10>
- 2018-12-17 18:08:32,490 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.kinesis.put-records.generate-cli-skeleton: calling handler <awscli.paramfile.URIArgumentHandler object at 0x10e6c8e10>
- 2018-12-17 18:08:32,490 - MainThread - botocore.hooks - DEBUG - Event calling-command.kinesis.put-records: calling handler <bound method CliInputJSONArgument.add_to_call_parameters of <awscli.customizations.cliinputjson.CliInputJSONArgument object at 0x10e7cc590>>
- 2018-12-17 18:08:32,490 - MainThread - botocore.hooks - DEBUG - Event calling-command.kinesis.put-records: calling handler <bound method GenerateCliSkeletonArgument.generate_json_skeleton of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x10e7cc790>>
- 2018-12-17 18:08:32,492 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,492 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,492 - MainThread - botocore.session - DEBUG - Loading variable region from config file with value 'eu-west-1'.
- 2018-12-17 18:08:32,492 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,492 - MainThread - botocore.session - DEBUG - Loading variable ca_bundle from defaults.
- 2018-12-17 18:08:32,493 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,493 - MainThread - botocore.session - DEBUG - Loading variable api_versions from defaults.
- 2018-12-17 18:08:32,493 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: env
- 2018-12-17 18:08:32,493 - MainThread - botocore.credentials - INFO - Found credentials in environment variables.
- 2018-12-17 18:08:32,494 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /usr/local/lib/python2.7/site-packages/botocore/data/endpoints.json
- 2018-12-17 18:08:32,518 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,518 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x10dac5140>
- 2018-12-17 18:08:32,520 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.kinesis: calling handler <function add_generate_presigned_url at 0x10da7f758>
- 2018-12-17 18:08:32,521 - MainThread - botocore.args - DEBUG - The s3 config key is not a dictionary type, ignoring its value of: None
- 2018-12-17 18:08:32,532 - MainThread - botocore.endpoint - DEBUG - Setting kinesis timeout as (60, 60)
- 2018-12-17 18:08:32,533 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: kinesis
- 2018-12-17 18:08:32,534 - MainThread - botocore.hooks - DEBUG - Event before-parameter-build.kinesis.PutRecords: calling handler <function generate_idempotent_uuid at 0x10dac5398>
- 2018-12-17 18:08:32,534 - MainThread - botocore.endpoint - DEBUG - Making request for OperationModel(name=PutRecords) (verify_ssl=True) with params: {'body': '{"Records": [{"PartitionKey": "unique_permanent_key_for_installation", "Data": "ZXlKbGJuUnBkSGtpT2lKelpYTnphVzl1SWl3aVlXTjBhVzl1SWpvaWMzUmhjblJsWkNKOQ=="}], "StreamName": "toadman-analytics-dev"}', 'url': u'https://kinesis.eu-west-1.amazonaws.com/', 'headers': {'User-Agent': 'aws-cli/1.15.51 Python/2.7.15 Darwin/18.2.0 botocore/1.10.50', 'Content-Type': u'application/x-amz-json-1.1', 'X-Amz-Target': u'Kinesis_20131202.PutRecords'}, 'context': {'auth_type': None, 'client_region': 'eu-west-1', 'has_streaming_input': False, 'client_config': <botocore.config.Config object at 0x10ea01b50>}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
- 2018-12-17 18:08:32,535 - MainThread - botocore.hooks - DEBUG - Event request-created.kinesis.PutRecords: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x10ea01b10>>
- 2018-12-17 18:08:32,551 - MainThread - botocore.hooks - DEBUG - Event choose-signer.kinesis.PutRecords: calling handler <function set_operation_specific_signer at 0x10dac52a8>
- 2018-12-17 18:08:32,553 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
- 2018-12-17 18:08:32,553 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
- POST
- /
- content-type:application/x-amz-json-1.1
- host:kinesis.eu-west-1.amazonaws.com
- x-amz-date:20181217T150832Z
- x-amz-target:Kinesis_20131202.PutRecords
- content-type;host;x-amz-date;x-amz-target
- 5ab065fc5bbfce9afcf357ca2976c616165e3dff355954c98a1057fcdc91d59d
- 2018-12-17 18:08:32,553 - MainThread - botocore.auth - DEBUG - StringToSign:
- AWS4-HMAC-SHA256
- 20181217T150832Z
- 20181217/eu-west-1/kinesis/aws4_request
- 34f1ca331e2c840c5fc4e5ccffdc9140789eb42e5aeda6055acd4090890a9039
- 2018-12-17 18:08:32,554 - MainThread - botocore.auth - DEBUG - Signature:
- 1853382b3bb9c3db40bb8b8b2432c6a26a7d30d34bea32bef476a61078bb3222
- 2018-12-17 18:08:32,561 - MainThread - botocore.endpoint - DEBUG - Sending http request: <PreparedRequest [POST]>
- 2018-12-17 18:08:32,562 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): kinesis.eu-west-1.amazonaws.com
- 2018-12-17 18:08:32,851 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - DEBUG - "POST / HTTP/1.1" 200 146
- 2018-12-17 18:08:32,853 - MainThread - botocore.parsers - DEBUG - Response headers: {'x-amzn-requestid': 'fb655ea8-670f-dcc9-aff4-e09a5da5a901', 'x-amz-id-2': 'wfYG7SjbWykevqN2hVtw7vW3yXjYFCO9/0VQXiFOFrkgaEk/kC1j1DeOTJueXbzAHdA/SYtZ+FpFtAdSFDj/JEOWMU5gXe7a', 'content-length': '146', 'date': 'Mon, 17 Dec 2018 15:08:34 GMT', 'content-type': 'application/x-amz-json-1.1'}
- 2018-12-17 18:08:32,853 - MainThread - botocore.parsers - DEBUG - Response body:
- {"FailedRecordCount":0,"Records":[{"SequenceNumber":"49590653834750873655568444985511289037759108481955135490","ShardId":"shardId-000000000000"}]}
- 2018-12-17 18:08:32,853 - MainThread - botocore.hooks - DEBUG - Event needs-retry.kinesis.PutRecords: calling handler <botocore.retryhandler.RetryHandler object at 0x10e6c8290>
- 2018-12-17 18:08:32,854 - MainThread - botocore.retryhandler - DEBUG - No retry needed.
- 2018-12-17 18:08:32,854 - MainThread - botocore.session - DEBUG - Loading variable profile from defaults.
- 2018-12-17 18:08:32,854 - MainThread - botocore.session - DEBUG - Loading variable output from defaults.
- 2018-12-17 18:08:32,854 - MainThread - awscli.formatter - DEBUG - RequestId: fb655ea8-670f-dcc9-aff4-e09a5da5a901
- {
- "FailedRecordCount": 0,
- "Records": [
- {
- "ShardId": "shardId-000000000000",
- "SequenceNumber": "49590653834750873655568444985511289037759108481955135490"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement