lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.0.0.rc2 vs lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.0.0.rc3

- old
+ new

@@ -16,10 +16,11 @@ require 'aws-sdk-core/plugins/global_configuration.rb' require 'aws-sdk-core/plugins/regional_endpoint.rb' require 'aws-sdk-core/plugins/response_paging.rb' require 'aws-sdk-core/plugins/stub_responses.rb' require 'aws-sdk-core/plugins/idempotency_token.rb' +require 'aws-sdk-core/plugins/jsonvalue_converter.rb' require 'aws-sdk-core/plugins/signature_v4.rb' require 'aws-sdk-core/plugins/protocols/json_rpc.rb' Aws::Plugins::GlobalConfiguration.add_identifier(:ecr) @@ -43,10 +44,11 @@ add_plugin(Aws::Plugins::GlobalConfiguration) add_plugin(Aws::Plugins::RegionalEndpoint) add_plugin(Aws::Plugins::ResponsePaging) add_plugin(Aws::Plugins::StubResponses) add_plugin(Aws::Plugins::IdempotencyToken) + add_plugin(Aws::Plugins::JsonvalueConverter) add_plugin(Aws::Plugins::SignatureV4) add_plugin(Aws::Plugins::Protocols::JsonRpc) # @option options [required, Aws::CredentialProvider] :credentials # Your AWS credentials. This can be an instance of any one of the @@ -197,10 +199,12 @@ # resp.failures #=> Array # resp.failures[0].layer_digest #=> String # resp.failures[0].failure_code #=> String, one of "InvalidLayerDigest", "MissingLayerDigest" # resp.failures[0].failure_reason #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability AWS API Documentation + # # @overload batch_check_layer_availability(params = {}) # @param [Hash] params ({}) def batch_check_layer_availability(params = {}, options = {}) req = build_request(:batch_check_layer_availability, params) req.send_request(options) @@ -256,10 +260,12 @@ # resp.failures[0].image_id.image_digest #=> String # resp.failures[0].image_id.image_tag #=> String # resp.failures[0].failure_code #=> String, one of "InvalidImageDigest", "InvalidImageTag", "ImageTagDoesNotMatchDigest", "ImageNotFound", "MissingDigestAndTag" # resp.failures[0].failure_reason #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage AWS API Documentation + # # @overload batch_delete_image(params = {}) # @param [Hash] params ({}) def batch_delete_image(params = {}, options = {}) req = build_request(:batch_delete_image, params) req.send_request(options) @@ -320,10 +326,12 @@ # resp.failures[0].image_id.image_digest #=> String # resp.failures[0].image_id.image_tag #=> String # resp.failures[0].failure_code #=> String, one of "InvalidImageDigest", "InvalidImageTag", "ImageTagDoesNotMatchDigest", "ImageNotFound", "MissingDigestAndTag" # resp.failures[0].failure_reason #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage AWS API Documentation + # # @overload batch_get_image(params = {}) # @param [Hash] params ({}) def batch_get_image(params = {}, options = {}) req = build_request(:batch_get_image, params) req.send_request(options) @@ -376,10 +384,12 @@ # resp.registry_id #=> String # resp.repository_name #=> String # resp.upload_id #=> String # resp.layer_digest #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload AWS API Documentation + # # @overload complete_layer_upload(params = {}) # @param [Hash] params ({}) def complete_layer_upload(params = {}, options = {}) req = build_request(:complete_layer_upload, params) req.send_request(options) @@ -409,10 +419,12 @@ # resp.repository.registry_id #=> String # resp.repository.repository_name #=> String # resp.repository.repository_uri #=> String # resp.repository.created_at #=> Time # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository AWS API Documentation + # # @overload create_repository(params = {}) # @param [Hash] params ({}) def create_repository(params = {}, options = {}) req = build_request(:create_repository, params) req.send_request(options) @@ -450,10 +462,12 @@ # resp.repository.registry_id #=> String # resp.repository.repository_name #=> String # resp.repository.repository_uri #=> String # resp.repository.created_at #=> Time # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository AWS API Documentation + # # @overload delete_repository(params = {}) # @param [Hash] params ({}) def delete_repository(params = {}, options = {}) req = build_request(:delete_repository, params) req.send_request(options) @@ -487,10 +501,12 @@ # # resp.registry_id #=> String # resp.repository_name #=> String # resp.policy_text #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy AWS API Documentation + # # @overload delete_repository_policy(params = {}) # @param [Hash] params ({}) def delete_repository_policy(params = {}, options = {}) req = build_request(:delete_repository_policy, params) req.send_request(options) @@ -573,10 +589,12 @@ # resp.image_details[0].image_tags[0] #=> String # resp.image_details[0].image_size_in_bytes #=> Integer # resp.image_details[0].image_pushed_at #=> Time # resp.next_token #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages AWS API Documentation + # # @overload describe_images(params = {}) # @param [Hash] params ({}) def describe_images(params = {}, options = {}) req = build_request(:describe_images, params) req.send_request(options) @@ -639,10 +657,12 @@ # resp.repositories[0].repository_name #=> String # resp.repositories[0].repository_uri #=> String # resp.repositories[0].created_at #=> Time # resp.next_token #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories AWS API Documentation + # # @overload describe_repositories(params = {}) # @param [Hash] params ({}) def describe_repositories(params = {}, options = {}) req = build_request(:describe_repositories, params) req.send_request(options) @@ -678,10 +698,12 @@ # resp.authorization_data #=> Array # resp.authorization_data[0].authorization_token #=> String # resp.authorization_data[0].expires_at #=> Time # resp.authorization_data[0].proxy_endpoint #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken AWS API Documentation + # # @overload get_authorization_token(params = {}) # @param [Hash] params ({}) def get_authorization_token(params = {}, options = {}) req = build_request(:get_authorization_token, params) req.send_request(options) @@ -725,10 +747,12 @@ # @example Response structure # # resp.download_url #=> String # resp.layer_digest #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer AWS API Documentation + # # @overload get_download_url_for_layer(params = {}) # @param [Hash] params ({}) def get_download_url_for_layer(params = {}, options = {}) req = build_request(:get_download_url_for_layer, params) req.send_request(options) @@ -761,10 +785,12 @@ # # resp.registry_id #=> String # resp.repository_name #=> String # resp.policy_text #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy AWS API Documentation + # # @overload get_repository_policy(params = {}) # @param [Hash] params ({}) def get_repository_policy(params = {}, options = {}) req = build_request(:get_repository_policy, params) req.send_request(options) @@ -801,10 +827,12 @@ # @example Response structure # # resp.upload_id #=> String # resp.part_size #=> Integer # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload AWS API Documentation + # # @overload initiate_layer_upload(params = {}) # @param [Hash] params ({}) def initiate_layer_upload(params = {}, options = {}) req = build_request(:initiate_layer_upload, params) req.send_request(options) @@ -876,10 +904,12 @@ # resp.image_ids #=> Array # resp.image_ids[0].image_digest #=> String # resp.image_ids[0].image_tag #=> String # resp.next_token #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages AWS API Documentation + # # @overload list_images(params = {}) # @param [Hash] params ({}) def list_images(params = {}, options = {}) req = build_request(:list_images, params) req.send_request(options) @@ -928,10 +958,12 @@ # resp.image.repository_name #=> String # resp.image.image_id.image_digest #=> String # resp.image.image_id.image_tag #=> String # resp.image.image_manifest #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage AWS API Documentation + # # @overload put_image(params = {}) # @param [Hash] params ({}) def put_image(params = {}, options = {}) req = build_request(:put_image, params) req.send_request(options) @@ -976,10 +1008,12 @@ # # resp.registry_id #=> String # resp.repository_name #=> String # resp.policy_text #=> String # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy AWS API Documentation + # # @overload set_repository_policy(params = {}) # @param [Hash] params ({}) def set_repository_policy(params = {}, options = {}) req = build_request(:set_repository_policy, params) req.send_request(options) @@ -1037,10 +1071,12 @@ # resp.registry_id #=> String # resp.repository_name #=> String # resp.upload_id #=> String # resp.last_byte_received #=> Integer # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart AWS API Documentation + # # @overload upload_layer_part(params = {}) # @param [Hash] params ({}) def upload_layer_part(params = {}, options = {}) req = build_request(:upload_layer_part, params) req.send_request(options) @@ -1057,10 +1093,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-ecr' - context[:gem_version] = '1.0.0.rc1' + context[:gem_version] = '1.0.0.rc3' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated