aws-sdk-proton 1.8.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::Proton
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
80
 
@@ -119,7 +121,9 @@ module Aws::Proton
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::Proton
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -285,6 +293,15 @@ module Aws::Proton
285
293
  # ** Please note ** When response stubbing is enabled, no HTTP
286
294
  # requests are made, and retries are disabled.
287
295
  #
296
+ # @option options [Boolean] :use_dualstack_endpoint
297
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
298
+ # will be used if available.
299
+ #
300
+ # @option options [Boolean] :use_fips_endpoint
301
+ # When set to `true`, fips compatible endpoints will be used if available.
302
+ # When a `fips` region is used, the region is normalized and this config
303
+ # is set to `true`.
304
+ #
288
305
  # @option options [Boolean] :validate_params (true)
289
306
  # When `true`, request parameters are validated before
290
307
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::Proton
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::Proton
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -339,11 +359,11 @@ module Aws::Proton
339
359
 
340
360
  # In a management account, an environment account connection request is
341
361
  # accepted. When the environment account connection request is accepted,
342
- # AWS Proton can use the associated IAM role to provision environment
362
+ # Proton can use the associated IAM role to provision environment
343
363
  # infrastructure resources in the associated environment account.
344
364
  #
345
365
  # For more information, see [Environment account connections][1] in the
346
- # *AWS Proton Administrator guide*.
366
+ # *Proton Administrator guide*.
347
367
  #
348
368
  #
349
369
  #
@@ -385,7 +405,7 @@ module Aws::Proton
385
405
 
386
406
  # Attempts to cancel an environment deployment on an UpdateEnvironment
387
407
  # action, if the deployment is `IN_PROGRESS`. For more information, see
388
- # [Update an environment][1] in the *AWS Proton Administrator guide*.
408
+ # [Update an environment][1] in the *Proton Administrator guide*.
389
409
  #
390
410
  # The following list includes potential cancellation scenarios.
391
411
  #
@@ -430,6 +450,10 @@ module Aws::Proton
430
450
  # resp.environment.name #=> String
431
451
  # resp.environment.proton_service_role_arn #=> String
432
452
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
453
+ # resp.environment.provisioning_repository.arn #=> String
454
+ # resp.environment.provisioning_repository.branch #=> String
455
+ # resp.environment.provisioning_repository.name #=> String
456
+ # resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
433
457
  # resp.environment.spec #=> String
434
458
  # resp.environment.template_major_version #=> String
435
459
  # resp.environment.template_minor_version #=> String
@@ -446,8 +470,8 @@ module Aws::Proton
446
470
 
447
471
  # Attempts to cancel a service instance deployment on an
448
472
  # UpdateServiceInstance action, if the deployment is `IN_PROGRESS`. For
449
- # more information, see *Update a service instance* in the [AWS Proton
450
- # Administrator guide][1] or the [AWS Proton User guide][2].
473
+ # more information, see *Update a service instance* in the [Proton
474
+ # Administrator guide][1] or the [Proton User guide][2].
451
475
  #
452
476
  # The following list includes potential cancellation scenarios.
453
477
  #
@@ -511,8 +535,8 @@ module Aws::Proton
511
535
 
512
536
  # Attempts to cancel a service pipeline deployment on an
513
537
  # UpdateServicePipeline action, if the deployment is `IN_PROGRESS`. For
514
- # more information, see *Update a service pipeline* in the [AWS Proton
515
- # Administrator guide][1] or the [AWS Proton User guide][2].
538
+ # more information, see *Update a service pipeline* in the [Proton
539
+ # Administrator guide][1] or the [Proton User guide][2].
516
540
  #
517
541
  # The following list includes potential cancellation scenarios.
518
542
  #
@@ -567,10 +591,21 @@ module Aws::Proton
567
591
  req.send_request(options)
568
592
  end
569
593
 
570
- # Deploy a new environment. An AWS Proton environment is created from an
594
+ # Deploy a new environment. An Proton environment is created from an
571
595
  # environment template that defines infrastructure and resources that
572
- # can be shared across services. For more information, see the
573
- # [Environments][1] in the *AWS Proton Administrator Guide.*
596
+ # can be shared across services.
597
+ #
598
+ # **You can provision environments using the following methods:**
599
+ #
600
+ # * Standard provisioning: Proton makes direct calls to provision your
601
+ # resources.
602
+ #
603
+ # * Pull request provisioning: Proton makes pull requests on your
604
+ # repository to provide compiled infrastructure as code (IaC) files
605
+ # that your IaC engine uses to provision resources.
606
+ #
607
+ # For more information, see the [Environments][1] in the *Proton
608
+ # Administrator Guide.*
574
609
  #
575
610
  #
576
611
  #
@@ -584,8 +619,9 @@ module Aws::Proton
584
619
  # you're provisioning your environment infrastructure resources to an
585
620
  # environment account. You must include either the
586
621
  # `environmentAccountConnectionId` or `protonServiceRoleArn` parameter
587
- # and value. For more information, see [Environment account
588
- # connections][1] in the *AWS Proton Administrator guide*.
622
+ # and value and omit the `provisioningRepository` parameter and values.
623
+ # For more information, see [Environment account connections][1] in the
624
+ # *Proton Administrator guide*.
589
625
  #
590
626
  #
591
627
  #
@@ -595,24 +631,40 @@ module Aws::Proton
595
631
  # The name of the environment.
596
632
  #
597
633
  # @option params [String] :proton_service_role_arn
598
- # The Amazon Resource Name (ARN) of the AWS Proton service role that
599
- # allows AWS Proton to make calls to other services on your behalf. You
600
- # must include either the `environmentAccountConnectionId` or
601
- # `protonServiceRoleArn` parameter and value.
634
+ # The Amazon Resource Name (ARN) of the Proton service role that allows
635
+ # Proton to make calls to other services on your behalf. You must
636
+ # include either the `environmentAccountConnectionId` or
637
+ # `protonServiceRoleArn` parameter and value and omit the
638
+ # `provisioningRepository` parameter when you use standard provisioning.
639
+ #
640
+ # @option params [Types::RepositoryBranchInput] :provisioning_repository
641
+ # The repository that you provide with pull request provisioning. If you
642
+ # provide this parameter, you must omit the
643
+ # `environmentAccountConnectionId` and `protonServiceRoleArn`
644
+ # parameters.
645
+ #
646
+ # Provisioning by pull request is currently in feature preview and is
647
+ # only usable with Terraform based Proton Templates. To learn more about
648
+ # [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
649
+ # and Previews.
650
+ #
651
+ #
652
+ #
653
+ # [1]: https://aws.amazon.com/service-terms
602
654
  #
603
655
  # @option params [required, String] :spec
604
656
  # A link to a YAML formatted spec file that provides inputs as defined
605
657
  # in the environment template bundle schema file. For more information,
606
- # see [Environments][1] in the *AWS Proton Administrator Guide*.
658
+ # see [Environments][1] in the *Proton Administrator Guide*.
607
659
  #
608
660
  #
609
661
  #
610
662
  # [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html
611
663
  #
612
664
  # @option params [Array<Types::Tag>] :tags
613
- # Create tags for your environment. For more information, see *AWS
614
- # Proton resources and tagging* in the [AWS Proton Administrator
615
- # Guide][1] or [AWS Proton User Guide][2].
665
+ # Create tags for your environment. For more information, see *Proton
666
+ # resources and tagging* in the [Proton Administrator Guide][1] or
667
+ # [Proton User Guide][2].
616
668
  #
617
669
  #
618
670
  #
@@ -620,14 +672,14 @@ module Aws::Proton
620
672
  # [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
621
673
  #
622
674
  # @option params [required, String] :template_major_version
623
- # The ID of the major version of the environment template.
675
+ # The major version of the environment template.
624
676
  #
625
677
  # @option params [String] :template_minor_version
626
- # The ID of the minor version of the environment template.
678
+ # The minor version of the environment template.
627
679
  #
628
680
  # @option params [required, String] :template_name
629
681
  # The name of the environment template. For more information, see
630
- # [Environment Templates][1] in the *AWS Proton Administrator Guide*.
682
+ # [Environment Templates][1] in the *Proton Administrator Guide*.
631
683
  #
632
684
  #
633
685
  #
@@ -644,6 +696,11 @@ module Aws::Proton
644
696
  # environment_account_connection_id: "EnvironmentAccountConnectionId",
645
697
  # name: "ResourceName", # required
646
698
  # proton_service_role_arn: "Arn",
699
+ # provisioning_repository: {
700
+ # branch: "GitBranchName", # required
701
+ # name: "RepositoryName", # required
702
+ # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
703
+ # },
647
704
  # spec: "SpecContents", # required
648
705
  # tags: [
649
706
  # {
@@ -670,6 +727,10 @@ module Aws::Proton
670
727
  # resp.environment.name #=> String
671
728
  # resp.environment.proton_service_role_arn #=> String
672
729
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
730
+ # resp.environment.provisioning_repository.arn #=> String
731
+ # resp.environment.provisioning_repository.branch #=> String
732
+ # resp.environment.provisioning_repository.name #=> String
733
+ # resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
673
734
  # resp.environment.spec #=> String
674
735
  # resp.environment.template_major_version #=> String
675
736
  # resp.environment.template_minor_version #=> String
@@ -691,38 +752,47 @@ module Aws::Proton
691
752
  # An environment account connection is a secure bi-directional
692
753
  # connection between a *management account* and an *environment account*
693
754
  # that maintains authorization and permissions. For more information,
694
- # see [Environment account connections][1] in the *AWS Proton
695
- # Administrator guide*.
755
+ # see [Environment account connections][1] in the *Proton Administrator
756
+ # guide*.
696
757
  #
697
758
  #
698
759
  #
699
760
  # [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-env-account-connections.html
700
761
  #
701
762
  # @option params [String] :client_token
702
- # When included, if two identicial requests are made with the same
703
- # client token, AWS Proton returns the environment account connection
704
- # that the first request created.
763
+ # When included, if two identical requests are made with the same client
764
+ # token, Proton returns the environment account connection that the
765
+ # first request created.
705
766
  #
706
767
  # **A suitable default value is auto-generated.** You should normally
707
768
  # not need to pass this option.**
708
769
  #
709
770
  # @option params [required, String] :environment_name
710
- # The name of the AWS Proton environment that's created in the
711
- # associated management account.
771
+ # The name of the Proton environment that's created in the associated
772
+ # management account.
712
773
  #
713
774
  # @option params [required, String] :management_account_id
714
775
  # The ID of the management account that accepts or rejects the
715
- # environment account connection. You create an manage the AWS Proton
776
+ # environment account connection. You create an manage the Proton
716
777
  # environment in this account. If the management account accepts the
717
- # environment account connection, AWS Proton can use the associated IAM
718
- # role to provision environment infrastructure resources in the
719
- # associated environment account.
778
+ # environment account connection, Proton can use the associated IAM role
779
+ # to provision environment infrastructure resources in the associated
780
+ # environment account.
720
781
  #
721
782
  # @option params [required, String] :role_arn
722
783
  # The Amazon Resource Name (ARN) of the IAM service role that's created
723
- # in the environment account. AWS Proton uses this role to provision
784
+ # in the environment account. Proton uses this role to provision
724
785
  # infrastructure resources in the associated environment account.
725
786
  #
787
+ # @option params [Array<Types::Tag>] :tags
788
+ # Tags for your environment account connection. For more information,
789
+ # see [Proton resources and tagging][1] in the *Proton Administrator
790
+ # Guide*.
791
+ #
792
+ #
793
+ #
794
+ # [1]: https://docs.aws.amazon.com/proton/latest/adminguide/resources.html
795
+ #
726
796
  # @return [Types::CreateEnvironmentAccountConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
727
797
  #
728
798
  # * {Types::CreateEnvironmentAccountConnectionOutput#environment_account_connection #environment_account_connection} => Types::EnvironmentAccountConnection
@@ -734,6 +804,12 @@ module Aws::Proton
734
804
  # environment_name: "ResourceName", # required
735
805
  # management_account_id: "AwsAccountId", # required
736
806
  # role_arn: "Arn", # required
807
+ # tags: [
808
+ # {
809
+ # key: "TagKey", # required
810
+ # value: "TagValue", # required
811
+ # },
812
+ # ],
737
813
  # })
738
814
  #
739
815
  # @example Response structure
@@ -757,25 +833,23 @@ module Aws::Proton
757
833
  req.send_request(options)
758
834
  end
759
835
 
760
- # Create an environment template for AWS Proton. For more information,
761
- # see [Environment Templates][1] in the *AWS Proton Administrator
762
- # Guide*.
836
+ # Create an environment template for Proton. For more information, see
837
+ # [Environment Templates][1] in the *Proton Administrator Guide*.
763
838
  #
764
839
  # You can create an environment template in one of the two following
765
840
  # ways:
766
841
  #
767
842
  # * Register and publish a *standard* environment template that
768
- # instructs AWS Proton to deploy and manage environment
769
- # infrastructure.
843
+ # instructs Proton to deploy and manage environment infrastructure.
770
844
  #
771
845
  # * Register and publish a *customer managed* environment template that
772
- # connects AWS Proton to your existing provisioned infrastructure that
773
- # you manage. AWS Proton *doesn't* manage your existing provisioned
846
+ # connects Proton to your existing provisioned infrastructure that you
847
+ # manage. Proton *doesn't* manage your existing provisioned
774
848
  # infrastructure. To create an environment template for customer
775
849
  # provisioned and managed infrastructure, include the `provisioning`
776
850
  # parameter and set the value to `CUSTOMER_MANAGED`. For more
777
851
  # information, see [Register and publish an environment template][2]
778
- # in the *AWS Proton Administrator Guide*.
852
+ # in the *Proton Administrator Guide*.
779
853
  #
780
854
  #
781
855
  #
@@ -789,8 +863,7 @@ module Aws::Proton
789
863
  # The environment template name as displayed in the developer interface.
790
864
  #
791
865
  # @option params [String] :encryption_key
792
- # A customer provided encryption key that AWS Proton uses to encrypt
793
- # data.
866
+ # A customer provided encryption key that Proton uses to encrypt data.
794
867
  #
795
868
  # @option params [required, String] :name
796
869
  # The name of the environment template.
@@ -801,8 +874,8 @@ module Aws::Proton
801
874
  #
802
875
  # @option params [Array<Types::Tag>] :tags
803
876
  # Create tags for your environment template. For more information, see
804
- # *AWS Proton resources and tagging* in the [AWS Proton Administrator
805
- # Guide][1] or [AWS Proton User Guide][2].
877
+ # *Proton resources and tagging* in the [Proton Administrator Guide][1]
878
+ # or [Proton User Guide][2].
806
879
  #
807
880
  #
808
881
  #
@@ -856,9 +929,9 @@ module Aws::Proton
856
929
  # version that's backwards compatible within its major version.
857
930
  #
858
931
  # @option params [String] :client_token
859
- # When included, if two identicial requests are made with the same
860
- # client token, AWS Proton returns the environment template version that
861
- # the first request created.
932
+ # When included, if two identical requests are made with the same client
933
+ # token, Proton returns the environment template version that the first
934
+ # request created.
862
935
  #
863
936
  # **A suitable default value is auto-generated.** You should normally
864
937
  # not need to pass this option.**
@@ -868,10 +941,10 @@ module Aws::Proton
868
941
  #
869
942
  # @option params [String] :major_version
870
943
  # To create a new minor version of the environment template, include a
871
- # `majorVersion`.
944
+ # `major Version`.
872
945
  #
873
946
  # To create a new major and minor version of the environment template,
874
- # *exclude* `majorVersion`.
947
+ # *exclude* `major Version`.
875
948
  #
876
949
  # @option params [required, Types::TemplateVersionSourceInput] :source
877
950
  # An object that includes the template bundle S3 bucket path and name
@@ -931,11 +1004,69 @@ module Aws::Proton
931
1004
  req.send_request(options)
932
1005
  end
933
1006
 
934
- # Create an AWS Proton service. An AWS Proton service is an
935
- # instantiation of a service template and often includes several service
936
- # instances and pipeline. For more information, see [Services][1] in the
937
- # *AWS Proton Administrator Guide* and [Services][2] in the *AWS Proton
938
- # User Guide*.
1007
+ # Create and register a link to a repository that can be used with pull
1008
+ # request provisioning or template sync configurations. For more
1009
+ # information, see [Template bundles][1] and [Template sync
1010
+ # configurations][2] in the *Proton Administrator Guide*.
1011
+ #
1012
+ #
1013
+ #
1014
+ # [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
1015
+ # [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
1016
+ #
1017
+ # @option params [required, String] :connection_arn
1018
+ # The Amazon Resource Name (ARN) of your Amazon Web Services CodeStar
1019
+ # connection. For more information, see [Setting up for Proton][1] in
1020
+ # the *Proton Administrator Guide*.
1021
+ #
1022
+ #
1023
+ #
1024
+ # [1]: https://docs.aws.amazon.com/setting-up-for-service
1025
+ #
1026
+ # @option params [String] :encryption_key
1027
+ # The ARN of your customer Amazon Web Services Key Management Service
1028
+ # (Amazon Web Services KMS) key.
1029
+ #
1030
+ # @option params [required, String] :name
1031
+ # The repository name, for example `myrepos/myrepo`.
1032
+ #
1033
+ # @option params [required, String] :provider
1034
+ # The repository provider.
1035
+ #
1036
+ # @return [Types::CreateRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1037
+ #
1038
+ # * {Types::CreateRepositoryOutput#repository #repository} => Types::Repository
1039
+ #
1040
+ # @example Request syntax with placeholder values
1041
+ #
1042
+ # resp = client.create_repository({
1043
+ # connection_arn: "Arn", # required
1044
+ # encryption_key: "Arn",
1045
+ # name: "RepositoryName", # required
1046
+ # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
1047
+ # })
1048
+ #
1049
+ # @example Response structure
1050
+ #
1051
+ # resp.repository.arn #=> String
1052
+ # resp.repository.connection_arn #=> String
1053
+ # resp.repository.encryption_key #=> String
1054
+ # resp.repository.name #=> String
1055
+ # resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
1056
+ #
1057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateRepository AWS API Documentation
1058
+ #
1059
+ # @overload create_repository(params = {})
1060
+ # @param [Hash] params ({})
1061
+ def create_repository(params = {}, options = {})
1062
+ req = build_request(:create_repository, params)
1063
+ req.send_request(options)
1064
+ end
1065
+
1066
+ # Create an Proton service. An Proton service is an instantiation of a
1067
+ # service template and often includes several service instances and
1068
+ # pipeline. For more information, see [Services][1] in the *Proton
1069
+ # Administrator Guide* and [Services][2] in the *Proton User Guide*.
939
1070
  #
940
1071
  #
941
1072
  #
@@ -944,21 +1075,21 @@ module Aws::Proton
944
1075
  #
945
1076
  # @option params [String] :branch_name
946
1077
  # The name of the code repository branch that holds the code that's
947
- # deployed in AWS Proton. *Don't* include this parameter if your
948
- # service template *doesn't* include a service pipeline.
1078
+ # deployed in Proton. *Don't* include this parameter if your service
1079
+ # template *doesn't* include a service pipeline.
949
1080
  #
950
1081
  # @option params [String] :description
951
- # A description of the AWS Proton service.
1082
+ # A description of the Proton service.
952
1083
  #
953
1084
  # @option params [required, String] :name
954
1085
  # The service name.
955
1086
  #
956
1087
  # @option params [String] :repository_connection_arn
