aws-sdk-ecr 1.78.0 → 1.79.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/errors.rbs CHANGED
@@ -103,6 +103,12 @@ module Aws
103
103
  class ServerException < ::Aws::Errors::ServiceError
104
104
  def message: () -> ::String
105
105
  end
106
+ class TemplateAlreadyExistsException < ::Aws::Errors::ServiceError
107
+ def message: () -> ::String
108
+ end
109
+ class TemplateNotFoundException < ::Aws::Errors::ServiceError
110
+ def message: () -> ::String
111
+ end
106
112
  class TooManyTagsException < ::Aws::Errors::ServiceError
107
113
  def message: () -> ::String
108
114
  end
data/sig/types.rbs CHANGED
@@ -119,6 +119,25 @@ module Aws::ECR
119
119
  SENSITIVE: []
120
120
  end
121
121
 
122
+ class CreateRepositoryCreationTemplateRequest
123
+ attr_accessor prefix: ::String
124
+ attr_accessor description: ::String
125
+ attr_accessor encryption_configuration: Types::EncryptionConfigurationForRepositoryCreationTemplate
126
+ attr_accessor resource_tags: ::Array[Types::Tag]
127
+ attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
128
+ attr_accessor repository_policy: ::String
129
+ attr_accessor lifecycle_policy: ::String
130
+ attr_accessor applied_for: ::Array[("REPLICATION" | "PULL_THROUGH_CACHE")]
131
+ attr_accessor custom_role_arn: ::String
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class CreateRepositoryCreationTemplateResponse
136
+ attr_accessor registry_id: ::String
137
+ attr_accessor repository_creation_template: Types::RepositoryCreationTemplate
138
+ SENSITIVE: []
139
+ end
140
+
122
141
  class CreateRepositoryRequest
123
142
  attr_accessor registry_id: ::String
124
143
  attr_accessor repository_name: ::String
@@ -195,6 +214,17 @@ module Aws::ECR
195
214
  SENSITIVE: []
196
215
  end
197
216
 
217
+ class DeleteRepositoryCreationTemplateRequest
218
+ attr_accessor prefix: ::String
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class DeleteRepositoryCreationTemplateResponse
223
+ attr_accessor registry_id: ::String
224
+ attr_accessor repository_creation_template: Types::RepositoryCreationTemplate
225
+ SENSITIVE: []
226
+ end
227
+
198
228
  class DeleteRepositoryPolicyRequest
199
229
  attr_accessor registry_id: ::String
200
230
  attr_accessor repository_name: ::String
@@ -311,6 +341,20 @@ module Aws::ECR
311
341
  SENSITIVE: []
312
342
  end
313
343
 
344
+ class DescribeRepositoryCreationTemplatesRequest
345
+ attr_accessor prefixes: ::Array[::String]
346
+ attr_accessor next_token: ::String
347
+ attr_accessor max_results: ::Integer
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class DescribeRepositoryCreationTemplatesResponse
352
+ attr_accessor registry_id: ::String
353
+ attr_accessor repository_creation_templates: ::Array[Types::RepositoryCreationTemplate]
354
+ attr_accessor next_token: ::String
355
+ SENSITIVE: []
356
+ end
357
+
314
358
  class EmptyUploadException
315
359
  attr_accessor message: ::String
316
360
  SENSITIVE: []
@@ -322,6 +366,12 @@ module Aws::ECR
322
366
  SENSITIVE: []
323
367
  end
324
368
 
369
+ class EncryptionConfigurationForRepositoryCreationTemplate
370
+ attr_accessor encryption_type: ("AES256" | "KMS")
371
+ attr_accessor kms_key: ::String
372
+ SENSITIVE: []
373
+ end
374
+
325
375
  class EnhancedImageScanFinding
326
376
  attr_accessor aws_account_id: ::String
327
377
  attr_accessor description: ::String
@@ -873,6 +923,21 @@ module Aws::ECR
873
923
  SENSITIVE: []
874
924
  end
875
925
 
926
+ class RepositoryCreationTemplate
927
+ attr_accessor prefix: ::String
928
+ attr_accessor description: ::String
929
+ attr_accessor encryption_configuration: Types::EncryptionConfigurationForRepositoryCreationTemplate
930
+ attr_accessor resource_tags: ::Array[Types::Tag]
931
+ attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
932
+ attr_accessor repository_policy: ::String
933
+ attr_accessor lifecycle_policy: ::String
934
+ attr_accessor applied_for: ::Array[("REPLICATION" | "PULL_THROUGH_CACHE")]
935
+ attr_accessor custom_role_arn: ::String
936
+ attr_accessor created_at: ::Time
937
+ attr_accessor updated_at: ::Time
938
+ SENSITIVE: []
939
+ end
940
+
876
941
  class RepositoryFilter
877
942
  attr_accessor filter: ::String
878
943
  attr_accessor filter_type: ("PREFIX_MATCH")
@@ -1009,6 +1074,16 @@ module Aws::ECR
1009
1074
  class TagResourceResponse < Aws::EmptyStructure
1010
1075
  end
1011
1076
 
1077
+ class TemplateAlreadyExistsException
1078
+ attr_accessor message: ::String
1079
+ SENSITIVE: []
1080
+ end
1081
+
1082
+ class TemplateNotFoundException
1083
+ attr_accessor message: ::String
1084
+ SENSITIVE: []
1085
+ end
1086
+
1012
1087
  class TooManyTagsException
1013
1088
  attr_accessor message: ::String
1014
1089
  SENSITIVE: []
@@ -1068,6 +1143,25 @@ module Aws::ECR
1068
1143
  SENSITIVE: []
1069
1144
  end
1070
1145
 
1146
+ class UpdateRepositoryCreationTemplateRequest
1147
+ attr_accessor prefix: ::String
1148
+ attr_accessor description: ::String
1149
+ attr_accessor encryption_configuration: Types::EncryptionConfigurationForRepositoryCreationTemplate
1150
+ attr_accessor resource_tags: ::Array[Types::Tag]
1151
+ attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
1152
+ attr_accessor repository_policy: ::String
1153
+ attr_accessor lifecycle_policy: ::String
1154
+ attr_accessor applied_for: ::Array[("REPLICATION" | "PULL_THROUGH_CACHE")]
1155
+ attr_accessor custom_role_arn: ::String
1156
+ SENSITIVE: []
1157
+ end
1158
+
1159
+ class UpdateRepositoryCreationTemplateResponse
1160
+ attr_accessor registry_id: ::String
1161
+ attr_accessor repository_creation_template: Types::RepositoryCreationTemplate
1162
+ SENSITIVE: []
1163
+ end
1164
+
1071
1165
  class UploadLayerPartRequest
1072
1166
  attr_accessor registry_id: ::String
1073
1167
  attr_accessor repository_name: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.78.0
4
+ version: 1.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-05 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core