aws-sdk-proton 1.19.0 → 1.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a54dcd6810fcef8979772a47975580b51acd528ebc85fbaad40d1b4a6d0f70a
4
- data.tar.gz: 04e2cae9aca1c0b81eb1a615cacf31f47ce7811bce496e8d12ef1309be92043e
3
+ metadata.gz: 2a995c34eb20768735466e4c2683e17ceb7e1066e6cd70b0dda8317b6085f532
4
+ data.tar.gz: 5e5ce8fb3cbc0deae9f6e70065de6aa9ee283adff58fefc6553be4801dfce8f9
5
5
  SHA512:
6
- metadata.gz: 925fece7859267df592bb07f1682bcc6d24536c64bbe3eb8c021b46b3b30e235be49ef5703b47dd3317ea2cd2efa004a887980a05563765a61b7b8cb45a04cd1
7
- data.tar.gz: 10be88edde46c9f97550b384cdc7df24fcf91bcc926cfb36a4ae4d5bcde035994913e79abe0935e1264ca77405432b63233bf75fb666cbc32b9a2d3da9e83329
6
+ metadata.gz: 75e2836c6c38e0895bbdfef0fd1706653ad1e773bc72bc001eac14ffa5b2e5d063da4f1f56fa2b64d5b3d730f3d8a7232daf169d647dd5f38f355cb60b881c8e
7
+ data.tar.gz: 88733cba9a283e62e4ea1369a97e224c4ae221440a7319cf29625d30c9ff5fb28152ee4541a1263bb2a253080497cbe304e837ca76012fd28a544388d328b053
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.19.0 (2022-11-14)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.20.0
@@ -779,18 +779,13 @@ module Aws::Proton
779
779
  #
780
780
  # **You can provision environments using the following methods:**
781
781
  #
782
- # * **Amazon Web Services-managed provisioning** Proton makes direct
783
- # calls to provision your resources.
782
+ # * Amazon Web Services-managed provisioning: Proton makes direct calls
783
+ # to provision your resources.
784
784
  #
785
- # * **Self-managed provisioning** Proton makes pull requests on your
785
+ # * Self-managed provisioning: Proton makes pull requests on your
786
786
  # repository to provide compiled infrastructure as code (IaC) files
787
787
  # that your IaC engine uses to provision resources.
788
788
  #
789
- # * **CodeBuild-based provisioning** – Proton uses CodeBuild to run
790
- # shell commands that you provide. Your commands can read inputs that
791
- # Proton provides, and are responsible for provisioning or
792
- # deprovisioning infrastructure and generating output values.
793
- #
794
789
  # For more information, see [Environments][1] and [Provisioning
795
790
  # methods][2] in the *Proton User Guide*.
796
791
  #
@@ -828,15 +823,15 @@ module Aws::Proton
828
823
  # A description of the environment that's being created and deployed.
829
824
  #
830
825
  # @option params [String] :environment_account_connection_id
831
- # The ID of the environment account connection that you provide if you
832
- # want Proton to provision infrastructure resources for your environment
833
- # or for any of the service instances running in it in an environment
834
- # account. For more information, see [Environment account
826
+ # The ID of the environment account connection that you provide if
827
+ # you're provisioning your environment infrastructure resources to an
828
+ # environment account. For more information, see [Environment account
835
829
  # connections][1] in the *Proton User guide*.
836
830
  #
837
- # If you specify the `environmentAccountConnectionId` parameter, don't
838
- # specify `protonServiceRoleArn`, `codebuildRoleArn`, or
839
- # `provisioningRepository`.
831
+ # To use Amazon Web Services-managed provisioning for the environment,
832
+ # specify either the `environmentAccountConnectionId` or
833
+ # `protonServiceRoleArn` parameter and omit the `provisioningRepository`
834
+ # parameter.
840
835
  #
841
836
  #
842
837
  #
@@ -846,13 +841,12 @@ module Aws::Proton
846
841
  # The name of the environment.
847
842
  #
848
843
  # @option params [String] :proton_service_role_arn
849
- # The Amazon Resource Name (ARN) of the IAM service role that allows
850
- # Proton to provision infrastructure using Amazon Web Services-managed
851
- # provisioning and CloudFormation on your behalf.
844
+ # The Amazon Resource Name (ARN) of the Proton service role that allows
845
+ # Proton to make calls to other services on your behalf.
852
846
  #
853
- # To use Amazon Web Services-managed provisioning for the environment or
854
- # for any service instance running in the environment, specify either
855
- # the `environmentAccountConnectionId` or `protonServiceRoleArn`
847
+ # To use Amazon Web Services-managed provisioning for the environment,
848
+ # specify either the `environmentAccountConnectionId` or
849
+ # `protonServiceRoleArn` parameter and omit the `provisioningRepository`
856
850
  # parameter.
857
851
  #
858
852
  # @option params [Types::RepositoryBranchInput] :provisioning_repository
@@ -861,8 +855,9 @@ module Aws::Proton
861
855
  # repository is a repository that has been registered with Proton. For
862
856
  # more information, see CreateRepository.
863
857
  #
864
- # To use self-managed provisioning for the environment or for any
865
- # service instance running in the environment, specify this parameter.
858
+ # To use self-managed provisioning for the environment, specify this
859
+ # parameter and omit the `environmentAccountConnectionId` and
860
+ # `protonServiceRoleArn` parameters.
866
861
  #
867
862
  # @option params [required, String] :spec
868
863
  # A YAML formatted string that provides inputs as defined in the
@@ -990,11 +985,10 @@ module Aws::Proton
990
985
  # environment account.
991
986
  #
992
987
  # @option params [String] :component_role_arn
993
- # The Amazon Resource Name (ARN) of an IAM service role in the
994
- # environment account. Proton uses this role to provision directly
995
- # defined components in the associated environment account. It
996
- # determines the scope of infrastructure that a component can provision
997
- # in the account.
988
+ # The Amazon Resource Name (ARN) of the IAM service role that Proton
989
+ # uses when provisioning directly defined components in the associated
990
+ # environment account. It determines the scope of infrastructure that a
991
+ # component can provision in the account.
998
992
  #
999
993
  # You must specify `componentRoleArn` to allow directly defined
1000
994
  # components to be associated with any environments running in this
@@ -1020,10 +1014,9 @@ module Aws::Proton
1020
1014
  # environment account.
1021
1015
  #
1022
1016
  # @option params [required, String] :role_arn
1023
- # The Amazon Resource Name (ARN) of an IAM service role in the
1024
- # environment account. Proton uses this role to provision infrastructure
1025
- # resources using Amazon Web Services-managed provisioning and
1026
- # CloudFormation in the associated environment account.
1017
+ # The Amazon Resource Name (ARN) of the IAM service role that's created
1018
+ # in the environment account. Proton uses this role to provision
1019
+ # infrastructure resources in the associated environment account.
1027
1020
  #
1028
1021
  # @option params [Array<Types::Tag>] :tags
1029
1022
  # An optional list of metadata items that you can associate with the
@@ -3579,7 +3572,13 @@ module Aws::Proton
3579
3572
  req.send_request(options)
3580
3573
  end
3581
3574
 
3582
- # 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.
3583
3582
  #
3584
3583
  # @option params [Integer] :max_results
3585
3584
  # The maximum number of service instances to list.
@@ -3592,6 +3591,19 @@ module Aws::Proton
3592
3591
  # @option params [String] :service_name
3593
3592
  # The name of the service that the service instance belongs to.
3594
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
+ #
3595
3607
  # @return [Types::ListServiceInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3596
3608
  #
3597
3609
  # * {Types::ListServiceInstancesOutput#next_token #next_token} => String
@@ -3602,9 +3614,17 @@ module Aws::Proton
3602
3614
  # @example Request syntax with placeholder values
3603
3615
  #
3604
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
+ # ],
3605
3623
  # max_results: 1,
3606
3624
  # next_token: "NextToken",
3607
3625
  # service_name: "ResourceName",
3626
+ # sort_by: "name", # accepts name, deploymentStatus, templateName, serviceName, environmentName, lastDeploymentAttemptedAt, createdAt
3627
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
3608
3628
  # })
3609
3629
  #
3610
3630
  # @example Response structure
@@ -3915,38 +3935,25 @@ module Aws::Proton
3915
3935
  req.send_request(options)
3916
3936
  end
3917
3937
 
3918
- # Notify Proton of the following information related to a provisioned
3919
- # resource (environment, service instance, or service pipeline):
3920
- #
3921
- # * For [CodeBuild-based provisioning][1], provide your provisioned
3922
- # resource output values to Proton.
3923
- #
3924
- # * For [self-managed provisioning][2], notify Proton about the status
3925
- # of your provisioned resource. To disambiguate between different
3926
- # deployments of the same resource, set `deploymentId` to a unique
3927
- # deployment ID of your choice.
3938
+ # Notify Proton of status changes to a provisioned resource when you use
3939
+ # self-managed provisioning.
3928
3940
  #
3929
- # </li> </ul>
3941
+ # For more information, see [Self-managed provisioning][1] in the
3942
+ # *Proton User Guide*.
3930
3943
  #
3931
3944
  #
3932
3945
  #
3933
- # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-codebuild
3934
- # [2]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
3946
+ # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
3935
3947
  #
3936
3948
  # @option params [String] :deployment_id
3937
- # The deployment ID for your provisioned resource. Proton uses it to
3938
- # disambiguate different deployments of the resource. Applicable to
3939
- # [self-managed provisioning][1].
3940
- #
3941
- #
3942
- #
3943
- # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
3949
+ # The deployment ID for your provisioned resource.
3944
3950
  #
3945
3951
  # @option params [Array<Types::Output>] :outputs
3946
- # The output values generated by your provisioned resource.
3952
+ # The provisioned resource state change detail data that's returned by
3953
+ # Proton.
3947
3954
  #
3948
3955
  # @option params [required, String] :resource_arn
3949
- # The Amazon Resource Name (ARN) of your provisioned resource.
3956
+ # The provisioned resource Amazon Resource Name (ARN).
3950
3957
  #
3951
3958
  # @option params [String] :status
3952
3959
  # The status of your provisioned resource.
@@ -4292,8 +4299,9 @@ module Aws::Proton
4292
4299
  # Update an environment.
4293
4300
  #
4294
4301
  # If the environment is associated with an environment account
4295
- # connection, *don't* update or include the `protonServiceRoleArn`,
4296
- # `codebuildRoleArn`, and `provisioningRepository` parameters.
4302
+ # connection, *don't* update or include the `protonServiceRoleArn` and
4303
+ # `provisioningRepository` parameter to update or connect to an
4304
+ # environment account connection.
4297
4305
  #
4298
4306
  # You can only update to a new environment account connection if that
4299
4307
  # connection was created in the same environment account that the
@@ -4306,18 +4314,16 @@ module Aws::Proton
4306
4314
  # connect the environment to an environment account connection if it
4307
4315
  # *isn't* already associated with an environment connection.
4308
4316
  #
4309
- # You can update either `environmentAccountConnectionId` or one or more
4310
- # of `protonServiceRoleArn`, `codebuildRoleArn`, and
4311
- # `provisioningRepository`.
4317
+ # You can update either the `environmentAccountConnectionId` or
4318
+ # `protonServiceRoleArn` parameter and value. You can’t update both.
4312
4319
  #
4313
- # If the environment was configured for Amazon Web Services-managed or
4314
- # CodeBuild-based provisioning, omit the `provisioningRepository`
4315
- # parameter.
4320
+ # If the environment was configured for Amazon Web Services-managed
4321
+ # provisioning, omit the `provisioningRepository` parameter.
4316
4322
  #
4317
4323
  # If the environment was configured for self-managed provisioning,
4318
4324
  # specify the `provisioningRepository` parameter and omit the
4319
- # `protonServiceRoleArn`, `codebuildRoleArn`, and
4320
- # `provisioningRepository` parameters.
4325
+ # `protonServiceRoleArn` and `environmentAccountConnectionId`
4326
+ # parameters.
4321
4327
  #
4322
4328
  # For more information, see [Environments][1] and [Provisioning
4323
4329
  # methods][2] in the *Proton User Guide*.
@@ -4429,28 +4435,19 @@ module Aws::Proton
4429
4435
  # A description of the environment update.
4430
4436
  #
4431
4437
  # @option params [String] :environment_account_connection_id
4432
- # The ID of the environment account connection that you provide if you
4433
- # want Proton to provision infrastructure resources for your environment
4434
- # or for any of the service instances running in it in an environment
4435
- # account. For more information, see [Environment account
4436
- # connections][1] in the *Proton User guide*.
4438
+ # The ID of the environment account connection.
4437
4439
  #
4438
4440
  # You can only update to a new environment account connection if it was
4439
4441
  # created in the same environment account that the current environment
4440
4442
  # account connection was created in and is associated with the current
4441
4443
  # environment.
4442
4444
  #
4443
- #
4444
- #
4445
- # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html
4446
- #
4447
4445
  # @option params [required, String] :name
4448
4446
  # The name of the environment to update.
4449
4447
  #
4450
4448
  # @option params [String] :proton_service_role_arn
4451
- # The Amazon Resource Name (ARN) of the IAM service role that allows
4452
- # Proton to provision infrastructure using Amazon Web Services-managed
4453
- # provisioning and CloudFormation on your behalf.
4449
+ # The Amazon Resource Name (ARN) of the Proton service role that allows
4450
+ # Proton to make API calls to other services your behalf.
4454
4451
  #
4455
4452
  # @option params [Types::RepositoryBranchInput] :provisioning_repository
4456
4453
  # The linked repository that you use to host your rendered
@@ -4562,10 +4559,8 @@ module Aws::Proton
4562
4559
  # The ID of the environment account connection to update.
4563
4560
  #
4564
4561
  # @option params [String] :role_arn
4565
- # The Amazon Resource Name (ARN) of an IAM service role in the
4566
- # environment account. Proton uses this role to provision infrastructure
4567
- # resources using Amazon Web Services-managed provisioning and
4568
- # CloudFormation in the associated environment account.
4562
+ # The Amazon Resource Name (ARN) of the IAM service role that's
4563
+ # associated with the environment account connection to update.
4569
4564
  #
4570
4565
  # @return [Types::UpdateEnvironmentAccountConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4571
4566
  #
@@ -5241,7 +5236,7 @@ module Aws::Proton
5241
5236
  params: params,
5242
5237
  config: config)
5243
5238
  context[:gem_name] = 'aws-sdk-proton'
5244
- context[:gem_version] = '1.19.0'
5239
+ context[:gem_version] = '1.20.0'
5245
5240
  Seahorse::Client::Request.new(handlers, context)
5246
5241
  end
5247
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')
@@ -248,6 +253,7 @@ module Aws::Proton
248
253
  ServiceTemplateVersionArn = Shapes::StringShape.new(name: 'ServiceTemplateVersionArn')
249
254
  ServiceTemplateVersionSummary = Shapes::StructureShape.new(name: 'ServiceTemplateVersionSummary')
250
255
  ServiceTemplateVersionSummaryList = Shapes::ListShape.new(name: 'ServiceTemplateVersionSummaryList')
256
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
251
257
  SpecContents = Shapes::StringShape.new(name: 'SpecContents')
252
258
  StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
253
259
  String = Shapes::StringShape.new(name: 'String')
@@ -916,9 +922,18 @@ module Aws::Proton
916
922
  ListServiceInstanceProvisionedResourcesOutput.add_member(:provisioned_resources, Shapes::ShapeRef.new(shape: ProvisionedResourceList, required: true, location_name: "provisionedResources"))
917
923
  ListServiceInstanceProvisionedResourcesOutput.struct_class = Types::ListServiceInstanceProvisionedResourcesOutput
918
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"))
919
932
  ListServiceInstancesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxPageResults, location_name: "maxResults"))
920
933
  ListServiceInstancesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
921
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"))
922
937
  ListServiceInstancesInput.struct_class = Types::ListServiceInstancesInput
923
938
 
924
939
  ListServiceInstancesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -72,9 +72,10 @@ module Aws::Proton
72
72
  # @return [Types::RepositoryBranch]
73
73
  #
74
74
  # @!attribute [rw] pipeline_service_role_arn
75
- # The Amazon Resource Name (ARN) of the service role that Proton uses
76
- # for provisioning pipelines. Proton assumes this role for Amazon Web
77
- # Services-managed provisioning.
75
+ # The Amazon Resource Name (ARN) of the service role you want to use
76
+ # for provisioning pipelines. Assumed by Proton for Amazon Web
77
+ # Services-managed provisioning, and by customer-owned automation for
78
+ # self-managed provisioning.
78
79
  # @return [String]
79
80
  #
80
81
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/AccountSettings AWS API Documentation
@@ -584,11 +585,10 @@ module Aws::Proton
584
585
  # @return [String]
585
586
  #
586
587
  # @!attribute [rw] component_role_arn
587
- # The Amazon Resource Name (ARN) of an IAM service role in the
588
- # environment account. Proton uses this role to provision directly
589
- # defined components in the associated environment account. It
590
- # determines the scope of infrastructure that a component can
591
- # provision in the account.
588
+ # The Amazon Resource Name (ARN) of the IAM service role that Proton
589
+ # uses when provisioning directly defined components in the associated
590
+ # environment account. It determines the scope of infrastructure that
591
+ # a component can provision in the account.
592
592
  #
593
593
  # You must specify `componentRoleArn` to allow directly defined
594
594
  # components to be associated with any environments running in this
@@ -617,10 +617,9 @@ module Aws::Proton
617
617
  # @return [String]
618
618
  #
619
619
  # @!attribute [rw] role_arn
620
- # The Amazon Resource Name (ARN) of an IAM service role in the
621
- # environment account. Proton uses this role to provision
622
- # infrastructure resources using Amazon Web Services-managed
623
- # provisioning and CloudFormation in the associated environment
620
+ # The Amazon Resource Name (ARN) of the IAM service role that's
621
+ # created in the environment account. Proton uses this role to
622
+ # provision infrastructure resources in the associated environment
624
623
  # account.
625
624
  # @return [String]
626
625
  #
@@ -722,15 +721,15 @@ module Aws::Proton
722
721
  # @return [String]
723
722
  #
724
723
  # @!attribute [rw] environment_account_connection_id
725
- # The ID of the environment account connection that you provide if you
726
- # want Proton to provision infrastructure resources for your
727
- # environment or for any of the service instances running in it in an
724
+ # The ID of the environment account connection that you provide if
725
+ # you're provisioning your environment infrastructure resources to an
728
726
  # environment account. For more information, see [Environment account
729
727
  # connections][1] in the *Proton User guide*.
730
728
  #
731
- # If you specify the `environmentAccountConnectionId` parameter,
732
- # don't specify `protonServiceRoleArn`, `codebuildRoleArn`, or
733
- # `provisioningRepository`.
729
+ # To use Amazon Web Services-managed provisioning for the environment,
730
+ # specify either the `environmentAccountConnectionId` or
731
+ # `protonServiceRoleArn` parameter and omit the
732
+ # `provisioningRepository` parameter.
734
733
  #
735
734
  #
736
735
  #
@@ -742,14 +741,13 @@ module Aws::Proton
742
741
  # @return [String]
743
742
  #
744
743
  # @!attribute [rw] proton_service_role_arn
745
- # The Amazon Resource Name (ARN) of the IAM service role that allows
746
- # Proton to provision infrastructure using Amazon Web Services-managed
747
- # provisioning and CloudFormation on your behalf.
744
+ # The Amazon Resource Name (ARN) of the Proton service role that
745
+ # allows Proton to make calls to other services on your behalf.
748
746
  #
749
- # To use Amazon Web Services-managed provisioning for the environment
750
- # or for any service instance running in the environment, specify
751
- # either the `environmentAccountConnectionId` or
752
- # `protonServiceRoleArn` parameter.
747
+ # To use Amazon Web Services-managed provisioning for the environment,
748
+ # specify either the `environmentAccountConnectionId` or
749
+ # `protonServiceRoleArn` parameter and omit the
750
+ # `provisioningRepository` parameter.
753
751
  # @return [String]
754
752
  #
755
753
  # @!attribute [rw] provisioning_repository
@@ -758,8 +756,9 @@ module Aws::Proton
758
756
  # repository is a repository that has been registered with Proton. For
759
757
  # more information, see CreateRepository.
760
758
  #
761
- # To use self-managed provisioning for the environment or for any
762
- # service instance running in the environment, specify this parameter.
759
+ # To use self-managed provisioning for the environment, specify this
760
+ # parameter and omit the `environmentAccountConnectionId` and
761
+ # `protonServiceRoleArn` parameters.
763
762
  # @return [Types::RepositoryBranchInput]
764
763
  #
765
764
  # @!attribute [rw] spec
@@ -1853,7 +1852,7 @@ module Aws::Proton
1853
1852
  # @return [String]
1854
1853
  #
1855
1854
  # @!attribute [rw] environment_account_connection_id
1856
- # The ID of the environment account connection that Proton uses to
1855
+ # The ID of the environment account connection that's used to
1857
1856
  # provision infrastructure resources in an environment account.
1858
1857
  # @return [String]
1859
1858
  #
@@ -1875,9 +1874,8 @@ module Aws::Proton
1875
1874
  # @return [String]
1876
1875
  #
1877
1876
  # @!attribute [rw] proton_service_role_arn
1878
- # The Amazon Resource Name (ARN) of the IAM service role that allows
1879
- # Proton to provision infrastructure using Amazon Web Services-managed
1880
- # provisioning and CloudFormation on your behalf.
1877
+ # The Amazon Resource Name (ARN) of the Proton service role that
1878
+ # allows Proton to make calls to other services on your behalf.
1881
1879
  # @return [String]
1882
1880
  #
1883
1881
  # @!attribute [rw] provisioning
@@ -1994,11 +1992,8 @@ module Aws::Proton
1994
1992
  # @return [Time]
1995
1993
  #
1996
1994
  # @!attribute [rw] role_arn
1997
- # The Amazon Resource Name (ARN) of an IAM service role in the
1998
- # environment account. Proton uses this role to provision
1999
- # infrastructure resources using Amazon Web Services-managed
2000
- # provisioning and CloudFormation in the associated environment
2001
- # account.
1995
+ # The IAM service role that's associated with the environment account
1996
+ # connection.
2002
1997
  # @return [String]
2003
1998
  #
2004
1999
  # @!attribute [rw] status
@@ -3695,15 +3690,65 @@ module Aws::Proton
3695
3690
  include Aws::Structure
3696
3691
  end
3697
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
+
3698
3729
  # @note When making an API call, you may pass ListServiceInstancesInput
3699
3730
  # data as a hash:
3700
3731
  #
3701
3732
  # {
3733
+ # filters: [
3734
+ # {
3735
+ # key: "name", # accepts name, deploymentStatus, templateName, serviceName, deployedTemplateVersionStatus, environmentName, lastDeploymentAttemptedAtBefore, lastDeploymentAttemptedAtAfter, createdAtBefore, createdAtAfter
3736
+ # value: "ListServiceInstancesFilterValue",
3737
+ # },
3738
+ # ],
3702
3739
  # max_results: 1,
3703
3740
  # next_token: "NextToken",
3704
3741
  # service_name: "ResourceName",
3742
+ # sort_by: "name", # accepts name, deploymentStatus, templateName, serviceName, environmentName, lastDeploymentAttemptedAt, createdAt
3743
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
3705
3744
  # }
3706
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
+ #
3707
3752
  # @!attribute [rw] max_results
3708
3753
  # The maximum number of service instances to list.
3709
3754
  # @return [Integer]
@@ -3718,12 +3763,30 @@ module Aws::Proton
3718
3763
  # The name of the service that the service instance belongs to.
3719
3764
  # @return [String]
3720
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
+ #
3721
3781
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstancesInput AWS API Documentation
3722
3782
  #
3723
3783
  class ListServiceInstancesInput < Struct.new(
3784
+ :filters,
3724
3785
  :max_results,
3725
3786
  :next_token,
3726
- :service_name)
3787
+ :service_name,
3788
+ :sort_by,
3789
+ :sort_order)
3727
3790
  SENSITIVE = []
3728
3791
  include Aws::Structure
3729
3792
  end
@@ -4064,21 +4127,16 @@ module Aws::Proton
4064
4127
  # }
4065
4128
  #
4066
4129
  # @!attribute [rw] deployment_id
4067
- # The deployment ID for your provisioned resource. Proton uses it to
4068
- # disambiguate different deployments of the resource. Applicable to
4069
- # [self-managed provisioning][1].
4070
- #
4071
- #
4072
- #
4073
- # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
4130
+ # The deployment ID for your provisioned resource.
4074
4131
  # @return [String]
4075
4132
  #
4076
4133
  # @!attribute [rw] outputs
4077
- # The output values generated by your provisioned resource.
4134
+ # The provisioned resource state change detail data that's returned
4135
+ # by Proton.
4078
4136
  # @return [Array<Types::Output>]
4079
4137
  #
4080
4138
  # @!attribute [rw] resource_arn
4081
- # The Amazon Resource Name (ARN) of your provisioned resource.
4139
+ # The provisioned resource Amazon Resource Name (ARN).
4082
4140
  # @return [String]
4083
4141
  #
4084
4142
  # @!attribute [rw] status
@@ -5541,11 +5599,8 @@ module Aws::Proton
5541
5599
  # @return [String]
5542
5600
  #
5543
5601
  # @!attribute [rw] role_arn
5544
- # The Amazon Resource Name (ARN) of an IAM service role in the
5545
- # environment account. Proton uses this role to provision
5546
- # infrastructure resources using Amazon Web Services-managed
5547
- # provisioning and CloudFormation in the associated environment
5548
- # account.
5602
+ # The Amazon Resource Name (ARN) of the IAM service role that's
5603
+ # associated with the environment account connection to update.
5549
5604
  # @return [String]
5550
5605
  #
5551
5606
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentAccountConnectionInput AWS API Documentation
@@ -5661,20 +5716,12 @@ module Aws::Proton
5661
5716
  # @return [String]
5662
5717
  #
5663
5718
  # @!attribute [rw] environment_account_connection_id
5664
- # The ID of the environment account connection that you provide if you
5665
- # want Proton to provision infrastructure resources for your
5666
- # environment or for any of the service instances running in it in an
5667
- # environment account. For more information, see [Environment account
5668
- # connections][1] in the *Proton User guide*.
5719
+ # The ID of the environment account connection.
5669
5720
  #
5670
5721
  # You can only update to a new environment account connection if it
5671
5722
  # was created in the same environment account that the current
5672
5723
  # environment account connection was created in and is associated with
5673
5724
  # the current environment.
5674
- #
5675
- #
5676
- #
5677
- # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html
5678
5725
  # @return [String]
5679
5726
  #
5680
5727
  # @!attribute [rw] name
@@ -5682,9 +5729,8 @@ module Aws::Proton
5682
5729
  # @return [String]
5683
5730
  #
5684
5731
  # @!attribute [rw] proton_service_role_arn
5685
- # The Amazon Resource Name (ARN) of the IAM service role that allows
5686
- # Proton to provision infrastructure using Amazon Web Services-managed
5687
- # provisioning and CloudFormation on your behalf.
5732
+ # The Amazon Resource Name (ARN) of the Proton service role that
5733
+ # allows Proton to make API calls to other services your behalf.
5688
5734
  # @return [String]
5689
5735
  #
5690
5736
  # @!attribute [rw] provisioning_repository
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-proton/customizations'
53
53
  # @!group service
54
54
  module Aws::Proton
55
55
 
56
- GEM_VERSION = '1.19.0'
56
+ GEM_VERSION = '1.20.0'
57
57
 
58
58
  end
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.19.0
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-14 00:00:00.000000000 Z
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