957
1088
  # The Amazon Resource Name (ARN) of the repository connection. For more
958
- # information, see [Set up repository connection][1] in the *AWS Proton
959
- # Administrator Guide* and [Setting up with AWS Proton][2] in the *AWS
960
- # Proton User Guide*. *Don't* include this parameter if your service
961
- # template *doesn't* include a service pipeline.
1089
+ # information, see [Set up repository connection][1] in the *Proton
1090
+ # Administrator Guide* and [Setting up with Proton][2] in the *Proton
1091
+ # User Guide*. *Don't* include this parameter if your service template
1092
+ # *doesn't* include a service pipeline.
962
1093
  #
963
1094
  #
964
1095
  #
@@ -974,8 +1105,8 @@ module Aws::Proton
974
1105
  # template bundle schema file. The spec file is in YAML format. Don’t
975
1106
  # include pipeline inputs in the spec if your service template *doesn’t*
976
1107
  # include a service pipeline. For more information, see [Create a
977
- # service][1] in the *AWS Proton Administrator Guide* and [Create a
978
- # service][2] in the *AWS Proton User Guide*.
1108
+ # service][1] in the *Proton Administrator Guide* and [Create a
1109
+ # service][2] in the *Proton User Guide*.
979
1110
  #
980
1111
  #
981
1112
  #
@@ -983,9 +1114,9 @@ module Aws::Proton
983
1114
  # [2]: https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-create.html
984
1115
  #
985
1116
  # @option params [Array<Types::Tag>] :tags
986
- # Create tags for your service. For more information, see *AWS Proton
987
- # resources and tagging* in the [AWS Proton Administrator Guide][1] or
988
- # [AWS Proton User Guide][2].
1117
+ # Create tags for your service. For more information, see *Proton
1118
+ # resources and tagging* in the [Proton Administrator Guide][1] or
1119
+ # [Proton User Guide][2].
989
1120
  #
990
1121
  #
991
1122
  #
@@ -993,12 +1124,12 @@ module Aws::Proton
993
1124
  # [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html
994
1125
  #
995
1126
  # @option params [required, String] :template_major_version
996
- # The ID of the major version of the service template that was used to
997
- # create the service.
1127
+ # The major version of the service template that was used to create the
1128
+ # service.
998
1129
  #
999
1130
  # @option params [String] :template_minor_version
1000
- # The ID of the minor version of the service template that was used to
1001
- # create the service.
1131
+ # The minor version of the service template that was used to create the
1132
+ # service.
1002
1133
  #
1003
1134
  # @option params [required, String] :template_name
1004
1135
  # The name of the service template that's used to create the service.
@@ -1064,11 +1195,11 @@ module Aws::Proton
1064
1195
  # Create a service template. The administrator creates a service
1065
1196
  # template to define standardized infrastructure and an optional CICD
1066
1197
  # service pipeline. Developers, in turn, select the service template
1067
- # from AWS Proton. If the selected service template includes a service
1198
+ # from Proton. If the selected service template includes a service
1068
1199
  # pipeline definition, they provide a link to their source code
1069
- # repository. AWS Proton then deploys and manages the infrastructure
1070
- # defined by the selected service template. For more information, see
1071
- # [Service Templates][1] in the *AWS Proton Administrator Guide*.
1200
+ # repository. Proton then deploys and manages the infrastructure defined
1201
+ # by the selected service template. For more information, see [Service
1202
+ # Templates][1] in the *Proton Administrator Guide*.
1072
1203
  #
1073
1204
  #
1074
1205
  #
@@ -1088,20 +1219,20 @@ module Aws::Proton
1088
1219
  # The name of the service template.
1089
1220
  #
1090
1221
  # @option params [String] :pipeline_provisioning
1091
- # AWS Proton includes a service pipeline for your service by default.
1092
- # When included, this parameter indicates that an AWS Proton service
1093
- # pipeline *won't* be included for your service. Once specified, this
1094
- # parameter *can't* be changed. For more information, see [Service
1095
- # template bundles][1] in the *AWS Proton Administrator Guide*.
1222
+ # Proton includes a service pipeline for your service by default. When
1223
+ # included, this parameter indicates that an Proton service pipeline
1224
+ # *won't* be included for your service. Once specified, this parameter
1225
+ # *can't* be changed. For more information, see [Service template
1226
+ # bundles][1] in the *Proton Administrator Guide*.
1096
1227
  #
1097
1228
  #
1098
1229
  #
1099
1230
  # [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
1100
1231
  #
1101
1232
  # @option params [Array<Types::Tag>] :tags
1102
- # Create tags for your service template. For more information, see *AWS
1103
- # Proton resources and tagging* in the [AWS Proton Administrator
1104
- # Guide][1] or [AWS Proton User Guide][2].
1233
+ # Create tags for your service template. For more information, see
1234
+ # *Proton resources and tagging* in the [Proton Administrator Guide][1]
1235
+ # or [Proton User Guide][2].
1105
1236
  #
1106
1237
  #
1107
1238
  #
@@ -1150,14 +1281,14 @@ module Aws::Proton
1150
1281
  end
1151
1282
 
1152
1283
  # Create a new major or minor version of a service template. A major
1153
- # version of a service template is a version that *isn't* backwards
1284
+ # version of a service template is a version that *isn't* backward
1154
1285
  # compatible. A minor version of a service template is a version that's
1155
- # backwards compatible within its major version.
1286
+ # backward compatible within its major version.
1156
1287
  #
1157
1288
  # @option params [String] :client_token
1158
- # When included, if two identicial requests are made with the same
1159
- # client token, AWS Proton returns the service template version that the
1160
- # first request created.
1289
+ # When included, if two identical requests are made with the same client
1290
+ # token, Proton returns the service template version that the first
1291
+ # request created.
1161
1292
  #
1162
1293
  # **A suitable default value is auto-generated.** You should normally
1163
1294
  # not need to pass this option.**
@@ -1171,10 +1302,10 @@ module Aws::Proton
1171
1302
  #
1172
1303
  # @option params [String] :major_version
1173
1304
  # To create a new minor version of the service template, include a
1174
- # `majorVersion`.
1305
+ # `major Version`.
1175
1306
  #
1176
1307
  # To create a new major and minor version of the service template,
1177
- # *exclude* `majorVersion`.
1308
+ # *exclude* `major Version`.
1178
1309
  #
1179
1310
  # @option params [required, Types::TemplateVersionSourceInput] :source
1180
1311
  # An object that includes the template bundle S3 bucket path and name
@@ -1243,6 +1374,72 @@ module Aws::Proton
1243
1374
  req.send_request(options)
1244
1375
  end
1245
1376
 
1377
+ # Set up a template for automated template version creation. When a
1378
+ # commit is pushed to your registered [repository][1], Proton checks for
1379
+ # changes to your repository template bundles. If it detects a template
1380
+ # bundle change, a new minor or major version of its template is
1381
+ # created, if the version doesn’t already exist. For more information,
1382
+ # see [Template sync configurations][2] in the *Proton Administrator
1383
+ # Guide*.
1384
+ #
1385
+ #
1386
+ #
1387
+ # [1]: https://docs.aws.amazon.com/proton/latest/APIReference/API_Repository.html
1388
+ # [2]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-sync-configs.html
1389
+ #
1390
+ # @option params [required, String] :branch
1391
+ # The branch of the registered repository for your template.
1392
+ #
1393
+ # @option params [required, String] :repository_name
1394
+ # The name of your repository, for example `myrepos/myrepo`.
1395
+ #
1396
+ # @option params [required, String] :repository_provider
1397
+ # The provider type for your repository.
1398
+ #
1399
+ # @option params [String] :subdirectory
1400
+ # A repository subdirectory path to your template bundle directory. When
1401
+ # included, Proton limits the template bundle search to this repository
1402
+ # directory.
1403
+ #
1404
+ # @option params [required, String] :template_name
1405
+ # The name of your registered template.
1406
+ #
1407
+ # @option params [required, String] :template_type
1408
+ # The type of the registered template.
1409
+ #
1410
+ # @return [Types::CreateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1411
+ #
1412
+ # * {Types::CreateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
1413
+ #
1414
+ # @example Request syntax with placeholder values
1415
+ #
1416
+ # resp = client.create_template_sync_config({
1417
+ # branch: "GitBranchName", # required
1418
+ # repository_name: "RepositoryName", # required
1419
+ # repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
1420
+ # subdirectory: "Subdirectory",
1421
+ # template_name: "ResourceName", # required
1422
+ # template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
1423
+ # })
1424
+ #
1425
+ # @example Response structure
1426
+ #
1427
+ # resp.template_sync_config.branch #=> String
1428
+ # resp.template_sync_config.repository_name #=> String
1429
+ # resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
1430
+ # resp.template_sync_config.subdirectory #=> String
1431
+ # resp.template_sync_config.template_name #=> String
1432
+ # resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
1433
+ #
1434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateTemplateSyncConfig AWS API Documentation
1435
+ #
1436
+ # @overload create_template_sync_config(params = {})
1437
+ # @param [Hash] params ({})
1438
+ def create_template_sync_config(params = {}, options = {})
1439
+ req = build_request(:create_template_sync_config, params)
1440
+ req.send_request(options)
1441
+ end
1442
+
1246
1443
  # Delete an environment.
1247
1444
  #
1248
1445
  # @option params [required, String] :name
@@ -1272,6 +1469,10 @@ module Aws::Proton
1272
1469
  # resp.environment.name #=> String
1273
1470
  # resp.environment.proton_service_role_arn #=> String
1274
1471
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
1472
+ # resp.environment.provisioning_repository.arn #=> String
1473
+ # resp.environment.provisioning_repository.branch #=> String
1474
+ # resp.environment.provisioning_repository.name #=> String
1475
+ # resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
1275
1476
  # resp.environment.spec #=> String
1276
1477
  # resp.environment.template_major_version #=> String
