aws-sdk-proton 1.18.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +87 -11
- data/lib/aws-sdk-proton/client_api.rb +36 -12
- data/lib/aws-sdk-proton/types.rb +145 -9
- data/lib/aws-sdk-proton.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a995c34eb20768735466e4c2683e17ceb7e1066e6cd70b0dda8317b6085f532
|
4
|
+
data.tar.gz: 5e5ce8fb3cbc0deae9f6e70065de6aa9ee283adff58fefc6553be4801dfce8f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75e2836c6c38e0895bbdfef0fd1706653ad1e773bc72bc001eac14ffa5b2e5d063da4f1f56fa2b64d5b3d730f3d8a7232daf169d647dd5f38f355cb60b881c8e
|
7
|
+
data.tar.gz: 88733cba9a283e62e4ea1369a97e224c4ae221440a7319cf29625d30c9ff5fb28152ee4541a1263bb2a253080497cbe304e837ca76012fd28a544388d328b053
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2022-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for sorting and filtering in ListServiceInstances
|
8
|
+
|
9
|
+
1.19.0 (2022-11-14)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for CodeBuild Provisioning
|
13
|
+
|
4
14
|
1.18.0 (2022-10-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -406,6 +406,7 @@ module Aws::Proton
|
|
406
406
|
# @example Response structure
|
407
407
|
#
|
408
408
|
# resp.environment_account_connection.arn #=> String
|
409
|
+
# resp.environment_account_connection.codebuild_role_arn #=> String
|
409
410
|
# resp.environment_account_connection.component_role_arn #=> String
|
410
411
|
# resp.environment_account_connection.environment_account_id #=> String
|
411
412
|
# resp.environment_account_connection.environment_name #=> String
|
@@ -509,6 +510,7 @@ module Aws::Proton
|
|
509
510
|
# @example Response structure
|
510
511
|
#
|
511
512
|
# resp.environment.arn #=> String
|
513
|
+
# resp.environment.codebuild_role_arn #=> String
|
512
514
|
# resp.environment.component_role_arn #=> String
|
513
515
|
# resp.environment.created_at #=> Time
|
514
516
|
# resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
@@ -792,6 +794,15 @@ module Aws::Proton
|
|
792
794
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html
|
793
795
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html
|
794
796
|
#
|
797
|
+
# @option params [String] :codebuild_role_arn
|
798
|
+
# The Amazon Resource Name (ARN) of the IAM service role that allows
|
799
|
+
# Proton to provision infrastructure using CodeBuild-based provisioning
|
800
|
+
# on your behalf.
|
801
|
+
#
|
802
|
+
# To use CodeBuild-based provisioning for the environment or for any
|
803
|
+
# service instance running in the environment, specify either the
|
804
|
+
# `environmentAccountConnectionId` or `codebuildRoleArn` parameter.
|
805
|
+
#
|
795
806
|
# @option params [String] :component_role_arn
|
796
807
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
797
808
|
# uses when provisioning directly defined components in this
|
@@ -889,7 +900,8 @@ module Aws::Proton
|
|
889
900
|
# @example Request syntax with placeholder values
|
890
901
|
#
|
891
902
|
# resp = client.create_environment({
|
892
|
-
#
|
903
|
+
# codebuild_role_arn: "RoleArn",
|
904
|
+
# component_role_arn: "RoleArn",
|
893
905
|
# description: "Description",
|
894
906
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
895
907
|
# name: "ResourceName", # required
|
@@ -914,6 +926,7 @@ module Aws::Proton
|
|
914
926
|
# @example Response structure
|
915
927
|
#
|
916
928
|
# resp.environment.arn #=> String
|
929
|
+
# resp.environment.codebuild_role_arn #=> String
|
917
930
|
# resp.environment.component_role_arn #=> String
|
918
931
|
# resp.environment.created_at #=> Time
|
919
932
|
# resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
@@ -965,6 +978,12 @@ module Aws::Proton
|
|
965
978
|
# **A suitable default value is auto-generated.** You should normally
|
966
979
|
# not need to pass this option.**
|
967
980
|
#
|
981
|
+
# @option params [String] :codebuild_role_arn
|
982
|
+
# The Amazon Resource Name (ARN) of an IAM service role in the
|
983
|
+
# environment account. Proton uses this role to provision infrastructure
|
984
|
+
# resources using CodeBuild-based provisioning in the associated
|
985
|
+
# environment account.
|
986
|
+
#
|
968
987
|
# @option params [String] :component_role_arn
|
969
988
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
970
989
|
# uses when provisioning directly defined components in the associated
|
@@ -1018,10 +1037,11 @@ module Aws::Proton
|
|
1018
1037
|
#
|
1019
1038
|
# resp = client.create_environment_account_connection({
|
1020
1039
|
# client_token: "ClientToken",
|
1021
|
-
#
|
1040
|
+
# codebuild_role_arn: "RoleArn",
|
1041
|
+
# component_role_arn: "RoleArn",
|
1022
1042
|
# environment_name: "ResourceName", # required
|
1023
1043
|
# management_account_id: "AwsAccountId", # required
|
1024
|
-
# role_arn: "
|
1044
|
+
# role_arn: "RoleArn", # required
|
1025
1045
|
# tags: [
|
1026
1046
|
# {
|
1027
1047
|
# key: "TagKey", # required
|
@@ -1033,6 +1053,7 @@ module Aws::Proton
|
|
1033
1053
|
# @example Response structure
|
1034
1054
|
#
|
1035
1055
|
# resp.environment_account_connection.arn #=> String
|
1056
|
+
# resp.environment_account_connection.codebuild_role_arn #=> String
|
1036
1057
|
# resp.environment_account_connection.component_role_arn #=> String
|
1037
1058
|
# resp.environment_account_connection.environment_account_id #=> String
|
1038
1059
|
# resp.environment_account_connection.environment_name #=> String
|
@@ -1783,6 +1804,7 @@ module Aws::Proton
|
|
1783
1804
|
# @example Response structure
|
1784
1805
|
#
|
1785
1806
|
# resp.environment.arn #=> String
|
1807
|
+
# resp.environment.codebuild_role_arn #=> String
|
1786
1808
|
# resp.environment.component_role_arn #=> String
|
1787
1809
|
# resp.environment.created_at #=> Time
|
1788
1810
|
# resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
@@ -1845,6 +1867,7 @@ module Aws::Proton
|
|
1845
1867
|
# @example Response structure
|
1846
1868
|
#
|
1847
1869
|
# resp.environment_account_connection.arn #=> String
|
1870
|
+
# resp.environment_account_connection.codebuild_role_arn #=> String
|
1848
1871
|
# resp.environment_account_connection.component_role_arn #=> String
|
1849
1872
|
# resp.environment_account_connection.environment_account_id #=> String
|
1850
1873
|
# resp.environment_account_connection.environment_name #=> String
|
@@ -2199,6 +2222,7 @@ module Aws::Proton
|
|
2199
2222
|
#
|
2200
2223
|
# @example Response structure
|
2201
2224
|
#
|
2225
|
+
# resp.account_settings.pipeline_codebuild_role_arn #=> String
|
2202
2226
|
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
2203
2227
|
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
2204
2228
|
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
@@ -2286,6 +2310,7 @@ module Aws::Proton
|
|
2286
2310
|
# @example Response structure
|
2287
2311
|
#
|
2288
2312
|
# resp.environment.arn #=> String
|
2313
|
+
# resp.environment.codebuild_role_arn #=> String
|
2289
2314
|
# resp.environment.component_role_arn #=> String
|
2290
2315
|
# resp.environment.created_at #=> Time
|
2291
2316
|
# resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
@@ -2348,6 +2373,7 @@ module Aws::Proton
|
|
2348
2373
|
# @example Response structure
|
2349
2374
|
#
|
2350
2375
|
# resp.environment_account_connection.arn #=> String
|
2376
|
+
# resp.environment_account_connection.codebuild_role_arn #=> String
|
2351
2377
|
# resp.environment_account_connection.component_role_arn #=> String
|
2352
2378
|
# resp.environment_account_connection.environment_account_id #=> String
|
2353
2379
|
# resp.environment_account_connection.environment_name #=> String
|
@@ -3546,7 +3572,13 @@ module Aws::Proton
|
|
3546
3572
|
req.send_request(options)
|
3547
3573
|
end
|
3548
3574
|
|
3549
|
-
# List service instances with summary data.
|
3575
|
+
# List service instances with summary data. This action lists service
|
3576
|
+
# instances of all services in the Amazon Web Services account.
|
3577
|
+
#
|
3578
|
+
# @option params [Array<Types::ListServiceInstancesFilter>] :filters
|
3579
|
+
# An array of filtering criteria that scope down the result list. By
|
3580
|
+
# default, all service instances in the Amazon Web Services account are
|
3581
|
+
# returned.
|
3550
3582
|
#
|
3551
3583
|
# @option params [Integer] :max_results
|
3552
3584
|
# The maximum number of service instances to list.
|
@@ -3559,6 +3591,19 @@ module Aws::Proton
|
|
3559
3591
|
# @option params [String] :service_name
|
3560
3592
|
# The name of the service that the service instance belongs to.
|
3561
3593
|
#
|
3594
|
+
# @option params [String] :sort_by
|
3595
|
+
# The field that the result list is sorted by.
|
3596
|
+
#
|
3597
|
+
# When you choose to sort by `serviceName`, service instances within
|
3598
|
+
# each service are sorted by service instance name.
|
3599
|
+
#
|
3600
|
+
# Default: `serviceName`
|
3601
|
+
#
|
3602
|
+
# @option params [String] :sort_order
|
3603
|
+
# Result list sort order.
|
3604
|
+
#
|
3605
|
+
# Default: `ASCENDING`
|
3606
|
+
#
|
3562
3607
|
# @return [Types::ListServiceInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3563
3608
|
#
|
3564
3609
|
# * {Types::ListServiceInstancesOutput#next_token #next_token} => String
|
@@ -3569,9 +3614,17 @@ module Aws::Proton
|
|
3569
3614
|
# @example Request syntax with placeholder values
|
3570
3615
|
#
|
3571
3616
|
# resp = client.list_service_instances({
|
3617
|
+
# filters: [
|
3618
|
+
# {
|
3619
|
+
# key: "name", # accepts name, deploymentStatus, templateName, serviceName, deployedTemplateVersionStatus, environmentName, lastDeploymentAttemptedAtBefore, lastDeploymentAttemptedAtAfter, createdAtBefore, createdAtAfter
|
3620
|
+
# value: "ListServiceInstancesFilterValue",
|
3621
|
+
# },
|
3622
|
+
# ],
|
3572
3623
|
# max_results: 1,
|
3573
3624
|
# next_token: "NextToken",
|
3574
3625
|
# service_name: "ResourceName",
|
3626
|
+
# sort_by: "name", # accepts name, deploymentStatus, templateName, serviceName, environmentName, lastDeploymentAttemptedAt, createdAt
|
3627
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3575
3628
|
# })
|
3576
3629
|
#
|
3577
3630
|
# @example Response structure
|
@@ -3902,7 +3955,7 @@ module Aws::Proton
|
|
3902
3955
|
# @option params [required, String] :resource_arn
|
3903
3956
|
# The provisioned resource Amazon Resource Name (ARN).
|
3904
3957
|
#
|
3905
|
-
# @option params [
|
3958
|
+
# @option params [String] :status
|
3906
3959
|
# The status of your provisioned resource.
|
3907
3960
|
#
|
3908
3961
|
# @option params [String] :status_message
|
@@ -3921,7 +3974,7 @@ module Aws::Proton
|
|
3921
3974
|
# },
|
3922
3975
|
# ],
|
3923
3976
|
# resource_arn: "Arn", # required
|
3924
|
-
# status: "IN_PROGRESS", #
|
3977
|
+
# status: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, SUCCEEDED
|
3925
3978
|
# status_message: "NotifyResourceDeploymentStatusChangeInputStatusMessageString",
|
3926
3979
|
# })
|
3927
3980
|
#
|
@@ -3966,6 +4019,7 @@ module Aws::Proton
|
|
3966
4019
|
# @example Response structure
|
3967
4020
|
#
|
3968
4021
|
# resp.environment_account_connection.arn #=> String
|
4022
|
+
# resp.environment_account_connection.codebuild_role_arn #=> String
|
3969
4023
|
# resp.environment_account_connection.component_role_arn #=> String
|
3970
4024
|
# resp.environment_account_connection.environment_account_id #=> String
|
3971
4025
|
# resp.environment_account_connection.environment_name #=> String
|
@@ -4069,6 +4123,11 @@ module Aws::Proton
|
|
4069
4123
|
# account settings. Don't set this field if you are updating the
|
4070
4124
|
# configured pipeline repository.
|
4071
4125
|
#
|
4126
|
+
# @option params [String] :pipeline_codebuild_role_arn
|
4127
|
+
# The Amazon Resource Name (ARN) of the service role you want to use for
|
4128
|
+
# provisioning pipelines. Proton assumes this role for CodeBuild-based
|
4129
|
+
# provisioning.
|
4130
|
+
#
|
4072
4131
|
# @option params [Types::RepositoryBranchInput] :pipeline_provisioning_repository
|
4073
4132
|
# A linked repository for pipeline provisioning. Specify it if you have
|
4074
4133
|
# environments configured for self-managed provisioning with services
|
@@ -4096,16 +4155,18 @@ module Aws::Proton
|
|
4096
4155
|
#
|
4097
4156
|
# resp = client.update_account_settings({
|
4098
4157
|
# delete_pipeline_provisioning_repository: false,
|
4158
|
+
# pipeline_codebuild_role_arn: "RoleArnOrEmptyString",
|
4099
4159
|
# pipeline_provisioning_repository: {
|
4100
4160
|
# branch: "GitBranchName", # required
|
4101
4161
|
# name: "RepositoryName", # required
|
4102
4162
|
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
4103
4163
|
# },
|
4104
|
-
# pipeline_service_role_arn: "
|
4164
|
+
# pipeline_service_role_arn: "RoleArnOrEmptyString",
|
4105
4165
|
# })
|
4106
4166
|
#
|
4107
4167
|
# @example Response structure
|
4108
4168
|
#
|
4169
|
+
# resp.account_settings.pipeline_codebuild_role_arn #=> String
|
4109
4170
|
# resp.account_settings.pipeline_provisioning_repository.arn #=> String
|
4110
4171
|
# resp.account_settings.pipeline_provisioning_repository.branch #=> String
|
4111
4172
|
# resp.account_settings.pipeline_provisioning_repository.name #=> String
|
@@ -4310,6 +4371,11 @@ module Aws::Proton
|
|
4310
4371
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html
|
4311
4372
|
# [2]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html
|
4312
4373
|
#
|
4374
|
+
# @option params [String] :codebuild_role_arn
|
4375
|
+
# The Amazon Resource Name (ARN) of the IAM service role that allows
|
4376
|
+
# Proton to provision infrastructure using CodeBuild-based provisioning
|
4377
|
+
# on your behalf.
|
4378
|
+
#
|
4313
4379
|
# @option params [String] :component_role_arn
|
4314
4380
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
4315
4381
|
# uses when provisioning directly defined components in this
|
@@ -4405,7 +4471,8 @@ module Aws::Proton
|
|
4405
4471
|
# @example Request syntax with placeholder values
|
4406
4472
|
#
|
4407
4473
|
# resp = client.update_environment({
|
4408
|
-
#
|
4474
|
+
# codebuild_role_arn: "RoleArn",
|
4475
|
+
# component_role_arn: "RoleArn",
|
4409
4476
|
# deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION, MINOR_VERSION, MAJOR_VERSION
|
4410
4477
|
# description: "Description",
|
4411
4478
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
@@ -4424,6 +4491,7 @@ module Aws::Proton
|
|
4424
4491
|
# @example Response structure
|
4425
4492
|
#
|
4426
4493
|
# resp.environment.arn #=> String
|
4494
|
+
# resp.environment.codebuild_role_arn #=> String
|
4427
4495
|
# resp.environment.component_role_arn #=> String
|
4428
4496
|
# resp.environment.created_at #=> Time
|
4429
4497
|
# resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
|
@@ -4464,6 +4532,12 @@ module Aws::Proton
|
|
4464
4532
|
#
|
4465
4533
|
# [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html
|
4466
4534
|
#
|
4535
|
+
# @option params [String] :codebuild_role_arn
|
4536
|
+
# The Amazon Resource Name (ARN) of an IAM service role in the
|
4537
|
+
# environment account. Proton uses this role to provision infrastructure
|
4538
|
+
# resources using CodeBuild-based provisioning in the associated
|
4539
|
+
# environment account.
|
4540
|
+
#
|
4467
4541
|
# @option params [String] :component_role_arn
|
4468
4542
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
4469
4543
|
# uses when provisioning directly defined components in the associated
|
@@ -4495,14 +4569,16 @@ module Aws::Proton
|
|
4495
4569
|
# @example Request syntax with placeholder values
|
4496
4570
|
#
|
4497
4571
|
# resp = client.update_environment_account_connection({
|
4498
|
-
#
|
4572
|
+
# codebuild_role_arn: "RoleArn",
|
4573
|
+
# component_role_arn: "RoleArn",
|
4499
4574
|
# id: "EnvironmentAccountConnectionId", # required
|
4500
|
-
# role_arn: "
|
4575
|
+
# role_arn: "RoleArn",
|
4501
4576
|
# })
|
4502
4577
|
#
|
4503
4578
|
# @example Response structure
|
4504
4579
|
#
|
4505
4580
|
# resp.environment_account_connection.arn #=> String
|
4581
|
+
# resp.environment_account_connection.codebuild_role_arn #=> String
|
4506
4582
|
# resp.environment_account_connection.component_role_arn #=> String
|
4507
4583
|
# resp.environment_account_connection.environment_account_id #=> String
|
4508
4584
|
# resp.environment_account_connection.environment_name #=> String
|
@@ -5160,7 +5236,7 @@ module Aws::Proton
|
|
5160
5236
|
params: params,
|
5161
5237
|
config: config)
|
5162
5238
|
context[:gem_name] = 'aws-sdk-proton'
|
5163
|
-
context[:gem_version] = '1.
|
5239
|
+
context[:gem_version] = '1.20.0'
|
5164
5240
|
Seahorse::Client::Request.new(handlers, context)
|
5165
5241
|
end
|
5166
5242
|
|
@@ -165,8 +165,13 @@ module Aws::Proton
|
|
165
165
|
ListServiceInstanceOutputsOutput = Shapes::StructureShape.new(name: 'ListServiceInstanceOutputsOutput')
|
166
166
|
ListServiceInstanceProvisionedResourcesInput = Shapes::StructureShape.new(name: 'ListServiceInstanceProvisionedResourcesInput')
|
167
167
|
ListServiceInstanceProvisionedResourcesOutput = Shapes::StructureShape.new(name: 'ListServiceInstanceProvisionedResourcesOutput')
|
168
|
+
ListServiceInstancesFilter = Shapes::StructureShape.new(name: 'ListServiceInstancesFilter')
|
169
|
+
ListServiceInstancesFilterBy = Shapes::StringShape.new(name: 'ListServiceInstancesFilterBy')
|
170
|
+
ListServiceInstancesFilterList = Shapes::ListShape.new(name: 'ListServiceInstancesFilterList')
|
171
|
+
ListServiceInstancesFilterValue = Shapes::StringShape.new(name: 'ListServiceInstancesFilterValue')
|
168
172
|
ListServiceInstancesInput = Shapes::StructureShape.new(name: 'ListServiceInstancesInput')
|
169
173
|
ListServiceInstancesOutput = Shapes::StructureShape.new(name: 'ListServiceInstancesOutput')
|
174
|
+
ListServiceInstancesSortBy = Shapes::StringShape.new(name: 'ListServiceInstancesSortBy')
|
170
175
|
ListServicePipelineOutputsInput = Shapes::StructureShape.new(name: 'ListServicePipelineOutputsInput')
|
171
176
|
ListServicePipelineOutputsOutput = Shapes::StructureShape.new(name: 'ListServicePipelineOutputsOutput')
|
172
177
|
ListServicePipelineProvisionedResourcesInput = Shapes::StructureShape.new(name: 'ListServicePipelineProvisionedResourcesInput')
|
@@ -189,7 +194,6 @@ module Aws::Proton
|
|
189
194
|
OutputKey = Shapes::StringShape.new(name: 'OutputKey')
|
190
195
|
OutputValueString = Shapes::StringShape.new(name: 'OutputValueString')
|
191
196
|
OutputsList = Shapes::ListShape.new(name: 'OutputsList')
|
192
|
-
PipelineRoleArn = Shapes::StringShape.new(name: 'PipelineRoleArn')
|
193
197
|
ProvisionedResource = Shapes::StructureShape.new(name: 'ProvisionedResource')
|
194
198
|
ProvisionedResourceEngine = Shapes::StringShape.new(name: 'ProvisionedResourceEngine')
|
195
199
|
ProvisionedResourceIdentifier = Shapes::StringShape.new(name: 'ProvisionedResourceIdentifier')
|
@@ -222,6 +226,8 @@ module Aws::Proton
|
|
222
226
|
ResourceSyncEvents = Shapes::ListShape.new(name: 'ResourceSyncEvents')
|
223
227
|
ResourceSyncStatus = Shapes::StringShape.new(name: 'ResourceSyncStatus')
|
224
228
|
Revision = Shapes::StructureShape.new(name: 'Revision')
|
229
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
230
|
+
RoleArnOrEmptyString = Shapes::StringShape.new(name: 'RoleArnOrEmptyString')
|
225
231
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
226
232
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
227
233
|
S3ObjectSource = Shapes::StructureShape.new(name: 'S3ObjectSource')
|
@@ -247,6 +253,7 @@ module Aws::Proton
|
|
247
253
|
ServiceTemplateVersionArn = Shapes::StringShape.new(name: 'ServiceTemplateVersionArn')
|
248
254
|
ServiceTemplateVersionSummary = Shapes::StructureShape.new(name: 'ServiceTemplateVersionSummary')
|
249
255
|
ServiceTemplateVersionSummaryList = Shapes::ListShape.new(name: 'ServiceTemplateVersionSummaryList')
|
256
|
+
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
250
257
|
SpecContents = Shapes::StringShape.new(name: 'SpecContents')
|
251
258
|
StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
|
252
259
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -306,8 +313,9 @@ module Aws::Proton
|
|
306
313
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
307
314
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
308
315
|
|
316
|
+
AccountSettings.add_member(:pipeline_codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineCodebuildRoleArn"))
|
309
317
|
AccountSettings.add_member(:pipeline_provisioning_repository, Shapes::ShapeRef.new(shape: RepositoryBranch, location_name: "pipelineProvisioningRepository"))
|
310
|
-
AccountSettings.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape:
|
318
|
+
AccountSettings.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineServiceRoleArn"))
|
311
319
|
AccountSettings.struct_class = Types::AccountSettings
|
312
320
|
|
313
321
|
CancelComponentDeploymentInput.add_member(:component_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "componentName"))
|
@@ -395,17 +403,19 @@ module Aws::Proton
|
|
395
403
|
CreateComponentOutput.struct_class = Types::CreateComponentOutput
|
396
404
|
|
397
405
|
CreateEnvironmentAccountConnectionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
398
|
-
CreateEnvironmentAccountConnectionInput.add_member(:
|
406
|
+
CreateEnvironmentAccountConnectionInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
|
407
|
+
CreateEnvironmentAccountConnectionInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
|
399
408
|
CreateEnvironmentAccountConnectionInput.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "environmentName"))
|
400
409
|
CreateEnvironmentAccountConnectionInput.add_member(:management_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "managementAccountId"))
|
401
|
-
CreateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
410
|
+
CreateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
402
411
|
CreateEnvironmentAccountConnectionInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
403
412
|
CreateEnvironmentAccountConnectionInput.struct_class = Types::CreateEnvironmentAccountConnectionInput
|
404
413
|
|
405
414
|
CreateEnvironmentAccountConnectionOutput.add_member(:environment_account_connection, Shapes::ShapeRef.new(shape: EnvironmentAccountConnection, required: true, location_name: "environmentAccountConnection"))
|
406
415
|
CreateEnvironmentAccountConnectionOutput.struct_class = Types::CreateEnvironmentAccountConnectionOutput
|
407
416
|
|
408
|
-
CreateEnvironmentInput.add_member(:
|
417
|
+
CreateEnvironmentInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
|
418
|
+
CreateEnvironmentInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
|
409
419
|
CreateEnvironmentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
410
420
|
CreateEnvironmentInput.add_member(:environment_account_connection_id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, location_name: "environmentAccountConnectionId"))
|
411
421
|
CreateEnvironmentInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
@@ -570,7 +580,8 @@ module Aws::Proton
|
|
570
580
|
DeleteTemplateSyncConfigOutput.struct_class = Types::DeleteTemplateSyncConfigOutput
|
571
581
|
|
572
582
|
Environment.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location_name: "arn"))
|
573
|
-
Environment.add_member(:
|
583
|
+
Environment.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
|
584
|
+
Environment.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
|
574
585
|
Environment.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
575
586
|
Environment.add_member(:deployment_status, Shapes::ShapeRef.new(shape: DeploymentStatus, required: true, location_name: "deploymentStatus"))
|
576
587
|
Environment.add_member(:deployment_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "deploymentStatusMessage"))
|
@@ -590,7 +601,8 @@ module Aws::Proton
|
|
590
601
|
Environment.struct_class = Types::Environment
|
591
602
|
|
592
603
|
EnvironmentAccountConnection.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionArn, required: true, location_name: "arn"))
|
593
|
-
EnvironmentAccountConnection.add_member(:
|
604
|
+
EnvironmentAccountConnection.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
|
605
|
+
EnvironmentAccountConnection.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
|
594
606
|
EnvironmentAccountConnection.add_member(:environment_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "environmentAccountId"))
|
595
607
|
EnvironmentAccountConnection.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "environmentName"))
|
596
608
|
EnvironmentAccountConnection.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, required: true, location_name: "id"))
|
@@ -910,9 +922,18 @@ module Aws::Proton
|
|
910
922
|
ListServiceInstanceProvisionedResourcesOutput.add_member(:provisioned_resources, Shapes::ShapeRef.new(shape: ProvisionedResourceList, required: true, location_name: "provisionedResources"))
|
911
923
|
ListServiceInstanceProvisionedResourcesOutput.struct_class = Types::ListServiceInstanceProvisionedResourcesOutput
|
912
924
|
|
925
|
+
ListServiceInstancesFilter.add_member(:key, Shapes::ShapeRef.new(shape: ListServiceInstancesFilterBy, location_name: "key"))
|
926
|
+
ListServiceInstancesFilter.add_member(:value, Shapes::ShapeRef.new(shape: ListServiceInstancesFilterValue, location_name: "value"))
|
927
|
+
ListServiceInstancesFilter.struct_class = Types::ListServiceInstancesFilter
|
928
|
+
|
929
|
+
ListServiceInstancesFilterList.member = Shapes::ShapeRef.new(shape: ListServiceInstancesFilter)
|
930
|
+
|
931
|
+
ListServiceInstancesInput.add_member(:filters, Shapes::ShapeRef.new(shape: ListServiceInstancesFilterList, location_name: "filters"))
|
913
932
|
ListServiceInstancesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPageResults, location_name: "maxResults"))
|
914
933
|
ListServiceInstancesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
915
934
|
ListServiceInstancesInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "serviceName"))
|
935
|
+
ListServiceInstancesInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: ListServiceInstancesSortBy, location_name: "sortBy"))
|
936
|
+
ListServiceInstancesInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
|
916
937
|
ListServiceInstancesInput.struct_class = Types::ListServiceInstancesInput
|
917
938
|
|
918
939
|
ListServiceInstancesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
@@ -973,7 +994,7 @@ module Aws::Proton
|
|
973
994
|
NotifyResourceDeploymentStatusChangeInput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
|
974
995
|
NotifyResourceDeploymentStatusChangeInput.add_member(:outputs, Shapes::ShapeRef.new(shape: NotifyResourceDeploymentStatusChangeInputOutputsList, location_name: "outputs"))
|
975
996
|
NotifyResourceDeploymentStatusChangeInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
976
|
-
NotifyResourceDeploymentStatusChangeInput.add_member(:status, Shapes::ShapeRef.new(shape: ResourceDeploymentStatus,
|
997
|
+
NotifyResourceDeploymentStatusChangeInput.add_member(:status, Shapes::ShapeRef.new(shape: ResourceDeploymentStatus, location_name: "status"))
|
977
998
|
NotifyResourceDeploymentStatusChangeInput.add_member(:status_message, Shapes::ShapeRef.new(shape: NotifyResourceDeploymentStatusChangeInputStatusMessageString, location_name: "statusMessage"))
|
978
999
|
NotifyResourceDeploymentStatusChangeInput.struct_class = Types::NotifyResourceDeploymentStatusChangeInput
|
979
1000
|
|
@@ -1241,8 +1262,9 @@ module Aws::Proton
|
|
1241
1262
|
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
1242
1263
|
|
1243
1264
|
UpdateAccountSettingsInput.add_member(:delete_pipeline_provisioning_repository, Shapes::ShapeRef.new(shape: Boolean, location_name: "deletePipelineProvisioningRepository"))
|
1265
|
+
UpdateAccountSettingsInput.add_member(:pipeline_codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineCodebuildRoleArn"))
|
1244
1266
|
UpdateAccountSettingsInput.add_member(:pipeline_provisioning_repository, Shapes::ShapeRef.new(shape: RepositoryBranchInput, location_name: "pipelineProvisioningRepository"))
|
1245
|
-
UpdateAccountSettingsInput.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape:
|
1267
|
+
UpdateAccountSettingsInput.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineServiceRoleArn"))
|
1246
1268
|
UpdateAccountSettingsInput.struct_class = Types::UpdateAccountSettingsInput
|
1247
1269
|
|
1248
1270
|
UpdateAccountSettingsOutput.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, required: true, location_name: "accountSettings"))
|
@@ -1260,15 +1282,17 @@ module Aws::Proton
|
|
1260
1282
|
UpdateComponentOutput.add_member(:component, Shapes::ShapeRef.new(shape: Component, required: true, location_name: "component"))
|
1261
1283
|
UpdateComponentOutput.struct_class = Types::UpdateComponentOutput
|
1262
1284
|
|
1263
|
-
UpdateEnvironmentAccountConnectionInput.add_member(:
|
1285
|
+
UpdateEnvironmentAccountConnectionInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
|
1286
|
+
UpdateEnvironmentAccountConnectionInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
|
1264
1287
|
UpdateEnvironmentAccountConnectionInput.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, required: true, location_name: "id"))
|
1265
|
-
UpdateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape:
|
1288
|
+
UpdateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1266
1289
|
UpdateEnvironmentAccountConnectionInput.struct_class = Types::UpdateEnvironmentAccountConnectionInput
|
1267
1290
|
|
1268
1291
|
UpdateEnvironmentAccountConnectionOutput.add_member(:environment_account_connection, Shapes::ShapeRef.new(shape: EnvironmentAccountConnection, required: true, location_name: "environmentAccountConnection"))
|
1269
1292
|
UpdateEnvironmentAccountConnectionOutput.struct_class = Types::UpdateEnvironmentAccountConnectionOutput
|
1270
1293
|
|
1271
|
-
UpdateEnvironmentInput.add_member(:
|
1294
|
+
UpdateEnvironmentInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
|
1295
|
+
UpdateEnvironmentInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
|
1272
1296
|
UpdateEnvironmentInput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentUpdateType, required: true, location_name: "deploymentType"))
|
1273
1297
|
UpdateEnvironmentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1274
1298
|
UpdateEnvironmentInput.add_member(:environment_account_connection_id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, location_name: "environmentAccountConnectionId"))
|
data/lib/aws-sdk-proton/types.rb
CHANGED
@@ -57,6 +57,12 @@ module Aws::Proton
|
|
57
57
|
# Proton settings that are used for multiple services in the Amazon Web
|
58
58
|
# Services account.
|
59
59
|
#
|
60
|
+
# @!attribute [rw] pipeline_codebuild_role_arn
|
61
|
+
# The Amazon Resource Name (ARN) of the service role that Proton uses
|
62
|
+
# for provisioning pipelines. Proton assumes this role for
|
63
|
+
# CodeBuild-based provisioning.
|
64
|
+
# @return [String]
|
65
|
+
#
|
60
66
|
# @!attribute [rw] pipeline_provisioning_repository
|
61
67
|
# The linked repository for pipeline provisioning. Required if you
|
62
68
|
# have environments configured for self-managed provisioning with
|
@@ -75,6 +81,7 @@ module Aws::Proton
|
|
75
81
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/AccountSettings AWS API Documentation
|
76
82
|
#
|
77
83
|
class AccountSettings < Struct.new(
|
84
|
+
:pipeline_codebuild_role_arn,
|
78
85
|
:pipeline_provisioning_repository,
|
79
86
|
:pipeline_service_role_arn)
|
80
87
|
SENSITIVE = []
|
@@ -548,10 +555,11 @@ module Aws::Proton
|
|
548
555
|
#
|
549
556
|
# {
|
550
557
|
# client_token: "ClientToken",
|
551
|
-
#
|
558
|
+
# codebuild_role_arn: "RoleArn",
|
559
|
+
# component_role_arn: "RoleArn",
|
552
560
|
# environment_name: "ResourceName", # required
|
553
561
|
# management_account_id: "AwsAccountId", # required
|
554
|
-
# role_arn: "
|
562
|
+
# role_arn: "RoleArn", # required
|
555
563
|
# tags: [
|
556
564
|
# {
|
557
565
|
# key: "TagKey", # required
|
@@ -569,6 +577,13 @@ module Aws::Proton
|
|
569
577
|
# not need to pass this option.
|
570
578
|
# @return [String]
|
571
579
|
#
|
580
|
+
# @!attribute [rw] codebuild_role_arn
|
581
|
+
# The Amazon Resource Name (ARN) of an IAM service role in the
|
582
|
+
# environment account. Proton uses this role to provision
|
583
|
+
# infrastructure resources using CodeBuild-based provisioning in the
|
584
|
+
# associated environment account.
|
585
|
+
# @return [String]
|
586
|
+
#
|
572
587
|
# @!attribute [rw] component_role_arn
|
573
588
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
574
589
|
# uses when provisioning directly defined components in the associated
|
@@ -624,6 +639,7 @@ module Aws::Proton
|
|
624
639
|
#
|
625
640
|
class CreateEnvironmentAccountConnectionInput < Struct.new(
|
626
641
|
:client_token,
|
642
|
+
:codebuild_role_arn,
|
627
643
|
:component_role_arn,
|
628
644
|
:environment_name,
|
629
645
|
:management_account_id,
|
@@ -650,7 +666,8 @@ module Aws::Proton
|
|
650
666
|
# data as a hash:
|
651
667
|
#
|
652
668
|
# {
|
653
|
-
#
|
669
|
+
# codebuild_role_arn: "RoleArn",
|
670
|
+
# component_role_arn: "RoleArn",
|
654
671
|
# description: "Description",
|
655
672
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
656
673
|
# name: "ResourceName", # required
|
@@ -672,6 +689,16 @@ module Aws::Proton
|
|
672
689
|
# template_name: "ResourceName", # required
|
673
690
|
# }
|
674
691
|
#
|
692
|
+
# @!attribute [rw] codebuild_role_arn
|
693
|
+
# The Amazon Resource Name (ARN) of the IAM service role that allows
|
694
|
+
# Proton to provision infrastructure using CodeBuild-based
|
695
|
+
# provisioning on your behalf.
|
696
|
+
#
|
697
|
+
# To use CodeBuild-based provisioning for the environment or for any
|
698
|
+
# service instance running in the environment, specify either the
|
699
|
+
# `environmentAccountConnectionId` or `codebuildRoleArn` parameter.
|
700
|
+
# @return [String]
|
701
|
+
#
|
675
702
|
# @!attribute [rw] component_role_arn
|
676
703
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
677
704
|
# uses when provisioning directly defined components in this
|
@@ -776,6 +803,7 @@ module Aws::Proton
|
|
776
803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentInput AWS API Documentation
|
777
804
|
#
|
778
805
|
class CreateEnvironmentInput < Struct.new(
|
806
|
+
:codebuild_role_arn,
|
779
807
|
:component_role_arn,
|
780
808
|
:description,
|
781
809
|
:environment_account_connection_id,
|
@@ -1784,6 +1812,12 @@ module Aws::Proton
|
|
1784
1812
|
# The Amazon Resource Name (ARN) of the environment.
|
1785
1813
|
# @return [String]
|
1786
1814
|
#
|
1815
|
+
# @!attribute [rw] codebuild_role_arn
|
1816
|
+
# The Amazon Resource Name (ARN) of the IAM service role that allows
|
1817
|
+
# Proton to provision infrastructure using CodeBuild-based
|
1818
|
+
# provisioning on your behalf.
|
1819
|
+
# @return [String]
|
1820
|
+
#
|
1787
1821
|
# @!attribute [rw] component_role_arn
|
1788
1822
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
1789
1823
|
# uses when provisioning directly defined components in this
|
@@ -1876,6 +1910,7 @@ module Aws::Proton
|
|
1876
1910
|
#
|
1877
1911
|
class Environment < Struct.new(
|
1878
1912
|
:arn,
|
1913
|
+
:codebuild_role_arn,
|
1879
1914
|
:component_role_arn,
|
1880
1915
|
:created_at,
|
1881
1916
|
:deployment_status,
|
@@ -1904,6 +1939,13 @@ module Aws::Proton
|
|
1904
1939
|
# connection.
|
1905
1940
|
# @return [String]
|
1906
1941
|
#
|
1942
|
+
# @!attribute [rw] codebuild_role_arn
|
1943
|
+
# The Amazon Resource Name (ARN) of an IAM service role in the
|
1944
|
+
# environment account. Proton uses this role to provision
|
1945
|
+
# infrastructure resources using CodeBuild-based provisioning in the
|
1946
|
+
# associated environment account.
|
1947
|
+
# @return [String]
|
1948
|
+
#
|
1907
1949
|
# @!attribute [rw] component_role_arn
|
1908
1950
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
1909
1951
|
# uses when provisioning directly defined components in the associated
|
@@ -1962,6 +2004,7 @@ module Aws::Proton
|
|
1962
2004
|
#
|
1963
2005
|
class EnvironmentAccountConnection < Struct.new(
|
1964
2006
|
:arn,
|
2007
|
+
:codebuild_role_arn,
|
1965
2008
|
:component_role_arn,
|
1966
2009
|
:environment_account_id,
|
1967
2010
|
:environment_name,
|
@@ -3647,15 +3690,65 @@ module Aws::Proton
|
|
3647
3690
|
include Aws::Structure
|
3648
3691
|
end
|
3649
3692
|
|
3693
|
+
# A filtering criterion to scope down the result list of the
|
3694
|
+
# ListServiceInstances action.
|
3695
|
+
#
|
3696
|
+
# @note When making an API call, you may pass ListServiceInstancesFilter
|
3697
|
+
# data as a hash:
|
3698
|
+
#
|
3699
|
+
# {
|
3700
|
+
# key: "name", # accepts name, deploymentStatus, templateName, serviceName, deployedTemplateVersionStatus, environmentName, lastDeploymentAttemptedAtBefore, lastDeploymentAttemptedAtAfter, createdAtBefore, createdAtAfter
|
3701
|
+
# value: "ListServiceInstancesFilterValue",
|
3702
|
+
# }
|
3703
|
+
#
|
3704
|
+
# @!attribute [rw] key
|
3705
|
+
# The name of a filtering criterion.
|
3706
|
+
# @return [String]
|
3707
|
+
#
|
3708
|
+
# @!attribute [rw] value
|
3709
|
+
# A value to filter by.
|
3710
|
+
#
|
3711
|
+
# With the date/time keys (`*At\{Before,After\}`), the value is a
|
3712
|
+
# valid [RFC 3339][1] string with no UTC offset and with an optional
|
3713
|
+
# fractional precision (for example, `1985-04-12T23:20:50.52Z`).
|
3714
|
+
#
|
3715
|
+
#
|
3716
|
+
#
|
3717
|
+
# [1]: https://datatracker.ietf.org/doc/html/rfc3339.html
|
3718
|
+
# @return [String]
|
3719
|
+
#
|
3720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstancesFilter AWS API Documentation
|
3721
|
+
#
|
3722
|
+
class ListServiceInstancesFilter < Struct.new(
|
3723
|
+
:key,
|
3724
|
+
:value)
|
3725
|
+
SENSITIVE = []
|
3726
|
+
include Aws::Structure
|
3727
|
+
end
|
3728
|
+
|
3650
3729
|
# @note When making an API call, you may pass ListServiceInstancesInput
|
3651
3730
|
# data as a hash:
|
3652
3731
|
#
|
3653
3732
|
# {
|
3733
|
+
# filters: [
|
3734
|
+
# {
|
3735
|
+
# key: "name", # accepts name, deploymentStatus, templateName, serviceName, deployedTemplateVersionStatus, environmentName, lastDeploymentAttemptedAtBefore, lastDeploymentAttemptedAtAfter, createdAtBefore, createdAtAfter
|
3736
|
+
# value: "ListServiceInstancesFilterValue",
|
3737
|
+
# },
|
3738
|
+
# ],
|
3654
3739
|
# max_results: 1,
|
3655
3740
|
# next_token: "NextToken",
|
3656
3741
|
# service_name: "ResourceName",
|
3742
|
+
# sort_by: "name", # accepts name, deploymentStatus, templateName, serviceName, environmentName, lastDeploymentAttemptedAt, createdAt
|
3743
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3657
3744
|
# }
|
3658
3745
|
#
|
3746
|
+
# @!attribute [rw] filters
|
3747
|
+
# An array of filtering criteria that scope down the result list. By
|
3748
|
+
# default, all service instances in the Amazon Web Services account
|
3749
|
+
# are returned.
|
3750
|
+
# @return [Array<Types::ListServiceInstancesFilter>]
|
3751
|
+
#
|
3659
3752
|
# @!attribute [rw] max_results
|
3660
3753
|
# The maximum number of service instances to list.
|
3661
3754
|
# @return [Integer]
|
@@ -3670,12 +3763,30 @@ module Aws::Proton
|
|
3670
3763
|
# The name of the service that the service instance belongs to.
|
3671
3764
|
# @return [String]
|
3672
3765
|
#
|
3766
|
+
# @!attribute [rw] sort_by
|
3767
|
+
# The field that the result list is sorted by.
|
3768
|
+
#
|
3769
|
+
# When you choose to sort by `serviceName`, service instances within
|
3770
|
+
# each service are sorted by service instance name.
|
3771
|
+
#
|
3772
|
+
# Default: `serviceName`
|
3773
|
+
# @return [String]
|
3774
|
+
#
|
3775
|
+
# @!attribute [rw] sort_order
|
3776
|
+
# Result list sort order.
|
3777
|
+
#
|
3778
|
+
# Default: `ASCENDING`
|
3779
|
+
# @return [String]
|
3780
|
+
#
|
3673
3781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstancesInput AWS API Documentation
|
3674
3782
|
#
|
3675
3783
|
class ListServiceInstancesInput < Struct.new(
|
3784
|
+
:filters,
|
3676
3785
|
:max_results,
|
3677
3786
|
:next_token,
|
3678
|
-
:service_name
|
3787
|
+
:service_name,
|
3788
|
+
:sort_by,
|
3789
|
+
:sort_order)
|
3679
3790
|
SENSITIVE = []
|
3680
3791
|
include Aws::Structure
|
3681
3792
|
end
|
@@ -4011,7 +4122,7 @@ module Aws::Proton
|
|
4011
4122
|
# },
|
4012
4123
|
# ],
|
4013
4124
|
# resource_arn: "Arn", # required
|
4014
|
-
# status: "IN_PROGRESS", #
|
4125
|
+
# status: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, SUCCEEDED
|
4015
4126
|
# status_message: "NotifyResourceDeploymentStatusChangeInputStatusMessageString",
|
4016
4127
|
# }
|
4017
4128
|
#
|
@@ -5280,12 +5391,13 @@ module Aws::Proton
|
|
5280
5391
|
#
|
5281
5392
|
# {
|
5282
5393
|
# delete_pipeline_provisioning_repository: false,
|
5394
|
+
# pipeline_codebuild_role_arn: "RoleArnOrEmptyString",
|
5283
5395
|
# pipeline_provisioning_repository: {
|
5284
5396
|
# branch: "GitBranchName", # required
|
5285
5397
|
# name: "RepositoryName", # required
|
5286
5398
|
# provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
|
5287
5399
|
# },
|
5288
|
-
# pipeline_service_role_arn: "
|
5400
|
+
# pipeline_service_role_arn: "RoleArnOrEmptyString",
|
5289
5401
|
# }
|
5290
5402
|
#
|
5291
5403
|
# @!attribute [rw] delete_pipeline_provisioning_repository
|
@@ -5294,6 +5406,12 @@ module Aws::Proton
|
|
5294
5406
|
# configured pipeline repository.
|
5295
5407
|
# @return [Boolean]
|
5296
5408
|
#
|
5409
|
+
# @!attribute [rw] pipeline_codebuild_role_arn
|
5410
|
+
# The Amazon Resource Name (ARN) of the service role you want to use
|
5411
|
+
# for provisioning pipelines. Proton assumes this role for
|
5412
|
+
# CodeBuild-based provisioning.
|
5413
|
+
# @return [String]
|
5414
|
+
#
|
5297
5415
|
# @!attribute [rw] pipeline_provisioning_repository
|
5298
5416
|
# A linked repository for pipeline provisioning. Specify it if you
|
5299
5417
|
# have environments configured for self-managed provisioning with
|
@@ -5319,6 +5437,7 @@ module Aws::Proton
|
|
5319
5437
|
#
|
5320
5438
|
class UpdateAccountSettingsInput < Struct.new(
|
5321
5439
|
:delete_pipeline_provisioning_repository,
|
5440
|
+
:pipeline_codebuild_role_arn,
|
5322
5441
|
:pipeline_provisioning_repository,
|
5323
5442
|
:pipeline_service_role_arn)
|
5324
5443
|
SENSITIVE = []
|
@@ -5444,11 +5563,19 @@ module Aws::Proton
|
|
5444
5563
|
# data as a hash:
|
5445
5564
|
#
|
5446
5565
|
# {
|
5447
|
-
#
|
5566
|
+
# codebuild_role_arn: "RoleArn",
|
5567
|
+
# component_role_arn: "RoleArn",
|
5448
5568
|
# id: "EnvironmentAccountConnectionId", # required
|
5449
|
-
# role_arn: "
|
5569
|
+
# role_arn: "RoleArn",
|
5450
5570
|
# }
|
5451
5571
|
#
|
5572
|
+
# @!attribute [rw] codebuild_role_arn
|
5573
|
+
# The Amazon Resource Name (ARN) of an IAM service role in the
|
5574
|
+
# environment account. Proton uses this role to provision
|
5575
|
+
# infrastructure resources using CodeBuild-based provisioning in the
|
5576
|
+
# associated environment account.
|
5577
|
+
# @return [String]
|
5578
|
+
#
|
5452
5579
|
# @!attribute [rw] component_role_arn
|
5453
5580
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
5454
5581
|
# uses when provisioning directly defined components in the associated
|
@@ -5479,6 +5606,7 @@ module Aws::Proton
|
|
5479
5606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentAccountConnectionInput AWS API Documentation
|
5480
5607
|
#
|
5481
5608
|
class UpdateEnvironmentAccountConnectionInput < Struct.new(
|
5609
|
+
:codebuild_role_arn,
|
5482
5610
|
:component_role_arn,
|
5483
5611
|
:id,
|
5484
5612
|
:role_arn)
|
@@ -5503,7 +5631,8 @@ module Aws::Proton
|
|
5503
5631
|
# data as a hash:
|
5504
5632
|
#
|
5505
5633
|
# {
|
5506
|
-
#
|
5634
|
+
# codebuild_role_arn: "RoleArn",
|
5635
|
+
# component_role_arn: "RoleArn",
|
5507
5636
|
# deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION, MINOR_VERSION, MAJOR_VERSION
|
5508
5637
|
# description: "Description",
|
5509
5638
|
# environment_account_connection_id: "EnvironmentAccountConnectionId",
|
@@ -5519,6 +5648,12 @@ module Aws::Proton
|
|
5519
5648
|
# template_minor_version: "TemplateVersionPart",
|
5520
5649
|
# }
|
5521
5650
|
#
|
5651
|
+
# @!attribute [rw] codebuild_role_arn
|
5652
|
+
# The Amazon Resource Name (ARN) of the IAM service role that allows
|
5653
|
+
# Proton to provision infrastructure using CodeBuild-based
|
5654
|
+
# provisioning on your behalf.
|
5655
|
+
# @return [String]
|
5656
|
+
#
|
5522
5657
|
# @!attribute [rw] component_role_arn
|
5523
5658
|
# The Amazon Resource Name (ARN) of the IAM service role that Proton
|
5524
5659
|
# uses when provisioning directly defined components in this
|
@@ -5620,6 +5755,7 @@ module Aws::Proton
|
|
5620
5755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentInput AWS API Documentation
|
5621
5756
|
#
|
5622
5757
|
class UpdateEnvironmentInput < Struct.new(
|
5758
|
+
:codebuild_role_arn,
|
5623
5759
|
:component_role_arn,
|
5624
5760
|
:deployment_type,
|
5625
5761
|
:description,
|
data/lib/aws-sdk-proton.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-proton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.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: 2022-
|
11
|
+
date: 2022-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|