aws-sdk-core 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.simplecov +6 -0
- data/.travis.yml +12 -0
- data/.yardopts +11 -0
- data/Gemfile +26 -0
- data/LICENSE.txt +12 -0
- data/README.md +169 -0
- data/Rakefile +15 -0
- data/apis/AutoScaling-2011-01-01.json +1852 -0
- data/apis/CloudFormation-2010-05-15.json +981 -0
- data/apis/CloudFront-2012-05-05.json +3861 -0
- data/apis/CloudFront-2013-05-12.json +4593 -0
- data/apis/CloudFront-2013-08-26.json +4849 -0
- data/apis/CloudSearch-2011-02-01.json +2080 -0
- data/apis/CloudWatch-2010-08-01.json +1206 -0
- data/apis/DataPipeline-2012-10-29.json +901 -0
- data/apis/DirectConnect-2012-10-25.json +825 -0
- data/apis/DynamoDB-2011-12-05.json +2857 -0
- data/apis/DynamoDB-2012-08-10.json +3127 -0
- data/apis/EC2-2013-06-15.json +13600 -0
- data/apis/EC2-2013-10-01.json +14574 -0
- data/apis/EMR-2009-03-31.json +957 -0
- data/apis/ElastiCache-2012-11-15.json +2921 -0
- data/apis/ElastiCache-2013-06-15.json +3586 -0
- data/apis/ElasticBeanstalk-2010-12-01.json +2225 -0
- data/apis/ElasticLoadBalancing-2012-06-01.json +1215 -0
- data/apis/ElasticTranscoder-2012-09-25.json +3692 -0
- data/apis/Glacier-2012-06-01.json +1058 -0
- data/apis/IAM-2010-05-08.json +2863 -0
- data/apis/ImportExport-2010-06-01.json +328 -0
- data/apis/OpsWorks-2013-02-18.json +3546 -0
- data/apis/RDS-2013-01-10.json +6772 -0
- data/apis/RDS-2013-02-12.json +7151 -0
- data/apis/RDS-2013-05-15.json +7809 -0
- data/apis/Redshift-2012-12-01.json +4180 -0
- data/apis/Route53-2012-12-12.json +1018 -0
- data/apis/S3-2006-03-01.json +3787 -0
- data/apis/SDB-2009-04-15.json +539 -0
- data/apis/SES-2010-12-01.json +678 -0
- data/apis/SNS-2010-03-31.json +870 -0
- data/apis/SQS-2012-11-05.json +798 -0
- data/apis/STS-2011-06-15.json +352 -0
- data/apis/SWF-2012-01-25.json +5451 -0
- data/apis/StorageGateway-2012-06-30.json +1696 -0
- data/apis/Support-2013-04-15.json +794 -0
- data/apis/configuration/endpoints.json +1337 -0
- data/apis/source/autoscaling-2011-01-01.json +3215 -0
- data/apis/source/autoscaling-2011-01-01.paginators.json +52 -0
- data/apis/source/cloudformation-2010-05-15.json +1260 -0
- data/apis/source/cloudformation-2010-05-15.paginators.json +24 -0
- data/apis/source/cloudfront-2012-05-05.json +6588 -0
- data/apis/source/cloudfront-2012-05-05.paginators.json +28 -0
- data/apis/source/cloudfront-2013-05-12.json +7614 -0
- data/apis/source/cloudfront-2013-05-12.paginators.json +28 -0
- data/apis/source/cloudfront-2013-08-26.json +8016 -0
- data/apis/source/cloudfront-2013-08-26.paginators.json +28 -0
- data/apis/source/cloudsearch-2011-02-01.json +3585 -0
- data/apis/source/cloudsearch-2011-02-01.paginators.json +13 -0
- data/apis/source/datapipeline-2012-10-29.json +2144 -0
- data/apis/source/datapipeline-2012-10-29.paginators.json +25 -0
- data/apis/source/directconnect-2012-10-25.json +1271 -0
- data/apis/source/directconnect-2012-10-25.paginators.json +16 -0
- data/apis/source/dynamodb-2011-12-05.json +4380 -0
- data/apis/source/dynamodb-2011-12-05.paginators.json +24 -0
- data/apis/source/dynamodb-2012-08-10.json +4839 -0
- data/apis/source/dynamodb-2012-08-10.paginators.json +24 -0
- data/apis/source/ec2-2013-02-01.json +18820 -0
- data/apis/source/ec2-2013-02-01.paginators.json +115 -0
- data/apis/source/ec2-2013-06-15.json +18820 -0
- data/apis/source/ec2-2013-06-15.paginators.json +115 -0
- data/apis/source/ec2-2013-10-01.json +19885 -0
- data/apis/source/ec2-2013-10-01.paginators.json +115 -0
- data/apis/source/elasticache-2012-11-15.json +4403 -0
- data/apis/source/elasticache-2012-11-15.paginators.json +64 -0
- data/apis/source/elasticache-2013-06-15.json +5421 -0
- data/apis/source/elasticache-2013-06-15.paginators.json +64 -0
- data/apis/source/elasticbeanstalk-2010-12-01.json +3151 -0
- data/apis/source/elasticbeanstalk-2010-12-01.paginators.json +25 -0
- data/apis/source/elasticloadbalancing-2012-06-01.json +2041 -0
- data/apis/source/elasticloadbalancing-2012-06-01.paginators.json +18 -0
- data/apis/source/elasticmapreduce-2009-03-31.json +1478 -0
- data/apis/source/elasticmapreduce-2009-03-31.paginators.json +7 -0
- data/apis/source/elastictranscoder-2012-09-25.json +6148 -0
- data/apis/source/elastictranscoder-2012-09-25.paginators.json +20 -0
- data/apis/source/email-2010-12-01.json +892 -0
- data/apis/source/email-2010-12-01.paginators.json +13 -0
- data/apis/source/glacier-2012-06-01.json +3147 -0
- data/apis/source/glacier-2012-06-01.paginators.json +28 -0
- data/apis/source/iam-2010-05-08.json +5857 -0
- data/apis/source/iam-2010-05-08.paginators.json +116 -0
- data/apis/source/importexport-2010-06-01.json +876 -0
- data/apis/source/importexport-2010-06-01.paginators.json +10 -0
- data/apis/source/monitoring-2010-08-01.json +1910 -0
- data/apis/source/monitoring-2010-08-01.paginators.json +24 -0
- data/apis/source/opsworks-2013-02-18.json +5848 -0
- data/apis/source/opsworks-2013-02-18.paginators.json +46 -0
- data/apis/source/rds-2013-01-10.json +9283 -0
- data/apis/source/rds-2013-01-10.paginators.json +105 -0
- data/apis/source/rds-2013-02-12.json +9777 -0
- data/apis/source/rds-2013-02-12.paginators.json +105 -0
- data/apis/source/rds-2013-05-15.json +10618 -0
- data/apis/source/rds-2013-05-15.paginators.json +105 -0
- data/apis/source/redshift-2012-12-01.json +5742 -0
- data/apis/source/redshift-2012-12-01.paginators.json +74 -0
- data/apis/source/route53-2012-12-12.json +2067 -0
- data/apis/source/route53-2012-12-12.paginators.json +33 -0
- data/apis/source/s3-2006-03-01.json +4261 -0
- data/apis/source/s3-2006-03-01.paginators.json +46 -0
- data/apis/source/sdb-2009-04-15.json +1145 -0
- data/apis/source/sdb-2009-04-15.paginators.json +15 -0
- data/apis/source/sns-2010-03-31.json +2234 -0
- data/apis/source/sns-2010-03-31.paginators.json +19 -0
- data/apis/source/sqs-2012-11-05.json +1162 -0
- data/apis/source/sqs-2012-11-05.paginators.json +7 -0
- data/apis/source/storagegateway-2012-06-30.json +9487 -0
- data/apis/source/storagegateway-2012-06-30.paginators.json +28 -0
- data/apis/source/sts-2011-06-15.json +627 -0
- data/apis/source/support-2013-04-15.json +1261 -0
- data/apis/source/support-2013-04-15.paginators.json +31 -0
- data/apis/source/swf-2012-01-25.json +8744 -0
- data/apis/source/swf-2012-01-25.paginators.json +46 -0
- data/aws-sdk-core.gemspec +21 -0
- data/bin/aws.rb +156 -0
- data/doc-src/images/lastnode.png +0 -0
- data/doc-src/images/node.png +0 -0
- data/doc-src/images/vline.png +0 -0
- data/doc-src/plugins/apis.rb +205 -0
- data/doc-src/templates/default/fulldoc/html/css/common.css +90 -0
- data/doc-src/templates/default/fulldoc/html/js/tabs.js +21 -0
- data/doc-src/templates/default/fulldoc/html/setup.rb +61 -0
- data/doc-src/templates/default/layout/html/footer.erb +29 -0
- data/doc-src/templates/default/layout/html/setup.rb +3 -0
- data/features/autoscaling/client.feature +22 -0
- data/features/autoscaling/setup.rb +6 -0
- data/features/cloudformation/client.feature +18 -0
- data/features/cloudformation/setup.rb +6 -0
- data/features/cloudfront/client.feature +21 -0
- data/features/cloudfront/setup.rb +6 -0
- data/features/cloudsearch/client.feature +18 -0
- data/features/cloudsearch/setup.rb +6 -0
- data/features/cloudwatch/client.feature +21 -0
- data/features/cloudwatch/setup.rb +6 -0
- data/features/common/step_definitions.rb +65 -0
- data/features/datapipeline/client.feature +18 -0
- data/features/datapipeline/setup.rb +6 -0
- data/features/directconnect/client.feature +18 -0
- data/features/directconnect/setup.rb +6 -0
- data/features/dynamodb/client.feature +21 -0
- data/features/dynamodb/setup.rb +8 -0
- data/features/dynamodb/simplified.feature +32 -0
- data/features/dynamodb/step_definitions.rb +3 -0
- data/features/ec2/client.feature +21 -0
- data/features/ec2/setup.rb +6 -0
- data/features/ec2/step_definitions.rb +19 -0
- data/features/elasticache/client.feature +18 -0
- data/features/elasticache/setup.rb +6 -0
- data/features/elasticbeanstalk/client.feature +18 -0
- data/features/elasticbeanstalk/setup.rb +6 -0
- data/features/elasticloadbalancing/client.feature +18 -0
- data/features/elasticloadbalancing/setup.rb +6 -0
- data/features/elastictranscoder/client.feature +18 -0
- data/features/elastictranscoder/setup.rb +6 -0
- data/features/emr/client.feature +18 -0
- data/features/emr/setup.rb +6 -0
- data/features/env.rb +23 -0
- data/features/glacier/client.feature +28 -0
- data/features/glacier/setup.rb +16 -0
- data/features/glacier/step_definitions.rb +25 -0
- data/features/iam/client.feature +18 -0
- data/features/iam/setup.rb +6 -0
- data/features/importexport/client.feature +18 -0
- data/features/importexport/setup.rb +6 -0
- data/features/opsworks/client.feature +18 -0
- data/features/opsworks/setup.rb +6 -0
- data/features/rds/client.feature +18 -0
- data/features/rds/setup.rb +6 -0
- data/features/redshift/client.feature +18 -0
- data/features/redshift/setup.rb +6 -0
- data/features/route53/client.feature +18 -0
- data/features/route53/setup.rb +6 -0
- data/features/s3/buckets.feature +22 -0
- data/features/s3/objects.feature +18 -0
- data/features/s3/setup.rb +17 -0
- data/features/s3/step_definitions.rb +66 -0
- data/features/s3/test.png +0 -0
- data/features/sdb/client.feature +18 -0
- data/features/sdb/setup.rb +6 -0
- data/features/ses/client.feature +18 -0
- data/features/ses/setup.rb +6 -0
- data/features/sns/client.feature +18 -0
- data/features/sns/setup.rb +6 -0
- data/features/sqs/client.feature +23 -0
- data/features/sqs/setup.rb +10 -0
- data/features/sqs/step_definitions.rb +18 -0
- data/features/storagegateway/client.feature +18 -0
- data/features/storagegateway/setup.rb +6 -0
- data/features/sts/client.feature +18 -0
- data/features/sts/setup.rb +6 -0
- data/features/swf/client.feature +21 -0
- data/features/swf/setup.rb +6 -0
- data/integration-test-config.json.sample +3 -0
- data/lib/aws-sdk-core.rb +11 -0
- data/lib/aws.rb +175 -0
- data/lib/aws/api/base_translator.rb +72 -0
- data/lib/aws/api/doc_example.rb +116 -0
- data/lib/aws/api/documentor.rb +140 -0
- data/lib/aws/api/operation_translator.rb +77 -0
- data/lib/aws/api/service_namer.rb +40 -0
- data/lib/aws/api/service_translators/cloud_front.rb +19 -0
- data/lib/aws/api/service_translators/dynamo_db.rb +7 -0
- data/lib/aws/api/service_translators/glacier.rb +37 -0
- data/lib/aws/api/service_translators/import_export.rb +15 -0
- data/lib/aws/api/service_translators/route53.rb +23 -0
- data/lib/aws/api/service_translators/s3.rb +11 -0
- data/lib/aws/api/service_translators/sqs.rb +10 -0
- data/lib/aws/api/service_translators/swf.rb +7 -0
- data/lib/aws/api/shape_translator.rb +96 -0
- data/lib/aws/api/translator.rb +150 -0
- data/lib/aws/api/visitor.rb +32 -0
- data/lib/aws/credentials.rb +35 -0
- data/lib/aws/error_handler.rb +48 -0
- data/lib/aws/errors.rb +83 -0
- data/lib/aws/json/builder.rb +77 -0
- data/lib/aws/json/error_parser.rb +20 -0
- data/lib/aws/json/parser.rb +67 -0
- data/lib/aws/json/serializer.rb +15 -0
- data/lib/aws/plugins/credentials.rb +48 -0
- data/lib/aws/plugins/dynamodb_extended_retries.rb +22 -0
- data/lib/aws/plugins/glacier_api_version.rb +19 -0
- data/lib/aws/plugins/glacier_checksums.rb +100 -0
- data/lib/aws/plugins/global_configuration.rb +79 -0
- data/lib/aws/plugins/json_protocol.rb +30 -0
- data/lib/aws/plugins/json_rpc_headers.rb +34 -0
- data/lib/aws/plugins/query_protocol.rb +11 -0
- data/lib/aws/plugins/regional_endpoint.rb +37 -0
- data/lib/aws/plugins/retry_errors.rb +149 -0
- data/lib/aws/plugins/s3_bucket_dns.rb +78 -0
- data/lib/aws/plugins/s3_complete_multipart_upload_fix.rb +38 -0
- data/lib/aws/plugins/s3_get_bucket_location_fix.rb +21 -0
- data/lib/aws/plugins/s3_md5s.rb +61 -0
- data/lib/aws/plugins/s3_redirects.rb +38 -0
- data/lib/aws/plugins/s3_regional_endpoint.rb +19 -0
- data/lib/aws/plugins/s3_signer.rb +9 -0
- data/lib/aws/plugins/signature_v2.rb +9 -0
- data/lib/aws/plugins/signature_v3.rb +9 -0
- data/lib/aws/plugins/signature_v4.rb +29 -0
- data/lib/aws/plugins/sqs_queue_urls.rb +33 -0
- data/lib/aws/plugins/swf_read_timeouts.rb +23 -0
- data/lib/aws/plugins/user_agent.rb +32 -0
- data/lib/aws/plugins/xml_protocol.rb +11 -0
- data/lib/aws/query/builder.rb +102 -0
- data/lib/aws/query/param.rb +43 -0
- data/lib/aws/query/param_list.rb +91 -0
- data/lib/aws/query/serializer.rb +24 -0
- data/lib/aws/request_handler.rb +39 -0
- data/lib/aws/response_handler.rb +38 -0
- data/lib/aws/service.rb +237 -0
- data/lib/aws/signers/base.rb +29 -0
- data/lib/aws/signers/handler.rb +18 -0
- data/lib/aws/signers/s3.rb +162 -0
- data/lib/aws/signers/v2.rb +48 -0
- data/lib/aws/signers/v3.rb +34 -0
- data/lib/aws/signers/v4.rb +142 -0
- data/lib/aws/structure.rb +38 -0
- data/lib/aws/timestamp_formatter.rb +16 -0
- data/lib/aws/util.rb +38 -0
- data/lib/aws/version.rb +3 -0
- data/lib/aws/xml/builder.rb +134 -0
- data/lib/aws/xml/error_parser.rb +24 -0
- data/lib/aws/xml/parser.rb +147 -0
- data/lib/aws/xml/serializer.rb +16 -0
- data/spec/aws/credentials_spec.rb +39 -0
- data/spec/aws/iam_spec.rb +17 -0
- data/spec/aws/json/builder_spec.rb +183 -0
- data/spec/aws/json/parser_spec.rb +238 -0
- data/spec/aws/operations_spec.rb +145 -0
- data/spec/aws/plugins/credentials_spec.rb +76 -0
- data/spec/aws/plugins/global_configuration_spec.rb +56 -0
- data/spec/aws/plugins/region_endpoint_spec.rb +77 -0
- data/spec/aws/plugins/retry_errors_spec.rb +253 -0
- data/spec/aws/query/builder_spec.rb +361 -0
- data/spec/aws/query/param_list_spec.rb +80 -0
- data/spec/aws/query/param_spec.rb +59 -0
- data/spec/aws/service_spec.rb +247 -0
- data/spec/aws/signers/v4_spec.rb +141 -0
- data/spec/aws/structure_spec.rb +103 -0
- data/spec/aws/xml/builder_spec.rb +404 -0
- data/spec/aws/xml/parser_spec.rb +716 -0
- data/spec/aws_spec.rb +89 -0
- data/spec/fixtures/api/swf.json +100 -0
- data/spec/fixtures/operations/cloudfront/list_distributions.yml +195 -0
- data/spec/fixtures/operations/cloudfront/max_items.yml +12 -0
- data/spec/fixtures/operations/dynamodb/error_parsing.yml +13 -0
- data/spec/fixtures/operations/glacier/error_parsing.yml +10 -0
- data/spec/fixtures/operations/glacier/list_vaults.yml +24 -0
- data/spec/fixtures/operations/iam/result_wrapped_elements.yml +31 -0
- data/spec/fixtures/operations/s3/304_response.yml +12 -0
- data/spec/fixtures/operations/s3/400_response.yml +12 -0
- data/spec/fixtures/operations/s3/403_response.yml +12 -0
- data/spec/fixtures/operations/s3/404_response.yml +12 -0
- data/spec/fixtures/operations/s3/comlete_multipart_upload_error.yml +18 -0
- data/spec/fixtures/operations/s3/create_bucket_with_location_constraint.yml +25 -0
- data/spec/fixtures/operations/s3/create_bucket_without_location_constraint.yml +9 -0
- data/spec/fixtures/operations/s3/delete_objects.yml +54 -0
- data/spec/fixtures/operations/s3/error_parsing.yml +17 -0
- data/spec/fixtures/operations/s3/get_bucket_location.yml +17 -0
- data/spec/fixtures/operations/s3/get_bucket_location_classic.yml +17 -0
- data/spec/fixtures/operations/s3/head_bucket_with_dns_incompatible_name.yml +12 -0
- data/spec/fixtures/operations/s3/head_object.yml +50 -0
- data/spec/fixtures/operations/s3/list_buckets.yml +41 -0
- data/spec/fixtures/operations/s3/md5_checksum_disabled.yml +10 -0
- data/spec/fixtures/operations/s3/md5_checksum_enabled.yml +8 -0
- data/spec/fixtures/operations/swf/list_domains.yml +20 -0
- data/spec/spec_helper.rb +55 -0
- data/tasks/apis.rake +51 -0
- data/tasks/docs.rake +59 -0
- data/tasks/test.rake +39 -0
- data/vendor/seahorse/.gitignore +5 -0
- data/vendor/seahorse/.simplecov +4 -0
- data/vendor/seahorse/.yardopts +10 -0
- data/vendor/seahorse/Gemfile +20 -0
- data/vendor/seahorse/LICENSE.txt +12 -0
- data/vendor/seahorse/README.md +129 -0
- data/vendor/seahorse/Rakefile +7 -0
- data/vendor/seahorse/ca-bundle.crt +3554 -0
- data/vendor/seahorse/lib/seahorse.rb +6 -0
- data/vendor/seahorse/lib/seahorse/client.rb +61 -0
- data/vendor/seahorse/lib/seahorse/client/base.rb +239 -0
- data/vendor/seahorse/lib/seahorse/client/block_io.rb +39 -0
- data/vendor/seahorse/lib/seahorse/client/configuration.rb +197 -0
- data/vendor/seahorse/lib/seahorse/client/handler.rb +26 -0
- data/vendor/seahorse/lib/seahorse/client/handler_builder.rb +49 -0
- data/vendor/seahorse/lib/seahorse/client/handler_list.rb +250 -0
- data/vendor/seahorse/lib/seahorse/client/http/endpoint.rb +95 -0
- data/vendor/seahorse/lib/seahorse/client/http/headers.rb +94 -0
- data/vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb +11 -0
- data/vendor/seahorse/lib/seahorse/client/http/request.rb +78 -0
- data/vendor/seahorse/lib/seahorse/client/http/response.rb +45 -0
- data/vendor/seahorse/lib/seahorse/client/logging/formatter.rb +319 -0
- data/vendor/seahorse/lib/seahorse/client/logging/handler.rb +35 -0
- data/vendor/seahorse/lib/seahorse/client/net_http/connection_pool.rb +339 -0
- data/vendor/seahorse/lib/seahorse/client/net_http/handler.rb +109 -0
- data/vendor/seahorse/lib/seahorse/client/param_converter.rb +202 -0
- data/vendor/seahorse/lib/seahorse/client/param_validator.rb +139 -0
- data/vendor/seahorse/lib/seahorse/client/plugin.rb +80 -0
- data/vendor/seahorse/lib/seahorse/client/plugin_list.rb +142 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/api.rb +11 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/content_length.rb +22 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/endpoint.rb +36 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/json_simple.rb +34 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/logging.rb +37 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/net_http.rb +26 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/operation_methods.rb +48 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/param_conversion.rb +29 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/param_validation.rb +30 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/raise_response_errors.rb +29 -0
- data/vendor/seahorse/lib/seahorse/client/plugins/restful_bindings.rb +205 -0
- data/vendor/seahorse/lib/seahorse/client/request.rb +62 -0
- data/vendor/seahorse/lib/seahorse/client/request_context.rb +68 -0
- data/vendor/seahorse/lib/seahorse/client/response.rb +106 -0
- data/vendor/seahorse/lib/seahorse/client/xml/builder.rb +92 -0
- data/vendor/seahorse/lib/seahorse/model.rb +38 -0
- data/vendor/seahorse/lib/seahorse/model/api.rb +39 -0
- data/vendor/seahorse/lib/seahorse/model/node.rb +102 -0
- data/vendor/seahorse/lib/seahorse/model/operation.rb +32 -0
- data/vendor/seahorse/lib/seahorse/model/operation_input.rb +30 -0
- data/vendor/seahorse/lib/seahorse/model/operations.rb +59 -0
- data/vendor/seahorse/lib/seahorse/model/property.rb +141 -0
- data/vendor/seahorse/lib/seahorse/model/shapes/shape.rb +229 -0
- data/vendor/seahorse/lib/seahorse/model/types.rb +8 -0
- data/vendor/seahorse/lib/seahorse/version.rb +3 -0
- data/vendor/seahorse/seahorse.gemspec +20 -0
- data/vendor/seahorse/spec/fixtures/plugin.rb +4 -0
- data/vendor/seahorse/spec/seahorse/client/base_spec.rb +308 -0
- data/vendor/seahorse/spec/seahorse/client/configuration_spec.rb +118 -0
- data/vendor/seahorse/spec/seahorse/client/handler_builder_spec.rb +159 -0
- data/vendor/seahorse/spec/seahorse/client/handler_list_spec.rb +243 -0
- data/vendor/seahorse/spec/seahorse/client/handler_spec.rb +40 -0
- data/vendor/seahorse/spec/seahorse/client/http/endpoint_spec.rb +168 -0
- data/vendor/seahorse/spec/seahorse/client/http/headers_spec.rb +213 -0
- data/vendor/seahorse/spec/seahorse/client/http/plain_string_io_spec.rb +23 -0
- data/vendor/seahorse/spec/seahorse/client/http/request_spec.rb +142 -0
- data/vendor/seahorse/spec/seahorse/client/http/response_spec.rb +77 -0
- data/vendor/seahorse/spec/seahorse/client/logging/formatter_spec.rb +197 -0
- data/vendor/seahorse/spec/seahorse/client/logging/handler_spec.rb +63 -0
- data/vendor/seahorse/spec/seahorse/client/net_http/connection_pool_spec.rb +10 -0
- data/vendor/seahorse/spec/seahorse/client/net_http/handler_spec.rb +232 -0
- data/vendor/seahorse/spec/seahorse/client/param_converter_spec.rb +318 -0
- data/vendor/seahorse/spec/seahorse/client/param_validator_spec.rb +271 -0
- data/vendor/seahorse/spec/seahorse/client/plugin_list_spec.rb +166 -0
- data/vendor/seahorse/spec/seahorse/client/plugin_spec.rb +118 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/content_length_spec.rb +19 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/endpoint_spec.rb +43 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/logging_spec.rb +46 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/net_http_spec.rb +71 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/operation_methods_spec.rb +74 -0
- data/vendor/seahorse/spec/seahorse/client/plugins/restful_bindings/uri_path_builder_spec.rb +91 -0
- data/vendor/seahorse/spec/seahorse/client/request_context_spec.rb +105 -0
- data/vendor/seahorse/spec/seahorse/client/request_spec.rb +102 -0
- data/vendor/seahorse/spec/seahorse/client/response_spec.rb +171 -0
- data/vendor/seahorse/spec/seahorse/client/xml/builder/xml_doc_spec.rb +142 -0
- data/vendor/seahorse/spec/seahorse/client/xml/builder_spec.rb +10 -0
- data/vendor/seahorse/spec/seahorse/client_spec.rb +13 -0
- data/vendor/seahorse/spec/seahorse/model/api_spec.rb +72 -0
- data/vendor/seahorse/spec/seahorse/model/node_spec.rb +114 -0
- data/vendor/seahorse/spec/seahorse/model/operation_input_spec.rb +53 -0
- data/vendor/seahorse/spec/seahorse/model/operation_spec.rb +48 -0
- data/vendor/seahorse/spec/seahorse/model/operations_spec.rb +64 -0
- data/vendor/seahorse/spec/seahorse/model/property_spec.rb +136 -0
- data/vendor/seahorse/spec/seahorse/model/shapes/shape_spec.rb +105 -0
- data/vendor/seahorse/spec/seahorse/version_spec.rb +11 -0
- data/vendor/seahorse/spec/spec_helper.rb +34 -0
- data/vendor/seahorse/tasks/ca_bundle.rake +23 -0
- data/vendor/seahorse/tasks/docs.rake +11 -0
- data/vendor/seahorse/tasks/test.rake +26 -0
- metadata +614 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"ListDomains": {
|
4
|
+
"input_token": "NextToken",
|
5
|
+
"output_token": "NextToken",
|
6
|
+
"limit_key": "MaxNumberOfDomains",
|
7
|
+
"result_key": "DomainNames"
|
8
|
+
},
|
9
|
+
"Select": {
|
10
|
+
"input_token": "NextToken",
|
11
|
+
"output_token": "NextToken",
|
12
|
+
"result_key": "Items"
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,2234 @@
|
|
1
|
+
{
|
2
|
+
"api_version": "2010-03-31",
|
3
|
+
"type": "query",
|
4
|
+
"result_wrapped": true,
|
5
|
+
"signature_version": "v4",
|
6
|
+
"service_full_name": "Amazon Simple Notification Service",
|
7
|
+
"service_abbreviation": "Amazon SNS",
|
8
|
+
"endpoint_prefix": "sns",
|
9
|
+
"xmlnamespace": "http://sns.amazonaws.com/doc/2010-03-31/",
|
10
|
+
"documentation": "\n <fullname>Amazon Simple Notification Service</fullname>\n \n\t<p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. \n \tApplications can use Amazon SNS to easily push real-time notification messages \n \tto interested subscribers over multiple delivery protocols. For more information about this product\n\t\tsee <a href=\"http://aws.amazon.com/sns/\">http://aws.amazon.com/sns</a>. For detailed information about Amazon SNS features and their associated API calls,\n\t\tsee the <a href=\"http://docs.aws.amazon.com/sns/latest/dg/\">Amazon SNS Developer Guide</a>.\n\t</p>\n <p>We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. \n The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, \n retrying requests, and handling error responses. For a list of available SDKs, go to <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>. \n </p> \n\n ",
|
11
|
+
"operations": {
|
12
|
+
"AddPermission": {
|
13
|
+
"name": "AddPermission",
|
14
|
+
"input": {
|
15
|
+
"shape_name": "AddPermissionInput",
|
16
|
+
"type": "structure",
|
17
|
+
"members": {
|
18
|
+
"TopicArn": {
|
19
|
+
"shape_name": "topicARN",
|
20
|
+
"type": "string",
|
21
|
+
"documentation": "\n <p>The ARN of the topic whose access control policy you wish to modify.</p>\n ",
|
22
|
+
"required": true
|
23
|
+
},
|
24
|
+
"Label": {
|
25
|
+
"shape_name": "label",
|
26
|
+
"type": "string",
|
27
|
+
"documentation": "\n <p>A unique identifier for the new policy statement.</p>\n ",
|
28
|
+
"required": true
|
29
|
+
},
|
30
|
+
"AWSAccountId": {
|
31
|
+
"shape_name": "DelegatesList",
|
32
|
+
"type": "list",
|
33
|
+
"members": {
|
34
|
+
"shape_name": "delegate",
|
35
|
+
"type": "string",
|
36
|
+
"documentation": null
|
37
|
+
},
|
38
|
+
"documentation": "\n <p>The AWS account IDs of the users (principals) who will be given access to the specified\n actions. The users must have AWS accounts, but do not need to be signed up \n for this service. <!--For information about locating the AWS\n account identification, see <a href=\"http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/index.html?AWSCredentials.html\">Your\n AWS Identifiers</aulink> in the &service; Developer Guide.--></p>\n ",
|
39
|
+
"required": true
|
40
|
+
},
|
41
|
+
"ActionName": {
|
42
|
+
"shape_name": "ActionsList",
|
43
|
+
"type": "list",
|
44
|
+
"members": {
|
45
|
+
"shape_name": "action",
|
46
|
+
"type": "string",
|
47
|
+
"documentation": null
|
48
|
+
},
|
49
|
+
"documentation": "\n <p>The action you want to allow for the specified principal(s).</p>\n <p>Valid values: any Amazon SNS action name.</p>\n ",
|
50
|
+
"required": true
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"documentation": null
|
54
|
+
},
|
55
|
+
"output": null,
|
56
|
+
"errors": [
|
57
|
+
{
|
58
|
+
"shape_name": "InvalidParameterException",
|
59
|
+
"type": "structure",
|
60
|
+
"members": {
|
61
|
+
"message": {
|
62
|
+
"shape_name": "string",
|
63
|
+
"type": "string",
|
64
|
+
"documentation": null
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"shape_name": "InternalErrorException",
|
71
|
+
"type": "structure",
|
72
|
+
"members": {
|
73
|
+
"message": {
|
74
|
+
"shape_name": "string",
|
75
|
+
"type": "string",
|
76
|
+
"documentation": null
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"shape_name": "AuthorizationErrorException",
|
83
|
+
"type": "structure",
|
84
|
+
"members": {
|
85
|
+
"message": {
|
86
|
+
"shape_name": "string",
|
87
|
+
"type": "string",
|
88
|
+
"documentation": null
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"shape_name": "NotFoundException",
|
95
|
+
"type": "structure",
|
96
|
+
"members": {
|
97
|
+
"message": {
|
98
|
+
"shape_name": "string",
|
99
|
+
"type": "string",
|
100
|
+
"documentation": null
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"documentation": "\n <p>The <code>AddPermission</code> action adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Test\n &ActionName.member.1=Publish\n &ActionName.member.2=GetTopicAttributes\n &Label=NewPermission\n &AWSAccountId.member.1=987654321000\n &AWSAccountId.member.2=876543210000\n &Action=AddPermission\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=k%2FAU%2FKp13pjndwJ7rr1sZszy6MZMlOhRBCHx1ZaZFiw%3D\n\n </queryrequest>\n <queryresponse>\n \n<AddPermissionResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>6a213e4e-33a8-11df-9540-99d0768312d3</RequestId>\n </ResponseMetadata>\n</AddPermissionResponse>\n \n </queryresponse>\n</examples>\n "
|
107
|
+
},
|
108
|
+
"ConfirmSubscription": {
|
109
|
+
"name": "ConfirmSubscription",
|
110
|
+
"input": {
|
111
|
+
"shape_name": "ConfirmSubscriptionInput",
|
112
|
+
"type": "structure",
|
113
|
+
"members": {
|
114
|
+
"TopicArn": {
|
115
|
+
"shape_name": "topicARN",
|
116
|
+
"type": "string",
|
117
|
+
"documentation": "\n <p>The ARN of the topic for which you wish to confirm a subscription.</p>\n ",
|
118
|
+
"required": true
|
119
|
+
},
|
120
|
+
"Token": {
|
121
|
+
"shape_name": "token",
|
122
|
+
"type": "string",
|
123
|
+
"documentation": "\n <p>Short-lived token sent to an endpoint during the <code>Subscribe</code> action.</p>\n ",
|
124
|
+
"required": true
|
125
|
+
},
|
126
|
+
"AuthenticateOnUnsubscribe": {
|
127
|
+
"shape_name": "authenticateOnUnsubscribe",
|
128
|
+
"type": "string",
|
129
|
+
"documentation": "\n <p>Disallows unauthenticated unsubscribes of the subscription. \n If the value of this parameter is <code>true</code> and the request has an AWS signature, then only the topic owner\n and the subscription owner can unsubscribe the endpoint. The unsubscribe\n action requires AWS authentication. </p>\n "
|
130
|
+
}
|
131
|
+
},
|
132
|
+
"documentation": "\n Input for ConfirmSubscription action.\n "
|
133
|
+
},
|
134
|
+
"output": {
|
135
|
+
"shape_name": "ConfirmSubscriptionResponse",
|
136
|
+
"type": "structure",
|
137
|
+
"members": {
|
138
|
+
"SubscriptionArn": {
|
139
|
+
"shape_name": "subscriptionARN",
|
140
|
+
"type": "string",
|
141
|
+
"documentation": "\n <p>The ARN of the created subscription.</p>\n "
|
142
|
+
}
|
143
|
+
},
|
144
|
+
"documentation": "\n Response for ConfirmSubscriptions action.\n "
|
145
|
+
},
|
146
|
+
"errors": [
|
147
|
+
{
|
148
|
+
"shape_name": "SubscriptionLimitExceededException",
|
149
|
+
"type": "structure",
|
150
|
+
"members": {
|
151
|
+
"message": {
|
152
|
+
"shape_name": "string",
|
153
|
+
"type": "string",
|
154
|
+
"documentation": null
|
155
|
+
}
|
156
|
+
},
|
157
|
+
"documentation": "\n <p>Indicates that the customer already owns the maximum allowed number of subscriptions.</p>\n "
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"shape_name": "InvalidParameterException",
|
161
|
+
"type": "structure",
|
162
|
+
"members": {
|
163
|
+
"message": {
|
164
|
+
"shape_name": "string",
|
165
|
+
"type": "string",
|
166
|
+
"documentation": null
|
167
|
+
}
|
168
|
+
},
|
169
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"shape_name": "NotFoundException",
|
173
|
+
"type": "structure",
|
174
|
+
"members": {
|
175
|
+
"message": {
|
176
|
+
"shape_name": "string",
|
177
|
+
"type": "string",
|
178
|
+
"documentation": null
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"shape_name": "InternalErrorException",
|
185
|
+
"type": "structure",
|
186
|
+
"members": {
|
187
|
+
"message": {
|
188
|
+
"shape_name": "string",
|
189
|
+
"type": "string",
|
190
|
+
"documentation": null
|
191
|
+
}
|
192
|
+
},
|
193
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"shape_name": "AuthorizationErrorException",
|
197
|
+
"type": "structure",
|
198
|
+
"members": {
|
199
|
+
"message": {
|
200
|
+
"shape_name": "string",
|
201
|
+
"type": "string",
|
202
|
+
"documentation": null
|
203
|
+
}
|
204
|
+
},
|
205
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"documentation": "\n <p>The <code>ConfirmSubscription</code> action verifies an endpoint owner's intent to receive messages by validating\n the token sent to the endpoint by an earlier <code>Subscribe</code> action. If the\n token is valid, the action creates a new subscription and returns its\n Amazon Resource Name (ARN). This call requires an AWS signature only when the <code>AuthenticateOnUnsubscribe</code> flag is set to \"true\".</p>\n<examples>\n <queryrequest>\n\n https://sns.us-east-1.amazonaws.com/\n ?Action=ConfirmSubscription\n &TopicArn=arn:aws:sns:us-east-1:123456789012:My-Topic\n &Token=51b2ff3edb475b7d91550e0ab6edf0c1de2a34e6ebaf6\n c2262a001bcb7e051c43aa00022ceecce70bd2a67b2042da8d8\n eb47fef7a4e4e942d23e7fa56146b9ee35da040b4b8af564cc4\n 184a7391c834cb75d75c22981f776ad1ce8805e9bab29da2329\n 985337bb8095627907b46c8577c8440556b6f86582a95475802\n 6f41fc62041c4b3f67b0f5921232b5dae5aaca1\n\n </queryrequest>\n <queryresponse>\n \n<ConfirmSubscriptionResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ConfirmSubscriptionResult>\n <SubscriptionArn>arn:aws:sns:us-east-1:123456789012:My-Topic:80289ba6-0fd4-4079-afb4-ce8c8260f0ca</SubscriptionArn>\n </ConfirmSubscriptionResult>\n <ResponseMetadata>\n <RequestId>7a50221f-3774-11df-a9b7-05d48da6f042</RequestId>\n </ResponseMetadata>\n</ConfirmSubscriptionResponse>\n \n </queryresponse>\n</examples>\n\n\n "
|
209
|
+
},
|
210
|
+
"CreatePlatformApplication": {
|
211
|
+
"name": "CreatePlatformApplication",
|
212
|
+
"input": {
|
213
|
+
"shape_name": "CreatePlatformApplicationInput",
|
214
|
+
"type": "structure",
|
215
|
+
"members": {
|
216
|
+
"Name": {
|
217
|
+
"shape_name": "String",
|
218
|
+
"type": "string",
|
219
|
+
"documentation": "\n <p>Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.</p> \n ",
|
220
|
+
"required": true
|
221
|
+
},
|
222
|
+
"Platform": {
|
223
|
+
"shape_name": "String",
|
224
|
+
"type": "string",
|
225
|
+
"documentation": "\n <p>The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).</p> \n ",
|
226
|
+
"required": true
|
227
|
+
},
|
228
|
+
"Attributes": {
|
229
|
+
"shape_name": "MapStringToString",
|
230
|
+
"type": "map",
|
231
|
+
"keys": {
|
232
|
+
"shape_name": "String",
|
233
|
+
"type": "string",
|
234
|
+
"documentation": null
|
235
|
+
},
|
236
|
+
"members": {
|
237
|
+
"shape_name": "String",
|
238
|
+
"type": "string",
|
239
|
+
"documentation": null
|
240
|
+
},
|
241
|
+
"documentation": "\n <p>For a list of attributes, see <a href=\"http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html\">SetPlatformApplicationAttributes</a></p> \n ",
|
242
|
+
"required": true
|
243
|
+
}
|
244
|
+
},
|
245
|
+
"documentation": "\n <p>Input for CreatePlatformApplication action.</p> \n "
|
246
|
+
},
|
247
|
+
"output": {
|
248
|
+
"shape_name": "CreatePlatformApplicationResponse",
|
249
|
+
"type": "structure",
|
250
|
+
"members": {
|
251
|
+
"PlatformApplicationArn": {
|
252
|
+
"shape_name": "String",
|
253
|
+
"type": "string",
|
254
|
+
"documentation": "\n <p>PlatformApplicationArn is returned.</p> \n "
|
255
|
+
}
|
256
|
+
},
|
257
|
+
"documentation": "\n <p>Response from CreatePlatformApplication action.</p> \n "
|
258
|
+
},
|
259
|
+
"errors": [
|
260
|
+
{
|
261
|
+
"shape_name": "InvalidParameterException",
|
262
|
+
"type": "structure",
|
263
|
+
"members": {
|
264
|
+
"message": {
|
265
|
+
"shape_name": "string",
|
266
|
+
"type": "string",
|
267
|
+
"documentation": null
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"shape_name": "InternalErrorException",
|
274
|
+
"type": "structure",
|
275
|
+
"members": {
|
276
|
+
"message": {
|
277
|
+
"shape_name": "string",
|
278
|
+
"type": "string",
|
279
|
+
"documentation": null
|
280
|
+
}
|
281
|
+
},
|
282
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"shape_name": "AuthorizationErrorException",
|
286
|
+
"type": "structure",
|
287
|
+
"members": {
|
288
|
+
"message": {
|
289
|
+
"shape_name": "string",
|
290
|
+
"type": "string",
|
291
|
+
"documentation": null
|
292
|
+
}
|
293
|
+
},
|
294
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
295
|
+
}
|
296
|
+
],
|
297
|
+
"documentation": "\n \n <p>The <code>CreatePlatformApplication</code> action creates a platform application object for one of the supported push notification services, \n such as APNS and GCM, to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using \n the <code>CreatePlatformApplication</code> action. The PlatformPrincipal is received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is \"SSL certificate\". \n For GCM, PlatformPrincipal is not applicable. For ADM, <!-- , WNS and MPNS--> PlatformPrincipal is \"client id\". The PlatformCredential is also received from the notification service. \n For APNS/APNS_SANDBOX, PlatformCredential is \"private key\". For GCM, PlatformCredential is \"API key\". For ADM,<!-- , WNS and MPNS--> PlatformCredential is \"client secret\". \n The PlatformApplicationArn that is returned when using <code>CreatePlatformApplication</code> is then used as an attribute for the <code>CreatePlatformEndpoint</code> action.\n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. \n </p>\n \n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nAttributes.entry.2.key=PlatformPrincipal\n&SignatureMethod=HmacSHA256\n&Attributes.entry.1.value=AIzaSyClE2lcV2zEKTLYYo645zfk2jhQPFeyxDo\n&Attributes.entry.2.value=There+is+no+principal+for+GCM\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&Signature=82sHzg1Wfbgisw3i%2BHA2OgBmRktsqUKFinknkq3u%2FQ4%3D\n&Timestamp=2013-07-01T15%3A49%3A50.354Z\n&Name=gcmpushapp\n&Attributes.entry.1.key=PlatformCredential\n&Action=CreatePlatformApplication\n&Version=2010-03-31\n&SignatureVersion=2\n&Platform=GCM\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<CreatePlatformApplicationResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <CreatePlatformApplicationResult>\n <PlatformApplicationArn>arn:aws:sns:us-west-2:123456789012:app/GCM/gcmpushapp</PlatformApplicationArn>\n </CreatePlatformApplicationResult>\n <ResponseMetadata>\n <RequestId>b6f0e78b-e9d4-5a0e-b973-adc04e8a4ff9</RequestId>\n </ResponseMetadata>\n</CreatePlatformApplicationResponse>\n\n </queryresponse>\n </examples> \n "
|
298
|
+
},
|
299
|
+
"CreatePlatformEndpoint": {
|
300
|
+
"name": "CreatePlatformEndpoint",
|
301
|
+
"input": {
|
302
|
+
"shape_name": "CreatePlatformEndpointInput",
|
303
|
+
"type": "structure",
|
304
|
+
"members": {
|
305
|
+
"PlatformApplicationArn": {
|
306
|
+
"shape_name": "String",
|
307
|
+
"type": "string",
|
308
|
+
"documentation": "\n <p>PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.</p> \n ",
|
309
|
+
"required": true
|
310
|
+
},
|
311
|
+
"Token": {
|
312
|
+
"shape_name": "String",
|
313
|
+
"type": "string",
|
314
|
+
"documentation": "\n <p>Unique identifier created by the notification service for an app on a device. \n The specific name for Token will vary, depending on which notification service is being used. \n For example, when using APNS as the notification service, you need the device token. \n Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID.</p> \n ",
|
315
|
+
"required": true
|
316
|
+
},
|
317
|
+
"CustomUserData": {
|
318
|
+
"shape_name": "String",
|
319
|
+
"type": "string",
|
320
|
+
"documentation": "\n <p>Arbitrary user data to associate with the endpoint. SNS does not use this data. The data must be in UTF-8 format and less than 2KB.</p> \n "
|
321
|
+
},
|
322
|
+
"Attributes": {
|
323
|
+
"shape_name": "MapStringToString",
|
324
|
+
"type": "map",
|
325
|
+
"keys": {
|
326
|
+
"shape_name": "String",
|
327
|
+
"type": "string",
|
328
|
+
"documentation": null
|
329
|
+
},
|
330
|
+
"members": {
|
331
|
+
"shape_name": "String",
|
332
|
+
"type": "string",
|
333
|
+
"documentation": null
|
334
|
+
},
|
335
|
+
"documentation": "\n <p>For a list of attributes, see <a href=\"http://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html\">SetEndpointAttributes</a>.</p> \n "
|
336
|
+
}
|
337
|
+
},
|
338
|
+
"documentation": "\n <p>Input for CreatePlatformEndpoint action.</p> \n "
|
339
|
+
},
|
340
|
+
"output": {
|
341
|
+
"shape_name": "CreateEndpointResponse",
|
342
|
+
"type": "structure",
|
343
|
+
"members": {
|
344
|
+
"EndpointArn": {
|
345
|
+
"shape_name": "String",
|
346
|
+
"type": "string",
|
347
|
+
"documentation": "\n <p>EndpointArn returned from CreateEndpoint action.</p> \n "
|
348
|
+
}
|
349
|
+
},
|
350
|
+
"documentation": "\n <p>Response from CreateEndpoint action.</p>\n "
|
351
|
+
},
|
352
|
+
"errors": [
|
353
|
+
{
|
354
|
+
"shape_name": "InvalidParameterException",
|
355
|
+
"type": "structure",
|
356
|
+
"members": {
|
357
|
+
"message": {
|
358
|
+
"shape_name": "string",
|
359
|
+
"type": "string",
|
360
|
+
"documentation": null
|
361
|
+
}
|
362
|
+
},
|
363
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"shape_name": "InternalErrorException",
|
367
|
+
"type": "structure",
|
368
|
+
"members": {
|
369
|
+
"message": {
|
370
|
+
"shape_name": "string",
|
371
|
+
"type": "string",
|
372
|
+
"documentation": null
|
373
|
+
}
|
374
|
+
},
|
375
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"shape_name": "AuthorizationErrorException",
|
379
|
+
"type": "structure",
|
380
|
+
"members": {
|
381
|
+
"message": {
|
382
|
+
"shape_name": "string",
|
383
|
+
"type": "string",
|
384
|
+
"documentation": null
|
385
|
+
}
|
386
|
+
},
|
387
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"shape_name": "NotFoundException",
|
391
|
+
"type": "structure",
|
392
|
+
"members": {
|
393
|
+
"message": {
|
394
|
+
"shape_name": "string",
|
395
|
+
"type": "string",
|
396
|
+
"documentation": null
|
397
|
+
}
|
398
|
+
},
|
399
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"documentation": "\n <p>The <code>CreatePlatformEndpoint</code> creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM and APNS. \n <code>CreatePlatformEndpoint</code> requires the PlatformApplicationArn that is returned from <code>CreatePlatformApplication</code>. The EndpointArn that is\n returned when using <code>CreatePlatformEndpoint</code> can then be used by the <code>Publish</code> action to send a message to a mobile app or by the <code>Subscribe</code> \n action for subscription to a topic. \n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nPlatformApplicationArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aapp%2FGCM%2Fgcmpushapp\n&Action=CreatePlatformEndpoint\n&SignatureMethod=HmacSHA256\n&CustomUserData=UserId%3D27576823\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&Token=APA91bGi7fFachkC1xjlqT66VYEucGHochmf1VQAr9k...jsM0PKPxKhddCzx6paEsyay9Zn3D4wNUJb8m6HZrBEXAMPLE\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=Rg5vXBS6OfgPtWkt1u32p1w14uiGh%2BKOicvXNWTEz2w%3D\n&Timestamp=2013-07-01T15%3A49%3A50.598Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<CreatePlatformEndpointResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <CreatePlatformEndpointResult>\n <EndpointArn>arn:aws:sns:us-west-2:123456789012:endpoint/GCM/gcmpushapp/5e3e9847-3183-3f18-a7e8-671c3a57d4b3</EndpointArn>\n </CreatePlatformEndpointResult>\n <ResponseMetadata>\n <RequestId>6613341d-3e15-53f7-bf3c-7e56994ba278</RequestId>\n </ResponseMetadata>\n</CreatePlatformEndpointResponse>\n\n </queryresponse>\n </examples> \n "
|
403
|
+
},
|
404
|
+
"CreateTopic": {
|
405
|
+
"name": "CreateTopic",
|
406
|
+
"input": {
|
407
|
+
"shape_name": "CreateTopicInput",
|
408
|
+
"type": "structure",
|
409
|
+
"members": {
|
410
|
+
"Name": {
|
411
|
+
"shape_name": "topicName",
|
412
|
+
"type": "string",
|
413
|
+
"documentation": "\n <p>The name of the topic you want to create.</p>\n <p>Constraints: Topic names must be made up of \n only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be \n between 1 and 256 characters long. </p>\n ",
|
414
|
+
"required": true
|
415
|
+
}
|
416
|
+
},
|
417
|
+
"documentation": "\n <p>Input for CreateTopic action.</p>\n "
|
418
|
+
},
|
419
|
+
"output": {
|
420
|
+
"shape_name": "CreateTopicResponse",
|
421
|
+
"type": "structure",
|
422
|
+
"members": {
|
423
|
+
"TopicArn": {
|
424
|
+
"shape_name": "topicARN",
|
425
|
+
"type": "string",
|
426
|
+
"documentation": "\n <p>The Amazon Resource Name (ARN) assigned to the created topic.</p>\n "
|
427
|
+
}
|
428
|
+
},
|
429
|
+
"documentation": "\n <p>Response from CreateTopic action.</p>\n "
|
430
|
+
},
|
431
|
+
"errors": [
|
432
|
+
{
|
433
|
+
"shape_name": "InvalidParameterException",
|
434
|
+
"type": "structure",
|
435
|
+
"members": {
|
436
|
+
"message": {
|
437
|
+
"shape_name": "string",
|
438
|
+
"type": "string",
|
439
|
+
"documentation": null
|
440
|
+
}
|
441
|
+
},
|
442
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"shape_name": "TopicLimitExceededException",
|
446
|
+
"type": "structure",
|
447
|
+
"members": {
|
448
|
+
"message": {
|
449
|
+
"shape_name": "string",
|
450
|
+
"type": "string",
|
451
|
+
"documentation": null
|
452
|
+
}
|
453
|
+
},
|
454
|
+
"documentation": "\n <p>Indicates that the customer already owns the maximum allowed number of topics.</p>\n "
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"shape_name": "InternalErrorException",
|
458
|
+
"type": "structure",
|
459
|
+
"members": {
|
460
|
+
"message": {
|
461
|
+
"shape_name": "string",
|
462
|
+
"type": "string",
|
463
|
+
"documentation": null
|
464
|
+
}
|
465
|
+
},
|
466
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"shape_name": "AuthorizationErrorException",
|
470
|
+
"type": "structure",
|
471
|
+
"members": {
|
472
|
+
"message": {
|
473
|
+
"shape_name": "string",
|
474
|
+
"type": "string",
|
475
|
+
"documentation": null
|
476
|
+
}
|
477
|
+
},
|
478
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"documentation": "\n <p>The <code>CreateTopic</code> action creates a topic to which notifications can be published. Users can create\n at most 100 topics. For more information, see <a href=\"http://aws.amazon.com/sns/\">http://aws.amazon.com/sns</a>. \n This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is \n returned without creating a new topic.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?Name=My-Topic\n &Action=CreateTopic\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=gfzIF53exFVdpSNb8AiwN3Lv%2FNYXh6S%2Br3yySK70oX4%3D\n\n </queryrequest>\n <queryresponse>\n \n <CreateTopicResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <CreateTopicResult>\n <TopicArn>arn:aws:sns:us-east-1:123456789012:My-Topic</TopicArn>\n </CreateTopicResult>\n <ResponseMetadata>\n <RequestId>a8dec8b3-33a4-11df-8963-01868b7c937a</RequestId>\n </ResponseMetadata>\n </CreateTopicResponse>\n \n </queryresponse>\n</examples>\n "
|
482
|
+
},
|
483
|
+
"DeleteEndpoint": {
|
484
|
+
"name": "DeleteEndpoint",
|
485
|
+
"input": {
|
486
|
+
"shape_name": "DeleteEndpointInput",
|
487
|
+
"type": "structure",
|
488
|
+
"members": {
|
489
|
+
"EndpointArn": {
|
490
|
+
"shape_name": "String",
|
491
|
+
"type": "string",
|
492
|
+
"documentation": "\n <p>EndpointArn of endpoint to delete.</p> \n ",
|
493
|
+
"required": true
|
494
|
+
}
|
495
|
+
},
|
496
|
+
"documentation": "\n <p>Input for DeleteEndpoint action.</p> \n "
|
497
|
+
},
|
498
|
+
"output": null,
|
499
|
+
"errors": [
|
500
|
+
{
|
501
|
+
"shape_name": "InvalidParameterException",
|
502
|
+
"type": "structure",
|
503
|
+
"members": {
|
504
|
+
"message": {
|
505
|
+
"shape_name": "string",
|
506
|
+
"type": "string",
|
507
|
+
"documentation": null
|
508
|
+
}
|
509
|
+
},
|
510
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"shape_name": "InternalErrorException",
|
514
|
+
"type": "structure",
|
515
|
+
"members": {
|
516
|
+
"message": {
|
517
|
+
"shape_name": "string",
|
518
|
+
"type": "string",
|
519
|
+
"documentation": null
|
520
|
+
}
|
521
|
+
},
|
522
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"shape_name": "AuthorizationErrorException",
|
526
|
+
"type": "structure",
|
527
|
+
"members": {
|
528
|
+
"message": {
|
529
|
+
"shape_name": "string",
|
530
|
+
"type": "string",
|
531
|
+
"documentation": null
|
532
|
+
}
|
533
|
+
},
|
534
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
535
|
+
}
|
536
|
+
],
|
537
|
+
"documentation": "\n <p>The <code>DeleteEndpoint</code> action, which is idempotent, deletes the endpoint from SNS. \n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p> \n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nAction=DeleteEndpoint\n&SignatureMethod=HmacSHA256\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&EndpointArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aendpoint%2FGCM%2Fgcmpushapp%2F5e3e9847-3183-3f18-a7e8-671c3a57d4b3\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=LIc6GI3JbNhmHBEDmSxzZp648XPe5CMeFny%2BTQFtomQ%3D\n&Timestamp=2013-07-01T23%3A00%3A12.456Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<DeleteEndpointResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>c1d2b191-353c-5a5f-8969-fbdd3900afa8</RequestId>\n </ResponseMetadata>\n</DeleteEndpointResponse>\n\n </queryresponse>\n </examples> \n "
|
538
|
+
},
|
539
|
+
"DeletePlatformApplication": {
|
540
|
+
"name": "DeletePlatformApplication",
|
541
|
+
"input": {
|
542
|
+
"shape_name": "DeletePlatformApplicationInput",
|
543
|
+
"type": "structure",
|
544
|
+
"members": {
|
545
|
+
"PlatformApplicationArn": {
|
546
|
+
"shape_name": "String",
|
547
|
+
"type": "string",
|
548
|
+
"documentation": "\n <p>PlatformApplicationArn of platform application object to delete.</p> \n ",
|
549
|
+
"required": true
|
550
|
+
}
|
551
|
+
},
|
552
|
+
"documentation": "\n <p>Input for DeletePlatformApplication action.</p> \n "
|
553
|
+
},
|
554
|
+
"output": null,
|
555
|
+
"errors": [
|
556
|
+
{
|
557
|
+
"shape_name": "InvalidParameterException",
|
558
|
+
"type": "structure",
|
559
|
+
"members": {
|
560
|
+
"message": {
|
561
|
+
"shape_name": "string",
|
562
|
+
"type": "string",
|
563
|
+
"documentation": null
|
564
|
+
}
|
565
|
+
},
|
566
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"shape_name": "InternalErrorException",
|
570
|
+
"type": "structure",
|
571
|
+
"members": {
|
572
|
+
"message": {
|
573
|
+
"shape_name": "string",
|
574
|
+
"type": "string",
|
575
|
+
"documentation": null
|
576
|
+
}
|
577
|
+
},
|
578
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"shape_name": "AuthorizationErrorException",
|
582
|
+
"type": "structure",
|
583
|
+
"members": {
|
584
|
+
"message": {
|
585
|
+
"shape_name": "string",
|
586
|
+
"type": "string",
|
587
|
+
"documentation": null
|
588
|
+
}
|
589
|
+
},
|
590
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
591
|
+
}
|
592
|
+
],
|
593
|
+
"documentation": "\n <p>The <code>DeletePlatformApplication</code> action deletes a platform application object for one of the supported push notification services, \n such as APNS and GCM.\n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nPlatformApplicationArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aapp%2FGCM%2Fgcmpushapp\n&Action=DeletePlatformApplication\n&SignatureMethod=HmacSHA256\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=Mh7X%2BQo%2BGpcm5B1IpkovBaRiJCJOqvFlIOYzL62SGrg%3D\n&Timestamp=2013-07-01T23%3A02%3A03.872Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<DeletePlatformApplicationResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>097dac18-7a77-5823-a8dd-e65476dcb037</RequestId>\n </ResponseMetadata>\n</DeletePlatformApplicationResponse>\n\n </queryresponse>\n </examples> \n "
|
594
|
+
},
|
595
|
+
"DeleteTopic": {
|
596
|
+
"name": "DeleteTopic",
|
597
|
+
"input": {
|
598
|
+
"shape_name": "DeleteTopicInput",
|
599
|
+
"type": "structure",
|
600
|
+
"members": {
|
601
|
+
"TopicArn": {
|
602
|
+
"shape_name": "topicARN",
|
603
|
+
"type": "string",
|
604
|
+
"documentation": "\n <p>The ARN of the topic you want to delete.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic\n &Action=DeleteTopic\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=DjHBa%2BbYCKQAzctOPnLP7MbHnrHT3%2FK3kFEZjwcf9%2FU%3D\n\n </queryrequest>\n <queryresponse>\n \n<DeleteTopicResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>fba800b9-3765-11df-8cf3-c58c53254dfb</RequestId>\n </ResponseMetadata>\n</DeleteTopicResponse>\n \n </queryresponse>\n</examples>\n ",
|
605
|
+
"required": true
|
606
|
+
}
|
607
|
+
},
|
608
|
+
"documentation": null
|
609
|
+
},
|
610
|
+
"output": null,
|
611
|
+
"errors": [
|
612
|
+
{
|
613
|
+
"shape_name": "InvalidParameterException",
|
614
|
+
"type": "structure",
|
615
|
+
"members": {
|
616
|
+
"message": {
|
617
|
+
"shape_name": "string",
|
618
|
+
"type": "string",
|
619
|
+
"documentation": null
|
620
|
+
}
|
621
|
+
},
|
622
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"shape_name": "InternalErrorException",
|
626
|
+
"type": "structure",
|
627
|
+
"members": {
|
628
|
+
"message": {
|
629
|
+
"shape_name": "string",
|
630
|
+
"type": "string",
|
631
|
+
"documentation": null
|
632
|
+
}
|
633
|
+
},
|
634
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"shape_name": "AuthorizationErrorException",
|
638
|
+
"type": "structure",
|
639
|
+
"members": {
|
640
|
+
"message": {
|
641
|
+
"shape_name": "string",
|
642
|
+
"type": "string",
|
643
|
+
"documentation": null
|
644
|
+
}
|
645
|
+
},
|
646
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"shape_name": "NotFoundException",
|
650
|
+
"type": "structure",
|
651
|
+
"members": {
|
652
|
+
"message": {
|
653
|
+
"shape_name": "string",
|
654
|
+
"type": "string",
|
655
|
+
"documentation": null
|
656
|
+
}
|
657
|
+
},
|
658
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
659
|
+
}
|
660
|
+
],
|
661
|
+
"documentation": "\n <p>The <code>DeleteTopic</code> action deletes a topic and all its subscriptions. Deleting a topic might\n prevent some messages previously sent to the topic from being delivered to\n subscribers. This action is idempotent, so deleting a topic that does not\n exist does not result in an error.</p>\n<examples>\n<queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n &TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic\n &Action=DeleteTopic\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key Id)\n &Signature=mQA3nJI%2BcmAIY7r8HCArGElSqPX5JG4UGzF4yo0RygE%3D\n\n</queryrequest>\n<queryresponse>\n\n<DeleteTopicResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>f3aa9ac9-3c3d-11df-8235-9dab105e9c32</RequestId>\n </ResponseMetadata>\n</DeleteTopicResponse>\n\n</queryresponse>\n</examples>\n "
|
662
|
+
},
|
663
|
+
"GetEndpointAttributes": {
|
664
|
+
"name": "GetEndpointAttributes",
|
665
|
+
"input": {
|
666
|
+
"shape_name": "GetEndpointAttributesInput",
|
667
|
+
"type": "structure",
|
668
|
+
"members": {
|
669
|
+
"EndpointArn": {
|
670
|
+
"shape_name": "String",
|
671
|
+
"type": "string",
|
672
|
+
"documentation": "\n <p>EndpointArn for GetEndpointAttributes input.</p> \n ",
|
673
|
+
"required": true
|
674
|
+
}
|
675
|
+
},
|
676
|
+
"documentation": "\n <p>Input for GetEndpointAttributes action.</p> \n "
|
677
|
+
},
|
678
|
+
"output": {
|
679
|
+
"shape_name": "GetEndpointAttributesResponse",
|
680
|
+
"type": "structure",
|
681
|
+
"members": {
|
682
|
+
"Attributes": {
|
683
|
+
"shape_name": "MapStringToString",
|
684
|
+
"type": "map",
|
685
|
+
"keys": {
|
686
|
+
"shape_name": "String",
|
687
|
+
"type": "string",
|
688
|
+
"documentation": null
|
689
|
+
},
|
690
|
+
"members": {
|
691
|
+
"shape_name": "String",
|
692
|
+
"type": "string",
|
693
|
+
"documentation": null
|
694
|
+
},
|
695
|
+
"documentation": "\n <p>Attributes include the following:</p>\n <ul>\n <!-- Policy is not yet supported. Will remove comments once it is available -->\n <li>\n<code>CustomUserData</code> -- arbitrary user data to associate with the endpoint. SNS does not use this data. The data must be in UTF-8 format and less than 2KB.</li>\n <li>\n<code>Enabled</code> -- flag that enables/disables delivery to the endpoint. \n Message Processor will set this to false when a notification service indicates to SNS that the endpoint is invalid. \n Users can set it back to true, typically after updating Token.</li>\n <!-- <li><code>Policy</code> access policy controlling who can send messages to this endpoint .</li> -->\n <li>\n<code>Token</code> -- device token, also referred to as a registration id, for an app and mobile device. \n This is returned from the notification service when an app and mobile device are registered with the notification service.</li> \n </ul> \n "
|
696
|
+
}
|
697
|
+
},
|
698
|
+
"documentation": "\n <p>Response from GetEndpointAttributes of the EndpointArn.</p> \n "
|
699
|
+
},
|
700
|
+
"errors": [
|
701
|
+
{
|
702
|
+
"shape_name": "InvalidParameterException",
|
703
|
+
"type": "structure",
|
704
|
+
"members": {
|
705
|
+
"message": {
|
706
|
+
"shape_name": "string",
|
707
|
+
"type": "string",
|
708
|
+
"documentation": null
|
709
|
+
}
|
710
|
+
},
|
711
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"shape_name": "InternalErrorException",
|
715
|
+
"type": "structure",
|
716
|
+
"members": {
|
717
|
+
"message": {
|
718
|
+
"shape_name": "string",
|
719
|
+
"type": "string",
|
720
|
+
"documentation": null
|
721
|
+
}
|
722
|
+
},
|
723
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"shape_name": "AuthorizationErrorException",
|
727
|
+
"type": "structure",
|
728
|
+
"members": {
|
729
|
+
"message": {
|
730
|
+
"shape_name": "string",
|
731
|
+
"type": "string",
|
732
|
+
"documentation": null
|
733
|
+
}
|
734
|
+
},
|
735
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"shape_name": "NotFoundException",
|
739
|
+
"type": "structure",
|
740
|
+
"members": {
|
741
|
+
"message": {
|
742
|
+
"shape_name": "string",
|
743
|
+
"type": "string",
|
744
|
+
"documentation": null
|
745
|
+
}
|
746
|
+
},
|
747
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"documentation": "\n <p>The <code>GetEndpointAttributes</code> retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM and APNS. \n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nAction=GetEndpointAttributes\n&SignatureMethod=HmacSHA256\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&EndpointArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aendpoint%2FGCM%2Fgcmpushapp%2F5e3e9847-3183-3f18-a7e8-671c3a57d4b3\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=%2B2egbEoT4npw3p5H3wiIdzZBoTn4KI3UWmMFyBsHH9c%3D\n&Timestamp=2013-07-01T22%3A44%3A56.515Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<GetEndpointAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <GetEndpointAttributesResult>\n <Attributes>\n <entry>\n <key>Enabled</key>\n <value>true</value>\n </entry>\n <entry>\n <key>CustomUserData</key>\n <value>UserId=01234567</value>\n </entry>\n <entry>\n <key>Token</key>\n <value>APA91bGi7fFachkC1xjlqT66VYEucGHochmf1VQAr9k...jsM0PKPxKhddCzx6paEsyay9Zn3D4wNUJb8m6HZrBEXAMPLE</value>\n </entry>\n </Attributes>\n </GetEndpointAttributesResult>\n <ResponseMetadata>\n <RequestId>6c725a19-a142-5b77-94f9-1055a9ea04e7</RequestId>\n </ResponseMetadata>\n</GetEndpointAttributesResponse>\n\n </queryresponse>\n </examples> \n "
|
751
|
+
},
|
752
|
+
"GetPlatformApplicationAttributes": {
|
753
|
+
"name": "GetPlatformApplicationAttributes",
|
754
|
+
"input": {
|
755
|
+
"shape_name": "GetPlatformApplicationAttributesInput",
|
756
|
+
"type": "structure",
|
757
|
+
"members": {
|
758
|
+
"PlatformApplicationArn": {
|
759
|
+
"shape_name": "String",
|
760
|
+
"type": "string",
|
761
|
+
"documentation": "\n <p>PlatformApplicationArn for GetPlatformApplicationAttributesInput.</p> \n ",
|
762
|
+
"required": true
|
763
|
+
}
|
764
|
+
},
|
765
|
+
"documentation": "\n <p>Input for GetPlatformApplicationAttributes action.</p> \n "
|
766
|
+
},
|
767
|
+
"output": {
|
768
|
+
"shape_name": "GetPlatformApplicationAttributesResponse",
|
769
|
+
"type": "structure",
|
770
|
+
"members": {
|
771
|
+
"Attributes": {
|
772
|
+
"shape_name": "MapStringToString",
|
773
|
+
"type": "map",
|
774
|
+
"keys": {
|
775
|
+
"shape_name": "String",
|
776
|
+
"type": "string",
|
777
|
+
"documentation": null
|
778
|
+
},
|
779
|
+
"members": {
|
780
|
+
"shape_name": "String",
|
781
|
+
"type": "string",
|
782
|
+
"documentation": null
|
783
|
+
},
|
784
|
+
"documentation": "\n <p>Attributes include the following:</p>\n <ul> \n <!-- AllowEndpointPolicies, EventDeliveryAttemptFailure, and Policy are not yet supported. Will remove comments once it is available -->\n <!-- <li><code>AllowEndpointPolicies</code> true or false (default false) - If true, then policies on endpoints will be evaluated to determine if the topic or user has the rights to send messages to it. \n If false, the endpoint policy will be ignored and only the mobile app policy will be considered.</li> -->\n <li>\n<code>EventEndpointCreated</code> -- Topic ARN to which EndpointCreated event notifications should be sent.</li>\n <li>\n<code>EventEndpointDeleted</code> -- Topic ARN to which EndpointDeleted event notifications should be sent.</li>\n <li>\n<code>EventEndpointUpdated</code> -- Topic ARN to which EndpointUpdate event notifications should be sent.</li>\n <!-- <li><code>EventDeliveryAttemptFailure</code> Topic ARN to which DeliveryAttemptFailure event notifications should be sent upon Direct Publish delivery attempt failures to one of the application's endpoints.</li> -->\n <li>\n<code>EventDeliveryFailure</code> -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.</li>\n <!-- <li><code>Policy</code> Access policy controlling who can send messages to endpoints under this mobile app.</li> -->\n </ul>\n "
|
785
|
+
}
|
786
|
+
},
|
787
|
+
"documentation": "\n <p>Response for GetPlatformApplicationAttributes action.</p> \n "
|
788
|
+
},
|
789
|
+
"errors": [
|
790
|
+
{
|
791
|
+
"shape_name": "InvalidParameterException",
|
792
|
+
"type": "structure",
|
793
|
+
"members": {
|
794
|
+
"message": {
|
795
|
+
"shape_name": "string",
|
796
|
+
"type": "string",
|
797
|
+
"documentation": null
|
798
|
+
}
|
799
|
+
},
|
800
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
801
|
+
},
|
802
|
+
{
|
803
|
+
"shape_name": "InternalErrorException",
|
804
|
+
"type": "structure",
|
805
|
+
"members": {
|
806
|
+
"message": {
|
807
|
+
"shape_name": "string",
|
808
|
+
"type": "string",
|
809
|
+
"documentation": null
|
810
|
+
}
|
811
|
+
},
|
812
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"shape_name": "AuthorizationErrorException",
|
816
|
+
"type": "structure",
|
817
|
+
"members": {
|
818
|
+
"message": {
|
819
|
+
"shape_name": "string",
|
820
|
+
"type": "string",
|
821
|
+
"documentation": null
|
822
|
+
}
|
823
|
+
},
|
824
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
825
|
+
},
|
826
|
+
{
|
827
|
+
"shape_name": "NotFoundException",
|
828
|
+
"type": "structure",
|
829
|
+
"members": {
|
830
|
+
"message": {
|
831
|
+
"shape_name": "string",
|
832
|
+
"type": "string",
|
833
|
+
"documentation": null
|
834
|
+
}
|
835
|
+
},
|
836
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
837
|
+
}
|
838
|
+
],
|
839
|
+
"documentation": "\n <p>The <code>GetPlatformApplicationAttributes</code> action retrieves the attributes of the platform application object for the supported push notification services, \n such as APNS and GCM.\n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nPlatformApplicationArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aapp%2FGCM%2Fgcmpushapp\n&Action=GetPlatformApplicationAttributes\n&SignatureMethod=HmacSHA256\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=UGMaCq8CCJGSYXO9Ehr2VuHIBYSe6WbxkqgMKRslTK4%3D\n&Timestamp=2013-07-01T22%3A40%3A50.643Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<GetPlatformApplicationAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <GetPlatformApplicationAttributesResult>\n <Attributes>\n <entry>\n <key>AllowEndpointPolicies</key>\n <value>false</value>\n </entry>\n </Attributes>\n </GetPlatformApplicationAttributesResult>\n <ResponseMetadata>\n <RequestId>74848df2-87f6-55ed-890c-c7be80442462</RequestId>\n </ResponseMetadata>\n</GetPlatformApplicationAttributesResponse>\n\n </queryresponse>\n </examples> \n "
|
840
|
+
},
|
841
|
+
"GetSubscriptionAttributes": {
|
842
|
+
"name": "GetSubscriptionAttributes",
|
843
|
+
"input": {
|
844
|
+
"shape_name": "GetSubscriptionAttributesInput",
|
845
|
+
"type": "structure",
|
846
|
+
"members": {
|
847
|
+
"SubscriptionArn": {
|
848
|
+
"shape_name": "subscriptionARN",
|
849
|
+
"type": "string",
|
850
|
+
"documentation": "\n <p>The ARN of the subscription whose properties you want to get.</p>\n ",
|
851
|
+
"required": true
|
852
|
+
}
|
853
|
+
},
|
854
|
+
"documentation": "\n <p>Input for GetSubscriptionAttributes.</p>\n "
|
855
|
+
},
|
856
|
+
"output": {
|
857
|
+
"shape_name": "GetSubscriptionAttributesResponse",
|
858
|
+
"type": "structure",
|
859
|
+
"members": {
|
860
|
+
"Attributes": {
|
861
|
+
"shape_name": "SubscriptionAttributesMap",
|
862
|
+
"type": "map",
|
863
|
+
"keys": {
|
864
|
+
"shape_name": "attributeName",
|
865
|
+
"type": "string",
|
866
|
+
"documentation": null
|
867
|
+
},
|
868
|
+
"members": {
|
869
|
+
"shape_name": "attributeValue",
|
870
|
+
"type": "string",
|
871
|
+
"documentation": null
|
872
|
+
},
|
873
|
+
"documentation": "\n <p>A map of the subscription's attributes. Attributes in this map include the following:</p>\n <ul>\n <li>\n<code>SubscriptionArn</code> -- the subscription's ARN</li>\n <li>\n<code>TopicArn</code> -- the topic ARN that the subscription is associated with</li>\n <li>\n<code>Owner</code> -- the AWS account ID of the subscription's owner</li>\n <li>\n<code>ConfirmationWasAuthenticated</code> -- true if the subscription confirmation request was authenticated</li>\n <li>\n<code>DeliveryPolicy</code> -- the JSON serialization of the subscription's delivery policy</li>\n <li>\n<code>EffectiveDeliveryPolicy</code> -- the JSON serialization of the effective delivery policy that takes \n into account the topic delivery policy and account system defaults</li>\n </ul>\n "
|
874
|
+
}
|
875
|
+
},
|
876
|
+
"documentation": "\n <p>Response for GetSubscriptionAttributes action.</p>\n "
|
877
|
+
},
|
878
|
+
"errors": [
|
879
|
+
{
|
880
|
+
"shape_name": "InvalidParameterException",
|
881
|
+
"type": "structure",
|
882
|
+
"members": {
|
883
|
+
"message": {
|
884
|
+
"shape_name": "string",
|
885
|
+
"type": "string",
|
886
|
+
"documentation": null
|
887
|
+
}
|
888
|
+
},
|
889
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
890
|
+
},
|
891
|
+
{
|
892
|
+
"shape_name": "InternalErrorException",
|
893
|
+
"type": "structure",
|
894
|
+
"members": {
|
895
|
+
"message": {
|
896
|
+
"shape_name": "string",
|
897
|
+
"type": "string",
|
898
|
+
"documentation": null
|
899
|
+
}
|
900
|
+
},
|
901
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
902
|
+
},
|
903
|
+
{
|
904
|
+
"shape_name": "NotFoundException",
|
905
|
+
"type": "structure",
|
906
|
+
"members": {
|
907
|
+
"message": {
|
908
|
+
"shape_name": "string",
|
909
|
+
"type": "string",
|
910
|
+
"documentation": null
|
911
|
+
}
|
912
|
+
},
|
913
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"shape_name": "AuthorizationErrorException",
|
917
|
+
"type": "structure",
|
918
|
+
"members": {
|
919
|
+
"message": {
|
920
|
+
"shape_name": "string",
|
921
|
+
"type": "string",
|
922
|
+
"documentation": null
|
923
|
+
}
|
924
|
+
},
|
925
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
926
|
+
}
|
927
|
+
],
|
928
|
+
"documentation": "\n <p>The <code>GetSubscriptionAttribtues</code> action returns all of the properties of a subscription.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?SubscriptionArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic%3A80289ba6-0fd4-4079-afb4-ce8c8260f0ca\n &Action=GetSubscriptionAttributes\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key Id)\n &Signature=92lBGRVq0%2BxhaACaBGqtdemy%2Bi9isfgyTljCbJM80Yk%3D\n\n </queryrequest>\n <queryresponse>\n \n<GetSubscriptionAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <GetSubscriptionAttributesResult>\n <Attributes>\n <entry>\n <key>Owner</key>\n <value>123456789012</value>\n </entry>\n <entry>\n <key>DeliveryPolicy</key>\n <value>{"healthyRetryPolicy":{"numRetries":10}}</value>\n </entry>\n <entry>\n <key>SubscriptionArn</key>\n <value>arn:aws:sns:us-east-1:123456789012:My-Topic:80289ba6-0fd4-4079-afb4-ce8c8260f0ca</value>\n </entry>\n </Attributes>\n </GetSubscriptionAttributesResult>\n <ResponseMetadata>\n <RequestId>057f074c-33a7-11df-9540-99d0768312d3</RequestId>\n </ResponseMetadata>\n</GetTopicAttributesResponse>\n \n </queryresponse>\n</examples>\n "
|
929
|
+
},
|
930
|
+
"GetTopicAttributes": {
|
931
|
+
"name": "GetTopicAttributes",
|
932
|
+
"input": {
|
933
|
+
"shape_name": "GetTopicAttributesInput",
|
934
|
+
"type": "structure",
|
935
|
+
"members": {
|
936
|
+
"TopicArn": {
|
937
|
+
"shape_name": "topicARN",
|
938
|
+
"type": "string",
|
939
|
+
"documentation": "\n <p>The ARN of the topic whose properties you want to get.</p>\n ",
|
940
|
+
"required": true
|
941
|
+
}
|
942
|
+
},
|
943
|
+
"documentation": "\n <p>Input for GetTopicAttributes action.</p> \n "
|
944
|
+
},
|
945
|
+
"output": {
|
946
|
+
"shape_name": "GetTopicAttributesResponse",
|
947
|
+
"type": "structure",
|
948
|
+
"members": {
|
949
|
+
"Attributes": {
|
950
|
+
"shape_name": "TopicAttributesMap",
|
951
|
+
"type": "map",
|
952
|
+
"keys": {
|
953
|
+
"shape_name": "attributeName",
|
954
|
+
"type": "string",
|
955
|
+
"documentation": null
|
956
|
+
},
|
957
|
+
"members": {
|
958
|
+
"shape_name": "attributeValue",
|
959
|
+
"type": "string",
|
960
|
+
"documentation": null
|
961
|
+
},
|
962
|
+
"documentation": "\n <p>A map of the topic's attributes. Attributes in this map include the following:</p>\n <ul>\n <li>\n<code>TopicArn</code> -- the topic's ARN</li>\n <li>\n<code>Owner</code> -- the AWS account ID of the topic's owner</li>\n <li>\n<code>Policy</code> -- the JSON serialization of the topic's access control policy</li>\n <li>\n<code>DisplayName</code> -- the human-readable name used in the \"From\" field for notifications to email and email-json endpoints</li>\n <li>\n<code>SubscriptionsPending</code> -- the number of subscriptions pending confirmation on this topic</li>\n <li>\n<code>SubscriptionsConfirmed</code> -- the number of confirmed subscriptions on this topic</li>\n <li>\n<code>SubscriptionsDeleted</code> -- the number of deleted subscriptions on this topic</li>\n <li>\n<code>DeliveryPolicy</code> -- the JSON serialization of the topic's delivery policy</li>\n <li>\n<code>EffectiveDeliveryPolicy</code> -- the JSON serialization of the effective delivery policy that takes into account system defaults</li> \n </ul>\n "
|
963
|
+
}
|
964
|
+
},
|
965
|
+
"documentation": "\n <p>Response for GetTopicAttributes action.</p>\n "
|
966
|
+
},
|
967
|
+
"errors": [
|
968
|
+
{
|
969
|
+
"shape_name": "InvalidParameterException",
|
970
|
+
"type": "structure",
|
971
|
+
"members": {
|
972
|
+
"message": {
|
973
|
+
"shape_name": "string",
|
974
|
+
"type": "string",
|
975
|
+
"documentation": null
|
976
|
+
}
|
977
|
+
},
|
978
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"shape_name": "InternalErrorException",
|
982
|
+
"type": "structure",
|
983
|
+
"members": {
|
984
|
+
"message": {
|
985
|
+
"shape_name": "string",
|
986
|
+
"type": "string",
|
987
|
+
"documentation": null
|
988
|
+
}
|
989
|
+
},
|
990
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
991
|
+
},
|
992
|
+
{
|
993
|
+
"shape_name": "NotFoundException",
|
994
|
+
"type": "structure",
|
995
|
+
"members": {
|
996
|
+
"message": {
|
997
|
+
"shape_name": "string",
|
998
|
+
"type": "string",
|
999
|
+
"documentation": null
|
1000
|
+
}
|
1001
|
+
},
|
1002
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1003
|
+
},
|
1004
|
+
{
|
1005
|
+
"shape_name": "AuthorizationErrorException",
|
1006
|
+
"type": "structure",
|
1007
|
+
"members": {
|
1008
|
+
"message": {
|
1009
|
+
"shape_name": "string",
|
1010
|
+
"type": "string",
|
1011
|
+
"documentation": null
|
1012
|
+
}
|
1013
|
+
},
|
1014
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1015
|
+
}
|
1016
|
+
],
|
1017
|
+
"documentation": "\n <p>The <code>GetTopicAttributes</code> action returns all of the properties of a topic. \n Topic properties returned might differ based on the authorization of the user. </p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic\n &Action=GetTopicAttributes\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key Id)\n &Signature=92lBGRVq0%2BxhaACaBGqtdemy%2Bi9isfgyTljCbJM80Yk%3D\n\n </queryrequest>\n <queryresponse>\n \n<GetTopicAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <GetTopicAttributesResult>\n <Attributes>\n <entry>\n <key>Owner</key>\n <value>123456789012</value>\n </entry>\n <entry>\n <key>Policy</key>\n <value>{\n"Version":"2008-10-17","Id":"us-east-1/698519295917/test__default_policy_ID","Statement" : [{"Effect":"Allow","Sid":"us-east-1/698519295917/test__default_statement_ID","Principal" : {"AWS": "*"},"Action":["SNS:GetTopicAttributes","SNS:SetTopicAttributes","SNS:AddPermission","SNS:RemovePermission","SNS:DeleteTopic","SNS:Subscribe","SNS:ListSubscriptionsByTopic","SNS:Publish","SNS:Receive"],"Resource":"arn:aws:sns:us-east-1:698519295917:test","Condition" : {"StringLike" : {"AWS:SourceArn": "arn:aws:*:*:698519295917:*"}}}]}</value>\n </entry>\n <entry>\n <key>TopicArn</key>\n <value>arn:aws:sns:us-east-1:123456789012:My-Topic</value>\n </entry>\n </Attributes>\n </GetTopicAttributesResult>\n <ResponseMetadata>\n <RequestId>057f074c-33a7-11df-9540-99d0768312d3</RequestId>\n </ResponseMetadata>\n</GetTopicAttributesResponse>\n \n </queryresponse>\n</examples>\n "
|
1018
|
+
},
|
1019
|
+
"ListEndpointsByPlatformApplication": {
|
1020
|
+
"name": "ListEndpointsByPlatformApplication",
|
1021
|
+
"input": {
|
1022
|
+
"shape_name": "ListEndpointsByPlatformApplicationInput",
|
1023
|
+
"type": "structure",
|
1024
|
+
"members": {
|
1025
|
+
"PlatformApplicationArn": {
|
1026
|
+
"shape_name": "String",
|
1027
|
+
"type": "string",
|
1028
|
+
"documentation": "\n <p>PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.</p> \n ",
|
1029
|
+
"required": true
|
1030
|
+
},
|
1031
|
+
"NextToken": {
|
1032
|
+
"shape_name": "String",
|
1033
|
+
"type": "string",
|
1034
|
+
"documentation": "\n <p>NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.</p> \n "
|
1035
|
+
}
|
1036
|
+
},
|
1037
|
+
"documentation": "\n <p>Input for ListEndpointsByPlatformApplication action.</p> \n "
|
1038
|
+
},
|
1039
|
+
"output": {
|
1040
|
+
"shape_name": "ListEndpointsByPlatformApplicationResponse",
|
1041
|
+
"type": "structure",
|
1042
|
+
"members": {
|
1043
|
+
"Endpoints": {
|
1044
|
+
"shape_name": "ListOfEndpoints",
|
1045
|
+
"type": "list",
|
1046
|
+
"members": {
|
1047
|
+
"shape_name": "Endpoint",
|
1048
|
+
"type": "structure",
|
1049
|
+
"members": {
|
1050
|
+
"EndpointArn": {
|
1051
|
+
"shape_name": "String",
|
1052
|
+
"type": "string",
|
1053
|
+
"documentation": "\n <p>EndpointArn for mobile app and device.</p> \n "
|
1054
|
+
},
|
1055
|
+
"Attributes": {
|
1056
|
+
"shape_name": "MapStringToString",
|
1057
|
+
"type": "map",
|
1058
|
+
"keys": {
|
1059
|
+
"shape_name": "String",
|
1060
|
+
"type": "string",
|
1061
|
+
"documentation": null
|
1062
|
+
},
|
1063
|
+
"members": {
|
1064
|
+
"shape_name": "String",
|
1065
|
+
"type": "string",
|
1066
|
+
"documentation": null
|
1067
|
+
},
|
1068
|
+
"documentation": "\n <p>Attributes for endpoint.</p> \n "
|
1069
|
+
}
|
1070
|
+
},
|
1071
|
+
"documentation": "\n <p>Endpoint for mobile app and device.</p> \n "
|
1072
|
+
},
|
1073
|
+
"documentation": "\n <p>Endpoints returned for ListEndpointsByPlatformApplication action.</p> \n "
|
1074
|
+
},
|
1075
|
+
"NextToken": {
|
1076
|
+
"shape_name": "String",
|
1077
|
+
"type": "string",
|
1078
|
+
"documentation": "\n <p>NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.</p> \n "
|
1079
|
+
}
|
1080
|
+
},
|
1081
|
+
"documentation": "\n <p>Response for ListEndpointsByPlatformApplication action.</p> \n "
|
1082
|
+
},
|
1083
|
+
"errors": [
|
1084
|
+
{
|
1085
|
+
"shape_name": "InvalidParameterException",
|
1086
|
+
"type": "structure",
|
1087
|
+
"members": {
|
1088
|
+
"message": {
|
1089
|
+
"shape_name": "string",
|
1090
|
+
"type": "string",
|
1091
|
+
"documentation": null
|
1092
|
+
}
|
1093
|
+
},
|
1094
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1095
|
+
},
|
1096
|
+
{
|
1097
|
+
"shape_name": "InternalErrorException",
|
1098
|
+
"type": "structure",
|
1099
|
+
"members": {
|
1100
|
+
"message": {
|
1101
|
+
"shape_name": "string",
|
1102
|
+
"type": "string",
|
1103
|
+
"documentation": null
|
1104
|
+
}
|
1105
|
+
},
|
1106
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1107
|
+
},
|
1108
|
+
{
|
1109
|
+
"shape_name": "AuthorizationErrorException",
|
1110
|
+
"type": "structure",
|
1111
|
+
"members": {
|
1112
|
+
"message": {
|
1113
|
+
"shape_name": "string",
|
1114
|
+
"type": "string",
|
1115
|
+
"documentation": null
|
1116
|
+
}
|
1117
|
+
},
|
1118
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1119
|
+
},
|
1120
|
+
{
|
1121
|
+
"shape_name": "NotFoundException",
|
1122
|
+
"type": "structure",
|
1123
|
+
"members": {
|
1124
|
+
"message": {
|
1125
|
+
"shape_name": "string",
|
1126
|
+
"type": "string",
|
1127
|
+
"documentation": null
|
1128
|
+
}
|
1129
|
+
},
|
1130
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1131
|
+
}
|
1132
|
+
],
|
1133
|
+
"documentation": "\n <p>The <code>ListEndpointsByPlatformApplication</code> action lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. \n The results for <code>ListEndpointsByPlatformApplication</code> are paginated and return a limited list of endpoints, up to 100.\n If additional records are available after the first page results, then a NextToken string will be returned. \n To receive the next page, you call <code>ListEndpointsByPlatformApplication</code> again using the NextToken string received from the previous call. \n When there are no more records to return, NextToken will be null.\n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nPlatformApplicationArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aapp%2FGCM%2Fgcmpushapp\n&Action=ListEndpointsByPlatformApplication\n&SignatureMethod=HmacSHA256\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=e6H4sJSCRBBlh%2BaigB%2FtYgp4%2Bjl7dikAQ6WKf%2BMTwNM%3D\n&Timestamp=2013-07-01T23%3A00%3A52.515Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<ListEndpointsByPlatformApplicationResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ListEndpointsByPlatformApplicationResult>\n <Endpoints>\n <member>\n <EndpointArn>arn:aws:sns:us-west-2:123456789012:endpoint/GCM/gcmpushapp/5e3e9847-3183-3f18-a7e8-671c3a57d4b3</EndpointArn>\n <Attributes>\n <entry>\n <key>Enabled</key>\n <value>true</value>\n </entry>\n <entry>\n <key>CustomUserData</key>\n <value>UserId=27576823</value>\n </entry>\n <entry>\n <key>Token</key>\n <value>APA91bGi7fFachkC1xjlqT66VYEucGHochmf1VQAr9k...jsM0PKPxKhddCzx6paEsyay9Zn3D4wNUJb8m6HZrBEXAMPLE</value>\n </entry>\n </Attributes>\n </member>\n </Endpoints>\n </ListEndpointsByPlatformApplicationResult>\n <ResponseMetadata>\n <RequestId>9a48768c-dac8-5a60-aec0-3cc27ea08d96</RequestId>\n </ResponseMetadata>\n</ListEndpointsByPlatformApplicationResponse>\n\n </queryresponse>\n </examples>\n \n "
|
1134
|
+
},
|
1135
|
+
"ListPlatformApplications": {
|
1136
|
+
"name": "ListPlatformApplications",
|
1137
|
+
"input": {
|
1138
|
+
"shape_name": "ListPlatformApplicationsInput",
|
1139
|
+
"type": "structure",
|
1140
|
+
"members": {
|
1141
|
+
"NextToken": {
|
1142
|
+
"shape_name": "String",
|
1143
|
+
"type": "string",
|
1144
|
+
"documentation": "\n <p>NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.</p> \n "
|
1145
|
+
}
|
1146
|
+
},
|
1147
|
+
"documentation": "\n <p>Input for ListPlatformApplications action.</p> \n "
|
1148
|
+
},
|
1149
|
+
"output": {
|
1150
|
+
"shape_name": "ListPlatformApplicationsResponse",
|
1151
|
+
"type": "structure",
|
1152
|
+
"members": {
|
1153
|
+
"PlatformApplications": {
|
1154
|
+
"shape_name": "ListOfPlatformApplications",
|
1155
|
+
"type": "list",
|
1156
|
+
"members": {
|
1157
|
+
"shape_name": "PlatformApplication",
|
1158
|
+
"type": "structure",
|
1159
|
+
"members": {
|
1160
|
+
"PlatformApplicationArn": {
|
1161
|
+
"shape_name": "String",
|
1162
|
+
"type": "string",
|
1163
|
+
"documentation": "\n <p>PlatformApplicationArn for platform application object.</p> \n "
|
1164
|
+
},
|
1165
|
+
"Attributes": {
|
1166
|
+
"shape_name": "MapStringToString",
|
1167
|
+
"type": "map",
|
1168
|
+
"keys": {
|
1169
|
+
"shape_name": "String",
|
1170
|
+
"type": "string",
|
1171
|
+
"documentation": null
|
1172
|
+
},
|
1173
|
+
"members": {
|
1174
|
+
"shape_name": "String",
|
1175
|
+
"type": "string",
|
1176
|
+
"documentation": null
|
1177
|
+
},
|
1178
|
+
"documentation": "\n <p>Attributes for platform application object.</p> \n "
|
1179
|
+
}
|
1180
|
+
},
|
1181
|
+
"documentation": "\n <p>Platform application object.</p> \n "
|
1182
|
+
},
|
1183
|
+
"documentation": "\n <p>Platform applications returned when calling ListPlatformApplications action.</p> \n "
|
1184
|
+
},
|
1185
|
+
"NextToken": {
|
1186
|
+
"shape_name": "String",
|
1187
|
+
"type": "string",
|
1188
|
+
"documentation": "\n <p>NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.</p> \n "
|
1189
|
+
}
|
1190
|
+
},
|
1191
|
+
"documentation": "\n <p>Response for ListPlatformApplications action.</p> \n "
|
1192
|
+
},
|
1193
|
+
"errors": [
|
1194
|
+
{
|
1195
|
+
"shape_name": "InvalidParameterException",
|
1196
|
+
"type": "structure",
|
1197
|
+
"members": {
|
1198
|
+
"message": {
|
1199
|
+
"shape_name": "string",
|
1200
|
+
"type": "string",
|
1201
|
+
"documentation": null
|
1202
|
+
}
|
1203
|
+
},
|
1204
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"shape_name": "InternalErrorException",
|
1208
|
+
"type": "structure",
|
1209
|
+
"members": {
|
1210
|
+
"message": {
|
1211
|
+
"shape_name": "string",
|
1212
|
+
"type": "string",
|
1213
|
+
"documentation": null
|
1214
|
+
}
|
1215
|
+
},
|
1216
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1217
|
+
},
|
1218
|
+
{
|
1219
|
+
"shape_name": "AuthorizationErrorException",
|
1220
|
+
"type": "structure",
|
1221
|
+
"members": {
|
1222
|
+
"message": {
|
1223
|
+
"shape_name": "string",
|
1224
|
+
"type": "string",
|
1225
|
+
"documentation": null
|
1226
|
+
}
|
1227
|
+
},
|
1228
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1229
|
+
}
|
1230
|
+
],
|
1231
|
+
"documentation": "\n <p>The <code>ListPlatformApplications</code> action lists the platform application objects for the supported push notification services, \n such as APNS and GCM. The results for <code>ListPlatformApplications</code> are paginated and return a limited list of applications, up to 100.\n If additional records are available after the first page results, then a NextToken string will be returned. \n To receive the next page, you call <code>ListPlatformApplications</code> using the NextToken string received from the previous call. \n When there are no more records to return, NextToken will be null.\n \n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nAction=ListPlatformApplications\n&SignatureMethod=HmacSHA256\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=drVbTuyR5N9e88WJMNPzBOjNFNvawkCaMfZI0xa9kIQ%3D\n&Timestamp=2013-07-01T22%3A33%3A55.618Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<ListPlatformApplicationsResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ListPlatformApplicationsResult>\n <PlatformApplications>\n <member>\n <PlatformApplicationArn>arn:aws:sns:us-west-2:123456789012:app/APNS_SANDBOX/apnspushapp</PlatformApplicationArn>\n <Attributes>\n <entry>\n <key>AllowEndpointPolicies</key>\n <value>false</value>\n </entry>\n </Attributes>\n </member>\n <member>\n <PlatformApplicationArn>arn:aws:sns:us-west-2:123456789012:app/GCM/gcmpushapp</PlatformApplicationArn>\n <Attributes>\n <entry>\n <key>AllowEndpointPolicies</key>\n <value>false</value>\n </entry>\n </Attributes>\n </member>\n </PlatformApplications>\n </ListPlatformApplicationsResult>\n <ResponseMetadata>\n <RequestId>315a335e-85d8-52df-9349-791283cbb529</RequestId>\n </ResponseMetadata>\n</ListPlatformApplicationsResponse>\n\n </queryresponse>\n </examples> \n "
|
1232
|
+
},
|
1233
|
+
"ListSubscriptions": {
|
1234
|
+
"name": "ListSubscriptions",
|
1235
|
+
"input": {
|
1236
|
+
"shape_name": "ListSubscriptionsInput",
|
1237
|
+
"type": "structure",
|
1238
|
+
"members": {
|
1239
|
+
"NextToken": {
|
1240
|
+
"shape_name": "nextToken",
|
1241
|
+
"type": "string",
|
1242
|
+
"documentation": "\n <p>Token returned by the previous <code>ListSubscriptions</code> request.</p>\n "
|
1243
|
+
}
|
1244
|
+
},
|
1245
|
+
"documentation": "\n Input for ListSubscriptions action.\n "
|
1246
|
+
},
|
1247
|
+
"output": {
|
1248
|
+
"shape_name": "ListSubscriptionsResponse",
|
1249
|
+
"type": "structure",
|
1250
|
+
"members": {
|
1251
|
+
"Subscriptions": {
|
1252
|
+
"shape_name": "SubscriptionsList",
|
1253
|
+
"type": "list",
|
1254
|
+
"members": {
|
1255
|
+
"shape_name": "Subscription",
|
1256
|
+
"type": "structure",
|
1257
|
+
"members": {
|
1258
|
+
"SubscriptionArn": {
|
1259
|
+
"shape_name": "subscriptionARN",
|
1260
|
+
"type": "string",
|
1261
|
+
"documentation": "\n <p>The subscription's ARN.</p>\n "
|
1262
|
+
},
|
1263
|
+
"Owner": {
|
1264
|
+
"shape_name": "account",
|
1265
|
+
"type": "string",
|
1266
|
+
"documentation": "\n <p>The subscription's owner.</p>\n "
|
1267
|
+
},
|
1268
|
+
"Protocol": {
|
1269
|
+
"shape_name": "protocol",
|
1270
|
+
"type": "string",
|
1271
|
+
"documentation": "\n <p>The subscription's protocol.</p>\n "
|
1272
|
+
},
|
1273
|
+
"Endpoint": {
|
1274
|
+
"shape_name": "endpoint",
|
1275
|
+
"type": "string",
|
1276
|
+
"documentation": "\n <p>The subscription's endpoint (format depends on the protocol).</p>\n "
|
1277
|
+
},
|
1278
|
+
"TopicArn": {
|
1279
|
+
"shape_name": "topicARN",
|
1280
|
+
"type": "string",
|
1281
|
+
"documentation": "\n <p>The ARN of the subscription's topic.</p>\n "
|
1282
|
+
}
|
1283
|
+
},
|
1284
|
+
"documentation": "<p>A wrapper type for the attributes of an SNS subscription.</p>"
|
1285
|
+
},
|
1286
|
+
"documentation": "\n <p>A list of subscriptions.</p>\n "
|
1287
|
+
},
|
1288
|
+
"NextToken": {
|
1289
|
+
"shape_name": "nextToken",
|
1290
|
+
"type": "string",
|
1291
|
+
"documentation": "\n <p>Token to pass along to the next <code>ListSubscriptions</code> request. This element is returned if there are more subscriptions to retrieve.</p>\n "
|
1292
|
+
}
|
1293
|
+
},
|
1294
|
+
"documentation": null
|
1295
|
+
},
|
1296
|
+
"errors": [
|
1297
|
+
{
|
1298
|
+
"shape_name": "InvalidParameterException",
|
1299
|
+
"type": "structure",
|
1300
|
+
"members": {
|
1301
|
+
"message": {
|
1302
|
+
"shape_name": "string",
|
1303
|
+
"type": "string",
|
1304
|
+
"documentation": null
|
1305
|
+
}
|
1306
|
+
},
|
1307
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1308
|
+
},
|
1309
|
+
{
|
1310
|
+
"shape_name": "InternalErrorException",
|
1311
|
+
"type": "structure",
|
1312
|
+
"members": {
|
1313
|
+
"message": {
|
1314
|
+
"shape_name": "string",
|
1315
|
+
"type": "string",
|
1316
|
+
"documentation": null
|
1317
|
+
}
|
1318
|
+
},
|
1319
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1320
|
+
},
|
1321
|
+
{
|
1322
|
+
"shape_name": "AuthorizationErrorException",
|
1323
|
+
"type": "structure",
|
1324
|
+
"members": {
|
1325
|
+
"message": {
|
1326
|
+
"shape_name": "string",
|
1327
|
+
"type": "string",
|
1328
|
+
"documentation": null
|
1329
|
+
}
|
1330
|
+
},
|
1331
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1332
|
+
}
|
1333
|
+
],
|
1334
|
+
"documentation": "\n <p>The <code>ListSubscriptions</code> action returns a list of the requester's subscriptions. Each call returns a limited list\n of subscriptions, up to 100. If there are more subscriptions, a <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in a \n new <code>ListSubscriptions</code> call to get further results.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n &Action=ListSubscriptions\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=SZmBxEPqfs9R7xxhSt6C1b7PnOEvg%2BSVyyMYJfLRFCA%3D\n\n </queryrequest>\n <queryresponse>\n \n<ListSubscriptionsResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ListSubscriptionsResult>\n <Subscriptions>\n <member>\n <TopicArn>arn:aws:sns:us-east-1:698519295917:My-Topic</TopicArn>\n <Protocol>email</Protocol>\n <SubscriptionArn>arn:aws:sns:us-east-1:123456789012:My-Topic:80289ba6-0fd4-4079-afb4-ce8c8260f0ca</SubscriptionArn>\n <Owner>123456789012</Owner>\n <Endpoint>example@amazon.com</Endpoint>\n </member>\n </Subscriptions>\n </ListSubscriptionsResult>\n <ResponseMetadata>\n <RequestId>384ac68d-3775-11df-8963-01868b7c937a</RequestId>\n </ResponseMetadata>\n</ListSubscriptionsResponse>\n \n </queryresponse>\n</examples>\n "
|
1335
|
+
},
|
1336
|
+
"ListSubscriptionsByTopic": {
|
1337
|
+
"name": "ListSubscriptionsByTopic",
|
1338
|
+
"input": {
|
1339
|
+
"shape_name": "ListSubscriptionsByTopicInput",
|
1340
|
+
"type": "structure",
|
1341
|
+
"members": {
|
1342
|
+
"TopicArn": {
|
1343
|
+
"shape_name": "topicARN",
|
1344
|
+
"type": "string",
|
1345
|
+
"documentation": "\n <p>The ARN of the topic for which you wish to find subscriptions.</p>\n ",
|
1346
|
+
"required": true
|
1347
|
+
},
|
1348
|
+
"NextToken": {
|
1349
|
+
"shape_name": "nextToken",
|
1350
|
+
"type": "string",
|
1351
|
+
"documentation": "\n <p>Token returned by the previous <code>ListSubscriptionsByTopic</code> request.</p>\n "
|
1352
|
+
}
|
1353
|
+
},
|
1354
|
+
"documentation": "\n <p>Input for ListSubscriptionsByTopic action.</p> \n "
|
1355
|
+
},
|
1356
|
+
"output": {
|
1357
|
+
"shape_name": "ListSubscriptionsByTopicResponse",
|
1358
|
+
"type": "structure",
|
1359
|
+
"members": {
|
1360
|
+
"Subscriptions": {
|
1361
|
+
"shape_name": "SubscriptionsList",
|
1362
|
+
"type": "list",
|
1363
|
+
"members": {
|
1364
|
+
"shape_name": "Subscription",
|
1365
|
+
"type": "structure",
|
1366
|
+
"members": {
|
1367
|
+
"SubscriptionArn": {
|
1368
|
+
"shape_name": "subscriptionARN",
|
1369
|
+
"type": "string",
|
1370
|
+
"documentation": "\n <p>The subscription's ARN.</p>\n "
|
1371
|
+
},
|
1372
|
+
"Owner": {
|
1373
|
+
"shape_name": "account",
|
1374
|
+
"type": "string",
|
1375
|
+
"documentation": "\n <p>The subscription's owner.</p>\n "
|
1376
|
+
},
|
1377
|
+
"Protocol": {
|
1378
|
+
"shape_name": "protocol",
|
1379
|
+
"type": "string",
|
1380
|
+
"documentation": "\n <p>The subscription's protocol.</p>\n "
|
1381
|
+
},
|
1382
|
+
"Endpoint": {
|
1383
|
+
"shape_name": "endpoint",
|
1384
|
+
"type": "string",
|
1385
|
+
"documentation": "\n <p>The subscription's endpoint (format depends on the protocol).</p>\n "
|
1386
|
+
},
|
1387
|
+
"TopicArn": {
|
1388
|
+
"shape_name": "topicARN",
|
1389
|
+
"type": "string",
|
1390
|
+
"documentation": "\n <p>The ARN of the subscription's topic.</p>\n "
|
1391
|
+
}
|
1392
|
+
},
|
1393
|
+
"documentation": "<p>A wrapper type for the attributes of an SNS subscription.</p>"
|
1394
|
+
},
|
1395
|
+
"documentation": "\n <p>A list of subscriptions.</p>\n "
|
1396
|
+
},
|
1397
|
+
"NextToken": {
|
1398
|
+
"shape_name": "nextToken",
|
1399
|
+
"type": "string",
|
1400
|
+
"documentation": "\n <p>Token to pass along to the next <code>ListSubscriptionsByTopic</code> request. This element is returned if there are more subscriptions to retrieve.</p>\n "
|
1401
|
+
}
|
1402
|
+
},
|
1403
|
+
"documentation": "\n <p>Response for ListSubscriptionsByTopic action.</p> \n "
|
1404
|
+
},
|
1405
|
+
"errors": [
|
1406
|
+
{
|
1407
|
+
"shape_name": "InvalidParameterException",
|
1408
|
+
"type": "structure",
|
1409
|
+
"members": {
|
1410
|
+
"message": {
|
1411
|
+
"shape_name": "string",
|
1412
|
+
"type": "string",
|
1413
|
+
"documentation": null
|
1414
|
+
}
|
1415
|
+
},
|
1416
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1417
|
+
},
|
1418
|
+
{
|
1419
|
+
"shape_name": "InternalErrorException",
|
1420
|
+
"type": "structure",
|
1421
|
+
"members": {
|
1422
|
+
"message": {
|
1423
|
+
"shape_name": "string",
|
1424
|
+
"type": "string",
|
1425
|
+
"documentation": null
|
1426
|
+
}
|
1427
|
+
},
|
1428
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1429
|
+
},
|
1430
|
+
{
|
1431
|
+
"shape_name": "NotFoundException",
|
1432
|
+
"type": "structure",
|
1433
|
+
"members": {
|
1434
|
+
"message": {
|
1435
|
+
"shape_name": "string",
|
1436
|
+
"type": "string",
|
1437
|
+
"documentation": null
|
1438
|
+
}
|
1439
|
+
},
|
1440
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1441
|
+
},
|
1442
|
+
{
|
1443
|
+
"shape_name": "AuthorizationErrorException",
|
1444
|
+
"type": "structure",
|
1445
|
+
"members": {
|
1446
|
+
"message": {
|
1447
|
+
"shape_name": "string",
|
1448
|
+
"type": "string",
|
1449
|
+
"documentation": null
|
1450
|
+
}
|
1451
|
+
},
|
1452
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1453
|
+
}
|
1454
|
+
],
|
1455
|
+
"documentation": "\n <p>The <code>ListSubscriptionsByTopic</code> action returns a list of the subscriptions to a specific topic. Each call returns \n a limited list of subscriptions, up to 100. If there are more subscriptions, a <code>NextToken</code> is also returned. Use the <code>NextToken</code> \n parameter in a new <code>ListSubscriptionsByTopic</code> call to get further results.</p>\n <examples>\n <queryrequest>\n \n http://sns.us-east-1.amazonaws.com/\n ?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic\n &Action=ListSubscriptionsByTopic\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=SZmBxEPqfs9R7xxhSt6C1b7PnOEvg%2BSVyyMYJfLRFCA%3D\n\n </queryrequest>\n <queryresponse>\n \n<ListSubscriptionsByTopicResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ListSubscriptionsByTopicResult>\n <Subscriptions>\n <member>\n <TopicArn>arn:aws:sns:us-east-1:123456789012:My-Topic</TopicArn>\n <Protocol>email</Protocol>\n <SubscriptionArn>arn:aws:sns:us-east-1:123456789012:My-Topic:80289ba6-0fd4-4079-afb4-ce8c8260f0ca</SubscriptionArn>\n <Owner>123456789012</Owner>\n <Endpoint>example@amazon.com</Endpoint>\n </member>\n </Subscriptions>\n </ListSubscriptionsByTopicResult>\n <ResponseMetadata>\n <RequestId>b9275252-3774-11df-9540-99d0768312d3</RequestId>\n </ResponseMetadata>\n</ListSubscriptionsByTopicResponse>\n \n </queryresponse>\n </examples>\n "
|
1456
|
+
},
|
1457
|
+
"ListTopics": {
|
1458
|
+
"name": "ListTopics",
|
1459
|
+
"input": {
|
1460
|
+
"shape_name": "ListTopicsInput",
|
1461
|
+
"type": "structure",
|
1462
|
+
"members": {
|
1463
|
+
"NextToken": {
|
1464
|
+
"shape_name": "nextToken",
|
1465
|
+
"type": "string",
|
1466
|
+
"documentation": "\n <p>Token returned by the previous <code>ListTopics</code> request.</p>\n "
|
1467
|
+
}
|
1468
|
+
},
|
1469
|
+
"documentation": null
|
1470
|
+
},
|
1471
|
+
"output": {
|
1472
|
+
"shape_name": "ListTopicsResponse",
|
1473
|
+
"type": "structure",
|
1474
|
+
"members": {
|
1475
|
+
"Topics": {
|
1476
|
+
"shape_name": "TopicsList",
|
1477
|
+
"type": "list",
|
1478
|
+
"members": {
|
1479
|
+
"shape_name": "Topic",
|
1480
|
+
"type": "structure",
|
1481
|
+
"members": {
|
1482
|
+
"TopicArn": {
|
1483
|
+
"shape_name": "topicARN",
|
1484
|
+
"type": "string",
|
1485
|
+
"documentation": "\n <p>The topic's ARN.</p>\n "
|
1486
|
+
}
|
1487
|
+
},
|
1488
|
+
"documentation": "<p>A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use <code>GetTopicAttributes</code>.</p>"
|
1489
|
+
},
|
1490
|
+
"documentation": "\n <p>A list of topic ARNs.</p>\n "
|
1491
|
+
},
|
1492
|
+
"NextToken": {
|
1493
|
+
"shape_name": "nextToken",
|
1494
|
+
"type": "string",
|
1495
|
+
"documentation": "\n <p>Token to pass along to the next <code>ListTopics</code> request. This element is returned if there are additional topics to retrieve.</p>\n "
|
1496
|
+
}
|
1497
|
+
},
|
1498
|
+
"documentation": "\n <p>Response for ListTopics action.</p>\n "
|
1499
|
+
},
|
1500
|
+
"errors": [
|
1501
|
+
{
|
1502
|
+
"shape_name": "InvalidParameterException",
|
1503
|
+
"type": "structure",
|
1504
|
+
"members": {
|
1505
|
+
"message": {
|
1506
|
+
"shape_name": "string",
|
1507
|
+
"type": "string",
|
1508
|
+
"documentation": null
|
1509
|
+
}
|
1510
|
+
},
|
1511
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1512
|
+
},
|
1513
|
+
{
|
1514
|
+
"shape_name": "InternalErrorException",
|
1515
|
+
"type": "structure",
|
1516
|
+
"members": {
|
1517
|
+
"message": {
|
1518
|
+
"shape_name": "string",
|
1519
|
+
"type": "string",
|
1520
|
+
"documentation": null
|
1521
|
+
}
|
1522
|
+
},
|
1523
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1524
|
+
},
|
1525
|
+
{
|
1526
|
+
"shape_name": "AuthorizationErrorException",
|
1527
|
+
"type": "structure",
|
1528
|
+
"members": {
|
1529
|
+
"message": {
|
1530
|
+
"shape_name": "string",
|
1531
|
+
"type": "string",
|
1532
|
+
"documentation": null
|
1533
|
+
}
|
1534
|
+
},
|
1535
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1536
|
+
}
|
1537
|
+
],
|
1538
|
+
"documentation": "\n <p>The <code>ListTopics</code> action returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If\n there are more topics, a <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in a new <code>ListTopics</code> call to get \n further results.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?Action=ListTopics\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=tPg1qKNTNVPydnL3Yx5Fqm2O9GxCr9vh3EF5r9%2F5%2BJs%3D\n\n </queryrequest>\n <queryresponse>\n \n<ListTopicsResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ListTopicsResult>\n <Topics>\n <member>\n <TopicArn>arn:aws:sns:us-east-1:123456789012:My-Topic</TopicArn>\n </member>\n </Topics>\n </ListTopicsResult>\n <ResponseMetadata>\n <RequestId>3f1478c7-33a9-11df-9540-99d0768312d3</RequestId>\n </ResponseMetadata>\n</ListTopicsResponse>\n \n </queryresponse>\n</examples>\n "
|
1539
|
+
},
|
1540
|
+
"Publish": {
|
1541
|
+
"name": "Publish",
|
1542
|
+
"input": {
|
1543
|
+
"shape_name": "PublishInput",
|
1544
|
+
"type": "structure",
|
1545
|
+
"members": {
|
1546
|
+
"TopicArn": {
|
1547
|
+
"shape_name": "topicARN",
|
1548
|
+
"type": "string",
|
1549
|
+
"documentation": "\n <p>The topic you want to publish to.</p>\n "
|
1550
|
+
},
|
1551
|
+
"TargetArn": {
|
1552
|
+
"shape_name": "String",
|
1553
|
+
"type": "string",
|
1554
|
+
"documentation": "\n <p>Either TopicArn or EndpointArn, but not both.</p> \n "
|
1555
|
+
},
|
1556
|
+
"Message": {
|
1557
|
+
"shape_name": "message",
|
1558
|
+
"type": "string",
|
1559
|
+
"documentation": "\n <p>The message you want to send to the topic.</p>\n <p>If you want to send the same message to all transport protocols,\n include the text of the message as a String value.</p>\n <p>If you want to send different messages for each transport protocol,\n set the value of the <code>MessageStructure</code> parameter to <code>json</code>\n and use a JSON object for the <code>Message</code> parameter.\n See the Examples section for the format of the JSON object. </p>\n <p>Constraints: Messages must be UTF-8 encoded\n strings at most 256 KB in size (262144 bytes, not 262144 characters).</p>\n <p>JSON-specific constraints:\n <ul>\n <li>Keys in the JSON object that correspond to supported transport\n protocols must have simple JSON string values. </li>\n <li>The values will be parsed (unescaped)\n before they are used in outgoing messages.</li>\n <li>Outbound notifications are JSON\n encoded (meaning that the characters will be reescaped for sending).</li>\n <li>Values have a minimum length of 0 (the empty string, \"\", is allowed).</li>\n <li>Values have a maximum length bounded by the overall message size (so, including\n multiple protocols may limit message sizes).</li>\n <li>Non-string values will cause the key\n to be ignored.</li>\n <li>Keys that do not correspond to supported transport protocols are ignored.</li>\n <li>Duplicate keys are not allowed.</li>\n <li>Failure to parse or validate any key or\n value in the message will cause the <code>Publish</code> call to return an error (no partial\n delivery).</li>\n </ul>\n </p>\n ",
|
1560
|
+
"required": true
|
1561
|
+
},
|
1562
|
+
"Subject": {
|
1563
|
+
"shape_name": "subject",
|
1564
|
+
"type": "string",
|
1565
|
+
"documentation": "\n <p>Optional parameter to be used as the \"Subject\" line when the message is\n delivered to email endpoints. This field will also be included, if present, \n in the standard JSON messages delivered to other endpoints.</p>\n <p>Constraints: Subjects must be ASCII text that begins with a letter, number, \n or punctuation mark; must not include line breaks or control characters; and \n must be less than 100 characters long.</p>\n "
|
1566
|
+
},
|
1567
|
+
"MessageStructure": {
|
1568
|
+
"shape_name": "messageStructure",
|
1569
|
+
"type": "string",
|
1570
|
+
"documentation": "\n <p>Set <code>MessageStructure</code> to <code>json</code> if you want to send\n a different message for each protocol. For example, using one publish action,\n you can send a short message to your SMS subscribers and a longer message to\n your email subscribers.\n If you set <code>MessageStructure</code> to <code>json</code>, the value of \n the <code>Message</code> parameter must:\n </p>\n <ul>\n <li>be a syntactically valid JSON object; and</li>\n <li>contain at least a top-level JSON key of \"default\" with a value that is a string.</li>\n </ul>\n <p> You can define other top-level keys that define the message you want to send\n to a specific transport protocol (e.g., \"http\"). </p>\n <p>For information about sending different messages for each protocol using\n the AWS Management Console, go to <a href=\"http://docs.aws.amazon.com/sns/latest/gsg/Publish.html#sns-message-formatting-by-protocol\">Create \n Different Messages for Each Protocol</a> in the <i>Amazon Simple Notification Service\n Getting Started Guide</i>.\n </p>\n\n <p>Valid value: <code>json</code></p>\n "
|
1571
|
+
}
|
1572
|
+
},
|
1573
|
+
"documentation": "\n <p>Input for Publish action.</p>\n "
|
1574
|
+
},
|
1575
|
+
"output": {
|
1576
|
+
"shape_name": "PublishResponse",
|
1577
|
+
"type": "structure",
|
1578
|
+
"members": {
|
1579
|
+
"MessageId": {
|
1580
|
+
"shape_name": "messageId",
|
1581
|
+
"type": "string",
|
1582
|
+
"documentation": "\n <p>Unique identifier assigned to the published message.</p>\n <p>Length Constraint: Maximum 100 characters</p>\n\n "
|
1583
|
+
}
|
1584
|
+
},
|
1585
|
+
"documentation": "\n <p>Response for Publish action.</p>\n "
|
1586
|
+
},
|
1587
|
+
"errors": [
|
1588
|
+
{
|
1589
|
+
"shape_name": "InvalidParameterException",
|
1590
|
+
"type": "structure",
|
1591
|
+
"members": {
|
1592
|
+
"message": {
|
1593
|
+
"shape_name": "string",
|
1594
|
+
"type": "string",
|
1595
|
+
"documentation": null
|
1596
|
+
}
|
1597
|
+
},
|
1598
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1599
|
+
},
|
1600
|
+
{
|
1601
|
+
"shape_name": "InternalErrorException",
|
1602
|
+
"type": "structure",
|
1603
|
+
"members": {
|
1604
|
+
"message": {
|
1605
|
+
"shape_name": "string",
|
1606
|
+
"type": "string",
|
1607
|
+
"documentation": null
|
1608
|
+
}
|
1609
|
+
},
|
1610
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1611
|
+
},
|
1612
|
+
{
|
1613
|
+
"shape_name": "NotFoundException",
|
1614
|
+
"type": "structure",
|
1615
|
+
"members": {
|
1616
|
+
"message": {
|
1617
|
+
"shape_name": "string",
|
1618
|
+
"type": "string",
|
1619
|
+
"documentation": null
|
1620
|
+
}
|
1621
|
+
},
|
1622
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1623
|
+
},
|
1624
|
+
{
|
1625
|
+
"shape_name": "EndpointDisabledException",
|
1626
|
+
"type": "structure",
|
1627
|
+
"members": {
|
1628
|
+
"message": {
|
1629
|
+
"shape_name": "string",
|
1630
|
+
"type": "string",
|
1631
|
+
"documentation": "\n <p>Message for endpoint disabled.</p> \n "
|
1632
|
+
}
|
1633
|
+
},
|
1634
|
+
"documentation": "\n <p>Exception error indicating endpoint disabled.</p> \n "
|
1635
|
+
},
|
1636
|
+
{
|
1637
|
+
"shape_name": "PlatformApplicationDisabledException",
|
1638
|
+
"type": "structure",
|
1639
|
+
"members": {
|
1640
|
+
"message": {
|
1641
|
+
"shape_name": "string",
|
1642
|
+
"type": "string",
|
1643
|
+
"documentation": "\n <p>Message for platform application disabled.</p> \n "
|
1644
|
+
}
|
1645
|
+
},
|
1646
|
+
"documentation": "\n <p>Exception error indicating platform application disabled.</p> \n "
|
1647
|
+
},
|
1648
|
+
{
|
1649
|
+
"shape_name": "AuthorizationErrorException",
|
1650
|
+
"type": "structure",
|
1651
|
+
"members": {
|
1652
|
+
"message": {
|
1653
|
+
"shape_name": "string",
|
1654
|
+
"type": "string",
|
1655
|
+
"documentation": null
|
1656
|
+
}
|
1657
|
+
},
|
1658
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1659
|
+
}
|
1660
|
+
],
|
1661
|
+
"documentation": "\n <p>The <code>Publish</code> action sends a message to all of a topic's subscribed endpoints. When a\n <code>messageId</code> is returned, the message has been saved and Amazon SNS will attempt to deliver it \n to the topic's subscribers shortly. The format of the outgoing message to each\n subscribed endpoint depends on the notification protocol selected.</p>\n <p>To use the <code>Publish</code> action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, \n you must specify the EndpointArn. The EndpointArn is returned when making a call with the <code>CreatePlatformEndpoint</code> action. \n The second example below shows a request and response for publishing to a mobile endpoint.\n </p>\n <examples>\n <queryrequest>\n \n The following example publishes the same message to all protocols:\n \n http://sns.us-east-1.amazonaws.com/\n ?Subject=My%20first%20message\n &TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A698519295917%3AMy-Topic\n &Message=Hello%20world%21\n &Action=Publish\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n &Signature=9GZysQ4Jpnz%2BHklqM7VFTvEcjR2LIUtn6jW47054xxE%3D\n \n Use the following JSON object format for the Message parameter to send different messages to each protocol (linebreaks added for readability):\n {\n \"default\" : \"some message\",\n \"email\" : \"some email message\",\n \"email-json\" : \"some email-json message\",\n \"http\" : \"some http message\",\n \"https\" : \"some https message\",\n \"sqs\" : \"some sqs message\"\n }\n \n\n </queryrequest>\n <queryresponse>\n \n<PublishResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <PublishResult>\n <MessageId>94f20ce6-13c5-43a0-9a9e-ca52d816e90b</MessageId>\n </PublishResult>\n <ResponseMetadata>\n <RequestId>f187a3c1-376f-11df-8963-01868b7c937a</RequestId>\n </ResponseMetadata>\n</PublishResponse>\n \n </queryresponse>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nAction=Publish\n&Message=%7B%22default%22%3A%22This+is+the+default+Message%22%2C%22APNS_SANDBOX%22%3A%22%7B+%5C%22aps%5C%22+%3A+%7B+%5C%22alert%5C%22+%3A+%5C%22You+have+got+email.%5C%22%2C+%5C%22badge%5C%22+%3A+9%2C%5C%22sound%5C%22+%3A%5C%22default%5C%22%7D%7D%22%7D\n&TargetArn=arn%3Aaws%3Asns%3Aus-west-2%3A803981987763%3Aendpoint%2FAPNS_SANDBOX%2Fpushapp%2F98e9ced9-f136-3893-9d60-776547eafebb\n&SignatureMethod=HmacSHA256\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=vmqc4XRupKAxsDAdN4j4Ayw5LQljXMps3kss4bkDfCk%3D\n&Timestamp=2013-07-18T22%3A44%3A09.452Z\n&MessageStructure=json\n \n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<PublishResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <PublishResult>\n <MessageId>567910cd-659e-55d4-8ccb-5aaf14679dc0</MessageId>\n </PublishResult>\n <ResponseMetadata>\n <RequestId>d74b8436-ae13-5ab4-a9ff-ce54dfea72a0</RequestId>\n </ResponseMetadata>\n</PublishResponse>\n \n </queryresponse>\n </examples>\n "
|
1662
|
+
},
|
1663
|
+
"RemovePermission": {
|
1664
|
+
"name": "RemovePermission",
|
1665
|
+
"input": {
|
1666
|
+
"shape_name": "RemovePermissionInput",
|
1667
|
+
"type": "structure",
|
1668
|
+
"members": {
|
1669
|
+
"TopicArn": {
|
1670
|
+
"shape_name": "topicARN",
|
1671
|
+
"type": "string",
|
1672
|
+
"documentation": "\n <p>The ARN of the topic whose access control policy you wish to modify.</p>\n ",
|
1673
|
+
"required": true
|
1674
|
+
},
|
1675
|
+
"Label": {
|
1676
|
+
"shape_name": "label",
|
1677
|
+
"type": "string",
|
1678
|
+
"documentation": "\n <p>The unique label of the statement you want to remove.</p>\n ",
|
1679
|
+
"required": true
|
1680
|
+
}
|
1681
|
+
},
|
1682
|
+
"documentation": "\n <p>Input for RemovePermission action.</p> \n "
|
1683
|
+
},
|
1684
|
+
"output": null,
|
1685
|
+
"errors": [
|
1686
|
+
{
|
1687
|
+
"shape_name": "InvalidParameterException",
|
1688
|
+
"type": "structure",
|
1689
|
+
"members": {
|
1690
|
+
"message": {
|
1691
|
+
"shape_name": "string",
|
1692
|
+
"type": "string",
|
1693
|
+
"documentation": null
|
1694
|
+
}
|
1695
|
+
},
|
1696
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1697
|
+
},
|
1698
|
+
{
|
1699
|
+
"shape_name": "InternalErrorException",
|
1700
|
+
"type": "structure",
|
1701
|
+
"members": {
|
1702
|
+
"message": {
|
1703
|
+
"shape_name": "string",
|
1704
|
+
"type": "string",
|
1705
|
+
"documentation": null
|
1706
|
+
}
|
1707
|
+
},
|
1708
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1709
|
+
},
|
1710
|
+
{
|
1711
|
+
"shape_name": "AuthorizationErrorException",
|
1712
|
+
"type": "structure",
|
1713
|
+
"members": {
|
1714
|
+
"message": {
|
1715
|
+
"shape_name": "string",
|
1716
|
+
"type": "string",
|
1717
|
+
"documentation": null
|
1718
|
+
}
|
1719
|
+
},
|
1720
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1721
|
+
},
|
1722
|
+
{
|
1723
|
+
"shape_name": "NotFoundException",
|
1724
|
+
"type": "structure",
|
1725
|
+
"members": {
|
1726
|
+
"message": {
|
1727
|
+
"shape_name": "string",
|
1728
|
+
"type": "string",
|
1729
|
+
"documentation": null
|
1730
|
+
}
|
1731
|
+
},
|
1732
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1733
|
+
}
|
1734
|
+
],
|
1735
|
+
"documentation": "\n <p>The <code>RemovePermission</code> action removes a statement from a topic's access control policy.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Test\n &Label=NewPermission\n &Action=RemovePermission\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=N1abwRY9i7zaSQmbAlm71pPf9EEFOqNbQL1alzw2yCg%3D\n\n </queryrequest>\n <queryresponse>\n \n<RemovePermissionResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>d170b150-33a8-11df-995a-2d6fbe836cc1</RequestId>\n </ResponseMetadata>\n</RemovePermissionResponse>\n \n </queryresponse>\n</examples>\n "
|
1736
|
+
},
|
1737
|
+
"SetEndpointAttributes": {
|
1738
|
+
"name": "SetEndpointAttributes",
|
1739
|
+
"input": {
|
1740
|
+
"shape_name": "SetEndpointAttributesInput",
|
1741
|
+
"type": "structure",
|
1742
|
+
"members": {
|
1743
|
+
"EndpointArn": {
|
1744
|
+
"shape_name": "String",
|
1745
|
+
"type": "string",
|
1746
|
+
"documentation": "\n <p>EndpointArn used for SetEndpointAttributes action.</p> \n ",
|
1747
|
+
"required": true
|
1748
|
+
},
|
1749
|
+
"Attributes": {
|
1750
|
+
"shape_name": "MapStringToString",
|
1751
|
+
"type": "map",
|
1752
|
+
"keys": {
|
1753
|
+
"shape_name": "String",
|
1754
|
+
"type": "string",
|
1755
|
+
"documentation": null
|
1756
|
+
},
|
1757
|
+
"members": {
|
1758
|
+
"shape_name": "String",
|
1759
|
+
"type": "string",
|
1760
|
+
"documentation": null
|
1761
|
+
},
|
1762
|
+
"documentation": "\n <p>A map of the endpoint attributes. Attributes in this map include the following:</p>\n <ul>\n <!-- Policy is not yet supported. Will remove comments once it is available -->\n <li>\n<code>CustomUserData</code> -- arbitrary user data to associate with the endpoint. SNS does not use this data. The data must be in UTF-8 format and less than 2KB.</li>\n <li>\n<code>Enabled</code> -- flag that enables/disables delivery to the endpoint. \n Message Processor will set this to false when a notification service indicates to SNS that the endpoint is invalid. \n Users can set it back to true, typically after updating Token.</li>\n <!-- <li><code>Policy</code> access policy controlling who can send messages to this endpoint .</li> -->\n <li>\n<code>Token</code> -- device token, also referred to as a registration id, for an app and mobile device. \n This is returned from the notification service when an app and mobile device are registered with the notification service.</li> \n </ul> \n ",
|
1763
|
+
"required": true
|
1764
|
+
}
|
1765
|
+
},
|
1766
|
+
"documentation": "\n <p>Input for SetEndpointAttributes action.</p> \n "
|
1767
|
+
},
|
1768
|
+
"output": null,
|
1769
|
+
"errors": [
|
1770
|
+
{
|
1771
|
+
"shape_name": "InvalidParameterException",
|
1772
|
+
"type": "structure",
|
1773
|
+
"members": {
|
1774
|
+
"message": {
|
1775
|
+
"shape_name": "string",
|
1776
|
+
"type": "string",
|
1777
|
+
"documentation": null
|
1778
|
+
}
|
1779
|
+
},
|
1780
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1781
|
+
},
|
1782
|
+
{
|
1783
|
+
"shape_name": "InternalErrorException",
|
1784
|
+
"type": "structure",
|
1785
|
+
"members": {
|
1786
|
+
"message": {
|
1787
|
+
"shape_name": "string",
|
1788
|
+
"type": "string",
|
1789
|
+
"documentation": null
|
1790
|
+
}
|
1791
|
+
},
|
1792
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1793
|
+
},
|
1794
|
+
{
|
1795
|
+
"shape_name": "AuthorizationErrorException",
|
1796
|
+
"type": "structure",
|
1797
|
+
"members": {
|
1798
|
+
"message": {
|
1799
|
+
"shape_name": "string",
|
1800
|
+
"type": "string",
|
1801
|
+
"documentation": null
|
1802
|
+
}
|
1803
|
+
},
|
1804
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1805
|
+
},
|
1806
|
+
{
|
1807
|
+
"shape_name": "NotFoundException",
|
1808
|
+
"type": "structure",
|
1809
|
+
"members": {
|
1810
|
+
"message": {
|
1811
|
+
"shape_name": "string",
|
1812
|
+
"type": "string",
|
1813
|
+
"documentation": null
|
1814
|
+
}
|
1815
|
+
},
|
1816
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1817
|
+
}
|
1818
|
+
],
|
1819
|
+
"documentation": "\n <p>The <code>SetEndpointAttributes</code> action sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM and APNS.\n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nAttributes.entry.1.key=CustomUserData\n&Action=SetEndpointAttributes\n&SignatureMethod=HmacSHA256\n&Attributes.entry.1.value=My+custom+userdata\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&EndpointArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aendpoint%2FGCM%2Fgcmpushapp%2F5e3e9847-3183-3f18-a7e8-671c3a57d4b3\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=CFTGfGOS5vgSU3%2FZgv2h%2FJdWgr2JQdDJSrUU9k38wSM%3D\n&Timestamp=2013-07-01T22%3A56%3A45.582Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<SetEndpointAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>2fe0bfc7-3e85-5ee5-a9e2-f58b35e85f6a</RequestId>\n </ResponseMetadata>\n</SetEndpointAttributesResponse>\n\n </queryresponse>\n </examples> \n "
|
1820
|
+
},
|
1821
|
+
"SetPlatformApplicationAttributes": {
|
1822
|
+
"name": "SetPlatformApplicationAttributes",
|
1823
|
+
"input": {
|
1824
|
+
"shape_name": "SetPlatformApplicationAttributesInput",
|
1825
|
+
"type": "structure",
|
1826
|
+
"members": {
|
1827
|
+
"PlatformApplicationArn": {
|
1828
|
+
"shape_name": "String",
|
1829
|
+
"type": "string",
|
1830
|
+
"documentation": "\n <p>PlatformApplicationArn for SetPlatformApplicationAttributes action.</p> \n ",
|
1831
|
+
"required": true
|
1832
|
+
},
|
1833
|
+
"Attributes": {
|
1834
|
+
"shape_name": "MapStringToString",
|
1835
|
+
"type": "map",
|
1836
|
+
"keys": {
|
1837
|
+
"shape_name": "String",
|
1838
|
+
"type": "string",
|
1839
|
+
"documentation": null
|
1840
|
+
},
|
1841
|
+
"members": {
|
1842
|
+
"shape_name": "String",
|
1843
|
+
"type": "string",
|
1844
|
+
"documentation": null
|
1845
|
+
},
|
1846
|
+
"documentation": "\n <p>A map of the platform application attributes. Attributes in this map include the following:</p>\n <ul>\n <!-- AllowEndpointPolicies, EventDeliveryAttemptFailure, and Policy are not yet supported. Will remove comments once it is available -->\n <li>\n<code>PlatformCredential</code> -- The credential received from the notification service. For APNS/APNS_SANDBOX, PlatformCredential is \"private key\". \n For GCM, PlatformCredential is \"API key\". For ADM,<!-- , WNS and MPNS--> PlatformCredential is \"client secret\".</li>\n <li>\n<code>PlatformPrincipal</code> -- The principal received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is \"SSL certificate\". \n For GCM, PlatformPrincipal is not applicable. For ADM,<!-- , WNS and MPNS--> PlatformPrincipal is \"client id\".</li>\n <!-- <li><code>AllowEndpointPolicies</code> true or false (default false) - If true, then policies on endpoints will be evaluated to determine if the topic or user has the rights to send messages to it. \n If false, the endpoint policy will be ignored and only the mobile app policy will be considered.</li> -->\n <li>\n<code>EventEndpointCreated</code> -- Topic ARN to which EndpointCreated event notifications should be sent.</li>\n <li>\n<code>EventEndpointDeleted</code> -- Topic ARN to which EndpointDeleted event notifications should be sent.</li>\n <li>\n<code>EventEndpointUpdated</code> -- Topic ARN to which EndpointUpdate event notifications should be sent.</li>\n <!-- <li><code>EventDeliveryAttemptFailure</code> Topic ARN to which DeliveryAttemptFailure event notifications should be sent upon Direct Publish delivery attempt failures to one of the application's endpoints.</li> -->\n <li>\n<code>EventDeliveryFailure</code> -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.</li>\n <!-- <li><code>Policy</code> Access policy controlling who can send messages to endpoints under this mobile app.</li> -->\n </ul> \n ",
|
1847
|
+
"required": true
|
1848
|
+
}
|
1849
|
+
},
|
1850
|
+
"documentation": "\n <p>Input for SetPlatformApplicationAttributes action.</p> \n "
|
1851
|
+
},
|
1852
|
+
"output": null,
|
1853
|
+
"errors": [
|
1854
|
+
{
|
1855
|
+
"shape_name": "InvalidParameterException",
|
1856
|
+
"type": "structure",
|
1857
|
+
"members": {
|
1858
|
+
"message": {
|
1859
|
+
"shape_name": "string",
|
1860
|
+
"type": "string",
|
1861
|
+
"documentation": null
|
1862
|
+
}
|
1863
|
+
},
|
1864
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1865
|
+
},
|
1866
|
+
{
|
1867
|
+
"shape_name": "InternalErrorException",
|
1868
|
+
"type": "structure",
|
1869
|
+
"members": {
|
1870
|
+
"message": {
|
1871
|
+
"shape_name": "string",
|
1872
|
+
"type": "string",
|
1873
|
+
"documentation": null
|
1874
|
+
}
|
1875
|
+
},
|
1876
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1877
|
+
},
|
1878
|
+
{
|
1879
|
+
"shape_name": "AuthorizationErrorException",
|
1880
|
+
"type": "structure",
|
1881
|
+
"members": {
|
1882
|
+
"message": {
|
1883
|
+
"shape_name": "string",
|
1884
|
+
"type": "string",
|
1885
|
+
"documentation": null
|
1886
|
+
}
|
1887
|
+
},
|
1888
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1889
|
+
},
|
1890
|
+
{
|
1891
|
+
"shape_name": "NotFoundException",
|
1892
|
+
"type": "structure",
|
1893
|
+
"members": {
|
1894
|
+
"message": {
|
1895
|
+
"shape_name": "string",
|
1896
|
+
"type": "string",
|
1897
|
+
"documentation": null
|
1898
|
+
}
|
1899
|
+
},
|
1900
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1901
|
+
}
|
1902
|
+
],
|
1903
|
+
"documentation": "\n <p>The <code>SetPlatformApplicationAttributes</code> action sets the attributes of the platform application object for the supported push notification services, \n such as APNS and GCM.\n For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>.\n </p>\n <examples>\n <queryrequest>\n \nPOST http://sns.us-west-2.amazonaws.com/ HTTP/1.1\n...\nAttributes.entry.1.key=EventEndpointCreated&PlatformApplicationArn=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Aapp%2FGCM%2Fgcmpushapp\n&Action=SetPlatformApplicationAttributes\n&SignatureMethod=HmacSHA256\n&Attributes.entry.1.value=arn%3Aaws%3Asns%3Aus-west-2%3A123456789012%3Atopicarn\n&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE\n&SignatureVersion=2\n&Version=2010-03-31\n&Signature=06L2TsW3jiH%2FGKDYuT8w4NojSrTf4Ig2GKqGeJPhPT4%3D\n&Timestamp=2013-07-01T22%3A53%3A17.800Z\n\n </queryrequest>\n <queryresponse>\n \nHTTP/1.1 200 OK\n...\n<SetPlatformApplicationAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>cf577bcc-b3dc-5463-88f1-3180b9412395</RequestId>\n </ResponseMetadata>\n</SetPlatformApplicationAttributesResponse>\n\n </queryresponse>\n </examples> \n "
|
1904
|
+
},
|
1905
|
+
"SetSubscriptionAttributes": {
|
1906
|
+
"name": "SetSubscriptionAttributes",
|
1907
|
+
"input": {
|
1908
|
+
"shape_name": "SetSubscriptionAttributesInput",
|
1909
|
+
"type": "structure",
|
1910
|
+
"members": {
|
1911
|
+
"SubscriptionArn": {
|
1912
|
+
"shape_name": "subscriptionARN",
|
1913
|
+
"type": "string",
|
1914
|
+
"documentation": "\n <p>The ARN of the subscription to modify.</p>\n ",
|
1915
|
+
"required": true
|
1916
|
+
},
|
1917
|
+
"AttributeName": {
|
1918
|
+
"shape_name": "attributeName",
|
1919
|
+
"type": "string",
|
1920
|
+
"documentation": "\n <p>The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.</p>\n <p>Valid values: <code>DeliveryPolicy</code></p>\n ",
|
1921
|
+
"required": true
|
1922
|
+
},
|
1923
|
+
"AttributeValue": {
|
1924
|
+
"shape_name": "attributeValue",
|
1925
|
+
"type": "string",
|
1926
|
+
"documentation": "\n <p>The new value for the attribute in JSON format.</p>\n "
|
1927
|
+
}
|
1928
|
+
},
|
1929
|
+
"documentation": "\n <p>Input for SetSubscriptionAttributes action.</p>\n "
|
1930
|
+
},
|
1931
|
+
"output": null,
|
1932
|
+
"errors": [
|
1933
|
+
{
|
1934
|
+
"shape_name": "InvalidParameterException",
|
1935
|
+
"type": "structure",
|
1936
|
+
"members": {
|
1937
|
+
"message": {
|
1938
|
+
"shape_name": "string",
|
1939
|
+
"type": "string",
|
1940
|
+
"documentation": null
|
1941
|
+
}
|
1942
|
+
},
|
1943
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
1944
|
+
},
|
1945
|
+
{
|
1946
|
+
"shape_name": "InternalErrorException",
|
1947
|
+
"type": "structure",
|
1948
|
+
"members": {
|
1949
|
+
"message": {
|
1950
|
+
"shape_name": "string",
|
1951
|
+
"type": "string",
|
1952
|
+
"documentation": null
|
1953
|
+
}
|
1954
|
+
},
|
1955
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
1956
|
+
},
|
1957
|
+
{
|
1958
|
+
"shape_name": "NotFoundException",
|
1959
|
+
"type": "structure",
|
1960
|
+
"members": {
|
1961
|
+
"message": {
|
1962
|
+
"shape_name": "string",
|
1963
|
+
"type": "string",
|
1964
|
+
"documentation": null
|
1965
|
+
}
|
1966
|
+
},
|
1967
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
1968
|
+
},
|
1969
|
+
{
|
1970
|
+
"shape_name": "AuthorizationErrorException",
|
1971
|
+
"type": "structure",
|
1972
|
+
"members": {
|
1973
|
+
"message": {
|
1974
|
+
"shape_name": "string",
|
1975
|
+
"type": "string",
|
1976
|
+
"documentation": null
|
1977
|
+
}
|
1978
|
+
},
|
1979
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
1980
|
+
}
|
1981
|
+
],
|
1982
|
+
"documentation": "\n <p>The <code>SetSubscriptionAttributes</code> action allows a subscription owner to set an attribute of the topic to a new value.</p>\n<examples>\n <queryrequest>\n \nThe following example sets the delivery policy to 5 total retries\n \n http://sns.us-east-1.amazonaws.com/\n ?AttributeValue={\"healthyRetryPolicy\":{\"numRetries\":5}}\n &SubscriptionArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic%3A80289ba6-0fd4-4079-afb4-ce8c8260f0ca\n &AttributeName=DeliveryPolicy\n &Action=SetSubscriptionAttributes\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key Id)\n &Signature=mQA3nJI%2BcmAIY7r8HCArGElSqPX5JG4UGzF4yo0RygE%3D\n \nThe JSON format for the DeliveryPolicy AttributeValue (linebreaks added for readability):\n{\n \"healthyRetryPolicy\": \n {\n \"minDelayTarget\": <int>,\n \"maxDelayTarget\": <int>,\n \"numRetries\": <int>,\n \"numMaxDelayRetries\": <int>,\n \"backoffFunction\": \"<linear|arithmetic|geometric|exponential>\"\n },\n \"throttlePolicy\":\n {\n \"maxReceivesPerSecond\": <int>\n }\n}\n </queryrequest>\n <queryresponse>\n \n<SetSubscriptionAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>a8763b99-33a7-11df-a9b7-05d48da6f042</RequestId>\n </ResponseMetadata>\n</SetSubscriptionAttributesResponse>\n \n </queryresponse>\n</examples>\n\n\n "
|
1983
|
+
},
|
1984
|
+
"SetTopicAttributes": {
|
1985
|
+
"name": "SetTopicAttributes",
|
1986
|
+
"input": {
|
1987
|
+
"shape_name": "SetTopicAttributesInput",
|
1988
|
+
"type": "structure",
|
1989
|
+
"members": {
|
1990
|
+
"TopicArn": {
|
1991
|
+
"shape_name": "topicARN",
|
1992
|
+
"type": "string",
|
1993
|
+
"documentation": "\n <p>The ARN of the topic to modify.</p>\n ",
|
1994
|
+
"required": true
|
1995
|
+
},
|
1996
|
+
"AttributeName": {
|
1997
|
+
"shape_name": "attributeName",
|
1998
|
+
"type": "string",
|
1999
|
+
"documentation": "\n <p>The name of the attribute you want to set. Only a subset of the topic's attributes are mutable.</p>\n <p>Valid values: <code>Policy</code> | <code>DisplayName</code> | <code>DeliveryPolicy</code></p>\n ",
|
2000
|
+
"required": true
|
2001
|
+
},
|
2002
|
+
"AttributeValue": {
|
2003
|
+
"shape_name": "attributeValue",
|
2004
|
+
"type": "string",
|
2005
|
+
"documentation": "\n <p>The new value for the attribute.</p>\n \n\n "
|
2006
|
+
}
|
2007
|
+
},
|
2008
|
+
"documentation": "\n <p>Input for SetTopicAttributes action.</p> \n "
|
2009
|
+
},
|
2010
|
+
"output": null,
|
2011
|
+
"errors": [
|
2012
|
+
{
|
2013
|
+
"shape_name": "InvalidParameterException",
|
2014
|
+
"type": "structure",
|
2015
|
+
"members": {
|
2016
|
+
"message": {
|
2017
|
+
"shape_name": "string",
|
2018
|
+
"type": "string",
|
2019
|
+
"documentation": null
|
2020
|
+
}
|
2021
|
+
},
|
2022
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
2023
|
+
},
|
2024
|
+
{
|
2025
|
+
"shape_name": "InternalErrorException",
|
2026
|
+
"type": "structure",
|
2027
|
+
"members": {
|
2028
|
+
"message": {
|
2029
|
+
"shape_name": "string",
|
2030
|
+
"type": "string",
|
2031
|
+
"documentation": null
|
2032
|
+
}
|
2033
|
+
},
|
2034
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
2035
|
+
},
|
2036
|
+
{
|
2037
|
+
"shape_name": "NotFoundException",
|
2038
|
+
"type": "structure",
|
2039
|
+
"members": {
|
2040
|
+
"message": {
|
2041
|
+
"shape_name": "string",
|
2042
|
+
"type": "string",
|
2043
|
+
"documentation": null
|
2044
|
+
}
|
2045
|
+
},
|
2046
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
2047
|
+
},
|
2048
|
+
{
|
2049
|
+
"shape_name": "AuthorizationErrorException",
|
2050
|
+
"type": "structure",
|
2051
|
+
"members": {
|
2052
|
+
"message": {
|
2053
|
+
"shape_name": "string",
|
2054
|
+
"type": "string",
|
2055
|
+
"documentation": null
|
2056
|
+
}
|
2057
|
+
},
|
2058
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
2059
|
+
}
|
2060
|
+
],
|
2061
|
+
"documentation": "\n <p>The <code>SetTopicAttributes</code> action allows a topic owner to set an attribute of the topic to a new value.</p>\n<examples>\n <queryrequest>\nThe following example sets the DisplayName attribute to MyTopicName\n\n http://sns.us-east-1.amazonaws.com/\n ?AttributeValue=MyTopicName\n &TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic\n &AttributeName=DisplayName\n &Action=SetTopicAttributes\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key Id)\n &Signature=mQA3nJI%2BcmAIY7r8HCArGElSqPX5JG4UGzF4yo0RygE%3D\n \nThe following example sets the delivery policy to 5 total retries\n \n http://sns.us-east-1.amazonaws.com/\n ?AttributeValue={\"http\":{\"defaultHealthyRetryPolicy\":{\"numRetries\":5}}}\n &TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic\n &AttributeName=DeliveryPolicy\n &Action=SetTopicAttributes\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key Id)\n &Signature=mQA3nJI%2BcmAIY7r8HCArGElSqPX5JG4UGzF4yo0RygE%3D \n \nThe JSON format for the DeliveryPolicy AttributeValue (linebreaks added for readability):\n{\n \"http\": {\n \"defaultHealthyRetryPolicy\": \n {\n \"minDelayTarget\": <int>,\n \"maxDelayTarget\": <int>,\n \"numRetries\": <int>,\n \"numMaxDelayRetries\": <int>,\n \"backoffFunction\": \"<linear|arithmetic|geometric|exponential>\"\n },\n \"disableSubscriptionOverrides\": <boolean>,\n \"defaultThrottlePolicy\": \n {\n \"maxReceivesPerSecond\": <int>\n }\n }\n </queryrequest>\n <queryresponse>\n \n<SetTopicAttributesResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>a8763b99-33a7-11df-a9b7-05d48da6f042</RequestId>\n </ResponseMetadata>\n</SetTopicAttributesResponse>\n \n </queryresponse>\n</examples>\n\n\n "
|
2062
|
+
},
|
2063
|
+
"Subscribe": {
|
2064
|
+
"name": "Subscribe",
|
2065
|
+
"input": {
|
2066
|
+
"shape_name": "SubscribeInput",
|
2067
|
+
"type": "structure",
|
2068
|
+
"members": {
|
2069
|
+
"TopicArn": {
|
2070
|
+
"shape_name": "topicARN",
|
2071
|
+
"type": "string",
|
2072
|
+
"documentation": "\n <p>The ARN of the topic you want to subscribe to.</p>\n ",
|
2073
|
+
"required": true
|
2074
|
+
},
|
2075
|
+
"Protocol": {
|
2076
|
+
"shape_name": "protocol",
|
2077
|
+
"type": "string",
|
2078
|
+
"documentation": "\n <p>The protocol you want to use. Supported protocols include:</p>\n <ul>\n <li>\n<code>http</code> -- delivery of JSON-encoded message via HTTP POST</li>\n <li>\n<code>https</code> -- delivery of JSON-encoded message via HTTPS POST</li>\n <li>\n<code>email</code> -- delivery of message via SMTP</li>\n <li>\n<code>email-json</code> -- delivery of JSON-encoded message via SMTP</li>\n <li>\n<code>sms</code> -- delivery of message via SMS</li>\n <li>\n<code>sqs</code> -- delivery of JSON-encoded message to an Amazon SQS queue</li>\n <li>\n<code>application</code> -- delivery of JSON-encoded message to an EndpointArn for a mobile app and device.</li>\n </ul>\n ",
|
2079
|
+
"required": true
|
2080
|
+
},
|
2081
|
+
"Endpoint": {
|
2082
|
+
"shape_name": "endpoint",
|
2083
|
+
"type": "string",
|
2084
|
+
"documentation": "\n <p>The endpoint that you want to receive notifications. Endpoints vary by protocol:</p>\n <ul>\n <li>For the <code>http</code> protocol, the endpoint is an URL beginning with \"http://\"</li>\n <li>For the <code>https</code> protocol, the endpoint is a URL beginning with \"https://\"</li>\n <li>For the <code>email</code> protocol, the endpoint is an email address</li>\n <li>For the <code>email-json</code> protocol, the endpoint is an email address</li>\n <li>For the <code>sms</code> protocol, the endpoint is a phone number of an SMS-enabled device</li>\n <li>For the <code>sqs</code> protocol, the endpoint is the ARN of an Amazon SQS queue</li>\n <li>For the <code>application</code> protocol, the endpoint is the EndpointArn of a mobile app and device.</li>\n </ul>\n "
|
2085
|
+
}
|
2086
|
+
},
|
2087
|
+
"documentation": "\n Input for Subscribe action.\n "
|
2088
|
+
},
|
2089
|
+
"output": {
|
2090
|
+
"shape_name": "SubscribeResponse",
|
2091
|
+
"type": "structure",
|
2092
|
+
"members": {
|
2093
|
+
"SubscriptionArn": {
|
2094
|
+
"shape_name": "subscriptionARN",
|
2095
|
+
"type": "string",
|
2096
|
+
"documentation": "\n <p>The ARN of the subscription, if the service was able to create a \n subscription immediately (without requiring endpoint owner confirmation).</p>\n "
|
2097
|
+
}
|
2098
|
+
},
|
2099
|
+
"documentation": "\n Response for Subscribe action.\n "
|
2100
|
+
},
|
2101
|
+
"errors": [
|
2102
|
+
{
|
2103
|
+
"shape_name": "SubscriptionLimitExceededException",
|
2104
|
+
"type": "structure",
|
2105
|
+
"members": {
|
2106
|
+
"message": {
|
2107
|
+
"shape_name": "string",
|
2108
|
+
"type": "string",
|
2109
|
+
"documentation": null
|
2110
|
+
}
|
2111
|
+
},
|
2112
|
+
"documentation": "\n <p>Indicates that the customer already owns the maximum allowed number of subscriptions.</p>\n "
|
2113
|
+
},
|
2114
|
+
{
|
2115
|
+
"shape_name": "InvalidParameterException",
|
2116
|
+
"type": "structure",
|
2117
|
+
"members": {
|
2118
|
+
"message": {
|
2119
|
+
"shape_name": "string",
|
2120
|
+
"type": "string",
|
2121
|
+
"documentation": null
|
2122
|
+
}
|
2123
|
+
},
|
2124
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
2125
|
+
},
|
2126
|
+
{
|
2127
|
+
"shape_name": "InternalErrorException",
|
2128
|
+
"type": "structure",
|
2129
|
+
"members": {
|
2130
|
+
"message": {
|
2131
|
+
"shape_name": "string",
|
2132
|
+
"type": "string",
|
2133
|
+
"documentation": null
|
2134
|
+
}
|
2135
|
+
},
|
2136
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
2137
|
+
},
|
2138
|
+
{
|
2139
|
+
"shape_name": "NotFoundException",
|
2140
|
+
"type": "structure",
|
2141
|
+
"members": {
|
2142
|
+
"message": {
|
2143
|
+
"shape_name": "string",
|
2144
|
+
"type": "string",
|
2145
|
+
"documentation": null
|
2146
|
+
}
|
2147
|
+
},
|
2148
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
2149
|
+
},
|
2150
|
+
{
|
2151
|
+
"shape_name": "AuthorizationErrorException",
|
2152
|
+
"type": "structure",
|
2153
|
+
"members": {
|
2154
|
+
"message": {
|
2155
|
+
"shape_name": "string",
|
2156
|
+
"type": "string",
|
2157
|
+
"documentation": null
|
2158
|
+
}
|
2159
|
+
},
|
2160
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
2161
|
+
}
|
2162
|
+
],
|
2163
|
+
"documentation": "\n <p>The <code>Subscribe</code> action prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a\n subscription, the endpoint owner must call the <code>ConfirmSubscription</code>\n action with the token from the confirmation message. Confirmation tokens are\n valid for three days.</p>\n<examples>\n <queryrequest>\n\n http://sns.us-east-1.amazonaws.com/\n ?TopicArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic\n &Endpoint=example%40amazon.com\n &Protocol=email\n &Action=Subscribe\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=1%2FeGaDphxXq%2Fa89x6HvKh%2Fc1yLGXzuhS7vS2MslToDM%3D\n\n </queryrequest>\n <queryresponse>\n \n<SubscribeResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <SubscribeResult>\n <SubscriptionArn>pending confirmation</SubscriptionArn>\n </SubscribeResult>\n <ResponseMetadata>\n <RequestId>a169c740-3766-11df-8963-01868b7c937a</RequestId>\n </ResponseMetadata>\n</SubscribeResponse>\n \n </queryresponse>\n</examples>\n "
|
2164
|
+
},
|
2165
|
+
"Unsubscribe": {
|
2166
|
+
"name": "Unsubscribe",
|
2167
|
+
"input": {
|
2168
|
+
"shape_name": "UnsubscribeInput",
|
2169
|
+
"type": "structure",
|
2170
|
+
"members": {
|
2171
|
+
"SubscriptionArn": {
|
2172
|
+
"shape_name": "subscriptionARN",
|
2173
|
+
"type": "string",
|
2174
|
+
"documentation": "\n <p>The ARN of the subscription to be deleted.</p>\n ",
|
2175
|
+
"required": true
|
2176
|
+
}
|
2177
|
+
},
|
2178
|
+
"documentation": "\n <p>Input for Unsubscribe action.</p>\n "
|
2179
|
+
},
|
2180
|
+
"output": null,
|
2181
|
+
"errors": [
|
2182
|
+
{
|
2183
|
+
"shape_name": "InvalidParameterException",
|
2184
|
+
"type": "structure",
|
2185
|
+
"members": {
|
2186
|
+
"message": {
|
2187
|
+
"shape_name": "string",
|
2188
|
+
"type": "string",
|
2189
|
+
"documentation": null
|
2190
|
+
}
|
2191
|
+
},
|
2192
|
+
"documentation": "\n <p>Indicates that a request parameter does not comply with the associated constraints.</p>\n "
|
2193
|
+
},
|
2194
|
+
{
|
2195
|
+
"shape_name": "InternalErrorException",
|
2196
|
+
"type": "structure",
|
2197
|
+
"members": {
|
2198
|
+
"message": {
|
2199
|
+
"shape_name": "string",
|
2200
|
+
"type": "string",
|
2201
|
+
"documentation": null
|
2202
|
+
}
|
2203
|
+
},
|
2204
|
+
"documentation": "\n <p>Indicates an internal service error.</p>\n "
|
2205
|
+
},
|
2206
|
+
{
|
2207
|
+
"shape_name": "AuthorizationErrorException",
|
2208
|
+
"type": "structure",
|
2209
|
+
"members": {
|
2210
|
+
"message": {
|
2211
|
+
"shape_name": "string",
|
2212
|
+
"type": "string",
|
2213
|
+
"documentation": null
|
2214
|
+
}
|
2215
|
+
},
|
2216
|
+
"documentation": "\n <p>Indicates that the user has been denied access to the requested resource.</p>\n "
|
2217
|
+
},
|
2218
|
+
{
|
2219
|
+
"shape_name": "NotFoundException",
|
2220
|
+
"type": "structure",
|
2221
|
+
"members": {
|
2222
|
+
"message": {
|
2223
|
+
"shape_name": "string",
|
2224
|
+
"type": "string",
|
2225
|
+
"documentation": null
|
2226
|
+
}
|
2227
|
+
},
|
2228
|
+
"documentation": "\n <p>Indicates that the requested resource does not exist.</p>\n "
|
2229
|
+
}
|
2230
|
+
],
|
2231
|
+
"documentation": "\n <p>The <code>Unsubscribe</code> action deletes a subscription. If the subscription requires authentication for \n deletion, only the owner of the subscription or the topic's owner \n can unsubscribe, and an AWS signature is required. If the \n <code>Unsubscribe</code> call does not require authentication and the requester is not \n the subscription owner, a final cancellation message is delivered to the \n endpoint, so that the endpoint owner can easily resubscribe to the topic if \n the <code>Unsubscribe</code> request was unintended.</p>\n <examples>\n <queryrequest>\n \n http://sns.us-east-1.amazonaws.com/\n ?SubscriptionArn=arn%3Aaws%3Asns%3Aus-east-1%3A123456789012%3AMy-Topic%3A80289ba6-0fd4-4079-afb4-ce8c8260f0ca\n &Action=Unsubscribe\n &SignatureVersion=2\n &SignatureMethod=HmacSHA256\n &Timestamp=2010-03-31T12%3A00%3A00.000Z\n &AWSAccessKeyId=(AWS Access Key ID)\n &Signature=e8IwhPzuWeMvPDVrN7jUVxasd3Wv2LuO8x6rE23VCv8%3D\n\n </queryrequest>\n <queryresponse>\n \n<UnsubscribeResponse xmlns=\"http://sns.amazonaws.com/doc/2010-03-31/\">\n <ResponseMetadata>\n <RequestId>18e0ac39-3776-11df-84c0-b93cc1666b84</RequestId>\n </ResponseMetadata>\n</UnsubscribeResponse>\n \n </queryresponse>\n </examples>\n "
|
2232
|
+
}
|
2233
|
+
}
|
2234
|
+
}
|