1277
1478
  # resp.environment.template_minor_version #=> String
@@ -1289,14 +1490,14 @@ module Aws::Proton
1289
1490
  # In an environment account, delete an environment account connection.
1290
1491
  #
1291
1492
  # After you delete an environment account connection that’s in use by an
1292
- # AWS Proton environment, AWS Proton *can’t* manage the environment
1493
+ # Proton environment, Proton *can’t* manage the environment
1293
1494
  # infrastructure resources until a new environment account connection is
1294
1495
  # accepted for the environment account and associated environment.
1295
1496
  # You're responsible for cleaning up provisioned resources that remain
1296
1497
  # without an environment connection.
1297
1498
  #
1298
1499
  # For more information, see [Environment account connections][1] in the
1299
- # *AWS Proton Administrator guide*.
1500
+ # *Proton Administrator guide*.
1300
1501
  #
1301
1502
  #
1302
1503
  #
@@ -1378,13 +1579,13 @@ module Aws::Proton
1378
1579
  # `Recommended` version. Delete the `Recommended` version of the
1379
1580
  # environment template if no other major versions or minor versions of
1380
1581
  # the environment template exist. A major version of an environment
1381
- # template is a version that's not backwards compatible.
1582
+ # template is a version that's not backward compatible.
1382
1583
  #
1383
1584
  # Delete a minor version of an environment template if it *isn't* the
1384
1585
  # `Recommended` version. Delete a `Recommended` minor version of the
1385
1586
  # environment template if no other minor versions of the environment
1386
1587
  # template exist. A minor version of an environment template is a
1387
- # version that's backwards compatible.
1588
+ # version that's backward compatible.
1388
1589
  #
1389
1590
  # @option params [required, String] :major_version
1390
1591
  # The environment template major version to delete.
@@ -1430,6 +1631,42 @@ module Aws::Proton
1430
1631
  req.send_request(options)
1431
1632
  end
1432
1633
 
1634
+ # De-register and unlink your repository.
1635
+ #
1636
+ # @option params [required, String] :name
1637
+ # The name of the repository.
1638
+ #
1639
+ # @option params [required, String] :provider
1640
+ # The repository provider.
1641
+ #
1642
+ # @return [Types::DeleteRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1643
+ #
1644
+ # * {Types::DeleteRepositoryOutput#repository #repository} => Types::Repository
1645
+ #
1646
+ # @example Request syntax with placeholder values
1647
+ #
1648
+ # resp = client.delete_repository({
1649
+ # name: "RepositoryName", # required
1650
+ # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
1651
+ # })
1652
+ #
1653
+ # @example Response structure
1654
+ #
1655
+ # resp.repository.arn #=> String
1656
+ # resp.repository.connection_arn #=> String
1657
+ # resp.repository.encryption_key #=> String
1658
+ # resp.repository.name #=> String
1659
+ # resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
1660
+ #
1661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteRepository AWS API Documentation
1662
+ #
1663
+ # @overload delete_repository(params = {})
1664
+ # @param [Hash] params ({})
1665
+ def delete_repository(params = {}, options = {})
1666
+ req = build_request(:delete_repository, params)
1667
+ req.send_request(options)
1668
+ end
1669
+
1433
1670
  # Delete a service.
1434
1671
  #
1435
1672
  # @option params [required, String] :name
@@ -1576,7 +1813,44 @@ module Aws::Proton
1576
1813
  req.send_request(options)
1577
1814
  end
1578
1815
 
1579
- # Get detail data for the AWS Proton pipeline service role.
1816
+ # Delete a template sync configuration.
1817
+ #
1818
+ # @option params [required, String] :template_name
1819
+ # The template name.
1820
+ #
1821
+ # @option params [required, String] :template_type
1822
+ # The template type.
1823
+ #
1824
+ # @return [Types::DeleteTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1825
+ #
1826
+ # * {Types::DeleteTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
1827
+ #
1828
+ # @example Request syntax with placeholder values
1829
+ #
1830
+ # resp = client.delete_template_sync_config({
1831
+ # template_name: "ResourceName", # required
1832
+ # template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
1833
+ # })
1834
+ #
1835
+ # @example Response structure
1836
+ #
1837
+ # resp.template_sync_config.branch #=> String
1838
+ # resp.template_sync_config.repository_name #=> String
1839
+ # resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
1840
+ # resp.template_sync_config.subdirectory #=> String
1841
+ # resp.template_sync_config.template_name #=> String
1842
+ # resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
1843
+ #
1844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteTemplateSyncConfig AWS API Documentation
1845
+ #
1846
+ # @overload delete_template_sync_config(params = {})
1847
+ # @param [Hash] params ({})
1848
+ def delete_template_sync_config(params = {}, options = {})
1849
+ req = build_request(:delete_template_sync_config, params)
1850
+ req.send_request(options)
1851
+ end
1852
+
1853
+ # Get detail data for the Proton pipeline service role.
1580
1854
  #
1581
1855
  # @return [Types::GetAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1582
1856
  #
@@ -1584,6 +1858,10 @@ module Aws::Proton
1584
1858
  #
1585
1859
  # @example Response structure
1586
1860
  #
1861
+ # resp.account_settings.pipeline_provisioning_repository.arn #=> String
1862
+ # resp.account_settings.pipeline_provisioning_repository.branch #=> String
1863
+ # resp.account_settings.pipeline_provisioning_repository.name #=> String
1864
+ # resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
1587
1865
  # resp.account_settings.pipeline_service_role_arn #=> String
1588
1866
  #
1589
1867
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetAccountSettings AWS API Documentation
@@ -1624,6 +1902,10 @@ module Aws::Proton
1624
1902
  # resp.environment.name #=> String
1625
1903
  # resp.environment.proton_service_role_arn #=> String
1626
1904
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
1905
+ # resp.environment.provisioning_repository.arn #=> String
1906
+ # resp.environment.provisioning_repository.branch #=> String
1907
+ # resp.environment.provisioning_repository.name #=> String
1908
+ # resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
1627
1909
  # resp.environment.spec #=> String
1628
1910
  # resp.environment.template_major_version #=> String
1629
1911
  # resp.environment.template_minor_version #=> String
@@ -1647,7 +1929,7 @@ module Aws::Proton
1647
1929
  # account connection.
1648
1930
  #
1649
1931
  # For more information, see [Environment account connections][1] in the
1650
- # *AWS Proton Administrator guide*.
1932
+ # *Proton Administrator guide*.
1651
1933
  #
1652
1934
  #
1653
1935
  #
@@ -1728,8 +2010,8 @@ module Aws::Proton
1728
2010
  # template.
1729
2011
  #
1730
2012
  # @option params [required, String] :major_version
1731
- # To view environment template major version detail data, include
1732
- # `majorVersion`.
2013
+ # To view environment template major version detail data, include `major
2014
+ # Version`.
1733
2015
  #
1734
2016
  # @option params [required, String] :minor_version
1735
2017
  # To view environment template minor version detail data, include
@@ -1778,6 +2060,88 @@ module Aws::Proton
1778
2060
  req.send_request(options)
1779
2061
  end
1780
2062
 
2063
+ # Get detail data for a repository.
2064
+ #
2065
+ # @option params [required, String] :name
2066
+ # The repository name, for example `myrepos/myrepo`.
2067
+ #
2068
+ # @option params [required, String] :provider
2069
+ # The repository provider.
2070
+ #
2071
+ # @return [Types::GetRepositoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2072
+ #
2073
+ # * {Types::GetRepositoryOutput#repository #repository} => Types::Repository
2074
+ #
2075
+ # @example Request syntax with placeholder values
2076
+ #
2077
+ # resp = client.get_repository({
2078
+ # name: "RepositoryName", # required
2079
+ # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
2080
+ # })
2081
+ #
2082
+ # @example Response structure
2083
+ #
2084
+ # resp.repository.arn #=> String
2085
+ # resp.repository.connection_arn #=> String
2086
+ # resp.repository.encryption_key #=> String
2087
+ # resp.repository.name #=> String
2088
+ # resp.repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2089
+ #
2090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepository AWS API Documentation
2091
+ #
2092
+ # @overload get_repository(params = {})
2093
+ # @param [Hash] params ({})
2094
+ def get_repository(params = {}, options = {})
2095
+ req = build_request(:get_repository, params)
2096
+ req.send_request(options)
2097
+ end
2098
+
2099
+ # Get the repository sync status.
2100
+ #
2101
+ # @option params [required, String] :branch
2102
+ # The repository branch.
2103
+ #
2104
+ # @option params [required, String] :repository_name
2105
+ # The repository name.
2106
+ #
2107
+ # @option params [required, String] :repository_provider
2108
+ # The repository provider.
2109
+ #
2110
+ # @option params [required, String] :sync_type
2111
+ # The repository sync type.
2112
+ #
2113
+ # @return [Types::GetRepositorySyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2114
+ #
2115
+ # * {Types::GetRepositorySyncStatusOutput#latest_sync #latest_sync} => Types::RepositorySyncAttempt
2116
+ #
2117
+ # @example Request syntax with placeholder values
2118
+ #
2119
+ # resp = client.get_repository_sync_status({
2120
+ # branch: "GitBranchName", # required
2121
+ # repository_name: "RepositoryName", # required
2122
+ # repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
2123
+ # sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
2124
+ # })
2125
+ #
2126
+ # @example Response structure
2127
+ #
2128
+ # resp.latest_sync.events #=> Array
2129
+ # resp.latest_sync.events[0].event #=> String
2130
+ # resp.latest_sync.events[0].external_id #=> String
2131
+ # resp.latest_sync.events[0].time #=> Time
2132
+ # resp.latest_sync.events[0].type #=> String
2133
+ # resp.latest_sync.started_at #=> Time
2134
+ # resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "QUEUED"
2135
+ #
2136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepositorySyncStatus AWS API Documentation
2137
+ #
2138
+ # @overload get_repository_sync_status(params = {})
2139
+ # @param [Hash] params ({})
2140
+ def get_repository_sync_status(params = {}, options = {})
2141
+ req = build_request(:get_repository_sync_status, params)
2142
+ req.send_request(options)
2143
+ end
2144
+
1781
2145
  # Get detail data for a service.
