aws-sdk-codeartifact 1.37.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codeartifact/client.rb +930 -73
- data/lib/aws-sdk-codeartifact/client_api.rb +374 -0
- data/lib/aws-sdk-codeartifact/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-codeartifact/endpoints.rb +140 -0
- data/lib/aws-sdk-codeartifact/plugins/endpoints.rb +21 -0
- data/lib/aws-sdk-codeartifact/types.rb +1063 -102
- data/lib/aws-sdk-codeartifact.rb +1 -1
- data/sig/client.rbs +849 -0
- data/sig/errors.rbs +45 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +1016 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
|
@@ -54,6 +54,20 @@ module Aws::CodeArtifact
|
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
class CreatePackageGroup
|
|
58
|
+
def self.build(context)
|
|
59
|
+
unless context.config.regional_endpoint
|
|
60
|
+
endpoint = context.config.endpoint.to_s
|
|
61
|
+
end
|
|
62
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
63
|
+
region: context.config.region,
|
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
|
66
|
+
endpoint: endpoint,
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
57
71
|
class CreateRepository
|
|
58
72
|
def self.build(context)
|
|
59
73
|
unless context.config.regional_endpoint
|
|
@@ -110,6 +124,20 @@ module Aws::CodeArtifact
|
|
|
110
124
|
end
|
|
111
125
|
end
|
|
112
126
|
|
|
127
|
+
class DeletePackageGroup
|
|
128
|
+
def self.build(context)
|
|
129
|
+
unless context.config.regional_endpoint
|
|
130
|
+
endpoint = context.config.endpoint.to_s
|
|
131
|
+
end
|
|
132
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
133
|
+
region: context.config.region,
|
|
134
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
135
|
+
use_fips: context.config.use_fips_endpoint,
|
|
136
|
+
endpoint: endpoint,
|
|
137
|
+
)
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
113
141
|
class DeletePackageVersions
|
|
114
142
|
def self.build(context)
|
|
115
143
|
unless context.config.regional_endpoint
|
|
@@ -180,6 +208,20 @@ module Aws::CodeArtifact
|
|
|
180
208
|
end
|
|
181
209
|
end
|
|
182
210
|
|
|
211
|
+
class DescribePackageGroup
|
|
212
|
+
def self.build(context)
|
|
213
|
+
unless context.config.regional_endpoint
|
|
214
|
+
endpoint = context.config.endpoint.to_s
|
|
215
|
+
end
|
|
216
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
217
|
+
region: context.config.region,
|
|
218
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
219
|
+
use_fips: context.config.use_fips_endpoint,
|
|
220
|
+
endpoint: endpoint,
|
|
221
|
+
)
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
183
225
|
class DescribePackageVersion
|
|
184
226
|
def self.build(context)
|
|
185
227
|
unless context.config.regional_endpoint
|
|
@@ -236,6 +278,20 @@ module Aws::CodeArtifact
|
|
|
236
278
|
end
|
|
237
279
|
end
|
|
238
280
|
|
|
281
|
+
class GetAssociatedPackageGroup
|
|
282
|
+
def self.build(context)
|
|
283
|
+
unless context.config.regional_endpoint
|
|
284
|
+
endpoint = context.config.endpoint.to_s
|
|
285
|
+
end
|
|
286
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
287
|
+
region: context.config.region,
|
|
288
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
289
|
+
use_fips: context.config.use_fips_endpoint,
|
|
290
|
+
endpoint: endpoint,
|
|
291
|
+
)
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
|
|
239
295
|
class GetAuthorizationToken
|
|
240
296
|
def self.build(context)
|
|
241
297
|
unless context.config.regional_endpoint
|
|
@@ -320,6 +376,34 @@ module Aws::CodeArtifact
|
|
|
320
376
|
end
|
|
321
377
|
end
|
|
322
378
|
|
|
379
|
+
class ListAllowedRepositoriesForGroup
|
|
380
|
+
def self.build(context)
|
|
381
|
+
unless context.config.regional_endpoint
|
|
382
|
+
endpoint = context.config.endpoint.to_s
|
|
383
|
+
end
|
|
384
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
385
|
+
region: context.config.region,
|
|
386
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
387
|
+
use_fips: context.config.use_fips_endpoint,
|
|
388
|
+
endpoint: endpoint,
|
|
389
|
+
)
|
|
390
|
+
end
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
class ListAssociatedPackages
|
|
394
|
+
def self.build(context)
|
|
395
|
+
unless context.config.regional_endpoint
|
|
396
|
+
endpoint = context.config.endpoint.to_s
|
|
397
|
+
end
|
|
398
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
399
|
+
region: context.config.region,
|
|
400
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
401
|
+
use_fips: context.config.use_fips_endpoint,
|
|
402
|
+
endpoint: endpoint,
|
|
403
|
+
)
|
|
404
|
+
end
|
|
405
|
+
end
|
|
406
|
+
|
|
323
407
|
class ListDomains
|
|
324
408
|
def self.build(context)
|
|
325
409
|
unless context.config.regional_endpoint
|
|
@@ -334,6 +418,20 @@ module Aws::CodeArtifact
|
|
|
334
418
|
end
|
|
335
419
|
end
|
|
336
420
|
|
|
421
|
+
class ListPackageGroups
|
|
422
|
+
def self.build(context)
|
|
423
|
+
unless context.config.regional_endpoint
|
|
424
|
+
endpoint = context.config.endpoint.to_s
|
|
425
|
+
end
|
|
426
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
427
|
+
region: context.config.region,
|
|
428
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
429
|
+
use_fips: context.config.use_fips_endpoint,
|
|
430
|
+
endpoint: endpoint,
|
|
431
|
+
)
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
|
|
337
435
|
class ListPackageVersionAssets
|
|
338
436
|
def self.build(context)
|
|
339
437
|
unless context.config.regional_endpoint
|
|
@@ -418,6 +516,20 @@ module Aws::CodeArtifact
|
|
|
418
516
|
end
|
|
419
517
|
end
|
|
420
518
|
|
|
519
|
+
class ListSubPackageGroups
|
|
520
|
+
def self.build(context)
|
|
521
|
+
unless context.config.regional_endpoint
|
|
522
|
+
endpoint = context.config.endpoint.to_s
|
|
523
|
+
end
|
|
524
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
525
|
+
region: context.config.region,
|
|
526
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
527
|
+
use_fips: context.config.use_fips_endpoint,
|
|
528
|
+
endpoint: endpoint,
|
|
529
|
+
)
|
|
530
|
+
end
|
|
531
|
+
end
|
|
532
|
+
|
|
421
533
|
class ListTagsForResource
|
|
422
534
|
def self.build(context)
|
|
423
535
|
unless context.config.regional_endpoint
|
|
@@ -516,6 +628,34 @@ module Aws::CodeArtifact
|
|
|
516
628
|
end
|
|
517
629
|
end
|
|
518
630
|
|
|
631
|
+
class UpdatePackageGroup
|
|
632
|
+
def self.build(context)
|
|
633
|
+
unless context.config.regional_endpoint
|
|
634
|
+
endpoint = context.config.endpoint.to_s
|
|
635
|
+
end
|
|
636
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
637
|
+
region: context.config.region,
|
|
638
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
639
|
+
use_fips: context.config.use_fips_endpoint,
|
|
640
|
+
endpoint: endpoint,
|
|
641
|
+
)
|
|
642
|
+
end
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
class UpdatePackageGroupOriginConfiguration
|
|
646
|
+
def self.build(context)
|
|
647
|
+
unless context.config.regional_endpoint
|
|
648
|
+
endpoint = context.config.endpoint.to_s
|
|
649
|
+
end
|
|
650
|
+
Aws::CodeArtifact::EndpointParameters.new(
|
|
651
|
+
region: context.config.region,
|
|
652
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
653
|
+
use_fips: context.config.use_fips_endpoint,
|
|
654
|
+
endpoint: endpoint,
|
|
655
|
+
)
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
519
659
|
class UpdatePackageVersionsStatus
|
|
520
660
|
def self.build(context)
|
|
521
661
|
unless context.config.regional_endpoint
|
|
@@ -14,6 +14,7 @@ module Aws::CodeArtifact
|
|
|
14
14
|
option(
|
|
15
15
|
:endpoint_provider,
|
|
16
16
|
doc_type: 'Aws::CodeArtifact::EndpointProvider',
|
|
17
|
+
rbs_type: 'untyped',
|
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
|
19
20
|
'where `parameters` is a Struct similar to '\
|
|
@@ -63,6 +64,8 @@ module Aws::CodeArtifact
|
|
|
63
64
|
Aws::CodeArtifact::Endpoints::CopyPackageVersions.build(context)
|
|
64
65
|
when :create_domain
|
|
65
66
|
Aws::CodeArtifact::Endpoints::CreateDomain.build(context)
|
|
67
|
+
when :create_package_group
|
|
68
|
+
Aws::CodeArtifact::Endpoints::CreatePackageGroup.build(context)
|
|
66
69
|
when :create_repository
|
|
67
70
|
Aws::CodeArtifact::Endpoints::CreateRepository.build(context)
|
|
68
71
|
when :delete_domain
|
|
@@ -71,6 +74,8 @@ module Aws::CodeArtifact
|
|
|
71
74
|
Aws::CodeArtifact::Endpoints::DeleteDomainPermissionsPolicy.build(context)
|
|
72
75
|
when :delete_package
|
|
73
76
|
Aws::CodeArtifact::Endpoints::DeletePackage.build(context)
|
|
77
|
+
when :delete_package_group
|
|
78
|
+
Aws::CodeArtifact::Endpoints::DeletePackageGroup.build(context)
|
|
74
79
|
when :delete_package_versions
|
|
75
80
|
Aws::CodeArtifact::Endpoints::DeletePackageVersions.build(context)
|
|
76
81
|
when :delete_repository
|
|
@@ -81,6 +86,8 @@ module Aws::CodeArtifact
|
|
|
81
86
|
Aws::CodeArtifact::Endpoints::DescribeDomain.build(context)
|
|
82
87
|
when :describe_package
|
|
83
88
|
Aws::CodeArtifact::Endpoints::DescribePackage.build(context)
|
|
89
|
+
when :describe_package_group
|
|
90
|
+
Aws::CodeArtifact::Endpoints::DescribePackageGroup.build(context)
|
|
84
91
|
when :describe_package_version
|
|
85
92
|
Aws::CodeArtifact::Endpoints::DescribePackageVersion.build(context)
|
|
86
93
|
when :describe_repository
|
|
@@ -89,6 +96,8 @@ module Aws::CodeArtifact
|
|
|
89
96
|
Aws::CodeArtifact::Endpoints::DisassociateExternalConnection.build(context)
|
|
90
97
|
when :dispose_package_versions
|
|
91
98
|
Aws::CodeArtifact::Endpoints::DisposePackageVersions.build(context)
|
|
99
|
+
when :get_associated_package_group
|
|
100
|
+
Aws::CodeArtifact::Endpoints::GetAssociatedPackageGroup.build(context)
|
|
92
101
|
when :get_authorization_token
|
|
93
102
|
Aws::CodeArtifact::Endpoints::GetAuthorizationToken.build(context)
|
|
94
103
|
when :get_domain_permissions_policy
|
|
@@ -101,8 +110,14 @@ module Aws::CodeArtifact
|
|
|
101
110
|
Aws::CodeArtifact::Endpoints::GetRepositoryEndpoint.build(context)
|
|
102
111
|
when :get_repository_permissions_policy
|
|
103
112
|
Aws::CodeArtifact::Endpoints::GetRepositoryPermissionsPolicy.build(context)
|
|
113
|
+
when :list_allowed_repositories_for_group
|
|
114
|
+
Aws::CodeArtifact::Endpoints::ListAllowedRepositoriesForGroup.build(context)
|
|
115
|
+
when :list_associated_packages
|
|
116
|
+
Aws::CodeArtifact::Endpoints::ListAssociatedPackages.build(context)
|
|
104
117
|
when :list_domains
|
|
105
118
|
Aws::CodeArtifact::Endpoints::ListDomains.build(context)
|
|
119
|
+
when :list_package_groups
|
|
120
|
+
Aws::CodeArtifact::Endpoints::ListPackageGroups.build(context)
|
|
106
121
|
when :list_package_version_assets
|
|
107
122
|
Aws::CodeArtifact::Endpoints::ListPackageVersionAssets.build(context)
|
|
108
123
|
when :list_package_version_dependencies
|
|
@@ -115,6 +130,8 @@ module Aws::CodeArtifact
|
|
|
115
130
|
Aws::CodeArtifact::Endpoints::ListRepositories.build(context)
|
|
116
131
|
when :list_repositories_in_domain
|
|
117
132
|
Aws::CodeArtifact::Endpoints::ListRepositoriesInDomain.build(context)
|
|
133
|
+
when :list_sub_package_groups
|
|
134
|
+
Aws::CodeArtifact::Endpoints::ListSubPackageGroups.build(context)
|
|
118
135
|
when :list_tags_for_resource
|
|
119
136
|
Aws::CodeArtifact::Endpoints::ListTagsForResource.build(context)
|
|
120
137
|
when :publish_package_version
|
|
@@ -129,6 +146,10 @@ module Aws::CodeArtifact
|
|
|
129
146
|
Aws::CodeArtifact::Endpoints::TagResource.build(context)
|
|
130
147
|
when :untag_resource
|
|
131
148
|
Aws::CodeArtifact::Endpoints::UntagResource.build(context)
|
|
149
|
+
when :update_package_group
|
|
150
|
+
Aws::CodeArtifact::Endpoints::UpdatePackageGroup.build(context)
|
|
151
|
+
when :update_package_group_origin_configuration
|
|
152
|
+
Aws::CodeArtifact::Endpoints::UpdatePackageGroupOriginConfiguration.build(context)
|
|
132
153
|
when :update_package_versions_status
|
|
133
154
|
Aws::CodeArtifact::Endpoints::UpdatePackageVersionsStatus.build(context)
|
|
134
155
|
when :update_repository
|