sig/client.rbs in aws-sdk-ecr-1.78.0 vs sig/client.rbs in aws-sdk-ecr-1.79.0

- old
+ new

@@ -193,10 +193,37 @@ kms_key: ::String? } ) -> _CreateRepositoryResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRepositoryResponseSuccess + interface _CreateRepositoryCreationTemplateResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::CreateRepositoryCreationTemplateResponse] + def registry_id: () -> ::String + def repository_creation_template: () -> Types::RepositoryCreationTemplate + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#create_repository_creation_template-instance_method + def create_repository_creation_template: ( + prefix: ::String, + ?description: ::String, + ?encryption_configuration: { + encryption_type: ("AES256" | "KMS"), + kms_key: ::String? + }, + ?resource_tags: Array[ + { + key: ::String, + value: ::String + }, + ], + ?image_tag_mutability: ("MUTABLE" | "IMMUTABLE"), + ?repository_policy: ::String, + ?lifecycle_policy: ::String, + applied_for: Array[("REPLICATION" | "PULL_THROUGH_CACHE")], + ?custom_role_arn: ::String + ) -> _CreateRepositoryCreationTemplateResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRepositoryCreationTemplateResponseSuccess + interface _DeleteLifecyclePolicyResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLifecyclePolicyResponse] def registry_id: () -> ::String def repository_name: () -> ::String def lifecycle_policy_text: () -> ::String @@ -244,10 +271,21 @@ repository_name: ::String, ?force: bool ) -> _DeleteRepositoryResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryResponseSuccess + interface _DeleteRepositoryCreationTemplateResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryCreationTemplateResponse] + def registry_id: () -> ::String + def repository_creation_template: () -> Types::RepositoryCreationTemplate + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_repository_creation_template-instance_method + def delete_repository_creation_template: ( + prefix: ::String + ) -> _DeleteRepositoryCreationTemplateResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryCreationTemplateResponseSuccess + interface _DeleteRepositoryPolicyResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryPolicyResponse] def registry_id: () -> ::String def repository_name: () -> ::String def policy_text: () -> ::String @@ -357,10 +395,24 @@ ?next_token: ::String, ?max_results: ::Integer ) -> _DescribeRepositoriesResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoriesResponseSuccess + interface _DescribeRepositoryCreationTemplatesResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRepositoryCreationTemplatesResponse] + def registry_id: () -> ::String + def repository_creation_templates: () -> ::Array[Types::RepositoryCreationTemplate] + def next_token: () -> ::String + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_repository_creation_templates-instance_method + def describe_repository_creation_templates: ( + ?prefixes: Array[::String], + ?next_token: ::String, + ?max_results: ::Integer + ) -> _DescribeRepositoryCreationTemplatesResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoryCreationTemplatesResponseSuccess + interface _GetAuthorizationTokenResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetAuthorizationTokenResponse] def authorization_data: () -> ::Array[Types::AuthorizationData] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_authorization_token-instance_method @@ -699,9 +751,36 @@ ?registry_id: ::String, ecr_repository_prefix: ::String, credential_arn: ::String ) -> _UpdatePullThroughCacheRuleResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePullThroughCacheRuleResponseSuccess + + interface _UpdateRepositoryCreationTemplateResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRepositoryCreationTemplateResponse] + def registry_id: () -> ::String + def repository_creation_template: () -> Types::RepositoryCreationTemplate + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#update_repository_creation_template-instance_method + def update_repository_creation_template: ( + prefix: ::String, + ?description: ::String, + ?encryption_configuration: { + encryption_type: ("AES256" | "KMS"), + kms_key: ::String? + }, + ?resource_tags: Array[ + { + key: ::String, + value: ::String + }, + ], + ?image_tag_mutability: ("MUTABLE" | "IMMUTABLE"), + ?repository_policy: ::String, + ?lifecycle_policy: ::String, + ?applied_for: Array[("REPLICATION" | "PULL_THROUGH_CACHE")], + ?custom_role_arn: ::String + ) -> _UpdateRepositoryCreationTemplateResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRepositoryCreationTemplateResponseSuccess interface _UploadLayerPartResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UploadLayerPartResponse] def registry_id: () -> ::String def repository_name: () -> ::String