1782
2146
  #
1783
2147
  # @option params [required, String] :name
@@ -1926,8 +2290,8 @@ module Aws::Proton
1926
2290
  # View detail data for a major or minor version of a service template.
1927
2291
  #
1928
2292
  # @option params [required, String] :major_version
1929
- # To view service template major version detail data, include
1930
- # `majorVersion`.
2293
+ # To view service template major version detail data, include `major
2294
+ # Version`.
1931
2295
  #
1932
2296
  # @option params [required, String] :minor_version
1933
2297
  # To view service template minor version detail data, include
@@ -1979,10 +2343,125 @@ module Aws::Proton
1979
2343
  req.send_request(options)
1980
2344
  end
1981
2345
 
2346
+ # Get detail data for a template sync configuration.
2347
+ #
2348
+ # @option params [required, String] :template_name
2349
+ # The template name.
2350
+ #
2351
+ # @option params [required, String] :template_type
2352
+ # The template type.
2353
+ #
2354
+ # @return [Types::GetTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2355
+ #
2356
+ # * {Types::GetTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
2357
+ #
2358
+ # @example Request syntax with placeholder values
2359
+ #
2360
+ # resp = client.get_template_sync_config({
2361
+ # template_name: "ResourceName", # required
2362
+ # template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
2363
+ # })
2364
+ #
2365
+ # @example Response structure
2366
+ #
2367
+ # resp.template_sync_config.branch #=> String
2368
+ # resp.template_sync_config.repository_name #=> String
2369
+ # resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2370
+ # resp.template_sync_config.subdirectory #=> String
2371
+ # resp.template_sync_config.template_name #=> String
2372
+ # resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
2373
+ #
2374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncConfig AWS API Documentation
2375
+ #
2376
+ # @overload get_template_sync_config(params = {})
2377
+ # @param [Hash] params ({})
2378
+ def get_template_sync_config(params = {}, options = {})
2379
+ req = build_request(:get_template_sync_config, params)
2380
+ req.send_request(options)
2381
+ end
2382
+
2383
+ # Get the status of a template sync.
2384
+ #
2385
+ # @option params [required, String] :template_name
2386
+ # The template name.
2387
+ #
2388
+ # @option params [required, String] :template_type
2389
+ # The template type.
2390
+ #
2391
+ # @option params [required, String] :template_version
2392
+ # The template version.
2393
+ #
2394
+ # @return [Types::GetTemplateSyncStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2395
+ #
2396
+ # * {Types::GetTemplateSyncStatusOutput#desired_state #desired_state} => Types::Revision
2397
+ # * {Types::GetTemplateSyncStatusOutput#latest_successful_sync #latest_successful_sync} => Types::ResourceSyncAttempt
2398
+ # * {Types::GetTemplateSyncStatusOutput#latest_sync #latest_sync} => Types::ResourceSyncAttempt
2399
+ #
2400
+ # @example Request syntax with placeholder values
2401
+ #
2402
+ # resp = client.get_template_sync_status({
2403
+ # template_name: "ResourceName", # required
2404
+ # template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
2405
+ # template_version: "TemplateVersionPart", # required
2406
+ # })
2407
+ #
2408
+ # @example Response structure
2409
+ #
2410
+ # resp.desired_state.branch #=> String
2411
+ # resp.desired_state.directory #=> String
2412
+ # resp.desired_state.repository_name #=> String
2413
+ # resp.desired_state.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2414
+ # resp.desired_state.sha #=> String
2415
+ # resp.latest_successful_sync.events #=> Array
2416
+ # resp.latest_successful_sync.events[0].event #=> String
2417
+ # resp.latest_successful_sync.events[0].external_id #=> String
2418
+ # resp.latest_successful_sync.events[0].time #=> Time
2419
+ # resp.latest_successful_sync.events[0].type #=> String
2420
+ # resp.latest_successful_sync.initial_revision.branch #=> String
2421
+ # resp.latest_successful_sync.initial_revision.directory #=> String
2422
+ # resp.latest_successful_sync.initial_revision.repository_name #=> String
2423
+ # resp.latest_successful_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2424
+ # resp.latest_successful_sync.initial_revision.sha #=> String
2425
+ # resp.latest_successful_sync.started_at #=> Time
2426
+ # resp.latest_successful_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
2427
+ # resp.latest_successful_sync.target #=> String
2428
+ # resp.latest_successful_sync.target_revision.branch #=> String
2429
+ # resp.latest_successful_sync.target_revision.directory #=> String
2430
+ # resp.latest_successful_sync.target_revision.repository_name #=> String
2431
+ # resp.latest_successful_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2432
+ # resp.latest_successful_sync.target_revision.sha #=> String
2433
+ # resp.latest_sync.events #=> Array
2434
+ # resp.latest_sync.events[0].event #=> String
2435
+ # resp.latest_sync.events[0].external_id #=> String
2436
+ # resp.latest_sync.events[0].time #=> Time
2437
+ # resp.latest_sync.events[0].type #=> String
2438
+ # resp.latest_sync.initial_revision.branch #=> String
2439
+ # resp.latest_sync.initial_revision.directory #=> String
2440
+ # resp.latest_sync.initial_revision.repository_name #=> String
2441
+ # resp.latest_sync.initial_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2442
+ # resp.latest_sync.initial_revision.sha #=> String
2443
+ # resp.latest_sync.started_at #=> Time
2444
+ # resp.latest_sync.status #=> String, one of "INITIATED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
2445
+ # resp.latest_sync.target #=> String
2446
+ # resp.latest_sync.target_revision.branch #=> String
2447
+ # resp.latest_sync.target_revision.directory #=> String
2448
+ # resp.latest_sync.target_revision.repository_name #=> String
2449
+ # resp.latest_sync.target_revision.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2450
+ # resp.latest_sync.target_revision.sha #=> String
2451
+ #
2452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncStatus AWS API Documentation
2453
+ #
2454
+ # @overload get_template_sync_status(params = {})
2455
+ # @param [Hash] params ({})
2456
+ def get_template_sync_status(params = {}, options = {})
2457
+ req = build_request(:get_template_sync_status, params)
2458
+ req.send_request(options)
2459
+ end
2460
+
1982
2461
  # View a list of environment account connections.
1983
2462
  #
1984
2463
  # For more information, see [Environment account connections][1] in the
1985
- # *AWS Proton Administrator guide*.
2464
+ # *Proton Administrator guide*.
1986
2465
  #
1987
2466
  #
1988
2467
  #
@@ -2047,15 +2526,97 @@ module Aws::Proton
2047
2526
  req.send_request(options)
2048
2527
  end
2049
2528
 
2529
+ # List the infrastructure as code outputs for your environment.
2530
+ #
2531
+ # @option params [required, String] :environment_name
2532
+ # The environment name.
2533
+ #
2534
+ # @option params [String] :next_token
2535
+ # A token to indicate the location of the next environment output in the
2536
+ # array of environment outputs, after the list of environment outputs
2537
+ # that was previously requested.
2538
+ #
2539
+ # @return [Types::ListEnvironmentOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2540
+ #
2541
+ # * {Types::ListEnvironmentOutputsOutput#next_token #next_token} => String
2542
+ # * {Types::ListEnvironmentOutputsOutput#outputs #outputs} => Array&lt;Types::Output&gt;
2543
+ #
2544
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2545
+ #
2546
+ # @example Request syntax with placeholder values
2547
+ #
2548
+ # resp = client.list_environment_outputs({
2549
+ # environment_name: "ResourceName", # required
2550
+ # next_token: "EmptyNextToken",
2551
+ # })
2552
+ #
2553
+ # @example Response structure
2554
+ #
2555
+ # resp.next_token #=> String
2556
+ # resp.outputs #=> Array
2557
+ # resp.outputs[0].key #=> String
2558
+ # resp.outputs[0].value_string #=> String
2559
+ #
2560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentOutputs AWS API Documentation
2561
+ #
2562
+ # @overload list_environment_outputs(params = {})
2563
+ # @param [Hash] params ({})
2564
+ def list_environment_outputs(params = {}, options = {})
2565
+ req = build_request(:list_environment_outputs, params)
2566
+ req.send_request(options)
2567
+ end
2568
+
2569
+ # List the provisioned resources for your environment.
2570
+ #
2571
+ # @option params [required, String] :environment_name
2572
+ # The environment name.
2573
+ #
2574
+ # @option params [String] :next_token
2575
+ # A token to indicate the location of the next environment provisioned
2576
+ # resource in the array of environment provisioned resources, after the
2577
+ # list of environment provisioned resources that was previously
2578
+ # requested.
2579
+ #
2580
+ # @return [Types::ListEnvironmentProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2581
+ #
2582
+ # * {Types::ListEnvironmentProvisionedResourcesOutput#next_token #next_token} => String
2583
+ # * {Types::ListEnvironmentProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array&lt;Types::ProvisionedResource&gt;
2584
+ #
2585
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2586
+ #
2587
+ # @example Request syntax with placeholder values
2588
+ #
2589
+ # resp = client.list_environment_provisioned_resources({
2590
+ # environment_name: "ResourceName", # required
2591
+ # next_token: "EmptyNextToken",
2592
+ # })
2593
+ #
2594
+ # @example Response structure
2595
+ #
2596
+ # resp.next_token #=> String
2597
+ # resp.provisioned_resources #=> Array
2598
+ # resp.provisioned_resources[0].identifier #=> String
2599
+ # resp.provisioned_resources[0].name #=> String
2600
+ # resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
2601
+ #
2602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentProvisionedResources AWS API Documentation
2603
+ #
2604
+ # @overload list_environment_provisioned_resources(params = {})
2605
+ # @param [Hash] params ({})
2606
+ def list_environment_provisioned_resources(params = {}, options = {})
2607
+ req = build_request(:list_environment_provisioned_resources, params)
2608
+ req.send_request(options)
2609
+ end
2610
+
2050
2611
  # List major or minor versions of an environment template with detail
2051
2612
  # data.
2052
2613
  #
2053
2614
  # @option params [String] :major_version
2054
2615
  # To view a list of minor of versions under a major version of an
2055
- # environment template, include `majorVersion`.
2616
+ # environment template, include `major Version`.
2056
2617
  #
2057
2618
  # To view a list of major versions of an environment template, *exclude*
2058
- # `majorVersion`.
2619
+ # `major Version`.
2059
2620
  #
2060
2621
  # @option params [Integer] :max_results
2061
2622
  # The maximum number of major or minor versions of an environment
@@ -2217,6 +2778,185 @@ module Aws::Proton
2217
2778
  req.send_request(options)
2218
2779
  end
2219
2780
 
2781
+ # List repositories with detail data.
2782
+ #
2783
+ # @option params [Integer] :max_results
2784
+ # The maximum number of repositories to list.
2785
+ #
2786
+ # @option params [String] :next_token
2787
+ # A token to indicate the location of the next repository in the array
2788
+ # of repositories, after the list of repositories previously requested.
2789
+ #
2790
+ # @return [Types::ListRepositoriesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2791
+ #
2792
+ # * {Types::ListRepositoriesOutput#next_token #next_token} => String
2793
+ # * {Types::ListRepositoriesOutput#repositories #repositories} => Array&lt;Types::RepositorySummary&gt;
2794
+ #
2795
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2796
+ #
2797
+ # @example Request syntax with placeholder values
2798
+ #
2799
+ # resp = client.list_repositories({
2800
+ # max_results: 1,
2801
+ # next_token: "NextToken",
2802
+ # })
2803
+ #
2804
+ # @example Response structure
2805
+ #
2806
+ # resp.next_token #=> String
2807
+ # resp.repositories #=> Array
2808
+ # resp.repositories[0].arn #=> String
2809
+ # resp.repositories[0].name #=> String
2810
+ # resp.repositories[0].provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2811
+ #
2812
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositories AWS API Documentation
2813
+ #
2814
+ # @overload list_repositories(params = {})
2815
+ # @param [Hash] params ({})
2816
+ def list_repositories(params = {}, options = {})
2817
+ req = build_request(:list_repositories, params)
2818
+ req.send_request(options)
2819
+ end
2820
+
2821
+ # List repository sync definitions with detail data.
2822
+ #
2823
+ # @option params [String] :next_token
2824
+ # A token to indicate the location of the next repository sync
2825
+ # definition in the array of repository sync definitions, after the list
2826
+ # of repository sync definitions previously requested.
2827
+ #
2828
+ # @option params [required, String] :repository_name
2829
+ # The repository name.
2830
+ #
2831
+ # @option params [required, String] :repository_provider
2832
+ # The repository provider.
2833
+ #
2834
+ # @option params [required, String] :sync_type
2835
+ # The sync type. The only supported value is `TEMPLATE_SYNC`.
2836
+ #
2837
+ # @return [Types::ListRepositorySyncDefinitionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2838
+ #
2839
+ # * {Types::ListRepositorySyncDefinitionsOutput#next_token #next_token} => String
2840
+ # * {Types::ListRepositorySyncDefinitionsOutput#sync_definitions #sync_definitions} => Array&lt;Types::RepositorySyncDefinition&gt;
2841
+ #
2842
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2843
+ #
2844
+ # @example Request syntax with placeholder values
2845
+ #
2846
+ # resp = client.list_repository_sync_definitions({
2847
+ # next_token: "EmptyNextToken",
2848
+ # repository_name: "RepositoryName", # required
2849
+ # repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
2850
+ # sync_type: "TEMPLATE_SYNC", # required, accepts TEMPLATE_SYNC
2851
+ # })
2852
+ #
2853
+ # @example Response structure
2854
+ #
2855
+ # resp.next_token #=> String
2856
+ # resp.sync_definitions #=> Array
2857
+ # resp.sync_definitions[0].branch #=> String
2858
+ # resp.sync_definitions[0].directory #=> String
2859
+ # resp.sync_definitions[0].parent #=> String
2860
+ # resp.sync_definitions[0].target #=> String
2861
+ #
2862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositorySyncDefinitions AWS API Documentation
2863
+ #
2864
+ # @overload list_repository_sync_definitions(params = {})
2865
+ # @param [Hash] params ({})
2866
+ def list_repository_sync_definitions(params = {}, options = {})
2867
+ req = build_request(:list_repository_sync_definitions, params)
2868
+ req.send_request(options)
2869
+ end
2870
+
2871
+ # View a list service instance infrastructure as code outputs with
2872
+ # detail data.
2873
+ #
2874
+ # @option params [String] :next_token
2875
+ # A token to indicate the location of the next output in the array of
2876
+ # outputs, after the list of outputs that was previously requested.
2877
+ #
2878
+ # @option params [required, String] :service_instance_name
2879
+ # The service instance name.
2880
+ #
2881
+ # @option params [required, String] :service_name
2882
+ # The service name.
2883
+ #
2884
+ # @return [Types::ListServiceInstanceOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2885
+ #
2886
+ # * {Types::ListServiceInstanceOutputsOutput#next_token #next_token} => String
2887
+ # * {Types::ListServiceInstanceOutputsOutput#outputs #outputs} => Array&lt;Types::Output&gt;
2888
+ #
2889
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2890
+ #
2891
+ # @example Request syntax with placeholder values
2892
+ #
2893
+ # resp = client.list_service_instance_outputs({
2894
+ # next_token: "EmptyNextToken",
2895
+ # service_instance_name: "ResourceName", # required
2896
+ # service_name: "ResourceName", # required
2897
+ # })
2898
+ #
2899
+ # @example Response structure
2900
+ #
2901
+ # resp.next_token #=> String
2902
+ # resp.outputs #=> Array
2903
+ # resp.outputs[0].key #=> String
2904
+ # resp.outputs[0].value_string #=> String
2905
+ #
2906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceOutputs AWS API Documentation
2907
+ #
2908
+ # @overload list_service_instance_outputs(params = {})
2909
+ # @param [Hash] params ({})
2910
+ def list_service_instance_outputs(params = {}, options = {})
2911
+ req = build_request(:list_service_instance_outputs, params)
2912
+ req.send_request(options)
2913
+ end
2914
+
2915
+ # List provisioned resources for a service instance with details.
2916
+ #
2917
+ # @option params [String] :next_token
2918
+ # A token to indicate the location of the next provisioned resource in
2919
+ # the array of provisioned resources, after the list of provisioned
2920
+ # resources that was previously requested.
2921
+ #
2922
+ # @option params [required, String] :service_instance_name
2923
+ # The service instance name.
2924
+ #
2925
+ # @option params [required, String] :service_name
2926
+ # The service name.
2927
+ #
2928
+ # @return [Types::ListServiceInstanceProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2929
+ #
2930
+ # * {Types::ListServiceInstanceProvisionedResourcesOutput#next_token #next_token} => String
2931
+ # * {Types::ListServiceInstanceProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array&lt;Types::ProvisionedResource&gt;
2932
+ #
2933
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2934
+ #
2935
+ # @example Request syntax with placeholder values
2936
+ #
2937
+ # resp = client.list_service_instance_provisioned_resources({
2938
+ # next_token: "EmptyNextToken",
2939
+ # service_instance_name: "ResourceName", # required
2940
+ # service_name: "ResourceName", # required
2941
+ # })
2942
+ #
2943
+ # @example Response structure
2944
+ #
2945
+ # resp.next_token #=> String
2946
+ # resp.provisioned_resources #=> Array
2947
+ # resp.provisioned_resources[0].identifier #=> String
2948
+ # resp.provisioned_resources[0].name #=> String
2949
+ # resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
2950
+ #
2951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceProvisionedResources AWS API Documentation
2952
+ #
2953
+ # @overload list_service_instance_provisioned_resources(params = {})
2954
+ # @param [Hash] params ({})
2955
+ def list_service_instance_provisioned_resources(params = {}, options = {})
2956
+ req = build_request(:list_service_instance_provisioned_resources, params)
2957
+ req.send_request(options)
2958
+ end
2959
+
2220
2960
  # List service instances with summaries of detail data.
2221
2961
  #
2222
2962
  # @option params [Integer] :max_results
@@ -2271,14 +3011,95 @@ module Aws::Proton
2271
3011
  req.send_request(options)
2272
3012
  end
2273
3013
 
3014
+ # View a list service pipeline infrastructure as code outputs with
3015
+ # detail.
3016
+ #
3017
+ # @option params [String] :next_token
3018
+ # A token to indicate the location of the next output in the array of
3019
+ # outputs, after the list of outputs that was previously requested.
3020
+ #
3021
+ # @option params [required, String] :service_name
3022
+ # The service name.
3023
+ #
3024
+ # @return [Types::ListServicePipelineOutputsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3025
+ #
3026
+ # * {Types::ListServicePipelineOutputsOutput#next_token #next_token} => String
3027
+ # * {Types::ListServicePipelineOutputsOutput#outputs #outputs} => Array&lt;Types::Output&gt;
3028
+ #
3029
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3030
+ #
3031
+ # @example Request syntax with placeholder values
3032
+ #
3033
+ # resp = client.list_service_pipeline_outputs({
3034
+ # next_token: "EmptyNextToken",
3035
+ # service_name: "ResourceName", # required
3036
+ # })
3037
+ #
3038
+ # @example Response structure
3039
+ #
3040
+ # resp.next_token #=> String
3041
+ # resp.outputs #=> Array
3042
+ # resp.outputs[0].key #=> String
3043
+ # resp.outputs[0].value_string #=> String
3044
+ #
3045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineOutputs AWS API Documentation
3046
+ #
3047
+ # @overload list_service_pipeline_outputs(params = {})
3048
+ # @param [Hash] params ({})
3049
+ def list_service_pipeline_outputs(params = {}, options = {})
3050
+ req = build_request(:list_service_pipeline_outputs, params)
3051
+ req.send_request(options)
3052
+ end
3053
+
3054
+ # List provisioned resources for a service and pipeline with details.
3055
+ #
3056
+ # @option params [String] :next_token
3057
+ # A token to indicate the location of the next provisioned resource in
3058
+ # the array of provisioned resources, after the list of provisioned
3059
+ # resources that was previously requested.
3060
+ #
3061
+ # @option params [required, String] :service_name
3062
+ # The service name.
3063
+ #
3064
+ # @return [Types::ListServicePipelineProvisionedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3065
+ #
3066
+ # * {Types::ListServicePipelineProvisionedResourcesOutput#next_token #next_token} => String
3067
+ # * {Types::ListServicePipelineProvisionedResourcesOutput#provisioned_resources #provisioned_resources} => Array&lt;Types::ProvisionedResource&gt;
3068
+ #
3069
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3070
+ #
3071
+ # @example Request syntax with placeholder values
3072
+ #
3073
+ # resp = client.list_service_pipeline_provisioned_resources({
3074
+ # next_token: "EmptyNextToken",
3075
+ # service_name: "ResourceName", # required
3076
+ # })
3077
+ #
3078
+ # @example Response structure
3079
+ #
3080
+ # resp.next_token #=> String
3081
+ # resp.provisioned_resources #=> Array
3082
+ # resp.provisioned_resources[0].identifier #=> String
3083
+ # resp.provisioned_resources[0].name #=> String
3084
+ # resp.provisioned_resources[0].provisioning_engine #=> String, one of "CLOUDFORMATION", "TERRAFORM"
3085
+ #
3086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineProvisionedResources AWS API Documentation
3087
+ #
3088
+ # @overload list_service_pipeline_provisioned_resources(params = {})
3089
+ # @param [Hash] params ({})
3090
+ def list_service_pipeline_provisioned_resources(params = {}, options = {})
3091
+ req = build_request(:list_service_pipeline_provisioned_resources, params)
3092
+ req.send_request(options)
3093
+ end
3094
+
2274
3095
  # List major or minor versions of a service template with detail data.
2275
3096
  #
2276
3097
  # @option params [String] :major_version
2277
3098
  # To view a list of minor of versions under a major version of a service
2278
- # template, include `majorVersion`.
3099
+ # template, include `major Version`.
2279
3100
  #
2280
3101
  # To view a list of major versions of a service template, *exclude*
2281
- # `majorVersion`.
3102
+ # `major Version`.
2282
3103
  #
2283
3104
  # @option params [Integer] :max_results
2284
3105
  # The maximum number of major or minor versions of a service template to
@@ -2423,9 +3244,9 @@ module Aws::Proton
2423
3244
  req.send_request(options)
2424
3245
  end
2425
3246
 
2426
- # List tags for a resource. For more information, see *AWS Proton
2427
- # resources and tagging* in the [AWS Proton Administrator Guide][1] or
2428
- # [AWS Proton User Guide][2].
3247
+ # List tags for a resource. For more information, see *Proton resources
3248
+ # and tagging* in the [Proton Administrator Guide][1] or [Proton User
3249
+ # Guide][2].
2429
3250
  #
2430
3251
  #
2431
3252
  #
@@ -2474,6 +3295,62 @@ module Aws::Proton
2474
3295
  req.send_request(options)
2475
3296
  end
2476
3297
 
3298
+ # Notify Proton of status changes to a provisioned resource when you use
3299
+ # pull request provisioning. For more information, see [Template
3300
+ # bundles][1].
3301
+ #
3302
+ # Provisioning by pull request is currently in feature preview and is
3303
+ # only usable with Terraform based Proton Templates. To learn more about
3304
+ # [Amazon Web Services Feature Preview terms][2], see section 2 on Beta
3305
+ # and Previews.
3306
+ #
3307
+ #
3308
+ #
3309
+ # [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-template-bundles.html
3310
+ # [2]: https://aws.amazon.com/service-terms
3311
+ #
3312
+ # @option params [String] :deployment_id
3313
+ # The deployment ID for your provisioned resource.
3314
+ #
3315
+ # @option params [Array<Types::Output>] :outputs
3316
+ # The provisioned resource state change detail data that's returned by
3317
+ # Proton.
3318
+ #
3319
+ # @option params [required, String] :resource_arn
3320
+ # The provisioned resource Amazon Resource Name (ARN).
3321
+ #
3322
+ # @option params [required, String] :status
3323
+ # The status of your provisioned resource.
3324
+ #
3325
+ # @option params [String] :status_message
3326
+ # The deployment status message for your provisioned resource.
3327
+ #
3328
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3329
+ #
3330
+ # @example Request syntax with placeholder values
3331
+ #
3332
+ # resp = client.notify_resource_deployment_status_change({
3333
+ # deployment_id: "DeploymentId",
3334
+ # outputs: [
3335
+ # {
3336
+ # key: "OutputKey",
3337
+ # value_string: "OutputValueString",
3338
+ # },
3339
+ # ],
3340
+ # resource_arn: "Arn", # required
3341
+ # status: "IN_PROGRESS", # required, accepts IN_PROGRESS, FAILED, SUCCEEDED
3342
+ # status_message: "SyntheticNotifyResourceDeploymentStatusChangeInputString",
3343
+ # })
3344
+ #
3345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/NotifyResourceDeploymentStatusChange AWS API Documentation
3346
+ #
3347
+ # @overload notify_resource_deployment_status_change(params = {})
3348
+ # @param [Hash] params ({})
3349
+ def notify_resource_deployment_status_change(params = {}, options = {})
3350
+ req = build_request(:notify_resource_deployment_status_change, params)
3351
+ req.send_request(options)
3352
+ end
3353
+
2477
3354
  # In a management account, reject an environment account connection from
2478
3355
  # another environment account.
2479
3356
  #
@@ -2485,7 +3362,7 @@ module Aws::Proton
2485
3362
  # to an environment.
2486
3363
  #
2487
3364
  # For more information, see [Environment account connections][1] in the
2488
- # *AWS Proton Administrator guide*.
3365
+ # *Proton Administrator guide*.
2489
3366
  #
2490
3367
  #
2491
3368
  #
@@ -2525,9 +3402,9 @@ module Aws::Proton
2525
3402
  req.send_request(options)
2526
3403
  end
2527
3404
 
2528
- # Tag a resource. For more information, see *AWS Proton resources and
2529
- # tagging* in the [AWS Proton Administrator Guide][1] or [AWS Proton
2530
- # User Guide][2].
3405
+ # Tag a resource. For more information, see *Proton resources and
3406
+ # tagging* in the [Proton Administrator Guide][1] or [Proton User
3407
+ # Guide][2].
2531
3408
  #
2532
3409
  #
2533
3410
  #
@@ -2564,9 +3441,9 @@ module Aws::Proton
2564
3441
  req.send_request(options)
2565
3442
  end
2566
3443
 
2567
- # Remove a tag from a resource. For more information, see *AWS Proton
2568
- # resources and tagging* in the [AWS Proton Administrator Guide][1] or
2569
- # [AWS Proton User Guide][2].
3444
+ # Remove a tag from a resource. For more information, see *Proton
3445
+ # resources and tagging* in the [Proton Administrator Guide][1] or
3446
+ # [Proton User Guide][2].
2570
3447
  #
2571
3448
  #
2572
3449
  #
@@ -2599,11 +3476,31 @@ module Aws::Proton
2599
3476
  req.send_request(options)
2600
3477
  end
2601
3478
 
2602
- # Update the AWS Proton pipeline service account settings.
3479
+ # Update the Proton service pipeline role or repository settings.
3480
+ #
3481
+ # @option params [Types::RepositoryBranchInput] :pipeline_provisioning_repository
3482
+ # The repository that you provide with pull request provisioning.
3483
+ #
3484
+ # Provisioning by pull request is currently in feature preview and is
3485
+ # only usable with Terraform based Proton Templates. To learn more about
3486
+ # [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
3487
+ # and Previews.
3488
+ #
3489
+ #
3490
+ #
3491
+ # [1]: https://aws.amazon.com/service-terms
2603
3492
  #
2604
3493
  # @option params [String] :pipeline_service_role_arn
2605
- # The Amazon Resource Name (ARN) of the AWS Proton pipeline service
2606
- # role.
3494
+ # The Amazon Resource Name (ARN) of the Proton pipeline service role.
3495
+ #
3496
+ # Provisioning by pull request is currently in feature preview and is
3497
+ # only usable with Terraform based Proton Templates. To learn more about
3498
+ # [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
3499
+ # and Previews.
3500
+ #
3501
+ #
3502
+ #
3503
+ # [1]: https://aws.amazon.com/service-terms
2607
3504
  #
2608
3505
  # @return [Types::UpdateAccountSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2609
3506
  #
@@ -2612,11 +3509,20 @@ module Aws::Proton
2612
3509
  # @example Request syntax with placeholder values
2613
3510
  #
2614
3511
  # resp = client.update_account_settings({
2615
- # pipeline_service_role_arn: "Arn",
3512
+ # pipeline_provisioning_repository: {
3513
+ # branch: "GitBranchName", # required
3514
+ # name: "RepositoryName", # required
3515
+ # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
3516
+ # },
3517
+ # pipeline_service_role_arn: "PipelineRoleArn",
2616
3518
  # })
2617
3519
  #
2618
3520
  # @example Response structure
2619
3521
  #
3522
+ # resp.account_settings.pipeline_provisioning_repository.arn #=> String
3523
+ # resp.account_settings.pipeline_provisioning_repository.branch #=> String
3524
+ # resp.account_settings.pipeline_provisioning_repository.name #=> String
3525
+ # resp.account_settings.pipeline_provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2620
3526
  # resp.account_settings.pipeline_service_role_arn #=> String
2621
3527
  #
2622
3528
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateAccountSettings AWS API Documentation
@@ -2631,8 +3537,9 @@ module Aws::Proton
2631
3537
  # Update an environment.
2632
3538
  #
2633
3539
  # If the environment is associated with an environment account
2634
- # connection, *don't* update or include the `protonServiceRoleArn`
2635
- # parameter to update or connect to an environment account connection.
3540
+ # connection, *don't* update or include the `protonServiceRoleArn` and
3541
+ # `provisioningRepository` parameter to update or connect to an
3542
+ # environment account connection.
2636
3543
  #
2637
3544
  # You can only update to a new environment account connection if it was
2638
3545
  # created in the same environment account that the current environment
@@ -2647,6 +3554,14 @@ module Aws::Proton
2647
3554
  # You can update either the `environmentAccountConnectionId` or
2648
3555
  # `protonServiceRoleArn` parameter and value. You can’t update both.
2649
3556
  #
3557
+ # If the environment was provisioned with pull request provisioning,
3558
+ # include the `provisioningRepository` parameter and omit the
3559
+ # `protonServiceRoleArn` and `environmentAccountConnectionId`
3560
+ # parameters.
3561
+ #
3562
+ # If the environment wasn't provisioned with pull request provisioning,
3563
+ # omit the `provisioningRepository` parameter.
3564
+ #
2650
3565
  # There are four modes for updating an environment as described in the
2651
3566
  # following. The `deploymentType` field defines the mode.
2652
3567
  #
@@ -2739,17 +3654,29 @@ module Aws::Proton
2739
3654
  # The name of the environment to update.
2740
3655
  #
2741
3656
  # @option params [String] :proton_service_role_arn
2742
- # The Amazon Resource Name (ARN) of the AWS Proton service role that
2743
- # allows AWS Proton to make API calls to other services your behalf.
3657
+ # The Amazon Resource Name (ARN) of the Proton service role that allows
3658
+ # Proton to make API calls to other services your behalf.
3659
+ #
3660
+ # @option params [Types::RepositoryBranchInput] :provisioning_repository
3661
+ # The repository that you provide with pull request provisioning.
3662
+ #
3663
+ # Provisioning by pull request is currently in feature preview and is
3664
+ # only usable with Terraform based Proton Templates. To learn more about
3665
+ # [Amazon Web Services Feature Preview terms][1], see section 2 on Beta
3666
+ # and Previews.
3667
+ #
3668
+ #
3669
+ #
3670
+ # [1]: https://aws.amazon.com/service-terms
2744
3671
  #
2745
3672
  # @option params [String] :spec
2746
3673
  # The formatted specification that defines the update.
2747
3674
  #
2748
3675
  # @option params [String] :template_major_version
2749
- # The ID of the major version of the environment to update.
3676
+ # The major version of the environment to update.
2750
3677
  #
2751
3678
  # @option params [String] :template_minor_version
2752
- # The ID of the minor version of the environment to update.
3679
+ # The minor version of the environment to update.
2753
3680
  #
2754
3681
  # @return [Types::UpdateEnvironmentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2755
3682
  #
@@ -2763,6 +3690,11 @@ module Aws::Proton
2763
3690
  # environment_account_connection_id: "EnvironmentAccountConnectionId",
2764
3691
  # name: "ResourceName", # required
2765
3692
  # proton_service_role_arn: "Arn",
3693
+ # provisioning_repository: {
3694
+ # branch: "GitBranchName", # required
3695
+ # name: "RepositoryName", # required
3696
+ # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
3697
+ # },
2766
3698
  # spec: "SpecContents",
2767
3699
  # template_major_version: "TemplateVersionPart",
2768
3700
  # template_minor_version: "TemplateVersionPart",
@@ -2782,6 +3714,10 @@ module Aws::Proton
2782
3714
  # resp.environment.name #=> String
2783
3715
  # resp.environment.proton_service_role_arn #=> String
2784
3716
  # resp.environment.provisioning #=> String, one of "CUSTOMER_MANAGED"
3717
+ # resp.environment.provisioning_repository.arn #=> String
3718
+ # resp.environment.provisioning_repository.branch #=> String
3719
+ # resp.environment.provisioning_repository.name #=> String
3720
+ # resp.environment.provisioning_repository.provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
2785
3721
  # resp.environment.spec #=> String
2786
3722
  # resp.environment.template_major_version #=> String
2787
3723
  # resp.environment.template_minor_version #=> String
@@ -2800,7 +3736,7 @@ module Aws::Proton
2800
3736
  # use a new IAM role.
2801
3737
  #
2802
3738
  # For more information, see [Environment account connections][1] in the
2803
- # *AWS Proton Administrator guide*.
3739
+ # *Proton Administrator guide*.
2804
3740
  #
2805
3741
  #
2806
3742
  #
@@ -2896,8 +3832,8 @@ module Aws::Proton
2896
3832
  # A description of environment template version to update.
2897
3833
  #
2898
3834
  # @option params [required, String] :major_version
2899
- # To update a major version of an environment template, include
2900
- # `majorVersion`.
3835
+ # To update a major version of an environment template, include `major
3836
+ # Version`.
2901
3837
  #
2902
3838
  # @option params [required, String] :minor_version
2903
3839
  # To update a minor version of an environment template, include
@@ -2968,8 +3904,8 @@ module Aws::Proton
2968
3904
  # Lists the service instances to add and the existing service instances
2969
3905
  # to remain. Omit the existing service instances to delete from the
2970
3906
  # list. *Don't* include edits to the existing service instances or
2971
- # pipeline. For more information, see *Edit a service* in the [AWS
2972
- # Proton Administrator Guide][1] or the [AWS Proton User Guide][2].
3907
+ # pipeline. For more information, see *Edit a service* in the [Proton
3908
+ # Administrator Guide][1] or the [Proton User Guide][2].
2973
3909
  #
2974
3910
  #
2975
3911
  #
@@ -3344,8 +4280,8 @@ module Aws::Proton
3344
4280
  # A description of a service template version to update.
3345
4281
  #
3346
4282
  # @option params [required, String] :major_version
3347
- # To update a major version of a service template, include
3348
- # `majorVersion`.
4283
+ # To update a major version of a service template, include `major
4284
+ # Version`.
3349
4285
  #
3350
4286
  # @option params [required, String] :minor_version
3351
4287
  # To update a minor version of a service template, include
@@ -3403,6 +4339,61 @@ module Aws::Proton
3403
4339
  req.send_request(options)
3404
4340
  end
3405
4341
 
4342
+ # Update template sync configuration parameters, except for the
4343
+ # `templateName` and `templateType`.
4344
+ #
4345
+ # @option params [required, String] :branch
4346
+ # The repository branch.
4347
+ #
4348
+ # @option params [required, String] :repository_name
4349
+ # The name of the repository, for example `myrepos/myrepo`.
4350
+ #
4351
+ # @option params [required, String] :repository_provider
4352
+ # The repository provider.
4353
+ #
4354
+ # @option params [String] :subdirectory
4355
+ # A subdirectory path to your template bundle version. When included,
4356
+ # limits the template bundle search to this repository directory.
4357
+ #
4358
+ # @option params [required, String] :template_name
4359
+ # The synced template name.
4360
+ #
4361
+ # @option params [required, String] :template_type
4362
+ # The synced template type.
4363
+ #
4364
+ # @return [Types::UpdateTemplateSyncConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4365
+ #
4366
+ # * {Types::UpdateTemplateSyncConfigOutput#template_sync_config #template_sync_config} => Types::TemplateSyncConfig
4367
+ #
4368
+ # @example Request syntax with placeholder values
4369
+ #
4370
+ # resp = client.update_template_sync_config({
4371
+ # branch: "GitBranchName", # required
4372
+ # repository_name: "RepositoryName", # required
4373
+ # repository_provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
4374
+ # subdirectory: "Subdirectory",
4375
+ # template_name: "ResourceName", # required
4376
+ # template_type: "ENVIRONMENT", # required, accepts ENVIRONMENT, SERVICE
4377
+ # })
4378
+ #
4379
+ # @example Response structure
4380
+ #
4381
+ # resp.template_sync_config.branch #=> String
4382
+ # resp.template_sync_config.repository_name #=> String
4383
+ # resp.template_sync_config.repository_provider #=> String, one of "GITHUB", "GITHUB_ENTERPRISE", "BITBUCKET"
4384
+ # resp.template_sync_config.subdirectory #=> String
4385
+ # resp.template_sync_config.template_name #=> String
4386
+ # resp.template_sync_config.template_type #=> String, one of "ENVIRONMENT", "SERVICE"
4387
+ #
4388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateTemplateSyncConfig AWS API Documentation
4389
+ #
4390
+ # @overload update_template_sync_config(params = {})
4391
+ # @param [Hash] params ({})
4392
+ def update_template_sync_config(params = {}, options = {})
4393
+ req = build_request(:update_template_sync_config, params)
4394
+ req.send_request(options)
4395
+ end
4396
+
3406
4397
  # @!endgroup
3407
4398
 
3408
4399
  # @param params ({})
@@ -3416,7 +4407,7 @@ module Aws::Proton
3416
4407
  params: params,
3417
4408
  config: config)
3418
4409
  context[:gem_name] = 'aws-sdk-proton'
3419
- context[:gem_version] = '1.8.0'
4410
+ context[:gem_version] = '1.12.0'
3420
4411
  Seahorse::Client::Request.new(handlers, context)
3421
4412
  end
3422
4413